|
|
@@ -1414,12 +1414,12 @@ export type Mutation = {
|
|
|
assignRoleToAdministrator: Administrator,
|
|
|
/** Create a new Asset */
|
|
|
createAssets: Array<Asset>,
|
|
|
+ login: LoginResult,
|
|
|
+ logout: Scalars['Boolean'],
|
|
|
/** Create a new Channel */
|
|
|
createChannel: Channel,
|
|
|
/** Update an existing Channel */
|
|
|
updateChannel: Channel,
|
|
|
- login: LoginResult,
|
|
|
- logout: Scalars['Boolean'],
|
|
|
/** Create a new Collection */
|
|
|
createCollection: Collection,
|
|
|
/** Update an existing Collection */
|
|
|
@@ -1432,18 +1432,6 @@ export type Mutation = {
|
|
|
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 */
|
|
|
@@ -1464,14 +1452,27 @@ export type Mutation = {
|
|
|
updateCustomerAddress: Address,
|
|
|
/** Update an existing Address */
|
|
|
deleteCustomerAddress: Scalars['Boolean'],
|
|
|
- importProducts?: Maybe<ImportInfo>,
|
|
|
+ /** 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>,
|
|
|
/** 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 */
|
|
|
@@ -1486,7 +1487,6 @@ export type Mutation = {
|
|
|
generateVariantsForProduct: Product,
|
|
|
/** Update existing ProductVariants */
|
|
|
updateProductVariants: Array<Maybe<ProductVariant>>,
|
|
|
- reindex: SearchReindexResponse,
|
|
|
createPromotion: Promotion,
|
|
|
updatePromotion: Promotion,
|
|
|
deletePromotion: DeletionResponse,
|
|
|
@@ -1498,6 +1498,14 @@ 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 */
|
|
|
@@ -1508,14 +1516,6 @@ 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,
|
|
|
requestStarted: Scalars['Int'],
|
|
|
requestCompleted: Scalars['Int'],
|
|
|
setAsLoggedIn: UserStatus,
|
|
|
@@ -1545,6 +1545,13 @@ export type MutationCreateAssetsArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationLoginArgs = {
|
|
|
+ username: Scalars['String'],
|
|
|
+ password: Scalars['String'],
|
|
|
+ rememberMe?: Maybe<Scalars['Boolean']>
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationCreateChannelArgs = {
|
|
|
input: CreateChannelInput
|
|
|
};
|
|
|
@@ -1555,13 +1562,6 @@ export type MutationUpdateChannelArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationLoginArgs = {
|
|
|
- username: Scalars['String'],
|
|
|
- password: Scalars['String'],
|
|
|
- rememberMe?: Maybe<Scalars['Boolean']>
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type MutationCreateCollectionArgs = {
|
|
|
input: CreateCollectionInput
|
|
|
};
|
|
|
@@ -1592,38 +1592,6 @@ export type MutationDeleteCountryArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-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
|
|
|
};
|
|
|
@@ -1678,8 +1646,35 @@ export type MutationDeleteCustomerAddressArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationImportProductsArgs = {
|
|
|
- csvFile: Scalars['Upload']
|
|
|
+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']>
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1688,6 +1683,11 @@ export type MutationUpdateGlobalSettingsArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationImportProductsArgs = {
|
|
|
+ csvFile: Scalars['Upload']
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationUpdatePaymentMethodArgs = {
|
|
|
input: UpdatePaymentMethodInput
|
|
|
};
|
|
|
@@ -1778,50 +1778,50 @@ export type MutationUpdateShippingMethodArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateZoneArgs = {
|
|
|
- input: CreateZoneInput
|
|
|
+export type MutationCreateTaxCategoryArgs = {
|
|
|
+ input: CreateTaxCategoryInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateZoneArgs = {
|
|
|
- input: UpdateZoneInput
|
|
|
+export type MutationUpdateTaxCategoryArgs = {
|
|
|
+ input: UpdateTaxCategoryInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationDeleteZoneArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
+export type MutationCreateTaxRateArgs = {
|
|
|
+ input: CreateTaxRateInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationAddMembersToZoneArgs = {
|
|
|
- zoneId: Scalars['ID'],
|
|
|
- memberIds: Array<Scalars['ID']>
|
|
|
+export type MutationUpdateTaxRateArgs = {
|
|
|
+ input: UpdateTaxRateInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationRemoveMembersFromZoneArgs = {
|
|
|
- zoneId: Scalars['ID'],
|
|
|
- memberIds: Array<Scalars['ID']>
|
|
|
+export type MutationCreateZoneArgs = {
|
|
|
+ input: CreateZoneInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateTaxCategoryArgs = {
|
|
|
- input: CreateTaxCategoryInput
|
|
|
+export type MutationUpdateZoneArgs = {
|
|
|
+ input: UpdateZoneInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateTaxCategoryArgs = {
|
|
|
- input: UpdateTaxCategoryInput
|
|
|
+export type MutationDeleteZoneArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateTaxRateArgs = {
|
|
|
- input: CreateTaxRateInput
|
|
|
+export type MutationAddMembersToZoneArgs = {
|
|
|
+ zoneId: Scalars['ID'],
|
|
|
+ memberIds: Array<Scalars['ID']>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateTaxRateArgs = {
|
|
|
- input: UpdateTaxRateInput
|
|
|
+export type MutationRemoveMembersFromZoneArgs = {
|
|
|
+ zoneId: Scalars['ID'],
|
|
|
+ memberIds: Array<Scalars['ID']>
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -2302,21 +2302,21 @@ export type Query = {
|
|
|
administrator?: Maybe<Administrator>,
|
|
|
assets: AssetList,
|
|
|
asset?: Maybe<Asset>,
|
|
|
+ me?: Maybe<CurrentUser>,
|
|
|
channels: Array<Channel>,
|
|
|
channel?: Maybe<Channel>,
|
|
|
activeChannel: Channel,
|
|
|
- me?: Maybe<CurrentUser>,
|
|
|
collections: CollectionList,
|
|
|
collection?: Maybe<Collection>,
|
|
|
collectionFilters: Array<ConfigurableOperation>,
|
|
|
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,
|
|
|
@@ -2324,10 +2324,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,
|
|
|
@@ -2337,12 +2337,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']>,
|
|
|
networkStatus: NetworkStatus,
|
|
|
userStatus: UserStatus,
|
|
|
@@ -2397,30 +2397,30 @@ export type QueryCountryArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryFacetsArgs = {
|
|
|
- languageCode?: Maybe<LanguageCode>,
|
|
|
- options?: Maybe<FacetListOptions>
|
|
|
+export type QueryCustomerGroupArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryFacetArgs = {
|
|
|
- id: Scalars['ID'],
|
|
|
- languageCode?: Maybe<LanguageCode>
|
|
|
+export type QueryCustomersArgs = {
|
|
|
+ options?: Maybe<CustomerListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryCustomerGroupArgs = {
|
|
|
+export type QueryCustomerArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryCustomersArgs = {
|
|
|
- options?: Maybe<CustomerListOptions>
|
|
|
+export type QueryFacetsArgs = {
|
|
|
+ languageCode?: Maybe<LanguageCode>,
|
|
|
+ options?: Maybe<FacetListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryCustomerArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
+export type QueryFacetArgs = {
|
|
|
+ id: Scalars['ID'],
|
|
|
+ languageCode?: Maybe<LanguageCode>
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -2456,6 +2456,11 @@ export type QueryProductOptionGroupArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type QuerySearchArgs = {
|
|
|
+ input: SearchInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type QueryProductsArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>,
|
|
|
options?: Maybe<ProductListOptions>
|
|
|
@@ -2469,11 +2474,6 @@ export type QueryProductArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QuerySearchArgs = {
|
|
|
- input: SearchInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type QueryPromotionArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
@@ -2504,11 +2504,6 @@ export type QueryShippingMethodArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryZoneArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type QueryTaxCategoryArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
@@ -2523,6 +2518,11 @@ export type QueryTaxRateArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
+
|
|
|
+export type QueryZoneArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
+};
|
|
|
+
|
|
|
export type Return = Node & StockMovement & {
|
|
|
id: Scalars['ID'],
|
|
|
createdAt: Scalars['DateTime'],
|
|
|
@@ -2582,7 +2582,7 @@ export type Sale = Node & StockMovement & {
|
|
|
|
|
|
export type SearchInput = {
|
|
|
term?: Maybe<Scalars['String']>,
|
|
|
- facetIds?: Maybe<Array<Scalars['String']>>,
|
|
|
+ facetValueIds?: Maybe<Array<Scalars['String']>>,
|
|
|
collectionId?: Maybe<Scalars['String']>,
|
|
|
groupByProduct?: Maybe<Scalars['Boolean']>,
|
|
|
take?: Maybe<Scalars['Int']>,
|