From 8b51f1feebafc7d802ca2f7bad4d5c28c56e84cd Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Fri, 12 Oct 2018 14:53:51 +0200 Subject: [PATCH 1/8] refactor: Create simple TaxCategory entity --- .../product-detail.component.ts | 9 +- .../product-variants-list.component.html | 14 +- .../product-variants-list.component.ts | 44 +----- .../data/definitions/product-definitions.ts | 2 - .../data/definitions/settings-definitions.ts | 43 ++++++ .../adjustment-source-data.service.ts | 16 -- .../app/data/providers/data.service.mock.ts | 8 +- .../data/providers/product-data.service.ts | 4 +- .../data/providers/settings-data.service.ts | 38 +++++ .../tax-category-detail.component.ts | 50 +----- .../tax-category-list.component.html | 7 +- .../tax-category-list.component.ts | 22 ++- schema.json | 2 +- server/e2e/product.e2e-spec.ts | 2 - server/mock-data/mock-data.service.ts | 49 +++--- server/src/api/api.module.ts | 2 + .../api/resolvers/tax-category.resolver.ts | 45 ++++++ server/src/api/types/tax-category.api.graphql | 12 ++ server/src/common/types/adjustment-source.ts | 16 ++ .../adjustment-source.entity.ts | 10 -- server/src/entity/entities.ts | 7 +- .../entity/order-item/order-item.entity.ts | 2 +- server/src/entity/order/order.entity.ts | 2 +- .../product-variant-price.entity.ts | 5 - .../product-variant/product-variant.entity.ts | 16 +- .../product-variant/product-variant.graphql | 11 +- .../product-variant.subscriber.ts | 28 +--- .../src/entity/promotion/promotion.entity.ts | 34 ++++ .../tax-category/tax-category.entity.ts | 13 ++ .../entity/tax-category/tax-category.graphql | 14 ++ server/src/entity/tax-rate/tax-rate.entity.ts | 38 +++++ .../src/service/helpers/apply-adjustments.ts | 3 +- .../service/helpers/update-translatable.ts | 6 +- server/src/service/providers/order.service.ts | 6 +- .../providers/product-variant.service.ts | 19 ++- .../src/service/providers/product.service.ts | 1 + .../service/providers/tax-category.service.ts | 42 +++++ server/src/service/service.module.ts | 2 + shared/generated-types.ts | 145 +++++++++++++++--- 39 files changed, 512 insertions(+), 277 deletions(-) create mode 100644 server/src/api/resolvers/tax-category.resolver.ts create mode 100644 server/src/api/types/tax-category.api.graphql create mode 100644 server/src/common/types/adjustment-source.ts create mode 100644 server/src/entity/promotion/promotion.entity.ts create mode 100644 server/src/entity/tax-category/tax-category.entity.ts create mode 100644 server/src/entity/tax-category/tax-category.graphql create mode 100644 server/src/entity/tax-rate/tax-rate.entity.ts create mode 100644 server/src/service/providers/tax-category.service.ts diff --git a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts index a223315978..11a8e12e0d 100644 --- a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts +++ b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts @@ -7,7 +7,9 @@ import { AdjustmentSource, CreateProductInput, LanguageCode, + ProductVariant, ProductWithVariants, + TaxCategory, UpdateProductInput, UpdateProductVariantInput, } from 'shared/generated-types'; @@ -34,7 +36,7 @@ export class ProductDetailComponent extends BaseDetailComponent; variants$: Observable; - taxCategories$: Observable; + taxCategories$: Observable; customFields: CustomFieldConfig[]; customVariantFields: CustomFieldConfig[]; productForm: FormGroup; @@ -69,9 +71,9 @@ export class ProductDetailComponent extends BaseDetailComponent product.variants)); - this.taxCategories$ = this.dataService.adjustmentSource + this.taxCategories$ = this.dataService.settings .getTaxCategories() - .mapSingle(data => data.adjustmentSources.items); + .mapSingle(data => data.taxCategories); } ngOnDestroy() { @@ -245,7 +247,6 @@ export class ProductDetailComponent extends BaseDetailComponent
-
- - - - -
@@ -63,8 +54,7 @@ + [formControl]="formArray.get([i, 'price'])">
diff --git a/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.ts b/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.ts index 7c74f34d0b..995d2ef2cb 100644 --- a/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.ts +++ b/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.ts @@ -1,6 +1,6 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { FormArray, FormControl } from '@angular/forms'; -import { AdjustmentSource, ProductWithVariants } from 'shared/generated-types'; +import { AdjustmentSource, ProductWithVariants, TaxCategory } from 'shared/generated-types'; @Component({ selector: 'vdr-product-variants-list', @@ -11,7 +11,7 @@ import { AdjustmentSource, ProductWithVariants } from 'shared/generated-types'; export class ProductVariantsListComponent { @Input('productVariantsFormArray') formArray: FormArray; @Input() variants: ProductWithVariants.Variants[]; - @Input() taxCategories: AdjustmentSource.Fragment[]; + @Input() taxCategories: TaxCategory[]; selectedVariantIds: string[] = []; areAllSelected(): boolean { @@ -38,44 +38,4 @@ export class ProductVariantsListComponent { isVariantSelected(variantId: string): boolean { return -1 < this.selectedVariantIds.indexOf(variantId); } - - /** - * Set the priceBeforeTax value whenever the price is changed based on the current taxRate. - */ - setPreTaxPrice(index: number) { - const { preTaxPriceControl, postTaxPriceControl, taxRate } = this.getPriceControlsAndTaxRate(index); - preTaxPriceControl.setValue(Math.round(postTaxPriceControl.value / (1 + taxRate / 100))); - } - - /** - * Set the price (including tax) value whenever the priceBeforeTax or the taxRate is changed. - */ - setPrice(index: number) { - const { preTaxPriceControl, postTaxPriceControl, taxRate } = this.getPriceControlsAndTaxRate(index); - postTaxPriceControl.setValue(Math.round(preTaxPriceControl.value * (1 + taxRate / 100))); - } - - private getPriceControlsAndTaxRate( - index: number, - ): { - preTaxPriceControl: FormControl; - postTaxPriceControl: FormControl; - taxRate: number; - } { - const preTaxPriceControl = this.formArray.get([index, 'priceBeforeTax']); - const postTaxPriceControl = this.formArray.get([index, 'price']); - const taxCategoryIdControl = this.formArray.get([index, 'taxCategoryId']); - if (preTaxPriceControl && postTaxPriceControl && taxCategoryIdControl) { - const taxCategory = this.taxCategories.find(tc => tc.id === taxCategoryIdControl.value); - if (taxCategory) { - const taxRate = Number(taxCategory.actions[0].args[0].value); - return { - preTaxPriceControl: preTaxPriceControl as FormControl, - postTaxPriceControl: postTaxPriceControl as FormControl, - taxRate, - }; - } - } - throw new Error(`Could not find the corresponding form controls.`); - } } diff --git a/admin-ui/src/app/data/definitions/product-definitions.ts b/admin-ui/src/app/data/definitions/product-definitions.ts index 0bd0fb7f45..dc9d488789 100644 --- a/admin-ui/src/app/data/definitions/product-definitions.ts +++ b/admin-ui/src/app/data/definitions/product-definitions.ts @@ -18,11 +18,9 @@ export const PRODUCT_VARIANT_FRAGMENT = gql` languageCode name price - priceBeforeTax taxCategory { id name - taxRate } sku options { diff --git a/admin-ui/src/app/data/definitions/settings-definitions.ts b/admin-ui/src/app/data/definitions/settings-definitions.ts index 7634b82dc9..98cc45c7a9 100644 --- a/admin-ui/src/app/data/definitions/settings-definitions.ts +++ b/admin-ui/src/app/data/definitions/settings-definitions.ts @@ -112,3 +112,46 @@ export const REMOVE_MEMBERS_FROM_ZONE = gql` } ${ZONE_FRAGMENT} `; + +export const TAX_CATEGORY_FRAGMENT = gql` + fragment TaxCategory on TaxCategory { + id + name + } +`; + +export const GET_TAX_CATEGORIES = gql` + query GetTaxCategories { + taxCategories { + ...TaxCategory + } + } + ${TAX_CATEGORY_FRAGMENT} +`; + +export const GET_TAX_CATEGORY = gql` + query GetTaxCategory($id: ID!) { + taxCategory(id: $id) { + ...TaxCategory + } + } + ${TAX_CATEGORY_FRAGMENT} +`; + +export const CREATE_TAX_CATEGORY = gql` + mutation CreateTaxCategory($input: CreateTaxCategoryInput!) { + createTaxCategory(input: $input) { + ...TaxCategory + } + } + ${TAX_CATEGORY_FRAGMENT} +`; + +export const UPDATE_TAX_CATEGORY = gql` + mutation UpdateTaxCategory($input: UpdateTaxCategoryInput!) { + updateTaxCategory(input: $input) { + ...TaxCategory + } + } + ${TAX_CATEGORY_FRAGMENT} +`; diff --git a/admin-ui/src/app/data/providers/adjustment-source-data.service.ts b/admin-ui/src/app/data/providers/adjustment-source-data.service.ts index 94a2c25b81..f60bbd3070 100644 --- a/admin-ui/src/app/data/providers/adjustment-source-data.service.ts +++ b/admin-ui/src/app/data/providers/adjustment-source-data.service.ts @@ -30,14 +30,6 @@ export class AdjustmentSourceDataService { return this.getAdjustmentSource(AdjustmentType.PROMOTION, id); } - getTaxCategories(take: number = 10, skip: number = 0) { - return this.getAdjustmentSourceList(AdjustmentType.TAX, take, skip); - } - - getTaxCategory(id: string) { - return this.getAdjustmentSource(AdjustmentType.TAX, id); - } - getAdjustmentOperations(type: AdjustmentType) { return this.baseDataService.query( GET_ADJUSTMENT_OPERATIONS, @@ -55,14 +47,6 @@ export class AdjustmentSourceDataService { return this.updateAdjustmentSource(input); } - createTaxCategory(input: CreateAdjustmentSourceInput) { - return this.createAdjustmentSource(input); - } - - updateTaxCategory(input: UpdateAdjustmentSourceInput) { - return this.updateAdjustmentSource(input); - } - private getAdjustmentSourceList(type: AdjustmentType, take: number, skip: number) { return this.baseDataService.query( GET_ADJUSTMENT_SOURCE_LIST, diff --git a/admin-ui/src/app/data/providers/data.service.mock.ts b/admin-ui/src/app/data/providers/data.service.mock.ts index 8e3c9f24d7..f03c9f12c8 100644 --- a/admin-ui/src/app/data/providers/data.service.mock.ts +++ b/admin-ui/src/app/data/providers/data.service.mock.ts @@ -33,13 +33,9 @@ export class MockDataService implements DataServiceMock { adjustmentSource = { getPromotions: spyQueryResult('getPromotions'), getPromotion: spyQueryResult('getPromotion'), - getTaxCategories: spyQueryResult('getTaxCategories'), - getTaxCategory: spyQueryResult('getTaxCategory'), getAdjustmentOperations: spyQueryResult('getAdjustmentOperations'), createPromotion: spyObservable('createPromotion'), updatePromotion: spyObservable('updatePromotion'), - createTaxCategory: spyObservable('createTaxCategory'), - updateTaxCategory: spyObservable('updateTaxCategory'), }; administrator = { getAdministrators: spyQueryResult('getAdministrators'), @@ -103,5 +99,9 @@ export class MockDataService implements DataServiceMock { updateZone: spyObservable('updateZone'), addMembersToZone: spyObservable('addMembersToZone'), removeMembersFromZone: spyObservable('removeMembersFromZone'), + getTaxCategories: spyQueryResult('getTaxCategories'), + getTaxCategory: spyQueryResult('getTaxCategory'), + createTaxCategory: spyObservable('createTaxCategory'), + updateTaxCategory: spyObservable('updateTaxCategory'), }; } diff --git a/admin-ui/src/app/data/providers/product-data.service.ts b/admin-ui/src/app/data/providers/product-data.service.ts index 0560d0244e..489476f581 100644 --- a/admin-ui/src/app/data/providers/product-data.service.ts +++ b/admin-ui/src/app/data/providers/product-data.service.ts @@ -90,9 +90,7 @@ export class ProductDataService { updateProductVariants(variants: UpdateProductVariantInput[]) { const input: UpdateProductVariants.Variables = { - input: variants.map( - pick(['id', 'translations', 'sku', 'price', 'priceBeforeTax', 'taxCategoryId']), - ), + input: variants.map(pick(['id', 'translations', 'sku', 'price', 'taxCategoryId'])), }; return this.baseDataService.mutate( UPDATE_PRODUCT_VARIANTS, diff --git a/admin-ui/src/app/data/providers/settings-data.service.ts b/admin-ui/src/app/data/providers/settings-data.service.ts index 24f3abdf37..735daadf25 100644 --- a/admin-ui/src/app/data/providers/settings-data.service.ts +++ b/admin-ui/src/app/data/providers/settings-data.service.ts @@ -2,15 +2,21 @@ import { AddMembersToZone, CreateCountry, CreateCountryInput, + CreateTaxCategory, + CreateTaxCategoryInput, CreateZone, CreateZoneInput, GetCountry, GetCountryList, + GetTaxCategories, + GetTaxCategory, GetZone, GetZones, RemoveMembersFromZone, UpdateCountry, UpdateCountryInput, + UpdateTaxCategory, + UpdateTaxCategoryInput, UpdateZone, UpdateZoneInput, } from 'shared/generated-types'; @@ -18,12 +24,16 @@ import { import { ADD_MEMBERS_TO_ZONE, CREATE_COUNTRY, + CREATE_TAX_CATEGORY, CREATE_ZONE, GET_COUNTRY, GET_COUNTRY_LIST, + GET_TAX_CATEGORIES, + GET_TAX_CATEGORY, GET_ZONES, REMOVE_MEMBERS_FROM_ZONE, UPDATE_COUNTRY, + UPDATE_TAX_CATEGORY, UPDATE_ZONE, } from '../definitions/settings-definitions'; @@ -96,4 +106,32 @@ export class SettingsDataService { }, ); } + + getTaxCategories() { + return this.baseDataService.query(GET_TAX_CATEGORIES); + } + + getTaxCategory(id: string) { + return this.baseDataService.query(GET_TAX_CATEGORY, { + id, + }); + } + + createTaxCategory(input: CreateTaxCategoryInput) { + return this.baseDataService.mutate( + CREATE_TAX_CATEGORY, + { + input, + }, + ); + } + + updateTaxCategory(input: UpdateTaxCategoryInput) { + return this.baseDataService.mutate( + UPDATE_TAX_CATEGORY, + { + input, + }, + ); + } } diff --git a/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts b/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts index a083de44ea..dbdcde57ec 100644 --- a/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts +++ b/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts @@ -72,15 +72,15 @@ export class TaxCategoryDetailComponent extends BaseDetailComponent { this.notificationService.success(_('common.notify-create-success'), { entity: 'TaxCategory', }); this.taxCategoryForm.markAsPristine(); this.changeDetector.markForCheck(); - this.router.navigate(['../', data.createAdjustmentSource.id], { relativeTo: this.route }); + this.router.navigate(['../', data.createTaxCategory.id], { relativeTo: this.route }); }, err => { this.notificationService.error(_('common.notify-create-error'), { @@ -99,12 +99,11 @@ export class TaxCategoryDetailComponent extends BaseDetailComponent { - const input = this.createAdjustmentSourceInput( - formValue.name, - formValue.taxRate, - taxCategory.id, - ); - return this.dataService.adjustmentSource.updatePromotion(input); + const input = { + id: taxCategory.id, + nadme: formValue.name, + }; + return this.dataService.settings.updateTaxCategory(input); }), ) .subscribe( @@ -123,39 +122,6 @@ export class TaxCategoryDetailComponent extends BaseDetailComponent - + {{ 'common.ID' | translate }} {{ 'common.name' | translate }} {{ 'settings.tax-rate' | translate }} diff --git a/admin-ui/src/app/settings/components/tax-category-list/tax-category-list.component.ts b/admin-ui/src/app/settings/components/tax-category-list/tax-category-list.component.ts index 4aa13bc514..f64edf6775 100644 --- a/admin-ui/src/app/settings/components/tax-category-list/tax-category-list.component.ts +++ b/admin-ui/src/app/settings/components/tax-category-list/tax-category-list.component.ts @@ -1,8 +1,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { GetAdjustmentSourceList } from 'shared/generated-types'; +import { Observable } from 'rxjs'; +import { TaxCategory } from 'shared/generated-types'; -import { BaseListComponent } from '../../../common/base-list.component'; import { DataService } from '../../../data/providers/data.service'; @Component({ @@ -11,15 +10,12 @@ import { DataService } from '../../../data/providers/data.service'; styleUrls: ['./tax-category-list.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) -export class TaxCategoryListComponent extends BaseListComponent< - GetAdjustmentSourceList.Query, - GetAdjustmentSourceList.Items -> { - constructor(private dataService: DataService, router: Router, route: ActivatedRoute) { - super(router, route); - super.setQueryFn( - (...args: any[]) => this.dataService.adjustmentSource.getTaxCategories(...args), - data => data.adjustmentSources, - ); +export class TaxCategoryListComponent { + taxCategories$: Observable; + + constructor(private dataService: DataService) { + this.taxCategories$ = this.dataService.settings + .getTaxCategories() + .mapStream(data => data.taxCategories); } } diff --git a/schema.json b/schema.json index 740a478407..dab31bad98 100644 --- a/schema.json +++ b/schema.json @@ -1 +1 @@ -{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"adjustmentSource","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":"AdjustmentSource","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"adjustmentSources","description":null,"args":[{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"defaultValue":null},{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdjustmentSourceListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentSourceList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustmentOperations","description":null,"args":[{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":null,"args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"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":"OBJECT","name":"AdjustmentSource","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"AdjustmentType","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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdjustmentSource","ofType":null},{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","description":null,"fields":[{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","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":"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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"AdjustmentSourceListOptions","description":null,"fields":null,"inputFields":[{"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":"AdjustmentSourceSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdjustmentSourceFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentSourceSortParameter","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":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentSourceFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentSourceList","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":"AdjustmentSource","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdjustmentSourceList","ofType":null},{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null}]},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"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":"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":"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":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"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":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":"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":"totalPrice","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":"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":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","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":"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"priceBeforeTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductTaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTaxCategory","description":null,"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":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOption","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"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":"Adjustment","description":null,"fields":[{"name":"adjustmentSourceId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","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":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"fields":[{"name":"createAdjustmentSource","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAdjustmentSourceInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentSource","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateAdjustmentSource","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAdjustmentSourceInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentSource","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":null,"args":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"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 new 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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdjustmentSourceInput","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":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdjustmentSourceInput","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":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":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"priceBeforeTax","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"price","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":"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":"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}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"sku","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"priceBeforeTax","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"taxCategoryId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"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":"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":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} +{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"adjustmentSource","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":"AdjustmentSource","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"adjustmentSources","description":null,"args":[{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"defaultValue":null},{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdjustmentSourceListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentSourceList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustmentOperations","description":null,"args":[{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":null,"args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"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":"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":"OBJECT","name":"AdjustmentSource","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"AdjustmentType","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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdjustmentSource","ofType":null},{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","description":null,"fields":[{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","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":"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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"AdjustmentSourceListOptions","description":null,"fields":null,"inputFields":[{"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":"AdjustmentSourceSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdjustmentSourceFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentSourceSortParameter","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":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentSourceFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentSourceList","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":"AdjustmentSource","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdjustmentSourceList","ofType":null},{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null}]},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"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":"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":"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":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"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":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":"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":"totalPrice","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":"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":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","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":"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"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":"Adjustment","description":null,"fields":[{"name":"adjustmentSourceId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","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":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"fields":[{"name":"createAdjustmentSource","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAdjustmentSourceInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentSource","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateAdjustmentSource","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAdjustmentSourceInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentSource","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":null,"args":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"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 new 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":"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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdjustmentSourceInput","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":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdjustmentSourceInput","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":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":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"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":"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}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"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":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} diff --git a/server/e2e/product.e2e-spec.ts b/server/e2e/product.e2e-spec.ts index 20f7d6b718..8e866b0ad4 100644 --- a/server/e2e/product.e2e-spec.ts +++ b/server/e2e/product.e2e-spec.ts @@ -145,7 +145,6 @@ describe('Product resolver', () => { fail('Product not found'); return; } - expect(result.product.variants[0].priceBeforeTax).toBe(621); expect(result.product.variants[0].price).toBe(745); expect(result.product.variants[0].taxCategory).toEqual({ id: 'T_1', @@ -496,7 +495,6 @@ describe('Product resolver', () => { } expect(updatedVariant.price).toBe(105); expect(updatedVariant.taxCategory.id).toBe('T_2'); - expect(updatedVariant.priceBeforeTax).toBe(100); }); it('updateProductVariants throws with an invalid variant id', async () => { diff --git a/server/mock-data/mock-data.service.ts b/server/mock-data/mock-data.service.ts index bb48b1ebf1..9454f671bc 100644 --- a/server/mock-data/mock-data.service.ts +++ b/server/mock-data/mock-data.service.ts @@ -40,6 +40,7 @@ import { Channel } from '../src/entity/channel/channel.entity'; import { Customer } from '../src/entity/customer/customer.entity'; import { SimpleGraphQLClient } from './simple-graphql-client'; +import TaxCategory = ProductVariant.TaxCategory; // tslint:disable:no-console /** @@ -142,38 +143,26 @@ export class MockDataService { } async populateTaxCategories() { - const taxCategories = [ - { name: 'Standard Tax', rate: 20 }, - { name: 'Reduced Tax', rate: 5 }, - { name: 'Zero Tax', rate: 0 }, - ]; + const taxCategories = [{ name: 'Standard Tax' }, { name: 'Reduced Tax' }, { name: 'Zero Tax' }]; - const results: AdjustmentSource.Fragment[] = []; + const results: TaxCategory[] = []; for (const category of taxCategories) { - const result = await this.client.query< - CreateAdjustmentSource.Mutation, - CreateAdjustmentSource.Variables - >(CREATE_ADJUSTMENT_SOURCE, { - input: { - name: category.name, - type: AdjustmentType.TAX, - enabled: true, - conditions: [ - { - code: taxCondition.code, - arguments: [], - }, - ], - actions: [ - { - code: taxAction.code, - arguments: [category.rate.toString()], - }, - ], + const result = await this.client.query( + gql` + mutation($input: CreateTaxCategoryInput!) { + createTaxCategory(input: $input) { + id + } + } + `, + { + input: { + name: category.name, + }, }, - }); - results.push(result.createAdjustmentSource); + ); + results.push(result.createTaxCategory); } this.log(`Created ${results.length} tax categories`); return results; @@ -253,7 +242,7 @@ export class MockDataService { count: number = 5, optionGroupId: string, assets: Asset[], - taxCategories: AdjustmentSource.Fragment[], + taxCategories: TaxCategory[], ): Promise { for (let i = 0; i < count; i++) { const query = CREATE_PRODUCT; @@ -377,7 +366,7 @@ export class MockDataService { private async makeProductVariant( productId: string, - taxCategory: AdjustmentSource.Fragment, + taxCategory: TaxCategory, ): Promise { const query = GENERATE_PRODUCT_VARIANTS; return this.client.query(query, { diff --git a/server/src/api/api.module.ts b/server/src/api/api.module.ts index ab3f07a0a3..ed2057399b 100644 --- a/server/src/api/api.module.ts +++ b/server/src/api/api.module.ts @@ -26,6 +26,7 @@ import { OrderResolver } from './resolvers/order.resolver'; import { ProductOptionResolver } from './resolvers/product-option.resolver'; import { ProductResolver } from './resolvers/product.resolver'; import { RoleResolver } from './resolvers/role.resolver'; +import { TaxCategoryResolver } from './resolvers/tax-category.resolver'; import { ZoneResolver } from './resolvers/zone.resolver'; const exportedProviders = [ @@ -43,6 +44,7 @@ const exportedProviders = [ ProductOptionResolver, ProductResolver, RoleResolver, + TaxCategoryResolver, ZoneResolver, ]; diff --git a/server/src/api/resolvers/tax-category.resolver.ts b/server/src/api/resolvers/tax-category.resolver.ts new file mode 100644 index 0000000000..b3072156c3 --- /dev/null +++ b/server/src/api/resolvers/tax-category.resolver.ts @@ -0,0 +1,45 @@ +import { Args, Mutation, Query, Resolver } from '@nestjs/graphql'; +import { + CreateTaxCategoryMutationArgs, + Permission, + TaxCategoryQueryArgs, + UpdateTaxCategoryMutationArgs, +} from 'shared/generated-types'; + +import { TaxCategory } from '../../entity/tax-category/tax-category.entity'; +import { TaxCategoryService } from '../../service/providers/tax-category.service'; +import { Allow } from '../common/auth-guard'; +import { RequestContext } from '../common/request-context'; +import { Ctx } from '../common/request-context.decorator'; + +@Resolver('TaxCategory') +export class TaxCategoryResolver { + constructor(private taxCategoryService: TaxCategoryService) {} + + @Query() + @Allow(Permission.ReadSettings) + taxCategories(@Ctx() ctx: RequestContext): Promise { + return this.taxCategoryService.findAll(); + } + + @Query() + @Allow(Permission.ReadSettings) + async taxCategory( + @Ctx() ctx: RequestContext, + @Args() args: TaxCategoryQueryArgs, + ): Promise { + return this.taxCategoryService.findOne(args.id); + } + + @Mutation() + @Allow(Permission.CreateSettings) + async createTaxCategory(@Args() args: CreateTaxCategoryMutationArgs): Promise { + return this.taxCategoryService.create(args.input); + } + + @Mutation() + @Allow(Permission.UpdateSettings) + async updateTaxCategory(@Args() args: UpdateTaxCategoryMutationArgs): Promise { + return this.taxCategoryService.update(args.input); + } +} diff --git a/server/src/api/types/tax-category.api.graphql b/server/src/api/types/tax-category.api.graphql new file mode 100644 index 0000000000..dead1b1c16 --- /dev/null +++ b/server/src/api/types/tax-category.api.graphql @@ -0,0 +1,12 @@ +type Query { + taxCategories: [TaxCategory!]! + taxCategory(id: ID!): TaxCategory +} + +type Mutation { + "Create a new TaxCategory" + createTaxCategory(input: CreateTaxCategoryInput!): TaxCategory! + + "Update an existing TaxCategory" + updateTaxCategory(input: UpdateTaxCategoryInput!): TaxCategory! +} diff --git a/server/src/common/types/adjustment-source.ts b/server/src/common/types/adjustment-source.ts new file mode 100644 index 0000000000..db8519143c --- /dev/null +++ b/server/src/common/types/adjustment-source.ts @@ -0,0 +1,16 @@ +import { ID } from 'shared/shared-types'; + +export interface AdjustmentSource { + test(): boolean; + apply(): Adjustment[]; +} + +/** + * When an AdjustmentSource is applied to an OrderItem or Order, an Adjustment is + * generated based on the actions assigned to the AdjustmentSource. + */ +export interface Adjustment { + adjustmentSourceId: ID; + description: string; + amount: number; +} diff --git a/server/src/entity/adjustment-source/adjustment-source.entity.ts b/server/src/entity/adjustment-source/adjustment-source.entity.ts index c3caf8e5ec..c677fd656a 100644 --- a/server/src/entity/adjustment-source/adjustment-source.entity.ts +++ b/server/src/entity/adjustment-source/adjustment-source.entity.ts @@ -68,13 +68,3 @@ export class AdjustmentSource extends VendureEntity implements ChannelAware { }); } } - -/** - * When an AdjustmentSource is applied to an OrderItem or Order, an Adjustment is - * generated based on the actions assigned to the AdjustmentSource. - */ -export interface Adjustment { - adjustmentSourceId: ID; - description: string; - amount: number; -} diff --git a/server/src/entity/entities.ts b/server/src/entity/entities.ts index 9ddfdb163d..f258051e1c 100644 --- a/server/src/entity/entities.ts +++ b/server/src/entity/entities.ts @@ -21,10 +21,13 @@ import { ProductVariantTranslation } from './product-variant/product-variant-tra import { ProductVariant } from './product-variant/product-variant.entity'; import { ProductTranslation } from './product/product-translation.entity'; import { Product } from './product/product.entity'; +import { Promotion } from './promotion/promotion.entity'; import { Role } from './role/role.entity'; import { AnonymousSession } from './session/anonymous-session.entity'; import { AuthenticatedSession } from './session/authenticated-session.entity'; import { Session } from './session/session.entity'; +import { TaxCategory } from './tax-category/tax-category.entity'; +import { TaxRate } from './tax-rate/tax-rate.entity'; import { User } from './user/user.entity'; import { Zone } from './zone/zone.entity'; @@ -33,7 +36,6 @@ import { Zone } from './zone/zone.entity'; */ export const coreEntitiesMap = { Address, - AdjustmentSource, Administrator, AnonymousSession, Asset, @@ -57,8 +59,11 @@ export const coreEntitiesMap = { ProductVariant, ProductVariantPrice, ProductVariantTranslation, + Promotion, Role, Session, + TaxCategory, + TaxRate, User, Zone, }; diff --git a/server/src/entity/order-item/order-item.entity.ts b/server/src/entity/order-item/order-item.entity.ts index f728d67441..eb32921b65 100644 --- a/server/src/entity/order-item/order-item.entity.ts +++ b/server/src/entity/order-item/order-item.entity.ts @@ -1,7 +1,7 @@ import { DeepPartial, ID } from 'shared/shared-types'; import { Column, Entity, ManyToOne } from 'typeorm'; -import { Adjustment } from '../adjustment-source/adjustment-source.entity'; +import { Adjustment } from '../../common/types/adjustment-source'; import { Asset } from '../asset/asset.entity'; import { VendureEntity } from '../base/base.entity'; import { Order } from '../order/order.entity'; diff --git a/server/src/entity/order/order.entity.ts b/server/src/entity/order/order.entity.ts index 4748514547..dcfd7202bf 100644 --- a/server/src/entity/order/order.entity.ts +++ b/server/src/entity/order/order.entity.ts @@ -1,7 +1,7 @@ import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, ManyToOne, OneToMany } from 'typeorm'; -import { Adjustment } from '../adjustment-source/adjustment-source.entity'; +import { Adjustment } from '../../common/types/adjustment-source'; import { VendureEntity } from '../base/base.entity'; import { Customer } from '../customer/customer.entity'; import { OrderItem } from '../order-item/order-item.entity'; diff --git a/server/src/entity/product-variant/product-variant-price.entity.ts b/server/src/entity/product-variant/product-variant-price.entity.ts index cd22e41bd7..5f32aa791a 100644 --- a/server/src/entity/product-variant/product-variant-price.entity.ts +++ b/server/src/entity/product-variant/product-variant-price.entity.ts @@ -15,11 +15,6 @@ export class ProductVariantPrice extends VendureEntity { @Column() price: number; - @Column() priceBeforeTax: number; - - @ManyToOne(type => AdjustmentSource, { eager: true }) - taxCategory: AdjustmentSource; - @Column() channelId: number; @ManyToOne(type => ProductVariant, variant => variant.productVariantPrices) diff --git a/server/src/entity/product-variant/product-variant.entity.ts b/server/src/entity/product-variant/product-variant.entity.ts index 3f7d452543..d5ae45cdfb 100644 --- a/server/src/entity/product-variant/product-variant.entity.ts +++ b/server/src/entity/product-variant/product-variant.entity.ts @@ -7,6 +7,7 @@ import { CustomProductVariantFields } from '../custom-entity-fields'; import { FacetValue } from '../facet-value/facet-value.entity'; import { ProductOption } from '../product-option/product-option.entity'; import { Product } from '../product/product.entity'; +import { TaxCategory } from '../tax-category/tax-category.entity'; import { ProductVariantPrice } from './product-variant-price.entity'; import { ProductVariantTranslation } from './product-variant-translation.entity'; @@ -31,19 +32,8 @@ export class ProductVariant extends VendureEntity implements Translatable, HasCu }) price: number; - /** - * A synthetic property which is populated with data from a ProductVariantPrice entity. - */ - priceBeforeTax: number; - - /** - * A synthetic property which is populated with data from a ProductVariantPrice entity. - */ - taxCategory: { - id: ID; - name: string; - taxRate: number; - }; + @ManyToOne(type => TaxCategory) + taxCategory: TaxCategory; @OneToMany(type => ProductVariantPrice, price => price.variant, { eager: true }) productVariantPrices: ProductVariantPrice[]; diff --git a/server/src/entity/product-variant/product-variant.graphql b/server/src/entity/product-variant/product-variant.graphql index 8eb9e5efb9..631fba6afe 100644 --- a/server/src/entity/product-variant/product-variant.graphql +++ b/server/src/entity/product-variant/product-variant.graphql @@ -5,9 +5,8 @@ type ProductVariant implements Node { languageCode: LanguageCode! sku: String! name: String! - priceBeforeTax: Int! price: Int! - taxCategory: ProductTaxCategory! + taxCategory: TaxCategory! options: [ProductOption!]! facetValues: [FacetValue!]! translations: [ProductVariantTranslation!]! @@ -21,12 +20,6 @@ type ProductVariantTranslation { name: String! } -type ProductTaxCategory { - id: ID! - name: String! - taxRate: Float! -} - input ProductVariantTranslationInput { id: ID languageCode: LanguageCode! @@ -36,7 +29,6 @@ input ProductVariantTranslationInput { input CreateProductVariantInput { translations: [ProductVariantTranslationInput!]! sku: String! - priceBeforeTax: Int price: Int taxCategoryId: ID! optionCodes: [String!] @@ -47,6 +39,5 @@ input UpdateProductVariantInput { translations: [ProductVariantTranslationInput!] sku: String taxCategoryId: ID - priceBeforeTax: Int price: Int } diff --git a/server/src/entity/product-variant/product-variant.subscriber.ts b/server/src/entity/product-variant/product-variant.subscriber.ts index a72adf9829..314da6746b 100644 --- a/server/src/entity/product-variant/product-variant.subscriber.ts +++ b/server/src/entity/product-variant/product-variant.subscriber.ts @@ -1,8 +1,6 @@ -import { ID } from 'shared/shared-types'; -import { Connection, EntitySubscriberInterface, EventSubscriber, InsertEvent } from 'typeorm'; +import { EntitySubscriberInterface, EventSubscriber, InsertEvent } from 'typeorm'; import { I18nError } from '../../i18n/i18n-error'; -import { AdjustmentSource } from '../adjustment-source/adjustment-source.entity'; import { ProductVariantPrice } from './product-variant-price.entity'; import { ProductVariant } from './product-variant.entity'; @@ -22,11 +20,8 @@ export class ProductVariantSubscriber implements EntitySubscriberInterface { - const taxCategory = await connection.getRepository(AdjustmentSource).findOne(id); - if (!taxCategory) { - throw new I18nError(`error.tax-category-not-found`, { id }); - } - return taxCategory; - } } diff --git a/server/src/entity/promotion/promotion.entity.ts b/server/src/entity/promotion/promotion.entity.ts new file mode 100644 index 0000000000..05e5fd3883 --- /dev/null +++ b/server/src/entity/promotion/promotion.entity.ts @@ -0,0 +1,34 @@ +import { AdjustmentOperation, AdjustmentType } from 'shared/generated-types'; +import { DeepPartial } from 'shared/shared-types'; +import { Column, Entity, JoinTable, ManyToMany } from 'typeorm'; + +import { Adjustment, AdjustmentSource } from '../../common/types/adjustment-source'; +import { VendureEntity } from '../base/base.entity'; +import { Channel } from '../channel/channel.entity'; + +@Entity() +export class Promotion extends VendureEntity implements AdjustmentSource { + constructor(input?: DeepPartial) { + super(input); + } + + @Column() name: string; + + @Column() enabled: boolean; + + @ManyToMany(type => Channel) + @JoinTable() + channels: Channel[]; + + @Column('simple-json') conditions: AdjustmentOperation[]; + + @Column('simple-json') actions: AdjustmentOperation[]; + + apply(): Adjustment[] { + return []; + } + + test(): boolean { + return false; + } +} diff --git a/server/src/entity/tax-category/tax-category.entity.ts b/server/src/entity/tax-category/tax-category.entity.ts new file mode 100644 index 0000000000..5311e6be96 --- /dev/null +++ b/server/src/entity/tax-category/tax-category.entity.ts @@ -0,0 +1,13 @@ +import { DeepPartial } from 'shared/shared-types'; +import { Column, Entity } from 'typeorm'; + +import { VendureEntity } from '../base/base.entity'; + +@Entity() +export class TaxCategory extends VendureEntity { + constructor(input?: DeepPartial) { + super(input); + } + + @Column() name: string; +} diff --git a/server/src/entity/tax-category/tax-category.graphql b/server/src/entity/tax-category/tax-category.graphql new file mode 100644 index 0000000000..62eae929b5 --- /dev/null +++ b/server/src/entity/tax-category/tax-category.graphql @@ -0,0 +1,14 @@ +type TaxCategory implements Node { + id: ID! + name: String! +} + +input CreateTaxCategoryInput { + name: String! +} + + +input UpdateTaxCategoryInput { + id: ID! + name: String +} diff --git a/server/src/entity/tax-rate/tax-rate.entity.ts b/server/src/entity/tax-rate/tax-rate.entity.ts new file mode 100644 index 0000000000..98816b4fd5 --- /dev/null +++ b/server/src/entity/tax-rate/tax-rate.entity.ts @@ -0,0 +1,38 @@ +import { AdjustmentOperation, AdjustmentType } from 'shared/generated-types'; +import { DeepPartial } from 'shared/shared-types'; +import { Column, Entity, JoinTable, ManyToMany, ManyToOne } from 'typeorm'; + +import { Adjustment, AdjustmentSource } from '../../common/types/adjustment-source'; +import { VendureEntity } from '../base/base.entity'; +import { Channel } from '../channel/channel.entity'; +import { CustomerGroup } from '../customer-group/customer-group.entity'; +import { TaxCategory } from '../tax-category/tax-category.entity'; +import { Zone } from '../zone/zone.entity'; + +@Entity() +export class TaxRate extends VendureEntity implements AdjustmentSource { + constructor(input?: DeepPartial) { + super(input); + } + + @Column() name: string; + + @Column() enabled: boolean; + + @ManyToOne(type => TaxCategory) + category: TaxCategory; + + @ManyToOne(type => Zone) + zone: Zone; + + @ManyToOne(type => CustomerGroup, { nullable: true }) + customerGroup?: CustomerGroup; + + apply(): Adjustment[] { + return []; + } + + test(): boolean { + return false; + } +} diff --git a/server/src/service/helpers/apply-adjustments.ts b/server/src/service/helpers/apply-adjustments.ts index cdf2c14e2c..2544ec644b 100644 --- a/server/src/service/helpers/apply-adjustments.ts +++ b/server/src/service/helpers/apply-adjustments.ts @@ -1,12 +1,13 @@ import { AdjustmentArg, AdjustmentType } from 'shared/generated-types'; +import { Adjustment } from '../../common/types/adjustment-source'; import { idsAreEqual } from '../../common/utils'; import { AdjustmentActionDefinition, AdjustmentActionResult, AdjustmentConditionDefinition, } from '../../config/adjustment/adjustment-types'; -import { Adjustment, AdjustmentSource } from '../../entity/adjustment-source/adjustment-source.entity'; +import { AdjustmentSource } from '../../entity/adjustment-source/adjustment-source.entity'; import { Order } from '../../entity/order/order.entity'; /** diff --git a/server/src/service/helpers/update-translatable.ts b/server/src/service/helpers/update-translatable.ts index 86b9eb5068..256fcbe1d7 100644 --- a/server/src/service/helpers/update-translatable.ts +++ b/server/src/service/helpers/update-translatable.ts @@ -15,6 +15,7 @@ export function updateTranslatable( entityType: Type, translationType: Type>, translationUpdaterService: TranslationUpdaterService, + beforeSave?: (newEntity: T) => void, ) { return async function saveTranslatable( connection: Connection, @@ -34,6 +35,9 @@ export function updateTranslatable( diff, ); const updatedEntity = patchEntity(entity as any, omit(input, ['translations'])); - return connection.manager.save(entity, { data }); + if (typeof beforeSave === 'function') { + await beforeSave(entity); + } + return connection.manager.save(updatedEntity, { data }); }; } diff --git a/server/src/service/providers/order.service.ts b/server/src/service/providers/order.service.ts index d91c6d700a..c65151a187 100644 --- a/server/src/service/providers/order.service.ts +++ b/server/src/service/providers/order.service.ts @@ -77,9 +77,9 @@ export class OrderService { taxCategoryId: productVariant.taxCategory.id, featuredAsset: productVariant.product.featuredAsset, unitPrice: productVariant.price, - unitPriceBeforeTax: productVariant.priceBeforeTax, - totalPriceBeforeAdjustment: productVariant.priceBeforeTax * quantity, - totalPrice: productVariant.priceBeforeTax * quantity, + unitPriceBeforeTax: 0, + totalPriceBeforeAdjustment: 0 * quantity, + totalPrice: 0 * quantity, adjustments: [], }); const newOrderItem = await this.connection.getRepository(OrderItem).save(orderItem); diff --git a/server/src/service/providers/product-variant.service.ts b/server/src/service/providers/product-variant.service.ts index 6c2122266d..f9c9290415 100644 --- a/server/src/service/providers/product-variant.service.ts +++ b/server/src/service/providers/product-variant.service.ts @@ -21,11 +21,13 @@ import { TranslationUpdaterService } from '../helpers/translation-updater.servic import { updateTranslatable } from '../helpers/update-translatable'; import { AdjustmentSourceService } from './adjustment-source.service'; +import { TaxCategoryService } from './tax-category.service'; @Injectable() export class ProductVariantService { constructor( @InjectConnection() private connection: Connection, + private taxCategoryService: TaxCategoryService, private translationUpdaterService: TranslationUpdaterService, private adjustmentSourceService: AdjustmentSourceService, ) {} @@ -55,6 +57,7 @@ export class ProductVariantService { variant.options = selectedOptions; } variant.product = product; + variant.taxCategory = { id: input.taxCategoryId } as any; }); return await save(this.connection, input, { channelId: ctx.channelId, @@ -67,11 +70,19 @@ export class ProductVariantService { ProductVariant, ProductVariantTranslation, this.translationUpdaterService, + async updatedVariant => { + if (input.taxCategoryId) { + const taxCategory = await this.taxCategoryService.findOne(input.taxCategoryId); + if (taxCategory) { + updatedVariant.taxCategory = taxCategory; + } + } + }, ); await save(this.connection, input, { channelId: ctx.channelId, taxCategoryId: input.taxCategoryId }); const variant = await assertFound( this.connection.manager.getRepository(ProductVariant).findOne(input.id, { - relations: ['options', 'facetValues'], + relations: ['options', 'facetValues', 'taxCategory'], }), ); return translateDeep(this.applyChannelPrice(variant, ctx.channelId), DEFAULT_LANGUAGE_CODE, [ @@ -168,12 +179,6 @@ export class ProductVariantService { throw new I18nError(`error.no-price-found-for-channel`); } variant.price = channelPrice.price; - variant.priceBeforeTax = channelPrice.priceBeforeTax; - variant.taxCategory = { - id: channelPrice.taxCategory.id, - name: channelPrice.taxCategory.name, - taxRate: channelPrice.taxCategory.getTaxCategoryRate() || 0, - }; return variant; } diff --git a/server/src/service/providers/product.service.ts b/server/src/service/providers/product.service.ts index 7ca0ab2ce4..f8e28e51a9 100644 --- a/server/src/service/providers/product.service.ts +++ b/server/src/service/providers/product.service.ts @@ -74,6 +74,7 @@ export class ProductService { 'optionGroups', 'variants.options', 'variants.facetValues', + 'variants.taxCategory', ]; const product = await this.connection.manager.findOne(Product, productId, { relations }); if (!product) { diff --git a/server/src/service/providers/tax-category.service.ts b/server/src/service/providers/tax-category.service.ts new file mode 100644 index 0000000000..9e58e2d53d --- /dev/null +++ b/server/src/service/providers/tax-category.service.ts @@ -0,0 +1,42 @@ +import { Injectable } from '@nestjs/common'; +import { InjectConnection } from '@nestjs/typeorm'; +import { CreateTaxCategoryInput, UpdateTaxCategoryInput } from 'shared/generated-types'; +import { ID } from 'shared/shared-types'; +import { Connection } from 'typeorm'; + +import { assertFound } from '../../common/utils'; +import { TaxCategory } from '../../entity/tax-category/tax-category.entity'; +import { I18nError } from '../../i18n/i18n-error'; +import { patchEntity } from '../helpers/patch-entity'; + +@Injectable() +export class TaxCategoryService { + constructor(@InjectConnection() private connection: Connection) {} + + findAll(): Promise { + return this.connection.getRepository(TaxCategory).find(); + } + + findOne(taxCategoryId: ID): Promise { + return this.connection.getRepository(TaxCategory).findOne(taxCategoryId); + } + + async create(input: CreateTaxCategoryInput): Promise { + const taxCategory = new TaxCategory(input); + const newTaxCategory = await this.connection.getRepository(TaxCategory).save(taxCategory); + return assertFound(this.findOne(newTaxCategory.id)); + } + + async update(input: UpdateTaxCategoryInput): Promise { + const taxCategory = await this.findOne(input.id); + if (!taxCategory) { + throw new I18nError(`error.entity-with-id-not-found`, { + entityName: 'TaxCategory', + id: input.id, + }); + } + const updatedTaxCategory = patchEntity(taxCategory, input); + await this.connection.getRepository(TaxCategory).save(updatedTaxCategory); + return assertFound(this.findOne(taxCategory.id)); + } +} diff --git a/server/src/service/service.module.ts b/server/src/service/service.module.ts index 389e5c8679..0ec540e127 100644 --- a/server/src/service/service.module.ts +++ b/server/src/service/service.module.ts @@ -23,6 +23,7 @@ import { ProductOptionService } from './providers/product-option.service'; import { ProductVariantService } from './providers/product-variant.service'; import { ProductService } from './providers/product.service'; import { RoleService } from './providers/role.service'; +import { TaxCategoryService } from './providers/tax-category.service'; import { ZoneService } from './providers/zone.service'; const exportedProviders = [ @@ -42,6 +43,7 @@ const exportedProviders = [ ProductService, ProductVariantService, RoleService, + TaxCategoryService, ZoneService, ]; diff --git a/shared/generated-types.ts b/shared/generated-types.ts index 93d079c790..7bcc2ab9a8 100644 --- a/shared/generated-types.ts +++ b/shared/generated-types.ts @@ -65,6 +65,8 @@ export interface Query { product?: Product | null; roles: RoleList; role?: Role | null; + taxCategories: TaxCategory[]; + taxCategory?: TaxCategory | null; zones: Zone[]; zone?: Zone | null; networkStatus: NetworkStatus; @@ -312,19 +314,17 @@ export interface ProductVariant extends Node { languageCode: LanguageCode; sku: string; name: string; - priceBeforeTax: number; price: number; - taxCategory: ProductTaxCategory; + taxCategory: TaxCategory; options: ProductOption[]; facetValues: FacetValue[]; translations: ProductVariantTranslation[]; customFields?: Json | null; } -export interface ProductTaxCategory { +export interface TaxCategory extends Node { id: string; name: string; - taxRate: number; } export interface ProductOption extends Node { @@ -490,6 +490,8 @@ export interface Mutation { applyFacetValuesToProductVariants: ProductVariant[]; createRole: Role; updateRole: Role; + createTaxCategory: TaxCategory; + updateTaxCategory: TaxCategory; createZone: Zone; updateZone: Zone; addMembersToZone: Zone; @@ -964,7 +966,6 @@ export interface UpdateProductVariantInput { translations?: ProductVariantTranslationInput[] | null; sku?: string | null; taxCategoryId?: string | null; - priceBeforeTax?: number | null; price?: number | null; customFields?: Json | null; } @@ -989,6 +990,15 @@ export interface UpdateRoleInput { permissions?: Permission[] | null; } +export interface CreateTaxCategoryInput { + name: string; +} + +export interface UpdateTaxCategoryInput { + id: string; + name?: string | null; +} + export interface CreateZoneInput { name: string; memberIds?: string[] | null; @@ -1002,7 +1012,6 @@ export interface UpdateZoneInput { export interface CreateProductVariantInput { translations: ProductVariantTranslationInput[]; sku: string; - priceBeforeTax?: number | null; price?: number | null; taxCategoryId: string; optionCodes?: string[] | null; @@ -1102,6 +1111,9 @@ export interface RolesQueryArgs { export interface RoleQueryArgs { id: string; } +export interface TaxCategoryQueryArgs { + id: string; +} export interface ZoneQueryArgs { id: string; } @@ -1222,6 +1234,12 @@ export interface CreateRoleMutationArgs { export interface UpdateRoleMutationArgs { input: UpdateRoleInput; } +export interface CreateTaxCategoryMutationArgs { + input: CreateTaxCategoryInput; +} +export interface UpdateTaxCategoryMutationArgs { + input: UpdateTaxCategoryInput; +} export interface CreateZoneMutationArgs { input: CreateZoneInput; } @@ -1507,6 +1525,8 @@ export namespace QueryResolvers { product?: ProductResolver; roles?: RolesResolver; role?: RoleResolver; + taxCategories?: TaxCategoriesResolver; + taxCategory?: TaxCategoryResolver; zones?: ZonesResolver; zone?: ZoneResolver; networkStatus?: NetworkStatusResolver; @@ -1755,6 +1775,21 @@ export namespace QueryResolvers { id: string; } + export type TaxCategoriesResolver = Resolver< + R, + Parent, + Context + >; + export type TaxCategoryResolver = Resolver< + R, + Parent, + Context, + TaxCategoryArgs + >; + export interface TaxCategoryArgs { + id: string; + } + export type ZonesResolver = Resolver; export type ZoneResolver = Resolver< R, @@ -2413,9 +2448,8 @@ export namespace ProductVariantResolvers { languageCode?: LanguageCodeResolver; sku?: SkuResolver; name?: NameResolver; - priceBeforeTax?: PriceBeforeTaxResolver; price?: PriceResolver; - taxCategory?: TaxCategoryResolver; + taxCategory?: TaxCategoryResolver; options?: OptionsResolver; facetValues?: FacetValuesResolver; translations?: TranslationsResolver; @@ -2432,13 +2466,8 @@ export namespace ProductVariantResolvers { >; export type SkuResolver = Resolver; export type NameResolver = Resolver; - export type PriceBeforeTaxResolver = Resolver< - R, - Parent, - Context - >; export type PriceResolver = Resolver; - export type TaxCategoryResolver = Resolver< + export type TaxCategoryResolver = Resolver< R, Parent, Context @@ -2465,16 +2494,14 @@ export namespace ProductVariantResolvers { >; } -export namespace ProductTaxCategoryResolvers { +export namespace TaxCategoryResolvers { export interface Resolvers { id?: IdResolver; name?: NameResolver; - taxRate?: TaxRateResolver; } export type IdResolver = Resolver; export type NameResolver = Resolver; - export type TaxRateResolver = Resolver; } export namespace ProductOptionResolvers { @@ -2872,6 +2899,8 @@ export namespace MutationResolvers { >; createRole?: CreateRoleResolver; updateRole?: UpdateRoleResolver; + createTaxCategory?: CreateTaxCategoryResolver; + updateTaxCategory?: UpdateTaxCategoryResolver; createZone?: CreateZoneResolver; updateZone?: UpdateZoneResolver; addMembersToZone?: AddMembersToZoneResolver; @@ -3235,6 +3264,26 @@ export namespace MutationResolvers { input: UpdateRoleInput; } + export type CreateTaxCategoryResolver = Resolver< + R, + Parent, + Context, + CreateTaxCategoryArgs + >; + export interface CreateTaxCategoryArgs { + input: CreateTaxCategoryInput; + } + + export type UpdateTaxCategoryResolver = Resolver< + R, + Parent, + Context, + UpdateTaxCategoryArgs + >; + export interface UpdateTaxCategoryArgs { + input: UpdateTaxCategoryInput; + } + export type CreateZoneResolver = Resolver< R, Parent, @@ -4181,6 +4230,56 @@ export namespace RemoveMembersFromZone { export type RemoveMembersFromZone = Zone.Fragment; } +export namespace GetTaxCategories { + export type Variables = {}; + + export type Query = { + __typename?: 'Query'; + taxCategories: TaxCategories[]; + }; + + export type TaxCategories = TaxCategory.Fragment; +} + +export namespace GetTaxCategory { + export type Variables = { + id: string; + }; + + export type Query = { + __typename?: 'Query'; + taxCategory?: TaxCategory | null; + }; + + export type TaxCategory = TaxCategory.Fragment; +} + +export namespace CreateTaxCategory { + export type Variables = { + input: CreateTaxCategoryInput; + }; + + export type Mutation = { + __typename?: 'Mutation'; + createTaxCategory: CreateTaxCategory; + }; + + export type CreateTaxCategory = TaxCategory.Fragment; +} + +export namespace UpdateTaxCategory { + export type Variables = { + input: UpdateTaxCategoryInput; + }; + + export type Mutation = { + __typename?: 'Mutation'; + updateTaxCategory: UpdateTaxCategory; + }; + + export type UpdateTaxCategory = TaxCategory.Fragment; +} + export namespace AdjustmentOperation { export type Fragment = { __typename?: 'AdjustmentOperation'; @@ -4346,7 +4445,6 @@ export namespace ProductVariant { languageCode: LanguageCode; name: string; price: number; - priceBeforeTax: number; taxCategory: TaxCategory; sku: string; options: Options[]; @@ -4355,10 +4453,9 @@ export namespace ProductVariant { }; export type TaxCategory = { - __typename?: 'ProductTaxCategory'; + __typename?: 'TaxCategory'; id: string; name: string; - taxRate: number; }; export type Options = { @@ -4473,3 +4570,11 @@ export namespace Zone { export type Members = Country.Fragment; } + +export namespace TaxCategory { + export type Fragment = { + __typename?: 'TaxCategory'; + id: string; + name: string; + }; +} From 0e50a0b3125601bedcab25c43905809d5e424ee9 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Mon, 15 Oct 2018 12:32:53 +0200 Subject: [PATCH 2/8] refactor: Rename AdjustmentSource -> Promotion, refactor OrderItems Now there is an extra layer - Order -> OrderLine -> OrderItem which will allow better control over unit-level adjustments. --- .../product-detail.component.ts | 2 - .../product-variants-list.component.ts | 2 +- .../adjustment-source-definitions.ts | 85 -- .../data/definitions/promotion-definitions.ts | 83 ++ .../adjustment-source-data.service.ts | 89 -- .../app/data/providers/data.service.mock.ts | 2 +- .../src/app/data/providers/data.service.ts | 6 +- .../data/providers/promotion-data.service.ts | 63 ++ .../promotion-detail.component.ts | 38 +- .../promotion-list.component.ts | 10 +- .../src/app/marketing/marketing.routes.ts | 4 +- .../providers/routing/promotion-resolver.ts | 9 +- .../tax-category-detail.component.html | 5 - .../tax-category-detail.component.ts | 23 +- .../tax-category-list.component.html | 2 - .../providers/routing/country-resolver.ts | 2 +- .../routing/tax-category-resolver.ts | 14 +- admin-ui/src/app/settings/settings.routes.ts | 6 +- schema.json | 2 +- server/e2e/adjustment-source.e2e-spec.ts | 14 +- server/e2e/order.e2e-spec.ts | 6 +- server/mock-data/mock-data.service.ts | 4 - server/src/api/api.module.ts | 4 +- .../resolvers/adjustment-source.resolver.ts | 73 -- .../src/api/resolvers/promotion.resolver.ts | 59 ++ .../api/types/adjustment-source.api.graphql | 41 - server/src/api/types/promotion.api.graphql | 41 + server/src/common/calculated-decorator.ts | 18 + server/src/common/types/adjustment-source.ts | 2 +- server/src/common/types/common-types.graphql | 6 + .../adjustment/default-adjustment-actions.ts | 6 +- .../default-adjustment-conditions.ts | 7 +- .../adjustment/required-adjustment-actions.ts | 5 +- .../required-adjustment-conditions.ts | 3 - .../adjustment-source.entity.ts | 70 -- server/src/entity/entities.ts | 3 +- .../entity/order-item/order-item.entity.ts | 37 +- .../src/entity/order-item/order-item.graphql | 7 - .../entity/order-line/order-line.entity.ts | 43 + .../src/entity/order-line/order-line.graphql | 12 + server/src/entity/order/order.entity.ts | 14 +- server/src/entity/order/order.graphql | 4 +- .../promotion.graphql} | 20 +- server/src/entity/subscribers.ts | 32 + ....spec.ts => apply-adjustments.spec-off.ts} | 34 +- .../src/service/helpers/apply-adjustments.ts | 6 +- .../adjustment-applicator.service.ts | 14 +- server/src/service/providers/order.service.ts | 71 +- .../providers/product-variant.service.ts | 9 +- ...source.service.ts => promotion.service.ts} | 69 +- server/src/service/service.module.ts | 4 +- shared/generated-types.ts | 794 +++++++++--------- 52 files changed, 907 insertions(+), 1072 deletions(-) delete mode 100644 admin-ui/src/app/data/definitions/adjustment-source-definitions.ts create mode 100644 admin-ui/src/app/data/definitions/promotion-definitions.ts delete mode 100644 admin-ui/src/app/data/providers/adjustment-source-data.service.ts create mode 100644 admin-ui/src/app/data/providers/promotion-data.service.ts delete mode 100644 server/src/api/resolvers/adjustment-source.resolver.ts create mode 100644 server/src/api/resolvers/promotion.resolver.ts delete mode 100644 server/src/api/types/adjustment-source.api.graphql create mode 100644 server/src/api/types/promotion.api.graphql create mode 100644 server/src/common/calculated-decorator.ts delete mode 100644 server/src/entity/adjustment-source/adjustment-source.entity.ts create mode 100644 server/src/entity/order-line/order-line.entity.ts create mode 100644 server/src/entity/order-line/order-line.graphql rename server/src/entity/{adjustment-source/adjustment-source.graphql => promotion/promotion.graphql} (67%) rename server/src/service/helpers/{apply-adjustments.spec.ts => apply-adjustments.spec-off.ts} (88%) rename server/src/service/providers/{adjustment-source.service.ts => promotion.service.ts} (69%) diff --git a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts index 11a8e12e0d..7e66734d09 100644 --- a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts +++ b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts @@ -4,10 +4,8 @@ import { ActivatedRoute, Router } from '@angular/router'; import { combineLatest, EMPTY, forkJoin, Observable } from 'rxjs'; import { map, mergeMap, take } from 'rxjs/operators'; import { - AdjustmentSource, CreateProductInput, LanguageCode, - ProductVariant, ProductWithVariants, TaxCategory, UpdateProductInput, diff --git a/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.ts b/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.ts index 995d2ef2cb..f89d0c565d 100644 --- a/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.ts +++ b/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.ts @@ -1,6 +1,6 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { FormArray, FormControl } from '@angular/forms'; -import { AdjustmentSource, ProductWithVariants, TaxCategory } from 'shared/generated-types'; +import { ProductWithVariants, TaxCategory } from 'shared/generated-types'; @Component({ selector: 'vdr-product-variants-list', diff --git a/admin-ui/src/app/data/definitions/adjustment-source-definitions.ts b/admin-ui/src/app/data/definitions/adjustment-source-definitions.ts deleted file mode 100644 index a435cc4a96..0000000000 --- a/admin-ui/src/app/data/definitions/adjustment-source-definitions.ts +++ /dev/null @@ -1,85 +0,0 @@ -import gql from 'graphql-tag'; - -export const ADJUSTMENT_OPERATION_FRAGMENT = gql` - fragment AdjustmentOperation on AdjustmentOperation { - args { - name - type - value - } - code - description - type - } -`; - -export const ADJUSTMENT_SOURCE_FRAGMENT = gql` - fragment AdjustmentSource on AdjustmentSource { - id - createdAt - updatedAt - name - type - enabled - conditions { - ...AdjustmentOperation - } - actions { - ...AdjustmentOperation - } - } - ${ADJUSTMENT_OPERATION_FRAGMENT} -`; - -export const GET_ADJUSTMENT_SOURCE_LIST = gql` - query GetAdjustmentSourceList($type: AdjustmentType!, $options: AdjustmentSourceListOptions) { - adjustmentSources(type: $type, options: $options) { - items { - ...AdjustmentSource - } - totalItems - } - } - ${ADJUSTMENT_SOURCE_FRAGMENT} -`; - -export const GET_ADJUSTMENT_SOURCE = gql` - query GetAdjustmentSource($id: ID!) { - adjustmentSource(id: $id) { - ...AdjustmentSource - } - } - ${ADJUSTMENT_SOURCE_FRAGMENT} -`; - -export const GET_ADJUSTMENT_OPERATIONS = gql` - query GetAdjustmentOperations($type: AdjustmentType!) { - adjustmentOperations(type: $type) { - actions { - ...AdjustmentOperation - } - conditions { - ...AdjustmentOperation - } - } - } - ${ADJUSTMENT_OPERATION_FRAGMENT} -`; - -export const CREATE_ADJUSTMENT_SOURCE = gql` - mutation CreateAdjustmentSource($input: CreateAdjustmentSourceInput!) { - createAdjustmentSource(input: $input) { - ...AdjustmentSource - } - } - ${ADJUSTMENT_SOURCE_FRAGMENT} -`; - -export const UPDATE_ADJUSTMENT_SOURCE = gql` - mutation UpdateAdjustmentSource($input: UpdateAdjustmentSourceInput!) { - updateAdjustmentSource(input: $input) { - ...AdjustmentSource - } - } - ${ADJUSTMENT_SOURCE_FRAGMENT} -`; diff --git a/admin-ui/src/app/data/definitions/promotion-definitions.ts b/admin-ui/src/app/data/definitions/promotion-definitions.ts new file mode 100644 index 0000000000..31c4577bc4 --- /dev/null +++ b/admin-ui/src/app/data/definitions/promotion-definitions.ts @@ -0,0 +1,83 @@ +import gql from 'graphql-tag'; + +export const ADJUSTMENT_OPERATION_FRAGMENT = gql` + fragment AdjustmentOperation on AdjustmentOperation { + args { + name + type + value + } + code + description + } +`; + +export const PROMOTION_FRAGMENT = gql` + fragment Promotion on Promotion { + id + createdAt + updatedAt + name + enabled + conditions { + ...AdjustmentOperation + } + actions { + ...AdjustmentOperation + } + } + ${ADJUSTMENT_OPERATION_FRAGMENT} +`; + +export const GET_PROMOTION_LIST = gql` + query GetPromotionList($options: PromotionListOptions) { + promotions(options: $options) { + items { + ...Promotion + } + totalItems + } + } + ${PROMOTION_FRAGMENT} +`; + +export const GET_PROMOTION = gql` + query GetPromotion($id: ID!) { + promotion(id: $id) { + ...Promotion + } + } + ${PROMOTION_FRAGMENT} +`; + +export const GET_ADJUSTMENT_OPERATIONS = gql` + query GetAdjustmentOperations { + adjustmentOperations { + actions { + ...AdjustmentOperation + } + conditions { + ...AdjustmentOperation + } + } + } + ${ADJUSTMENT_OPERATION_FRAGMENT} +`; + +export const CREATE_PROMOTION = gql` + mutation CreatePromotion($input: CreatePromotionInput!) { + createPromotion(input: $input) { + ...Promotion + } + } + ${PROMOTION_FRAGMENT} +`; + +export const UPDATE_PROMOTION = gql` + mutation UpdatePromotion($input: UpdatePromotionInput!) { + updatePromotion(input: $input) { + ...Promotion + } + } + ${PROMOTION_FRAGMENT} +`; diff --git a/admin-ui/src/app/data/providers/adjustment-source-data.service.ts b/admin-ui/src/app/data/providers/adjustment-source-data.service.ts deleted file mode 100644 index f60bbd3070..0000000000 --- a/admin-ui/src/app/data/providers/adjustment-source-data.service.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { - AdjustmentType, - CreateAdjustmentSource, - CreateAdjustmentSourceInput, - GetAdjustmentOperations, - GetAdjustmentSource, - GetAdjustmentSourceList, - UpdateAdjustmentSource, - UpdateAdjustmentSourceInput, -} from 'shared/generated-types'; - -import { - CREATE_ADJUSTMENT_SOURCE, - GET_ADJUSTMENT_OPERATIONS, - GET_ADJUSTMENT_SOURCE, - GET_ADJUSTMENT_SOURCE_LIST, - UPDATE_ADJUSTMENT_SOURCE, -} from '../definitions/adjustment-source-definitions'; - -import { BaseDataService } from './base-data.service'; - -export class AdjustmentSourceDataService { - constructor(private baseDataService: BaseDataService) {} - - getPromotions(take: number = 10, skip: number = 0) { - return this.getAdjustmentSourceList(AdjustmentType.PROMOTION, take, skip); - } - - getPromotion(id: string) { - return this.getAdjustmentSource(AdjustmentType.PROMOTION, id); - } - - getAdjustmentOperations(type: AdjustmentType) { - return this.baseDataService.query( - GET_ADJUSTMENT_OPERATIONS, - { - type, - }, - ); - } - - createPromotion(input: CreateAdjustmentSourceInput) { - return this.createAdjustmentSource(input); - } - - updatePromotion(input: UpdateAdjustmentSourceInput) { - return this.updateAdjustmentSource(input); - } - - private getAdjustmentSourceList(type: AdjustmentType, take: number, skip: number) { - return this.baseDataService.query( - GET_ADJUSTMENT_SOURCE_LIST, - { - type, - options: { - take, - skip, - }, - }, - ); - } - - private getAdjustmentSource(type: AdjustmentType, id: string) { - return this.baseDataService.query( - GET_ADJUSTMENT_SOURCE, - { - id, - }, - ); - } - - private createAdjustmentSource(input: CreateAdjustmentSourceInput) { - return this.baseDataService.mutate( - CREATE_ADJUSTMENT_SOURCE, - { - input, - }, - ); - } - - private updateAdjustmentSource(input: UpdateAdjustmentSourceInput) { - return this.baseDataService.mutate( - UPDATE_ADJUSTMENT_SOURCE, - { - input, - }, - ); - } -} diff --git a/admin-ui/src/app/data/providers/data.service.mock.ts b/admin-ui/src/app/data/providers/data.service.mock.ts index f03c9f12c8..8790bdce1e 100644 --- a/admin-ui/src/app/data/providers/data.service.mock.ts +++ b/admin-ui/src/app/data/providers/data.service.mock.ts @@ -30,7 +30,7 @@ export function spyObservable(name: string, returnValue: any = {}): jasmine.Spy } export class MockDataService implements DataServiceMock { - adjustmentSource = { + promotion = { getPromotions: spyQueryResult('getPromotions'), getPromotion: spyQueryResult('getPromotion'), getAdjustmentOperations: spyQueryResult('getAdjustmentOperations'), diff --git a/admin-ui/src/app/data/providers/data.service.ts b/admin-ui/src/app/data/providers/data.service.ts index 03fa68af34..7870bd5ad0 100644 --- a/admin-ui/src/app/data/providers/data.service.ts +++ b/admin-ui/src/app/data/providers/data.service.ts @@ -1,6 +1,5 @@ import { Injectable } from '@angular/core'; -import { AdjustmentSourceDataService } from './adjustment-source-data.service'; import { AdministratorDataService } from './administrator-data.service'; import { AuthDataService } from './auth-data.service'; import { BaseDataService } from './base-data.service'; @@ -8,11 +7,12 @@ import { ClientDataService } from './client-data.service'; import { FacetDataService } from './facet-data.service'; import { OrderDataService } from './order-data.service'; import { ProductDataService } from './product-data.service'; +import { PromotionDataService } from './promotion-data.service'; import { SettingsDataService } from './settings-data.service'; @Injectable() export class DataService { - adjustmentSource: AdjustmentSourceDataService; + promotion: PromotionDataService; administrator: AdministratorDataService; auth: AuthDataService; product: ProductDataService; @@ -22,7 +22,7 @@ export class DataService { settings: SettingsDataService; constructor(baseDataService: BaseDataService) { - this.adjustmentSource = new AdjustmentSourceDataService(baseDataService); + this.promotion = new PromotionDataService(baseDataService); this.administrator = new AdministratorDataService(baseDataService); this.auth = new AuthDataService(baseDataService); this.product = new ProductDataService(baseDataService); diff --git a/admin-ui/src/app/data/providers/promotion-data.service.ts b/admin-ui/src/app/data/providers/promotion-data.service.ts new file mode 100644 index 0000000000..5677e4c541 --- /dev/null +++ b/admin-ui/src/app/data/providers/promotion-data.service.ts @@ -0,0 +1,63 @@ +import { + CreatePromotion, + CreatePromotionInput, + GetAdjustmentOperations, + GetPromotion, + GetPromotionList, + UpdatePromotion, + UpdatePromotionInput, +} from 'shared/generated-types'; + +import { + CREATE_PROMOTION, + GET_ADJUSTMENT_OPERATIONS, + GET_PROMOTION, + GET_PROMOTION_LIST, + UPDATE_PROMOTION, +} from '../definitions/promotion-definitions'; + +import { BaseDataService } from './base-data.service'; + +export class PromotionDataService { + constructor(private baseDataService: BaseDataService) {} + + getPromotions(take: number = 10, skip: number = 0) { + return this.baseDataService.query( + GET_PROMOTION_LIST, + { + options: { + take, + skip, + }, + }, + ); + } + + getPromotion(id: string) { + return this.baseDataService.query(GET_PROMOTION, { + id, + }); + } + + getAdjustmentOperations() { + return this.baseDataService.query(GET_ADJUSTMENT_OPERATIONS); + } + + createPromotion(input: CreatePromotionInput) { + return this.baseDataService.mutate( + CREATE_PROMOTION, + { + input, + }, + ); + } + + updatePromotion(input: UpdatePromotionInput) { + return this.baseDataService.mutate( + UPDATE_PROMOTION, + { + input, + }, + ); + } +} diff --git a/admin-ui/src/app/marketing/components/promotion-detail/promotion-detail.component.ts b/admin-ui/src/app/marketing/components/promotion-detail/promotion-detail.component.ts index fb26b30fde..3d988660d0 100644 --- a/admin-ui/src/app/marketing/components/promotion-detail/promotion-detail.component.ts +++ b/admin-ui/src/app/marketing/components/promotion-detail/promotion-detail.component.ts @@ -6,11 +6,10 @@ import { mergeMap, take } from 'rxjs/operators'; import { AdjustmentOperation, AdjustmentOperationInput, - AdjustmentSource, - AdjustmentType, - CreateAdjustmentSourceInput, + CreatePromotionInput, LanguageCode, - UpdateAdjustmentSourceInput, + Promotion, + UpdatePromotionInput, } from 'shared/generated-types'; import { BaseDetailComponent } from '../../../common/base-detail.component'; @@ -25,9 +24,9 @@ import { ServerConfigService } from '../../../data/server-config'; styleUrls: ['./promotion-detail.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) -export class PromotionDetailComponent extends BaseDetailComponent +export class PromotionDetailComponent extends BaseDetailComponent implements OnInit, OnDestroy { - promotion$: Observable; + promotion$: Observable; promotionForm: FormGroup; conditions: AdjustmentOperation[] = []; actions: AdjustmentOperation[] = []; @@ -55,12 +54,10 @@ export class PromotionDetailComponent extends BaseDetailComponent { - this.allActions = data.adjustmentOperations.actions; - this.allConditions = data.adjustmentOperations.conditions; - }); + this.dataService.promotion.getAdjustmentOperations().single$.subscribe(data => { + this.allActions = data.adjustmentOperations.actions; + this.allConditions = data.adjustmentOperations.conditions; + }); } ngOnDestroy() { @@ -113,19 +110,18 @@ export class PromotionDetailComponent extends BaseDetailComponent { this.notificationService.success(_('common.notify-create-success'), { entity: 'Promotion' }); this.promotionForm.markAsPristine(); this.changeDetector.markForCheck(); - this.router.navigate(['../', data.createAdjustmentSource.id], { relativeTo: this.route }); + this.router.navigate(['../', data.createPromotion.id], { relativeTo: this.route }); }, err => { this.notificationService.error(_('common.notify-create-error'), { @@ -144,13 +140,13 @@ export class PromotionDetailComponent extends BaseDetailComponent { - const input: UpdateAdjustmentSourceInput = { + const input: UpdatePromotionInput = { id: promotion.id, name: formValue.name, conditions: this.mapOperationsToInputs(this.conditions, formValue.conditions), actions: this.mapOperationsToInputs(this.actions, formValue.actions), }; - return this.dataService.adjustmentSource.updatePromotion(input); + return this.dataService.promotion.updatePromotion(input); }), ) .subscribe( @@ -172,7 +168,7 @@ export class PromotionDetailComponent extends BaseDetailComponent { this.addOperation('conditions', o); diff --git a/admin-ui/src/app/marketing/components/promotion-list/promotion-list.component.ts b/admin-ui/src/app/marketing/components/promotion-list/promotion-list.component.ts index 3d526f09b7..ca9c2e2d8c 100644 --- a/admin-ui/src/app/marketing/components/promotion-list/promotion-list.component.ts +++ b/admin-ui/src/app/marketing/components/promotion-list/promotion-list.component.ts @@ -1,6 +1,6 @@ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; -import { GetAdjustmentSourceList } from 'shared/generated-types'; +import { GetPromotionList } from 'shared/generated-types'; import { BaseListComponent } from '../../../common/base-list.component'; import { DataService } from '../../../data/providers/data.service'; @@ -12,14 +12,14 @@ import { DataService } from '../../../data/providers/data.service'; changeDetection: ChangeDetectionStrategy.OnPush, }) export class PromotionListComponent extends BaseListComponent< - GetAdjustmentSourceList.Query, - GetAdjustmentSourceList.Items + GetPromotionList.Query, + GetPromotionList.Items > { constructor(private dataService: DataService, router: Router, route: ActivatedRoute) { super(router, route); super.setQueryFn( - (...args: any[]) => this.dataService.adjustmentSource.getPromotions(...args), - data => data.adjustmentSources, + (...args: any[]) => this.dataService.promotion.getPromotions(...args), + data => data.promotions, ); } } diff --git a/admin-ui/src/app/marketing/marketing.routes.ts b/admin-ui/src/app/marketing/marketing.routes.ts index 62685af655..487da855cf 100644 --- a/admin-ui/src/app/marketing/marketing.routes.ts +++ b/admin-ui/src/app/marketing/marketing.routes.ts @@ -1,5 +1,5 @@ import { Route } from '@angular/router'; -import { AdjustmentSource } from 'shared/generated-types'; +import { Promotion } from 'shared/generated-types'; import { createResolveData } from '../common/base-entity-resolver'; import { detailBreadcrumb } from '../common/detail-breadcrumb'; @@ -28,7 +28,7 @@ export const marketingRoutes: Route[] = [ ]; export function promotionBreadcrumb(data: any, params: any) { - return detailBreadcrumb({ + return detailBreadcrumb({ entity: data.entity, id: params.id, breadcrumbKey: 'breadcrumb.promotions', diff --git a/admin-ui/src/app/marketing/providers/routing/promotion-resolver.ts b/admin-ui/src/app/marketing/providers/routing/promotion-resolver.ts index a7a78e024f..d67b2c7c35 100644 --- a/admin-ui/src/app/marketing/providers/routing/promotion-resolver.ts +++ b/admin-ui/src/app/marketing/providers/routing/promotion-resolver.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { AdjustmentSource, AdjustmentType } from 'shared/generated-types'; +import { Promotion } from 'shared/generated-types'; import { BaseEntityResolver } from '../../../common/base-entity-resolver'; import { DataService } from '../../../data/providers/data.service'; @@ -8,21 +8,20 @@ import { DataService } from '../../../data/providers/data.service'; * Resolves the id from the path into a Customer entity. */ @Injectable() -export class PromotionResolver extends BaseEntityResolver { +export class PromotionResolver extends BaseEntityResolver { constructor(private dataService: DataService) { super( { - __typename: 'AdjustmentSource', + __typename: 'Promotion', id: '', createdAt: '', updatedAt: '', - type: AdjustmentType.PROMOTION, name: '', enabled: false, conditions: [], actions: [], }, - id => this.dataService.adjustmentSource.getPromotion(id).mapStream(data => data.adjustmentSource), + id => this.dataService.promotion.getPromotion(id).mapStream(data => data.promotion), ); } } diff --git a/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.html b/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.html index b52407feda..2a6c5ef4b2 100644 --- a/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.html +++ b/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.html @@ -20,10 +20,5 @@ - - - - - diff --git a/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts b/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts index dbdcde57ec..0acf7283c8 100644 --- a/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts +++ b/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts @@ -3,14 +3,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { ActivatedRoute, Router } from '@angular/router'; import { Observable } from 'rxjs'; import { mergeMap, take } from 'rxjs/operators'; -import { - AdjustmentOperation, - AdjustmentSource, - AdjustmentType, - CreateAdjustmentSourceInput, - LanguageCode, - UpdateAdjustmentSourceInput, -} from 'shared/generated-types'; +import { AdjustmentOperation, LanguageCode, TaxCategory } from 'shared/generated-types'; import { BaseDetailComponent } from '../../../common/base-detail.component'; import { _ } from '../../../core/providers/i18n/mark-for-extraction'; @@ -24,9 +17,9 @@ import { ServerConfigService } from '../../../data/server-config'; styleUrls: ['./tax-category-detail.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) -export class TaxCategoryDetailComponent extends BaseDetailComponent +export class TaxCategoryDetailComponent extends BaseDetailComponent implements OnInit, OnDestroy { - taxCategory$: Observable; + taxCategory$: Observable; taxCategoryForm: FormGroup; private taxCondition: AdjustmentOperation; @@ -51,12 +44,6 @@ export class TaxCategoryDetailComponent extends BaseDetailComponent { - this.taxCondition = data.adjustmentOperations.conditions[0]; - this.taxAction = data.adjustmentOperations.actions[0]; - }); } ngOnDestroy() { @@ -125,11 +112,9 @@ export class TaxCategoryDetailComponent extends BaseDetailComponent {{ 'common.ID' | translate }} {{ 'common.name' | translate }} - {{ 'settings.tax-rate' | translate }} {{ taxCategory.id }} {{ taxCategory.name }} - {{ taxCategory.actions[0].args[0].value }}% { +export class TaxCategoryResolver extends BaseEntityResolver { constructor(private dataService: DataService) { super( { - __typename: 'AdjustmentSource', + __typename: 'TaxCategory', id: '', - createdAt: '', - updatedAt: '', - type: AdjustmentType.TAX, name: '', - enabled: false, - conditions: [], - actions: [], }, - id => this.dataService.adjustmentSource.getPromotion(id).mapStream(data => data.adjustmentSource), + id => this.dataService.settings.getTaxCategory(id).mapStream(data => data.taxCategory), ); } } diff --git a/admin-ui/src/app/settings/settings.routes.ts b/admin-ui/src/app/settings/settings.routes.ts index 76a8e10995..a9f43a9061 100644 --- a/admin-ui/src/app/settings/settings.routes.ts +++ b/admin-ui/src/app/settings/settings.routes.ts @@ -1,5 +1,5 @@ import { Route } from '@angular/router'; -import { AdjustmentSource, Administrator, Role } from 'shared/generated-types'; +import { Administrator, Country, GetCountry, Role, TaxCategory } from 'shared/generated-types'; import { createResolveData } from '../common/base-entity-resolver'; import { detailBreadcrumb } from '../common/detail-breadcrumb'; @@ -98,7 +98,7 @@ export function roleBreadcrumb(data: any, params: any) { } export function taxCategoryBreadcrumb(data: any, params: any) { - return detailBreadcrumb({ + return detailBreadcrumb({ entity: data.entity, id: params.id, breadcrumbKey: 'breadcrumb.tax-categories', @@ -108,7 +108,7 @@ export function taxCategoryBreadcrumb(data: any, params: any) { } export function countryBreadcrumb(data: any, params: any) { - return detailBreadcrumb({ + return detailBreadcrumb({ entity: data.entity, id: params.id, breadcrumbKey: 'breadcrumb.countries', diff --git a/schema.json b/schema.json index dab31bad98..70d5ec4f93 100644 --- a/schema.json +++ b/schema.json @@ -1 +1 @@ -{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"adjustmentSource","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":"AdjustmentSource","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"adjustmentSources","description":null,"args":[{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"defaultValue":null},{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdjustmentSourceListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentSourceList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustmentOperations","description":null,"args":[{"name":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":null,"args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"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":"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":"OBJECT","name":"AdjustmentSource","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"AdjustmentType","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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdjustmentSource","ofType":null},{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","description":null,"fields":[{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","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":"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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"AdjustmentSourceListOptions","description":null,"fields":null,"inputFields":[{"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":"AdjustmentSourceSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdjustmentSourceFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentSourceSortParameter","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":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentSourceFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentSourceList","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":"AdjustmentSource","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdjustmentSourceList","ofType":null},{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null}]},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"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":"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":"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":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"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":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":"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":"totalPrice","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":"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":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","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":"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"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":"Adjustment","description":null,"fields":[{"name":"adjustmentSourceId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","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":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"fields":[{"name":"createAdjustmentSource","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAdjustmentSourceInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentSource","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateAdjustmentSource","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAdjustmentSourceInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentSource","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":null,"args":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"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 new 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":"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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdjustmentSourceInput","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":"type","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdjustmentSourceInput","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":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":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"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":"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}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"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":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} +{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":null,"args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"adjustmentOperations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","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":"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":"zones","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AdministratorSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","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":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"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":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"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":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"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":"Adjustment","description":null,"fields":[{"name":"promotionId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"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":"PromotionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":null,"args":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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 new 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":"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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"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":"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":"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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateRoleInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"permissions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"defaultValue":null}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"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":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} diff --git a/server/e2e/adjustment-source.e2e-spec.ts b/server/e2e/adjustment-source.e2e-spec.ts index ebaff19314..4fbe1399d8 100644 --- a/server/e2e/adjustment-source.e2e-spec.ts +++ b/server/e2e/adjustment-source.e2e-spec.ts @@ -15,7 +15,7 @@ import { GET_ADJUSTMENT_SOURCE, GET_ADJUSTMENT_SOURCE_LIST, UPDATE_ADJUSTMENT_SOURCE, -} from '../../admin-ui/src/app/data/definitions/adjustment-source-definitions'; +} from '../../admin-ui/src/app/data/definitions/promotion-definitions'; import { AdjustmentActionDefinition, AdjustmentConditionDefinition, @@ -62,7 +62,7 @@ describe('AdjustmentSource resolver', () => { await server.destroy(); }); - it('createAdjustmentSource promotion', async () => { + it('createPromotion promotion', async () => { const result = await client.query( CREATE_ADJUSTMENT_SOURCE, { @@ -89,7 +89,7 @@ describe('AdjustmentSource resolver', () => { expect(pick(promoAdjustmentSource, snapshotProps)).toMatchSnapshot(); }); - it('createAdjustmentSource tax', async () => { + it('createPromotion tax', async () => { const result = await client.query( CREATE_ADJUSTMENT_SOURCE, { @@ -115,7 +115,7 @@ describe('AdjustmentSource resolver', () => { expect(pick(result.createAdjustmentSource, snapshotProps)).toMatchSnapshot(); }); - it('createAdjustmentSource shipping', async () => { + it('createPromotion shipping', async () => { const result = await client.query( CREATE_ADJUSTMENT_SOURCE, { @@ -141,7 +141,7 @@ describe('AdjustmentSource resolver', () => { expect(pick(result.createAdjustmentSource, snapshotProps)).toMatchSnapshot(); }); - it('updateAdjustmentSource', async () => { + it('updatePromotion', async () => { const result = await client.query( UPDATE_ADJUSTMENT_SOURCE, { @@ -163,7 +163,7 @@ describe('AdjustmentSource resolver', () => { expect(pick(result.updateAdjustmentSource, snapshotProps)).toMatchSnapshot(); }); - it('adjustmentSource', async () => { + it('promotion', async () => { const result = await client.query( GET_ADJUSTMENT_SOURCE, { @@ -171,7 +171,7 @@ describe('AdjustmentSource resolver', () => { }, ); - expect(result.adjustmentSource!.name).toBe(promoAdjustmentSource.name); + expect(result.promotion!.name).toBe(promoAdjustmentSource.name); }); it('adjustmentSources, type = promotion', async () => { diff --git a/server/e2e/order.e2e-spec.ts b/server/e2e/order.e2e-spec.ts index 917993568b..6b29653f21 100644 --- a/server/e2e/order.e2e-spec.ts +++ b/server/e2e/order.e2e-spec.ts @@ -1,7 +1,7 @@ import gql from 'graphql-tag'; import { Customer } from '../src/entity/customer/customer.entity'; -import { OrderItem } from '../src/entity/order-item/order-item.entity'; +import { OrderLine } from '../src/entity/order-line/order-line.entity'; import { TestClient } from './test-client'; import { TestServer } from './test-server'; @@ -78,7 +78,7 @@ describe('Orders', () => { } }); - it('addItemToOrder() with an existing productVariantId adds quantity to the existing OrderItem', async () => { + it('addItemToOrder() with an existing productVariantId adds quantity to the existing OrderLine', async () => { const result = await client.query(ADD_ITEM_TO_ORDER, { productVariantId: 'T_1', quantity: 2, @@ -184,7 +184,7 @@ describe('Orders', () => { firstOrderItemId = result.addItemToOrder.items[0].id; }); - it('addItemToOrder() with an existing productVariantId adds quantity to the existing OrderItem', async () => { + it('addItemToOrder() with an existing productVariantId adds quantity to the existing OrderLine', async () => { const result = await client.query(ADD_ITEM_TO_ORDER, { productVariantId: 'T_1', quantity: 2, diff --git a/server/mock-data/mock-data.service.ts b/server/mock-data/mock-data.service.ts index 9454f671bc..f9a1ef0e6c 100644 --- a/server/mock-data/mock-data.service.ts +++ b/server/mock-data/mock-data.service.ts @@ -4,12 +4,9 @@ import gql from 'graphql-tag'; import * as path from 'path'; import { AddOptionGroupToProduct, - AdjustmentSource, - AdjustmentType, Asset, Country, CreateAddressInput, - CreateAdjustmentSource, CreateCountry, CreateCustomerInput, CreateFacet, @@ -24,7 +21,6 @@ import { UpdateProductVariants, } from 'shared/generated-types'; -import { CREATE_ADJUSTMENT_SOURCE } from '../../admin-ui/src/app/data/definitions/adjustment-source-definitions'; import { CREATE_FACET } from '../../admin-ui/src/app/data/definitions/facet-definitions'; import { ADD_OPTION_GROUP_TO_PRODUCT, diff --git a/server/src/api/api.module.ts b/server/src/api/api.module.ts index ed2057399b..927c1e22b5 100644 --- a/server/src/api/api.module.ts +++ b/server/src/api/api.module.ts @@ -12,7 +12,6 @@ import { AuthGuard } from './common/auth-guard'; import { GraphqlConfigService } from './common/graphql-config.service'; import { IdInterceptor } from './common/id-interceptor'; import { RequestContextService } from './common/request-context.service'; -import { AdjustmentSourceResolver } from './resolvers/adjustment-source.resolver'; import { AdministratorResolver } from './resolvers/administrator.resolver'; import { AssetResolver } from './resolvers/asset.resolver'; import { AuthResolver } from './resolvers/auth.resolver'; @@ -25,12 +24,13 @@ import { FacetResolver } from './resolvers/facet.resolver'; import { OrderResolver } from './resolvers/order.resolver'; import { ProductOptionResolver } from './resolvers/product-option.resolver'; import { ProductResolver } from './resolvers/product.resolver'; +import { PromotionResolver } from './resolvers/promotion.resolver'; import { RoleResolver } from './resolvers/role.resolver'; import { TaxCategoryResolver } from './resolvers/tax-category.resolver'; import { ZoneResolver } from './resolvers/zone.resolver'; const exportedProviders = [ - AdjustmentSourceResolver, + PromotionResolver, AdministratorResolver, AuthResolver, AssetResolver, diff --git a/server/src/api/resolvers/adjustment-source.resolver.ts b/server/src/api/resolvers/adjustment-source.resolver.ts deleted file mode 100644 index 5f17a0646b..0000000000 --- a/server/src/api/resolvers/adjustment-source.resolver.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Args, Mutation, Query, Resolver } from '@nestjs/graphql'; -import { - AdjustmentOperationsQueryArgs, - AdjustmentSourceQueryArgs, - AdjustmentSourcesQueryArgs, - CreateAdjustmentSourceMutationArgs, - Permission, - UpdateAdjustmentSourceMutationArgs, -} from 'shared/generated-types'; -import { PaginatedList } from 'shared/shared-types'; - -import { AdjustmentSource } from '../../entity/adjustment-source/adjustment-source.entity'; -import { Order } from '../../entity/order/order.entity'; -import { AdjustmentSourceService } from '../../service/providers/adjustment-source.service'; -import { Allow } from '../common/auth-guard'; -import { RequestContext } from '../common/request-context'; -import { Ctx } from '../common/request-context.decorator'; - -@Resolver('Order') -export class AdjustmentSourceResolver { - constructor(private adjustmentSourceService: AdjustmentSourceService) {} - - @Query() - @Allow(Permission.ReadAdjustmentSource) - adjustmentSources( - @Ctx() ctx: RequestContext, - @Args() args: AdjustmentSourcesQueryArgs, - ): Promise> { - if (!args.options) { - args.options = {}; - } - if (!args.options.filter) { - args.options.filter = {}; - } - args.options.filter.type = { - eq: args.type, - }; - return this.adjustmentSourceService.findAll(args.options || undefined); - } - - @Query() - @Allow(Permission.ReadAdjustmentSource) - adjustmentSource( - @Ctx() ctx: RequestContext, - @Args() args: AdjustmentSourceQueryArgs, - ): Promise { - return this.adjustmentSourceService.findOne(args.id); - } - - @Query() - @Allow(Permission.ReadAdjustmentSource) - adjustmentOperations(@Ctx() ctx: RequestContext, @Args() args: AdjustmentOperationsQueryArgs) { - return this.adjustmentSourceService.getAdjustmentOperations(args.type); - } - - @Mutation() - @Allow(Permission.CreateAdjustmentSource) - createAdjustmentSource( - @Ctx() ctx: RequestContext, - @Args() args: CreateAdjustmentSourceMutationArgs, - ): Promise { - return this.adjustmentSourceService.createAdjustmentSource(ctx, args.input); - } - - @Mutation() - @Allow(Permission.UpdateAdjustmentSource) - updateAdjustmentSource( - @Ctx() ctx: RequestContext, - @Args() args: UpdateAdjustmentSourceMutationArgs, - ): Promise { - return this.adjustmentSourceService.updateAdjustmentSource(ctx, args.input); - } -} diff --git a/server/src/api/resolvers/promotion.resolver.ts b/server/src/api/resolvers/promotion.resolver.ts new file mode 100644 index 0000000000..9ebe6a1552 --- /dev/null +++ b/server/src/api/resolvers/promotion.resolver.ts @@ -0,0 +1,59 @@ +import { Args, Mutation, Query, Resolver } from '@nestjs/graphql'; +import { + CreatePromotionMutationArgs, + Permission, + PromotionQueryArgs, + PromotionsQueryArgs, + UpdatePromotionMutationArgs, +} from 'shared/generated-types'; +import { PaginatedList } from 'shared/shared-types'; + +import { Promotion } from '../../entity/promotion/promotion.entity'; +import { PromotionService } from '../../service/providers/promotion.service'; +import { Allow } from '../common/auth-guard'; +import { RequestContext } from '../common/request-context'; +import { Ctx } from '../common/request-context.decorator'; + +@Resolver('Promotion') +export class PromotionResolver { + constructor(private promotionService: PromotionService) {} + + @Query() + @Allow(Permission.ReadSettings) + promotions( + @Ctx() ctx: RequestContext, + @Args() args: PromotionsQueryArgs, + ): Promise> { + return this.promotionService.findAll(args.options || undefined); + } + + @Query() + @Allow(Permission.ReadSettings) + promotion(@Ctx() ctx: RequestContext, @Args() args: PromotionQueryArgs): Promise { + return this.promotionService.findOne(args.id); + } + + @Query() + @Allow(Permission.ReadSettings) + adjustmentOperations(@Ctx() ctx: RequestContext) { + return this.promotionService.getAdjustmentOperations(); + } + + @Mutation() + @Allow(Permission.CreateSettings) + createPromotion( + @Ctx() ctx: RequestContext, + @Args() args: CreatePromotionMutationArgs, + ): Promise { + return this.promotionService.createPromotion(ctx, args.input); + } + + @Mutation() + @Allow(Permission.UpdateSettings) + updatePromotion( + @Ctx() ctx: RequestContext, + @Args() args: UpdatePromotionMutationArgs, + ): Promise { + return this.promotionService.updatePromotion(ctx, args.input); + } +} diff --git a/server/src/api/types/adjustment-source.api.graphql b/server/src/api/types/adjustment-source.api.graphql deleted file mode 100644 index 4593b4acf3..0000000000 --- a/server/src/api/types/adjustment-source.api.graphql +++ /dev/null @@ -1,41 +0,0 @@ -type Query { - adjustmentSource(id: ID!): AdjustmentSource - adjustmentSources(type: AdjustmentType!, options: AdjustmentSourceListOptions): AdjustmentSourceList! - adjustmentOperations(type: AdjustmentType!): AdjustmentOperations! -} - -type AdjustmentOperations { - conditions: [AdjustmentOperation!]! - actions: [AdjustmentOperation!]! -} - -type Mutation { - createAdjustmentSource(input: CreateAdjustmentSourceInput!): AdjustmentSource! - updateAdjustmentSource(input: UpdateAdjustmentSourceInput!): AdjustmentSource! -} - -type AdjustmentSourceList implements PaginatedList { - items: [AdjustmentSource!]! - totalItems: Int! -} - -input AdjustmentSourceListOptions { - take: Int - skip: Int - sort: AdjustmentSourceSortParameter - filter: AdjustmentSourceFilterParameter -} - -input AdjustmentSourceSortParameter { - id: SortOrder - createdAt: SortOrder - updatedAt: SortOrder - name: SortOrder -} - -input AdjustmentSourceFilterParameter { - name: StringOperators - createdAt: DateOperators - updatedAt: DateOperators - type: StringOperators -} diff --git a/server/src/api/types/promotion.api.graphql b/server/src/api/types/promotion.api.graphql new file mode 100644 index 0000000000..809974864c --- /dev/null +++ b/server/src/api/types/promotion.api.graphql @@ -0,0 +1,41 @@ +type Query { + promotion(id: ID!): Promotion + promotions(options: PromotionListOptions): PromotionList! + adjustmentOperations: AdjustmentOperations! +} + +type AdjustmentOperations { + conditions: [AdjustmentOperation!]! + actions: [AdjustmentOperation!]! +} + +type Mutation { + createPromotion(input: CreatePromotionInput!): Promotion! + updatePromotion(input: UpdatePromotionInput!): Promotion! +} + +type PromotionList implements PaginatedList { + items: [Promotion!]! + totalItems: Int! +} + +input PromotionListOptions { + take: Int + skip: Int + sort: PromotionSortParameter + filter: PromotionFilterParameter +} + +input PromotionSortParameter { + id: SortOrder + createdAt: SortOrder + updatedAt: SortOrder + name: SortOrder +} + +input PromotionFilterParameter { + name: StringOperators + createdAt: DateOperators + updatedAt: DateOperators + type: StringOperators +} diff --git a/server/src/common/calculated-decorator.ts b/server/src/common/calculated-decorator.ts new file mode 100644 index 0000000000..00fd9ebcd6 --- /dev/null +++ b/server/src/common/calculated-decorator.ts @@ -0,0 +1,18 @@ +export const CALCULATED_PROPERTIES = '__calculatedProperties__'; + +/** + * Used to define calculated entity getters. The decorator simply attaches an array of "calculated" + * property names to the entity's prototype. This array is then used by the {@link CalculatedPropertySubscriber} + * to transfer the getter function from the prototype to the entity instance. + */ +export function Calculated(): MethodDecorator { + return (target: object, propertyKey: string | symbol, descriptor: PropertyDescriptor) => { + if (target[CALCULATED_PROPERTIES]) { + if (!target[CALCULATED_PROPERTIES].includes(propertyKey)) { + target[CALCULATED_PROPERTIES].push(propertyKey); + } + } else { + target[CALCULATED_PROPERTIES] = [propertyKey]; + } + }; +} diff --git a/server/src/common/types/adjustment-source.ts b/server/src/common/types/adjustment-source.ts index db8519143c..c663149889 100644 --- a/server/src/common/types/adjustment-source.ts +++ b/server/src/common/types/adjustment-source.ts @@ -6,7 +6,7 @@ export interface AdjustmentSource { } /** - * When an AdjustmentSource is applied to an OrderItem or Order, an Adjustment is + * When an AdjustmentSource is applied to an OrderItem, an Adjustment is * generated based on the actions assigned to the AdjustmentSource. */ export interface Adjustment { diff --git a/server/src/common/types/common-types.graphql b/server/src/common/types/common-types.graphql index 07f0ace681..584a9742d0 100644 --- a/server/src/common/types/common-types.graphql +++ b/server/src/common/types/common-types.graphql @@ -3,6 +3,12 @@ scalar JSON scalar DateTime scalar Upload +type Adjustment { + promotionId: ID! + description: String! + amount: Int! +} + interface PaginatedList { items: [Node!]! totalItems: Int! diff --git a/server/src/config/adjustment/default-adjustment-actions.ts b/server/src/config/adjustment/default-adjustment-actions.ts index 4ce490e211..51c260ad23 100644 --- a/server/src/config/adjustment/default-adjustment-actions.ts +++ b/server/src/config/adjustment/default-adjustment-actions.ts @@ -1,9 +1,6 @@ -import { AdjustmentType } from 'shared/generated-types'; - import { AdjustmentActionDefinition } from './adjustment-types'; export const orderPercentageDiscount: AdjustmentActionDefinition = { - type: AdjustmentType.PROMOTION, code: 'order_percentage_discount', args: [{ name: 'discount', type: 'percentage' }], calculate(order, args) { @@ -13,11 +10,10 @@ export const orderPercentageDiscount: AdjustmentActionDefinition = { }; export const itemPercentageDiscount: AdjustmentActionDefinition = { - type: AdjustmentType.PROMOTION, code: 'item_percentage_discount', args: [{ name: 'discount', type: 'percentage' }], calculate(order, args) { - return order.items.map(item => ({ + return order.lines.map(item => ({ orderItemId: item.id, amount: -(item.totalPrice * args.discount) / 100, })); diff --git a/server/src/config/adjustment/default-adjustment-conditions.ts b/server/src/config/adjustment/default-adjustment-conditions.ts index cd5200ea95..1cb2df0b11 100644 --- a/server/src/config/adjustment/default-adjustment-conditions.ts +++ b/server/src/config/adjustment/default-adjustment-conditions.ts @@ -1,11 +1,8 @@ -import { AdjustmentType } from 'shared/generated-types'; - import { Order } from '../../entity/order/order.entity'; import { AdjustmentConditionDefinition } from './adjustment-types'; export const minimumOrderAmount: AdjustmentConditionDefinition = { - type: AdjustmentType.PROMOTION, code: 'minimum_order_amount', args: [{ name: 'amount', type: 'money' }], predicate(order: Order, args) { @@ -15,7 +12,6 @@ export const minimumOrderAmount: AdjustmentConditionDefinition = { }; export const dateRange: AdjustmentConditionDefinition = { - type: AdjustmentType.PROMOTION, code: 'date_range', args: [{ name: 'start', type: 'datetime' }, { name: 'end', type: 'datetime' }], predicate(order: Order, args) { @@ -26,11 +22,10 @@ export const dateRange: AdjustmentConditionDefinition = { }; export const atLeastNOfProduct: AdjustmentConditionDefinition = { - type: AdjustmentType.PROMOTION, code: 'at_least_n_of_product', args: [{ name: 'minimum', type: 'int' }], predicate(order: Order, args) { - return order.items.reduce((result, item) => { + return order.lines.reduce((result, item) => { return result || item.quantity >= args.minimum; }, false); }, diff --git a/server/src/config/adjustment/required-adjustment-actions.ts b/server/src/config/adjustment/required-adjustment-actions.ts index 923462a6c3..e4e52debc8 100644 --- a/server/src/config/adjustment/required-adjustment-actions.ts +++ b/server/src/config/adjustment/required-adjustment-actions.ts @@ -1,15 +1,12 @@ -import { AdjustmentType } from 'shared/generated-types'; - import { idsAreEqual } from '../../common/utils'; import { AdjustmentActionDefinition, TaxActionDefinition } from './adjustment-types'; export const taxAction: TaxActionDefinition = { - type: AdjustmentType.TAX, code: 'tax_action', args: [{ name: 'taxRate', type: 'percentage' }], calculate(order, args, context) { - return order.items + return order.lines .filter(item => idsAreEqual(item.taxCategoryId, context.taxCategoryId)) .map(item => ({ orderItemId: item.id, diff --git a/server/src/config/adjustment/required-adjustment-conditions.ts b/server/src/config/adjustment/required-adjustment-conditions.ts index 57f836013b..e0ed4c9725 100644 --- a/server/src/config/adjustment/required-adjustment-conditions.ts +++ b/server/src/config/adjustment/required-adjustment-conditions.ts @@ -1,11 +1,8 @@ -import { AdjustmentType } from 'shared/generated-types'; - import { Order } from '../../entity/order/order.entity'; import { AdjustmentConditionDefinition } from './adjustment-types'; export const taxCondition: AdjustmentConditionDefinition = { - type: AdjustmentType.TAX, code: 'tax_condition', args: [], predicate(order: Order, args) { diff --git a/server/src/entity/adjustment-source/adjustment-source.entity.ts b/server/src/entity/adjustment-source/adjustment-source.entity.ts deleted file mode 100644 index c677fd656a..0000000000 --- a/server/src/entity/adjustment-source/adjustment-source.entity.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { AdjustmentOperation, AdjustmentType } from 'shared/generated-types'; -import { DeepPartial, ID } from 'shared/shared-types'; -import { Column, Entity, JoinTable, ManyToMany } from 'typeorm'; - -import { ChannelAware } from '../../common/types/common-types'; -import { taxAction } from '../../config/adjustment/required-adjustment-actions'; -import { taxCondition } from '../../config/adjustment/required-adjustment-conditions'; -import { I18nError } from '../../i18n/i18n-error'; -import { VendureEntity } from '../base/base.entity'; -import { Channel } from '../channel/channel.entity'; - -@Entity() -export class AdjustmentSource extends VendureEntity implements ChannelAware { - constructor(input?: DeepPartial) { - super(input); - } - - @Column() name: string; - - @Column() enabled: boolean; - - @Column('varchar') type: AdjustmentType; - - @ManyToMany(type => Channel) - @JoinTable() - channels: Channel[]; - - @Column('simple-json') conditions: AdjustmentOperation[]; - - @Column('simple-json') actions: AdjustmentOperation[]; - - /** - * A shorthand method for getting the tax rate on a TAX type adjustment source. - */ - getTaxCategoryRate(): number { - if (this.type !== AdjustmentType.TAX) { - throw new I18nError(`error.getTaxCategoryRate-only-valid-for-tax-adjustment-sources`); - } - return Number(this.actions[0].args[0].value); - } - - /** - * Returns a new AdjustmentSource configured as a tax category. - */ - static createTaxCategory(taxRate: number, name: string, id?: ID): AdjustmentSource { - return new AdjustmentSource({ - id, - name, - type: AdjustmentType.TAX, - conditions: [ - { - code: taxCondition.code, - args: [], - }, - ], - actions: [ - { - code: taxAction.code, - args: [ - { - type: 'percentage', - name: 'taxRate', - value: taxRate.toString(), - }, - ], - }, - ], - }); - } -} diff --git a/server/src/entity/entities.ts b/server/src/entity/entities.ts index f258051e1c..f610f4d95c 100644 --- a/server/src/entity/entities.ts +++ b/server/src/entity/entities.ts @@ -1,5 +1,4 @@ import { Address } from './address/address.entity'; -import { AdjustmentSource } from './adjustment-source/adjustment-source.entity'; import { Administrator } from './administrator/administrator.entity'; import { Asset } from './asset/asset.entity'; import { Channel } from './channel/channel.entity'; @@ -11,6 +10,7 @@ import { FacetValue } from './facet-value/facet-value.entity'; import { FacetTranslation } from './facet/facet-translation.entity'; import { Facet } from './facet/facet.entity'; import { OrderItem } from './order-item/order-item.entity'; +import { OrderLine } from './order-line/order-line.entity'; import { Order } from './order/order.entity'; import { ProductOptionGroupTranslation } from './product-option-group/product-option-group-translation.entity'; import { ProductOptionGroup } from './product-option-group/product-option-group.entity'; @@ -49,6 +49,7 @@ export const coreEntitiesMap = { FacetValue, FacetValueTranslation, Order, + OrderLine, OrderItem, Product, ProductOption, diff --git a/server/src/entity/order-item/order-item.entity.ts b/server/src/entity/order-item/order-item.entity.ts index eb32921b65..7f2a20d701 100644 --- a/server/src/entity/order-item/order-item.entity.ts +++ b/server/src/entity/order-item/order-item.entity.ts @@ -1,11 +1,9 @@ -import { DeepPartial, ID } from 'shared/shared-types'; +import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, ManyToOne } from 'typeorm'; import { Adjustment } from '../../common/types/adjustment-source'; -import { Asset } from '../asset/asset.entity'; import { VendureEntity } from '../base/base.entity'; -import { Order } from '../order/order.entity'; -import { ProductVariant } from '../product-variant/product-variant.entity'; +import { OrderLine } from '../order-line/order-line.entity'; @Entity() export class OrderItem extends VendureEntity { @@ -13,32 +11,9 @@ export class OrderItem extends VendureEntity { super(input); } - @ManyToOne(type => ProductVariant) - productVariant: ProductVariant; + @ManyToOne(type => OrderLine, line => line.items) + line: OrderLine; - @Column('varchar') taxCategoryId: ID; - - @ManyToOne(type => Asset) - featuredAsset: Asset; - - /** - * Corresponds to the priceBeforeTax value of the associated ProductVariant. - */ - @Column() unitPriceBeforeTax: number; - - /** - * Corresponds to the price value of the associated ProductVariant. - */ - @Column() unitPrice: number; - - @Column() quantity: number; - - @Column() totalPriceBeforeAdjustment: number; - - @Column() totalPrice: number; - - @Column('simple-json') adjustments: Adjustment[]; - - @ManyToOne(type => Order, order => order.items) - order: Order; + /*@Column('simple-json') + pendingAdjustments: Adjustment[];*/ } diff --git a/server/src/entity/order-item/order-item.graphql b/server/src/entity/order-item/order-item.graphql index 961ee02081..c0cbc1bccc 100644 --- a/server/src/entity/order-item/order-item.graphql +++ b/server/src/entity/order-item/order-item.graphql @@ -2,11 +2,4 @@ type OrderItem implements Node { id: ID! createdAt: DateTime! updatedAt: DateTime! - productVariant: ProductVariant! - adjustments: [Adjustment!]! - featuredAsset: Asset - unitPrice: Int! - quantity: Int! - totalPrice: Int! - order: Order! } diff --git a/server/src/entity/order-line/order-line.entity.ts b/server/src/entity/order-line/order-line.entity.ts new file mode 100644 index 0000000000..1ff379c3b9 --- /dev/null +++ b/server/src/entity/order-line/order-line.entity.ts @@ -0,0 +1,43 @@ +import { DeepPartial, ID } from 'shared/shared-types'; +import { Column, Entity, ManyToOne, OneToMany } from 'typeorm'; + +import { Calculated } from '../../common/calculated-decorator'; +import { Adjustment } from '../../common/types/adjustment-source'; +import { Asset } from '../asset/asset.entity'; +import { VendureEntity } from '../base/base.entity'; +import { OrderItem } from '../order-item/order-item.entity'; +import { Order } from '../order/order.entity'; +import { ProductVariant } from '../product-variant/product-variant.entity'; + +@Entity() +export class OrderLine extends VendureEntity { + constructor(input?: DeepPartial) { + super(input); + } + + @ManyToOne(type => ProductVariant) + productVariant: ProductVariant; + + @Column('varchar') taxCategoryId: ID; + + @ManyToOne(type => Asset) + featuredAsset: Asset; + + @Column() unitPrice: number; + + @OneToMany(type => OrderItem, item => item.line) + items: OrderItem[]; + + @ManyToOne(type => Order, order => order.lines) + order: Order; + + @Calculated() + get quantity(): number { + return this.items ? this.items.length : 0; + } + + @Calculated() + get totalPrice(): number { + return this.unitPrice * this.quantity; + } +} diff --git a/server/src/entity/order-line/order-line.graphql b/server/src/entity/order-line/order-line.graphql new file mode 100644 index 0000000000..29fb7775d2 --- /dev/null +++ b/server/src/entity/order-line/order-line.graphql @@ -0,0 +1,12 @@ +type OrderLine implements Node { + id: ID! + createdAt: DateTime! + updatedAt: DateTime! + productVariant: ProductVariant! + featuredAsset: Asset + unitPrice: Int! + quantity: Int! + items: [OrderItem!]! + totalPrice: Int! + order: Order! +} diff --git a/server/src/entity/order/order.entity.ts b/server/src/entity/order/order.entity.ts index dcfd7202bf..c32f792a32 100644 --- a/server/src/entity/order/order.entity.ts +++ b/server/src/entity/order/order.entity.ts @@ -4,7 +4,7 @@ import { Column, Entity, ManyToOne, OneToMany } from 'typeorm'; import { Adjustment } from '../../common/types/adjustment-source'; import { VendureEntity } from '../base/base.entity'; import { Customer } from '../customer/customer.entity'; -import { OrderItem } from '../order-item/order-item.entity'; +import { OrderLine } from '../order-line/order-line.entity'; @Entity() export class Order extends VendureEntity { @@ -17,12 +17,12 @@ export class Order extends VendureEntity { @ManyToOne(type => Customer) customer: Customer; - @OneToMany(type => OrderItem, item => item.order) - items: OrderItem[]; - - @Column('simple-json') adjustments: Adjustment[]; - - @Column() totalPriceBeforeAdjustment: number; + @OneToMany(type => OrderLine, line => line.order) + lines: OrderLine[]; @Column() totalPrice: number; + + get adjustments() { + return []; + } } diff --git a/server/src/entity/order/order.graphql b/server/src/entity/order/order.graphql index 087f5f281a..dba3491f65 100644 --- a/server/src/entity/order/order.graphql +++ b/server/src/entity/order/order.graphql @@ -4,7 +4,7 @@ type Order implements Node { updatedAt: DateTime! code: String! customer: Customer - items: [OrderItem!]! - adjustments: [Adjustment!]! + lines: [OrderLine!]! + adjustments: [Adjustment!] totalPrice: Int! } diff --git a/server/src/entity/adjustment-source/adjustment-source.graphql b/server/src/entity/promotion/promotion.graphql similarity index 67% rename from server/src/entity/adjustment-source/adjustment-source.graphql rename to server/src/entity/promotion/promotion.graphql index e17c6b3030..3ed45a2ec5 100644 --- a/server/src/entity/adjustment-source/adjustment-source.graphql +++ b/server/src/entity/promotion/promotion.graphql @@ -1,25 +1,13 @@ -type AdjustmentSource implements Node { +type Promotion implements Node { id: ID! createdAt: DateTime! updatedAt: DateTime! name: String! - type: AdjustmentType! enabled: Boolean! conditions: [AdjustmentOperation!]! actions: [AdjustmentOperation!]! } -type Adjustment { - adjustmentSourceId: ID! - description: String! - amount: Int! -} - -enum AdjustmentType { - TAX - PROMOTION - SHIPPING -} type AdjustmentArg { name: String! @@ -28,7 +16,6 @@ type AdjustmentArg { } type AdjustmentOperation { - type: AdjustmentType! code: String! args: [AdjustmentArg!]! description: String! @@ -39,15 +26,14 @@ input AdjustmentOperationInput { arguments: [String!]! } -input CreateAdjustmentSourceInput { +input CreatePromotionInput { name: String! - type: AdjustmentType! enabled: Boolean! conditions: [AdjustmentOperationInput!]! actions: [AdjustmentOperationInput!]! } -input UpdateAdjustmentSourceInput { +input UpdatePromotionInput { id: ID! name: String enabled: Boolean diff --git a/server/src/entity/subscribers.ts b/server/src/entity/subscribers.ts index 551adb213e..cc426776a6 100644 --- a/server/src/entity/subscribers.ts +++ b/server/src/entity/subscribers.ts @@ -1,8 +1,40 @@ +import { EntitySubscriberInterface, EventSubscriber } from 'typeorm'; + +import { CALCULATED_PROPERTIES } from '../common/calculated-decorator'; + import { ProductVariantSubscriber } from './product-variant/product-variant.subscriber'; +@EventSubscriber() +export class CalculatedPropertySubscriber implements EntitySubscriberInterface { + /** + * For any entity properties decorated with @Calculated(), this subscriber transfers + * the getter from the entity prototype to the entity instance, so that it can be + * correctly enumerated and serialized in the API response. + */ + afterLoad(event: any) { + const prototype = Object.getPrototypeOf(event); + if (prototype.hasOwnProperty(CALCULATED_PROPERTIES)) { + for (const property of prototype[CALCULATED_PROPERTIES]) { + const getterDescriptor = Object.getOwnPropertyDescriptor(prototype, property); + const getFn = getterDescriptor && getterDescriptor.get; + if (getFn) { + const boundGetFn = getFn.bind(event); + Object.defineProperties(event, { + [property]: { + get: () => boundGetFn(), + enumerable: true, + }, + }); + } + } + } + } +} + /** * A map of the core TypeORM Subscribers. */ export const coreSubscribersMap = { ProductVariantSubscriber, + CalculatedPropertySubscriber, }; diff --git a/server/src/service/helpers/apply-adjustments.spec.ts b/server/src/service/helpers/apply-adjustments.spec-off.ts similarity index 88% rename from server/src/service/helpers/apply-adjustments.spec.ts rename to server/src/service/helpers/apply-adjustments.spec-off.ts index 9aa2ffeac6..659ef91360 100644 --- a/server/src/service/helpers/apply-adjustments.spec.ts +++ b/server/src/service/helpers/apply-adjustments.spec-off.ts @@ -7,7 +7,7 @@ import { import { taxAction } from '../../config/adjustment/required-adjustment-actions'; import { taxCondition } from '../../config/adjustment/required-adjustment-conditions'; import { AdjustmentSource } from '../../entity/adjustment-source/adjustment-source.entity'; -import { OrderItem } from '../../entity/order-item/order-item.entity'; +import { OrderLine } from '../../entity/order-line/order-line.entity'; import { Order } from '../../entity/order/order.entity'; import { applyAdjustments, orderAdjustmentSources } from './apply-adjustments'; @@ -92,8 +92,8 @@ describe('applyAdjustments()', () => { it('applies a promo source to an order', () => { const order = new Order({ code: 'ABC', - items: [ - new OrderItem({ + lines: [ + new OrderLine({ id: 'oi1', unitPrice: 300, quantity: 2, @@ -112,22 +112,22 @@ describe('applyAdjustments()', () => { amount: -60, }, ]); - expect(order.items[0].adjustments).toEqual([]); + expect(order.lines[0].adjustments).toEqual([]); expect(order.totalPrice).toBe(540); }); - it('applies a tax source to order items', () => { + it('applies a tax source to order lines', () => { const order = new Order({ code: 'ABC', - items: [ - new OrderItem({ + lines: [ + new OrderLine({ id: 'oi1', unitPrice: 300, quantity: 2, totalPriceBeforeAdjustment: 600, taxCategoryId: standardTaxSource.id, }), - new OrderItem({ + new OrderLine({ id: 'oi2', unitPrice: 450, quantity: 1, @@ -141,31 +141,31 @@ describe('applyAdjustments()', () => { applyAdjustments(order, [standardTaxSource, zeroTaxSource], conditions, actions); expect(order.adjustments).toEqual([]); - expect(order.items[0].adjustments).toEqual([ + expect(order.lines[0].adjustments).toEqual([ { adjustmentSourceId: standardTaxSource.id, description: standardTaxSource.name, amount: 120, }, ]); - expect(order.items[0].totalPrice).toBe(720); - expect(order.items[1].adjustments).toEqual([ + expect(order.lines[0].totalPrice).toBe(720); + expect(order.lines[1].adjustments).toEqual([ { adjustmentSourceId: zeroTaxSource.id, description: zeroTaxSource.name, amount: 0, }, ]); - expect(order.items[1].totalPrice).toBe(450); + expect(order.lines[1].totalPrice).toBe(450); expect(order.totalPrice).toBe(1170); }); - it('evaluates promo conditions on items after tax is applied', () => { + it('evaluates promo conditions on lines after tax is applied', () => { const order = new Order({ code: 'ABC', - items: [ - new OrderItem({ + lines: [ + new OrderLine({ id: 'oi1', unitPrice: 240, quantity: 2, @@ -178,14 +178,14 @@ describe('applyAdjustments()', () => { applyAdjustments(order, [promoSource1, standardTaxSource, zeroTaxSource], conditions, actions); - expect(order.items[0].adjustments).toEqual([ + expect(order.lines[0].adjustments).toEqual([ { adjustmentSourceId: standardTaxSource.id, description: standardTaxSource.name, amount: 96, }, ]); - expect(order.items[0].totalPrice).toBe(576); + expect(order.lines[0].totalPrice).toBe(576); expect(order.adjustments).toEqual([ { adjustmentSourceId: promoSource1.id, diff --git a/server/src/service/helpers/apply-adjustments.ts b/server/src/service/helpers/apply-adjustments.ts index 2544ec644b..08b6f0a694 100644 --- a/server/src/service/helpers/apply-adjustments.ts +++ b/server/src/service/helpers/apply-adjustments.ts @@ -31,7 +31,7 @@ export function applyAdjustments( for (const result of results) { if (result.orderItemId) { - const item = order.items.find(i => idsAreEqual(i.id, result.orderItemId)); + const item = order.lines.find(i => idsAreEqual(i.id, result.orderItemId)); if (item) { item.adjustments.push({ adjustmentSourceId: source.id, @@ -70,7 +70,7 @@ export function orderAdjustmentSources(sources: AdjustmentSource[]): AdjustmentS * to be an empty array. */ function initializeOrder(order: Order) { - for (const item of order.items) { + for (const item of order.lines) { item.totalPrice = item.totalPriceBeforeAdjustment; item.adjustments = []; } @@ -79,7 +79,7 @@ function initializeOrder(order: Order) { } function getTotalPriceOfItems(order: Order): number { - return order.items.reduce((total, item) => total + item.totalPrice, 0); + return order.lines.reduce((total, item) => total + item.totalPrice, 0); } function getTotalAdjustmentAmount(adjustments: Adjustment[]): number { diff --git a/server/src/service/providers/adjustment-applicator.service.ts b/server/src/service/providers/adjustment-applicator.service.ts index 40fed8b23d..a126e28136 100644 --- a/server/src/service/providers/adjustment-applicator.service.ts +++ b/server/src/service/providers/adjustment-applicator.service.ts @@ -4,27 +4,27 @@ import { Connection } from 'typeorm'; import { ConfigService } from '../../config/config.service'; import { Order } from '../../entity/order/order.entity'; -import { applyAdjustments } from '../helpers/apply-adjustments'; +// import { applyAdjustments } from '../helpers/apply-adjustments'; -import { AdjustmentSourceService } from './adjustment-source.service'; +import { PromotionService } from './promotion.service'; @Injectable() export class AdjustmentApplicatorService { constructor( @InjectConnection() private connection: Connection, private configService: ConfigService, - private adjustmentSourceService: AdjustmentSourceService, + private adjustmentSourceService: PromotionService, ) {} /** * Applies AdjustmentSources to an order, updating the adjustment arrays of the Order and * its OrderItems and updating the prices based on the adjustment actions. */ - async applyAdjustments(order: Order): Promise { - const sources = await this.adjustmentSourceService.getActiveAdjustmentSources(); + /*async applyAdjustments(order: Order): Promise { + const sources = await this.adjustmentSourceService.getActivePromotions(); const { adjustmentConditions, adjustmentActions } = this.configService; applyAdjustments(order, sources, adjustmentConditions, adjustmentActions); - await this.connection.manager.save(order.items); + await this.connection.manager.save(order.lines); return await this.connection.manager.save(order); - } + }*/ } diff --git a/server/src/service/providers/order.service.ts b/server/src/service/providers/order.service.ts index c65151a187..fefe526965 100644 --- a/server/src/service/providers/order.service.ts +++ b/server/src/service/providers/order.service.ts @@ -7,6 +7,7 @@ import { generatePublicId } from '../../common/generate-public-id'; import { ListQueryOptions } from '../../common/types/common-types'; import { assertFound, idsAreEqual } from '../../common/utils'; import { OrderItem } from '../../entity/order-item/order-item.entity'; +import { OrderLine } from '../../entity/order-line/order-line.entity'; import { Order } from '../../entity/order/order.entity'; import { ProductVariant } from '../../entity/product-variant/product-variant.entity'; import { I18nError } from '../../i18n/i18n-error'; @@ -24,7 +25,7 @@ export class OrderService { ) {} findAll(ctx: RequestContext, options?: ListQueryOptions): Promise> { - return buildListQuery(this.connection, Order, options, ['items', 'items.productVariant', 'customer']) + return buildListQuery(this.connection, Order, options, ['lines', 'lines.productVariant', 'customer']) .getManyAndCount() .then(([items, totalItems]) => { return { @@ -36,10 +37,10 @@ export class OrderService { async findOne(ctx: RequestContext, orderId: ID): Promise { const order = await this.connection.getRepository(Order).findOne(orderId, { - relations: ['items', 'items.productVariant', 'items.featuredAsset'], + relations: ['lines', 'lines.productVariant', 'lines.featuredAsset', 'lines.items'], }); if (order) { - order.items.forEach(item => { + order.lines.forEach(item => { item.productVariant = translateDeep(item.productVariant, ctx.languageCode); }); return order; @@ -49,9 +50,7 @@ export class OrderService { create(): Promise { const newOrder = new Order({ code: generatePublicId(), - items: [], - adjustments: [], - totalPriceBeforeAdjustment: 0, + lines: [], totalPrice: 0, }); return this.connection.getRepository(Order).save(newOrder); @@ -66,49 +65,51 @@ export class OrderService { this.assertQuantityIsPositive(quantity); const order = await this.getOrderOrThrow(ctx, orderId); const productVariant = await this.getProductVariantOrThrow(ctx, productVariantId); - const existingItem = order.items.find(item => idsAreEqual(item.productVariant.id, productVariantId)); + let orderLine = order.lines.find(line => idsAreEqual(line.productVariant.id, productVariantId)); - if (existingItem) { - return this.adjustItemQuantity(ctx, orderId, existingItem.id, existingItem.quantity + quantity); + if (!orderLine) { + const newLine = new OrderLine({ + productVariant, + taxCategoryId: productVariant.taxCategory.id, + featuredAsset: productVariant.product.featuredAsset, + unitPrice: productVariant.price, + }); + orderLine = await this.connection.getRepository(OrderLine).save(newLine); + order.lines.push(orderLine); + await this.connection.getRepository(Order).save(order); } - const orderItem = new OrderItem({ - quantity, - productVariant, - taxCategoryId: productVariant.taxCategory.id, - featuredAsset: productVariant.product.featuredAsset, - unitPrice: productVariant.price, - unitPriceBeforeTax: 0, - totalPriceBeforeAdjustment: 0 * quantity, - totalPrice: 0 * quantity, - adjustments: [], - }); - const newOrderItem = await this.connection.getRepository(OrderItem).save(orderItem); - order.items.push(newOrderItem); - await this.adjustmentApplicatorService.applyAdjustments(order); - return assertFound(this.findOne(ctx, order.id)); + return this.adjustItemQuantity(ctx, orderId, orderLine.id, orderLine.quantity + quantity); } async adjustItemQuantity( ctx: RequestContext, orderId: ID, - orderItemId: ID, + orderLineId: ID, quantity: number, ): Promise { this.assertQuantityIsPositive(quantity); const order = await this.getOrderOrThrow(ctx, orderId); - const orderItem = this.getOrderItemOrThrow(order, orderItemId); - orderItem.quantity = quantity; - orderItem.totalPriceBeforeAdjustment = orderItem.unitPrice * orderItem.quantity; - await this.connection.getRepository(OrderItem).save(orderItem); - await this.adjustmentApplicatorService.applyAdjustments(order); + const orderLine = this.getOrderLineOrThrow(order, orderLineId); + const currentQuantity = orderLine.quantity; + if (currentQuantity < quantity) { + if (!orderLine.items) { + orderLine.items = []; + } + for (let i = currentQuantity; i < quantity; i++) { + const orderItem = await this.connection.getRepository(OrderItem).save(new OrderItem()); + orderLine.items.push(orderItem); + } + } else if (quantity < currentQuantity) { + orderLine.items = orderLine.items.slice(0, quantity); + } + await this.connection.getRepository(OrderLine).save(orderLine); return assertFound(this.findOne(ctx, order.id)); } async removeItemFromOrder(ctx: RequestContext, orderId: ID, orderItemId: ID): Promise { const order = await this.getOrderOrThrow(ctx, orderId); - const orderItem = this.getOrderItemOrThrow(order, orderItemId); - order.items = order.items.filter(item => !idsAreEqual(item.id, orderItemId)); - await this.adjustmentApplicatorService.applyAdjustments(order); + const orderItem = this.getOrderLineOrThrow(order, orderItemId); + order.lines = order.lines.filter(item => !idsAreEqual(item.id, orderItemId)); return assertFound(this.findOne(ctx, order.id)); } @@ -134,8 +135,8 @@ export class OrderService { return productVariant; } - private getOrderItemOrThrow(order: Order, orderItemId: ID): OrderItem { - const orderItem = order.items.find(item => idsAreEqual(item.id, orderItemId)); + private getOrderLineOrThrow(order: Order, orderItemId: ID): OrderLine { + const orderItem = order.lines.find(item => idsAreEqual(item.id, orderItemId)); if (!orderItem) { throw new I18nError(`error.order-does-not-contain-item-with-id`, { id: orderItemId }); } diff --git a/server/src/service/providers/product-variant.service.ts b/server/src/service/providers/product-variant.service.ts index f9c9290415..f165995480 100644 --- a/server/src/service/providers/product-variant.service.ts +++ b/server/src/service/providers/product-variant.service.ts @@ -20,7 +20,6 @@ import { translateDeep } from '../helpers/translate-entity'; import { TranslationUpdaterService } from '../helpers/translation-updater.service'; import { updateTranslatable } from '../helpers/update-translatable'; -import { AdjustmentSourceService } from './adjustment-source.service'; import { TaxCategoryService } from './tax-category.service'; @Injectable() @@ -29,11 +28,10 @@ export class ProductVariantService { @InjectConnection() private connection: Connection, private taxCategoryService: TaxCategoryService, private translationUpdaterService: TranslationUpdaterService, - private adjustmentSourceService: AdjustmentSourceService, ) {} findOne(ctx: RequestContext, productVariantId: ID): Promise | undefined> { - const relations = ['product', 'product.featuredAsset']; + const relations = ['product', 'product.featuredAsset', 'taxCategory']; return this.connection .getRepository(ProductVariant) .findOne(productVariantId, { relations }) @@ -112,9 +110,8 @@ export class ProductVariantService { ? generateAllCombinations(product.optionGroups.map(g => g.options)) : [[]]; - const taxCategoryId = - defaultTaxCategoryId || - (await this.adjustmentSourceService.getDefaultTaxCategory()).id.toString(); + // TODO: how to handle default tax category? + const taxCategoryId = defaultTaxCategoryId || '1'; const variants: ProductVariant[] = []; for (const options of optionCombinations) { diff --git a/server/src/service/providers/adjustment-source.service.ts b/server/src/service/providers/promotion.service.ts similarity index 69% rename from server/src/service/providers/adjustment-source.service.ts rename to server/src/service/providers/promotion.service.ts index 14dc0048db..3d3e04d2e7 100644 --- a/server/src/service/providers/adjustment-source.service.ts +++ b/server/src/service/providers/promotion.service.ts @@ -3,9 +3,8 @@ import { InjectConnection } from '@nestjs/typeorm'; import { AdjustmentOperation, AdjustmentOperationInput, - AdjustmentType, - CreateAdjustmentSourceInput, - UpdateAdjustmentSourceInput, + CreatePromotionInput, + UpdatePromotionInput, } from 'shared/generated-types'; import { omit } from 'shared/omit'; import { ID, PaginatedList } from 'shared/shared-types'; @@ -19,7 +18,7 @@ import { AdjustmentConditionDefinition, } from '../../config/adjustment/adjustment-types'; import { ConfigService } from '../../config/config.service'; -import { AdjustmentSource } from '../../entity/adjustment-source/adjustment-source.entity'; +import { Promotion } from '../../entity/promotion/promotion.entity'; import { I18nError } from '../../i18n/i18n-error'; import { buildListQuery } from '../helpers/build-list-query'; import { patchEntity } from '../helpers/patch-entity'; @@ -27,7 +26,7 @@ import { patchEntity } from '../helpers/patch-entity'; import { ChannelService } from './channel.service'; @Injectable() -export class AdjustmentSourceService { +export class PromotionService { availableConditions: AdjustmentConditionDefinition[] = []; availableActions: AdjustmentActionDefinition[] = []; /** @@ -35,7 +34,7 @@ export class AdjustmentSourceService { * every time an order is changed, which will happen often. Caching them means * a DB call is not required newly each time. */ - private activeSources: AdjustmentSource[] = []; + private activePromotions: Promotion[] = []; constructor( @InjectConnection() private connection: Connection, @@ -46,8 +45,8 @@ export class AdjustmentSourceService { this.availableActions = this.configService.adjustmentActions; } - findAll(options?: ListQueryOptions): Promise> { - return buildListQuery(this.connection, AdjustmentSource, options) + findAll(options?: ListQueryOptions): Promise> { + return buildListQuery(this.connection, Promotion, options) .getManyAndCount() .then(([items, totalItems]) => ({ items, @@ -55,8 +54,8 @@ export class AdjustmentSourceService { })); } - async findOne(adjustmentSourceId: ID): Promise { - return this.connection.manager.findOne(AdjustmentSource, adjustmentSourceId, { + async findOne(adjustmentSourceId: ID): Promise { + return this.connection.manager.findOne(Promotion, adjustmentSourceId, { relations: [], }); } @@ -64,60 +63,41 @@ export class AdjustmentSourceService { /** * Returns all available AdjustmentOperations. */ - getAdjustmentOperations( - type: AdjustmentType, - ): { + getAdjustmentOperations(): { conditions: AdjustmentConditionDefinition[]; actions: AdjustmentActionDefinition[]; } { return { - conditions: this.availableConditions.filter(o => o.type === type), - actions: this.availableActions.filter(o => o.type === type), + conditions: this.availableConditions, + actions: this.availableActions, }; } /** * Returns all active AdjustmentSources. */ - async getActiveAdjustmentSources(): Promise { - if (!this.activeSources.length) { - await this.updateActiveSources(); + async getActivePromotions(): Promise { + if (!this.activePromotions.length) { + await this.updatePromotions(); } - return this.activeSources; + return this.activePromotions; } - /** - * Returns the default tax category. - * TODO: currently just returns the first one. There should be a "default" flag. - */ - async getDefaultTaxCategory(): Promise { - const sources = await this.getActiveAdjustmentSources(); - const taxCategories = sources.filter(s => s.type === AdjustmentType.TAX); - return taxCategories[0]; - } - - async createAdjustmentSource( - ctx: RequestContext, - input: CreateAdjustmentSourceInput, - ): Promise { - const adjustmentSource = new AdjustmentSource({ + async createPromotion(ctx: RequestContext, input: CreatePromotionInput): Promise { + const adjustmentSource = new Promotion({ name: input.name, - type: input.type, enabled: input.enabled, conditions: input.conditions.map(c => this.parseOperationArgs('condition', c)), actions: input.actions.map(a => this.parseOperationArgs('action', a)), }); this.channelService.assignToChannels(adjustmentSource, ctx); const newAdjustmentSource = await this.connection.manager.save(adjustmentSource); - await this.updateActiveSources(); + await this.updatePromotions(); return assertFound(this.findOne(newAdjustmentSource.id)); } - async updateAdjustmentSource( - ctx: RequestContext, - input: UpdateAdjustmentSourceInput, - ): Promise { - const adjustmentSource = await this.connection.getRepository(AdjustmentSource).findOne(input.id); + async updatePromotion(ctx: RequestContext, input: UpdatePromotionInput): Promise { + const adjustmentSource = await this.connection.getRepository(Promotion).findOne(input.id); if (!adjustmentSource) { throw new I18nError(`error.entity-with-id-not-found`, { entityName: 'AdjustmentSource', @@ -134,7 +114,7 @@ export class AdjustmentSourceService { updatedAdjustmentSource.actions = input.actions.map(a => this.parseOperationArgs('action', a)); } await this.connection.manager.save(updatedAdjustmentSource); - await this.updateActiveSources(); + await this.updatePromotions(); return assertFound(this.findOne(updatedAdjustmentSource.id)); } @@ -148,7 +128,6 @@ export class AdjustmentSourceService { const match = this.getAdjustmentOperationByCode(type, input.code); const output: AdjustmentOperation = { code: input.code, - type: match.type, description: match.description, args: input.arguments.map((inputArg, i) => { return { @@ -174,8 +153,8 @@ export class AdjustmentSourceService { /** * Update the activeSources cache. */ - private async updateActiveSources() { - this.activeSources = await this.connection.getRepository(AdjustmentSource).find({ + private async updatePromotions() { + this.activePromotions = await this.connection.getRepository(Promotion).find({ where: { enabled: true }, }); } diff --git a/server/src/service/service.module.ts b/server/src/service/service.module.ts index 0ec540e127..8f9ac34453 100644 --- a/server/src/service/service.module.ts +++ b/server/src/service/service.module.ts @@ -6,7 +6,6 @@ import { getConfig } from '../config/vendure-config'; import { TranslationUpdaterService } from './helpers/translation-updater.service'; import { AdjustmentApplicatorService } from './providers/adjustment-applicator.service'; -import { AdjustmentSourceService } from './providers/adjustment-source.service'; import { AdministratorService } from './providers/administrator.service'; import { AssetService } from './providers/asset.service'; import { AuthService } from './providers/auth.service'; @@ -22,12 +21,13 @@ import { ProductOptionGroupService } from './providers/product-option-group.serv import { ProductOptionService } from './providers/product-option.service'; import { ProductVariantService } from './providers/product-variant.service'; import { ProductService } from './providers/product.service'; +import { PromotionService } from './providers/promotion.service'; import { RoleService } from './providers/role.service'; import { TaxCategoryService } from './providers/tax-category.service'; import { ZoneService } from './providers/zone.service'; const exportedProviders = [ - AdjustmentSourceService, + PromotionService, AdministratorService, AssetService, AuthService, diff --git a/shared/generated-types.ts b/shared/generated-types.ts index 7bcc2ab9a8..e5a6bc39bb 100644 --- a/shared/generated-types.ts +++ b/shared/generated-types.ts @@ -29,19 +29,16 @@ export type Json = any; export type Upload = any; -export interface Node { - id: string; -} - export interface PaginatedList { items: Node[]; totalItems: number; } +export interface Node { + id: string; +} + export interface Query { - adjustmentSource?: AdjustmentSource | null; - adjustmentSources: AdjustmentSourceList; - adjustmentOperations: AdjustmentOperations; administrators: AdministratorList; administrator?: Administrator | null; assets: AssetList; @@ -63,6 +60,9 @@ export interface Query { productOptionGroup?: ProductOptionGroup | null; products: ProductList; product?: Product | null; + promotion?: Promotion | null; + promotions: PromotionList; + adjustmentOperations: AdjustmentOperations; roles: RoleList; role?: Role | null; taxCategories: TaxCategory[]; @@ -74,40 +74,6 @@ export interface Query { uiState: UiState; } -export interface AdjustmentSource extends Node { - id: string; - createdAt: DateTime; - updatedAt: DateTime; - name: string; - type: AdjustmentType; - enabled: boolean; - conditions: AdjustmentOperation[]; - actions: AdjustmentOperation[]; -} - -export interface AdjustmentOperation { - type: AdjustmentType; - code: string; - args: AdjustmentArg[]; - description: string; -} - -export interface AdjustmentArg { - name: string; - type: string; - value?: string | null; -} - -export interface AdjustmentSourceList extends PaginatedList { - items: AdjustmentSource[]; - totalItems: number; -} - -export interface AdjustmentOperations { - conditions: AdjustmentOperation[]; - actions: AdjustmentOperation[]; -} - export interface AdministratorList extends PaginatedList { items: Administrator[]; totalItems: number; @@ -289,17 +255,16 @@ export interface Order extends Node { updatedAt: DateTime; code: string; customer?: Customer | null; - items: OrderItem[]; - adjustments: Adjustment[]; + lines: OrderLine[]; + adjustments?: Adjustment[] | null; totalPrice: number; } -export interface OrderItem extends Node { +export interface OrderLine extends Node { id: string; createdAt: DateTime; updatedAt: DateTime; productVariant: ProductVariant; - adjustments: Adjustment[]; featuredAsset?: Asset | null; unitPrice: number; quantity: number; @@ -355,7 +320,7 @@ export interface ProductVariantTranslation { } export interface Adjustment { - adjustmentSourceId: string; + promotionId: string; description: string; amount: number; } @@ -427,6 +392,38 @@ export interface ProductCustomFields { nickname?: string | null; } +export interface Promotion extends Node { + id: string; + createdAt: DateTime; + updatedAt: DateTime; + name: string; + enabled: boolean; + conditions: AdjustmentOperation[]; + actions: AdjustmentOperation[]; +} + +export interface AdjustmentOperation { + code: string; + args: AdjustmentArg[]; + description: string; +} + +export interface AdjustmentArg { + name: string; + type: string; + value?: string | null; +} + +export interface PromotionList extends PaginatedList { + items: Promotion[]; + totalItems: number; +} + +export interface AdjustmentOperations { + conditions: AdjustmentOperation[]; + actions: AdjustmentOperation[]; +} + export interface RoleList extends PaginatedList { items: Role[]; totalItems: number; @@ -455,8 +452,6 @@ export interface UiState { } export interface Mutation { - createAdjustmentSource: AdjustmentSource; - updateAdjustmentSource: AdjustmentSource; createAdministrator: Administrator; updateAdministrator: Administrator; assignRoleToAdministrator: Administrator; @@ -488,6 +483,8 @@ export interface Mutation { generateVariantsForProduct: Product; updateProductVariants: (ProductVariant | null)[]; applyFacetValuesToProductVariants: ProductVariant[]; + createPromotion: Promotion; + updatePromotion: Promotion; createRole: Role; updateRole: Role; createTaxCategory: TaxCategory; @@ -507,25 +504,28 @@ export interface LoginResult { user: CurrentUser; } -export interface AdjustmentSourceListOptions { +export interface AdministratorListOptions { take?: number | null; skip?: number | null; - sort?: AdjustmentSourceSortParameter | null; - filter?: AdjustmentSourceFilterParameter | null; + sort?: AdministratorSortParameter | null; + filter?: AdministratorFilterParameter | null; } -export interface AdjustmentSourceSortParameter { +export interface AdministratorSortParameter { id?: SortOrder | null; createdAt?: SortOrder | null; updatedAt?: SortOrder | null; - name?: SortOrder | null; + firstName?: SortOrder | null; + lastName?: SortOrder | null; + emailAddress?: SortOrder | null; } -export interface AdjustmentSourceFilterParameter { - name?: StringOperators | null; +export interface AdministratorFilterParameter { + firstName?: StringOperators | null; + lastName?: StringOperators | null; + emailAddress?: StringOperators | null; createdAt?: DateOperators | null; updatedAt?: DateOperators | null; - type?: StringOperators | null; } export interface StringOperators { @@ -545,30 +545,6 @@ export interface DateRange { end: DateTime; } -export interface AdministratorListOptions { - take?: number | null; - skip?: number | null; - sort?: AdministratorSortParameter | null; - filter?: AdministratorFilterParameter | null; -} - -export interface AdministratorSortParameter { - id?: SortOrder | null; - createdAt?: SortOrder | null; - updatedAt?: SortOrder | null; - firstName?: SortOrder | null; - lastName?: SortOrder | null; - emailAddress?: SortOrder | null; -} - -export interface AdministratorFilterParameter { - firstName?: StringOperators | null; - lastName?: StringOperators | null; - emailAddress?: StringOperators | null; - createdAt?: DateOperators | null; - updatedAt?: DateOperators | null; -} - export interface AssetListOptions { take?: number | null; skip?: number | null; @@ -721,6 +697,27 @@ export interface ProductFilterParameter { nickname?: StringOperators | null; } +export interface PromotionListOptions { + take?: number | null; + skip?: number | null; + sort?: PromotionSortParameter | null; + filter?: PromotionFilterParameter | null; +} + +export interface PromotionSortParameter { + id?: SortOrder | null; + createdAt?: SortOrder | null; + updatedAt?: SortOrder | null; + name?: SortOrder | null; +} + +export interface PromotionFilterParameter { + name?: StringOperators | null; + createdAt?: DateOperators | null; + updatedAt?: DateOperators | null; + type?: StringOperators | null; +} + export interface RoleListOptions { take?: number | null; skip?: number | null; @@ -743,27 +740,6 @@ export interface RoleFilterParameter { updatedAt?: DateOperators | null; } -export interface CreateAdjustmentSourceInput { - name: string; - type: AdjustmentType; - enabled: boolean; - conditions: AdjustmentOperationInput[]; - actions: AdjustmentOperationInput[]; -} - -export interface AdjustmentOperationInput { - code: string; - arguments: string[]; -} - -export interface UpdateAdjustmentSourceInput { - id: string; - name?: string | null; - enabled?: boolean | null; - conditions?: AdjustmentOperationInput[] | null; - actions?: AdjustmentOperationInput[] | null; -} - export interface CreateAdministratorInput { firstName: string; lastName: string; @@ -977,6 +953,26 @@ export interface ProductVariantTranslationInput { customFields?: Json | null; } +export interface CreatePromotionInput { + name: string; + enabled: boolean; + conditions: AdjustmentOperationInput[]; + actions: AdjustmentOperationInput[]; +} + +export interface AdjustmentOperationInput { + code: string; + arguments: string[]; +} + +export interface UpdatePromotionInput { + id: string; + name?: string | null; + enabled?: boolean | null; + conditions?: AdjustmentOperationInput[] | null; + actions?: AdjustmentOperationInput[] | null; +} + export interface CreateRoleInput { code: string; description: string; @@ -1038,16 +1034,6 @@ export interface ProductOptionTranslationInput { name?: string | null; customFields?: Json | null; } -export interface AdjustmentSourceQueryArgs { - id: string; -} -export interface AdjustmentSourcesQueryArgs { - type: AdjustmentType; - options?: AdjustmentSourceListOptions | null; -} -export interface AdjustmentOperationsQueryArgs { - type: AdjustmentType; -} export interface AdministratorsQueryArgs { options?: AdministratorListOptions | null; } @@ -1105,6 +1091,12 @@ export interface ProductQueryArgs { id: string; languageCode?: LanguageCode | null; } +export interface PromotionQueryArgs { + id: string; +} +export interface PromotionsQueryArgs { + options?: PromotionListOptions | null; +} export interface RolesQueryArgs { options?: RoleListOptions | null; } @@ -1117,12 +1109,6 @@ export interface TaxCategoryQueryArgs { export interface ZoneQueryArgs { id: string; } -export interface CreateAdjustmentSourceMutationArgs { - input: CreateAdjustmentSourceInput; -} -export interface UpdateAdjustmentSourceMutationArgs { - input: UpdateAdjustmentSourceInput; -} export interface CreateAdministratorMutationArgs { input: CreateAdministratorInput; } @@ -1228,6 +1214,12 @@ export interface ApplyFacetValuesToProductVariantsMutationArgs { facetValueIds: string[]; productVariantIds: string[]; } +export interface CreatePromotionMutationArgs { + input: CreatePromotionInput; +} +export interface UpdatePromotionMutationArgs { + input: UpdatePromotionInput; +} export interface CreateRoleMutationArgs { input: CreateRoleInput; } @@ -1262,12 +1254,6 @@ export interface SetUiLanguageMutationArgs { languageCode?: LanguageCode | null; } -export enum AdjustmentType { - TAX = 'TAX', - PROMOTION = 'PROMOTION', - SHIPPING = 'SHIPPING', -} - export enum SortOrder { ASC = 'ASC', DESC = 'DESC', @@ -1499,9 +1485,6 @@ export enum LanguageCode { export namespace QueryResolvers { export interface Resolvers { - adjustmentSource?: AdjustmentSourceResolver; - adjustmentSources?: AdjustmentSourcesResolver; - adjustmentOperations?: AdjustmentOperationsResolver; administrators?: AdministratorsResolver; administrator?: AdministratorResolver; assets?: AssetsResolver; @@ -1523,6 +1506,9 @@ export namespace QueryResolvers { productOptionGroup?: ProductOptionGroupResolver; products?: ProductsResolver; product?: ProductResolver; + promotion?: PromotionResolver; + promotions?: PromotionsResolver; + adjustmentOperations?: AdjustmentOperationsResolver; roles?: RolesResolver; role?: RoleResolver; taxCategories?: TaxCategoriesResolver; @@ -1534,36 +1520,6 @@ export namespace QueryResolvers { uiState?: UiStateResolver; } - export type AdjustmentSourceResolver = Resolver< - R, - Parent, - Context, - AdjustmentSourceArgs - >; - export interface AdjustmentSourceArgs { - id: string; - } - - export type AdjustmentSourcesResolver = Resolver< - R, - Parent, - Context, - AdjustmentSourcesArgs - >; - export interface AdjustmentSourcesArgs { - type: AdjustmentType; - options?: AdjustmentSourceListOptions | null; - } - - export type AdjustmentOperationsResolver< - R = AdjustmentOperations, - Parent = any, - Context = any - > = Resolver; - export interface AdjustmentOperationsArgs { - type: AdjustmentType; - } - export type AdministratorsResolver = Resolver< R, Parent, @@ -1755,6 +1711,31 @@ export namespace QueryResolvers { languageCode?: LanguageCode | null; } + export type PromotionResolver = Resolver< + R, + Parent, + Context, + PromotionArgs + >; + export interface PromotionArgs { + id: string; + } + + export type PromotionsResolver = Resolver< + R, + Parent, + Context, + PromotionsArgs + >; + export interface PromotionsArgs { + options?: PromotionListOptions | null; + } + + export type AdjustmentOperationsResolver< + R = AdjustmentOperations, + Parent = any, + Context = any + > = Resolver; export type RolesResolver = Resolver< R, Parent, @@ -1814,126 +1795,38 @@ export namespace QueryResolvers { export type UiStateResolver = Resolver; } -export namespace AdjustmentSourceResolvers { +export namespace AdministratorListResolvers { export interface Resolvers { - id?: IdResolver; - createdAt?: CreatedAtResolver; - updatedAt?: UpdatedAtResolver; - name?: NameResolver; - type?: TypeResolver; - enabled?: EnabledResolver; - conditions?: ConditionsResolver; - actions?: ActionsResolver; + items?: ItemsResolver; + totalItems?: TotalItemsResolver; } - export type IdResolver = Resolver; - export type CreatedAtResolver = Resolver; - export type UpdatedAtResolver = Resolver; - export type NameResolver = Resolver; - export type TypeResolver = Resolver; - export type EnabledResolver = Resolver; - export type ConditionsResolver = Resolver< - R, - Parent, - Context - >; - export type ActionsResolver = Resolver< + export type ItemsResolver = Resolver< R, Parent, Context >; + export type TotalItemsResolver = Resolver; } -export namespace AdjustmentOperationResolvers { +export namespace AdministratorResolvers { export interface Resolvers { - type?: TypeResolver; - code?: CodeResolver; - args?: ArgsResolver; - description?: DescriptionResolver; + id?: IdResolver; + createdAt?: CreatedAtResolver; + updatedAt?: UpdatedAtResolver; + firstName?: FirstNameResolver; + lastName?: LastNameResolver; + emailAddress?: EmailAddressResolver; + user?: UserResolver; } - export type TypeResolver = Resolver; - export type CodeResolver = Resolver; - export type ArgsResolver = Resolver; - export type DescriptionResolver = Resolver; -} - -export namespace AdjustmentArgResolvers { - export interface Resolvers { - name?: NameResolver; - type?: TypeResolver; - value?: ValueResolver; - } - - export type NameResolver = Resolver; - export type TypeResolver = Resolver; - export type ValueResolver = Resolver; -} - -export namespace AdjustmentSourceListResolvers { - export interface Resolvers { - items?: ItemsResolver; - totalItems?: TotalItemsResolver; - } - - export type ItemsResolver = Resolver< - R, - Parent, - Context - >; - export type TotalItemsResolver = Resolver; -} - -export namespace AdjustmentOperationsResolvers { - export interface Resolvers { - conditions?: ConditionsResolver; - actions?: ActionsResolver; - } - - export type ConditionsResolver = Resolver< - R, - Parent, - Context - >; - export type ActionsResolver = Resolver< - R, - Parent, - Context - >; -} - -export namespace AdministratorListResolvers { - export interface Resolvers { - items?: ItemsResolver; - totalItems?: TotalItemsResolver; - } - - export type ItemsResolver = Resolver< - R, - Parent, - Context - >; - export type TotalItemsResolver = Resolver; -} - -export namespace AdministratorResolvers { - export interface Resolvers { - id?: IdResolver; - createdAt?: CreatedAtResolver; - updatedAt?: UpdatedAtResolver; - firstName?: FirstNameResolver; - lastName?: LastNameResolver; - emailAddress?: EmailAddressResolver; - user?: UserResolver; - } - - export type IdResolver = Resolver; - export type CreatedAtResolver = Resolver; - export type UpdatedAtResolver = Resolver; - export type FirstNameResolver = Resolver; - export type LastNameResolver = Resolver; - export type EmailAddressResolver = Resolver; - export type UserResolver = Resolver; + export type IdResolver = Resolver; + export type CreatedAtResolver = Resolver; + export type UpdatedAtResolver = Resolver; + export type FirstNameResolver = Resolver; + export type LastNameResolver = Resolver; + export type EmailAddressResolver = Resolver; + export type UserResolver = Resolver; } export namespace UserResolvers { @@ -2379,8 +2272,8 @@ export namespace OrderResolvers { updatedAt?: UpdatedAtResolver; code?: CodeResolver; customer?: CustomerResolver; - items?: ItemsResolver; - adjustments?: AdjustmentsResolver; + lines?: LinesResolver; + adjustments?: AdjustmentsResolver; totalPrice?: TotalPriceResolver; } @@ -2393,8 +2286,8 @@ export namespace OrderResolvers { Parent, Context >; - export type ItemsResolver = Resolver; - export type AdjustmentsResolver = Resolver< + export type LinesResolver = Resolver; + export type AdjustmentsResolver = Resolver< R, Parent, Context @@ -2402,13 +2295,12 @@ export namespace OrderResolvers { export type TotalPriceResolver = Resolver; } -export namespace OrderItemResolvers { +export namespace OrderLineResolvers { export interface Resolvers { id?: IdResolver; createdAt?: CreatedAtResolver; updatedAt?: UpdatedAtResolver; productVariant?: ProductVariantResolver; - adjustments?: AdjustmentsResolver; featuredAsset?: FeaturedAssetResolver; unitPrice?: UnitPriceResolver; quantity?: QuantityResolver; @@ -2424,11 +2316,6 @@ export namespace OrderItemResolvers { Parent, Context >; - export type AdjustmentsResolver = Resolver< - R, - Parent, - Context - >; export type FeaturedAssetResolver = Resolver< R, Parent, @@ -2580,16 +2467,12 @@ export namespace ProductVariantTranslationResolvers { export namespace AdjustmentResolvers { export interface Resolvers { - adjustmentSourceId?: AdjustmentSourceIdResolver; + promotionId?: PromotionIdResolver; description?: DescriptionResolver; amount?: AmountResolver; } - export type AdjustmentSourceIdResolver = Resolver< - R, - Parent, - Context - >; + export type PromotionIdResolver = Resolver; export type DescriptionResolver = Resolver; export type AmountResolver = Resolver; } @@ -2796,6 +2679,86 @@ export namespace ProductCustomFieldsResolvers { >; } +export namespace PromotionResolvers { + export interface Resolvers { + id?: IdResolver; + createdAt?: CreatedAtResolver; + updatedAt?: UpdatedAtResolver; + name?: NameResolver; + enabled?: EnabledResolver; + conditions?: ConditionsResolver; + actions?: ActionsResolver; + } + + export type IdResolver = Resolver; + export type CreatedAtResolver = Resolver; + export type UpdatedAtResolver = Resolver; + export type NameResolver = Resolver; + export type EnabledResolver = Resolver; + export type ConditionsResolver = Resolver< + R, + Parent, + Context + >; + export type ActionsResolver = Resolver< + R, + Parent, + Context + >; +} + +export namespace AdjustmentOperationResolvers { + export interface Resolvers { + code?: CodeResolver; + args?: ArgsResolver; + description?: DescriptionResolver; + } + + export type CodeResolver = Resolver; + export type ArgsResolver = Resolver; + export type DescriptionResolver = Resolver; +} + +export namespace AdjustmentArgResolvers { + export interface Resolvers { + name?: NameResolver; + type?: TypeResolver; + value?: ValueResolver; + } + + export type NameResolver = Resolver; + export type TypeResolver = Resolver; + export type ValueResolver = Resolver; +} + +export namespace PromotionListResolvers { + export interface Resolvers { + items?: ItemsResolver; + totalItems?: TotalItemsResolver; + } + + export type ItemsResolver = Resolver; + export type TotalItemsResolver = Resolver; +} + +export namespace AdjustmentOperationsResolvers { + export interface Resolvers { + conditions?: ConditionsResolver; + actions?: ActionsResolver; + } + + export type ConditionsResolver = Resolver< + R, + Parent, + Context + >; + export type ActionsResolver = Resolver< + R, + Parent, + Context + >; +} + export namespace RoleListResolvers { export interface Resolvers { items?: ItemsResolver; @@ -2860,8 +2823,6 @@ export namespace UiStateResolvers { export namespace MutationResolvers { export interface Resolvers { - createAdjustmentSource?: CreateAdjustmentSourceResolver; - updateAdjustmentSource?: UpdateAdjustmentSourceResolver; createAdministrator?: CreateAdministratorResolver; updateAdministrator?: UpdateAdministratorResolver; assignRoleToAdministrator?: AssignRoleToAdministratorResolver; @@ -2897,6 +2858,8 @@ export namespace MutationResolvers { any, Context >; + createPromotion?: CreatePromotionResolver; + updatePromotion?: UpdatePromotionResolver; createRole?: CreateRoleResolver; updateRole?: UpdateRoleResolver; createTaxCategory?: CreateTaxCategoryResolver; @@ -2912,26 +2875,6 @@ export namespace MutationResolvers { setUiLanguage?: SetUiLanguageResolver; } - export type CreateAdjustmentSourceResolver = Resolver< - R, - Parent, - Context, - CreateAdjustmentSourceArgs - >; - export interface CreateAdjustmentSourceArgs { - input: CreateAdjustmentSourceInput; - } - - export type UpdateAdjustmentSourceResolver = Resolver< - R, - Parent, - Context, - UpdateAdjustmentSourceArgs - >; - export interface UpdateAdjustmentSourceArgs { - input: UpdateAdjustmentSourceInput; - } - export type CreateAdministratorResolver = Resolver< R, Parent, @@ -3244,6 +3187,26 @@ export namespace MutationResolvers { productVariantIds: string[]; } + export type CreatePromotionResolver = Resolver< + R, + Parent, + Context, + CreatePromotionArgs + >; + export interface CreatePromotionArgs { + input: CreatePromotionInput; + } + + export type UpdatePromotionResolver = Resolver< + R, + Parent, + Context, + UpdatePromotionArgs + >; + export interface UpdatePromotionArgs { + input: UpdatePromotionInput; + } + export type CreateRoleResolver = Resolver< R, Parent, @@ -3371,86 +3334,6 @@ export namespace LoginResultResolvers { export type UserResolver = Resolver; } -export namespace GetAdjustmentSourceList { - export type Variables = { - type: AdjustmentType; - options?: AdjustmentSourceListOptions | null; - }; - - export type Query = { - __typename?: 'Query'; - adjustmentSources: AdjustmentSources; - }; - - export type AdjustmentSources = { - __typename?: 'AdjustmentSourceList'; - items: Items[]; - totalItems: number; - }; - - export type Items = AdjustmentSource.Fragment; -} - -export namespace GetAdjustmentSource { - export type Variables = { - id: string; - }; - - export type Query = { - __typename?: 'Query'; - adjustmentSource?: AdjustmentSource | null; - }; - - export type AdjustmentSource = AdjustmentSource.Fragment; -} - -export namespace GetAdjustmentOperations { - export type Variables = { - type: AdjustmentType; - }; - - export type Query = { - __typename?: 'Query'; - adjustmentOperations: AdjustmentOperations; - }; - - export type AdjustmentOperations = { - __typename?: 'AdjustmentOperations'; - actions: Actions[]; - conditions: Conditions[]; - }; - - export type Actions = AdjustmentOperation.Fragment; - - export type Conditions = AdjustmentOperation.Fragment; -} - -export namespace CreateAdjustmentSource { - export type Variables = { - input: CreateAdjustmentSourceInput; - }; - - export type Mutation = { - __typename?: 'Mutation'; - createAdjustmentSource: CreateAdjustmentSource; - }; - - export type CreateAdjustmentSource = AdjustmentSource.Fragment; -} - -export namespace UpdateAdjustmentSource { - export type Variables = { - input: UpdateAdjustmentSourceInput; - }; - - export type Mutation = { - __typename?: 'Mutation'; - updateAdjustmentSource: UpdateAdjustmentSource; - }; - - export type UpdateAdjustmentSource = AdjustmentSource.Fragment; -} - export namespace GetAdministrators { export type Variables = { options?: AdministratorListOptions | null; @@ -4094,6 +3977,83 @@ export namespace CreateAssets { export type CreateAssets = Asset.Fragment; } +export namespace GetPromotionList { + export type Variables = { + options?: PromotionListOptions | null; + }; + + export type Query = { + __typename?: 'Query'; + promotions: Promotions; + }; + + export type Promotions = { + __typename?: 'PromotionList'; + items: Items[]; + totalItems: number; + }; + + export type Items = Promotion.Fragment; +} + +export namespace GetPromotion { + export type Variables = { + id: string; + }; + + export type Query = { + __typename?: 'Query'; + promotion?: Promotion | null; + }; + + export type Promotion = Promotion.Fragment; +} + +export namespace GetAdjustmentOperations { + export type Variables = {}; + + export type Query = { + __typename?: 'Query'; + adjustmentOperations: AdjustmentOperations; + }; + + export type AdjustmentOperations = { + __typename?: 'AdjustmentOperations'; + actions: Actions[]; + conditions: Conditions[]; + }; + + export type Actions = AdjustmentOperation.Fragment; + + export type Conditions = AdjustmentOperation.Fragment; +} + +export namespace CreatePromotion { + export type Variables = { + input: CreatePromotionInput; + }; + + export type Mutation = { + __typename?: 'Mutation'; + createPromotion: CreatePromotion; + }; + + export type CreatePromotion = Promotion.Fragment; +} + +export namespace UpdatePromotion { + export type Variables = { + input: UpdatePromotionInput; + }; + + export type Mutation = { + __typename?: 'Mutation'; + updatePromotion: UpdatePromotion; + }; + + export type UpdatePromotion = Promotion.Fragment; +} + export namespace GetCountryList { export type Variables = { options?: CountryListOptions | null; @@ -4280,41 +4240,6 @@ export namespace UpdateTaxCategory { export type UpdateTaxCategory = TaxCategory.Fragment; } -export namespace AdjustmentOperation { - export type Fragment = { - __typename?: 'AdjustmentOperation'; - args: Args[]; - code: string; - description: string; - type: AdjustmentType; - }; - - export type Args = { - __typename?: 'AdjustmentArg'; - name: string; - type: string; - value?: string | null; - }; -} - -export namespace AdjustmentSource { - export type Fragment = { - __typename?: 'AdjustmentSource'; - id: string; - createdAt: DateTime; - updatedAt: DateTime; - name: string; - type: AdjustmentType; - enabled: boolean; - conditions: Conditions[]; - actions: Actions[]; - }; - - export type Conditions = AdjustmentOperation.Fragment; - - export type Actions = AdjustmentOperation.Fragment; -} - export namespace Administrator { export type Fragment = { __typename?: 'Administrator'; @@ -4550,6 +4475,39 @@ export namespace ProductOptionGroup { }; } +export namespace AdjustmentOperation { + export type Fragment = { + __typename?: 'AdjustmentOperation'; + args: Args[]; + code: string; + description: string; + }; + + export type Args = { + __typename?: 'AdjustmentArg'; + name: string; + type: string; + value?: string | null; + }; +} + +export namespace Promotion { + export type Fragment = { + __typename?: 'Promotion'; + id: string; + createdAt: DateTime; + updatedAt: DateTime; + name: string; + enabled: boolean; + conditions: Conditions[]; + actions: Actions[]; + }; + + export type Conditions = AdjustmentOperation.Fragment; + + export type Actions = AdjustmentOperation.Fragment; +} + export namespace Country { export type Fragment = { __typename?: 'Country'; From 4df0ed8969eaebf6641f19165f2a45d73b6291ae Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Mon, 15 Oct 2018 14:41:28 +0200 Subject: [PATCH 3/8] feat: Implement TaxRate API & admin ui --- .../product-detail.component.html | 2 +- .../product-detail.component.ts | 2 +- .../main-nav/main-nav.component.html | 9 +- .../data/definitions/settings-definitions.ts | 60 ++++ .../app/data/providers/data.service.mock.ts | 4 + .../data/providers/settings-data.service.ts | 37 +++ .../tax-category-detail.component.ts | 14 +- .../tax-rate-detail.component.html | 49 +++ .../tax-rate-detail.component.scss | 0 .../tax-rate-detail.component.ts | 151 ++++++++++ .../tax-rate-list.component.html | 35 +++ .../tax-rate-list.component.scss | 0 .../tax-rate-list/tax-rate-list.component.ts | 22 ++ .../providers/routing/tax-rate-resolver.ts | 26 ++ admin-ui/src/app/settings/settings.module.ts | 7 +- admin-ui/src/app/settings/settings.routes.ts | 32 +- admin-ui/src/i18n-messages/en.json | 10 +- schema.json | 2 +- server/src/api/api.module.ts | 2 + server/src/api/resolvers/tax-rate.resolver.ts | 44 +++ server/src/api/types/tax-rate.api.graphql | 39 +++ .../entity/order-item/order-item.entity.ts | 3 +- server/src/entity/role/role.graphql | 2 + .../entity/tax-category/tax-category.graphql | 2 + server/src/entity/tax-rate/tax-rate.entity.ts | 4 +- server/src/entity/tax-rate/tax-rate.graphql | 30 ++ server/src/service/providers/order.service.ts | 6 +- .../src/service/providers/tax-rate.service.ts | 98 ++++++ server/src/service/service.module.ts | 2 + shared/generated-types.ts | 279 ++++++++++++++++++ 30 files changed, 955 insertions(+), 18 deletions(-) create mode 100644 admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.html create mode 100644 admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.scss create mode 100644 admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.ts create mode 100644 admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.html create mode 100644 admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.scss create mode 100644 admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.ts create mode 100644 admin-ui/src/app/settings/providers/routing/tax-rate-resolver.ts create mode 100644 server/src/api/resolvers/tax-rate.resolver.ts create mode 100644 server/src/api/types/tax-rate.api.graphql create mode 100644 server/src/entity/tax-rate/tax-rate.graphql create mode 100644 server/src/service/providers/tax-rate.service.ts diff --git a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.html b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.html index 73a24b6ef5..2967a253db 100644 --- a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.html +++ b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.html @@ -74,7 +74,7 @@ [productVariantsFormArray]="productForm.get('variants')" [taxCategories]="taxCategories$ | async" #productVariantsList> - diff --git a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts index 7e66734d09..9b31a181f5 100644 --- a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts +++ b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts @@ -34,7 +34,7 @@ export class ProductDetailComponent extends BaseDetailComponent; variants$: Observable; - taxCategories$: Observable; + taxCategories$: Observable; customFields: CustomFieldConfig[]; customVariantFields: CustomFieldConfig[]; productForm: FormGroup; diff --git a/admin-ui/src/app/core/components/main-nav/main-nav.component.html b/admin-ui/src/app/core/components/main-nav/main-nav.component.html index bb042d7985..18e3a2df1a 100644 --- a/admin-ui/src/app/core/components/main-nav/main-nav.component.html +++ b/admin-ui/src/app/core/components/main-nav/main-nav.component.html @@ -79,7 +79,14 @@ - {{ 'nav.tax-categories' | translate }} + {{ 'nav.tax-categories' | translate }} + + +
  • + + {{ 'nav.tax-rates' | translate }}
  • diff --git a/admin-ui/src/app/data/definitions/settings-definitions.ts b/admin-ui/src/app/data/definitions/settings-definitions.ts index 98cc45c7a9..58c027e970 100644 --- a/admin-ui/src/app/data/definitions/settings-definitions.ts +++ b/admin-ui/src/app/data/definitions/settings-definitions.ts @@ -155,3 +155,63 @@ export const UPDATE_TAX_CATEGORY = gql` } ${TAX_CATEGORY_FRAGMENT} `; + +export const TAX_RATE_FRAGMENT = gql` + fragment TaxRate on TaxRate { + id + name + enabled + value + category { + id + name + } + zone { + id + name + } + customerGroup { + id + name + } + } +`; + +export const GET_TAX_RATE_LIST = gql` + query GetTaxRateList($options: TaxRateListOptions) { + taxRates(options: $options) { + items { + ...TaxRate + } + totalItems + } + } + ${TAX_RATE_FRAGMENT} +`; + +export const GET_TAX_RATE = gql` + query GetTaxRate($id: ID!) { + taxRate(id: $id) { + ...TaxRate + } + } + ${TAX_RATE_FRAGMENT} +`; + +export const CREATE_TAX_RATE = gql` + mutation CreateTaxRate($input: CreateTaxRateInput!) { + createTaxRate(input: $input) { + ...TaxRate + } + } + ${TAX_RATE_FRAGMENT} +`; + +export const UPDATE_TAX_RATE = gql` + mutation UpdateTaxRate($input: UpdateTaxRateInput!) { + updateTaxRate(input: $input) { + ...TaxRate + } + } + ${TAX_RATE_FRAGMENT} +`; diff --git a/admin-ui/src/app/data/providers/data.service.mock.ts b/admin-ui/src/app/data/providers/data.service.mock.ts index 8790bdce1e..ce61632c2b 100644 --- a/admin-ui/src/app/data/providers/data.service.mock.ts +++ b/admin-ui/src/app/data/providers/data.service.mock.ts @@ -103,5 +103,9 @@ export class MockDataService implements DataServiceMock { getTaxCategory: spyQueryResult('getTaxCategory'), createTaxCategory: spyObservable('createTaxCategory'), updateTaxCategory: spyObservable('updateTaxCategory'), + getTaxRates: spyQueryResult('getTaxRates'), + getTaxRate: spyQueryResult('getTaxRate'), + createTaxRate: spyObservable('createTaxRate'), + updateTaxRate: spyObservable('updateTaxRate'), }; } diff --git a/admin-ui/src/app/data/providers/settings-data.service.ts b/admin-ui/src/app/data/providers/settings-data.service.ts index 735daadf25..7801dcc24c 100644 --- a/admin-ui/src/app/data/providers/settings-data.service.ts +++ b/admin-ui/src/app/data/providers/settings-data.service.ts @@ -4,12 +4,16 @@ import { CreateCountryInput, CreateTaxCategory, CreateTaxCategoryInput, + CreateTaxRate, + CreateTaxRateInput, CreateZone, CreateZoneInput, GetCountry, GetCountryList, GetTaxCategories, GetTaxCategory, + GetTaxRate, + GetTaxRateList, GetZone, GetZones, RemoveMembersFromZone, @@ -17,6 +21,8 @@ import { UpdateCountryInput, UpdateTaxCategory, UpdateTaxCategoryInput, + UpdateTaxRate, + UpdateTaxRateInput, UpdateZone, UpdateZoneInput, } from 'shared/generated-types'; @@ -25,15 +31,19 @@ import { ADD_MEMBERS_TO_ZONE, CREATE_COUNTRY, CREATE_TAX_CATEGORY, + CREATE_TAX_RATE, CREATE_ZONE, GET_COUNTRY, GET_COUNTRY_LIST, GET_TAX_CATEGORIES, GET_TAX_CATEGORY, + GET_TAX_RATE, + GET_TAX_RATE_LIST, GET_ZONES, REMOVE_MEMBERS_FROM_ZONE, UPDATE_COUNTRY, UPDATE_TAX_CATEGORY, + UPDATE_TAX_RATE, UPDATE_ZONE, } from '../definitions/settings-definitions'; @@ -134,4 +144,31 @@ export class SettingsDataService { }, ); } + + getTaxRates(take: number = 10, skip: number = 0) { + return this.baseDataService.query(GET_TAX_RATE_LIST, { + options: { + take, + skip, + }, + }); + } + + getTaxRate(id: string) { + return this.baseDataService.query(GET_TAX_RATE, { + id, + }); + } + + createTaxRate(input: CreateTaxRateInput) { + return this.baseDataService.mutate(CREATE_TAX_RATE, { + input, + }); + } + + updateTaxRate(input: UpdateTaxRateInput) { + return this.baseDataService.mutate(UPDATE_TAX_RATE, { + input, + }); + } } diff --git a/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts b/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts index 0acf7283c8..3412454d6c 100644 --- a/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts +++ b/admin-ui/src/app/settings/components/tax-category-detail/tax-category-detail.component.ts @@ -3,7 +3,13 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { ActivatedRoute, Router } from '@angular/router'; import { Observable } from 'rxjs'; import { mergeMap, take } from 'rxjs/operators'; -import { AdjustmentOperation, LanguageCode, TaxCategory } from 'shared/generated-types'; +import { + AdjustmentOperation, + CreateTaxCategoryInput, + LanguageCode, + TaxCategory, + UpdateTaxCategoryInput, +} from 'shared/generated-types'; import { BaseDetailComponent } from '../../../common/base-detail.component'; import { _ } from '../../../core/providers/i18n/mark-for-extraction'; @@ -59,7 +65,7 @@ export class TaxCategoryDetailComponent extends BaseDetailComponent { this.notificationService.success(_('common.notify-create-success'), { @@ -88,8 +94,8 @@ export class TaxCategoryDetailComponent extends BaseDetailComponent { const input = { id: taxCategory.id, - nadme: formValue.name, - }; + name: formValue.name, + } as UpdateTaxCategoryInput; return this.dataService.settings.updateTaxCategory(input); }), ) diff --git a/admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.html b/admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.html new file mode 100644 index 0000000000..6928a1246d --- /dev/null +++ b/admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.html @@ -0,0 +1,49 @@ + + + + + + + + + + + + +
    +
    + + + + +
    + + +
    +
    + + + + + + + + + + + +
    +
    diff --git a/admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.scss b/admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.scss new file mode 100644 index 0000000000..e69de29bb2 diff --git a/admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.ts b/admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.ts new file mode 100644 index 0000000000..99e2028152 --- /dev/null +++ b/admin-ui/src/app/settings/components/tax-rate-detail/tax-rate-detail.component.ts @@ -0,0 +1,151 @@ +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Observable } from 'rxjs'; +import { mergeMap, take } from 'rxjs/operators'; +import { + CreateTaxRateInput, + CustomerGroup, + LanguageCode, + TaxCategory, + TaxRate, + UpdateTaxRateInput, + Zone, +} from 'shared/generated-types'; + +import { BaseDetailComponent } from '../../../common/base-detail.component'; +import { _ } from '../../../core/providers/i18n/mark-for-extraction'; +import { NotificationService } from '../../../core/providers/notification/notification.service'; +import { DataService } from '../../../data/providers/data.service'; +import { ServerConfigService } from '../../../data/server-config'; + +@Component({ + selector: 'vdr-tax-rate-detail', + templateUrl: './tax-rate-detail.component.html', + styleUrls: ['./tax-rate-detail.component.scss'], + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class TaxRateDetailComponent extends BaseDetailComponent + implements OnInit, OnDestroy { + taxCategories$: Observable; + zones$: Observable; + groups$: Observable; + taxRateForm: FormGroup; + + constructor( + router: Router, + route: ActivatedRoute, + serverConfigService: ServerConfigService, + private changeDetector: ChangeDetectorRef, + private dataService: DataService, + private formBuilder: FormBuilder, + private notificationService: NotificationService, + ) { + super(route, router, serverConfigService); + this.taxRateForm = this.formBuilder.group({ + name: ['', Validators.required], + enabled: [true], + value: [0, Validators.required], + taxCategoryId: [''], + zoneId: [''], + customerGroupId: [''], + }); + } + + ngOnInit() { + this.init(); + this.taxCategories$ = this.dataService.settings + .getTaxCategories() + .mapSingle(data => data.taxCategories); + this.zones$ = this.dataService.settings.getZones().mapSingle(data => data.zones); + } + + ngOnDestroy() { + this.destroy(); + } + + saveButtonEnabled(): boolean { + return this.taxRateForm.dirty && this.taxRateForm.valid; + } + + create() { + if (!this.taxRateForm.dirty) { + return; + } + const formValue = this.taxRateForm.value; + const input = { + name: formValue.name, + enabled: formValue.enabled, + value: formValue.value, + categoryId: formValue.taxCategoryId, + zoneId: formValue.zoneId, + customerGroupId: formValue.customerGroupId, + } as CreateTaxRateInput; + this.dataService.settings.createTaxRate(input).subscribe( + data => { + this.notificationService.success(_('common.notify-create-success'), { + entity: 'TaxRate', + }); + this.taxRateForm.markAsPristine(); + this.changeDetector.markForCheck(); + this.router.navigate(['../', data.createTaxRate.id], { relativeTo: this.route }); + }, + err => { + this.notificationService.error(_('common.notify-create-error'), { + entity: 'TaxRate', + }); + }, + ); + } + + save() { + if (!this.taxRateForm.dirty) { + return; + } + const formValue = this.taxRateForm.value; + this.entity$ + .pipe( + take(1), + mergeMap(taxRate => { + const input = { + id: taxRate.id, + name: formValue.name, + enabled: formValue.enabled, + value: formValue.value, + categoryId: formValue.taxCategoryId, + zoneId: formValue.zoneId, + customerGroupId: formValue.customerGroupId, + } as UpdateTaxRateInput; + return this.dataService.settings.updateTaxRate(input); + }), + ) + .subscribe( + data => { + this.notificationService.success(_('common.notify-update-success'), { + entity: 'TaxRate', + }); + this.taxRateForm.markAsPristine(); + this.changeDetector.markForCheck(); + }, + err => { + this.notificationService.error(_('common.notify-update-error'), { + entity: 'TaxRate', + }); + }, + ); + } + + /** + * Update the form values when the entity changes. + */ + protected setFormValues(entity: TaxRate.Fragment, languageCode: LanguageCode): void { + this.taxRateForm.patchValue({ + name: entity.name, + enabled: entity.enabled, + value: entity.value, + taxCategoryId: entity.category ? entity.category.id : '', + zoneId: entity.zone ? entity.zone.id : '', + customerGroupId: entity.customerGroup ? entity.customerGroup.id : '', + }); + } +} diff --git a/admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.html b/admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.html new file mode 100644 index 0000000000..9e82b496d3 --- /dev/null +++ b/admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.html @@ -0,0 +1,35 @@ + + + + + {{ 'settings.create-new-tax-rate' | translate }} + + + + + + {{ 'common.ID' | translate }} + {{ 'common.name' | translate }} + {{ 'settings.tax-category' | translate }} + {{ 'settings.zone' | translate }} + {{ 'settings.tax-rate' | translate }} + + + {{ taxRate.id }} + {{ taxRate.name }} + {{ taxRate.category.name }} + {{ taxRate.zone.name }} + {{ taxRate.value }}% + + + + + + diff --git a/admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.scss b/admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.scss new file mode 100644 index 0000000000..e69de29bb2 diff --git a/admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.ts b/admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.ts new file mode 100644 index 0000000000..97de85b507 --- /dev/null +++ b/admin-ui/src/app/settings/components/tax-rate-list/tax-rate-list.component.ts @@ -0,0 +1,22 @@ +import { ChangeDetectionStrategy, Component } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { GetTaxRateList } from 'shared/generated-types'; + +import { BaseListComponent } from '../../../common/base-list.component'; +import { DataService } from '../../../data/providers/data.service'; + +@Component({ + selector: 'vdr-tax-rate-list', + templateUrl: './tax-rate-list.component.html', + styleUrls: ['./tax-rate-list.component.scss'], + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class TaxRateListComponent extends BaseListComponent { + constructor(private dataService: DataService, router: Router, route: ActivatedRoute) { + super(router, route); + super.setQueryFn( + (...args: any[]) => this.dataService.settings.getTaxRates(...args), + data => data.taxRates, + ); + } +} diff --git a/admin-ui/src/app/settings/providers/routing/tax-rate-resolver.ts b/admin-ui/src/app/settings/providers/routing/tax-rate-resolver.ts new file mode 100644 index 0000000000..ba50f34209 --- /dev/null +++ b/admin-ui/src/app/settings/providers/routing/tax-rate-resolver.ts @@ -0,0 +1,26 @@ +import { Injectable } from '@angular/core'; +import { TaxRate } from 'shared/generated-types'; + +import { BaseEntityResolver } from '../../../common/base-entity-resolver'; +import { DataService } from '../../../data/providers/data.service'; + +/** + * Resolves the id from the path into a Customer entity. + */ +@Injectable() +export class TaxRateResolver extends BaseEntityResolver { + constructor(private dataService: DataService) { + super( + { + __typename: 'TaxRate', + id: '', + name: '', + value: 0, + enabled: true, + category: {} as any, + zone: {} as any, + }, + id => this.dataService.settings.getTaxRate(id).mapStream(data => data.taxRate), + ); + } +} diff --git a/admin-ui/src/app/settings/settings.module.ts b/admin-ui/src/app/settings/settings.module.ts index 550add78a2..dbadfaf1ae 100644 --- a/admin-ui/src/app/settings/settings.module.ts +++ b/admin-ui/src/app/settings/settings.module.ts @@ -12,11 +12,14 @@ import { RoleDetailComponent } from './components/role-detail/role-detail.compon import { RoleListComponent } from './components/role-list/role-list.component'; import { TaxCategoryDetailComponent } from './components/tax-category-detail/tax-category-detail.component'; import { TaxCategoryListComponent } from './components/tax-category-list/tax-category-list.component'; +import { TaxRateDetailComponent } from './components/tax-rate-detail/tax-rate-detail.component'; +import { TaxRateListComponent } from './components/tax-rate-list/tax-rate-list.component'; import { ZoneSelectorDialogComponent } from './components/zone-selector-dialog/zone-selector-dialog.component'; import { AdministratorResolver } from './providers/routing/administrator-resolver'; import { CountryResolver } from './providers/routing/country-resolver'; import { RoleResolver } from './providers/routing/role-resolver'; import { TaxCategoryResolver } from './providers/routing/tax-category-resolver'; +import { TaxRateResolver } from './providers/routing/tax-rate-resolver'; import { settingsRoutes } from './settings.routes'; @NgModule({ @@ -32,8 +35,10 @@ import { settingsRoutes } from './settings.routes'; CountryListComponent, CountryDetailComponent, ZoneSelectorDialogComponent, + TaxRateListComponent, + TaxRateDetailComponent, ], entryComponents: [ZoneSelectorDialogComponent], - providers: [TaxCategoryResolver, AdministratorResolver, RoleResolver, CountryResolver], + providers: [TaxCategoryResolver, AdministratorResolver, RoleResolver, CountryResolver, TaxRateResolver], }) export class SettingsModule {} diff --git a/admin-ui/src/app/settings/settings.routes.ts b/admin-ui/src/app/settings/settings.routes.ts index a9f43a9061..7ab5d1a17a 100644 --- a/admin-ui/src/app/settings/settings.routes.ts +++ b/admin-ui/src/app/settings/settings.routes.ts @@ -1,5 +1,5 @@ import { Route } from '@angular/router'; -import { Administrator, Country, GetCountry, Role, TaxCategory } from 'shared/generated-types'; +import { Administrator, Country, GetCountry, Role, TaxCategory, TaxRate } from 'shared/generated-types'; import { createResolveData } from '../common/base-entity-resolver'; import { detailBreadcrumb } from '../common/detail-breadcrumb'; @@ -13,10 +13,13 @@ import { RoleDetailComponent } from './components/role-detail/role-detail.compon import { RoleListComponent } from './components/role-list/role-list.component'; import { TaxCategoryDetailComponent } from './components/tax-category-detail/tax-category-detail.component'; import { TaxCategoryListComponent } from './components/tax-category-list/tax-category-list.component'; +import { TaxRateDetailComponent } from './components/tax-rate-detail/tax-rate-detail.component'; +import { TaxRateListComponent } from './components/tax-rate-list/tax-rate-list.component'; import { AdministratorResolver } from './providers/routing/administrator-resolver'; import { CountryResolver } from './providers/routing/country-resolver'; import { RoleResolver } from './providers/routing/role-resolver'; import { TaxCategoryResolver } from './providers/routing/tax-category-resolver'; +import { TaxRateResolver } from './providers/routing/tax-rate-resolver'; export const settingsRoutes: Route[] = [ { @@ -60,6 +63,21 @@ export const settingsRoutes: Route[] = [ breadcrumb: taxCategoryBreadcrumb, }, }, + { + path: 'tax-rates', + component: TaxRateListComponent, + data: { + breadcrumb: _('breadcrumb.tax-rates'), + }, + }, + { + path: 'tax-rates/:id', + component: TaxRateDetailComponent, + resolve: createResolveData(TaxRateResolver), + data: { + breadcrumb: taxRateBreadcrumb, + }, + }, { path: 'countries', component: CountryListComponent, @@ -102,11 +120,21 @@ export function taxCategoryBreadcrumb(data: any, params: any) { entity: data.entity, id: params.id, breadcrumbKey: 'breadcrumb.tax-categories', - getName: promotion => promotion.name, + getName: category => category.name, route: 'tax-categories', }); } +export function taxRateBreadcrumb(data: any, params: any) { + return detailBreadcrumb({ + entity: data.entity, + id: params.id, + breadcrumbKey: 'breadcrumb.tax-rates', + getName: category => category.name, + route: 'tax-rates', + }); +} + export function countryBreadcrumb(data: any, params: any) { return detailBreadcrumb({ entity: data.entity, diff --git a/admin-ui/src/i18n-messages/en.json b/admin-ui/src/i18n-messages/en.json index 8191455b64..cab77283c4 100644 --- a/admin-ui/src/i18n-messages/en.json +++ b/admin-ui/src/i18n-messages/en.json @@ -12,7 +12,8 @@ "products": "Products", "promotions": "Promotions", "roles": "Roles", - "tax-categories": "Tax categories" + "tax-categories": "Tax categories", + "tax-rates": "" }, "catalog": { "add-asset": "Add asset", @@ -46,7 +47,6 @@ "option-group-options-tooltip": "Enter each option on a new line in the default language ({ defaultLanguage })", "original-asset-size": "Source size", "price": "Price", - "price-before-tax": "Price before tax", "product": "Product", "product-name": "Product name", "product-option-groups": "Option groups", @@ -122,7 +122,8 @@ "roles": "Roles", "sales": "Sales", "settings": "Settings", - "tax-categories": "Tax categories" + "tax-categories": "Tax categories", + "tax-rates": "Tax Rates" }, "order": { "create-new-order": "Create new order" @@ -136,6 +137,7 @@ "create-new-country": "Create new country", "create-new-role": "Create new role", "create-new-tax-category": "Create tax category", + "create-new-tax-rate": "Create new tax rate", "create-zone": "Create zone", "customer": "Customer", "delete": "Delete", @@ -146,6 +148,7 @@ "order": "Order", "password": "Password", "permissions": "Permissions", + "rate": "Rate", "read": "Read", "remove-countries-from-zone": "Remove countries from zone...", "remove-countries-from-zone-success": "Removed { countryCount } {countryCount, plural, one {country} other {countries}} from zone \"{ zoneName }\"", @@ -153,6 +156,7 @@ "roles": "Roles", "section": "Section", "select-zone": "Select zone", + "tax-category": "Tax category", "tax-rate": "Tax rate", "update": "Update", "zone": "Zone" diff --git a/schema.json b/schema.json index 70d5ec4f93..c5ce82eea3 100644 --- a/schema.json +++ b/schema.json @@ -1 +1 @@ -{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":null,"args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"adjustmentOperations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","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":"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":"zones","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AdministratorSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","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":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"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":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"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":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"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":"Adjustment","description":null,"fields":[{"name":"promotionId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"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":"PromotionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":null,"args":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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 new 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":"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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"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":"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":"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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateRoleInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"permissions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"defaultValue":null}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"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":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} +{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":null,"args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"adjustmentOperations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","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":"taxCategories","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxCategory","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxRates","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRateList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zones","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AdministratorSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","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":"TaxRateList","ofType":null}]},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"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":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"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":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderItem","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Adjustment","description":null,"fields":[{"name":"promotionId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"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":"PromotionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","description":null,"fields":null,"inputFields":[{"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":"TaxRateSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"Int","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":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":null,"args":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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 new 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":"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":"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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"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":"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":"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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateRoleInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"permissions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"defaultValue":null}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxRateInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"Int","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"categoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"zoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"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":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} diff --git a/server/src/api/api.module.ts b/server/src/api/api.module.ts index 927c1e22b5..a4c77de07a 100644 --- a/server/src/api/api.module.ts +++ b/server/src/api/api.module.ts @@ -27,6 +27,7 @@ import { ProductResolver } from './resolvers/product.resolver'; import { PromotionResolver } from './resolvers/promotion.resolver'; import { RoleResolver } from './resolvers/role.resolver'; import { TaxCategoryResolver } from './resolvers/tax-category.resolver'; +import { TaxRateResolver } from './resolvers/tax-rate.resolver'; import { ZoneResolver } from './resolvers/zone.resolver'; const exportedProviders = [ @@ -45,6 +46,7 @@ const exportedProviders = [ ProductResolver, RoleResolver, TaxCategoryResolver, + TaxRateResolver, ZoneResolver, ]; diff --git a/server/src/api/resolvers/tax-rate.resolver.ts b/server/src/api/resolvers/tax-rate.resolver.ts new file mode 100644 index 0000000000..f2af29ec9c --- /dev/null +++ b/server/src/api/resolvers/tax-rate.resolver.ts @@ -0,0 +1,44 @@ +import { Args, Mutation, Query, Resolver } from '@nestjs/graphql'; +import { + CreateTaxRateMutationArgs, + Permission, + TaxRateQueryArgs, + TaxRatesQueryArgs, + UpdateTaxRateMutationArgs, +} from 'shared/generated-types'; +import { PaginatedList } from 'shared/shared-types'; + +import { TaxRate } from '../../entity/tax-rate/tax-rate.entity'; +import { TaxRateService } from '../../service/providers/tax-rate.service'; +import { Allow } from '../common/auth-guard'; +import { RequestContext } from '../common/request-context'; +import { Ctx } from '../common/request-context.decorator'; + +@Resolver('TaxRate') +export class TaxRateResolver { + constructor(private taxRateService: TaxRateService) {} + + @Query() + @Allow(Permission.ReadSettings) + taxRates(@Ctx() ctx: RequestContext, @Args() args: TaxRatesQueryArgs): Promise> { + return this.taxRateService.findAll(args.options || undefined); + } + + @Query() + @Allow(Permission.ReadSettings) + async taxRate(@Ctx() ctx: RequestContext, @Args() args: TaxRateQueryArgs): Promise { + return this.taxRateService.findOne(args.id); + } + + @Mutation() + @Allow(Permission.CreateSettings) + async createTaxRate(@Args() args: CreateTaxRateMutationArgs): Promise { + return this.taxRateService.create(args.input); + } + + @Mutation() + @Allow(Permission.UpdateSettings) + async updateTaxRate(@Args() args: UpdateTaxRateMutationArgs): Promise { + return this.taxRateService.update(args.input); + } +} diff --git a/server/src/api/types/tax-rate.api.graphql b/server/src/api/types/tax-rate.api.graphql new file mode 100644 index 0000000000..b8e6cfbcd6 --- /dev/null +++ b/server/src/api/types/tax-rate.api.graphql @@ -0,0 +1,39 @@ +type Query { + taxRates(options: TaxRateListOptions): TaxRateList! + taxRate(id: ID!): TaxRate +} + +type Mutation { + "Create a new TaxRate" + createTaxRate(input: CreateTaxRateInput!): TaxRate! + "Update an existing TaxRate" + updateTaxRate(input: UpdateTaxRateInput!): TaxRate! +} + +type TaxRateList implements PaginatedList { + items: [TaxRate!]! + totalItems: Int! +} + +input TaxRateListOptions { + take: Int + skip: Int + sort: TaxRateSortParameter + filter: TaxRateFilterParameter +} + +input TaxRateSortParameter { + id: SortOrder + createdAt: SortOrder + updatedAt: SortOrder + name: SortOrder + enabled: SortOrder +} + +input TaxRateFilterParameter { + code: StringOperators + name: StringOperators + enabled: BooleanOperators + createdAt: DateOperators + updatedAt: DateOperators +} diff --git a/server/src/entity/order-item/order-item.entity.ts b/server/src/entity/order-item/order-item.entity.ts index 7f2a20d701..5aa592b9b3 100644 --- a/server/src/entity/order-item/order-item.entity.ts +++ b/server/src/entity/order-item/order-item.entity.ts @@ -14,6 +14,5 @@ export class OrderItem extends VendureEntity { @ManyToOne(type => OrderLine, line => line.items) line: OrderLine; - /*@Column('simple-json') - pendingAdjustments: Adjustment[];*/ + @Column('simple-json') pendingAdjustments: Adjustment[]; } diff --git a/server/src/entity/role/role.graphql b/server/src/entity/role/role.graphql index 1017e04673..dfc62abfb5 100644 --- a/server/src/entity/role/role.graphql +++ b/server/src/entity/role/role.graphql @@ -1,5 +1,7 @@ type Role implements Node { id: ID! + createdAt: DateTime! + updatedAt: DateTime! code: String! description: String! permissions: [Permission!]! diff --git a/server/src/entity/tax-category/tax-category.graphql b/server/src/entity/tax-category/tax-category.graphql index 62eae929b5..fc43fa6b8a 100644 --- a/server/src/entity/tax-category/tax-category.graphql +++ b/server/src/entity/tax-category/tax-category.graphql @@ -1,5 +1,7 @@ type TaxCategory implements Node { id: ID! + createdAt: DateTime! + updatedAt: DateTime! name: String! } diff --git a/server/src/entity/tax-rate/tax-rate.entity.ts b/server/src/entity/tax-rate/tax-rate.entity.ts index 98816b4fd5..784cb769bf 100644 --- a/server/src/entity/tax-rate/tax-rate.entity.ts +++ b/server/src/entity/tax-rate/tax-rate.entity.ts @@ -1,4 +1,4 @@ -import { AdjustmentOperation, AdjustmentType } from 'shared/generated-types'; +import { AdjustmentOperation } from 'shared/generated-types'; import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, JoinTable, ManyToMany, ManyToOne } from 'typeorm'; @@ -19,6 +19,8 @@ export class TaxRate extends VendureEntity implements AdjustmentSource { @Column() enabled: boolean; + @Column() value: number; + @ManyToOne(type => TaxCategory) category: TaxCategory; diff --git a/server/src/entity/tax-rate/tax-rate.graphql b/server/src/entity/tax-rate/tax-rate.graphql new file mode 100644 index 0000000000..937ebc009c --- /dev/null +++ b/server/src/entity/tax-rate/tax-rate.graphql @@ -0,0 +1,30 @@ +type TaxRate implements Node { + id: ID! + createdAt: DateTime! + updatedAt: DateTime! + name: String! + enabled: Boolean! + value: Int! + category: TaxCategory! + zone: Zone! + customerGroup: CustomerGroup +} + +input CreateTaxRateInput { + name: String! + enabled: Boolean! + value: Int! + categoryId: ID! + zoneId: ID! + customerGroupId: ID +} + +input UpdateTaxRateInput { + id: ID! + name: String + value: Int + enabled: Boolean + categoryId: ID + zoneId: ID + customerGroupId: ID +} diff --git a/server/src/service/providers/order.service.ts b/server/src/service/providers/order.service.ts index fefe526965..7ea2f0675e 100644 --- a/server/src/service/providers/order.service.ts +++ b/server/src/service/providers/order.service.ts @@ -96,7 +96,11 @@ export class OrderService { orderLine.items = []; } for (let i = currentQuantity; i < quantity; i++) { - const orderItem = await this.connection.getRepository(OrderItem).save(new OrderItem()); + const orderItem = await this.connection.getRepository(OrderItem).save( + new OrderItem({ + pendingAdjustments: [], + }), + ); orderLine.items.push(orderItem); } } else if (quantity < currentQuantity) { diff --git a/server/src/service/providers/tax-rate.service.ts b/server/src/service/providers/tax-rate.service.ts new file mode 100644 index 0000000000..a277b65ebb --- /dev/null +++ b/server/src/service/providers/tax-rate.service.ts @@ -0,0 +1,98 @@ +import { InjectConnection } from '@nestjs/typeorm'; +import { CreateTaxRateInput, UpdateTaxRateInput } from 'shared/generated-types'; +import { ID, PaginatedList } from 'shared/shared-types'; +import { Connection } from 'typeorm'; + +import { ListQueryOptions } from '../../common/types/common-types'; +import { assertFound } from '../../common/utils'; +import { CustomerGroup } from '../../entity/customer-group/customer-group.entity'; +import { TaxCategory } from '../../entity/tax-category/tax-category.entity'; +import { TaxRate } from '../../entity/tax-rate/tax-rate.entity'; +import { Zone } from '../../entity/zone/zone.entity'; +import { I18nError } from '../../i18n/i18n-error'; +import { buildListQuery } from '../helpers/build-list-query'; +import { patchEntity } from '../helpers/patch-entity'; + +export class TaxRateService { + constructor(@InjectConnection() private connection: Connection) {} + + findAll(options?: ListQueryOptions): Promise> { + return buildListQuery(this.connection, TaxRate, options, ['category', 'zone', 'customerGroup']) + .getManyAndCount() + .then(([items, totalItems]) => ({ + items, + totalItems, + })); + } + + findOne(taxRateId: ID): Promise { + return this.connection.manager.findOne(TaxRate, taxRateId, { + relations: ['category', 'zone', 'customerGroup'], + }); + } + async create(input: CreateTaxRateInput): Promise { + const taxRate = new TaxRate(input); + taxRate.category = await this.getTaxCategoryOrThrow(input.categoryId); + taxRate.zone = await this.getZoneOrThrow(input.zoneId); + if (input.customerGroupId) { + taxRate.customerGroup = await this.getCustomerGroupOrThrow(input.customerGroupId); + } + const newTaxRate = await this.connection.getRepository(TaxRate).save(taxRate); + return assertFound(this.findOne(newTaxRate.id)); + } + + async update(input: UpdateTaxRateInput): Promise { + const taxRate = await this.findOne(input.id); + if (!taxRate) { + throw new I18nError(`error.entity-with-id-not-found`, { + entityName: 'TaxRate', + id: input.id, + }); + } + const updatedTaxRate = patchEntity(taxRate, input); + if (input.categoryId) { + taxRate.category = await this.getTaxCategoryOrThrow(input.categoryId); + } + if (input.zoneId) { + taxRate.category = await this.getZoneOrThrow(input.zoneId); + } + if (input.customerGroupId) { + taxRate.customerGroup = await this.getCustomerGroupOrThrow(input.customerGroupId); + } + await this.connection.getRepository(TaxRate).save(updatedTaxRate); + return assertFound(this.findOne(taxRate.id)); + } + + private async getTaxCategoryOrThrow(id: ID): Promise { + const taxCategory = await this.connection.getRepository(TaxCategory).findOne(id); + if (!taxCategory) { + throw new I18nError(`error.entity-with-id-not-found`, { + entityName: 'TaxCategory', + id, + }); + } + return taxCategory; + } + + private async getZoneOrThrow(id: ID): Promise { + const zone = await this.connection.getRepository(Zone).findOne(id); + if (!zone) { + throw new I18nError(`error.entity-with-id-not-found`, { + entityName: 'Zone', + id, + }); + } + return zone; + } + + private async getCustomerGroupOrThrow(id: ID): Promise { + const group = await this.connection.getRepository(CustomerGroup).findOne(id); + if (!group) { + throw new I18nError(`error.entity-with-id-not-found`, { + entityName: 'CustomerGroup', + id, + }); + } + return group; + } +} diff --git a/server/src/service/service.module.ts b/server/src/service/service.module.ts index 8f9ac34453..7c0cab3f9e 100644 --- a/server/src/service/service.module.ts +++ b/server/src/service/service.module.ts @@ -24,6 +24,7 @@ import { ProductService } from './providers/product.service'; import { PromotionService } from './providers/promotion.service'; import { RoleService } from './providers/role.service'; import { TaxCategoryService } from './providers/tax-category.service'; +import { TaxRateService } from './providers/tax-rate.service'; import { ZoneService } from './providers/zone.service'; const exportedProviders = [ @@ -44,6 +45,7 @@ const exportedProviders = [ ProductVariantService, RoleService, TaxCategoryService, + TaxRateService, ZoneService, ]; diff --git a/shared/generated-types.ts b/shared/generated-types.ts index e5a6bc39bb..f2cd5a09f5 100644 --- a/shared/generated-types.ts +++ b/shared/generated-types.ts @@ -67,6 +67,8 @@ export interface Query { role?: Role | null; taxCategories: TaxCategory[]; taxCategory?: TaxCategory | null; + taxRates: TaxRateList; + taxRate?: TaxRate | null; zones: Zone[]; zone?: Zone | null; networkStatus: NetworkStatus; @@ -102,6 +104,8 @@ export interface User extends Node { export interface Role extends Node { id: string; + createdAt: DateTime; + updatedAt: DateTime; code: string; description: string; permissions: Permission[]; @@ -268,6 +272,7 @@ export interface OrderLine extends Node { featuredAsset?: Asset | null; unitPrice: number; quantity: number; + items: OrderItem[]; totalPrice: number; order: Order; } @@ -289,6 +294,8 @@ export interface ProductVariant extends Node { export interface TaxCategory extends Node { id: string; + createdAt: DateTime; + updatedAt: DateTime; name: string; } @@ -319,6 +326,12 @@ export interface ProductVariantTranslation { name: string; } +export interface OrderItem extends Node { + id: string; + createdAt: DateTime; + updatedAt: DateTime; +} + export interface Adjustment { promotionId: string; description: string; @@ -429,6 +442,23 @@ export interface RoleList extends PaginatedList { totalItems: number; } +export interface TaxRateList extends PaginatedList { + items: TaxRate[]; + totalItems: number; +} + +export interface TaxRate extends Node { + id: string; + createdAt: DateTime; + updatedAt: DateTime; + name: string; + enabled: boolean; + value: number; + category: TaxCategory; + zone: Zone; + customerGroup?: CustomerGroup | null; +} + export interface Zone extends Node { id: string; createdAt: DateTime; @@ -489,6 +519,8 @@ export interface Mutation { updateRole: Role; createTaxCategory: TaxCategory; updateTaxCategory: TaxCategory; + createTaxRate: TaxRate; + updateTaxRate: TaxRate; createZone: Zone; updateZone: Zone; addMembersToZone: Zone; @@ -740,6 +772,29 @@ export interface RoleFilterParameter { updatedAt?: DateOperators | null; } +export interface TaxRateListOptions { + take?: number | null; + skip?: number | null; + sort?: TaxRateSortParameter | null; + filter?: TaxRateFilterParameter | null; +} + +export interface TaxRateSortParameter { + id?: SortOrder | null; + createdAt?: SortOrder | null; + updatedAt?: SortOrder | null; + name?: SortOrder | null; + enabled?: SortOrder | null; +} + +export interface TaxRateFilterParameter { + code?: StringOperators | null; + name?: StringOperators | null; + enabled?: BooleanOperators | null; + createdAt?: DateOperators | null; + updatedAt?: DateOperators | null; +} + export interface CreateAdministratorInput { firstName: string; lastName: string; @@ -995,6 +1050,25 @@ export interface UpdateTaxCategoryInput { name?: string | null; } +export interface CreateTaxRateInput { + name: string; + enabled: boolean; + value: number; + categoryId: string; + zoneId: string; + customerGroupId?: string | null; +} + +export interface UpdateTaxRateInput { + id: string; + name?: string | null; + value?: number | null; + enabled?: boolean | null; + categoryId?: string | null; + zoneId?: string | null; + customerGroupId?: string | null; +} + export interface CreateZoneInput { name: string; memberIds?: string[] | null; @@ -1106,6 +1180,12 @@ export interface RoleQueryArgs { export interface TaxCategoryQueryArgs { id: string; } +export interface TaxRatesQueryArgs { + options?: TaxRateListOptions | null; +} +export interface TaxRateQueryArgs { + id: string; +} export interface ZoneQueryArgs { id: string; } @@ -1232,6 +1312,12 @@ export interface CreateTaxCategoryMutationArgs { export interface UpdateTaxCategoryMutationArgs { input: UpdateTaxCategoryInput; } +export interface CreateTaxRateMutationArgs { + input: CreateTaxRateInput; +} +export interface UpdateTaxRateMutationArgs { + input: UpdateTaxRateInput; +} export interface CreateZoneMutationArgs { input: CreateZoneInput; } @@ -1513,6 +1599,8 @@ export namespace QueryResolvers { role?: RoleResolver; taxCategories?: TaxCategoriesResolver; taxCategory?: TaxCategoryResolver; + taxRates?: TaxRatesResolver; + taxRate?: TaxRateResolver; zones?: ZonesResolver; zone?: ZoneResolver; networkStatus?: NetworkStatusResolver; @@ -1771,6 +1859,26 @@ export namespace QueryResolvers { id: string; } + export type TaxRatesResolver = Resolver< + R, + Parent, + Context, + TaxRatesArgs + >; + export interface TaxRatesArgs { + options?: TaxRateListOptions | null; + } + + export type TaxRateResolver = Resolver< + R, + Parent, + Context, + TaxRateArgs + >; + export interface TaxRateArgs { + id: string; + } + export type ZonesResolver = Resolver; export type ZoneResolver = Resolver< R, @@ -1862,6 +1970,8 @@ export namespace UserResolvers { export namespace RoleResolvers { export interface Resolvers { id?: IdResolver; + createdAt?: CreatedAtResolver; + updatedAt?: UpdatedAtResolver; code?: CodeResolver; description?: DescriptionResolver; permissions?: PermissionsResolver; @@ -1869,6 +1979,8 @@ export namespace RoleResolvers { } export type IdResolver = Resolver; + export type CreatedAtResolver = Resolver; + export type UpdatedAtResolver = Resolver; export type CodeResolver = Resolver; export type DescriptionResolver = Resolver; export type PermissionsResolver = Resolver< @@ -2304,6 +2416,7 @@ export namespace OrderLineResolvers { featuredAsset?: FeaturedAssetResolver; unitPrice?: UnitPriceResolver; quantity?: QuantityResolver; + items?: ItemsResolver; totalPrice?: TotalPriceResolver; order?: OrderResolver; } @@ -2323,6 +2436,7 @@ export namespace OrderLineResolvers { >; export type UnitPriceResolver = Resolver; export type QuantityResolver = Resolver; + export type ItemsResolver = Resolver; export type TotalPriceResolver = Resolver; export type OrderResolver = Resolver; } @@ -2384,10 +2498,14 @@ export namespace ProductVariantResolvers { export namespace TaxCategoryResolvers { export interface Resolvers { id?: IdResolver; + createdAt?: CreatedAtResolver; + updatedAt?: UpdatedAtResolver; name?: NameResolver; } export type IdResolver = Resolver; + export type CreatedAtResolver = Resolver; + export type UpdatedAtResolver = Resolver; export type NameResolver = Resolver; } @@ -2465,6 +2583,18 @@ export namespace ProductVariantTranslationResolvers { export type NameResolver = Resolver; } +export namespace OrderItemResolvers { + export interface Resolvers { + id?: IdResolver; + createdAt?: CreatedAtResolver; + updatedAt?: UpdatedAtResolver; + } + + export type IdResolver = Resolver; + export type CreatedAtResolver = Resolver; + export type UpdatedAtResolver = Resolver; +} + export namespace AdjustmentResolvers { export interface Resolvers { promotionId?: PromotionIdResolver; @@ -2769,6 +2899,44 @@ export namespace RoleListResolvers { export type TotalItemsResolver = Resolver; } +export namespace TaxRateListResolvers { + export interface Resolvers { + items?: ItemsResolver; + totalItems?: TotalItemsResolver; + } + + export type ItemsResolver = Resolver; + export type TotalItemsResolver = Resolver; +} + +export namespace TaxRateResolvers { + export interface Resolvers { + id?: IdResolver; + createdAt?: CreatedAtResolver; + updatedAt?: UpdatedAtResolver; + name?: NameResolver; + enabled?: EnabledResolver; + value?: ValueResolver; + category?: CategoryResolver; + zone?: ZoneResolver; + customerGroup?: CustomerGroupResolver; + } + + export type IdResolver = Resolver; + export type CreatedAtResolver = Resolver; + export type UpdatedAtResolver = Resolver; + export type NameResolver = Resolver; + export type EnabledResolver = Resolver; + export type ValueResolver = Resolver; + export type CategoryResolver = Resolver; + export type ZoneResolver = Resolver; + export type CustomerGroupResolver = Resolver< + R, + Parent, + Context + >; +} + export namespace ZoneResolvers { export interface Resolvers { id?: IdResolver; @@ -2864,6 +3032,8 @@ export namespace MutationResolvers { updateRole?: UpdateRoleResolver; createTaxCategory?: CreateTaxCategoryResolver; updateTaxCategory?: UpdateTaxCategoryResolver; + createTaxRate?: CreateTaxRateResolver; + updateTaxRate?: UpdateTaxRateResolver; createZone?: CreateZoneResolver; updateZone?: UpdateZoneResolver; addMembersToZone?: AddMembersToZoneResolver; @@ -3247,6 +3417,26 @@ export namespace MutationResolvers { input: UpdateTaxCategoryInput; } + export type CreateTaxRateResolver = Resolver< + R, + Parent, + Context, + CreateTaxRateArgs + >; + export interface CreateTaxRateArgs { + input: CreateTaxRateInput; + } + + export type UpdateTaxRateResolver = Resolver< + R, + Parent, + Context, + UpdateTaxRateArgs + >; + export interface UpdateTaxRateArgs { + input: UpdateTaxRateInput; + } + export type CreateZoneResolver = Resolver< R, Parent, @@ -4240,6 +4430,64 @@ export namespace UpdateTaxCategory { export type UpdateTaxCategory = TaxCategory.Fragment; } +export namespace GetTaxRateList { + export type Variables = { + options?: TaxRateListOptions | null; + }; + + export type Query = { + __typename?: 'Query'; + taxRates: TaxRates; + }; + + export type TaxRates = { + __typename?: 'TaxRateList'; + items: Items[]; + totalItems: number; + }; + + export type Items = TaxRate.Fragment; +} + +export namespace GetTaxRate { + export type Variables = { + id: string; + }; + + export type Query = { + __typename?: 'Query'; + taxRate?: TaxRate | null; + }; + + export type TaxRate = TaxRate.Fragment; +} + +export namespace CreateTaxRate { + export type Variables = { + input: CreateTaxRateInput; + }; + + export type Mutation = { + __typename?: 'Mutation'; + createTaxRate: CreateTaxRate; + }; + + export type CreateTaxRate = TaxRate.Fragment; +} + +export namespace UpdateTaxRate { + export type Variables = { + input: UpdateTaxRateInput; + }; + + export type Mutation = { + __typename?: 'Mutation'; + updateTaxRate: UpdateTaxRate; + }; + + export type UpdateTaxRate = TaxRate.Fragment; +} + export namespace Administrator { export type Fragment = { __typename?: 'Administrator'; @@ -4536,3 +4784,34 @@ export namespace TaxCategory { name: string; }; } + +export namespace TaxRate { + export type Fragment = { + __typename?: 'TaxRate'; + id: string; + name: string; + enabled: boolean; + value: number; + category: Category; + zone: Zone; + customerGroup?: CustomerGroup | null; + }; + + export type Category = { + __typename?: 'TaxCategory'; + id: string; + name: string; + }; + + export type Zone = { + __typename?: 'Zone'; + id: string; + name: string; + }; + + export type CustomerGroup = { + __typename?: 'CustomerGroup'; + id: string; + name: string; + }; +} From ef68c26796285cc34d00338d3ebe90aecb4bfa26 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Mon, 15 Oct 2018 17:34:01 +0200 Subject: [PATCH 4/8] feat: Implement Channel API & admin-ui list/detail --- .../main-nav/main-nav.component.html | 7 + .../data/definitions/settings-definitions.ts | 53 ++++ .../app/data/providers/data.service.mock.ts | 4 + .../data/providers/settings-data.service.ts | 32 +++ .../channel-detail.component.html | 38 +++ .../channel-detail.component.scss | 0 .../channel-detail.component.ts | 128 +++++++++ .../channel-list/channel-list.component.html | 24 ++ .../channel-list/channel-list.component.scss | 0 .../channel-list/channel-list.component.ts | 19 ++ .../providers/routing/channel-resolver.ts | 27 ++ admin-ui/src/app/settings/settings.module.ts | 14 +- admin-ui/src/app/settings/settings.routes.ts | 28 +- admin-ui/src/i18n-messages/en.json | 7 +- schema.json | 2 +- server/mock-data/data-sources/countries.json | 2 +- server/mock-data/mock-data.service.ts | 93 +++++-- server/mock-data/populate.ts | 10 +- server/src/api/resolvers/channel.resolver.ts | 33 ++- server/src/api/types/channel.api.graphql | 11 +- server/src/entity/channel/channel.entity.ts | 9 +- server/src/entity/channel/channel.graphql | 20 ++ .../src/service/providers/channel.service.ts | 58 +++- shared/generated-types.ts | 254 ++++++++++++++---- 24 files changed, 775 insertions(+), 98 deletions(-) create mode 100644 admin-ui/src/app/settings/components/channel-detail/channel-detail.component.html create mode 100644 admin-ui/src/app/settings/components/channel-detail/channel-detail.component.scss create mode 100644 admin-ui/src/app/settings/components/channel-detail/channel-detail.component.ts create mode 100644 admin-ui/src/app/settings/components/channel-list/channel-list.component.html create mode 100644 admin-ui/src/app/settings/components/channel-list/channel-list.component.scss create mode 100644 admin-ui/src/app/settings/components/channel-list/channel-list.component.ts create mode 100644 admin-ui/src/app/settings/providers/routing/channel-resolver.ts diff --git a/admin-ui/src/app/core/components/main-nav/main-nav.component.html b/admin-ui/src/app/core/components/main-nav/main-nav.component.html index 18e3a2df1a..aa9d8e7cdb 100644 --- a/admin-ui/src/app/core/components/main-nav/main-nav.component.html +++ b/admin-ui/src/app/core/components/main-nav/main-nav.component.html @@ -68,6 +68,13 @@ {{ 'nav.administrators' | translate }}
  • +
  • + + {{ 'nav.channels' | translate }} + +
  • (GET_CHANNELS); + } + + getChannel(id: string) { + return this.baseDataService.query(GET_CHANNEL, { + id, + }); + } + + createChannel(input: CreateChannelInput) { + return this.baseDataService.mutate(CREATE_CHANNEL, { + input, + }); + } + + updateChannel(input: UpdateChannelInput) { + return this.baseDataService.mutate(UPDATE_CHANNEL, { + input, + }); + } } diff --git a/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.html b/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.html new file mode 100644 index 0000000000..91d08471df --- /dev/null +++ b/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.html @@ -0,0 +1,38 @@ + + + + + + + + + + + + +
    +
    + + + + + + + + + +
    +
    diff --git a/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.scss b/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.scss new file mode 100644 index 0000000000..e69de29bb2 diff --git a/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.ts b/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.ts new file mode 100644 index 0000000000..5c9ab4dd31 --- /dev/null +++ b/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.ts @@ -0,0 +1,128 @@ +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Observable } from 'rxjs'; +import { mergeMap, take } from 'rxjs/operators'; +import { Channel, CreateChannelInput, LanguageCode, UpdateChannelInput, Zone } from 'shared/generated-types'; + +import { BaseDetailComponent } from '../../../common/base-detail.component'; +import { _ } from '../../../core/providers/i18n/mark-for-extraction'; +import { NotificationService } from '../../../core/providers/notification/notification.service'; +import { DataService } from '../../../data/providers/data.service'; +import { ServerConfigService } from '../../../data/server-config'; + +@Component({ + selector: 'vdr-channel-detail', + templateUrl: './channel-detail.component.html', + styleUrls: ['./channel-detail.component.scss'], + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class ChannelDetailComponent extends BaseDetailComponent + implements OnInit, OnDestroy { + zones$: Observable; + channelForm: FormGroup; + + constructor( + router: Router, + route: ActivatedRoute, + serverConfigService: ServerConfigService, + private changeDetector: ChangeDetectorRef, + private dataService: DataService, + private formBuilder: FormBuilder, + private notificationService: NotificationService, + ) { + super(route, router, serverConfigService); + this.channelForm = this.formBuilder.group({ + code: ['', Validators.required], + token: ['', Validators.required], + defaultShippingZoneId: [''], + defaultTaxZoneId: [''], + }); + } + + ngOnInit() { + this.init(); + this.zones$ = this.dataService.settings.getZones().mapSingle(data => data.zones); + } + + ngOnDestroy() { + this.destroy(); + } + + saveButtonEnabled(): boolean { + return this.channelForm.dirty && this.channelForm.valid; + } + + create() { + if (!this.channelForm.dirty) { + return; + } + const formValue = this.channelForm.value; + const input = { + code: formValue.code, + defaultShippingZoneId: formValue.defaultShippingZoneId, + defaultTaxZoneId: formValue.defaultTaxZoneId, + } as CreateChannelInput; + this.dataService.settings.createChannel(input).subscribe( + data => { + this.notificationService.success(_('common.notify-create-success'), { + entity: 'Channel', + }); + this.channelForm.markAsPristine(); + this.changeDetector.markForCheck(); + this.router.navigate(['../', data.createChannel.id], { relativeTo: this.route }); + }, + err => { + this.notificationService.error(_('common.notify-create-error'), { + entity: 'Channel', + }); + }, + ); + } + + save() { + if (!this.channelForm.dirty) { + return; + } + const formValue = this.channelForm.value; + this.entity$ + .pipe( + take(1), + mergeMap(channel => { + const input = { + id: channel.id, + code: formValue.code, + defaultShippingZoneId: formValue.defaultShippingZoneId, + defaultTaxZoneId: formValue.defaultTaxZoneId, + } as UpdateChannelInput; + return this.dataService.settings.updateChannel(input); + }), + ) + .subscribe( + data => { + this.notificationService.success(_('common.notify-update-success'), { + entity: 'Channel', + }); + this.channelForm.markAsPristine(); + this.changeDetector.markForCheck(); + }, + err => { + this.notificationService.error(_('common.notify-update-error'), { + entity: 'Channel', + }); + }, + ); + } + + /** + * Update the form values when the entity changes. + */ + protected setFormValues(entity: Channel.Fragment, languageCode: LanguageCode): void { + this.channelForm.patchValue({ + code: entity.code, + token: entity.token, + defaultShippingZoneId: entity.defaultShippingZone ? entity.defaultShippingZone.id : '', + defaultTaxZoneId: entity.defaultTaxZone ? entity.defaultTaxZone.id : '', + }); + } +} diff --git a/admin-ui/src/app/settings/components/channel-list/channel-list.component.html b/admin-ui/src/app/settings/components/channel-list/channel-list.component.html new file mode 100644 index 0000000000..4867a33322 --- /dev/null +++ b/admin-ui/src/app/settings/components/channel-list/channel-list.component.html @@ -0,0 +1,24 @@ + + +
    + + {{ 'settings.create-new-channel' | translate }} + + + + + + {{ 'common.ID' | translate }} + {{ 'common.code' | translate }} + + + {{ channel.id }} + {{ channel.code }} + + + + + + diff --git a/admin-ui/src/app/settings/components/channel-list/channel-list.component.scss b/admin-ui/src/app/settings/components/channel-list/channel-list.component.scss new file mode 100644 index 0000000000..e69de29bb2 diff --git a/admin-ui/src/app/settings/components/channel-list/channel-list.component.ts b/admin-ui/src/app/settings/components/channel-list/channel-list.component.ts new file mode 100644 index 0000000000..59157b76e6 --- /dev/null +++ b/admin-ui/src/app/settings/components/channel-list/channel-list.component.ts @@ -0,0 +1,19 @@ +import { ChangeDetectionStrategy, Component } from '@angular/core'; +import { Observable } from 'rxjs'; +import { Channel } from 'shared/generated-types'; + +import { DataService } from '../../../data/providers/data.service'; + +@Component({ + selector: 'vdr-channel-list', + templateUrl: './channel-list.component.html', + styleUrls: ['./channel-list.component.scss'], + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class ChannelListComponent { + channels$: Observable; + + constructor(private dataService: DataService) { + this.channels$ = this.dataService.settings.getChannels().mapStream(data => data.channels); + } +} diff --git a/admin-ui/src/app/settings/providers/routing/channel-resolver.ts b/admin-ui/src/app/settings/providers/routing/channel-resolver.ts new file mode 100644 index 0000000000..f394d6c039 --- /dev/null +++ b/admin-ui/src/app/settings/providers/routing/channel-resolver.ts @@ -0,0 +1,27 @@ +import { Injectable } from '@angular/core'; +import { Channel } from 'shared/generated-types'; + +import { BaseEntityResolver } from '../../../common/base-entity-resolver'; +import { getDefaultLanguage } from '../../../common/utilities/get-default-language'; +import { DataService } from '../../../data/providers/data.service'; + +/** + * Resolves the id from the path into a Customer entity. + */ +@Injectable() +export class ChannelResolver extends BaseEntityResolver { + constructor(private dataService: DataService) { + super( + { + __typename: 'Channel', + id: '', + code: '', + token: '', + defaultLanguageCode: getDefaultLanguage(), + defaultShippingZone: {} as any, + defaultTaxZone: {} as any, + }, + id => this.dataService.settings.getChannel(id).mapStream(data => data.channel), + ); + } +} diff --git a/admin-ui/src/app/settings/settings.module.ts b/admin-ui/src/app/settings/settings.module.ts index dbadfaf1ae..b6b02fbe95 100644 --- a/admin-ui/src/app/settings/settings.module.ts +++ b/admin-ui/src/app/settings/settings.module.ts @@ -5,6 +5,8 @@ import { SharedModule } from '../shared/shared.module'; import { AdminDetailComponent } from './components/admin-detail/admin-detail.component'; import { AdministratorListComponent } from './components/administrator-list/administrator-list.component'; +import { ChannelDetailComponent } from './components/channel-detail/channel-detail.component'; +import { ChannelListComponent } from './components/channel-list/channel-list.component'; import { CountryDetailComponent } from './components/country-detail/country-detail.component'; import { CountryListComponent } from './components/country-list/country-list.component'; import { PermissionGridComponent } from './components/permission-grid/permission-grid.component'; @@ -16,6 +18,7 @@ import { TaxRateDetailComponent } from './components/tax-rate-detail/tax-rate-de import { TaxRateListComponent } from './components/tax-rate-list/tax-rate-list.component'; import { ZoneSelectorDialogComponent } from './components/zone-selector-dialog/zone-selector-dialog.component'; import { AdministratorResolver } from './providers/routing/administrator-resolver'; +import { ChannelResolver } from './providers/routing/channel-resolver'; import { CountryResolver } from './providers/routing/country-resolver'; import { RoleResolver } from './providers/routing/role-resolver'; import { TaxCategoryResolver } from './providers/routing/tax-category-resolver'; @@ -37,8 +40,17 @@ import { settingsRoutes } from './settings.routes'; ZoneSelectorDialogComponent, TaxRateListComponent, TaxRateDetailComponent, + ChannelListComponent, + ChannelDetailComponent, ], entryComponents: [ZoneSelectorDialogComponent], - providers: [TaxCategoryResolver, AdministratorResolver, RoleResolver, CountryResolver, TaxRateResolver], + providers: [ + TaxCategoryResolver, + AdministratorResolver, + RoleResolver, + CountryResolver, + TaxRateResolver, + ChannelResolver, + ], }) export class SettingsModule {} diff --git a/admin-ui/src/app/settings/settings.routes.ts b/admin-ui/src/app/settings/settings.routes.ts index 7ab5d1a17a..dbb56b9437 100644 --- a/admin-ui/src/app/settings/settings.routes.ts +++ b/admin-ui/src/app/settings/settings.routes.ts @@ -1,5 +1,5 @@ import { Route } from '@angular/router'; -import { Administrator, Country, GetCountry, Role, TaxCategory, TaxRate } from 'shared/generated-types'; +import { Administrator, Channel, Country, Role, TaxCategory, TaxRate } from 'shared/generated-types'; import { createResolveData } from '../common/base-entity-resolver'; import { detailBreadcrumb } from '../common/detail-breadcrumb'; @@ -7,6 +7,8 @@ import { _ } from '../core/providers/i18n/mark-for-extraction'; import { AdminDetailComponent } from './components/admin-detail/admin-detail.component'; import { AdministratorListComponent } from './components/administrator-list/administrator-list.component'; +import { ChannelDetailComponent } from './components/channel-detail/channel-detail.component'; +import { ChannelListComponent } from './components/channel-list/channel-list.component'; import { CountryDetailComponent } from './components/country-detail/country-detail.component'; import { CountryListComponent } from './components/country-list/country-list.component'; import { RoleDetailComponent } from './components/role-detail/role-detail.component'; @@ -16,6 +18,7 @@ import { TaxCategoryListComponent } from './components/tax-category-list/tax-cat import { TaxRateDetailComponent } from './components/tax-rate-detail/tax-rate-detail.component'; import { TaxRateListComponent } from './components/tax-rate-list/tax-rate-list.component'; import { AdministratorResolver } from './providers/routing/administrator-resolver'; +import { ChannelResolver } from './providers/routing/channel-resolver'; import { CountryResolver } from './providers/routing/country-resolver'; import { RoleResolver } from './providers/routing/role-resolver'; import { TaxCategoryResolver } from './providers/routing/tax-category-resolver'; @@ -35,6 +38,19 @@ export const settingsRoutes: Route[] = [ resolve: createResolveData(AdministratorResolver), data: { breadcrumb: administratorBreadcrumb }, }, + { + path: 'channels', + component: ChannelListComponent, + data: { + breadcrumb: _('breadcrumb.channels'), + }, + }, + { + path: 'channels/:id', + component: ChannelDetailComponent, + resolve: createResolveData(ChannelResolver), + data: { breadcrumb: channelBreadcrumb }, + }, { path: 'roles', component: RoleListComponent, @@ -105,6 +121,16 @@ export function administratorBreadcrumb(data: any, params: any) { }); } +export function channelBreadcrumb(data: any, params: any) { + return detailBreadcrumb({ + entity: data.entity, + id: params.id, + breadcrumbKey: 'breadcrumb.channels', + getName: channel => channel.code, + route: 'channels', + }); +} + export function roleBreadcrumb(data: any, params: any) { return detailBreadcrumb({ entity: data.entity, diff --git a/admin-ui/src/i18n-messages/en.json b/admin-ui/src/i18n-messages/en.json index cab77283c4..4ef73faf9f 100644 --- a/admin-ui/src/i18n-messages/en.json +++ b/admin-ui/src/i18n-messages/en.json @@ -5,6 +5,7 @@ "breadcrumb": { "administrators": "Administrators", "assets": "Assets", + "channels": "Channels", "countries": "Countries", "dashboard": "Dashboard", "facets": "Facets", @@ -13,7 +14,7 @@ "promotions": "Promotions", "roles": "Roles", "tax-categories": "Tax categories", - "tax-rates": "" + "tax-rates": "Tax rates" }, "catalog": { "add-asset": "Add asset", @@ -113,6 +114,7 @@ "assets": "Assets", "catalog": "Catalog", "categories": "Categories", + "channels": "Channels", "countries": "Countries", "facets": "Facets", "marketing": "Marketing", @@ -134,12 +136,15 @@ "administrator": "Administrator", "catalog": "Catalog", "create": "Create", + "create-new-channel": "Create new channel", "create-new-country": "Create new country", "create-new-role": "Create new role", "create-new-tax-category": "Create tax category", "create-new-tax-rate": "Create new tax rate", "create-zone": "Create zone", "customer": "Customer", + "default-shipping-zone": "Default shipping zone", + "default-tax-zone": "Default tax zone", "delete": "Delete", "description": "Description", "email-address": "Email address", diff --git a/schema.json b/schema.json index c5ce82eea3..3f004ebdb5 100644 --- a/schema.json +++ b/schema.json @@ -1 +1 @@ -{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":null,"args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"adjustmentOperations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","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":"taxCategories","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxCategory","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxRates","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRateList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zones","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AdministratorSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","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":"TaxRateList","ofType":null}]},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"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":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"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":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderItem","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Adjustment","description":null,"fields":[{"name":"promotionId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"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":"PromotionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","description":null,"fields":null,"inputFields":[{"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":"TaxRateSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"Int","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":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":null,"args":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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 new 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":"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":"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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"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":"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":"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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateRoleInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"permissions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"defaultValue":null}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxRateInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"Int","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"categoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"zoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"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":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} +{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"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":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"adjustmentOperations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","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":"taxCategories","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxCategory","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxRates","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRateList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zones","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AdministratorSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","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":"TaxRateList","ofType":null}]},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null}]},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderItem","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Adjustment","description":null,"fields":[{"name":"promotionId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"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":"PromotionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","description":null,"fields":null,"inputFields":[{"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":"TaxRateSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"Int","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":"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":"Create a new Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateChannel","description":"Update an existing Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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 new 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":"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":"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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"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":"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":"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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateRoleInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"permissions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"defaultValue":null}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxRateInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"Int","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"categoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"zoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"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":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} diff --git a/server/mock-data/data-sources/countries.json b/server/mock-data/data-sources/countries.json index 5e3b28f5c5..7f0c3baca4 100644 --- a/server/mock-data/data-sources/countries.json +++ b/server/mock-data/data-sources/countries.json @@ -3034,7 +3034,7 @@ "alpha-3": "GBR", "country-code": "826", "iso_3166-2": "ISO 3166-2:GB", - "region": "Europe", + "region": "UK", "sub-region": "Northern Europe", "intermediate-region": "", "region-code": "150", diff --git a/server/mock-data/mock-data.service.ts b/server/mock-data/mock-data.service.ts index f9a1ef0e6c..b6e45aecff 100644 --- a/server/mock-data/mock-data.service.ts +++ b/server/mock-data/mock-data.service.ts @@ -5,20 +5,25 @@ import * as path from 'path'; import { AddOptionGroupToProduct, Asset, - Country, + Channel, CreateAddressInput, + CreateChannel, CreateCountry, CreateCustomerInput, CreateFacet, CreateFacetValueWithFacetInput, CreateProduct, CreateProductOptionGroup, + CreateTaxRate, CreateZone, GenerateProductVariants, + GetChannels, LanguageCode, ProductTranslationInput, ProductVariant, + UpdateChannel, UpdateProductVariants, + Zone, } from 'shared/generated-types'; import { CREATE_FACET } from '../../admin-ui/src/app/data/definitions/facet-definitions'; @@ -29,10 +34,14 @@ import { GENERATE_PRODUCT_VARIANTS, UPDATE_PRODUCT_VARIANTS, } from '../../admin-ui/src/app/data/definitions/product-definitions'; -import { CREATE_COUNTRY, CREATE_ZONE } from '../../admin-ui/src/app/data/definitions/settings-definitions'; -import { taxAction } from '../src/config/adjustment/required-adjustment-actions'; -import { taxCondition } from '../src/config/adjustment/required-adjustment-conditions'; -import { Channel } from '../src/entity/channel/channel.entity'; +import { + CREATE_CHANNEL, + CREATE_COUNTRY, + CREATE_TAX_RATE, + CREATE_ZONE, + GET_CHANNELS, + UPDATE_CHANNEL, +} from '../../admin-ui/src/app/data/definitions/settings-definitions'; import { Customer } from '../src/entity/customer/customer.entity'; import { SimpleGraphQLClient } from './simple-graphql-client'; @@ -50,25 +59,26 @@ export class MockDataService { faker.seed(1); } - async populateChannels(channelCodes: string[]): Promise { - const channels: Channel[] = []; + async populateChannels(channelCodes: string[]): Promise { + const channels: Channel.Fragment[] = []; for (const code of channelCodes) { - const channel = await this.client.query(gql` - mutation { - createChannel(code: "${code}") { - id - code - token - } - } - `); + const channel = await this.client.query( + CREATE_CHANNEL, + { + input: { + code, + token: `${code}_token`, + defaultLanguageCode: LanguageCode.en, + }, + }, + ); channels.push(channel.createChannel); this.log(`Created Channel: ${channel.createChannel.code}`); } return channels; } - async populateCountries() { + async populateCountries(): Promise { const countriesFile = await fs.readFile( path.join(__dirname, 'data-sources', 'countries.json'), 'utf8', @@ -91,15 +101,38 @@ export class MockDataService { } zones[country.region].push(result.createCountry.id); } + + const createdZones: Zone.Fragment[] = []; for (const [name, memberIds] of Object.entries(zones)) { - await this.client.query(CREATE_ZONE, { + const result = await this.client.query(CREATE_ZONE, { input: { name, memberIds, }, }); + createdZones.push(result.createZone); } this.log(`Created ${countries.length} Countries in ${Object.keys(zones).length} Zones`); + return createdZones; + } + + async setChannelDefaultZones(zones: Zone.Fragment[]) { + const defaultZone = zones.find(z => z.name === 'UK'); + if (!defaultZone) { + this.log(`Default zone could not be found`); + return; + } + const result = await this.client.query(GET_CHANNELS); + for (const channel of result.channels) { + await this.client.query(UPDATE_CHANNEL, { + input: { + id: channel.id, + defaultTaxZoneId: defaultZone.id, + defaultShippingZoneId: defaultZone.id, + }, + }); + } + this.log(`Set default zones for ${result.channels.length} Channels`); } async populateOptions(): Promise { @@ -138,10 +171,10 @@ export class MockDataService { }); } - async populateTaxCategories() { + async populateTaxCategories(zones: Zone.Fragment[]) { const taxCategories = [{ name: 'Standard Tax' }, { name: 'Reduced Tax' }, { name: 'Zero Tax' }]; - const results: TaxCategory[] = []; + const createdTaxCategories: TaxCategory[] = []; for (const category of taxCategories) { const result = await this.client.query( @@ -158,10 +191,24 @@ export class MockDataService { }, }, ); - results.push(result.createTaxCategory); + createdTaxCategories.push(result.createTaxCategory); } - this.log(`Created ${results.length} tax categories`); - return results; + this.log(`Created ${createdTaxCategories.length} tax categories`); + + // create tax rates + for (const zone of zones) { + await this.client.query(CREATE_TAX_RATE, { + input: { + name: `Standard Tax for ${zone.name}`, + enabled: true, + value: 20, + categoryId: createdTaxCategories[0].id, + zoneId: zone.id, + }, + }); + } + + return createdTaxCategories; } async populateCustomers(count: number = 5): Promise { diff --git a/server/mock-data/populate.ts b/server/mock-data/populate.ts index 83a93fa787..689aa69ced 100644 --- a/server/mock-data/populate.ts +++ b/server/mock-data/populate.ts @@ -1,8 +1,8 @@ import { INestApplication } from '@nestjs/common'; +import { Channel } from 'shared/generated-types'; import { VendureBootstrapFunction } from '../src/bootstrap'; import { setConfig, VendureConfig } from '../src/config/vendure-config'; -import { Channel } from '../src/entity/channel/channel.entity'; import { clearAllTables } from './clear-all-tables'; import { getDefaultChannelToken } from './get-default-channel-token'; @@ -35,14 +35,14 @@ export async function populate( client.setChannelToken(defaultChannelToken); await client.asSuperAdmin(); const mockDataService = new MockDataService(client, logging); - let channels: Channel[] = []; if (options.channels) { - channels = await mockDataService.populateChannels(options.channels); + await mockDataService.populateChannels(options.channels); } - await mockDataService.populateCountries(); + const zones = await mockDataService.populateCountries(); + await mockDataService.setChannelDefaultZones(zones); const assets = await mockDataService.populateAssets(); const optionGroupId = await mockDataService.populateOptions(); - const taxCategories = await mockDataService.populateTaxCategories(); + const taxCategories = await mockDataService.populateTaxCategories(zones); await mockDataService.populateProducts(options.productCount, optionGroupId, assets, taxCategories); await mockDataService.populateCustomers(options.customerCount); await mockDataService.populateFacets(); diff --git a/server/src/api/resolvers/channel.resolver.ts b/server/src/api/resolvers/channel.resolver.ts index d754f1196f..9c553a5ae9 100644 --- a/server/src/api/resolvers/channel.resolver.ts +++ b/server/src/api/resolvers/channel.resolver.ts @@ -1,17 +1,42 @@ -import { Args, Mutation, Resolver } from '@nestjs/graphql'; -import { CreateChannelMutationArgs, Permission } from 'shared/generated-types'; +import { Args, Mutation, Query, Resolver } from '@nestjs/graphql'; +import { + ChannelQueryArgs, + CreateChannelMutationArgs, + Permission, + UpdateChannelMutationArgs, +} from 'shared/generated-types'; import { Channel } from '../../entity/channel/channel.entity'; import { ChannelService } from '../../service/providers/channel.service'; import { Allow } from '../common/auth-guard'; +import { RequestContext } from '../common/request-context'; +import { Ctx } from '../common/request-context.decorator'; @Resolver('Channel') export class ChannelResolver { constructor(private channelService: ChannelService) {} + @Query() + @Allow(Permission.SuperAdmin) + channels(@Ctx() ctx: RequestContext): Promise { + return this.channelService.findAll(); + } + + @Query() + @Allow(Permission.SuperAdmin) + async channel(@Ctx() ctx: RequestContext, @Args() args: ChannelQueryArgs): Promise { + return this.channelService.findOne(args.id); + } + + @Mutation() + @Allow(Permission.SuperAdmin) + async createChannel(@Args() args: CreateChannelMutationArgs): Promise { + return this.channelService.create(args.input); + } + @Mutation() @Allow(Permission.SuperAdmin) - createChannel(@Args() args: CreateChannelMutationArgs): Promise { - return this.channelService.create(args.code); + async updateChannel(@Args() args: UpdateChannelMutationArgs): Promise { + return this.channelService.update(args.input); } } diff --git a/server/src/api/types/channel.api.graphql b/server/src/api/types/channel.api.graphql index ca4a74aa92..e6da29c1aa 100644 --- a/server/src/api/types/channel.api.graphql +++ b/server/src/api/types/channel.api.graphql @@ -1,3 +1,12 @@ +type Query { + channels: [Channel!]! + channel(id: ID!): Channel +} + type Mutation { - createChannel(code: String!): Channel! + "Create a new Channel" + createChannel(input: CreateChannelInput!): Channel! + + "Update an existing Channel" + updateChannel(input: UpdateChannelInput!): Channel! } diff --git a/server/src/entity/channel/channel.entity.ts b/server/src/entity/channel/channel.entity.ts index a40e9dd4cb..f41f5fe149 100644 --- a/server/src/entity/channel/channel.entity.ts +++ b/server/src/entity/channel/channel.entity.ts @@ -1,8 +1,9 @@ import { LanguageCode } from 'shared/generated-types'; import { DeepPartial } from 'shared/shared-types'; -import { Column, Entity } from 'typeorm'; +import { Column, Entity, ManyToOne } from 'typeorm'; import { VendureEntity } from '../base/base.entity'; +import { Zone } from '../zone/zone.entity'; @Entity() export class Channel extends VendureEntity { @@ -21,6 +22,12 @@ export class Channel extends VendureEntity { @Column('varchar') defaultLanguageCode: LanguageCode; + @ManyToOne(type => Zone) + defaultTaxZone: Zone; + + @ManyToOne(type => Zone) + defaultShippingZone: Zone; + private generateToken(): string { const randomString = () => Math.random() diff --git a/server/src/entity/channel/channel.graphql b/server/src/entity/channel/channel.graphql index 8fcfa4f35a..1c5cc6f4d4 100644 --- a/server/src/entity/channel/channel.graphql +++ b/server/src/entity/channel/channel.graphql @@ -4,4 +4,24 @@ type Channel implements Node { updatedAt: DateTime! code: String! token: String! + defaultTaxZone: Zone + defaultShippingZone: Zone + defaultLanguageCode: LanguageCode! +} + +input CreateChannelInput { + code: String! + token: String! + defaultLanguageCode: LanguageCode! + defaultTaxZoneId: ID + defaultShippingZoneId: ID +} + +input UpdateChannelInput { + id: ID! + code: String + token: String + defaultLanguageCode: LanguageCode + defaultTaxZoneId: ID + defaultShippingZoneId: ID } diff --git a/server/src/service/providers/channel.service.ts b/server/src/service/providers/channel.service.ts index a42c0f2d6c..7e175bb2a9 100644 --- a/server/src/service/providers/channel.service.ts +++ b/server/src/service/providers/channel.service.ts @@ -1,14 +1,19 @@ import { Injectable } from '@nestjs/common'; import { InjectConnection } from '@nestjs/typeorm'; +import { CreateChannelInput, UpdateChannelInput } from 'shared/generated-types'; import { DEFAULT_CHANNEL_CODE } from 'shared/shared-constants'; +import { ID } from 'shared/shared-types'; import { Connection } from 'typeorm'; import { RequestContext } from '../../api/common/request-context'; import { DEFAULT_LANGUAGE_CODE } from '../../common/constants'; import { ChannelAware } from '../../common/types/common-types'; +import { assertFound } from '../../common/utils'; import { ConfigService } from '../../config/config.service'; import { Channel } from '../../entity/channel/channel.entity'; +import { Zone } from '../../entity/zone/zone.entity'; import { I18nError } from '../../i18n/i18n-error'; +import { patchEntity } from '../helpers/patch-entity'; @Injectable() export class ChannelService { @@ -55,19 +60,49 @@ export class ChannelService { } findAll(): Promise { - return this.connection.getRepository(Channel).find(); + return this.connection + .getRepository(Channel) + .find({ relations: ['defaultShippingZone', 'defaultTaxZone'] }); } - async create(code: string): Promise { - const channel = new Channel({ - code, - defaultLanguageCode: DEFAULT_LANGUAGE_CODE, - }); + findOne(id: ID): Promise { + return this.connection + .getRepository(Channel) + .findOne(id, { relations: ['defaultShippingZone', 'defaultTaxZone'] }); + } + + async create(input: CreateChannelInput): Promise { + const channel = new Channel(input); + if (input.defaultTaxZoneId) { + channel.defaultTaxZone = await this.getZoneOrThrow(input.defaultTaxZoneId); + } + if (input.defaultShippingZoneId) { + channel.defaultShippingZone = await this.getZoneOrThrow(input.defaultShippingZoneId); + } const newChannel = await this.connection.getRepository(Channel).save(channel); this.allChannels.push(channel); return channel; } + async update(input: UpdateChannelInput): Promise { + const channel = await this.findOne(input.id); + if (!channel) { + throw new I18nError(`error.entity-with-id-not-found`, { + entityName: 'Channel', + id: input.id, + }); + } + const updatedChannel = patchEntity(channel, input); + if (input.defaultTaxZoneId) { + updatedChannel.defaultTaxZone = await this.getZoneOrThrow(input.defaultTaxZoneId); + } + if (input.defaultShippingZoneId) { + updatedChannel.defaultShippingZone = await this.getZoneOrThrow(input.defaultShippingZoneId); + } + await this.connection.getRepository(Channel).save(updatedChannel); + return assertFound(this.findOne(channel.id)); + } + /** * There must always be a default Channel. If none yet exists, this method creates one. * Also ensures the default Channel token matches the defaultChannelToken config setting. @@ -92,4 +127,15 @@ export class ChannelService { await this.connection.manager.save(defaultChannel); } } + + private async getZoneOrThrow(id: ID): Promise { + const zone = await this.connection.getRepository(Zone).findOne(id); + if (!zone) { + throw new I18nError(`error.entity-with-id-not-found`, { + entityName: 'Zone', + id, + }); + } + return zone; + } } diff --git a/shared/generated-types.ts b/shared/generated-types.ts index f2cd5a09f5..cc25fae20e 100644 --- a/shared/generated-types.ts +++ b/shared/generated-types.ts @@ -44,6 +44,8 @@ export interface Query { assets: AssetList; asset?: Asset | null; me?: CurrentUser | null; + channels: Channel[]; + channel?: Channel | null; config: Config; countries: CountryList; country?: Country | null; @@ -118,6 +120,24 @@ export interface Channel extends Node { updatedAt: DateTime; code: string; token: string; + defaultTaxZone: Zone; + defaultShippingZone: Zone; + defaultLanguageCode: LanguageCode; +} + +export interface Zone extends Node { + id: string; + createdAt: DateTime; + updatedAt: DateTime; + name: string; + members: Country[]; +} + +export interface Country extends Node { + id: string; + code: string; + name: string; + enabled: boolean; } export interface AssetList extends PaginatedList { @@ -150,13 +170,6 @@ export interface CountryList extends PaginatedList { totalItems: number; } -export interface Country extends Node { - id: string; - code: string; - name: string; - enabled: boolean; -} - export interface CustomerGroup extends Node { id: string; createdAt: DateTime; @@ -274,6 +287,7 @@ export interface OrderLine extends Node { quantity: number; items: OrderItem[]; totalPrice: number; + adjustments: Adjustment[]; order: Order; } @@ -459,14 +473,6 @@ export interface TaxRate extends Node { customerGroup?: CustomerGroup | null; } -export interface Zone extends Node { - id: string; - createdAt: DateTime; - updatedAt: DateTime; - name: string; - members: Country[]; -} - export interface NetworkStatus { inFlightRequests: number; } @@ -489,6 +495,7 @@ export interface Mutation { login: LoginResult; logout: boolean; createChannel: Channel; + updateChannel: Channel; createCountry: Country; updateCountry: Country; createCustomerGroup: CustomerGroup; @@ -816,6 +823,23 @@ export interface CreateAssetInput { file: Upload; } +export interface CreateChannelInput { + code: string; + token: string; + defaultLanguageCode: LanguageCode; + defaultTaxZoneId?: string | null; + defaultShippingZoneId?: string | null; +} + +export interface UpdateChannelInput { + id: string; + code?: string | null; + token?: string | null; + defaultLanguageCode?: LanguageCode | null; + defaultTaxZoneId?: string | null; + defaultShippingZoneId?: string | null; +} + export interface CreateCountryInput { code: string; name: string; @@ -1120,6 +1144,9 @@ export interface AssetsQueryArgs { export interface AssetQueryArgs { id: string; } +export interface ChannelQueryArgs { + id: string; +} export interface CountriesQueryArgs { options?: CountryListOptions | null; } @@ -1208,7 +1235,10 @@ export interface LoginMutationArgs { rememberMe?: boolean | null; } export interface CreateChannelMutationArgs { - code: string; + input: CreateChannelInput; +} +export interface UpdateChannelMutationArgs { + input: UpdateChannelInput; } export interface CreateCountryMutationArgs { input: CreateCountryInput; @@ -1376,12 +1406,6 @@ export enum Permission { DeleteSettings = 'DeleteSettings', } -export enum AssetType { - IMAGE = 'IMAGE', - VIDEO = 'VIDEO', - BINARY = 'BINARY', -} - export enum LanguageCode { aa = 'aa', ab = 'ab', @@ -1569,6 +1593,12 @@ export enum LanguageCode { zu = 'zu', } +export enum AssetType { + IMAGE = 'IMAGE', + VIDEO = 'VIDEO', + BINARY = 'BINARY', +} + export namespace QueryResolvers { export interface Resolvers { administrators?: AdministratorsResolver; @@ -1576,6 +1606,8 @@ export namespace QueryResolvers { assets?: AssetsResolver; asset?: AssetResolver; me?: MeResolver; + channels?: ChannelsResolver; + channel?: ChannelResolver; config?: ConfigResolver; countries?: CountriesResolver; country?: CountryResolver; @@ -1653,6 +1685,17 @@ export namespace QueryResolvers { Parent, Context >; + export type ChannelsResolver = Resolver; + export type ChannelResolver = Resolver< + R, + Parent, + Context, + ChannelArgs + >; + export interface ChannelArgs { + id: string; + } + export type ConfigResolver = Resolver; export type CountriesResolver = Resolver< R, @@ -1998,6 +2041,9 @@ export namespace ChannelResolvers { updatedAt?: UpdatedAtResolver; code?: CodeResolver; token?: TokenResolver; + defaultTaxZone?: DefaultTaxZoneResolver; + defaultShippingZone?: DefaultShippingZoneResolver; + defaultLanguageCode?: DefaultLanguageCodeResolver; } export type IdResolver = Resolver; @@ -2005,6 +2051,47 @@ export namespace ChannelResolvers { export type UpdatedAtResolver = Resolver; export type CodeResolver = Resolver; export type TokenResolver = Resolver; + export type DefaultTaxZoneResolver = Resolver; + export type DefaultShippingZoneResolver = Resolver< + R, + Parent, + Context + >; + export type DefaultLanguageCodeResolver = Resolver< + R, + Parent, + Context + >; +} + +export namespace ZoneResolvers { + export interface Resolvers { + id?: IdResolver; + createdAt?: CreatedAtResolver; + updatedAt?: UpdatedAtResolver; + name?: NameResolver; + members?: MembersResolver; + } + + export type IdResolver = Resolver; + export type CreatedAtResolver = Resolver; + export type UpdatedAtResolver = Resolver; + export type NameResolver = Resolver; + export type MembersResolver = Resolver; +} + +export namespace CountryResolvers { + export interface Resolvers { + id?: IdResolver; + code?: CodeResolver; + name?: NameResolver; + enabled?: EnabledResolver; + } + + export type IdResolver = Resolver; + export type CodeResolver = Resolver; + export type NameResolver = Resolver; + export type EnabledResolver = Resolver; } export namespace AssetListResolvers { @@ -2075,20 +2162,6 @@ export namespace CountryListResolvers { export type TotalItemsResolver = Resolver; } -export namespace CountryResolvers { - export interface Resolvers { - id?: IdResolver; - code?: CodeResolver; - name?: NameResolver; - enabled?: EnabledResolver; - } - - export type IdResolver = Resolver; - export type CodeResolver = Resolver; - export type NameResolver = Resolver; - export type EnabledResolver = Resolver; -} - export namespace CustomerGroupResolvers { export interface Resolvers { id?: IdResolver; @@ -2418,6 +2491,7 @@ export namespace OrderLineResolvers { quantity?: QuantityResolver; items?: ItemsResolver; totalPrice?: TotalPriceResolver; + adjustments?: AdjustmentsResolver; order?: OrderResolver; } @@ -2438,6 +2512,11 @@ export namespace OrderLineResolvers { export type QuantityResolver = Resolver; export type ItemsResolver = Resolver; export type TotalPriceResolver = Resolver; + export type AdjustmentsResolver = Resolver< + R, + Parent, + Context + >; export type OrderResolver = Resolver; } @@ -2937,22 +3016,6 @@ export namespace TaxRateResolvers { >; } -export namespace ZoneResolvers { - export interface Resolvers { - id?: IdResolver; - createdAt?: CreatedAtResolver; - updatedAt?: UpdatedAtResolver; - name?: NameResolver; - members?: MembersResolver; - } - - export type IdResolver = Resolver; - export type CreatedAtResolver = Resolver; - export type UpdatedAtResolver = Resolver; - export type NameResolver = Resolver; - export type MembersResolver = Resolver; -} - export namespace NetworkStatusResolvers { export interface Resolvers { inFlightRequests?: InFlightRequestsResolver; @@ -2998,6 +3061,7 @@ export namespace MutationResolvers { login?: LoginResolver; logout?: LogoutResolver; createChannel?: CreateChannelResolver; + updateChannel?: UpdateChannelResolver; createCountry?: CreateCountryResolver; updateCountry?: UpdateCountryResolver; createCustomerGroup?: CreateCustomerGroupResolver; @@ -3106,7 +3170,17 @@ export namespace MutationResolvers { CreateChannelArgs >; export interface CreateChannelArgs { - code: string; + input: CreateChannelInput; + } + + export type UpdateChannelResolver = Resolver< + R, + Parent, + Context, + UpdateChannelArgs + >; + export interface UpdateChannelArgs { + input: UpdateChannelInput; } export type CreateCountryResolver = Resolver< @@ -4488,6 +4562,56 @@ export namespace UpdateTaxRate { export type UpdateTaxRate = TaxRate.Fragment; } +export namespace GetChannels { + export type Variables = {}; + + export type Query = { + __typename?: 'Query'; + channels: Channels[]; + }; + + export type Channels = Channel.Fragment; +} + +export namespace GetChannel { + export type Variables = { + id: string; + }; + + export type Query = { + __typename?: 'Query'; + channel?: Channel | null; + }; + + export type Channel = Channel.Fragment; +} + +export namespace CreateChannel { + export type Variables = { + input: CreateChannelInput; + }; + + export type Mutation = { + __typename?: 'Mutation'; + createChannel: CreateChannel; + }; + + export type CreateChannel = Channel.Fragment; +} + +export namespace UpdateChannel { + export type Variables = { + input: UpdateChannelInput; + }; + + export type Mutation = { + __typename?: 'Mutation'; + updateChannel: UpdateChannel; + }; + + export type UpdateChannel = Channel.Fragment; +} + export namespace Administrator { export type Fragment = { __typename?: 'Administrator'; @@ -4815,3 +4939,27 @@ export namespace TaxRate { name: string; }; } + +export namespace Channel { + export type Fragment = { + __typename?: 'Channel'; + id: string; + code: string; + token: string; + defaultLanguageCode: LanguageCode; + defaultShippingZone: DefaultShippingZone; + defaultTaxZone: DefaultTaxZone; + }; + + export type DefaultShippingZone = { + __typename?: 'Zone'; + id: string; + name: string; + }; + + export type DefaultTaxZone = { + __typename?: 'Zone'; + id: string; + name: string; + }; +} From 460978542efce0e5fc592d9311c16c13f6d9f718 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 16 Oct 2018 09:58:02 +0200 Subject: [PATCH 5/8] feat(server): Add tax adjustments to orders --- schema.json | 2 +- server/src/common/types/adjustment-source.ts | 23 +++--- server/src/common/types/common-types.graphql | 11 ++- .../entity/order-item/order-item.entity.ts | 4 +- .../entity/order-line/order-line.entity.ts | 30 +++++++- .../src/entity/order-line/order-line.graphql | 2 + server/src/entity/order/order.entity.ts | 7 +- server/src/entity/order/order.graphql | 2 +- .../src/entity/promotion/promotion.entity.ts | 12 +-- server/src/entity/tax-rate/tax-rate.entity.ts | 27 ++++--- server/src/service/providers/order.service.ts | 73 ++++++++++++++++--- .../src/service/providers/tax-rate.service.ts | 6 +- shared/generated-types.ts | 41 ++++++++--- 13 files changed, 175 insertions(+), 65 deletions(-) diff --git a/schema.json b/schema.json index 3f004ebdb5..6cb7296c68 100644 --- a/schema.json +++ b/schema.json @@ -1 +1 @@ -{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"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":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"adjustmentOperations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","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":"taxCategories","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxCategory","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxRates","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRateList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zones","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AdministratorSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","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":"TaxRateList","ofType":null}]},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null}]},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderItem","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Adjustment","description":null,"fields":[{"name":"promotionId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"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":"PromotionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","description":null,"fields":null,"inputFields":[{"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":"TaxRateSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"Int","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":"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":"Create a new Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateChannel","description":"Update an existing Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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 new 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":"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":"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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"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":"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":"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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateRoleInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"permissions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"defaultValue":null}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxRateInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"Int","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"categoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"zoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"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":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} +{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"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":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":"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":"config","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Config","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":[],"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":"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":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Facet","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":"activeOrder","description":null,"args":[],"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":"productOptionGroups","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"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":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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":"adjustmentOperations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdjustmentOperations","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":"taxCategories","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxCategory","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxRates","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRateList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"TaxRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zones","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AdministratorSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","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":"TaxRateList","ofType":null}]},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null}]},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"passwordHash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","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":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":" Permissions for administrators and customers ","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks ","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":" Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":" Public means any unauthenticated user may perform the operation ","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdjustmentSource","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"LanguageCode","description":"ISO 639-1 language code","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"aa","description":"Afar","isDeprecated":false,"deprecationReason":null},{"name":"ab","description":"Abkhazian","isDeprecated":false,"deprecationReason":null},{"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":"an","description":"Aragonese","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"av","description":"Avaric","isDeprecated":false,"deprecationReason":null},{"name":"ae","description":"Avestan","isDeprecated":false,"deprecationReason":null},{"name":"ay","description":"Aymara","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"ba","description":"Bashkir","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bengali","isDeprecated":false,"deprecationReason":null},{"name":"bh","description":"Bihari languages","isDeprecated":false,"deprecationReason":null},{"name":"bi","description":"Bislama","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; Valencian","isDeprecated":false,"deprecationReason":null},{"name":"ch","description":"Chamorro","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic","isDeprecated":false,"deprecationReason":null},{"name":"cv","description":"Chuvash","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"cr","description":"Cree","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"dv","description":"Divehi; Dhivehi; Maldivian","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch; Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"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":"fj","description":"Fijian","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Gaelic; Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek, Modern (1453-)","isDeprecated":false,"deprecationReason":null},{"name":"gn","description":"Guarani","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian; Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hz","description":"Herero","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"ho","description":"Hiri Motu","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"io","description":"Ido","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi; Nuosu","isDeprecated":false,"deprecationReason":null},{"name":"iu","description":"Inuktitut","isDeprecated":false,"deprecationReason":null},{"name":"ie","description":"Interlingue; Occidental","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua (International Auxiliary Language Association)","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ik","description":"Inupiaq","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut; Greenlandic","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kr","description":"Kanuri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Central Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu; Gikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kirghiz; Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"kv","description":"Komi","isDeprecated":false,"deprecationReason":null},{"name":"kg","description":"Kongo","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"kj","description":"Kuanyama; Kwanyama","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","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":"li","description":"Limburgan; Limburger; Limburgish","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish; Letzeburgesch","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mh","description":"Marshallese","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"na","description":"Nauru","isDeprecated":false,"deprecationReason":null},{"name":"nv","description":"Navajo; Navaho","isDeprecated":false,"deprecationReason":null},{"name":"nr","description":"Ndebele, South; South Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"Ndebele, North; North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"ng","description":"Ndonga","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk; Nynorsk, Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Bokmål, Norwegian; Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"no","description":"Norwegian","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Chichewa; Chewa; Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"oc","description":"Occitan (post 1500); Provençal","isDeprecated":false,"deprecationReason":null},{"name":"oj","description":"Ojibwa","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Oriya","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetian; Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Panjabi; Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"pi","description":"Pali","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pushto; Pashto","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian; Moldavian; Moldovan","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala; Sinhalese","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Sotho, Southern","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish; Castilian","isDeprecated":false,"deprecationReason":null},{"name":"sc","description":"Sardinian","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"ss","description":"Swati","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"ty","description":"Tahitian","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":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"tl","description":"Tagalog","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":"Tonga (Tonga Islands)","isDeprecated":false,"deprecationReason":null},{"name":"tn","description":"Tswana","isDeprecated":false,"deprecationReason":null},{"name":"ts","description":"Tsonga","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tw","description":"Twi","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uighur; Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"ve","description":"Venda","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":"wa","description":"Walloon","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":"za","description":"Zhuang; Chuang","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","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":"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},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"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":"channelTokens","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":"Config","description":null,"fields":[{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"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":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"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":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"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":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"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":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"searchable","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":"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},{"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":"searchable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"FacetCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"OBJECT","name":"FacetValueCustomFields","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":"FacetValueCustomFields","description":null,"fields":[{"name":"link","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"available","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","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":"FacetCustomFields","description":null,"fields":[{"name":"searchable","description":null,"args":[],"type":{"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":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","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":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"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":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"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":"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":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderItem","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Adjustment","description":null,"fields":[{"name":"adjustmentSource","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TAX","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"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}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"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":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"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":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"image","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"infoUrl","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"nickname","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":"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},{"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":"infoUrl","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"nickname","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"ProductTranslationCustomFields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslationCustomFields","description":null,"fields":[{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductCustomFields","description":null,"fields":[{"name":"infoUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"downloadable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nickname","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperation","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":"AdjustmentArg","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":"AdjustmentArg","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":"value","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":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"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":"PromotionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","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":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdjustmentOperations","description":null,"fields":[{"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":"AdjustmentOperation","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":"AdjustmentOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"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":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","description":null,"fields":null,"inputFields":[{"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":"TaxRateSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"enabled","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":"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},{"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"Int","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":"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":"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":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":null,"args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":"Create a new Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateChannel","description":"Update an existing Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"addItemToOrder","description":null,"args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeItemFromOrder","description":null,"args":[{"name":"orderItemId","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":"adjustItemQuantity","description":null,"args":[{"name":"orderItemId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"generateVariantsForProduct","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultTaxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultPrice","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"defaultSku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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":"applyFacetValuesToProductVariants","description":"Applies a FacetValue to the given ProductVariants","args":[{"name":"facetValueIds","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":"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}],"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":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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 new 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":"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":"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":"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":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"roleIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload promise that resolves an object containing `stream`, `filename`, `mimetype` and `encoding`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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}],"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":"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"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":"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":"country","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"searchable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"link","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"available","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"CreateProductOptionInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","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":"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":"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":"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":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","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":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"nickname","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductCustomFieldsInput","description":null,"fields":null,"inputFields":[{"name":"infoUrl","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"downloadable","description":null,"type":{"kind":"SCALAR","name":"Boolean","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":"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":"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":"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":"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":"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":"AdjustmentOperationInput","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":"AdjustmentOperationInput","ofType":null}}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","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":"SCALAR","name":"String","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":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustmentOperationInput","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateRoleInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"permissions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"defaultValue":null}],"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}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxRateInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"Int","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"categoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"zoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"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":"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":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"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":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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}],"directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\""}]}]}}} diff --git a/server/src/common/types/adjustment-source.ts b/server/src/common/types/adjustment-source.ts index c663149889..482e824906 100644 --- a/server/src/common/types/adjustment-source.ts +++ b/server/src/common/types/adjustment-source.ts @@ -1,16 +1,15 @@ +import { Adjustment, AdjustmentType } from 'shared/generated-types'; import { ID } from 'shared/shared-types'; -export interface AdjustmentSource { - test(): boolean; - apply(): Adjustment[]; -} +import { VendureEntity } from '../../entity/base/base.entity'; + +export abstract class AdjustmentSource extends VendureEntity { + type: AdjustmentType; + + getSourceId(): string { + return `${this.type}:${this.id}`; + } -/** - * When an AdjustmentSource is applied to an OrderItem, an Adjustment is - * generated based on the actions assigned to the AdjustmentSource. - */ -export interface Adjustment { - adjustmentSourceId: ID; - description: string; - amount: number; + abstract test(...args: any[]): boolean; + abstract apply(...args: any[]): Adjustment; } diff --git a/server/src/common/types/common-types.graphql b/server/src/common/types/common-types.graphql index 584a9742d0..2aec47d7c0 100644 --- a/server/src/common/types/common-types.graphql +++ b/server/src/common/types/common-types.graphql @@ -3,8 +3,17 @@ scalar JSON scalar DateTime scalar Upload +enum AdjustmentType { + TAX + PROMOTION + REFUND + TAX_REFUND + PROMOTION_REFUND +} + type Adjustment { - promotionId: ID! + adjustmentSource: String! + type: AdjustmentType! description: String! amount: Int! } diff --git a/server/src/entity/order-item/order-item.entity.ts b/server/src/entity/order-item/order-item.entity.ts index 5aa592b9b3..6a941ef838 100644 --- a/server/src/entity/order-item/order-item.entity.ts +++ b/server/src/entity/order-item/order-item.entity.ts @@ -1,7 +1,7 @@ +import { Adjustment } from 'shared/generated-types'; import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, ManyToOne } from 'typeorm'; -import { Adjustment } from '../../common/types/adjustment-source'; import { VendureEntity } from '../base/base.entity'; import { OrderLine } from '../order-line/order-line.entity'; @@ -11,7 +11,7 @@ export class OrderItem extends VendureEntity { super(input); } - @ManyToOne(type => OrderLine, line => line.items) + @ManyToOne(type => OrderLine, line => line.items, { onDelete: 'CASCADE' }) line: OrderLine; @Column('simple-json') pendingAdjustments: Adjustment[]; diff --git a/server/src/entity/order-line/order-line.entity.ts b/server/src/entity/order-line/order-line.entity.ts index 1ff379c3b9..d8f1cd6e25 100644 --- a/server/src/entity/order-line/order-line.entity.ts +++ b/server/src/entity/order-line/order-line.entity.ts @@ -1,13 +1,14 @@ -import { DeepPartial, ID } from 'shared/shared-types'; +import { Adjustment, AdjustmentType } from 'shared/generated-types'; +import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, ManyToOne, OneToMany } from 'typeorm'; import { Calculated } from '../../common/calculated-decorator'; -import { Adjustment } from '../../common/types/adjustment-source'; import { Asset } from '../asset/asset.entity'; import { VendureEntity } from '../base/base.entity'; import { OrderItem } from '../order-item/order-item.entity'; import { Order } from '../order/order.entity'; import { ProductVariant } from '../product-variant/product-variant.entity'; +import { TaxCategory } from '../tax-category/tax-category.entity'; @Entity() export class OrderLine extends VendureEntity { @@ -18,7 +19,8 @@ export class OrderLine extends VendureEntity { @ManyToOne(type => ProductVariant) productVariant: ProductVariant; - @Column('varchar') taxCategoryId: ID; + @ManyToOne(type => TaxCategory) + taxCategory: TaxCategory; @ManyToOne(type => Asset) featuredAsset: Asset; @@ -31,6 +33,12 @@ export class OrderLine extends VendureEntity { @ManyToOne(type => Order, order => order.lines) order: Order; + @Calculated() + get unitPriceWithTax(): number { + const taxAdjustment = this.adjustments.find(a => a.type === AdjustmentType.TAX); + return this.unitPrice + (taxAdjustment ? taxAdjustment.amount : 0); + } + @Calculated() get quantity(): number { return this.items ? this.items.length : 0; @@ -38,6 +46,20 @@ export class OrderLine extends VendureEntity { @Calculated() get totalPrice(): number { - return this.unitPrice * this.quantity; + const taxAdjustments = this.adjustments + .filter(a => a.type === AdjustmentType.TAX) + .reduce((amount, a) => amount + a.amount, 0); + return this.unitPrice * this.quantity + taxAdjustments; + } + + @Calculated() + get adjustments(): Adjustment[] { + if (this.items) { + return this.items.reduce( + (adjustments, i) => [...adjustments, ...i.pendingAdjustments], + [] as Adjustment[], + ); + } + return []; } } diff --git a/server/src/entity/order-line/order-line.graphql b/server/src/entity/order-line/order-line.graphql index 29fb7775d2..b20c901445 100644 --- a/server/src/entity/order-line/order-line.graphql +++ b/server/src/entity/order-line/order-line.graphql @@ -5,8 +5,10 @@ type OrderLine implements Node { productVariant: ProductVariant! featuredAsset: Asset unitPrice: Int! + unitPriceWithTax: Int! quantity: Int! items: [OrderItem!]! totalPrice: Int! + adjustments: [Adjustment!]! order: Order! } diff --git a/server/src/entity/order/order.entity.ts b/server/src/entity/order/order.entity.ts index c32f792a32..916067e932 100644 --- a/server/src/entity/order/order.entity.ts +++ b/server/src/entity/order/order.entity.ts @@ -1,7 +1,6 @@ import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, ManyToOne, OneToMany } from 'typeorm'; -import { Adjustment } from '../../common/types/adjustment-source'; import { VendureEntity } from '../base/base.entity'; import { Customer } from '../customer/customer.entity'; import { OrderLine } from '../order-line/order-line.entity'; @@ -20,9 +19,7 @@ export class Order extends VendureEntity { @OneToMany(type => OrderLine, line => line.order) lines: OrderLine[]; - @Column() totalPrice: number; + @Column() totalPriceBeforeTax: number; - get adjustments() { - return []; - } + @Column() totalPrice: number; } diff --git a/server/src/entity/order/order.graphql b/server/src/entity/order/order.graphql index dba3491f65..44db443bb5 100644 --- a/server/src/entity/order/order.graphql +++ b/server/src/entity/order/order.graphql @@ -5,6 +5,6 @@ type Order implements Node { code: String! customer: Customer lines: [OrderLine!]! - adjustments: [Adjustment!] + totalPriceBeforeTax: Int! totalPrice: Int! } diff --git a/server/src/entity/promotion/promotion.entity.ts b/server/src/entity/promotion/promotion.entity.ts index 05e5fd3883..6529a774d6 100644 --- a/server/src/entity/promotion/promotion.entity.ts +++ b/server/src/entity/promotion/promotion.entity.ts @@ -1,13 +1,15 @@ -import { AdjustmentOperation, AdjustmentType } from 'shared/generated-types'; +import { Adjustment, AdjustmentOperation, AdjustmentType } from 'shared/generated-types'; import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, JoinTable, ManyToMany } from 'typeorm'; -import { Adjustment, AdjustmentSource } from '../../common/types/adjustment-source'; +import { AdjustmentSource } from '../../common/types/adjustment-source'; import { VendureEntity } from '../base/base.entity'; import { Channel } from '../channel/channel.entity'; @Entity() -export class Promotion extends VendureEntity implements AdjustmentSource { +export class Promotion extends AdjustmentSource { + type = AdjustmentType.PROMOTION; + constructor(input?: DeepPartial) { super(input); } @@ -24,8 +26,8 @@ export class Promotion extends VendureEntity implements AdjustmentSource { @Column('simple-json') actions: AdjustmentOperation[]; - apply(): Adjustment[] { - return []; + apply(): Adjustment { + return {} as any; } test(): boolean { diff --git a/server/src/entity/tax-rate/tax-rate.entity.ts b/server/src/entity/tax-rate/tax-rate.entity.ts index 784cb769bf..129b3db0c5 100644 --- a/server/src/entity/tax-rate/tax-rate.entity.ts +++ b/server/src/entity/tax-rate/tax-rate.entity.ts @@ -1,16 +1,17 @@ -import { AdjustmentOperation } from 'shared/generated-types'; +import { Adjustment, AdjustmentType } from 'shared/generated-types'; import { DeepPartial } from 'shared/shared-types'; -import { Column, Entity, JoinTable, ManyToMany, ManyToOne } from 'typeorm'; +import { Column, Entity, ManyToOne } from 'typeorm'; -import { Adjustment, AdjustmentSource } from '../../common/types/adjustment-source'; -import { VendureEntity } from '../base/base.entity'; -import { Channel } from '../channel/channel.entity'; +import { AdjustmentSource } from '../../common/types/adjustment-source'; +import { idsAreEqual } from '../../common/utils'; import { CustomerGroup } from '../customer-group/customer-group.entity'; import { TaxCategory } from '../tax-category/tax-category.entity'; import { Zone } from '../zone/zone.entity'; @Entity() -export class TaxRate extends VendureEntity implements AdjustmentSource { +export class TaxRate extends AdjustmentSource { + readonly type = AdjustmentType.TAX; + constructor(input?: DeepPartial) { super(input); } @@ -30,11 +31,17 @@ export class TaxRate extends VendureEntity implements AdjustmentSource { @ManyToOne(type => CustomerGroup, { nullable: true }) customerGroup?: CustomerGroup; - apply(): Adjustment[] { - return []; + apply(price: number): Adjustment { + const tax = Math.round(price * (this.value / 100)); + return { + type: this.type, + adjustmentSource: this.getSourceId(), + description: this.name, + amount: tax, + }; } - test(): boolean { - return false; + test(zone: Zone, taxCategory: TaxCategory): boolean { + return idsAreEqual(taxCategory.id, this.category.id) && idsAreEqual(zone.id, this.zone.id); } } diff --git a/server/src/service/providers/order.service.ts b/server/src/service/providers/order.service.ts index 7ea2f0675e..c7ec84e4fd 100644 --- a/server/src/service/providers/order.service.ts +++ b/server/src/service/providers/order.service.ts @@ -1,4 +1,5 @@ import { InjectConnection } from '@nestjs/typeorm'; +import { Adjustment, AdjustmentType } from 'shared/generated-types'; import { ID, PaginatedList } from 'shared/shared-types'; import { Connection } from 'typeorm'; @@ -10,6 +11,8 @@ import { OrderItem } from '../../entity/order-item/order-item.entity'; import { OrderLine } from '../../entity/order-line/order-line.entity'; import { Order } from '../../entity/order/order.entity'; import { ProductVariant } from '../../entity/product-variant/product-variant.entity'; +import { Promotion } from '../../entity/promotion/promotion.entity'; +import { TaxRate } from '../../entity/tax-rate/tax-rate.entity'; import { I18nError } from '../../i18n/i18n-error'; import { buildListQuery } from '../helpers/build-list-query'; import { translateDeep } from '../helpers/translate-entity'; @@ -37,7 +40,13 @@ export class OrderService { async findOne(ctx: RequestContext, orderId: ID): Promise { const order = await this.connection.getRepository(Order).findOne(orderId, { - relations: ['lines', 'lines.productVariant', 'lines.featuredAsset', 'lines.items'], + relations: [ + 'lines', + 'lines.productVariant', + 'lines.featuredAsset', + 'lines.items', + 'lines.taxCategory', + ], }); if (order) { order.lines.forEach(item => { @@ -70,7 +79,7 @@ export class OrderService { if (!orderLine) { const newLine = new OrderLine({ productVariant, - taxCategoryId: productVariant.taxCategory.id, + taxCategory: productVariant.taxCategory, featuredAsset: productVariant.product.featuredAsset, unitPrice: productVariant.price, }); @@ -107,14 +116,16 @@ export class OrderService { orderLine.items = orderLine.items.slice(0, quantity); } await this.connection.getRepository(OrderLine).save(orderLine); - return assertFound(this.findOne(ctx, order.id)); + return this.calculateOrderTotals(ctx, order); } - async removeItemFromOrder(ctx: RequestContext, orderId: ID, orderItemId: ID): Promise { + async removeItemFromOrder(ctx: RequestContext, orderId: ID, orderLineId: ID): Promise { const order = await this.getOrderOrThrow(ctx, orderId); - const orderItem = this.getOrderLineOrThrow(order, orderItemId); - order.lines = order.lines.filter(item => !idsAreEqual(item.id, orderItemId)); - return assertFound(this.findOne(ctx, order.id)); + const orderLine = this.getOrderLineOrThrow(order, orderLineId); + order.lines = order.lines.filter(line => !idsAreEqual(line.id, orderLineId)); + const updatedOrder = await this.calculateOrderTotals(ctx, order); + await this.connection.getRepository(OrderLine).remove(orderLine); + return updatedOrder; } private async getOrderOrThrow(ctx: RequestContext, orderId: ID): Promise { @@ -139,10 +150,10 @@ export class OrderService { return productVariant; } - private getOrderLineOrThrow(order: Order, orderItemId: ID): OrderLine { - const orderItem = order.lines.find(item => idsAreEqual(item.id, orderItemId)); + private getOrderLineOrThrow(order: Order, orderLineId: ID): OrderLine { + const orderItem = order.lines.find(line => idsAreEqual(line.id, orderLineId)); if (!orderItem) { - throw new I18nError(`error.order-does-not-contain-item-with-id`, { id: orderItemId }); + throw new I18nError(`error.order-does-not-contain-line-with-id`, { id: orderLineId }); } return orderItem; } @@ -155,4 +166,46 @@ export class OrderService { throw new I18nError(`error.order-item-quantity-must-be-positive`, { quantity }); } } + + private async calculateOrderTotals(ctx: RequestContext, order: Order): Promise { + if (!ctx.channel) { + throw new I18nError(`error.no-active-channel`); + } + const activeZone = ctx.channel.defaultTaxZone; + + const taxRates = await this.connection.getRepository(TaxRate).find({ + where: { + enabled: true, + zone: activeZone, + }, + relations: ['category', 'zone', 'customerGroup'], + }); + const promotions = await this.connection.getRepository(Promotion).find({ where: { enabled: true } }); + + for (const line of order.lines) { + const applicableTaxRate = taxRates.find(taxRate => taxRate.test(activeZone, line.taxCategory)); + + for (const item of line.items) { + if (applicableTaxRate) { + item.pendingAdjustments = []; + item.pendingAdjustments = item.pendingAdjustments.concat( + applicableTaxRate.apply(line.unitPrice), + ); + await this.connection.getRepository(OrderItem).save(item); + } + } + } + + const totalPrice = order.lines.reduce((total, line) => total + line.totalPrice, 0); + const totalTax = order.lines + .reduce((adjustments, line) => [...adjustments, ...line.adjustments], [] as Adjustment[]) + .filter(a => a.type === AdjustmentType.TAX) + .reduce((total, a) => total + a.amount, 0); + const totalPriceBeforeTax = totalPrice - totalTax; + + order.totalPriceBeforeTax = totalPriceBeforeTax; + order.totalPrice = totalPrice; + await this.connection.getRepository(Order).save(order); + return order; + } } diff --git a/server/src/service/providers/tax-rate.service.ts b/server/src/service/providers/tax-rate.service.ts index a277b65ebb..fb965bee74 100644 --- a/server/src/service/providers/tax-rate.service.ts +++ b/server/src/service/providers/tax-rate.service.ts @@ -51,13 +51,13 @@ export class TaxRateService { } const updatedTaxRate = patchEntity(taxRate, input); if (input.categoryId) { - taxRate.category = await this.getTaxCategoryOrThrow(input.categoryId); + updatedTaxRate.category = await this.getTaxCategoryOrThrow(input.categoryId); } if (input.zoneId) { - taxRate.category = await this.getZoneOrThrow(input.zoneId); + updatedTaxRate.category = await this.getZoneOrThrow(input.zoneId); } if (input.customerGroupId) { - taxRate.customerGroup = await this.getCustomerGroupOrThrow(input.customerGroupId); + updatedTaxRate.customerGroup = await this.getCustomerGroupOrThrow(input.customerGroupId); } await this.connection.getRepository(TaxRate).save(updatedTaxRate); return assertFound(this.findOne(taxRate.id)); diff --git a/shared/generated-types.ts b/shared/generated-types.ts index cc25fae20e..24fffe5e3f 100644 --- a/shared/generated-types.ts +++ b/shared/generated-types.ts @@ -120,8 +120,8 @@ export interface Channel extends Node { updatedAt: DateTime; code: string; token: string; - defaultTaxZone: Zone; - defaultShippingZone: Zone; + defaultTaxZone?: Zone | null; + defaultShippingZone?: Zone | null; defaultLanguageCode: LanguageCode; } @@ -347,7 +347,8 @@ export interface OrderItem extends Node { } export interface Adjustment { - promotionId: string; + adjustmentSource: string; + type: AdjustmentType; description: string; amount: number; } @@ -1599,6 +1600,14 @@ export enum AssetType { BINARY = 'BINARY', } +export enum AdjustmentType { + TAX = 'TAX', + PROMOTION = 'PROMOTION', + REFUND = 'REFUND', + TAX_REFUND = 'TAX_REFUND', + PROMOTION_REFUND = 'PROMOTION_REFUND', +} + export namespace QueryResolvers { export interface Resolvers { administrators?: AdministratorsResolver; @@ -2041,8 +2050,8 @@ export namespace ChannelResolvers { updatedAt?: UpdatedAtResolver; code?: CodeResolver; token?: TokenResolver; - defaultTaxZone?: DefaultTaxZoneResolver; - defaultShippingZone?: DefaultShippingZoneResolver; + defaultTaxZone?: DefaultTaxZoneResolver; + defaultShippingZone?: DefaultShippingZoneResolver; defaultLanguageCode?: DefaultLanguageCodeResolver; } @@ -2051,8 +2060,12 @@ export namespace ChannelResolvers { export type UpdatedAtResolver = Resolver; export type CodeResolver = Resolver; export type TokenResolver = Resolver; - export type DefaultTaxZoneResolver = Resolver; - export type DefaultShippingZoneResolver = Resolver< + export type DefaultTaxZoneResolver = Resolver< + R, + Parent, + Context + >; + export type DefaultShippingZoneResolver = Resolver< R, Parent, Context @@ -2676,12 +2689,18 @@ export namespace OrderItemResolvers { export namespace AdjustmentResolvers { export interface Resolvers { - promotionId?: PromotionIdResolver; + adjustmentSource?: AdjustmentSourceResolver; + type?: TypeResolver; description?: DescriptionResolver; amount?: AmountResolver; } - export type PromotionIdResolver = Resolver; + export type AdjustmentSourceResolver = Resolver< + R, + Parent, + Context + >; + export type TypeResolver = Resolver; export type DescriptionResolver = Resolver; export type AmountResolver = Resolver; } @@ -4947,8 +4966,8 @@ export namespace Channel { code: string; token: string; defaultLanguageCode: LanguageCode; - defaultShippingZone: DefaultShippingZone; - defaultTaxZone: DefaultTaxZone; + defaultShippingZone?: DefaultShippingZone | null; + defaultTaxZone?: DefaultTaxZone | null; }; export type DefaultShippingZone = { From 137c1e3d30f7e220ea114ba9bb54ead91e3c9b00 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 16 Oct 2018 10:36:17 +0200 Subject: [PATCH 6/8] refactor(server): Pull out repeated logic into getEntityOrThrow() method --- .../service/helpers/get-entity-or-throw.ts | 23 ++++++++ .../src/service/providers/channel.service.ts | 32 ++++++----- .../providers/customer-group.service.ts | 16 ++---- .../src/service/providers/tax-rate.service.ts | 57 ++++++------------- server/src/service/providers/zone.service.ts | 16 ++---- 5 files changed, 66 insertions(+), 78 deletions(-) create mode 100644 server/src/service/helpers/get-entity-or-throw.ts diff --git a/server/src/service/helpers/get-entity-or-throw.ts b/server/src/service/helpers/get-entity-or-throw.ts new file mode 100644 index 0000000000..127f7c262c --- /dev/null +++ b/server/src/service/helpers/get-entity-or-throw.ts @@ -0,0 +1,23 @@ +import { ID, Type } from 'shared/shared-types'; +import { Connection } from 'typeorm'; + +import { VendureEntity } from '../../entity/base/base.entity'; +import { I18nError } from '../../i18n/i18n-error'; + +/** + * Attempts to find an entity of the given type and id, and throws an error if not found. + */ +export async function getEntityOrThrow( + connection: Connection, + entityType: Type, + id: ID, +): Promise { + const entity = await connection.getRepository(entityType).findOne(id); + if (!entity) { + throw new I18nError(`error.entity-with-id-not-found`, { + entityName: entityType.name, + id, + }); + } + return entity; +} diff --git a/server/src/service/providers/channel.service.ts b/server/src/service/providers/channel.service.ts index 7e175bb2a9..a83f2b9168 100644 --- a/server/src/service/providers/channel.service.ts +++ b/server/src/service/providers/channel.service.ts @@ -13,6 +13,7 @@ import { ConfigService } from '../../config/config.service'; import { Channel } from '../../entity/channel/channel.entity'; import { Zone } from '../../entity/zone/zone.entity'; import { I18nError } from '../../i18n/i18n-error'; +import { getEntityOrThrow } from '../helpers/get-entity-or-throw'; import { patchEntity } from '../helpers/patch-entity'; @Injectable() @@ -74,10 +75,14 @@ export class ChannelService { async create(input: CreateChannelInput): Promise { const channel = new Channel(input); if (input.defaultTaxZoneId) { - channel.defaultTaxZone = await this.getZoneOrThrow(input.defaultTaxZoneId); + channel.defaultTaxZone = await getEntityOrThrow(this.connection, Zone, input.defaultTaxZoneId); } if (input.defaultShippingZoneId) { - channel.defaultShippingZone = await this.getZoneOrThrow(input.defaultShippingZoneId); + channel.defaultShippingZone = await getEntityOrThrow( + this.connection, + Zone, + input.defaultShippingZoneId, + ); } const newChannel = await this.connection.getRepository(Channel).save(channel); this.allChannels.push(channel); @@ -94,10 +99,18 @@ export class ChannelService { } const updatedChannel = patchEntity(channel, input); if (input.defaultTaxZoneId) { - updatedChannel.defaultTaxZone = await this.getZoneOrThrow(input.defaultTaxZoneId); + updatedChannel.defaultTaxZone = await getEntityOrThrow( + this.connection, + Zone, + input.defaultTaxZoneId, + ); } if (input.defaultShippingZoneId) { - updatedChannel.defaultShippingZone = await this.getZoneOrThrow(input.defaultShippingZoneId); + updatedChannel.defaultShippingZone = await getEntityOrThrow( + this.connection, + Zone, + input.defaultShippingZoneId, + ); } await this.connection.getRepository(Channel).save(updatedChannel); return assertFound(this.findOne(channel.id)); @@ -127,15 +140,4 @@ export class ChannelService { await this.connection.manager.save(defaultChannel); } } - - private async getZoneOrThrow(id: ID): Promise { - const zone = await this.connection.getRepository(Zone).findOne(id); - if (!zone) { - throw new I18nError(`error.entity-with-id-not-found`, { - entityName: 'Zone', - id, - }); - } - return zone; - } } diff --git a/server/src/service/providers/customer-group.service.ts b/server/src/service/providers/customer-group.service.ts index 4f25856c64..f3df43099c 100644 --- a/server/src/service/providers/customer-group.service.ts +++ b/server/src/service/providers/customer-group.service.ts @@ -13,7 +13,7 @@ import { Connection } from 'typeorm'; import { assertFound } from '../../common/utils'; import { CustomerGroup } from '../../entity/customer-group/customer-group.entity'; import { Customer } from '../../entity/customer/customer.entity'; -import { I18nError } from '../../i18n/i18n-error'; +import { getEntityOrThrow } from '../helpers/get-entity-or-throw'; import { patchEntity } from '../helpers/patch-entity'; @Injectable() @@ -38,7 +38,7 @@ export class CustomerGroupService { } async update(input: UpdateCustomerGroupInput): Promise { - const customerGroup = await this.getCustomerGroupOrThrow(input.id); + const customerGroup = await getEntityOrThrow(this.connection, CustomerGroup, input.id); const updatedCustomerGroup = patchEntity(customerGroup, input); await this.connection.getRepository(CustomerGroup).save(updatedCustomerGroup); return assertFound(this.findOne(customerGroup.id)); @@ -46,7 +46,7 @@ export class CustomerGroupService { async addCustomersToGroup(input: AddCustomersToGroupMutationArgs): Promise { const countries = await this.getCustomersFromIds(input.customerIds); - const customerGroup = await this.getCustomerGroupOrThrow(input.customerGroupId); + const customerGroup = await getEntityOrThrow(this.connection, CustomerGroup, input.customerGroupId); const customers = unique(customerGroup.customers.concat(countries), 'id'); customerGroup.customers = customers; await this.connection.getRepository(CustomerGroup).save(customerGroup); @@ -54,7 +54,7 @@ export class CustomerGroupService { } async removeCustomersFromGroup(input: RemoveCustomersFromGroupMutationArgs): Promise { - const customerGroup = await this.getCustomerGroupOrThrow(input.customerGroupId); + const customerGroup = await getEntityOrThrow(this.connection, CustomerGroup, input.customerGroupId); customerGroup.customers = customerGroup.customers.filter( customer => !input.customerIds.includes(customer.id as string), ); @@ -62,14 +62,6 @@ export class CustomerGroupService { return customerGroup; } - private async getCustomerGroupOrThrow(id: ID): Promise { - const customerGroup = await this.findOne(id); - if (!customerGroup) { - throw new I18nError(`error.entity-with-id-not-found`, { entityName: 'CustomerGroup', id }); - } - return customerGroup; - } - private getCustomersFromIds(ids: ID[]): Promise { return this.connection.getRepository(Customer).findByIds(ids); } diff --git a/server/src/service/providers/tax-rate.service.ts b/server/src/service/providers/tax-rate.service.ts index fb965bee74..bc5239bc4a 100644 --- a/server/src/service/providers/tax-rate.service.ts +++ b/server/src/service/providers/tax-rate.service.ts @@ -11,9 +11,12 @@ import { TaxRate } from '../../entity/tax-rate/tax-rate.entity'; import { Zone } from '../../entity/zone/zone.entity'; import { I18nError } from '../../i18n/i18n-error'; import { buildListQuery } from '../helpers/build-list-query'; +import { getEntityOrThrow } from '../helpers/get-entity-or-throw'; import { patchEntity } from '../helpers/patch-entity'; export class TaxRateService { + private activeTaxRates: TaxRate[] = []; + constructor(@InjectConnection() private connection: Connection) {} findAll(options?: ListQueryOptions): Promise> { @@ -30,12 +33,17 @@ export class TaxRateService { relations: ['category', 'zone', 'customerGroup'], }); } + async create(input: CreateTaxRateInput): Promise { const taxRate = new TaxRate(input); - taxRate.category = await this.getTaxCategoryOrThrow(input.categoryId); - taxRate.zone = await this.getZoneOrThrow(input.zoneId); + taxRate.category = await getEntityOrThrow(this.connection, TaxCategory, input.categoryId); + taxRate.zone = await getEntityOrThrow(this.connection, Zone, input.zoneId); if (input.customerGroupId) { - taxRate.customerGroup = await this.getCustomerGroupOrThrow(input.customerGroupId); + taxRate.customerGroup = await getEntityOrThrow( + this.connection, + CustomerGroup, + input.customerGroupId, + ); } const newTaxRate = await this.connection.getRepository(TaxRate).save(taxRate); return assertFound(this.findOne(newTaxRate.id)); @@ -51,48 +59,19 @@ export class TaxRateService { } const updatedTaxRate = patchEntity(taxRate, input); if (input.categoryId) { - updatedTaxRate.category = await this.getTaxCategoryOrThrow(input.categoryId); + updatedTaxRate.category = await getEntityOrThrow(this.connection, TaxCategory, input.categoryId); } if (input.zoneId) { - updatedTaxRate.category = await this.getZoneOrThrow(input.zoneId); + updatedTaxRate.category = await getEntityOrThrow(this.connection, Zone, input.zoneId); } if (input.customerGroupId) { - updatedTaxRate.customerGroup = await this.getCustomerGroupOrThrow(input.customerGroupId); + updatedTaxRate.customerGroup = await getEntityOrThrow( + this.connection, + CustomerGroup, + input.customerGroupId, + ); } await this.connection.getRepository(TaxRate).save(updatedTaxRate); return assertFound(this.findOne(taxRate.id)); } - - private async getTaxCategoryOrThrow(id: ID): Promise { - const taxCategory = await this.connection.getRepository(TaxCategory).findOne(id); - if (!taxCategory) { - throw new I18nError(`error.entity-with-id-not-found`, { - entityName: 'TaxCategory', - id, - }); - } - return taxCategory; - } - - private async getZoneOrThrow(id: ID): Promise { - const zone = await this.connection.getRepository(Zone).findOne(id); - if (!zone) { - throw new I18nError(`error.entity-with-id-not-found`, { - entityName: 'Zone', - id, - }); - } - return zone; - } - - private async getCustomerGroupOrThrow(id: ID): Promise { - const group = await this.connection.getRepository(CustomerGroup).findOne(id); - if (!group) { - throw new I18nError(`error.entity-with-id-not-found`, { - entityName: 'CustomerGroup', - id, - }); - } - return group; - } } diff --git a/server/src/service/providers/zone.service.ts b/server/src/service/providers/zone.service.ts index 0887aa2397..a2124d10e8 100644 --- a/server/src/service/providers/zone.service.ts +++ b/server/src/service/providers/zone.service.ts @@ -13,7 +13,7 @@ import { Connection } from 'typeorm'; import { assertFound } from '../../common/utils'; import { Country } from '../../entity/country/country.entity'; import { Zone } from '../../entity/zone/zone.entity'; -import { I18nError } from '../../i18n/i18n-error'; +import { getEntityOrThrow } from '../helpers/get-entity-or-throw'; import { patchEntity } from '../helpers/patch-entity'; @Injectable() @@ -42,7 +42,7 @@ export class ZoneService { } async update(input: UpdateZoneInput): Promise { - const zone = await this.getZoneOrThrow(input.id); + const zone = await getEntityOrThrow(this.connection, Zone, input.id); const updatedZone = patchEntity(zone, input); await this.connection.getRepository(Zone).save(updatedZone); return assertFound(this.findOne(zone.id)); @@ -50,7 +50,7 @@ export class ZoneService { async addMembersToZone(input: AddMembersToZoneMutationArgs): Promise { const countries = await this.getCountriesFromIds(input.memberIds); - const zone = await this.getZoneOrThrow(input.zoneId); + const zone = await getEntityOrThrow(this.connection, Zone, input.zoneId); const members = unique(zone.members.concat(countries), 'id'); zone.members = members; await this.connection.getRepository(Zone).save(zone); @@ -58,20 +58,12 @@ export class ZoneService { } async removeMembersFromZone(input: RemoveMembersFromZoneMutationArgs): Promise { - const zone = await this.getZoneOrThrow(input.zoneId); + const zone = await getEntityOrThrow(this.connection, Zone, input.zoneId); zone.members = zone.members.filter(country => !input.memberIds.includes(country.id as string)); await this.connection.getRepository(Zone).save(zone); return zone; } - private async getZoneOrThrow(id: ID): Promise { - const zone = await this.findOne(id); - if (!zone) { - throw new I18nError(`error.entity-with-id-not-found`, { entityName: 'Zone', id }); - } - return zone; - } - private getCountriesFromIds(ids: ID[]): Promise { return this.connection.getRepository(Country).findByIds(ids); } From b0d4b6c261b37ddc613cdd6206573e5a3e79abb7 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 16 Oct 2018 14:25:31 +0200 Subject: [PATCH 7/8] feat(server): Add tax data to ProductVariant results --- .../product-detail.component.ts | 1 + .../data/definitions/product-definitions.ts | 6 + schema.json | 2 +- .../src/api/common/request-context.service.ts | 9 +- server/src/api/common/request-context.ts | 9 +- .../product-variant/product-variant.entity.ts | 13 +- .../product-variant/product-variant.graphql | 2 + server/src/entity/tax-rate/tax-rate.entity.ts | 10 +- .../src/service/providers/channel.service.ts | 8 +- server/src/service/providers/order.service.ts | 4 - .../src/service/providers/product.service.ts | 56 ++++++--- .../src/service/providers/tax-rate.service.ts | 22 ++++ shared/generated-types.ts | 112 +++++++++++------- 13 files changed, 175 insertions(+), 79 deletions(-) diff --git a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts index 9b31a181f5..4bcaf9f0cc 100644 --- a/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts +++ b/admin-ui/src/app/catalog/components/product-detail/product-detail.component.ts @@ -245,6 +245,7 @@ export class ProductDetailComponent extends BaseDetailComponent { const channelToken = this.getChannelToken(req); - const channel = (channelToken && this.channelService.getChannelFromToken(channelToken)) || undefined; + const channel = this.channelService.getChannelFromToken(channelToken); const hasOwnerPermission = !!requiredPermissions && requiredPermissions.includes(Permission.Owner); const languageCode = this.getLanguageCode(req); @@ -46,14 +47,16 @@ export class RequestContextService { }); } - private getChannelToken(req: Request): string | undefined { + private getChannelToken(req: Request): string { const tokenKey = this.configService.channelTokenKey; - let channelToken: string | undefined; + let channelToken: string; if (req && req.query && req.query[tokenKey]) { channelToken = req.query[tokenKey]; } else if (req && req.headers && req.headers[tokenKey]) { channelToken = req.headers[tokenKey] as string; + } else { + throw new I18nError('error.no-valid-channel-specified'); } return channelToken; } diff --git a/server/src/api/common/request-context.ts b/server/src/api/common/request-context.ts index 33615262a5..0aa5fa5008 100644 --- a/server/src/api/common/request-context.ts +++ b/server/src/api/common/request-context.ts @@ -13,13 +13,13 @@ import { I18nError } from '../../i18n/i18n-error'; */ export class RequestContext { private readonly _languageCode: LanguageCode; - private readonly _channel?: Channel; + private readonly _channel: Channel; private readonly _session?: Session; private readonly _isAuthorized: boolean; private readonly _authorizedAsOwnerOnly: boolean; constructor(options: { - channel?: Channel; + channel: Channel; session?: Session; languageCode?: LanguageCode; isAuthorized: boolean; @@ -34,14 +34,11 @@ export class RequestContext { this._authorizedAsOwnerOnly = options.authorizedAsOwnerOnly; } - get channel(): Channel | undefined { + get channel(): Channel { return this._channel; } get channelId(): ID { - if (!this._channel) { - throw new I18nError('error.no-valid-channel-specified'); - } return this._channel.id; } diff --git a/server/src/entity/product-variant/product-variant.entity.ts b/server/src/entity/product-variant/product-variant.entity.ts index d5ae45cdfb..52fd7b1a91 100644 --- a/server/src/entity/product-variant/product-variant.entity.ts +++ b/server/src/entity/product-variant/product-variant.entity.ts @@ -1,4 +1,4 @@ -import { DeepPartial, HasCustomFields, ID } from 'shared/shared-types'; +import { DeepPartial, HasCustomFields } from 'shared/shared-types'; import { Column, Entity, JoinTable, ManyToMany, ManyToOne, OneToMany } from 'typeorm'; import { LocaleString, Translatable, Translation } from '../../common/types/locale-types'; @@ -8,6 +8,7 @@ import { FacetValue } from '../facet-value/facet-value.entity'; import { ProductOption } from '../product-option/product-option.entity'; import { Product } from '../product/product.entity'; import { TaxCategory } from '../tax-category/tax-category.entity'; +import { TaxRate } from '../tax-rate/tax-rate.entity'; import { ProductVariantPrice } from './product-variant-price.entity'; import { ProductVariantTranslation } from './product-variant-translation.entity'; @@ -32,6 +33,16 @@ export class ProductVariant extends VendureEntity implements Translatable, HasCu }) price: number; + /** + * Calculated at run-time + */ + priceWithTax?: number; + + /** + * Calculated at run-time + */ + taxRateApplied?: TaxRate; + @ManyToOne(type => TaxCategory) taxCategory: TaxCategory; diff --git a/server/src/entity/product-variant/product-variant.graphql b/server/src/entity/product-variant/product-variant.graphql index 631fba6afe..de30316bf3 100644 --- a/server/src/entity/product-variant/product-variant.graphql +++ b/server/src/entity/product-variant/product-variant.graphql @@ -6,6 +6,8 @@ type ProductVariant implements Node { sku: String! name: String! price: Int! + priceWithTax: Int! + taxRateApplied: TaxRate taxCategory: TaxCategory! options: [ProductOption!]! facetValues: [FacetValue!]! diff --git a/server/src/entity/tax-rate/tax-rate.entity.ts b/server/src/entity/tax-rate/tax-rate.entity.ts index 129b3db0c5..b575c29983 100644 --- a/server/src/entity/tax-rate/tax-rate.entity.ts +++ b/server/src/entity/tax-rate/tax-rate.entity.ts @@ -31,13 +31,19 @@ export class TaxRate extends AdjustmentSource { @ManyToOne(type => CustomerGroup, { nullable: true }) customerGroup?: CustomerGroup; + /** + * Returns the tax applicable to the given price. + */ + getTax(price: number): number { + return Math.round(price * (this.value / 100)); + } + apply(price: number): Adjustment { - const tax = Math.round(price * (this.value / 100)); return { type: this.type, adjustmentSource: this.getSourceId(), description: this.name, - amount: tax, + amount: this.getTax(price), }; } diff --git a/server/src/service/providers/channel.service.ts b/server/src/service/providers/channel.service.ts index a83f2b9168..9e918c89d2 100644 --- a/server/src/service/providers/channel.service.ts +++ b/server/src/service/providers/channel.service.ts @@ -44,8 +44,12 @@ export class ChannelService { /** * Given a channel token, returns the corresponding Channel if it exists. */ - getChannelFromToken(token: string): Channel | undefined { - return this.allChannels.find(channel => channel.token === token); + getChannelFromToken(token: string): Channel { + const channel = this.allChannels.find(c => c.token === token); + if (!channel) { + throw new I18nError(`error.channel-not-found`, { token }); + } + return channel; } /** diff --git a/server/src/service/providers/order.service.ts b/server/src/service/providers/order.service.ts index c7ec84e4fd..45753843a9 100644 --- a/server/src/service/providers/order.service.ts +++ b/server/src/service/providers/order.service.ts @@ -168,11 +168,7 @@ export class OrderService { } private async calculateOrderTotals(ctx: RequestContext, order: Order): Promise { - if (!ctx.channel) { - throw new I18nError(`error.no-active-channel`); - } const activeZone = ctx.channel.defaultTaxZone; - const taxRates = await this.connection.getRepository(TaxRate).find({ where: { enabled: true, diff --git a/server/src/service/providers/product.service.ts b/server/src/service/providers/product.service.ts index f8e28e51a9..52ff469bc8 100644 --- a/server/src/service/providers/product.service.ts +++ b/server/src/service/providers/product.service.ts @@ -7,7 +7,7 @@ import { Connection } from 'typeorm'; import { RequestContext } from '../../api/common/request-context'; import { ListQueryOptions } from '../../common/types/common-types'; import { Translated } from '../../common/types/locale-types'; -import { assertFound, idsAreEqual } from '../../common/utils'; +import { assertFound } from '../../common/utils'; import { ProductOptionGroup } from '../../entity/product-option-group/product-option-group.entity'; import { ProductTranslation } from '../../entity/product/product-translation.entity'; import { Product } from '../../entity/product/product.entity'; @@ -21,6 +21,7 @@ import { updateTranslatable } from '../helpers/update-translatable'; import { AssetService } from './asset.service'; import { ChannelService } from './channel.service'; import { ProductVariantService } from './product-variant.service'; +import { TaxRateService } from './tax-rate.service'; @Injectable() export class ProductService { @@ -30,6 +31,7 @@ export class ProductService { private channelService: ChannelService, private assetService: AssetService, private productVariantService: ProductVariantService, + private taxRateService: TaxRateService, ) {} findAll( @@ -43,22 +45,25 @@ export class ProductService { 'optionGroups', 'variants.options', 'variants.facetValues', + 'variants.taxCategory', 'channels', ]; return buildListQuery(this.connection, Product, options, relations, ctx.channelId) .getManyAndCount() - .then(([products, totalItems]) => { - const items = products - .map(product => - translateDeep(product, ctx.languageCode, [ - 'optionGroups', - 'variants', - ['variants', 'options'], - ['variants', 'facetValues'], - ]), - ) - .map(product => this.applyChannelPriceToVariants(product, ctx)); + .then(async ([products, totalItems]) => { + const items = await Promise.all( + products + .map(product => + translateDeep(product, ctx.languageCode, [ + 'optionGroups', + 'variants', + ['variants', 'options'], + ['variants', 'facetValues'], + ]), + ) + .map(async product => await this.applyPriceAndTaxToVariants(product, ctx)), + ); return { items, totalItems, @@ -86,7 +91,7 @@ export class ProductService { ['variants', 'options'], ['variants', 'facetValues'], ]); - return this.applyChannelPriceToVariants(translated, ctx); + return this.applyPriceAndTaxToVariants(translated, ctx); } async create(ctx: RequestContext, input: CreateProductInput): Promise> { @@ -157,10 +162,27 @@ export class ProductService { } } - private applyChannelPriceToVariants(product: T, ctx: RequestContext): T { - product.variants = product.variants.map(v => - this.productVariantService.applyChannelPrice(v, ctx.channelId), - ); + /** + * The price of a ProductVariant depends on the current channel and the priceWithTax further + * depends on the currently-active zone and applicable TaxRates. + * This method uses the RequestContext to determine these values and apply them to each + * ProductVariant of the given Product. + */ + private async applyPriceAndTaxToVariants(product: T, ctx: RequestContext): Promise { + const activeTaxRates = await this.taxRateService.getActiveTaxRates(); + product.variants = product.variants.map(variant => { + this.productVariantService.applyChannelPrice(variant, ctx.channelId); + const applicableTaxRate = activeTaxRates.find(r => + r.test(ctx.channel.defaultTaxZone, variant.taxCategory), + ); + if (applicableTaxRate) { + variant.priceWithTax = variant.price + applicableTaxRate.getTax(variant.price); + variant.taxRateApplied = applicableTaxRate; + } else { + variant.priceWithTax = variant.price; + } + return variant; + }); return product; } diff --git a/server/src/service/providers/tax-rate.service.ts b/server/src/service/providers/tax-rate.service.ts index bc5239bc4a..e3a02e9194 100644 --- a/server/src/service/providers/tax-rate.service.ts +++ b/server/src/service/providers/tax-rate.service.ts @@ -15,6 +15,10 @@ import { getEntityOrThrow } from '../helpers/get-entity-or-throw'; import { patchEntity } from '../helpers/patch-entity'; export class TaxRateService { + /** + * We cache all active TaxRates to avoid hitting the DB many times + * per request. + */ private activeTaxRates: TaxRate[] = []; constructor(@InjectConnection() private connection: Connection) {} @@ -46,6 +50,7 @@ export class TaxRateService { ); } const newTaxRate = await this.connection.getRepository(TaxRate).save(taxRate); + await this.updateActiveTaxRates(); return assertFound(this.findOne(newTaxRate.id)); } @@ -72,6 +77,23 @@ export class TaxRateService { ); } await this.connection.getRepository(TaxRate).save(updatedTaxRate); + await this.updateActiveTaxRates(); return assertFound(this.findOne(taxRate.id)); } + + async getActiveTaxRates(): Promise { + if (!this.activeTaxRates.length) { + await this.updateActiveTaxRates(); + } + return this.activeTaxRates; + } + + private async updateActiveTaxRates() { + this.activeTaxRates = await this.connection.getRepository(TaxRate).find({ + relations: ['category', 'zone', 'customerGroup'], + where: { + enabled: true, + }, + }); + } } diff --git a/shared/generated-types.ts b/shared/generated-types.ts index 24fffe5e3f..74020b1680 100644 --- a/shared/generated-types.ts +++ b/shared/generated-types.ts @@ -273,7 +273,7 @@ export interface Order extends Node { code: string; customer?: Customer | null; lines: OrderLine[]; - adjustments?: Adjustment[] | null; + totalPriceBeforeTax: number; totalPrice: number; } @@ -284,6 +284,7 @@ export interface OrderLine extends Node { productVariant: ProductVariant; featuredAsset?: Asset | null; unitPrice: number; + unitPriceWithTax: number; quantity: number; items: OrderItem[]; totalPrice: number; @@ -299,6 +300,8 @@ export interface ProductVariant extends Node { sku: string; name: string; price: number; + priceWithTax: number; + taxRateApplied?: TaxRate | null; taxCategory: TaxCategory; options: ProductOption[]; facetValues: FacetValue[]; @@ -306,6 +309,18 @@ export interface ProductVariant extends Node { customFields?: Json | null; } +export interface TaxRate extends Node { + id: string; + createdAt: DateTime; + updatedAt: DateTime; + name: string; + enabled: boolean; + value: number; + category: TaxCategory; + zone: Zone; + customerGroup?: CustomerGroup | null; +} + export interface TaxCategory extends Node { id: string; createdAt: DateTime; @@ -462,18 +477,6 @@ export interface TaxRateList extends PaginatedList { totalItems: number; } -export interface TaxRate extends Node { - id: string; - createdAt: DateTime; - updatedAt: DateTime; - name: string; - enabled: boolean; - value: number; - category: TaxCategory; - zone: Zone; - customerGroup?: CustomerGroup | null; -} - export interface NetworkStatus { inFlightRequests: number; } @@ -2471,7 +2474,7 @@ export namespace OrderResolvers { code?: CodeResolver; customer?: CustomerResolver; lines?: LinesResolver; - adjustments?: AdjustmentsResolver; + totalPriceBeforeTax?: TotalPriceBeforeTaxResolver; totalPrice?: TotalPriceResolver; } @@ -2485,7 +2488,7 @@ export namespace OrderResolvers { Context >; export type LinesResolver = Resolver; - export type AdjustmentsResolver = Resolver< + export type TotalPriceBeforeTaxResolver = Resolver< R, Parent, Context @@ -2501,6 +2504,7 @@ export namespace OrderLineResolvers { productVariant?: ProductVariantResolver; featuredAsset?: FeaturedAssetResolver; unitPrice?: UnitPriceResolver; + unitPriceWithTax?: UnitPriceWithTaxResolver; quantity?: QuantityResolver; items?: ItemsResolver; totalPrice?: TotalPriceResolver; @@ -2522,6 +2526,11 @@ export namespace OrderLineResolvers { Context >; export type UnitPriceResolver = Resolver; + export type UnitPriceWithTaxResolver = Resolver< + R, + Parent, + Context + >; export type QuantityResolver = Resolver; export type ItemsResolver = Resolver; export type TotalPriceResolver = Resolver; @@ -2542,6 +2551,8 @@ export namespace ProductVariantResolvers { sku?: SkuResolver; name?: NameResolver; price?: PriceResolver; + priceWithTax?: PriceWithTaxResolver; + taxRateApplied?: TaxRateAppliedResolver; taxCategory?: TaxCategoryResolver; options?: OptionsResolver; facetValues?: FacetValuesResolver; @@ -2560,6 +2571,12 @@ export namespace ProductVariantResolvers { export type SkuResolver = Resolver; export type NameResolver = Resolver; export type PriceResolver = Resolver; + export type PriceWithTaxResolver = Resolver; + export type TaxRateAppliedResolver = Resolver< + R, + Parent, + Context + >; export type TaxCategoryResolver = Resolver< R, Parent, @@ -2587,6 +2604,34 @@ export namespace ProductVariantResolvers { >; } +export namespace TaxRateResolvers { + export interface Resolvers { + id?: IdResolver; + createdAt?: CreatedAtResolver; + updatedAt?: UpdatedAtResolver; + name?: NameResolver; + enabled?: EnabledResolver; + value?: ValueResolver; + category?: CategoryResolver; + zone?: ZoneResolver; + customerGroup?: CustomerGroupResolver; + } + + export type IdResolver = Resolver; + export type CreatedAtResolver = Resolver; + export type UpdatedAtResolver = Resolver; + export type NameResolver = Resolver; + export type EnabledResolver = Resolver; + export type ValueResolver = Resolver; + export type CategoryResolver = Resolver; + export type ZoneResolver = Resolver; + export type CustomerGroupResolver = Resolver< + R, + Parent, + Context + >; +} + export namespace TaxCategoryResolvers { export interface Resolvers { id?: IdResolver; @@ -3007,34 +3052,6 @@ export namespace TaxRateListResolvers { export type TotalItemsResolver = Resolver; } -export namespace TaxRateResolvers { - export interface Resolvers { - id?: IdResolver; - createdAt?: CreatedAtResolver; - updatedAt?: UpdatedAtResolver; - name?: NameResolver; - enabled?: EnabledResolver; - value?: ValueResolver; - category?: CategoryResolver; - zone?: ZoneResolver; - customerGroup?: CustomerGroupResolver; - } - - export type IdResolver = Resolver; - export type CreatedAtResolver = Resolver; - export type UpdatedAtResolver = Resolver; - export type NameResolver = Resolver; - export type EnabledResolver = Resolver; - export type ValueResolver = Resolver; - export type CategoryResolver = Resolver; - export type ZoneResolver = Resolver; - export type CustomerGroupResolver = Resolver< - R, - Parent, - Context - >; -} - export namespace NetworkStatusResolvers { export interface Resolvers { inFlightRequests?: InFlightRequestsResolver; @@ -4761,6 +4778,8 @@ export namespace ProductVariant { languageCode: LanguageCode; name: string; price: number; + priceWithTax: number; + taxRateApplied?: TaxRateApplied | null; taxCategory: TaxCategory; sku: string; options: Options[]; @@ -4768,6 +4787,13 @@ export namespace ProductVariant { translations: Translations[]; }; + export type TaxRateApplied = { + __typename?: 'TaxRate'; + id: string; + name: string; + value: number; + }; + export type TaxCategory = { __typename?: 'TaxCategory'; id: string; From 9076d45863ee847f00bd415d0e77233cc71bfe82 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Wed, 17 Oct 2018 20:13:07 +0200 Subject: [PATCH 8/8] fix: Get Promotions working with new design Fix all tests broken by the broad design changes of this branch. --- .../product-variants-list.component.html | 9 + .../product-variants-wizard.component.spec.ts | 2 + .../select-option-group.component.spec.ts | 8 +- .../promotion-detail.component.ts | 5 +- .../adjustment-operation-input.component.html | 9 +- schema.json | 2 +- .../adjustment-source.e2e-spec.ts.snap | 268 ------------------ .../__snapshots__/promotion.e2e-spec.ts.snap | 120 ++++++++ server/e2e/adjustment-source.e2e-spec.ts | 268 ------------------ server/e2e/config/test-config.ts | 1 + server/e2e/order.e2e-spec.ts | 56 ++-- server/e2e/product.e2e-spec.ts | 1 - server/e2e/promotion.e2e-spec.ts | 151 ++++++++++ server/mock-data/mock-data.service.ts | 2 +- server/src/api/resolvers/channel.resolver.ts | 3 + server/src/api/resolvers/tax-rate.resolver.ts | 3 + server/src/common/types/adjustment-source.ts | 2 +- .../src/config/adjustment/adjustment-types.ts | 33 --- .../adjustment/default-adjustment-actions.ts | 24 -- .../default-adjustment-conditions.ts | 35 --- .../adjustment/required-adjustment-actions.ts | 17 -- .../required-adjustment-conditions.ts | 12 - server/src/config/config.service.mock.ts | 5 +- server/src/config/config.service.ts | 16 +- server/src/config/default-config.ts | 10 +- server/src/config/merge-config.ts | 20 -- .../promotion/default-promotion-actions.ts | 21 ++ .../promotion/default-promotion-conditions.ts | 42 +++ .../src/config/promotion/promotion-action.ts | 49 ++++ .../config/promotion/promotion-condition.ts | 61 ++++ .../half-even-rounding-strategy.ts | 16 ++ .../half-up-rounding-strategy.ts | 10 + .../rounding-strategy/rounding-strategy.ts | 7 + server/src/config/vendure-config.ts | 19 +- .../entity/order-line/order-line.entity.ts | 40 ++- .../src/entity/order-line/order-line.graphql | 1 + server/src/entity/order/order.entity.ts | 19 ++ .../product-variant-price.entity.ts | 1 - .../src/entity/promotion/promotion.entity.ts | 43 ++- server/src/entity/promotion/promotion.graphql | 7 +- server/src/entity/tax-rate/tax-rate.entity.ts | 5 +- server/src/i18n/messages/en.json | 3 +- .../helpers/apply-adjustments.spec-off.ts | 198 ------------- .../src/service/helpers/apply-adjustments.ts | 140 --------- .../adjustment-applicator.service.ts | 30 -- .../src/service/providers/channel.service.ts | 9 +- server/src/service/providers/order.service.ts | 79 ++++-- .../providers/product-variant.service.ts | 40 ++- .../src/service/providers/product.service.ts | 39 +-- .../service/providers/promotion.service.ts | 46 +-- .../src/service/providers/tax-rate.service.ts | 9 +- server/src/service/service.module.ts | 10 +- shared/generated-types.ts | 7 +- 53 files changed, 830 insertions(+), 1203 deletions(-) delete mode 100644 server/e2e/__snapshots__/adjustment-source.e2e-spec.ts.snap create mode 100644 server/e2e/__snapshots__/promotion.e2e-spec.ts.snap delete mode 100644 server/e2e/adjustment-source.e2e-spec.ts create mode 100644 server/e2e/promotion.e2e-spec.ts delete mode 100644 server/src/config/adjustment/adjustment-types.ts delete mode 100644 server/src/config/adjustment/default-adjustment-actions.ts delete mode 100644 server/src/config/adjustment/default-adjustment-conditions.ts delete mode 100644 server/src/config/adjustment/required-adjustment-actions.ts delete mode 100644 server/src/config/adjustment/required-adjustment-conditions.ts create mode 100644 server/src/config/promotion/default-promotion-actions.ts create mode 100644 server/src/config/promotion/default-promotion-conditions.ts create mode 100644 server/src/config/promotion/promotion-action.ts create mode 100644 server/src/config/promotion/promotion-condition.ts create mode 100644 server/src/config/rounding-strategy/half-even-rounding-strategy.ts create mode 100644 server/src/config/rounding-strategy/half-up-rounding-strategy.ts create mode 100644 server/src/config/rounding-strategy/rounding-strategy.ts delete mode 100644 server/src/service/helpers/apply-adjustments.spec-off.ts delete mode 100644 server/src/service/helpers/apply-adjustments.ts delete mode 100644 server/src/service/providers/adjustment-applicator.service.ts diff --git a/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.html b/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.html index 54bfd16611..0d917dfe75 100644 --- a/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.html +++ b/admin-ui/src/app/catalog/components/product-variants-list/product-variants-list.component.html @@ -57,6 +57,15 @@ [formControl]="formArray.get([i, 'price'])"> +
    + + + +
    +
    + {{ formArray.get([i, 'price']).value * ( 1 + variant.taxRateApplied.value / 100) }} +
    diff --git a/admin-ui/src/app/catalog/components/product-variants-wizard/product-variants-wizard.component.spec.ts b/admin-ui/src/app/catalog/components/product-variants-wizard/product-variants-wizard.component.spec.ts index 8ee21a609e..6658fdfbc5 100644 --- a/admin-ui/src/app/catalog/components/product-variants-wizard/product-variants-wizard.component.spec.ts +++ b/admin-ui/src/app/catalog/components/product-variants-wizard/product-variants-wizard.component.spec.ts @@ -8,6 +8,7 @@ import { AffixedInputComponent } from '../../../shared/components/affixed-input/ import { ChipComponent } from '../../../shared/components/chip/chip.component'; import { CurrencyInputComponent } from '../../../shared/components/currency-input/currency-input.component'; import { SelectToggleComponent } from '../../../shared/components/select-toggle/select-toggle.component'; +import { BackgroundColorFromDirective } from '../../../shared/directives/background-color-from.directive'; import { CreateOptionGroupFormComponent } from '../create-option-group-form/create-option-group-form.component'; import { SelectOptionGroupComponent } from '../select-option-group/select-option-group.component'; @@ -28,6 +29,7 @@ describe('ProductVariantsWizardComponent', () => { ChipComponent, CurrencyInputComponent, AffixedInputComponent, + BackgroundColorFromDirective, ], providers: [{ provide: NotificationService, useClass: MockNotificationService }], }).compileComponents(); diff --git a/admin-ui/src/app/catalog/components/select-option-group/select-option-group.component.spec.ts b/admin-ui/src/app/catalog/components/select-option-group/select-option-group.component.spec.ts index 313be0dfa0..573d708bf1 100644 --- a/admin-ui/src/app/catalog/components/select-option-group/select-option-group.component.spec.ts +++ b/admin-ui/src/app/catalog/components/select-option-group/select-option-group.component.spec.ts @@ -6,6 +6,7 @@ import { DataService } from '../../../data/providers/data.service'; import { MockDataService } from '../../../data/providers/data.service.mock'; import { ChipComponent } from '../../../shared/components/chip/chip.component'; import { SelectToggleComponent } from '../../../shared/components/select-toggle/select-toggle.component'; +import { BackgroundColorFromDirective } from '../../../shared/directives/background-color-from.directive'; import { SelectOptionGroupComponent } from './select-option-group.component'; @@ -16,7 +17,12 @@ describe('SelectOptionGroupComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ReactiveFormsModule, TestingCommonModule], - declarations: [SelectOptionGroupComponent, SelectToggleComponent, ChipComponent], + declarations: [ + SelectOptionGroupComponent, + SelectToggleComponent, + ChipComponent, + BackgroundColorFromDirective, + ], providers: [{ provide: DataService, useClass: MockDataService }], }).compileComponents(); })); diff --git a/admin-ui/src/app/marketing/components/promotion-detail/promotion-detail.component.ts b/admin-ui/src/app/marketing/components/promotion-detail/promotion-detail.component.ts index 3d988660d0..e70e9b9445 100644 --- a/admin-ui/src/app/marketing/components/promotion-detail/promotion-detail.component.ts +++ b/admin-ui/src/app/marketing/components/promotion-detail/promotion-detail.component.ts @@ -186,7 +186,10 @@ export class PromotionDetailComponent extends BaseDetailComponent { return { code: o.code, - arguments: Object.values(formValueOperations[i].args).map(v => v.toString()), + arguments: Object.values(formValueOperations[i].args).map((value, j) => ({ + name: o.args[j].name, + value: value.toString(), + })), }; }); } diff --git a/admin-ui/src/app/shared/components/adjustment-operation-input/adjustment-operation-input.component.html b/admin-ui/src/app/shared/components/adjustment-operation-input/adjustment-operation-input.component.html index 7acde4c4f5..d8dc758f90 100644 --- a/admin-ui/src/app/shared/components/adjustment-operation-input/adjustment-operation-input.component.html +++ b/admin-ui/src/app/shared/components/adjustment-operation-input/adjustment-operation-input.component.html @@ -10,7 +10,14 @@ - +
    + + +
    { - const client = new TestClient(); - const server = new TestServer(); - - const promoCondition = generateTestCondition('promo_condition', AdjustmentType.PROMOTION); - const promoCondition2 = generateTestCondition('promo_condition2', AdjustmentType.PROMOTION); - const taxCondition = generateTestCondition('tax_condition', AdjustmentType.TAX); - const shippingCondition = generateTestCondition('shipping_condition', AdjustmentType.SHIPPING); - - const promoAction = generateTestAction('promo_action', AdjustmentType.PROMOTION); - const taxAction = generateTestAction('tax_action', AdjustmentType.TAX); - const shippingAction = generateTestAction('shipping_action', AdjustmentType.SHIPPING); - - const snapshotProps = ['name', 'type', 'actions', 'conditions', 'enabled'] as Array< - 'name' | 'type' | 'actions' | 'conditions' | 'enabled' - >; - let promoAdjustmentSource: AdjustmentSource.Fragment; - - beforeAll(async () => { - const token = await server.init( - { - productCount: 1, - customerCount: 1, - }, - { - adjustmentConditions: [promoCondition, promoCondition2, taxCondition, shippingCondition], - adjustmentActions: [promoAction, taxAction, shippingAction], - }, - ); - await client.init(); - }, 60000); - - afterAll(async () => { - await server.destroy(); - }); - - it('createPromotion promotion', async () => { - const result = await client.query( - CREATE_ADJUSTMENT_SOURCE, - { - input: { - name: 'promo adjustment source', - type: AdjustmentType.PROMOTION, - enabled: true, - conditions: [ - { - code: promoCondition.code, - arguments: ['500'], - }, - ], - actions: [ - { - code: promoAction.code, - arguments: ['50'], - }, - ], - }, - }, - ); - promoAdjustmentSource = result.createAdjustmentSource; - expect(pick(promoAdjustmentSource, snapshotProps)).toMatchSnapshot(); - }); - - it('createPromotion tax', async () => { - const result = await client.query( - CREATE_ADJUSTMENT_SOURCE, - { - input: { - name: 'tax adjustment source', - type: AdjustmentType.TAX, - enabled: true, - conditions: [ - { - code: taxCondition.code, - arguments: ['500'], - }, - ], - actions: [ - { - code: taxAction.code, - arguments: ['50'], - }, - ], - }, - }, - ); - expect(pick(result.createAdjustmentSource, snapshotProps)).toMatchSnapshot(); - }); - - it('createPromotion shipping', async () => { - const result = await client.query( - CREATE_ADJUSTMENT_SOURCE, - { - input: { - name: 'shipping adjustment source', - type: AdjustmentType.SHIPPING, - enabled: true, - conditions: [ - { - code: shippingCondition.code, - arguments: ['500'], - }, - ], - actions: [ - { - code: shippingAction.code, - arguments: ['50'], - }, - ], - }, - }, - ); - expect(pick(result.createAdjustmentSource, snapshotProps)).toMatchSnapshot(); - }); - - it('updatePromotion', async () => { - const result = await client.query( - UPDATE_ADJUSTMENT_SOURCE, - { - input: { - id: promoAdjustmentSource.id, - conditions: [ - { - code: promoCondition.code, - arguments: ['90'], - }, - { - code: promoCondition2.code, - arguments: ['10'], - }, - ], - }, - }, - ); - expect(pick(result.updateAdjustmentSource, snapshotProps)).toMatchSnapshot(); - }); - - it('promotion', async () => { - const result = await client.query( - GET_ADJUSTMENT_SOURCE, - { - id: promoAdjustmentSource.id, - }, - ); - - expect(result.promotion!.name).toBe(promoAdjustmentSource.name); - }); - - it('adjustmentSources, type = promotion', async () => { - const result = await client.query( - GET_ADJUSTMENT_SOURCE_LIST, - { - type: AdjustmentType.PROMOTION, - }, - ); - - expect(result.adjustmentSources.totalItems).toBe(1); - expect(result.adjustmentSources.items[0].name).toBe('promo adjustment source'); - }); - - it('adjustmentSources, type = tax', async () => { - const result = await client.query( - GET_ADJUSTMENT_SOURCE_LIST, - { - type: AdjustmentType.TAX, - }, - ); - - // 4 = 3 generated by the populate script + 1 created in this test suite. - expect(result.adjustmentSources.totalItems).toBe(4); - expect(result.adjustmentSources.items[3].name).toBe('tax adjustment source'); - }); - - it('adjustmentSources, type = shipping', async () => { - const result = await client.query( - GET_ADJUSTMENT_SOURCE_LIST, - { - type: AdjustmentType.SHIPPING, - }, - ); - - expect(result.adjustmentSources.totalItems).toBe(1); - expect(result.adjustmentSources.items[0].name).toBe('shipping adjustment source'); - }); - - it('adjustmentOperations, type = promotion', async () => { - const result = await client.query( - GET_ADJUSTMENT_OPERATIONS, - { - type: AdjustmentType.PROMOTION, - }, - ); - - expect(result.adjustmentOperations).toMatchSnapshot(); - }); - - it('adjustmentOperations, type = tax', async () => { - const result = await client.query( - GET_ADJUSTMENT_OPERATIONS, - { - type: AdjustmentType.TAX, - }, - ); - - expect(result.adjustmentOperations).toMatchSnapshot(); - }); - - it('adjustmentOperations, type = shipping', async () => { - const result = await client.query( - GET_ADJUSTMENT_OPERATIONS, - { - type: AdjustmentType.SHIPPING, - }, - ); - - expect(result.adjustmentOperations).toMatchSnapshot(); - }); -}); - -function generateTestCondition(code: string, type: AdjustmentType): AdjustmentConditionDefinition { - return { - code, - description: `description for ${code}`, - args: [{ name: 'arg', type: 'money' }], - type, - predicate: (order, args) => true, - }; -} - -function generateTestAction(code: string, type: AdjustmentType): AdjustmentActionDefinition { - return { - code, - description: `description for ${code}`, - args: [{ name: 'percentage', type: 'percentage' }], - type, - calculate: (order, args) => { - return [{ amount: 42 }]; - }, - }; -} diff --git a/server/e2e/config/test-config.ts b/server/e2e/config/test-config.ts index 06bbdb187f..f85e53a9dd 100644 --- a/server/e2e/config/test-config.ts +++ b/server/e2e/config/test-config.ts @@ -15,6 +15,7 @@ export const testConfig: VendureConfig = { port: 3050, apiPath: API_PATH, cors: true, + defaultChannelToken: 'e2e-default-channel', authOptions: { sessionSecret: 'some-secret', tokenMethod: 'bearer', diff --git a/server/e2e/order.e2e-spec.ts b/server/e2e/order.e2e-spec.ts index 6b29653f21..487ccba9b0 100644 --- a/server/e2e/order.e2e-spec.ts +++ b/server/e2e/order.e2e-spec.ts @@ -39,11 +39,11 @@ describe('Orders', () => { quantity: 1, }); - expect(result.addItemToOrder.items.length).toBe(1); - expect(result.addItemToOrder.items[0].quantity).toBe(1); - expect(result.addItemToOrder.items[0].productVariant.id).toBe('T_1'); - expect(result.addItemToOrder.items[0].id).toBe('T_1'); - firstOrderItemId = result.addItemToOrder.items[0].id; + expect(result.addItemToOrder.lines.length).toBe(1); + expect(result.addItemToOrder.lines[0].quantity).toBe(1); + expect(result.addItemToOrder.lines[0].productVariant.id).toBe('T_1'); + expect(result.addItemToOrder.lines[0].id).toBe('T_1'); + firstOrderItemId = result.addItemToOrder.lines[0].id; }); it('addItemToOrder() creates an anonymous session', () => { @@ -84,8 +84,8 @@ describe('Orders', () => { quantity: 2, }); - expect(result.addItemToOrder.items.length).toBe(1); - expect(result.addItemToOrder.items[0].quantity).toBe(3); + expect(result.addItemToOrder.lines.length).toBe(1); + expect(result.addItemToOrder.lines[0].quantity).toBe(3); }); it('adjustItemQuantity() adjusts the quantity', async () => { @@ -94,8 +94,8 @@ describe('Orders', () => { quantity: 50, }); - expect(result.adjustItemQuantity.items.length).toBe(1); - expect(result.adjustItemQuantity.items[0].quantity).toBe(50); + expect(result.adjustItemQuantity.lines.length).toBe(1); + expect(result.adjustItemQuantity.lines[0].quantity).toBe(50); }); it('adjustItemQuantity() errors with a negative quantity', async () => { @@ -121,7 +121,7 @@ describe('Orders', () => { fail('Should have thrown'); } catch (err) { expect(err.message).toEqual( - expect.stringContaining(`This order does not contain an OrderItem with the id 999`), + expect.stringContaining(`This order does not contain an OrderLine with the id 999`), ); } }); @@ -131,14 +131,14 @@ describe('Orders', () => { productVariantId: 'T_3', quantity: 3, }); - expect(result1.addItemToOrder.items.length).toBe(2); - expect(result1.addItemToOrder.items.map(i => i.productVariant.id)).toEqual(['T_1', 'T_3']); + expect(result1.addItemToOrder.lines.length).toBe(2); + expect(result1.addItemToOrder.lines.map(i => i.productVariant.id)).toEqual(['T_1', 'T_3']); const result2 = await client.query(REMOVE_ITEM_FROM_ORDER, { orderItemId: firstOrderItemId, }); - expect(result2.removeItemFromOrder.items.length).toBe(1); - expect(result2.removeItemFromOrder.items.map(i => i.productVariant.id)).toEqual(['T_3']); + expect(result2.removeItemFromOrder.lines.length).toBe(1); + expect(result2.removeItemFromOrder.lines.map(i => i.productVariant.id)).toEqual(['T_3']); }); it('removeItemFromOrder() errors with an invalid orderItemId', async () => { @@ -149,7 +149,7 @@ describe('Orders', () => { fail('Should have thrown'); } catch (err) { expect(err.message).toEqual( - expect.stringContaining(`This order does not contain an OrderItem with the id 999`), + expect.stringContaining(`This order does not contain an OrderLine with the id 999`), ); } }); @@ -178,10 +178,10 @@ describe('Orders', () => { quantity: 1, }); - expect(result.addItemToOrder.items.length).toBe(1); - expect(result.addItemToOrder.items[0].quantity).toBe(1); - expect(result.addItemToOrder.items[0].productVariant.id).toBe('T_1'); - firstOrderItemId = result.addItemToOrder.items[0].id; + expect(result.addItemToOrder.lines.length).toBe(1); + expect(result.addItemToOrder.lines[0].quantity).toBe(1); + expect(result.addItemToOrder.lines[0].productVariant.id).toBe('T_1'); + firstOrderItemId = result.addItemToOrder.lines[0].id; }); it('addItemToOrder() with an existing productVariantId adds quantity to the existing OrderLine', async () => { @@ -190,8 +190,8 @@ describe('Orders', () => { quantity: 2, }); - expect(result.addItemToOrder.items.length).toBe(1); - expect(result.addItemToOrder.items[0].quantity).toBe(3); + expect(result.addItemToOrder.lines.length).toBe(1); + expect(result.addItemToOrder.lines[0].quantity).toBe(3); }); it('adjustItemQuantity() adjusts the quantity', async () => { @@ -200,8 +200,8 @@ describe('Orders', () => { quantity: 50, }); - expect(result.adjustItemQuantity.items.length).toBe(1); - expect(result.adjustItemQuantity.items[0].quantity).toBe(50); + expect(result.adjustItemQuantity.lines.length).toBe(1); + expect(result.adjustItemQuantity.lines[0].quantity).toBe(50); }); it('removeItemFromOrder() removes the correct item', async () => { @@ -209,14 +209,14 @@ describe('Orders', () => { productVariantId: 'T_3', quantity: 3, }); - expect(result1.addItemToOrder.items.length).toBe(2); - expect(result1.addItemToOrder.items.map(i => i.productVariant.id)).toEqual(['T_1', 'T_3']); + expect(result1.addItemToOrder.lines.length).toBe(2); + expect(result1.addItemToOrder.lines.map(i => i.productVariant.id)).toEqual(['T_1', 'T_3']); const result2 = await client.query(REMOVE_ITEM_FROM_ORDER, { orderItemId: firstOrderItemId, }); - expect(result2.removeItemFromOrder.items.length).toBe(1); - expect(result2.removeItemFromOrder.items.map(i => i.productVariant.id)).toEqual(['T_3']); + expect(result2.removeItemFromOrder.lines.length).toBe(1); + expect(result2.removeItemFromOrder.lines.map(i => i.productVariant.id)).toEqual(['T_3']); }); }); }); @@ -224,7 +224,7 @@ describe('Orders', () => { const TEST_ORDER_FRAGMENT = gql` fragment TestOrderFragment on Order { id - items { + lines { id quantity productVariant { diff --git a/server/e2e/product.e2e-spec.ts b/server/e2e/product.e2e-spec.ts index 8e866b0ad4..8daef9be70 100644 --- a/server/e2e/product.e2e-spec.ts +++ b/server/e2e/product.e2e-spec.ts @@ -149,7 +149,6 @@ describe('Product resolver', () => { expect(result.product.variants[0].taxCategory).toEqual({ id: 'T_1', name: 'Standard Tax', - taxRate: 20, }); }); diff --git a/server/e2e/promotion.e2e-spec.ts b/server/e2e/promotion.e2e-spec.ts new file mode 100644 index 0000000000..fc41ad064a --- /dev/null +++ b/server/e2e/promotion.e2e-spec.ts @@ -0,0 +1,151 @@ +import { + CreatePromotion, + GetAdjustmentOperations, + GetPromotion, + GetPromotionList, + Promotion, + UpdatePromotion, +} from 'shared/generated-types'; +import { pick } from 'shared/pick'; + +import { + CREATE_PROMOTION, + GET_ADJUSTMENT_OPERATIONS, + GET_PROMOTION, + GET_PROMOTION_LIST, + UPDATE_PROMOTION, +} from '../../admin-ui/src/app/data/definitions/promotion-definitions'; +import { PromotionAction } from '../src/config/promotion/promotion-action'; +import { PromotionCondition } from '../src/config/promotion/promotion-condition'; + +import { TestClient } from './test-client'; +import { TestServer } from './test-server'; + +// tslint:disable:no-non-null-assertion + +describe('Promotion resolver', () => { + const client = new TestClient(); + const server = new TestServer(); + + const promoCondition = generateTestCondition('promo_condition'); + const promoCondition2 = generateTestCondition('promo_condition2'); + + const promoAction = generateTestAction('promo_action'); + + const snapshotProps = ['name', 'actions', 'conditions', 'enabled'] as Array< + 'name' | 'actions' | 'conditions' | 'enabled' + >; + let promotion: Promotion.Fragment; + + beforeAll(async () => { + const token = await server.init( + { + productCount: 1, + customerCount: 1, + }, + { + promotionConditions: [promoCondition, promoCondition2], + promotionActions: [promoAction], + }, + ); + await client.init(); + }, 60000); + + afterAll(async () => { + await server.destroy(); + }); + + it('createPromotion promotion', async () => { + const result = await client.query( + CREATE_PROMOTION, + { + input: { + name: 'test promotion', + enabled: true, + conditions: [ + { + code: promoCondition.code, + arguments: [{ name: 'arg', value: '500' }], + }, + ], + actions: [ + { + code: promoAction.code, + arguments: [{ name: 'percentage', value: '50' }], + }, + ], + }, + }, + ); + promotion = result.createPromotion; + expect(pick(promotion, snapshotProps)).toMatchSnapshot(); + }); + + it('updatePromotion', async () => { + const result = await client.query( + UPDATE_PROMOTION, + { + input: { + id: promotion.id, + conditions: [ + { + code: promoCondition.code, + arguments: [{ name: 'arg', value: '90' }], + }, + { + code: promoCondition2.code, + arguments: [{ name: 'arg', value: '10' }], + }, + ], + }, + }, + ); + expect(pick(result.updatePromotion, snapshotProps)).toMatchSnapshot(); + }); + + it('promotion', async () => { + const result = await client.query(GET_PROMOTION, { + id: promotion.id, + }); + + expect(result.promotion!.name).toBe(promotion.name); + }); + + it('promotions', async () => { + const result = await client.query( + GET_PROMOTION_LIST, + {}, + ); + + expect(result.promotions.totalItems).toBe(1); + expect(result.promotions.items[0].name).toBe('test promotion'); + }); + + it('adjustmentOperations', async () => { + const result = await client.query( + GET_ADJUSTMENT_OPERATIONS, + ); + + expect(result.adjustmentOperations).toMatchSnapshot(); + }); +}); + +function generateTestCondition(code: string): PromotionCondition { + return new PromotionCondition({ + code, + description: `description for ${code}`, + args: { arg: 'money' }, + check: (order, args) => true, + }); +} + +function generateTestAction(code: string): PromotionAction { + return new PromotionAction({ + code, + description: `description for ${code}`, + args: { percentage: 'percentage' }, + execute: (order, args) => { + return 42; + }, + }); +} diff --git a/server/mock-data/mock-data.service.ts b/server/mock-data/mock-data.service.ts index b6e45aecff..bdca6e13e8 100644 --- a/server/mock-data/mock-data.service.ts +++ b/server/mock-data/mock-data.service.ts @@ -276,7 +276,7 @@ export class MockDataService { const fileNames = await fs.readdir(path.join(__dirname, 'assets')); const filePaths = fileNames.map(fileName => path.join(__dirname, 'assets', fileName)); return this.client.uploadAssets(filePaths).then(response => { - console.log(`Created ${response.createAssets.length} Assets`); + this.log(`Created ${response.createAssets.length} Assets`); return response.createAssets; }); } diff --git a/server/src/api/resolvers/channel.resolver.ts b/server/src/api/resolvers/channel.resolver.ts index 9c553a5ae9..9b2957ae91 100644 --- a/server/src/api/resolvers/channel.resolver.ts +++ b/server/src/api/resolvers/channel.resolver.ts @@ -9,6 +9,7 @@ import { import { Channel } from '../../entity/channel/channel.entity'; import { ChannelService } from '../../service/providers/channel.service'; import { Allow } from '../common/auth-guard'; +import { Decode } from '../common/id-interceptor'; import { RequestContext } from '../common/request-context'; import { Ctx } from '../common/request-context.decorator'; @@ -30,12 +31,14 @@ export class ChannelResolver { @Mutation() @Allow(Permission.SuperAdmin) + @Decode('defaultTaxZoneId', 'defaultShippingZoneId') async createChannel(@Args() args: CreateChannelMutationArgs): Promise { return this.channelService.create(args.input); } @Mutation() @Allow(Permission.SuperAdmin) + @Decode('defaultTaxZoneId', 'defaultShippingZoneId') async updateChannel(@Args() args: UpdateChannelMutationArgs): Promise { return this.channelService.update(args.input); } diff --git a/server/src/api/resolvers/tax-rate.resolver.ts b/server/src/api/resolvers/tax-rate.resolver.ts index f2af29ec9c..515e58ea70 100644 --- a/server/src/api/resolvers/tax-rate.resolver.ts +++ b/server/src/api/resolvers/tax-rate.resolver.ts @@ -11,6 +11,7 @@ import { PaginatedList } from 'shared/shared-types'; import { TaxRate } from '../../entity/tax-rate/tax-rate.entity'; import { TaxRateService } from '../../service/providers/tax-rate.service'; import { Allow } from '../common/auth-guard'; +import { Decode } from '../common/id-interceptor'; import { RequestContext } from '../common/request-context'; import { Ctx } from '../common/request-context.decorator'; @@ -32,12 +33,14 @@ export class TaxRateResolver { @Mutation() @Allow(Permission.CreateSettings) + @Decode('categoryId', 'zoneId', 'customerGroupId') async createTaxRate(@Args() args: CreateTaxRateMutationArgs): Promise { return this.taxRateService.create(args.input); } @Mutation() @Allow(Permission.UpdateSettings) + @Decode('categoryId', 'zoneId', 'customerGroupId') async updateTaxRate(@Args() args: UpdateTaxRateMutationArgs): Promise { return this.taxRateService.update(args.input); } diff --git a/server/src/common/types/adjustment-source.ts b/server/src/common/types/adjustment-source.ts index 482e824906..1ff845975b 100644 --- a/server/src/common/types/adjustment-source.ts +++ b/server/src/common/types/adjustment-source.ts @@ -11,5 +11,5 @@ export abstract class AdjustmentSource extends VendureEntity { } abstract test(...args: any[]): boolean; - abstract apply(...args: any[]): Adjustment; + abstract apply(...args: any[]): Adjustment | undefined; } diff --git a/server/src/config/adjustment/adjustment-types.ts b/server/src/config/adjustment/adjustment-types.ts deleted file mode 100644 index f90efc6771..0000000000 --- a/server/src/config/adjustment/adjustment-types.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { AdjustmentOperation } from 'shared/generated-types'; -import { ID } from 'shared/shared-types'; - -import { Order } from '../../entity/order/order.entity'; - -export type AdjustmentActionArgType = 'percentage' | 'money'; -export type AdjustmentActionArg = { name: string; type: AdjustmentActionArgType; value?: string }; -export type AdjustmentActionResult = { - orderItemId?: ID; - amount: number; -}; -export type AdjustmentActionCalculation = ( - order: Order, - args: { [argName: string]: any }, - context: Context, -) => AdjustmentActionResult[]; - -export interface AdjustmentActionDefinition extends AdjustmentOperation { - args: AdjustmentActionArg[]; - calculate: AdjustmentActionCalculation; -} -export interface TaxActionDefinition extends AdjustmentActionDefinition { - calculate: AdjustmentActionCalculation<{ taxCategoryId: ID }>; -} - -export type AdjustmentConditionArgType = 'int' | 'money' | 'string' | 'datetime'; -export type AdjustmentConditionArg = { name: string; type: AdjustmentConditionArgType }; -export type AdjustmentConditionPredicate = (order: Order, args: { [argName: string]: any }) => boolean; - -export interface AdjustmentConditionDefinition extends AdjustmentOperation { - args: AdjustmentConditionArg[]; - predicate: AdjustmentConditionPredicate; -} diff --git a/server/src/config/adjustment/default-adjustment-actions.ts b/server/src/config/adjustment/default-adjustment-actions.ts deleted file mode 100644 index 51c260ad23..0000000000 --- a/server/src/config/adjustment/default-adjustment-actions.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { AdjustmentActionDefinition } from './adjustment-types'; - -export const orderPercentageDiscount: AdjustmentActionDefinition = { - code: 'order_percentage_discount', - args: [{ name: 'discount', type: 'percentage' }], - calculate(order, args) { - return [{ amount: -(order.totalPrice * args.discount) / 100 }]; - }, - description: 'Discount order by { discount }%', -}; - -export const itemPercentageDiscount: AdjustmentActionDefinition = { - code: 'item_percentage_discount', - args: [{ name: 'discount', type: 'percentage' }], - calculate(order, args) { - return order.lines.map(item => ({ - orderItemId: item.id, - amount: -(item.totalPrice * args.discount) / 100, - })); - }, - description: 'Discount every item by { discount }%', -}; - -export const defaultAdjustmentActions = [orderPercentageDiscount, itemPercentageDiscount]; diff --git a/server/src/config/adjustment/default-adjustment-conditions.ts b/server/src/config/adjustment/default-adjustment-conditions.ts deleted file mode 100644 index 1cb2df0b11..0000000000 --- a/server/src/config/adjustment/default-adjustment-conditions.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Order } from '../../entity/order/order.entity'; - -import { AdjustmentConditionDefinition } from './adjustment-types'; - -export const minimumOrderAmount: AdjustmentConditionDefinition = { - code: 'minimum_order_amount', - args: [{ name: 'amount', type: 'money' }], - predicate(order: Order, args) { - return order.totalPrice >= args.amount; - }, - description: 'If order total is greater than { amount }', -}; - -export const dateRange: AdjustmentConditionDefinition = { - code: 'date_range', - args: [{ name: 'start', type: 'datetime' }, { name: 'end', type: 'datetime' }], - predicate(order: Order, args) { - const now = Date.now(); - return args.start < now && now < args.end; - }, - description: 'If Order placed between { start } and { end }', -}; - -export const atLeastNOfProduct: AdjustmentConditionDefinition = { - code: 'at_least_n_of_product', - args: [{ name: 'minimum', type: 'int' }], - predicate(order: Order, args) { - return order.lines.reduce((result, item) => { - return result || item.quantity >= args.minimum; - }, false); - }, - description: 'Buy at least { minimum } of any product', -}; - -export const defaultAdjustmentConditions = [minimumOrderAmount, dateRange, atLeastNOfProduct]; diff --git a/server/src/config/adjustment/required-adjustment-actions.ts b/server/src/config/adjustment/required-adjustment-actions.ts deleted file mode 100644 index e4e52debc8..0000000000 --- a/server/src/config/adjustment/required-adjustment-actions.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { idsAreEqual } from '../../common/utils'; - -import { AdjustmentActionDefinition, TaxActionDefinition } from './adjustment-types'; - -export const taxAction: TaxActionDefinition = { - code: 'tax_action', - args: [{ name: 'taxRate', type: 'percentage' }], - calculate(order, args, context) { - return order.lines - .filter(item => idsAreEqual(item.taxCategoryId, context.taxCategoryId)) - .map(item => ({ - orderItemId: item.id, - amount: (item.totalPrice * args.taxRate) / 100, - })); - }, - description: 'Apply tax of { discount }%', -}; diff --git a/server/src/config/adjustment/required-adjustment-conditions.ts b/server/src/config/adjustment/required-adjustment-conditions.ts deleted file mode 100644 index e0ed4c9725..0000000000 --- a/server/src/config/adjustment/required-adjustment-conditions.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Order } from '../../entity/order/order.entity'; - -import { AdjustmentConditionDefinition } from './adjustment-types'; - -export const taxCondition: AdjustmentConditionDefinition = { - code: 'tax_condition', - args: [], - predicate(order: Order, args) { - return true; - }, - description: 'Apply tax to all orders', -}; diff --git a/server/src/config/config.service.mock.ts b/server/src/config/config.service.mock.ts index 10f7281050..97b4ec0cc8 100644 --- a/server/src/config/config.service.mock.ts +++ b/server/src/config/config.service.mock.ts @@ -12,14 +12,15 @@ export class MockConfigService implements MockClass { port = 3000; cors = false; defaultLanguageCode: jest.Mock; + roundingStrategy: {}; entityIdStrategy = new MockIdStrategy(); assetNamingStrategy = {} as any; assetStorageStrategy = {} as any; assetPreviewStrategy = {} as any; uploadMaxFileSize = 1024; dbConnectionOptions = {}; - adjustmentConditions = []; - adjustmentActions = []; + promotionConditions = []; + promotionActions = []; customFields = {}; middleware = []; plugins = []; diff --git a/server/src/config/config.service.ts b/server/src/config/config.service.ts index b57e677da2..9c3367d428 100644 --- a/server/src/config/config.service.ts +++ b/server/src/config/config.service.ts @@ -7,11 +7,13 @@ import { ConnectionOptions } from 'typeorm'; import { ReadOnlyRequired } from '../common/types/common-types'; -import { AdjustmentActionDefinition, AdjustmentConditionDefinition } from './adjustment/adjustment-types'; import { AssetNamingStrategy } from './asset-naming-strategy/asset-naming-strategy'; import { AssetPreviewStrategy } from './asset-preview-strategy/asset-preview-strategy'; import { AssetStorageStrategy } from './asset-storage-strategy/asset-storage-strategy'; import { EntityIdStrategy } from './entity-id-strategy/entity-id-strategy'; +import { PromotionAction } from './promotion/promotion-action'; +import { PromotionCondition } from './promotion/promotion-condition'; +import { RoundingStrategy } from './rounding-strategy/rounding-strategy'; import { AuthOptions, getConfig, VendureConfig } from './vendure-config'; import { VendurePlugin } from './vendure-plugin/vendure-plugin'; @@ -57,6 +59,10 @@ export class ConfigService implements VendureConfig { return this.activeConfig.cors; } + get roundingStrategy(): RoundingStrategy { + return this.activeConfig.roundingStrategy; + } + get entityIdStrategy(): EntityIdStrategy { return this.activeConfig.entityIdStrategy; } @@ -81,12 +87,12 @@ export class ConfigService implements VendureConfig { return this.activeConfig.uploadMaxFileSize; } - get adjustmentConditions(): AdjustmentConditionDefinition[] { - return this.activeConfig.adjustmentConditions; + get promotionConditions(): PromotionCondition[] { + return this.activeConfig.promotionConditions; } - get adjustmentActions(): AdjustmentActionDefinition[] { - return this.activeConfig.adjustmentActions; + get promotionActions(): PromotionAction[] { + return this.activeConfig.promotionActions; } get customFields(): CustomFields { diff --git a/server/src/config/default-config.ts b/server/src/config/default-config.ts index 75c598a255..55abc278ae 100644 --- a/server/src/config/default-config.ts +++ b/server/src/config/default-config.ts @@ -4,12 +4,13 @@ import { CustomFields } from 'shared/shared-types'; import { ReadOnlyRequired } from '../common/types/common-types'; -import { defaultAdjustmentActions } from './adjustment/default-adjustment-actions'; -import { defaultAdjustmentConditions } from './adjustment/default-adjustment-conditions'; import { DefaultAssetNamingStrategy } from './asset-naming-strategy/default-asset-naming-strategy'; import { NoAssetPreviewStrategy } from './asset-preview-strategy/no-asset-preview-strategy'; import { NoAssetStorageStrategy } from './asset-storage-strategy/no-asset-storage-strategy'; import { AutoIncrementIdStrategy } from './entity-id-strategy/auto-increment-id-strategy'; +import { defaultPromotionActions } from './promotion/default-promotion-actions'; +import { defaultPromotionConditions } from './promotion/default-promotion-conditions'; +import { HalfEvenRoundingStrategy } from './rounding-strategy/half-even-rounding-strategy'; import { VendureConfig } from './vendure-config'; /** @@ -32,6 +33,7 @@ export const defaultConfig: ReadOnlyRequired = { sessionDuration: '7d', }, apiPath: API_PATH, + roundingStrategy: new HalfEvenRoundingStrategy(), entityIdStrategy: new AutoIncrementIdStrategy(), assetNamingStrategy: new DefaultAssetNamingStrategy(), assetStorageStrategy: new NoAssetStorageStrategy(), @@ -40,8 +42,8 @@ export const defaultConfig: ReadOnlyRequired = { type: 'mysql', }, uploadMaxFileSize: 20971520, - adjustmentConditions: defaultAdjustmentConditions, - adjustmentActions: defaultAdjustmentActions, + promotionConditions: defaultPromotionConditions, + promotionActions: defaultPromotionActions, customFields: { Address: [], Customer: [], diff --git a/server/src/config/merge-config.ts b/server/src/config/merge-config.ts index bbd0a58607..ed5ff3f66f 100644 --- a/server/src/config/merge-config.ts +++ b/server/src/config/merge-config.ts @@ -1,7 +1,5 @@ import { DeepPartial } from 'shared/shared-types'; -import { taxAction } from './adjustment/required-adjustment-actions'; -import { taxCondition } from './adjustment/required-adjustment-conditions'; import { VendureConfig } from './vendure-config'; /** @@ -42,23 +40,5 @@ export function mergeConfig(target: T, source: DeepPart } } } - - // Always include the required adjustment operations - const requiredAdjustmentActions = [taxAction]; - const requiredAdjustmentConditions = [taxCondition]; - for (const requiredAction of requiredAdjustmentActions) { - if (target.adjustmentActions && !target.adjustmentActions.find(a => a.code === requiredAction.code)) { - target.adjustmentActions.push(requiredAction); - } - } - for (const requiredCondition of requiredAdjustmentConditions) { - if ( - target.adjustmentConditions && - !target.adjustmentConditions.find(c => c.code === requiredCondition.code) - ) { - target.adjustmentConditions.push(requiredCondition); - } - } - return target; } diff --git a/server/src/config/promotion/default-promotion-actions.ts b/server/src/config/promotion/default-promotion-actions.ts new file mode 100644 index 0000000000..27a19afe98 --- /dev/null +++ b/server/src/config/promotion/default-promotion-actions.ts @@ -0,0 +1,21 @@ +import { PromotionAction } from './promotion-action'; + +export const orderPercentageDiscount = new PromotionAction({ + code: 'order_percentage_discount', + args: { discount: 'percentage' }, + execute(orderItem, orderLine, args) { + return -orderLine.unitPrice * (args.discount / 100); + }, + description: 'Discount order by { discount }%', +}); + +export const itemPercentageDiscount = new PromotionAction({ + code: 'item_percentage_discount', + args: { discount: 'percentage' }, + execute(orderItem, orderLine, args) { + return -orderLine.unitPrice * (args.discount / 100); + }, + description: 'Discount every item by { discount }%', +}); + +export const defaultPromotionActions = [orderPercentageDiscount, itemPercentageDiscount]; diff --git a/server/src/config/promotion/default-promotion-conditions.ts b/server/src/config/promotion/default-promotion-conditions.ts new file mode 100644 index 0000000000..2616419f3f --- /dev/null +++ b/server/src/config/promotion/default-promotion-conditions.ts @@ -0,0 +1,42 @@ +import { Order } from '../../entity/order/order.entity'; + +import { PromotionCondition } from './promotion-condition'; + +export const minimumOrderAmount = new PromotionCondition({ + description: 'If order total is greater than { amount }', + code: 'minimum_order_amount', + args: { + amount: 'money', + taxInclusive: 'boolean', + }, + check(order, args) { + if (args.taxInclusive) { + return order.totalPrice >= args.amount; + } else { + return order.totalPriceBeforeTax >= args.amount; + } + }, +}); + +export const dateRange = new PromotionCondition({ + code: 'date_range', + description: 'If Order placed between { start } and { end }', + args: { start: 'datetime', end: 'datetime' }, + check(order: Order, args) { + const now = new Date(); + return args.start < now && now < args.end; + }, +}); + +export const atLeastNOfProduct = new PromotionCondition({ + code: 'at_least_n_of_product', + description: 'Buy at least { minimum } of any product', + args: { minimum: 'int' }, + check(order: Order, args) { + return order.lines.reduce((result, item) => { + return result || item.quantity >= args.minimum; + }, false); + }, +}); + +export const defaultPromotionConditions = [minimumOrderAmount, dateRange, atLeastNOfProduct]; diff --git a/server/src/config/promotion/promotion-action.ts b/server/src/config/promotion/promotion-action.ts new file mode 100644 index 0000000000..53b72bdc6f --- /dev/null +++ b/server/src/config/promotion/promotion-action.ts @@ -0,0 +1,49 @@ +import { Adjustment, AdjustmentArg } from 'shared/generated-types'; + +import { OrderItem } from '../../entity/order-item/order-item.entity'; +import { OrderLine } from '../../entity/order-line/order-line.entity'; +import { Order } from '../../entity/order/order.entity'; + +export type PromotionActionArgType = 'percentage' | 'money'; +export type PromotionActionArgs = { + [name: string]: PromotionActionArgType; +}; +export type ArgumentValues = { [K in keyof T]: number }; +export type ExecutePromotionActionFn = ( + orderItem: OrderItem, + orderLine: OrderLine, + args: ArgumentValues, +) => number; + +export class PromotionAction { + readonly code: string; + readonly args: PromotionActionArgs; + readonly description: string; + private readonly executeFn: ExecutePromotionActionFn; + + constructor(config: { + args: T; + execute: ExecutePromotionActionFn; + code: string; + description: string; + }) { + this.code = config.code; + this.description = config.description; + this.args = config.args; + this.executeFn = config.execute; + } + + execute(orderItem: OrderItem, orderLine: OrderLine, args: AdjustmentArg[]) { + return this.executeFn(orderItem, orderLine, this.argsArrayToHash(args)); + } + + private argsArrayToHash(args: AdjustmentArg[]): ArgumentValues { + const output: ArgumentValues = {} as any; + for (const arg of args) { + if (arg.value != null) { + output[arg.name] = Number.parseInt(arg.value || '', 10); + } + } + return output; + } +} diff --git a/server/src/config/promotion/promotion-condition.ts b/server/src/config/promotion/promotion-condition.ts new file mode 100644 index 0000000000..deadd177bc --- /dev/null +++ b/server/src/config/promotion/promotion-condition.ts @@ -0,0 +1,61 @@ +import { AdjustmentArg, AdjustmentOperation } from 'shared/generated-types'; + +import { Order } from '../../entity/order/order.entity'; + +export type PromotionConditionArgType = 'int' | 'money' | 'string' | 'datetime' | 'boolean'; +export type PromotionConditionArgs = { + [name: string]: PromotionConditionArgType; +}; +export type ArgumentValues = { + [K in keyof T]: T[K] extends 'int' | 'money' + ? number + : T[K] extends 'datetime' ? Date : T[K] extends 'boolean' ? boolean : string +}; + +export type CheckPromotionConditionFn = ( + order: Order, + args: ArgumentValues, +) => boolean; + +export class PromotionCondition { + readonly code: string; + readonly description: string; + readonly args: PromotionConditionArgs; + private readonly checkFn: CheckPromotionConditionFn; + + constructor(config: { args: T; check: CheckPromotionConditionFn; code: string; description: string }) { + this.code = config.code; + this.description = config.description; + this.args = config.args; + this.checkFn = config.check; + } + + check(order: Order, args: AdjustmentArg[]) { + return this.checkFn(order, this.argsArrayToHash(args)); + } + + private argsArrayToHash(args: AdjustmentArg[]): ArgumentValues { + const output: ArgumentValues = {} as any; + + for (const arg of args) { + if (arg.value != null) { + output[arg.name] = this.coerceValueToType(arg); + } + } + return output; + } + + private coerceValueToType(arg: AdjustmentArg): ArgumentValues[keyof T] { + switch (arg.type as PromotionConditionArgType) { + case 'int': + case 'money': + return Number.parseInt(arg.value || '', 10) as any; + case 'datetime': + return Date.parse(arg.value || '') as any; + case 'boolean': + return !!arg.value as any; + default: + return (arg.value as string) as any; + } + } +} diff --git a/server/src/config/rounding-strategy/half-even-rounding-strategy.ts b/server/src/config/rounding-strategy/half-even-rounding-strategy.ts new file mode 100644 index 0000000000..1e6888fed3 --- /dev/null +++ b/server/src/config/rounding-strategy/half-even-rounding-strategy.ts @@ -0,0 +1,16 @@ +import { RoundingStrategy } from './rounding-strategy'; + +/** + * The Half-even rounding strategy (also known as Banker's Rounding) will round a decimal of .5 + * to the nearest even number. This is intended to counteract the upward bias introduced by the + * more well-known "round 0.5 upwards" method. + * + * Based on https://stackoverflow.com/a/49080858/772859 + */ +export class HalfEvenRoundingStrategy implements RoundingStrategy { + round(input: number): number { + const r = Math.round(input); + const br = Math.abs(input) % 1 === 0.5 ? (r % 2 === 0 ? r : r - 1) : r; + return br; + } +} diff --git a/server/src/config/rounding-strategy/half-up-rounding-strategy.ts b/server/src/config/rounding-strategy/half-up-rounding-strategy.ts new file mode 100644 index 0000000000..7a3e51f3b5 --- /dev/null +++ b/server/src/config/rounding-strategy/half-up-rounding-strategy.ts @@ -0,0 +1,10 @@ +import { RoundingStrategy } from './rounding-strategy'; + +/** + * Rounds decimals of 0.5 up to the next integer in the direction of + infinity. + */ +export class HalfUpRoundingStrategy implements RoundingStrategy { + round(input: number): number { + return Math.round(input); + } +} diff --git a/server/src/config/rounding-strategy/rounding-strategy.ts b/server/src/config/rounding-strategy/rounding-strategy.ts new file mode 100644 index 0000000000..13144f9287 --- /dev/null +++ b/server/src/config/rounding-strategy/rounding-strategy.ts @@ -0,0 +1,7 @@ +/** + * Sets the method used to round monetary amounts which contain + * fractions of a cent / penny. + */ +export interface RoundingStrategy { + round(input: number): number; +} diff --git a/server/src/config/vendure-config.ts b/server/src/config/vendure-config.ts index f53ade43e9..dd1cf268c7 100644 --- a/server/src/config/vendure-config.ts +++ b/server/src/config/vendure-config.ts @@ -6,13 +6,15 @@ import { ConnectionOptions } from 'typeorm'; import { ReadOnlyRequired } from '../common/types/common-types'; -import { AdjustmentActionDefinition, AdjustmentConditionDefinition } from './adjustment/adjustment-types'; import { AssetNamingStrategy } from './asset-naming-strategy/asset-naming-strategy'; import { AssetPreviewStrategy } from './asset-preview-strategy/asset-preview-strategy'; import { AssetStorageStrategy } from './asset-storage-strategy/asset-storage-strategy'; import { defaultConfig } from './default-config'; import { EntityIdStrategy } from './entity-id-strategy/entity-id-strategy'; import { mergeConfig } from './merge-config'; +import { PromotionAction } from './promotion/promotion-action'; +import { PromotionCondition } from './promotion/promotion-condition'; +import { RoundingStrategy } from './rounding-strategy/rounding-strategy'; import { VendurePlugin } from './vendure-plugin/vendure-plugin'; export interface AuthOptions { @@ -88,6 +90,11 @@ export interface VendureConfig { * Configuration for authorization. */ authOptions: AuthOptions; + /** + * Defines the strategy used in rounding fractions of cents when performing + * calculations of moneytary amounts. + */ + roundingStrategy?: RoundingStrategy; /** * Defines the strategy used for both storing the primary keys of entities * in the database, and the encoding & decoding of those ids when exposing @@ -115,15 +122,13 @@ export interface VendureConfig { */ dbConnectionOptions: ConnectionOptions; /** - * An array of adjustment conditions which can be used to construct AdjustmentSources - * (promotions, taxes and shipping). + * An array of conditions which can be used to construct Promotions */ - adjustmentConditions?: AdjustmentConditionDefinition[]; + promotionConditions?: Array>; /** - * An array of adjustment actions which can be used to construct AdjustmentSources - * (promotions, taxes and shipping). + * An array of actions which can be used to construct Promotions */ - adjustmentActions?: AdjustmentActionDefinition[]; + promotionActions?: Array>; /** * Defines custom fields which can be used to extend the built-in entities. */ diff --git a/server/src/entity/order-line/order-line.entity.ts b/server/src/entity/order-line/order-line.entity.ts index d8f1cd6e25..9e8a5f6401 100644 --- a/server/src/entity/order-line/order-line.entity.ts +++ b/server/src/entity/order-line/order-line.entity.ts @@ -33,10 +33,17 @@ export class OrderLine extends VendureEntity { @ManyToOne(type => Order, order => order.lines) order: Order; + @Calculated() + get unitPriceWithPromotions(): number { + const firstItemPromotionTotal = this.items[0].pendingAdjustments + .filter(a => a.type === AdjustmentType.PROMOTION) + .reduce((total, a) => total + a.amount, 0); + return this.unitPrice + firstItemPromotionTotal; + } + @Calculated() get unitPriceWithTax(): number { - const taxAdjustment = this.adjustments.find(a => a.type === AdjustmentType.TAX); - return this.unitPrice + (taxAdjustment ? taxAdjustment.amount : 0); + return this.unitPriceWithPromotions + this.unitTax; } @Calculated() @@ -46,20 +53,33 @@ export class OrderLine extends VendureEntity { @Calculated() get totalPrice(): number { - const taxAdjustments = this.adjustments - .filter(a => a.type === AdjustmentType.TAX) - .reduce((amount, a) => amount + a.amount, 0); - return this.unitPrice * this.quantity + taxAdjustments; + return (this.unitPriceWithPromotions + this.unitTax) * this.quantity; } @Calculated() get adjustments(): Adjustment[] { if (this.items) { - return this.items.reduce( - (adjustments, i) => [...adjustments, ...i.pendingAdjustments], - [] as Adjustment[], - ); + return this.items[0].pendingAdjustments; } return []; } + + get unitTax(): number { + const taxAdjustment = this.adjustments.find(a => a.type === AdjustmentType.TAX); + return taxAdjustment ? taxAdjustment.amount : 0; + } + + /** + * Clears Adjustments from all OrderItems of the given type. If no type + * is specified, then all adjustments are removed. + */ + clearAdjustments(type?: AdjustmentType) { + this.items.forEach(item => { + if (!type) { + item.pendingAdjustments = []; + } else { + item.pendingAdjustments = item.pendingAdjustments.filter(a => a.type !== type); + } + }); + } } diff --git a/server/src/entity/order-line/order-line.graphql b/server/src/entity/order-line/order-line.graphql index b20c901445..0d0467e662 100644 --- a/server/src/entity/order-line/order-line.graphql +++ b/server/src/entity/order-line/order-line.graphql @@ -5,6 +5,7 @@ type OrderLine implements Node { productVariant: ProductVariant! featuredAsset: Asset unitPrice: Int! + unitPriceWithPromotions: Int! unitPriceWithTax: Int! quantity: Int! items: [OrderItem!]! diff --git a/server/src/entity/order/order.entity.ts b/server/src/entity/order/order.entity.ts index 916067e932..b494faad74 100644 --- a/server/src/entity/order/order.entity.ts +++ b/server/src/entity/order/order.entity.ts @@ -1,8 +1,10 @@ +import { AdjustmentType } from 'shared/generated-types'; import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, ManyToOne, OneToMany } from 'typeorm'; import { VendureEntity } from '../base/base.entity'; import { Customer } from '../customer/customer.entity'; +import { OrderItem } from '../order-item/order-item.entity'; import { OrderLine } from '../order-line/order-line.entity'; @Entity() @@ -22,4 +24,21 @@ export class Order extends VendureEntity { @Column() totalPriceBeforeTax: number; @Column() totalPrice: number; + + /** + * Clears Adjustments from all OrderItems of the given type. If no type + * is specified, then all adjustments are removed. + */ + clearAdjustments(type?: AdjustmentType) { + this.lines.forEach(line => line.clearAdjustments(type)); + } + + getOrderItems(): OrderItem[] { + return this.lines.reduce( + (items, line) => { + return [...items, ...line.items]; + }, + [] as OrderItem[], + ); + } } diff --git a/server/src/entity/product-variant/product-variant-price.entity.ts b/server/src/entity/product-variant/product-variant-price.entity.ts index 5f32aa791a..bda8e04f3e 100644 --- a/server/src/entity/product-variant/product-variant-price.entity.ts +++ b/server/src/entity/product-variant/product-variant-price.entity.ts @@ -1,7 +1,6 @@ import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, ManyToOne } from 'typeorm'; -import { AdjustmentSource } from '../adjustment-source/adjustment-source.entity'; import { VendureEntity } from '../base/base.entity'; import { Channel } from '../channel/channel.entity'; diff --git a/server/src/entity/promotion/promotion.entity.ts b/server/src/entity/promotion/promotion.entity.ts index 6529a774d6..1829eec787 100644 --- a/server/src/entity/promotion/promotion.entity.ts +++ b/server/src/entity/promotion/promotion.entity.ts @@ -3,15 +3,29 @@ import { DeepPartial } from 'shared/shared-types'; import { Column, Entity, JoinTable, ManyToMany } from 'typeorm'; import { AdjustmentSource } from '../../common/types/adjustment-source'; -import { VendureEntity } from '../base/base.entity'; +import { PromotionAction } from '../../config/promotion/promotion-action'; +import { PromotionCondition } from '../../config/promotion/promotion-condition'; +import { getConfig } from '../../config/vendure-config'; import { Channel } from '../channel/channel.entity'; +import { OrderItem } from '../order-item/order-item.entity'; +import { OrderLine } from '../order-line/order-line.entity'; +import { Order } from '../order/order.entity'; @Entity() export class Promotion extends AdjustmentSource { type = AdjustmentType.PROMOTION; + private readonly allConditions: { [code: string]: PromotionCondition } = {}; + private readonly allActions: { [code: string]: PromotionAction } = {}; + private readonly round: (input: number) => number; constructor(input?: DeepPartial) { super(input); + this.allConditions = getConfig().promotionConditions.reduce( + (hash, o) => ({ ...hash, [o.code]: o }), + {}, + ); + this.allActions = getConfig().promotionActions.reduce((hash, o) => ({ ...hash, [o.code]: o }), {}); + this.round = getConfig().roundingStrategy.round; } @Column() name: string; @@ -26,11 +40,30 @@ export class Promotion extends AdjustmentSource { @Column('simple-json') actions: AdjustmentOperation[]; - apply(): Adjustment { - return {} as any; + apply(orderItem: OrderItem, orderLine: OrderLine): Adjustment | undefined { + let amount = 0; + + for (const action of this.actions) { + const promotionAction = this.allActions[action.code]; + amount += this.round(promotionAction.execute(orderItem, orderLine, action.args)); + } + if (amount !== 0) { + return { + amount, + type: this.type, + description: this.name, + adjustmentSource: this.getSourceId(), + }; + } } - test(): boolean { - return false; + test(order: Order): boolean { + for (const condition of this.conditions) { + const promotionCondition = this.allConditions[condition.code]; + if (!promotionCondition || !promotionCondition.check(order, condition.args)) { + return false; + } + } + return true; } } diff --git a/server/src/entity/promotion/promotion.graphql b/server/src/entity/promotion/promotion.graphql index 3ed45a2ec5..9a3d97754c 100644 --- a/server/src/entity/promotion/promotion.graphql +++ b/server/src/entity/promotion/promotion.graphql @@ -21,9 +21,14 @@ type AdjustmentOperation { description: String! } +input AdjustmentOperationInputArg { + name: String! + value: String! +} + input AdjustmentOperationInput { code: String! - arguments: [String!]! + arguments: [AdjustmentOperationInputArg!]! } input CreatePromotionInput { diff --git a/server/src/entity/tax-rate/tax-rate.entity.ts b/server/src/entity/tax-rate/tax-rate.entity.ts index b575c29983..621ed62a2e 100644 --- a/server/src/entity/tax-rate/tax-rate.entity.ts +++ b/server/src/entity/tax-rate/tax-rate.entity.ts @@ -4,6 +4,7 @@ import { Column, Entity, ManyToOne } from 'typeorm'; import { AdjustmentSource } from '../../common/types/adjustment-source'; import { idsAreEqual } from '../../common/utils'; +import { getConfig } from '../../config/vendure-config'; import { CustomerGroup } from '../customer-group/customer-group.entity'; import { TaxCategory } from '../tax-category/tax-category.entity'; import { Zone } from '../zone/zone.entity'; @@ -11,9 +12,11 @@ import { Zone } from '../zone/zone.entity'; @Entity() export class TaxRate extends AdjustmentSource { readonly type = AdjustmentType.TAX; + private readonly round: (input: number) => number; constructor(input?: DeepPartial) { super(input); + this.round = getConfig().roundingStrategy.round; } @Column() name: string; @@ -35,7 +38,7 @@ export class TaxRate extends AdjustmentSource { * Returns the tax applicable to the given price. */ getTax(price: number): number { - return Math.round(price * (this.value / 100)); + return this.round(price * (this.value / 100)); } apply(price: number): Adjustment { diff --git a/server/src/i18n/messages/en.json b/server/src/i18n/messages/en.json index ad7a0e2c78..4a446b992e 100644 --- a/server/src/i18n/messages/en.json +++ b/server/src/i18n/messages/en.json @@ -1,10 +1,11 @@ { "error": { "cannot-modify-role": "The role '{ roleCode }' cannot be modified", + "channel-not-found": "No channel with the token \"{ token }\" exists", "entity-has-no-translation-in-language": "Translatable entity '{ entityName }' has not been translated into the requested language ({ languageCode })", "entity-with-id-not-found": "No { entityName } with the id '{ id }' could be found", "invalid-sort-field": "The sort field '{ fieldName }' is invalid. Valid fields are: { validFields }", - "order-does-not-contain-item-with-id": "This order does not contain an OrderItem with the id { id }", + "order-does-not-contain-line-with-id": "This order does not contain an OrderLine with the id { id }", "order-item-quantity-must-be-positive": "{ quantity } is not a valid quantity for an OrderItem" } } diff --git a/server/src/service/helpers/apply-adjustments.spec-off.ts b/server/src/service/helpers/apply-adjustments.spec-off.ts deleted file mode 100644 index 659ef91360..0000000000 --- a/server/src/service/helpers/apply-adjustments.spec-off.ts +++ /dev/null @@ -1,198 +0,0 @@ -import { AdjustmentType } from 'shared/generated-types'; - -import { - AdjustmentActionDefinition, - AdjustmentConditionDefinition, -} from '../../config/adjustment/adjustment-types'; -import { taxAction } from '../../config/adjustment/required-adjustment-actions'; -import { taxCondition } from '../../config/adjustment/required-adjustment-conditions'; -import { AdjustmentSource } from '../../entity/adjustment-source/adjustment-source.entity'; -import { OrderLine } from '../../entity/order-line/order-line.entity'; -import { Order } from '../../entity/order/order.entity'; - -import { applyAdjustments, orderAdjustmentSources } from './apply-adjustments'; - -describe('orderAdjustmentSources()', () => { - it('orders sources correctly', () => { - const result = orderAdjustmentSources([ - { id: 1, type: AdjustmentType.PROMOTION } as any, - { id: 2, type: AdjustmentType.SHIPPING } as any, - { id: 3, type: AdjustmentType.TAX } as any, - { id: 4, type: AdjustmentType.PROMOTION } as any, - { id: 5, type: AdjustmentType.PROMOTION } as any, - { id: 6, type: AdjustmentType.TAX } as any, - { id: 7, type: AdjustmentType.SHIPPING } as any, - ]); - - expect(result.map(s => s.id)).toEqual([3, 6, 1, 4, 5, 2, 7]); - }); -}); - -describe('applyAdjustments()', () => { - const minOrderTotalCondition: AdjustmentConditionDefinition = { - code: 'min_order_total', - description: 'Order total is at least { minimum }', - args: [{ name: 'minimum', type: 'money' }], - type: AdjustmentType.PROMOTION, - predicate: (order, args) => { - return order.totalPrice >= args.minimum; - }, - }; - - const orderDiscountAction: AdjustmentActionDefinition = { - code: 'order_discount', - description: 'Discount order total by { percentage }%', - args: [{ name: 'percentage', type: 'percentage' }], - type: AdjustmentType.PROMOTION, - calculate: (order, args) => { - return [ - { - amount: -((order.totalPrice * args.percentage) / 100), - }, - ]; - }, - }; - - const promoSource1 = new AdjustmentSource({ - id: 'ps1', - name: 'Promo source 1', - type: AdjustmentType.PROMOTION, - conditions: [ - { - code: minOrderTotalCondition.code, - args: [ - { - type: 'money', - name: 'minimum', - value: '500', - }, - ], - }, - ], - actions: [ - { - code: orderDiscountAction.code, - args: [ - { - type: 'percentage', - name: 'percentage', - value: '10', - }, - ], - }, - ], - }); - - const standardTaxSource = AdjustmentSource.createTaxCategory(20, 'Standard Tax', 'ts1'); - const zeroTaxSource = AdjustmentSource.createTaxCategory(0, 'Zero Tax 2', 'ts2'); - - const conditions = [minOrderTotalCondition, taxCondition]; - const actions = [orderDiscountAction, taxAction]; - - it('applies a promo source to an order', () => { - const order = new Order({ - code: 'ABC', - lines: [ - new OrderLine({ - id: 'oi1', - unitPrice: 300, - quantity: 2, - totalPriceBeforeAdjustment: 600, - }), - ], - totalPriceBeforeAdjustment: 600, - }); - - applyAdjustments(order, [promoSource1], conditions, actions); - - expect(order.adjustments).toEqual([ - { - adjustmentSourceId: promoSource1.id, - description: promoSource1.name, - amount: -60, - }, - ]); - expect(order.lines[0].adjustments).toEqual([]); - expect(order.totalPrice).toBe(540); - }); - - it('applies a tax source to order lines', () => { - const order = new Order({ - code: 'ABC', - lines: [ - new OrderLine({ - id: 'oi1', - unitPrice: 300, - quantity: 2, - totalPriceBeforeAdjustment: 600, - taxCategoryId: standardTaxSource.id, - }), - new OrderLine({ - id: 'oi2', - unitPrice: 450, - quantity: 1, - totalPriceBeforeAdjustment: 450, - taxCategoryId: zeroTaxSource.id, - }), - ], - totalPriceBeforeAdjustment: 1050, - }); - - applyAdjustments(order, [standardTaxSource, zeroTaxSource], conditions, actions); - - expect(order.adjustments).toEqual([]); - expect(order.lines[0].adjustments).toEqual([ - { - adjustmentSourceId: standardTaxSource.id, - description: standardTaxSource.name, - amount: 120, - }, - ]); - expect(order.lines[0].totalPrice).toBe(720); - expect(order.lines[1].adjustments).toEqual([ - { - adjustmentSourceId: zeroTaxSource.id, - description: zeroTaxSource.name, - amount: 0, - }, - ]); - expect(order.lines[1].totalPrice).toBe(450); - - expect(order.totalPrice).toBe(1170); - }); - - it('evaluates promo conditions on lines after tax is applied', () => { - const order = new Order({ - code: 'ABC', - lines: [ - new OrderLine({ - id: 'oi1', - unitPrice: 240, - quantity: 2, - totalPriceBeforeAdjustment: 480, - taxCategoryId: standardTaxSource.id, - }), - ], - totalPriceBeforeAdjustment: 480, - }); - - applyAdjustments(order, [promoSource1, standardTaxSource, zeroTaxSource], conditions, actions); - - expect(order.lines[0].adjustments).toEqual([ - { - adjustmentSourceId: standardTaxSource.id, - description: standardTaxSource.name, - amount: 96, - }, - ]); - expect(order.lines[0].totalPrice).toBe(576); - expect(order.adjustments).toEqual([ - { - adjustmentSourceId: promoSource1.id, - description: promoSource1.name, - amount: -58, - }, - ]); - expect(order.totalPrice).toBe(518); - }); -}); diff --git a/server/src/service/helpers/apply-adjustments.ts b/server/src/service/helpers/apply-adjustments.ts deleted file mode 100644 index 08b6f0a694..0000000000 --- a/server/src/service/helpers/apply-adjustments.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { AdjustmentArg, AdjustmentType } from 'shared/generated-types'; - -import { Adjustment } from '../../common/types/adjustment-source'; -import { idsAreEqual } from '../../common/utils'; -import { - AdjustmentActionDefinition, - AdjustmentActionResult, - AdjustmentConditionDefinition, -} from '../../config/adjustment/adjustment-types'; -import { AdjustmentSource } from '../../entity/adjustment-source/adjustment-source.entity'; -import { Order } from '../../entity/order/order.entity'; - -/** - * Evaluates the provided AdjustmentSources against the order and applies those whose conditions are all - * passing. In doing so, the Order and OrderItems entities are mutated, with their adjustments arrays - * being populated, and their totalPrice values being set. - */ -export function applyAdjustments( - order: Order, - adjustmentSources: AdjustmentSource[], - conditions: AdjustmentConditionDefinition[], - actions: AdjustmentActionDefinition[], -) { - initializeOrder(order); - const orderedSources = orderAdjustmentSources(adjustmentSources); - for (const source of orderedSources) { - if (!checkSourceConditions(order, source, conditions)) { - continue; - } - const results = applyActionCalculations(order, source, actions); - - for (const result of results) { - if (result.orderItemId) { - const item = order.lines.find(i => idsAreEqual(i.id, result.orderItemId)); - if (item) { - item.adjustments.push({ - adjustmentSourceId: source.id, - description: source.name, - amount: result.amount, - }); - item.totalPrice += result.amount; - } - } else { - order.adjustments.push({ - adjustmentSourceId: source.id, - description: source.name, - amount: result.amount, - }); - } - } - order.totalPrice = getTotalPriceOfItems(order) + getTotalAdjustmentAmount(order.adjustments); - } -} - -/** - * Adjustment sources should be applied in the following order: taxes, promotions, shipping. - * This function arranges the sources to conform to this order. - */ -export function orderAdjustmentSources(sources: AdjustmentSource[]): AdjustmentSource[] { - let output: AdjustmentSource[] = []; - [AdjustmentType.TAX, AdjustmentType.PROMOTION, AdjustmentType.SHIPPING].forEach(type => { - output = [...output, ...sources.filter(s => s.type === type)]; - }); - return output; -} - -/** - * Initialize the total prices or the Order and its OrderItems to equal - * the price before any adjustments are applied, and set the adjustments - * to be an empty array. - */ -function initializeOrder(order: Order) { - for (const item of order.lines) { - item.totalPrice = item.totalPriceBeforeAdjustment; - item.adjustments = []; - } - order.totalPrice = getTotalPriceOfItems(order); - order.adjustments = []; -} - -function getTotalPriceOfItems(order: Order): number { - return order.lines.reduce((total, item) => total + item.totalPrice, 0); -} - -function getTotalAdjustmentAmount(adjustments: Adjustment[]): number { - return adjustments.reduce((total, adjustment) => total + adjustment.amount, 0); -} - -function checkSourceConditions( - order: Order, - source: AdjustmentSource, - conditions: AdjustmentConditionDefinition[], -): boolean { - for (const condition of source.conditions) { - const conditionConfig = conditions.find(c => c.code === condition.code); - if (!conditionConfig) { - return false; - } - if (!conditionConfig.predicate(order, argsArrayToHash(condition.args))) { - return false; - } - } - return true; -} - -function applyActionCalculations( - order: Order, - source: AdjustmentSource, - actions: AdjustmentActionDefinition[], -): AdjustmentActionResult[] { - let results: AdjustmentActionResult[] = []; - for (const action of source.actions) { - const actionConfig = actions.find(a => a.code === action.code); - if (!actionConfig) { - continue; - } - const context = source.type === AdjustmentType.TAX ? { taxCategoryId: source.id } : {}; - const actionResults = actionConfig - .calculate(order, argsArrayToHash(action.args), context) - .map(result => { - // Do not allow fractions of pennies. - result.amount = Math.round(result.amount); - return result; - }); - results = [...results, ...actionResults]; - } - return results; -} - -function argsArrayToHash(args: AdjustmentArg[]): { [name: string]: string | number } { - return args.reduce( - (hash, arg) => ({ - ...hash, - [arg.name]: ['int', 'percentage', 'money'].includes(arg.type) - ? Number.parseInt(arg.value || '', 10) - : arg.value, - }), - {}, - ); -} diff --git a/server/src/service/providers/adjustment-applicator.service.ts b/server/src/service/providers/adjustment-applicator.service.ts deleted file mode 100644 index a126e28136..0000000000 --- a/server/src/service/providers/adjustment-applicator.service.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Injectable } from '@nestjs/common'; -import { InjectConnection } from '@nestjs/typeorm'; -import { Connection } from 'typeorm'; - -import { ConfigService } from '../../config/config.service'; -import { Order } from '../../entity/order/order.entity'; -// import { applyAdjustments } from '../helpers/apply-adjustments'; - -import { PromotionService } from './promotion.service'; - -@Injectable() -export class AdjustmentApplicatorService { - constructor( - @InjectConnection() private connection: Connection, - private configService: ConfigService, - private adjustmentSourceService: PromotionService, - ) {} - - /** - * Applies AdjustmentSources to an order, updating the adjustment arrays of the Order and - * its OrderItems and updating the prices based on the adjustment actions. - */ - /*async applyAdjustments(order: Order): Promise { - const sources = await this.adjustmentSourceService.getActivePromotions(); - const { adjustmentConditions, adjustmentActions } = this.configService; - applyAdjustments(order, sources, adjustmentConditions, adjustmentActions); - await this.connection.manager.save(order.lines); - return await this.connection.manager.save(order); - }*/ -} diff --git a/server/src/service/providers/channel.service.ts b/server/src/service/providers/channel.service.ts index 9e918c89d2..a3b0f611a8 100644 --- a/server/src/service/providers/channel.service.ts +++ b/server/src/service/providers/channel.service.ts @@ -28,7 +28,7 @@ export class ChannelService { */ async initChannels() { await this.ensureDefaultChannelExists(); - this.allChannels = await this.findAll(); + await this.updateAllChannels(); } /** @@ -89,7 +89,7 @@ export class ChannelService { ); } const newChannel = await this.connection.getRepository(Channel).save(channel); - this.allChannels.push(channel); + await this.updateAllChannels(); return channel; } @@ -117,6 +117,7 @@ export class ChannelService { ); } await this.connection.getRepository(Channel).save(updatedChannel); + await this.updateAllChannels(); return assertFound(this.findOne(channel.id)); } @@ -144,4 +145,8 @@ export class ChannelService { await this.connection.manager.save(defaultChannel); } } + + private async updateAllChannels() { + this.allChannels = await this.findAll(); + } } diff --git a/server/src/service/providers/order.service.ts b/server/src/service/providers/order.service.ts index 45753843a9..d862ed701d 100644 --- a/server/src/service/providers/order.service.ts +++ b/server/src/service/providers/order.service.ts @@ -1,30 +1,29 @@ import { InjectConnection } from '@nestjs/typeorm'; -import { Adjustment, AdjustmentType } from 'shared/generated-types'; +import { AdjustmentType } from 'shared/generated-types'; import { ID, PaginatedList } from 'shared/shared-types'; import { Connection } from 'typeorm'; import { RequestContext } from '../../api/common/request-context'; import { generatePublicId } from '../../common/generate-public-id'; import { ListQueryOptions } from '../../common/types/common-types'; -import { assertFound, idsAreEqual } from '../../common/utils'; +import { idsAreEqual } from '../../common/utils'; import { OrderItem } from '../../entity/order-item/order-item.entity'; import { OrderLine } from '../../entity/order-line/order-line.entity'; import { Order } from '../../entity/order/order.entity'; import { ProductVariant } from '../../entity/product-variant/product-variant.entity'; import { Promotion } from '../../entity/promotion/promotion.entity'; import { TaxRate } from '../../entity/tax-rate/tax-rate.entity'; +import { Zone } from '../../entity/zone/zone.entity'; import { I18nError } from '../../i18n/i18n-error'; import { buildListQuery } from '../helpers/build-list-query'; import { translateDeep } from '../helpers/translate-entity'; -import { AdjustmentApplicatorService } from './adjustment-applicator.service'; import { ProductVariantService } from './product-variant.service'; export class OrderService { constructor( @InjectConnection() private connection: Connection, private productVariantService: ProductVariantService, - private adjustmentApplicatorService: AdjustmentApplicatorService, ) {} findAll(ctx: RequestContext, options?: ListQueryOptions): Promise> { @@ -61,6 +60,7 @@ export class OrderService { code: generatePublicId(), lines: [], totalPrice: 0, + totalPriceBeforeTax: 0, }); return this.connection.getRepository(Order).save(newOrder); } @@ -116,14 +116,14 @@ export class OrderService { orderLine.items = orderLine.items.slice(0, quantity); } await this.connection.getRepository(OrderLine).save(orderLine); - return this.calculateOrderTotals(ctx, order); + return this.applyAdjustments(ctx, order); } async removeItemFromOrder(ctx: RequestContext, orderId: ID, orderLineId: ID): Promise { const order = await this.getOrderOrThrow(ctx, orderId); const orderLine = this.getOrderLineOrThrow(order, orderLineId); order.lines = order.lines.filter(line => !idsAreEqual(line.id, orderLineId)); - const updatedOrder = await this.calculateOrderTotals(ctx, order); + const updatedOrder = await this.applyAdjustments(ctx, order); await this.connection.getRepository(OrderLine).remove(orderLine); return updatedOrder; } @@ -167,7 +167,8 @@ export class OrderService { } } - private async calculateOrderTotals(ctx: RequestContext, order: Order): Promise { + // TODO: Refactor the mail calculation logic out into a more testable service. + private async applyAdjustments(ctx: RequestContext, order: Order): Promise { const activeZone = ctx.channel.defaultTaxZone; const taxRates = await this.connection.getRepository(TaxRate).find({ where: { @@ -178,30 +179,74 @@ export class OrderService { }); const promotions = await this.connection.getRepository(Promotion).find({ where: { enabled: true } }); + order.clearAdjustments(); + // First apply taxes to the non-discounted prices + this.applyTaxes(order, taxRates, activeZone); + // Then test and apply promotions + this.applyPromotions(order, promotions); + // Finally, re-calculate taxes because the promotions may have + // altered the unit prices, which in turn will alter the tax payable. + this.applyTaxes(order, taxRates, activeZone); + + await this.connection.getRepository(Order).save(order); + await this.connection.getRepository(OrderItem).save(order.getOrderItems()); + return order; + } + + /** + * Applies the correct TaxRate to each OrderItem in the order. + */ + private applyTaxes(order: Order, taxRates: TaxRate[], activeZone: Zone) { for (const line of order.lines) { const applicableTaxRate = taxRates.find(taxRate => taxRate.test(activeZone, line.taxCategory)); + line.clearAdjustments(AdjustmentType.TAX); + for (const item of line.items) { if (applicableTaxRate) { - item.pendingAdjustments = []; item.pendingAdjustments = item.pendingAdjustments.concat( - applicableTaxRate.apply(line.unitPrice), + applicableTaxRate.apply(line.unitPriceWithPromotions), ); - await this.connection.getRepository(OrderItem).save(item); } } + this.calculateOrderTotals(order); } + } + + /** + * Applies any eligible promotions to each OrderItem in the order. + */ + private applyPromotions(order: Order, promotions: Promotion[]) { + for (const line of order.lines) { + const applicablePromotions = promotions.filter(p => p.test(order)); - const totalPrice = order.lines.reduce((total, line) => total + line.totalPrice, 0); - const totalTax = order.lines - .reduce((adjustments, line) => [...adjustments, ...line.adjustments], [] as Adjustment[]) - .filter(a => a.type === AdjustmentType.TAX) - .reduce((total, a) => total + a.amount, 0); + line.clearAdjustments(AdjustmentType.PROMOTION); + + for (const item of line.items) { + if (applicablePromotions) { + for (const promotion of applicablePromotions) { + const adjustment = promotion.apply(item, line); + if (adjustment) { + item.pendingAdjustments = item.pendingAdjustments.concat(adjustment); + } + } + } + } + this.calculateOrderTotals(order); + } + } + + private calculateOrderTotals(order: Order) { + let totalPrice = 0; + let totalTax = 0; + + for (const line of order.lines) { + totalPrice += line.totalPrice; + totalTax += line.unitTax * line.quantity; + } const totalPriceBeforeTax = totalPrice - totalTax; order.totalPriceBeforeTax = totalPriceBeforeTax; order.totalPrice = totalPrice; - await this.connection.getRepository(Order).save(order); - return order; } } diff --git a/server/src/service/providers/product-variant.service.ts b/server/src/service/providers/product-variant.service.ts index f165995480..fa302276bd 100644 --- a/server/src/service/providers/product-variant.service.ts +++ b/server/src/service/providers/product-variant.service.ts @@ -14,6 +14,7 @@ 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 { Zone } from '../../entity/zone/zone.entity'; import { I18nError } from '../../i18n/i18n-error'; import { createTranslatable } from '../helpers/create-translatable'; import { translateDeep } from '../helpers/translate-entity'; @@ -21,12 +22,14 @@ import { TranslationUpdaterService } from '../helpers/translation-updater.servic import { updateTranslatable } from '../helpers/update-translatable'; import { TaxCategoryService } from './tax-category.service'; +import { TaxRateService } from './tax-rate.service'; @Injectable() export class ProductVariantService { constructor( @InjectConnection() private connection: Connection, private taxCategoryService: TaxCategoryService, + private taxRateService: TaxRateService, private translationUpdaterService: TranslationUpdaterService, ) {} @@ -37,7 +40,10 @@ export class ProductVariantService { .findOne(productVariantId, { relations }) .then(result => { if (result) { - return translateDeep(this.applyChannelPrice(result, ctx.channelId), ctx.languageCode); + return translateDeep( + this.applyChannelPriceAndTax(result, ctx.channelId, ctx.channel.defaultTaxZone), + ctx.languageCode, + ); } }); } @@ -83,10 +89,11 @@ export class ProductVariantService { relations: ['options', 'facetValues', 'taxCategory'], }), ); - return translateDeep(this.applyChannelPrice(variant, ctx.channelId), DEFAULT_LANGUAGE_CODE, [ - 'options', - 'facetValues', - ]); + return translateDeep( + this.applyChannelPriceAndTax(variant, ctx.channelId, ctx.channel.defaultTaxZone), + DEFAULT_LANGUAGE_CODE, + ['options', 'facetValues'], + ); } async generateVariantsForProduct( @@ -140,7 +147,7 @@ export class ProductVariantService { facetValues: FacetValue[], ): Promise>> { const variants = await this.connection.getRepository(ProductVariant).findByIds(productVariantIds, { - relations: ['options', 'facetValues'], + relations: ['options', 'facetValues', 'taxCategory'], }); const notFoundIds = productVariantIds.filter(id => !variants.find(v => idsAreEqual(v.id, id))); @@ -160,22 +167,33 @@ export class ProductVariantService { } return variants.map(v => - translateDeep(this.applyChannelPrice(v, ctx.channelId), DEFAULT_LANGUAGE_CODE, [ - 'options', - 'facetValues', - ]), + translateDeep( + this.applyChannelPriceAndTax(v, ctx.channelId, ctx.channel.defaultTaxZone), + DEFAULT_LANGUAGE_CODE, + ['options', 'facetValues'], + ), ); } /** * Populates the `price` field with the price for the specified channel. */ - applyChannelPrice(variant: ProductVariant, channelId: ID): ProductVariant { + applyChannelPriceAndTax(variant: ProductVariant, channelId: ID, taxZone: Zone): ProductVariant { const channelPrice = variant.productVariantPrices.find(p => idsAreEqual(p.channelId, channelId)); if (!channelPrice) { throw new I18nError(`error.no-price-found-for-channel`); } variant.price = channelPrice.price; + + const applicableTaxRate = this.taxRateService + .getActiveTaxRates() + .find(r => r.test(taxZone, variant.taxCategory)); + if (applicableTaxRate) { + variant.priceWithTax = variant.price + applicableTaxRate.getTax(variant.price); + variant.taxRateApplied = applicableTaxRate; + } else { + variant.priceWithTax = variant.price; + } return variant; } diff --git a/server/src/service/providers/product.service.ts b/server/src/service/providers/product.service.ts index 52ff469bc8..26b87fc54a 100644 --- a/server/src/service/providers/product.service.ts +++ b/server/src/service/providers/product.service.ts @@ -52,18 +52,16 @@ export class ProductService { return buildListQuery(this.connection, Product, options, relations, ctx.channelId) .getManyAndCount() .then(async ([products, totalItems]) => { - const items = await Promise.all( - products - .map(product => - translateDeep(product, ctx.languageCode, [ - 'optionGroups', - 'variants', - ['variants', 'options'], - ['variants', 'facetValues'], - ]), - ) - .map(async product => await this.applyPriceAndTaxToVariants(product, ctx)), - ); + const items = products + .map(product => + translateDeep(product, ctx.languageCode, [ + 'optionGroups', + 'variants', + ['variants', 'options'], + ['variants', 'facetValues'], + ]), + ) + .map(product => this.applyPriceAndTaxToVariants(product, ctx)); return { items, totalItems, @@ -168,20 +166,13 @@ export class ProductService { * This method uses the RequestContext to determine these values and apply them to each * ProductVariant of the given Product. */ - private async applyPriceAndTaxToVariants(product: T, ctx: RequestContext): Promise { - const activeTaxRates = await this.taxRateService.getActiveTaxRates(); + private applyPriceAndTaxToVariants(product: T, ctx: RequestContext): T { product.variants = product.variants.map(variant => { - this.productVariantService.applyChannelPrice(variant, ctx.channelId); - const applicableTaxRate = activeTaxRates.find(r => - r.test(ctx.channel.defaultTaxZone, variant.taxCategory), + return this.productVariantService.applyChannelPriceAndTax( + variant, + ctx.channelId, + ctx.channel.defaultTaxZone, ); - if (applicableTaxRate) { - variant.priceWithTax = variant.price + applicableTaxRate.getTax(variant.price); - variant.taxRateApplied = applicableTaxRate; - } else { - variant.priceWithTax = variant.price; - } - return variant; }); return product; } diff --git a/server/src/service/providers/promotion.service.ts b/server/src/service/providers/promotion.service.ts index 3d3e04d2e7..5df7715989 100644 --- a/server/src/service/providers/promotion.service.ts +++ b/server/src/service/providers/promotion.service.ts @@ -13,11 +13,9 @@ import { Connection } from 'typeorm'; import { RequestContext } from '../../api/common/request-context'; import { ListQueryOptions } from '../../common/types/common-types'; import { assertFound } from '../../common/utils'; -import { - AdjustmentActionDefinition, - AdjustmentConditionDefinition, -} from '../../config/adjustment/adjustment-types'; import { ConfigService } from '../../config/config.service'; +import { PromotionAction } from '../../config/promotion/promotion-action'; +import { PromotionCondition } from '../../config/promotion/promotion-condition'; import { Promotion } from '../../entity/promotion/promotion.entity'; import { I18nError } from '../../i18n/i18n-error'; import { buildListQuery } from '../helpers/build-list-query'; @@ -27,8 +25,8 @@ import { ChannelService } from './channel.service'; @Injectable() export class PromotionService { - availableConditions: AdjustmentConditionDefinition[] = []; - availableActions: AdjustmentActionDefinition[] = []; + availableConditions: PromotionCondition[] = []; + availableActions: PromotionAction[] = []; /** * All active AdjustmentSources are cached in memory becuase they are needed * every time an order is changed, which will happen often. Caching them means @@ -41,8 +39,8 @@ export class PromotionService { private configService: ConfigService, private channelService: ChannelService, ) { - this.availableConditions = this.configService.adjustmentConditions; - this.availableActions = this.configService.adjustmentActions; + this.availableConditions = this.configService.promotionConditions; + this.availableActions = this.configService.promotionActions; } findAll(options?: ListQueryOptions): Promise> { @@ -55,21 +53,26 @@ export class PromotionService { } async findOne(adjustmentSourceId: ID): Promise { - return this.connection.manager.findOne(Promotion, adjustmentSourceId, { - relations: [], - }); + return this.connection.manager.findOne(Promotion, adjustmentSourceId, {}); } /** * Returns all available AdjustmentOperations. */ getAdjustmentOperations(): { - conditions: AdjustmentConditionDefinition[]; - actions: AdjustmentActionDefinition[]; + conditions: AdjustmentOperation[]; + actions: AdjustmentOperation[]; } { + const toAdjustmentOperation = (source: PromotionCondition | PromotionAction) => { + return { + code: source.code, + description: source.description, + args: Object.entries(source.args).map(([name, type]) => ({ name, type })), + }; + }; return { - conditions: this.availableConditions, - actions: this.availableActions, + conditions: this.availableConditions.map(toAdjustmentOperation), + actions: this.availableActions.map(toAdjustmentOperation), }; } @@ -131,17 +134,20 @@ export class PromotionService { description: match.description, args: input.arguments.map((inputArg, i) => { return { - name: match.args[i].name, - type: match.args[i].type, - value: inputArg, + name: inputArg.name, + type: match.args[inputArg.name], + value: inputArg.value, }; }), }; return output; } - private getAdjustmentOperationByCode(type: 'condition' | 'action', code: string): AdjustmentOperation { - const available: AdjustmentOperation[] = + private getAdjustmentOperationByCode( + type: 'condition' | 'action', + code: string, + ): PromotionCondition | PromotionAction { + const available: Array = type === 'condition' ? this.availableConditions : this.availableActions; const match = available.find(a => a.code === code); if (!match) { diff --git a/server/src/service/providers/tax-rate.service.ts b/server/src/service/providers/tax-rate.service.ts index e3a02e9194..02b6b4bf14 100644 --- a/server/src/service/providers/tax-rate.service.ts +++ b/server/src/service/providers/tax-rate.service.ts @@ -23,6 +23,10 @@ export class TaxRateService { constructor(@InjectConnection() private connection: Connection) {} + async initTaxRates() { + return this.updateActiveTaxRates(); + } + findAll(options?: ListQueryOptions): Promise> { return buildListQuery(this.connection, TaxRate, options, ['category', 'zone', 'customerGroup']) .getManyAndCount() @@ -81,10 +85,7 @@ export class TaxRateService { return assertFound(this.findOne(taxRate.id)); } - async getActiveTaxRates(): Promise { - if (!this.activeTaxRates.length) { - await this.updateActiveTaxRates(); - } + getActiveTaxRates(): TaxRate[] { return this.activeTaxRates; } diff --git a/server/src/service/service.module.ts b/server/src/service/service.module.ts index 7c0cab3f9e..144ec060ce 100644 --- a/server/src/service/service.module.ts +++ b/server/src/service/service.module.ts @@ -5,7 +5,6 @@ import { ConfigModule } from '../config/config.module'; import { getConfig } from '../config/vendure-config'; import { TranslationUpdaterService } from './helpers/translation-updater.service'; -import { AdjustmentApplicatorService } from './providers/adjustment-applicator.service'; import { AdministratorService } from './providers/administrator.service'; import { AssetService } from './providers/asset.service'; import { AuthService } from './providers/auth.service'; @@ -58,12 +57,7 @@ const exportedProviders = [ */ @Module({ imports: [ConfigModule, TypeOrmModule.forRoot(getConfig().dbConnectionOptions)], - providers: [ - ...exportedProviders, - PasswordService, - TranslationUpdaterService, - AdjustmentApplicatorService, - ], + providers: [...exportedProviders, PasswordService, TranslationUpdaterService], exports: exportedProviders, }) export class ServiceModule implements OnModuleInit { @@ -71,11 +65,13 @@ export class ServiceModule implements OnModuleInit { private channelService: ChannelService, private roleService: RoleService, private administratorService: AdministratorService, + private taxRateService: TaxRateService, ) {} async onModuleInit() { await this.channelService.initChannels(); await this.roleService.initRoles(); await this.administratorService.initAdministrators(); + await this.taxRateService.initTaxRates(); } } diff --git a/shared/generated-types.ts b/shared/generated-types.ts index 74020b1680..9c3fe1af46 100644 --- a/shared/generated-types.ts +++ b/shared/generated-types.ts @@ -1045,7 +1045,12 @@ export interface CreatePromotionInput { export interface AdjustmentOperationInput { code: string; - arguments: string[]; + arguments: AdjustmentOperationInputArg[]; +} + +export interface AdjustmentOperationInputArg { + name: string; + value: string; } export interface UpdatePromotionInput {