|
@@ -480,11 +480,12 @@ export type CreateProductOptionInput = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type CreateProductVariantInput = {
|
|
export type CreateProductVariantInput = {
|
|
|
|
|
+ productId: Scalars['ID'];
|
|
|
translations: Array<ProductVariantTranslationInput>;
|
|
translations: Array<ProductVariantTranslationInput>;
|
|
|
facetValueIds?: Maybe<Array<Scalars['ID']>>;
|
|
facetValueIds?: Maybe<Array<Scalars['ID']>>;
|
|
|
sku: Scalars['String'];
|
|
sku: Scalars['String'];
|
|
|
price?: Maybe<Scalars['Int']>;
|
|
price?: Maybe<Scalars['Int']>;
|
|
|
- taxCategoryId: Scalars['ID'];
|
|
|
|
|
|
|
+ taxCategoryId?: Maybe<Scalars['ID']>;
|
|
|
optionIds?: Maybe<Array<Scalars['ID']>>;
|
|
optionIds?: Maybe<Array<Scalars['ID']>>;
|
|
|
featuredAssetId?: Maybe<Scalars['ID']>;
|
|
featuredAssetId?: Maybe<Scalars['ID']>;
|
|
|
assetIds?: Maybe<Array<Scalars['ID']>>;
|
|
assetIds?: Maybe<Array<Scalars['ID']>>;
|
|
@@ -493,6 +494,12 @@ export type CreateProductVariantInput = {
|
|
|
customFields?: Maybe<Scalars['JSON']>;
|
|
customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type CreateProductVariantOptionInput = {
|
|
|
|
|
+ optionGroupId: Scalars['ID'];
|
|
|
|
|
+ code: Scalars['String'];
|
|
|
|
|
+ translations: Array<ProductOptionTranslationInput>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type CreatePromotionInput = {
|
|
export type CreatePromotionInput = {
|
|
|
name: Scalars['String'];
|
|
name: Scalars['String'];
|
|
|
enabled: Scalars['Boolean'];
|
|
enabled: Scalars['Boolean'];
|
|
@@ -1534,10 +1541,10 @@ export type Mutation = {
|
|
|
updateAdministrator: Administrator;
|
|
updateAdministrator: Administrator;
|
|
|
/** Assign a Role to an Administrator */
|
|
/** Assign a Role to an Administrator */
|
|
|
assignRoleToAdministrator: Administrator;
|
|
assignRoleToAdministrator: Administrator;
|
|
|
- /** Create a new Asset */
|
|
|
|
|
- createAssets: Array<Asset>;
|
|
|
|
|
login: LoginResult;
|
|
login: LoginResult;
|
|
|
logout: Scalars['Boolean'];
|
|
logout: Scalars['Boolean'];
|
|
|
|
|
+ /** Create a new Asset */
|
|
|
|
|
+ createAssets: Array<Asset>;
|
|
|
/** Create a new Channel */
|
|
/** Create a new Channel */
|
|
|
createChannel: Channel;
|
|
createChannel: Channel;
|
|
|
/** Update an existing Channel */
|
|
/** Update an existing Channel */
|
|
@@ -1548,14 +1555,6 @@ export type Mutation = {
|
|
|
updateCollection: Collection;
|
|
updateCollection: Collection;
|
|
|
/** Move a Collection to a different parent or index */
|
|
/** Move a Collection to a different parent or index */
|
|
|
moveCollection: Collection;
|
|
moveCollection: Collection;
|
|
|
- /** Create a new CustomerGroup */
|
|
|
|
|
- createCustomerGroup: CustomerGroup;
|
|
|
|
|
- /** Update an existing CustomerGroup */
|
|
|
|
|
- updateCustomerGroup: CustomerGroup;
|
|
|
|
|
- /** Add Customers to a CustomerGroup */
|
|
|
|
|
- addCustomersToGroup: CustomerGroup;
|
|
|
|
|
- /** Remove Customers from a CustomerGroup */
|
|
|
|
|
- removeCustomersFromGroup: CustomerGroup;
|
|
|
|
|
/** Create a new Country */
|
|
/** Create a new Country */
|
|
|
createCountry: Country;
|
|
createCountry: Country;
|
|
|
/** Update an existing Country */
|
|
/** Update an existing Country */
|
|
@@ -1574,6 +1573,14 @@ export type Mutation = {
|
|
|
updateCustomerAddress: Address;
|
|
updateCustomerAddress: Address;
|
|
|
/** Update an existing Address */
|
|
/** Update an existing Address */
|
|
|
deleteCustomerAddress: Scalars['Boolean'];
|
|
deleteCustomerAddress: Scalars['Boolean'];
|
|
|
|
|
+ /** Create a new CustomerGroup */
|
|
|
|
|
+ createCustomerGroup: CustomerGroup;
|
|
|
|
|
+ /** Update an existing CustomerGroup */
|
|
|
|
|
+ updateCustomerGroup: CustomerGroup;
|
|
|
|
|
+ /** Add Customers to a CustomerGroup */
|
|
|
|
|
+ addCustomersToGroup: CustomerGroup;
|
|
|
|
|
+ /** Remove Customers from a CustomerGroup */
|
|
|
|
|
+ removeCustomersFromGroup: CustomerGroup;
|
|
|
/** Create a new Facet */
|
|
/** Create a new Facet */
|
|
|
createFacet: Facet;
|
|
createFacet: Facet;
|
|
|
/** Update an existing Facet */
|
|
/** Update an existing Facet */
|
|
@@ -1594,13 +1601,16 @@ export type Mutation = {
|
|
|
refundOrder: Refund;
|
|
refundOrder: Refund;
|
|
|
settleRefund: Refund;
|
|
settleRefund: Refund;
|
|
|
addNoteToOrder: Order;
|
|
addNoteToOrder: Order;
|
|
|
- /** Update an existing PaymentMethod */
|
|
|
|
|
- updatePaymentMethod: PaymentMethod;
|
|
|
|
|
/** Create a new ProductOptionGroup */
|
|
/** Create a new ProductOptionGroup */
|
|
|
createProductOptionGroup: ProductOptionGroup;
|
|
createProductOptionGroup: ProductOptionGroup;
|
|
|
/** Update an existing ProductOptionGroup */
|
|
/** Update an existing ProductOptionGroup */
|
|
|
updateProductOptionGroup: ProductOptionGroup;
|
|
updateProductOptionGroup: ProductOptionGroup;
|
|
|
reindex: JobInfo;
|
|
reindex: JobInfo;
|
|
|
|
|
+ /** Update an existing PaymentMethod */
|
|
|
|
|
+ updatePaymentMethod: PaymentMethod;
|
|
|
|
|
+ createPromotion: Promotion;
|
|
|
|
|
+ updatePromotion: Promotion;
|
|
|
|
|
+ deletePromotion: DeletionResponse;
|
|
|
/** Create a new Product */
|
|
/** Create a new Product */
|
|
|
createProduct: Product;
|
|
createProduct: Product;
|
|
|
/** Update an existing Product */
|
|
/** Update an existing Product */
|
|
@@ -1613,23 +1623,21 @@ export type Mutation = {
|
|
|
removeOptionGroupFromProduct: Product;
|
|
removeOptionGroupFromProduct: Product;
|
|
|
/** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */
|
|
/** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */
|
|
|
generateVariantsForProduct: Product;
|
|
generateVariantsForProduct: Product;
|
|
|
|
|
+ createProductVariants: Array<Maybe<ProductVariant>>;
|
|
|
/** Update existing ProductVariants */
|
|
/** Update existing ProductVariants */
|
|
|
updateProductVariants: Array<Maybe<ProductVariant>>;
|
|
updateProductVariants: Array<Maybe<ProductVariant>>;
|
|
|
- createPromotion: Promotion;
|
|
|
|
|
- updatePromotion: Promotion;
|
|
|
|
|
- deletePromotion: DeletionResponse;
|
|
|
|
|
/** Create a new Role */
|
|
/** Create a new Role */
|
|
|
createRole: Role;
|
|
createRole: Role;
|
|
|
/** Update an existing Role */
|
|
/** Update an existing Role */
|
|
|
updateRole: Role;
|
|
updateRole: Role;
|
|
|
- /** Create a new ShippingMethod */
|
|
|
|
|
- createShippingMethod: ShippingMethod;
|
|
|
|
|
- /** Update an existing ShippingMethod */
|
|
|
|
|
- updateShippingMethod: ShippingMethod;
|
|
|
|
|
/** Create a new TaxCategory */
|
|
/** Create a new TaxCategory */
|
|
|
createTaxCategory: TaxCategory;
|
|
createTaxCategory: TaxCategory;
|
|
|
/** Update an existing TaxCategory */
|
|
/** Update an existing TaxCategory */
|
|
|
updateTaxCategory: TaxCategory;
|
|
updateTaxCategory: TaxCategory;
|
|
|
|
|
+ /** Create a new ShippingMethod */
|
|
|
|
|
+ createShippingMethod: ShippingMethod;
|
|
|
|
|
+ /** Update an existing ShippingMethod */
|
|
|
|
|
+ updateShippingMethod: ShippingMethod;
|
|
|
/** Create a new TaxRate */
|
|
/** Create a new TaxRate */
|
|
|
createTaxRate: TaxRate;
|
|
createTaxRate: TaxRate;
|
|
|
/** Update an existing TaxRate */
|
|
/** Update an existing TaxRate */
|
|
@@ -1659,16 +1667,16 @@ export type MutationAssignRoleToAdministratorArgs = {
|
|
|
roleId: Scalars['ID'];
|
|
roleId: Scalars['ID'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type MutationCreateAssetsArgs = {
|
|
|
|
|
- input: Array<CreateAssetInput>;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type MutationLoginArgs = {
|
|
export type MutationLoginArgs = {
|
|
|
username: Scalars['String'];
|
|
username: Scalars['String'];
|
|
|
password: Scalars['String'];
|
|
password: Scalars['String'];
|
|
|
rememberMe?: Maybe<Scalars['Boolean']>;
|
|
rememberMe?: Maybe<Scalars['Boolean']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type MutationCreateAssetsArgs = {
|
|
|
|
|
+ input: Array<CreateAssetInput>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type MutationCreateChannelArgs = {
|
|
export type MutationCreateChannelArgs = {
|
|
|
input: CreateChannelInput;
|
|
input: CreateChannelInput;
|
|
|
};
|
|
};
|
|
@@ -1689,24 +1697,6 @@ export type MutationMoveCollectionArgs = {
|
|
|
input: MoveCollectionInput;
|
|
input: MoveCollectionInput;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type MutationCreateCustomerGroupArgs = {
|
|
|
|
|
- input: CreateCustomerGroupInput;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-export type MutationUpdateCustomerGroupArgs = {
|
|
|
|
|
- input: UpdateCustomerGroupInput;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-export type MutationAddCustomersToGroupArgs = {
|
|
|
|
|
- customerGroupId: Scalars['ID'];
|
|
|
|
|
- customerIds: Array<Scalars['ID']>;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-export type MutationRemoveCustomersFromGroupArgs = {
|
|
|
|
|
- customerGroupId: Scalars['ID'];
|
|
|
|
|
- customerIds: Array<Scalars['ID']>;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type MutationCreateCountryArgs = {
|
|
export type MutationCreateCountryArgs = {
|
|
|
input: CreateCountryInput;
|
|
input: CreateCountryInput;
|
|
|
};
|
|
};
|
|
@@ -1745,6 +1735,24 @@ export type MutationDeleteCustomerAddressArgs = {
|
|
|
id: Scalars['ID'];
|
|
id: Scalars['ID'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type MutationCreateCustomerGroupArgs = {
|
|
|
|
|
+ input: CreateCustomerGroupInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type MutationUpdateCustomerGroupArgs = {
|
|
|
|
|
+ input: UpdateCustomerGroupInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type MutationAddCustomersToGroupArgs = {
|
|
|
|
|
+ customerGroupId: Scalars['ID'];
|
|
|
|
|
+ customerIds: Array<Scalars['ID']>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type MutationRemoveCustomersFromGroupArgs = {
|
|
|
|
|
+ customerGroupId: Scalars['ID'];
|
|
|
|
|
+ customerIds: Array<Scalars['ID']>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type MutationCreateFacetArgs = {
|
|
export type MutationCreateFacetArgs = {
|
|
|
input: CreateFacetInput;
|
|
input: CreateFacetInput;
|
|
|
};
|
|
};
|
|
@@ -1803,10 +1811,6 @@ export type MutationAddNoteToOrderArgs = {
|
|
|
input: AddNoteToOrderInput;
|
|
input: AddNoteToOrderInput;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type MutationUpdatePaymentMethodArgs = {
|
|
|
|
|
- input: UpdatePaymentMethodInput;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type MutationCreateProductOptionGroupArgs = {
|
|
export type MutationCreateProductOptionGroupArgs = {
|
|
|
input: CreateProductOptionGroupInput;
|
|
input: CreateProductOptionGroupInput;
|
|
|
};
|
|
};
|
|
@@ -1815,6 +1819,22 @@ export type MutationUpdateProductOptionGroupArgs = {
|
|
|
input: UpdateProductOptionGroupInput;
|
|
input: UpdateProductOptionGroupInput;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type MutationUpdatePaymentMethodArgs = {
|
|
|
|
|
+ input: UpdatePaymentMethodInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type MutationCreatePromotionArgs = {
|
|
|
|
|
+ input: CreatePromotionInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type MutationUpdatePromotionArgs = {
|
|
|
|
|
+ input: UpdatePromotionInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type MutationDeletePromotionArgs = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type MutationCreateProductArgs = {
|
|
export type MutationCreateProductArgs = {
|
|
|
input: CreateProductInput;
|
|
input: CreateProductInput;
|
|
|
};
|
|
};
|
|
@@ -1844,20 +1864,12 @@ export type MutationGenerateVariantsForProductArgs = {
|
|
|
defaultSku?: Maybe<Scalars['String']>;
|
|
defaultSku?: Maybe<Scalars['String']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type MutationUpdateProductVariantsArgs = {
|
|
|
|
|
- input: Array<UpdateProductVariantInput>;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-export type MutationCreatePromotionArgs = {
|
|
|
|
|
- input: CreatePromotionInput;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-export type MutationUpdatePromotionArgs = {
|
|
|
|
|
- input: UpdatePromotionInput;
|
|
|
|
|
|
|
+export type MutationCreateProductVariantsArgs = {
|
|
|
|
|
+ input: Array<CreateProductVariantInput>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type MutationDeletePromotionArgs = {
|
|
|
|
|
- id: Scalars['ID'];
|
|
|
|
|
|
|
+export type MutationUpdateProductVariantsArgs = {
|
|
|
|
|
+ input: Array<UpdateProductVariantInput>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type MutationCreateRoleArgs = {
|
|
export type MutationCreateRoleArgs = {
|
|
@@ -1868,14 +1880,6 @@ export type MutationUpdateRoleArgs = {
|
|
|
input: UpdateRoleInput;
|
|
input: UpdateRoleInput;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type MutationCreateShippingMethodArgs = {
|
|
|
|
|
- input: CreateShippingMethodInput;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-export type MutationUpdateShippingMethodArgs = {
|
|
|
|
|
- input: UpdateShippingMethodInput;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type MutationCreateTaxCategoryArgs = {
|
|
export type MutationCreateTaxCategoryArgs = {
|
|
|
input: CreateTaxCategoryInput;
|
|
input: CreateTaxCategoryInput;
|
|
|
};
|
|
};
|
|
@@ -1884,6 +1888,14 @@ export type MutationUpdateTaxCategoryArgs = {
|
|
|
input: UpdateTaxCategoryInput;
|
|
input: UpdateTaxCategoryInput;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type MutationCreateShippingMethodArgs = {
|
|
|
|
|
+ input: CreateShippingMethodInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type MutationUpdateShippingMethodArgs = {
|
|
|
|
|
+ input: UpdateShippingMethodInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type MutationCreateTaxRateArgs = {
|
|
export type MutationCreateTaxRateArgs = {
|
|
|
input: CreateTaxRateInput;
|
|
input: CreateTaxRateInput;
|
|
|
};
|
|
};
|
|
@@ -2202,6 +2214,7 @@ export type ProductOption = Node & {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
code?: Maybe<Scalars['String']>;
|
|
code?: Maybe<Scalars['String']>;
|
|
|
name?: Maybe<Scalars['String']>;
|
|
name?: Maybe<Scalars['String']>;
|
|
|
|
|
+ groupId: Scalars['ID'];
|
|
|
translations: Array<ProductOptionTranslation>;
|
|
translations: Array<ProductOptionTranslation>;
|
|
|
customFields?: Maybe<Scalars['JSON']>;
|
|
customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
};
|
|
@@ -2409,21 +2422,21 @@ export type Query = {
|
|
|
__typename?: 'Query';
|
|
__typename?: 'Query';
|
|
|
administrators: AdministratorList;
|
|
administrators: AdministratorList;
|
|
|
administrator?: Maybe<Administrator>;
|
|
administrator?: Maybe<Administrator>;
|
|
|
|
|
+ me?: Maybe<CurrentUser>;
|
|
|
assets: AssetList;
|
|
assets: AssetList;
|
|
|
asset?: Maybe<Asset>;
|
|
asset?: Maybe<Asset>;
|
|
|
- me?: Maybe<CurrentUser>;
|
|
|
|
|
channels: Array<Channel>;
|
|
channels: Array<Channel>;
|
|
|
channel?: Maybe<Channel>;
|
|
channel?: Maybe<Channel>;
|
|
|
activeChannel: Channel;
|
|
activeChannel: Channel;
|
|
|
collections: CollectionList;
|
|
collections: CollectionList;
|
|
|
collection?: Maybe<Collection>;
|
|
collection?: Maybe<Collection>;
|
|
|
collectionFilters: Array<ConfigurableOperation>;
|
|
collectionFilters: Array<ConfigurableOperation>;
|
|
|
- customerGroups: Array<CustomerGroup>;
|
|
|
|
|
- customerGroup?: Maybe<CustomerGroup>;
|
|
|
|
|
countries: CountryList;
|
|
countries: CountryList;
|
|
|
country?: Maybe<Country>;
|
|
country?: Maybe<Country>;
|
|
|
customers: CustomerList;
|
|
customers: CustomerList;
|
|
|
customer?: Maybe<Customer>;
|
|
customer?: Maybe<Customer>;
|
|
|
|
|
+ customerGroups: Array<CustomerGroup>;
|
|
|
|
|
+ customerGroup?: Maybe<CustomerGroup>;
|
|
|
facets: FacetList;
|
|
facets: FacetList;
|
|
|
facet?: Maybe<Facet>;
|
|
facet?: Maybe<Facet>;
|
|
|
globalSettings: GlobalSettings;
|
|
globalSettings: GlobalSettings;
|
|
@@ -2431,25 +2444,25 @@ export type Query = {
|
|
|
jobs: Array<JobInfo>;
|
|
jobs: Array<JobInfo>;
|
|
|
order?: Maybe<Order>;
|
|
order?: Maybe<Order>;
|
|
|
orders: OrderList;
|
|
orders: OrderList;
|
|
|
- paymentMethods: PaymentMethodList;
|
|
|
|
|
- paymentMethod?: Maybe<PaymentMethod>;
|
|
|
|
|
productOptionGroups: Array<ProductOptionGroup>;
|
|
productOptionGroups: Array<ProductOptionGroup>;
|
|
|
productOptionGroup?: Maybe<ProductOptionGroup>;
|
|
productOptionGroup?: Maybe<ProductOptionGroup>;
|
|
|
search: SearchResponse;
|
|
search: SearchResponse;
|
|
|
- products: ProductList;
|
|
|
|
|
- /** Get a Product either by id or slug. If neither id nor slug is speicified, an error will result. */
|
|
|
|
|
- product?: Maybe<Product>;
|
|
|
|
|
|
|
+ paymentMethods: PaymentMethodList;
|
|
|
|
|
+ paymentMethod?: Maybe<PaymentMethod>;
|
|
|
promotion?: Maybe<Promotion>;
|
|
promotion?: Maybe<Promotion>;
|
|
|
promotions: PromotionList;
|
|
promotions: PromotionList;
|
|
|
adjustmentOperations: AdjustmentOperations;
|
|
adjustmentOperations: AdjustmentOperations;
|
|
|
|
|
+ products: ProductList;
|
|
|
|
|
+ /** Get a Product either by id or slug. If neither id nor slug is speicified, an error will result. */
|
|
|
|
|
+ product?: Maybe<Product>;
|
|
|
roles: RoleList;
|
|
roles: RoleList;
|
|
|
role?: Maybe<Role>;
|
|
role?: Maybe<Role>;
|
|
|
|
|
+ taxCategories: Array<TaxCategory>;
|
|
|
|
|
+ taxCategory?: Maybe<TaxCategory>;
|
|
|
shippingMethods: ShippingMethodList;
|
|
shippingMethods: ShippingMethodList;
|
|
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
|
shippingEligibilityCheckers: Array<ConfigurableOperation>;
|
|
shippingEligibilityCheckers: Array<ConfigurableOperation>;
|
|
|
shippingCalculators: Array<ConfigurableOperation>;
|
|
shippingCalculators: Array<ConfigurableOperation>;
|
|
|
- taxCategories: Array<TaxCategory>;
|
|
|
|
|
- taxCategory?: Maybe<TaxCategory>;
|
|
|
|
|
taxRates: TaxRateList;
|
|
taxRates: TaxRateList;
|
|
|
taxRate?: Maybe<TaxRate>;
|
|
taxRate?: Maybe<TaxRate>;
|
|
|
zones: Array<Zone>;
|
|
zones: Array<Zone>;
|
|
@@ -2486,10 +2499,6 @@ export type QueryCollectionArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type QueryCustomerGroupArgs = {
|
|
|
|
|
- id: Scalars['ID'];
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type QueryCountriesArgs = {
|
|
export type QueryCountriesArgs = {
|
|
|
options?: Maybe<CountryListOptions>;
|
|
options?: Maybe<CountryListOptions>;
|
|
|
};
|
|
};
|
|
@@ -2506,6 +2515,10 @@ export type QueryCustomerArgs = {
|
|
|
id: Scalars['ID'];
|
|
id: Scalars['ID'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type QueryCustomerGroupArgs = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type QueryFacetsArgs = {
|
|
export type QueryFacetsArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
options?: Maybe<FacetListOptions>;
|
|
options?: Maybe<FacetListOptions>;
|
|
@@ -2532,14 +2545,6 @@ export type QueryOrdersArgs = {
|
|
|
options?: Maybe<OrderListOptions>;
|
|
options?: Maybe<OrderListOptions>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type QueryPaymentMethodsArgs = {
|
|
|
|
|
- options?: Maybe<PaymentMethodListOptions>;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-export type QueryPaymentMethodArgs = {
|
|
|
|
|
- id: Scalars['ID'];
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type QueryProductOptionGroupsArgs = {
|
|
export type QueryProductOptionGroupsArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
filterTerm?: Maybe<Scalars['String']>;
|
|
filterTerm?: Maybe<Scalars['String']>;
|
|
@@ -2554,15 +2559,12 @@ export type QuerySearchArgs = {
|
|
|
input: SearchInput;
|
|
input: SearchInput;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type QueryProductsArgs = {
|
|
|
|
|
- languageCode?: Maybe<LanguageCode>;
|
|
|
|
|
- options?: Maybe<ProductListOptions>;
|
|
|
|
|
|
|
+export type QueryPaymentMethodsArgs = {
|
|
|
|
|
+ options?: Maybe<PaymentMethodListOptions>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type QueryProductArgs = {
|
|
|
|
|
- id?: Maybe<Scalars['ID']>;
|
|
|
|
|
- slug?: Maybe<Scalars['String']>;
|
|
|
|
|
- languageCode?: Maybe<LanguageCode>;
|
|
|
|
|
|
|
+export type QueryPaymentMethodArgs = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type QueryPromotionArgs = {
|
|
export type QueryPromotionArgs = {
|
|
@@ -2573,6 +2575,17 @@ export type QueryPromotionsArgs = {
|
|
|
options?: Maybe<PromotionListOptions>;
|
|
options?: Maybe<PromotionListOptions>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type QueryProductsArgs = {
|
|
|
|
|
+ languageCode?: Maybe<LanguageCode>;
|
|
|
|
|
+ options?: Maybe<ProductListOptions>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type QueryProductArgs = {
|
|
|
|
|
+ id?: Maybe<Scalars['ID']>;
|
|
|
|
|
+ slug?: Maybe<Scalars['String']>;
|
|
|
|
|
+ languageCode?: Maybe<LanguageCode>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type QueryRolesArgs = {
|
|
export type QueryRolesArgs = {
|
|
|
options?: Maybe<RoleListOptions>;
|
|
options?: Maybe<RoleListOptions>;
|
|
|
};
|
|
};
|
|
@@ -2581,6 +2594,10 @@ export type QueryRoleArgs = {
|
|
|
id: Scalars['ID'];
|
|
id: Scalars['ID'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type QueryTaxCategoryArgs = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type QueryShippingMethodsArgs = {
|
|
export type QueryShippingMethodsArgs = {
|
|
|
options?: Maybe<ShippingMethodListOptions>;
|
|
options?: Maybe<ShippingMethodListOptions>;
|
|
|
};
|
|
};
|
|
@@ -2589,10 +2606,6 @@ export type QueryShippingMethodArgs = {
|
|
|
id: Scalars['ID'];
|
|
id: Scalars['ID'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type QueryTaxCategoryArgs = {
|
|
|
|
|
- id: Scalars['ID'];
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type QueryTaxRatesArgs = {
|
|
export type QueryTaxRatesArgs = {
|
|
|
options?: Maybe<TaxRateListOptions>;
|
|
options?: Maybe<TaxRateListOptions>;
|
|
|
};
|
|
};
|
|
@@ -3807,6 +3820,14 @@ export type GetProductListQuery = { __typename?: 'Query' } & {
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type CreateProductVariantsMutationVariables = {
|
|
|
|
|
+ input: Array<CreateProductVariantInput>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type CreateProductVariantsMutation = { __typename?: 'Mutation' } & {
|
|
|
|
|
+ createProductVariants: Array<Maybe<{ __typename?: 'ProductVariant' } & ProductVariantFragment>>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type UpdateProductVariantsMutationVariables = {
|
|
export type UpdateProductVariantsMutationVariables = {
|
|
|
input: Array<UpdateProductVariantInput>;
|
|
input: Array<UpdateProductVariantInput>;
|
|
|
};
|
|
};
|
|
@@ -4215,15 +4236,16 @@ export type RemoveOptionGroupFromProductMutation = { __typename?: 'Mutation' } &
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type GenerateProductVariantsMutationVariables = {
|
|
|
|
|
- productId: Scalars['ID'];
|
|
|
|
|
- defaultTaxCategoryId?: Maybe<Scalars['ID']>;
|
|
|
|
|
- defaultPrice?: Maybe<Scalars['Int']>;
|
|
|
|
|
- defaultSku?: Maybe<Scalars['String']>;
|
|
|
|
|
|
|
+export type GetOptionGroupQueryVariables = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type GenerateProductVariantsMutation = { __typename?: 'Mutation' } & {
|
|
|
|
|
- generateVariantsForProduct: { __typename?: 'Product' } & ProductWithVariantsFragment;
|
|
|
|
|
|
|
+export type GetOptionGroupQuery = { __typename?: 'Query' } & {
|
|
|
|
|
+ productOptionGroup: Maybe<
|
|
|
|
|
+ { __typename?: 'ProductOptionGroup' } & Pick<ProductOptionGroup, 'id' | 'code'> & {
|
|
|
|
|
+ options: Array<{ __typename?: 'ProductOption' } & Pick<ProductOption, 'id' | 'code'>>;
|
|
|
|
|
+ }
|
|
|
|
|
+ >;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type DeletePromotionMutationVariables = {
|
|
export type DeletePromotionMutationVariables = {
|
|
@@ -4918,6 +4940,12 @@ export namespace GetProductList {
|
|
|
>;
|
|
>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+export namespace CreateProductVariants {
|
|
|
|
|
+ export type Variables = CreateProductVariantsMutationVariables;
|
|
|
|
|
+ export type Mutation = CreateProductVariantsMutation;
|
|
|
|
|
+ export type CreateProductVariants = ProductVariantFragment;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
export namespace UpdateProductVariants {
|
|
export namespace UpdateProductVariants {
|
|
|
export type Variables = UpdateProductVariantsMutationVariables;
|
|
export type Variables = UpdateProductVariantsMutationVariables;
|
|
|
export type Mutation = UpdateProductVariantsMutation;
|
|
export type Mutation = UpdateProductVariantsMutation;
|
|
@@ -5219,10 +5247,11 @@ export namespace RemoveOptionGroupFromProduct {
|
|
|
>;
|
|
>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export namespace GenerateProductVariants {
|
|
|
|
|
- export type Variables = GenerateProductVariantsMutationVariables;
|
|
|
|
|
- export type Mutation = GenerateProductVariantsMutation;
|
|
|
|
|
- export type GenerateVariantsForProduct = ProductWithVariantsFragment;
|
|
|
|
|
|
|
+export namespace GetOptionGroup {
|
|
|
|
|
+ export type Variables = GetOptionGroupQueryVariables;
|
|
|
|
|
+ export type Query = GetOptionGroupQuery;
|
|
|
|
|
+ export type ProductOptionGroup = NonNullable<GetOptionGroupQuery['productOptionGroup']>;
|
|
|
|
|
+ export type Options = NonNullable<(NonNullable<GetOptionGroupQuery['productOptionGroup']>)['options'][0]>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export namespace DeletePromotion {
|
|
export namespace DeletePromotion {
|