|
|
@@ -1411,26 +1411,26 @@ export type Mutation = {
|
|
|
updateAdministrator: Administrator,
|
|
|
/** Assign a Role to an Administrator */
|
|
|
assignRoleToAdministrator: Administrator,
|
|
|
- login: LoginResult,
|
|
|
- logout: Scalars['Boolean'],
|
|
|
/** Create a new Asset */
|
|
|
createAssets: Array<Asset>,
|
|
|
+ login: LoginResult,
|
|
|
+ logout: Scalars['Boolean'],
|
|
|
/** Create a new Channel */
|
|
|
createChannel: Channel,
|
|
|
/** Update an existing Channel */
|
|
|
updateChannel: Channel,
|
|
|
- /** Create a new Country */
|
|
|
- createCountry: Country,
|
|
|
- /** Update an existing Country */
|
|
|
- updateCountry: Country,
|
|
|
- /** Delete a Country */
|
|
|
- deleteCountry: DeletionResponse,
|
|
|
/** Create a new Collection */
|
|
|
createCollection: Collection,
|
|
|
/** Update an existing Collection */
|
|
|
updateCollection: Collection,
|
|
|
/** Move a Collection to a different parent or index */
|
|
|
moveCollection: Collection,
|
|
|
+ /** Create a new Country */
|
|
|
+ createCountry: Country,
|
|
|
+ /** Update an existing Country */
|
|
|
+ updateCountry: Country,
|
|
|
+ /** Delete a Country */
|
|
|
+ deleteCountry: DeletionResponse,
|
|
|
/** Create a new CustomerGroup */
|
|
|
createCustomerGroup: CustomerGroup,
|
|
|
/** Update an existing CustomerGroup */
|
|
|
@@ -1451,7 +1451,6 @@ export type Mutation = {
|
|
|
updateCustomerAddress: Address,
|
|
|
/** Update an existing Address */
|
|
|
deleteCustomerAddress: Scalars['Boolean'],
|
|
|
- updateGlobalSettings: GlobalSettings,
|
|
|
/** Create a new Facet */
|
|
|
createFacet: Facet,
|
|
|
/** Update an existing Facet */
|
|
|
@@ -1464,21 +1463,15 @@ export type Mutation = {
|
|
|
updateFacetValues: Array<FacetValue>,
|
|
|
/** Delete one or more FacetValues */
|
|
|
deleteFacetValues: Array<DeletionResponse>,
|
|
|
+ updateGlobalSettings: GlobalSettings,
|
|
|
importProducts?: Maybe<ImportInfo>,
|
|
|
+ /** Update an existing PaymentMethod */
|
|
|
+ updatePaymentMethod: PaymentMethod,
|
|
|
/** Create a new ProductOptionGroup */
|
|
|
createProductOptionGroup: ProductOptionGroup,
|
|
|
/** Update an existing ProductOptionGroup */
|
|
|
updateProductOptionGroup: ProductOptionGroup,
|
|
|
reindex: SearchReindexResponse,
|
|
|
- /** Update an existing PaymentMethod */
|
|
|
- updatePaymentMethod: PaymentMethod,
|
|
|
- createPromotion: Promotion,
|
|
|
- updatePromotion: Promotion,
|
|
|
- deletePromotion: DeletionResponse,
|
|
|
- /** Create a new ShippingMethod */
|
|
|
- createShippingMethod: ShippingMethod,
|
|
|
- /** Update an existing ShippingMethod */
|
|
|
- updateShippingMethod: ShippingMethod,
|
|
|
/** Create a new Product */
|
|
|
createProduct: Product,
|
|
|
/** Update an existing Product */
|
|
|
@@ -1493,18 +1486,25 @@ export type Mutation = {
|
|
|
generateVariantsForProduct: Product,
|
|
|
/** Update existing ProductVariants */
|
|
|
updateProductVariants: Array<Maybe<ProductVariant>>,
|
|
|
+ createPromotion: Promotion,
|
|
|
+ updatePromotion: Promotion,
|
|
|
+ deletePromotion: DeletionResponse,
|
|
|
/** Create a new Role */
|
|
|
createRole: Role,
|
|
|
/** Update an existing Role */
|
|
|
updateRole: Role,
|
|
|
- /** Create a new TaxCategory */
|
|
|
- createTaxCategory: TaxCategory,
|
|
|
- /** Update an existing TaxCategory */
|
|
|
- updateTaxCategory: TaxCategory,
|
|
|
+ /** Create a new ShippingMethod */
|
|
|
+ createShippingMethod: ShippingMethod,
|
|
|
+ /** Update an existing ShippingMethod */
|
|
|
+ updateShippingMethod: ShippingMethod,
|
|
|
/** Create a new TaxRate */
|
|
|
createTaxRate: TaxRate,
|
|
|
/** Update an existing TaxRate */
|
|
|
updateTaxRate: TaxRate,
|
|
|
+ /** Create a new TaxCategory */
|
|
|
+ createTaxCategory: TaxCategory,
|
|
|
+ /** Update an existing TaxCategory */
|
|
|
+ updateTaxCategory: TaxCategory,
|
|
|
/** Create a new Zone */
|
|
|
createZone: Zone,
|
|
|
/** Update an existing Zone */
|
|
|
@@ -1534,6 +1534,11 @@ export type MutationAssignRoleToAdministratorArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationCreateAssetsArgs = {
|
|
|
+ input: Array<CreateAssetInput>
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationLoginArgs = {
|
|
|
username: Scalars['String'],
|
|
|
password: Scalars['String'],
|
|
|
@@ -1541,11 +1546,6 @@ export type MutationLoginArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateAssetsArgs = {
|
|
|
- input: Array<CreateAssetInput>
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type MutationCreateChannelArgs = {
|
|
|
input: CreateChannelInput
|
|
|
};
|
|
|
@@ -1556,33 +1556,33 @@ export type MutationUpdateChannelArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateCountryArgs = {
|
|
|
- input: CreateCountryInput
|
|
|
+export type MutationCreateCollectionArgs = {
|
|
|
+ input: CreateCollectionInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateCountryArgs = {
|
|
|
- input: UpdateCountryInput
|
|
|
+export type MutationUpdateCollectionArgs = {
|
|
|
+ input: UpdateCollectionInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationDeleteCountryArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
+export type MutationMoveCollectionArgs = {
|
|
|
+ input: MoveCollectionInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateCollectionArgs = {
|
|
|
- input: CreateCollectionInput
|
|
|
+export type MutationCreateCountryArgs = {
|
|
|
+ input: CreateCountryInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateCollectionArgs = {
|
|
|
- input: UpdateCollectionInput
|
|
|
+export type MutationUpdateCountryArgs = {
|
|
|
+ input: UpdateCountryInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationMoveCollectionArgs = {
|
|
|
- input: MoveCollectionInput
|
|
|
+export type MutationDeleteCountryArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1640,11 +1640,6 @@ export type MutationDeleteCustomerAddressArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateGlobalSettingsArgs = {
|
|
|
- input: UpdateGlobalSettingsInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type MutationCreateFacetArgs = {
|
|
|
input: CreateFacetInput
|
|
|
};
|
|
|
@@ -1677,18 +1672,13 @@ export type MutationDeleteFacetValuesArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationImportProductsArgs = {
|
|
|
- csvFile: Scalars['Upload']
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationCreateProductOptionGroupArgs = {
|
|
|
- input: CreateProductOptionGroupInput
|
|
|
+export type MutationUpdateGlobalSettingsArgs = {
|
|
|
+ input: UpdateGlobalSettingsInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateProductOptionGroupArgs = {
|
|
|
- input: UpdateProductOptionGroupInput
|
|
|
+export type MutationImportProductsArgs = {
|
|
|
+ csvFile: Scalars['Upload']
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1697,28 +1687,13 @@ export type MutationUpdatePaymentMethodArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreatePromotionArgs = {
|
|
|
- input: CreatePromotionInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationUpdatePromotionArgs = {
|
|
|
- input: UpdatePromotionInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationDeletePromotionArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationCreateShippingMethodArgs = {
|
|
|
- input: CreateShippingMethodInput
|
|
|
+export type MutationCreateProductOptionGroupArgs = {
|
|
|
+ input: CreateProductOptionGroupInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateShippingMethodArgs = {
|
|
|
- input: UpdateShippingMethodInput
|
|
|
+export type MutationUpdateProductOptionGroupArgs = {
|
|
|
+ input: UpdateProductOptionGroupInput
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1762,6 +1737,21 @@ export type MutationUpdateProductVariantsArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationCreatePromotionArgs = {
|
|
|
+ input: CreatePromotionInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type MutationUpdatePromotionArgs = {
|
|
|
+ input: UpdatePromotionInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type MutationDeletePromotionArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationCreateRoleArgs = {
|
|
|
input: CreateRoleInput
|
|
|
};
|
|
|
@@ -1772,13 +1762,13 @@ export type MutationUpdateRoleArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateTaxCategoryArgs = {
|
|
|
- input: CreateTaxCategoryInput
|
|
|
+export type MutationCreateShippingMethodArgs = {
|
|
|
+ input: CreateShippingMethodInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateTaxCategoryArgs = {
|
|
|
- input: UpdateTaxCategoryInput
|
|
|
+export type MutationUpdateShippingMethodArgs = {
|
|
|
+ input: UpdateShippingMethodInput
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1792,6 +1782,16 @@ export type MutationUpdateTaxRateArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationCreateTaxCategoryArgs = {
|
|
|
+ input: CreateTaxCategoryInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type MutationUpdateTaxCategoryArgs = {
|
|
|
+ input: UpdateTaxCategoryInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationCreateZoneArgs = {
|
|
|
input: CreateZoneInput
|
|
|
};
|
|
|
@@ -2274,46 +2274,46 @@ export type PromotionSortParameter = {
|
|
|
export type Query = {
|
|
|
administrators: AdministratorList,
|
|
|
administrator?: Maybe<Administrator>,
|
|
|
- me?: Maybe<CurrentUser>,
|
|
|
assets: AssetList,
|
|
|
asset?: Maybe<Asset>,
|
|
|
+ me?: Maybe<CurrentUser>,
|
|
|
channels: Array<Channel>,
|
|
|
channel?: Maybe<Channel>,
|
|
|
activeChannel: Channel,
|
|
|
- countries: CountryList,
|
|
|
- country?: Maybe<Country>,
|
|
|
collections: CollectionList,
|
|
|
collection?: Maybe<Collection>,
|
|
|
collectionFilters: Array<ConfigurableOperation>,
|
|
|
+ countries: CountryList,
|
|
|
+ country?: Maybe<Country>,
|
|
|
customerGroups: Array<CustomerGroup>,
|
|
|
customerGroup?: Maybe<CustomerGroup>,
|
|
|
customers: CustomerList,
|
|
|
customer?: Maybe<Customer>,
|
|
|
- globalSettings: GlobalSettings,
|
|
|
facets: FacetList,
|
|
|
facet?: Maybe<Facet>,
|
|
|
+ globalSettings: GlobalSettings,
|
|
|
order?: Maybe<Order>,
|
|
|
orders: OrderList,
|
|
|
+ paymentMethods: PaymentMethodList,
|
|
|
+ paymentMethod?: Maybe<PaymentMethod>,
|
|
|
productOptionGroups: Array<ProductOptionGroup>,
|
|
|
productOptionGroup?: Maybe<ProductOptionGroup>,
|
|
|
search: SearchResponse,
|
|
|
- paymentMethods: PaymentMethodList,
|
|
|
- paymentMethod?: Maybe<PaymentMethod>,
|
|
|
+ products: ProductList,
|
|
|
+ product?: Maybe<Product>,
|
|
|
promotion?: Maybe<Promotion>,
|
|
|
promotions: PromotionList,
|
|
|
adjustmentOperations: AdjustmentOperations,
|
|
|
+ roles: RoleList,
|
|
|
+ role?: Maybe<Role>,
|
|
|
shippingMethods: ShippingMethodList,
|
|
|
shippingMethod?: Maybe<ShippingMethod>,
|
|
|
shippingEligibilityCheckers: Array<ConfigurableOperation>,
|
|
|
shippingCalculators: Array<ConfigurableOperation>,
|
|
|
- products: ProductList,
|
|
|
- product?: Maybe<Product>,
|
|
|
- roles: RoleList,
|
|
|
- role?: Maybe<Role>,
|
|
|
- taxCategories: Array<TaxCategory>,
|
|
|
- taxCategory?: Maybe<TaxCategory>,
|
|
|
taxRates: TaxRateList,
|
|
|
taxRate?: Maybe<TaxRate>,
|
|
|
+ taxCategories: Array<TaxCategory>,
|
|
|
+ taxCategory?: Maybe<TaxCategory>,
|
|
|
zones: Array<Zone>,
|
|
|
zone?: Maybe<Zone>,
|
|
|
temp__?: Maybe<Scalars['Boolean']>,
|
|
|
@@ -2345,16 +2345,6 @@ export type QueryChannelArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryCountriesArgs = {
|
|
|
- options?: Maybe<CountryListOptions>
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type QueryCountryArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type QueryCollectionsArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>,
|
|
|
options?: Maybe<CollectionListOptions>
|
|
|
@@ -2367,6 +2357,16 @@ export type QueryCollectionArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type QueryCountriesArgs = {
|
|
|
+ options?: Maybe<CountryListOptions>
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type QueryCountryArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type QueryCustomerGroupArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
@@ -2404,6 +2404,16 @@ export type QueryOrdersArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type QueryPaymentMethodsArgs = {
|
|
|
+ options?: Maybe<PaymentMethodListOptions>
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type QueryPaymentMethodArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type QueryProductOptionGroupsArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>,
|
|
|
filterTerm?: Maybe<Scalars['String']>
|
|
|
@@ -2421,13 +2431,15 @@ export type QuerySearchArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryPaymentMethodsArgs = {
|
|
|
- options?: Maybe<PaymentMethodListOptions>
|
|
|
+export type QueryProductsArgs = {
|
|
|
+ languageCode?: Maybe<LanguageCode>,
|
|
|
+ options?: Maybe<ProductListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryPaymentMethodArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
+export type QueryProductArgs = {
|
|
|
+ id: Scalars['ID'],
|
|
|
+ languageCode?: Maybe<LanguageCode>
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -2441,34 +2453,32 @@ export type QueryPromotionsArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryShippingMethodsArgs = {
|
|
|
- options?: Maybe<ShippingMethodListOptions>
|
|
|
+export type QueryRolesArgs = {
|
|
|
+ options?: Maybe<RoleListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryShippingMethodArgs = {
|
|
|
+export type QueryRoleArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryProductsArgs = {
|
|
|
- languageCode?: Maybe<LanguageCode>,
|
|
|
- options?: Maybe<ProductListOptions>
|
|
|
+export type QueryShippingMethodsArgs = {
|
|
|
+ options?: Maybe<ShippingMethodListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryProductArgs = {
|
|
|
- id: Scalars['ID'],
|
|
|
- languageCode?: Maybe<LanguageCode>
|
|
|
+export type QueryShippingMethodArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryRolesArgs = {
|
|
|
- options?: Maybe<RoleListOptions>
|
|
|
+export type QueryTaxRatesArgs = {
|
|
|
+ options?: Maybe<TaxRateListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryRoleArgs = {
|
|
|
+export type QueryTaxRateArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
@@ -2478,16 +2488,6 @@ export type QueryTaxCategoryArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryTaxRatesArgs = {
|
|
|
- options?: Maybe<TaxRateListOptions>
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type QueryTaxRateArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type QueryZoneArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|