|
|
@@ -1410,6 +1410,10 @@ export type Mutation = {
|
|
|
assignRoleToAdministrator: Administrator;
|
|
|
/** Create a new Asset */
|
|
|
createAssets: Array<Asset>;
|
|
|
+ /** Create a new Channel */
|
|
|
+ createChannel: Channel;
|
|
|
+ /** Update an existing Channel */
|
|
|
+ updateChannel: Channel;
|
|
|
login: LoginResult;
|
|
|
logout: Scalars['Boolean'];
|
|
|
/** Create a new Collection */
|
|
|
@@ -1418,16 +1422,24 @@ export type Mutation = {
|
|
|
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 */
|
|
|
updateCountry: Country;
|
|
|
/** Delete a Country */
|
|
|
deleteCountry: DeletionResponse;
|
|
|
+ /** Create a new Facet */
|
|
|
+ createFacet: Facet;
|
|
|
+ /** Update an existing Facet */
|
|
|
+ updateFacet: Facet;
|
|
|
+ /** Delete an existing Facet */
|
|
|
+ deleteFacet: DeletionResponse;
|
|
|
+ /** Create one or more FacetValues */
|
|
|
+ createFacetValues: Array<FacetValue>;
|
|
|
+ /** Update one or more FacetValues */
|
|
|
+ updateFacetValues: Array<FacetValue>;
|
|
|
+ /** Delete one or more FacetValues */
|
|
|
+ deleteFacetValues: Array<DeletionResponse>;
|
|
|
/** Create a new CustomerGroup */
|
|
|
createCustomerGroup: CustomerGroup;
|
|
|
/** Update an existing CustomerGroup */
|
|
|
@@ -1448,27 +1460,14 @@ export type Mutation = {
|
|
|
updateCustomerAddress: Address;
|
|
|
/** Update an existing Address */
|
|
|
deleteCustomerAddress: Scalars['Boolean'];
|
|
|
- /** Create a new Facet */
|
|
|
- createFacet: Facet;
|
|
|
- /** Update an existing Facet */
|
|
|
- updateFacet: Facet;
|
|
|
- /** Delete an existing Facet */
|
|
|
- deleteFacet: DeletionResponse;
|
|
|
- /** Create one or more FacetValues */
|
|
|
- createFacetValues: Array<FacetValue>;
|
|
|
- /** Update one or more FacetValues */
|
|
|
- updateFacetValues: Array<FacetValue>;
|
|
|
- /** Delete one or more FacetValues */
|
|
|
- deleteFacetValues: Array<DeletionResponse>;
|
|
|
- updateGlobalSettings: GlobalSettings;
|
|
|
importProducts?: Maybe<ImportInfo>;
|
|
|
+ updateGlobalSettings: GlobalSettings;
|
|
|
/** Update an existing PaymentMethod */
|
|
|
updatePaymentMethod: PaymentMethod;
|
|
|
/** Create a new ProductOptionGroup */
|
|
|
createProductOptionGroup: ProductOptionGroup;
|
|
|
/** Update an existing ProductOptionGroup */
|
|
|
updateProductOptionGroup: ProductOptionGroup;
|
|
|
- reindex: SearchReindexResponse;
|
|
|
/** Create a new Product */
|
|
|
createProduct: Product;
|
|
|
/** Update an existing Product */
|
|
|
@@ -1483,6 +1482,7 @@ export type Mutation = {
|
|
|
generateVariantsForProduct: Product;
|
|
|
/** Update existing ProductVariants */
|
|
|
updateProductVariants: Array<Maybe<ProductVariant>>;
|
|
|
+ reindex: SearchReindexResponse;
|
|
|
createPromotion: Promotion;
|
|
|
updatePromotion: Promotion;
|
|
|
deletePromotion: DeletionResponse;
|
|
|
@@ -1494,14 +1494,6 @@ export type Mutation = {
|
|
|
createShippingMethod: ShippingMethod;
|
|
|
/** Update an existing ShippingMethod */
|
|
|
updateShippingMethod: ShippingMethod;
|
|
|
- /** 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 */
|
|
|
@@ -1512,6 +1504,14 @@ export type Mutation = {
|
|
|
addMembersToZone: Zone;
|
|
|
/** Remove members from a Zone */
|
|
|
removeMembersFromZone: Zone;
|
|
|
+ /** Create a new TaxCategory */
|
|
|
+ createTaxCategory: TaxCategory;
|
|
|
+ /** Update an existing TaxCategory */
|
|
|
+ updateTaxCategory: TaxCategory;
|
|
|
+ /** Create a new TaxRate */
|
|
|
+ createTaxRate: TaxRate;
|
|
|
+ /** Update an existing TaxRate */
|
|
|
+ updateTaxRate: TaxRate;
|
|
|
};
|
|
|
|
|
|
export type MutationCreateAdministratorArgs = {
|
|
|
@@ -1531,6 +1531,14 @@ export type MutationCreateAssetsArgs = {
|
|
|
input: Array<CreateAssetInput>;
|
|
|
};
|
|
|
|
|
|
+export type MutationCreateChannelArgs = {
|
|
|
+ input: CreateChannelInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationUpdateChannelArgs = {
|
|
|
+ input: UpdateChannelInput;
|
|
|
+};
|
|
|
+
|
|
|
export type MutationLoginArgs = {
|
|
|
username: Scalars['String'];
|
|
|
password: Scalars['String'];
|
|
|
@@ -1549,14 +1557,6 @@ export type MutationMoveCollectionArgs = {
|
|
|
input: MoveCollectionInput;
|
|
|
};
|
|
|
|
|
|
-export type MutationCreateChannelArgs = {
|
|
|
- input: CreateChannelInput;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationUpdateChannelArgs = {
|
|
|
- input: UpdateChannelInput;
|
|
|
-};
|
|
|
-
|
|
|
export type MutationCreateCountryArgs = {
|
|
|
input: CreateCountryInput;
|
|
|
};
|
|
|
@@ -1569,6 +1569,32 @@ export type MutationDeleteCountryArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
+export type MutationCreateFacetArgs = {
|
|
|
+ input: CreateFacetInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationUpdateFacetArgs = {
|
|
|
+ input: UpdateFacetInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationDeleteFacetArgs = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+ force?: Maybe<Scalars['Boolean']>;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationCreateFacetValuesArgs = {
|
|
|
+ input: Array<CreateFacetValueInput>;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationUpdateFacetValuesArgs = {
|
|
|
+ input: Array<UpdateFacetValueInput>;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationDeleteFacetValuesArgs = {
|
|
|
+ ids: Array<Scalars['ID']>;
|
|
|
+ force?: Maybe<Scalars['Boolean']>;
|
|
|
+};
|
|
|
+
|
|
|
export type MutationCreateCustomerGroupArgs = {
|
|
|
input: CreateCustomerGroupInput;
|
|
|
};
|
|
|
@@ -1613,40 +1639,14 @@ export type MutationDeleteCustomerAddressArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
-export type MutationCreateFacetArgs = {
|
|
|
- input: CreateFacetInput;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationUpdateFacetArgs = {
|
|
|
- input: UpdateFacetInput;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationDeleteFacetArgs = {
|
|
|
- id: Scalars['ID'];
|
|
|
- force?: Maybe<Scalars['Boolean']>;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationCreateFacetValuesArgs = {
|
|
|
- input: Array<CreateFacetValueInput>;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationUpdateFacetValuesArgs = {
|
|
|
- input: Array<UpdateFacetValueInput>;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationDeleteFacetValuesArgs = {
|
|
|
- ids: Array<Scalars['ID']>;
|
|
|
- force?: Maybe<Scalars['Boolean']>;
|
|
|
+export type MutationImportProductsArgs = {
|
|
|
+ csvFile: Scalars['Upload'];
|
|
|
};
|
|
|
|
|
|
export type MutationUpdateGlobalSettingsArgs = {
|
|
|
input: UpdateGlobalSettingsInput;
|
|
|
};
|
|
|
|
|
|
-export type MutationImportProductsArgs = {
|
|
|
- csvFile: Scalars['Upload'];
|
|
|
-};
|
|
|
-
|
|
|
export type MutationUpdatePaymentMethodArgs = {
|
|
|
input: UpdatePaymentMethodInput;
|
|
|
};
|
|
|
@@ -1720,22 +1720,6 @@ export type MutationUpdateShippingMethodArgs = {
|
|
|
input: UpdateShippingMethodInput;
|
|
|
};
|
|
|
|
|
|
-export type MutationCreateTaxCategoryArgs = {
|
|
|
- input: CreateTaxCategoryInput;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationUpdateTaxCategoryArgs = {
|
|
|
- input: UpdateTaxCategoryInput;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationCreateTaxRateArgs = {
|
|
|
- input: CreateTaxRateInput;
|
|
|
-};
|
|
|
-
|
|
|
-export type MutationUpdateTaxRateArgs = {
|
|
|
- input: UpdateTaxRateInput;
|
|
|
-};
|
|
|
-
|
|
|
export type MutationCreateZoneArgs = {
|
|
|
input: CreateZoneInput;
|
|
|
};
|
|
|
@@ -1758,6 +1742,22 @@ export type MutationRemoveMembersFromZoneArgs = {
|
|
|
memberIds: Array<Scalars['ID']>;
|
|
|
};
|
|
|
|
|
|
+export type MutationCreateTaxCategoryArgs = {
|
|
|
+ input: CreateTaxCategoryInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationUpdateTaxCategoryArgs = {
|
|
|
+ input: UpdateTaxCategoryInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationCreateTaxRateArgs = {
|
|
|
+ input: CreateTaxRateInput;
|
|
|
+};
|
|
|
+
|
|
|
+export type MutationUpdateTaxRateArgs = {
|
|
|
+ input: UpdateTaxRateInput;
|
|
|
+};
|
|
|
+
|
|
|
export type Node = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
@@ -1851,6 +1851,11 @@ export type OrderLine = Node & {
|
|
|
totalPrice: Scalars['Int'];
|
|
|
adjustments: Array<Adjustment>;
|
|
|
order: Order;
|
|
|
+ customFields?: Maybe<OrderLineCustomFields>;
|
|
|
+};
|
|
|
+
|
|
|
+export type OrderLineCustomFields = {
|
|
|
+ message?: Maybe<Scalars['String']>;
|
|
|
};
|
|
|
|
|
|
export type OrderList = PaginatedList & {
|
|
|
@@ -2215,21 +2220,21 @@ export type Query = {
|
|
|
administrator?: Maybe<Administrator>;
|
|
|
assets: AssetList;
|
|
|
asset?: Maybe<Asset>;
|
|
|
+ channels: Array<Channel>;
|
|
|
+ channel?: Maybe<Channel>;
|
|
|
+ activeChannel: Channel;
|
|
|
me?: Maybe<CurrentUser>;
|
|
|
collections: CollectionList;
|
|
|
collection?: Maybe<Collection>;
|
|
|
collectionFilters: Array<ConfigurableOperation>;
|
|
|
- channels: Array<Channel>;
|
|
|
- channel?: Maybe<Channel>;
|
|
|
- activeChannel: Channel;
|
|
|
countries: CountryList;
|
|
|
country?: Maybe<Country>;
|
|
|
+ facets: FacetList;
|
|
|
+ facet?: Maybe<Facet>;
|
|
|
customerGroups: Array<CustomerGroup>;
|
|
|
customerGroup?: Maybe<CustomerGroup>;
|
|
|
customers: CustomerList;
|
|
|
customer?: Maybe<Customer>;
|
|
|
- facets: FacetList;
|
|
|
- facet?: Maybe<Facet>;
|
|
|
globalSettings: GlobalSettings;
|
|
|
order?: Maybe<Order>;
|
|
|
orders: OrderList;
|
|
|
@@ -2237,9 +2242,10 @@ export type Query = {
|
|
|
paymentMethod?: Maybe<PaymentMethod>;
|
|
|
productOptionGroups: Array<ProductOptionGroup>;
|
|
|
productOptionGroup?: Maybe<ProductOptionGroup>;
|
|
|
- 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>;
|
|
|
+ search: SearchResponse;
|
|
|
promotion?: Maybe<Promotion>;
|
|
|
promotions: PromotionList;
|
|
|
adjustmentOperations: AdjustmentOperations;
|
|
|
@@ -2249,12 +2255,12 @@ export type Query = {
|
|
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
|
shippingEligibilityCheckers: Array<ConfigurableOperation>;
|
|
|
shippingCalculators: Array<ConfigurableOperation>;
|
|
|
+ zones: Array<Zone>;
|
|
|
+ zone?: Maybe<Zone>;
|
|
|
taxCategories: Array<TaxCategory>;
|
|
|
taxCategory?: Maybe<TaxCategory>;
|
|
|
taxRates: TaxRateList;
|
|
|
taxRate?: Maybe<TaxRate>;
|
|
|
- zones: Array<Zone>;
|
|
|
- zone?: Maybe<Zone>;
|
|
|
temp__?: Maybe<Scalars['Boolean']>;
|
|
|
};
|
|
|
|
|
|
@@ -2274,6 +2280,10 @@ export type QueryAssetArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
+export type QueryChannelArgs = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+};
|
|
|
+
|
|
|
export type QueryCollectionsArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
options?: Maybe<CollectionListOptions>;
|
|
|
@@ -2284,10 +2294,6 @@ export type QueryCollectionArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
};
|
|
|
|
|
|
-export type QueryChannelArgs = {
|
|
|
- id: Scalars['ID'];
|
|
|
-};
|
|
|
-
|
|
|
export type QueryCountriesArgs = {
|
|
|
options?: Maybe<CountryListOptions>;
|
|
|
};
|
|
|
@@ -2296,26 +2302,26 @@ export type QueryCountryArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
-export type QueryCustomerGroupArgs = {
|
|
|
- id: Scalars['ID'];
|
|
|
+export type QueryFacetsArgs = {
|
|
|
+ languageCode?: Maybe<LanguageCode>;
|
|
|
+ options?: Maybe<FacetListOptions>;
|
|
|
};
|
|
|
|
|
|
-export type QueryCustomersArgs = {
|
|
|
- options?: Maybe<CustomerListOptions>;
|
|
|
+export type QueryFacetArgs = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+ languageCode?: Maybe<LanguageCode>;
|
|
|
};
|
|
|
|
|
|
-export type QueryCustomerArgs = {
|
|
|
+export type QueryCustomerGroupArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
-export type QueryFacetsArgs = {
|
|
|
- languageCode?: Maybe<LanguageCode>;
|
|
|
- options?: Maybe<FacetListOptions>;
|
|
|
+export type QueryCustomersArgs = {
|
|
|
+ options?: Maybe<CustomerListOptions>;
|
|
|
};
|
|
|
|
|
|
-export type QueryFacetArgs = {
|
|
|
+export type QueryCustomerArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
- languageCode?: Maybe<LanguageCode>;
|
|
|
};
|
|
|
|
|
|
export type QueryOrderArgs = {
|
|
|
@@ -2344,10 +2350,6 @@ export type QueryProductOptionGroupArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
};
|
|
|
|
|
|
-export type QuerySearchArgs = {
|
|
|
- input: SearchInput;
|
|
|
-};
|
|
|
-
|
|
|
export type QueryProductsArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
options?: Maybe<ProductListOptions>;
|
|
|
@@ -2359,6 +2361,10 @@ export type QueryProductArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
};
|
|
|
|
|
|
+export type QuerySearchArgs = {
|
|
|
+ input: SearchInput;
|
|
|
+};
|
|
|
+
|
|
|
export type QueryPromotionArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
@@ -2383,6 +2389,10 @@ export type QueryShippingMethodArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
+export type QueryZoneArgs = {
|
|
|
+ id: Scalars['ID'];
|
|
|
+};
|
|
|
+
|
|
|
export type QueryTaxCategoryArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
@@ -2395,10 +2405,6 @@ export type QueryTaxRateArgs = {
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
-export type QueryZoneArgs = {
|
|
|
- id: Scalars['ID'];
|
|
|
-};
|
|
|
-
|
|
|
export type Return = Node &
|
|
|
StockMovement & {
|
|
|
id: Scalars['ID'];
|
|
|
@@ -3504,16 +3510,6 @@ 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?: Maybe<Scalars['ID']>;
|
|
|
slug?: Maybe<Scalars['String']>;
|
|
|
@@ -3688,6 +3684,16 @@ export type DeleteProductMutation = { __typename?: 'Mutation' } & {
|
|
|
deleteProduct: { __typename?: 'DeletionResponse' } & Pick<DeletionResponse, 'result'>;
|
|
|
};
|
|
|
|
|
|
+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 GetProductsQueryVariables = {
|
|
|
options?: Maybe<ProductListOptions>;
|
|
|
};
|
|
|
@@ -4489,12 +4495,6 @@ 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;
|
|
|
@@ -4609,6 +4609,12 @@ export namespace DeleteProduct {
|
|
|
export type DeleteProduct = DeleteProductMutation['deleteProduct'];
|
|
|
}
|
|
|
|
|
|
+export namespace GetProductSimple {
|
|
|
+ export type Variables = GetProductSimpleQueryVariables;
|
|
|
+ export type Query = GetProductSimpleQuery;
|
|
|
+ export type Product = NonNullable<GetProductSimpleQuery['product']>;
|
|
|
+}
|
|
|
+
|
|
|
export namespace GetProducts {
|
|
|
export type Variables = GetProductsQueryVariables;
|
|
|
export type Query = GetProductsQuery;
|