|
|
@@ -1412,16 +1412,16 @@ export type Mutation = {
|
|
|
createAssets: Array<Asset>;
|
|
|
login: LoginResult;
|
|
|
logout: Scalars['Boolean'];
|
|
|
- /** Create a new Channel */
|
|
|
- createChannel: Channel;
|
|
|
- /** Update an existing Channel */
|
|
|
- updateChannel: Channel;
|
|
|
/** 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 Channel */
|
|
|
+ createChannel: Channel;
|
|
|
+ /** Update an existing Channel */
|
|
|
+ updateChannel: Channel;
|
|
|
/** Create a new Country */
|
|
|
createCountry: Country;
|
|
|
/** Update an existing Country */
|
|
|
@@ -1494,14 +1494,14 @@ export type Mutation = {
|
|
|
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 TaxRate */
|
|
|
+ createTaxRate: TaxRate;
|
|
|
+ /** Update an existing TaxRate */
|
|
|
+ updateTaxRate: TaxRate;
|
|
|
/** Create a new Zone */
|
|
|
createZone: Zone;
|
|
|
/** Update an existing Zone */
|
|
|
@@ -1537,14 +1537,6 @@ export type MutationLoginArgs = {
|
|
|
rememberMe?: Maybe<Scalars['Boolean']>;
|
|
|
};
|
|
|
|
|
|
-export type MutationCreateChannelArgs = {
|
|
|
- input: CreateChannelInput;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationUpdateChannelArgs = {
|
|
|
- input: UpdateChannelInput;
|
|
|
-};
|
|
|
-
|
|
|
export type MutationCreateCollectionArgs = {
|
|
|
input: CreateCollectionInput;
|
|
|
};
|
|
|
@@ -1557,6 +1549,14 @@ export type MutationMoveCollectionArgs = {
|
|
|
input: MoveCollectionInput;
|
|
|
};
|
|
|
|
|
|
+export type MutationCreateChannelArgs = {
|
|
|
+ input: CreateChannelInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationUpdateChannelArgs = {
|
|
|
+ input: UpdateChannelInput;
|
|
|
+};
|
|
|
+
|
|
|
export type MutationCreateCountryArgs = {
|
|
|
input: CreateCountryInput;
|
|
|
};
|
|
|
@@ -1720,14 +1720,6 @@ export type MutationUpdateShippingMethodArgs = {
|
|
|
input: UpdateShippingMethodInput;
|
|
|
};
|
|
|
|
|
|
-export type MutationCreateTaxRateArgs = {
|
|
|
- input: CreateTaxRateInput;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationUpdateTaxRateArgs = {
|
|
|
- input: UpdateTaxRateInput;
|
|
|
-};
|
|
|
-
|
|
|
export type MutationCreateTaxCategoryArgs = {
|
|
|
input: CreateTaxCategoryInput;
|
|
|
};
|
|
|
@@ -1736,6 +1728,14 @@ export type MutationUpdateTaxCategoryArgs = {
|
|
|
input: UpdateTaxCategoryInput;
|
|
|
};
|
|
|
|
|
|
+export type MutationCreateTaxRateArgs = {
|
|
|
+ input: CreateTaxRateInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationUpdateTaxRateArgs = {
|
|
|
+ input: UpdateTaxRateInput;
|
|
|
+};
|
|
|
+
|
|
|
export type MutationCreateZoneArgs = {
|
|
|
input: CreateZoneInput;
|
|
|
};
|
|
|
@@ -2216,12 +2216,12 @@ export type Query = {
|
|
|
assets: AssetList;
|
|
|
asset?: Maybe<Asset>;
|
|
|
me?: Maybe<CurrentUser>;
|
|
|
- channels: Array<Channel>;
|
|
|
- channel?: Maybe<Channel>;
|
|
|
- activeChannel: Channel;
|
|
|
collections: CollectionList;
|
|
|
collection?: Maybe<Collection>;
|
|
|
collectionFilters: Array<ConfigurableOperation>;
|
|
|
+ channels: Array<Channel>;
|
|
|
+ channel?: Maybe<Channel>;
|
|
|
+ activeChannel: Channel;
|
|
|
countries: CountryList;
|
|
|
country?: Maybe<Country>;
|
|
|
customerGroups: Array<CustomerGroup>;
|
|
|
@@ -2249,10 +2249,10 @@ export type Query = {
|
|
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
|
shippingEligibilityCheckers: Array<ConfigurableOperation>;
|
|
|
shippingCalculators: Array<ConfigurableOperation>;
|
|
|
- taxRates: TaxRateList;
|
|
|
- taxRate?: Maybe<TaxRate>;
|
|
|
taxCategories: Array<TaxCategory>;
|
|
|
taxCategory?: Maybe<TaxCategory>;
|
|
|
+ taxRates: TaxRateList;
|
|
|
+ taxRate?: Maybe<TaxRate>;
|
|
|
zones: Array<Zone>;
|
|
|
zone?: Maybe<Zone>;
|
|
|
temp__?: Maybe<Scalars['Boolean']>;
|
|
|
@@ -2274,10 +2274,6 @@ export type QueryAssetArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
-export type QueryChannelArgs = {
|
|
|
- id: Scalars['ID'];
|
|
|
-};
|
|
|
-
|
|
|
export type QueryCollectionsArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
options?: Maybe<CollectionListOptions>;
|
|
|
@@ -2288,6 +2284,10 @@ export type QueryCollectionArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
};
|
|
|
|
|
|
+export type QueryChannelArgs = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+};
|
|
|
+
|
|
|
export type QueryCountriesArgs = {
|
|
|
options?: Maybe<CountryListOptions>;
|
|
|
};
|
|
|
@@ -2354,7 +2354,8 @@ export type QueryProductsArgs = {
|
|
|
};
|
|
|
|
|
|
export type QueryProductArgs = {
|
|
|
- id: Scalars['ID'];
|
|
|
+ id?: Maybe<Scalars['ID']>;
|
|
|
+ slug?: Maybe<Scalars['String']>;
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
};
|
|
|
|
|
|
@@ -2382,6 +2383,10 @@ export type QueryShippingMethodArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
+export type QueryTaxCategoryArgs = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+};
|
|
|
+
|
|
|
export type QueryTaxRatesArgs = {
|
|
|
options?: Maybe<TaxRateListOptions>;
|
|
|
};
|
|
|
@@ -2390,10 +2395,6 @@ export type QueryTaxRateArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
-export type QueryTaxCategoryArgs = {
|
|
|
- id: Scalars['ID'];
|
|
|
-};
|
|
|
-
|
|
|
export type QueryZoneArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
@@ -3503,8 +3504,19 @@ export type CreateProductMutation = { __typename?: 'Mutation' } & {
|
|
|
createProduct: { __typename?: 'Product' } & ProductWithVariantsFragment;
|
|
|
};
|
|
|
|
|
|
+export type GetProductSimpleQueryVariables = {
|
|
|
+ id?: Maybe<Scalars['ID']>;
|
|
|
+ slug?: Maybe<Scalars['String']>;
|
|
|
+ languageCode?: Maybe<LanguageCode>;
|
|
|
+};
|
|
|
+
|
|
|
+export type GetProductSimpleQuery = { __typename?: 'Query' } & {
|
|
|
+ product: Maybe<{ __typename?: 'Product' } & Pick<Product, 'id' | 'slug'>>;
|
|
|
+};
|
|
|
+
|
|
|
export type GetProductWithVariantsQueryVariables = {
|
|
|
- id: Scalars['ID'];
|
|
|
+ id?: Maybe<Scalars['ID']>;
|
|
|
+ slug?: Maybe<Scalars['String']>;
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
};
|
|
|
|
|
|
@@ -3668,6 +3680,14 @@ export type GetFacetListQuery = { __typename?: 'Query' } & {
|
|
|
};
|
|
|
};
|
|
|
|
|
|
+export type DeleteProductMutationVariables = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+};
|
|
|
+
|
|
|
+export type DeleteProductMutation = { __typename?: 'Mutation' } & {
|
|
|
+ deleteProduct: { __typename?: 'DeletionResponse' } & Pick<DeletionResponse, 'result'>;
|
|
|
+};
|
|
|
+
|
|
|
export type GetProductsQueryVariables = {
|
|
|
options?: Maybe<ProductListOptions>;
|
|
|
};
|
|
|
@@ -3747,14 +3767,6 @@ export type GetOrderQuery = { __typename?: 'Query' } & {
|
|
|
order: Maybe<{ __typename?: 'Order' } & OrderWithLinesFragment>;
|
|
|
};
|
|
|
|
|
|
-export type DeleteProductMutationVariables = {
|
|
|
- id: Scalars['ID'];
|
|
|
-};
|
|
|
-
|
|
|
-export type DeleteProductMutation = { __typename?: 'Mutation' } & {
|
|
|
- deleteProduct: { __typename?: 'DeletionResponse' } & Pick<DeletionResponse, 'result'>;
|
|
|
-};
|
|
|
-
|
|
|
export type AddOptionGroupToProductMutationVariables = {
|
|
|
productId: Scalars['ID'];
|
|
|
optionGroupId: Scalars['ID'];
|
|
|
@@ -4477,6 +4489,12 @@ export namespace CreateProduct {
|
|
|
export type CreateProduct = ProductWithVariantsFragment;
|
|
|
}
|
|
|
|
|
|
+export namespace GetProductSimple {
|
|
|
+ export type Variables = GetProductSimpleQueryVariables;
|
|
|
+ export type Query = GetProductSimpleQuery;
|
|
|
+ export type Product = NonNullable<GetProductSimpleQuery['product']>;
|
|
|
+}
|
|
|
+
|
|
|
export namespace GetProductWithVariants {
|
|
|
export type Variables = GetProductWithVariantsQueryVariables;
|
|
|
export type Query = GetProductWithVariantsQuery;
|
|
|
@@ -4585,6 +4603,12 @@ export namespace GetFacetList {
|
|
|
export type Items = FacetWithValuesFragment;
|
|
|
}
|
|
|
|
|
|
+export namespace DeleteProduct {
|
|
|
+ export type Variables = DeleteProductMutationVariables;
|
|
|
+ export type Mutation = DeleteProductMutation;
|
|
|
+ export type DeleteProduct = DeleteProductMutation['deleteProduct'];
|
|
|
+}
|
|
|
+
|
|
|
export namespace GetProducts {
|
|
|
export type Variables = GetProductsQueryVariables;
|
|
|
export type Query = GetProductsQuery;
|
|
|
@@ -4662,12 +4686,6 @@ export namespace GetOrder {
|
|
|
export type Order = OrderWithLinesFragment;
|
|
|
}
|
|
|
|
|
|
-export namespace DeleteProduct {
|
|
|
- export type Variables = DeleteProductMutationVariables;
|
|
|
- export type Mutation = DeleteProductMutation;
|
|
|
- export type DeleteProduct = DeleteProductMutation['deleteProduct'];
|
|
|
-}
|
|
|
-
|
|
|
export namespace AddOptionGroupToProduct {
|
|
|
export type Variables = AddOptionGroupToProductMutationVariables;
|
|
|
export type Mutation = AddOptionGroupToProductMutation;
|