|
@@ -1,5 +1,5 @@
|
|
|
// tslint:disable
|
|
// tslint:disable
|
|
|
-// Generated in 2019-05-02T12:27:29+02:00
|
|
|
|
|
|
|
+// Generated in 2019-05-02T20:00:06+02:00
|
|
|
export type Maybe<T> = T | null;
|
|
export type Maybe<T> = T | null;
|
|
|
|
|
|
|
|
|
|
|
|
@@ -555,18 +555,18 @@ export interface PromotionFilterParameter {
|
|
|
enabled?: Maybe<BooleanOperators>;
|
|
enabled?: Maybe<BooleanOperators>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface RoleListOptions {
|
|
|
|
|
|
|
+export interface ShippingMethodListOptions {
|
|
|
|
|
|
|
|
skip?: Maybe<number>;
|
|
skip?: Maybe<number>;
|
|
|
|
|
|
|
|
take?: Maybe<number>;
|
|
take?: Maybe<number>;
|
|
|
|
|
|
|
|
- sort?: Maybe<RoleSortParameter>;
|
|
|
|
|
|
|
+ sort?: Maybe<ShippingMethodSortParameter>;
|
|
|
|
|
|
|
|
- filter?: Maybe<RoleFilterParameter>;
|
|
|
|
|
|
|
+ filter?: Maybe<ShippingMethodFilterParameter>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface RoleSortParameter {
|
|
|
|
|
|
|
+export interface ShippingMethodSortParameter {
|
|
|
|
|
|
|
|
id?: Maybe<SortOrder>;
|
|
id?: Maybe<SortOrder>;
|
|
|
|
|
|
|
@@ -579,7 +579,7 @@ export interface RoleSortParameter {
|
|
|
description?: Maybe<SortOrder>;
|
|
description?: Maybe<SortOrder>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface RoleFilterParameter {
|
|
|
|
|
|
|
+export interface ShippingMethodFilterParameter {
|
|
|
|
|
|
|
|
createdAt?: Maybe<DateOperators>;
|
|
createdAt?: Maybe<DateOperators>;
|
|
|
|
|
|
|
@@ -590,18 +590,18 @@ export interface RoleFilterParameter {
|
|
|
description?: Maybe<StringOperators>;
|
|
description?: Maybe<StringOperators>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface ShippingMethodListOptions {
|
|
|
|
|
|
|
+export interface RoleListOptions {
|
|
|
|
|
|
|
|
skip?: Maybe<number>;
|
|
skip?: Maybe<number>;
|
|
|
|
|
|
|
|
take?: Maybe<number>;
|
|
take?: Maybe<number>;
|
|
|
|
|
|
|
|
- sort?: Maybe<ShippingMethodSortParameter>;
|
|
|
|
|
|
|
+ sort?: Maybe<RoleSortParameter>;
|
|
|
|
|
|
|
|
- filter?: Maybe<ShippingMethodFilterParameter>;
|
|
|
|
|
|
|
+ filter?: Maybe<RoleFilterParameter>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface ShippingMethodSortParameter {
|
|
|
|
|
|
|
+export interface RoleSortParameter {
|
|
|
|
|
|
|
|
id?: Maybe<SortOrder>;
|
|
id?: Maybe<SortOrder>;
|
|
|
|
|
|
|
@@ -614,7 +614,7 @@ export interface ShippingMethodSortParameter {
|
|
|
description?: Maybe<SortOrder>;
|
|
description?: Maybe<SortOrder>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface ShippingMethodFilterParameter {
|
|
|
|
|
|
|
+export interface RoleFilterParameter {
|
|
|
|
|
|
|
|
createdAt?: Maybe<DateOperators>;
|
|
createdAt?: Maybe<DateOperators>;
|
|
|
|
|
|
|
@@ -834,20 +834,6 @@ export interface UpdateCountryInput {
|
|
|
enabled?: Maybe<boolean>;
|
|
enabled?: Maybe<boolean>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface CreateCustomerGroupInput {
|
|
|
|
|
-
|
|
|
|
|
- name: string;
|
|
|
|
|
-
|
|
|
|
|
- customerIds?: Maybe<string[]>;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-export interface UpdateCustomerGroupInput {
|
|
|
|
|
-
|
|
|
|
|
- id: string;
|
|
|
|
|
-
|
|
|
|
|
- name?: Maybe<string>;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
export interface CreateCustomerInput {
|
|
export interface CreateCustomerInput {
|
|
|
|
|
|
|
|
title?: Maybe<string>;
|
|
title?: Maybe<string>;
|
|
@@ -1013,6 +999,20 @@ export interface UpdateFacetValueInput {
|
|
|
customFields?: Maybe<Json>;
|
|
customFields?: Maybe<Json>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+export interface CreateCustomerGroupInput {
|
|
|
|
|
+
|
|
|
|
|
+ name: string;
|
|
|
|
|
+
|
|
|
|
|
+ customerIds?: Maybe<string[]>;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export interface UpdateCustomerGroupInput {
|
|
|
|
|
+
|
|
|
|
|
+ id: string;
|
|
|
|
|
+
|
|
|
|
|
+ name?: Maybe<string>;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
export interface UpdateGlobalSettingsInput {
|
|
export interface UpdateGlobalSettingsInput {
|
|
|
|
|
|
|
|
availableLanguages?: Maybe<LanguageCode[]>;
|
|
availableLanguages?: Maybe<LanguageCode[]>;
|
|
@@ -1182,16 +1182,18 @@ export interface UpdatePromotionInput {
|
|
|
actions?: Maybe<ConfigurableOperationInput[]>;
|
|
actions?: Maybe<ConfigurableOperationInput[]>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface CreateRoleInput {
|
|
|
|
|
|
|
+export interface CreateShippingMethodInput {
|
|
|
|
|
|
|
|
code: string;
|
|
code: string;
|
|
|
|
|
|
|
|
description: string;
|
|
description: string;
|
|
|
|
|
|
|
|
- permissions: Permission[];
|
|
|
|
|
|
|
+ checker: ConfigurableOperationInput;
|
|
|
|
|
+
|
|
|
|
|
+ calculator: ConfigurableOperationInput;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface UpdateRoleInput {
|
|
|
|
|
|
|
+export interface UpdateShippingMethodInput {
|
|
|
|
|
|
|
|
id: string;
|
|
id: string;
|
|
|
|
|
|
|
@@ -1199,21 +1201,21 @@ export interface UpdateRoleInput {
|
|
|
|
|
|
|
|
description?: Maybe<string>;
|
|
description?: Maybe<string>;
|
|
|
|
|
|
|
|
- permissions?: Maybe<Permission[]>;
|
|
|
|
|
|
|
+ checker?: Maybe<ConfigurableOperationInput>;
|
|
|
|
|
+
|
|
|
|
|
+ calculator?: Maybe<ConfigurableOperationInput>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface CreateShippingMethodInput {
|
|
|
|
|
|
|
+export interface CreateRoleInput {
|
|
|
|
|
|
|
|
code: string;
|
|
code: string;
|
|
|
|
|
|
|
|
description: string;
|
|
description: string;
|
|
|
|
|
|
|
|
- checker: ConfigurableOperationInput;
|
|
|
|
|
-
|
|
|
|
|
- calculator: ConfigurableOperationInput;
|
|
|
|
|
|
|
+ permissions: Permission[];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface UpdateShippingMethodInput {
|
|
|
|
|
|
|
+export interface UpdateRoleInput {
|
|
|
|
|
|
|
|
id: string;
|
|
id: string;
|
|
|
|
|
|
|
@@ -1221,9 +1223,7 @@ export interface UpdateShippingMethodInput {
|
|
|
|
|
|
|
|
description?: Maybe<string>;
|
|
description?: Maybe<string>;
|
|
|
|
|
|
|
|
- checker?: Maybe<ConfigurableOperationInput>;
|
|
|
|
|
-
|
|
|
|
|
- calculator?: Maybe<ConfigurableOperationInput>;
|
|
|
|
|
|
|
+ permissions?: Maybe<Permission[]>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface CreateTaxCategoryInput {
|
|
export interface CreateTaxCategoryInput {
|
|
@@ -4102,6 +4102,10 @@ export namespace ProductVariant {
|
|
|
|
|
|
|
|
priceWithTax: number;
|
|
priceWithTax: number;
|
|
|
|
|
|
|
|
|
|
+ stockOnHand: number;
|
|
|
|
|
+
|
|
|
|
|
+ trackInventory: boolean;
|
|
|
|
|
+
|
|
|
taxRateApplied: TaxRateApplied;
|
|
taxRateApplied: TaxRateApplied;
|
|
|
|
|
|
|
|
taxCategory: TaxCategory;
|
|
taxCategory: TaxCategory;
|
|
@@ -4627,10 +4631,6 @@ export interface Query {
|
|
|
|
|
|
|
|
country?: Maybe<Country>;
|
|
country?: Maybe<Country>;
|
|
|
|
|
|
|
|
- customerGroups: CustomerGroup[];
|
|
|
|
|
-
|
|
|
|
|
- customerGroup?: Maybe<CustomerGroup>;
|
|
|
|
|
-
|
|
|
|
|
customers: CustomerList;
|
|
customers: CustomerList;
|
|
|
|
|
|
|
|
customer?: Maybe<Customer>;
|
|
customer?: Maybe<Customer>;
|
|
@@ -4639,6 +4639,10 @@ export interface Query {
|
|
|
|
|
|
|
|
facet?: Maybe<Facet>;
|
|
facet?: Maybe<Facet>;
|
|
|
|
|
|
|
|
|
|
+ customerGroups: CustomerGroup[];
|
|
|
|
|
+
|
|
|
|
|
+ customerGroup?: Maybe<CustomerGroup>;
|
|
|
|
|
+
|
|
|
globalSettings: GlobalSettings;
|
|
globalSettings: GlobalSettings;
|
|
|
|
|
|
|
|
order?: Maybe<Order>;
|
|
order?: Maybe<Order>;
|
|
@@ -4665,10 +4669,6 @@ export interface Query {
|
|
|
|
|
|
|
|
adjustmentOperations: AdjustmentOperations;
|
|
adjustmentOperations: AdjustmentOperations;
|
|
|
|
|
|
|
|
- roles: RoleList;
|
|
|
|
|
-
|
|
|
|
|
- role?: Maybe<Role>;
|
|
|
|
|
-
|
|
|
|
|
shippingMethods: ShippingMethodList;
|
|
shippingMethods: ShippingMethodList;
|
|
|
|
|
|
|
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
@@ -4677,6 +4677,10 @@ export interface Query {
|
|
|
|
|
|
|
|
shippingCalculators: ConfigurableOperation[];
|
|
shippingCalculators: ConfigurableOperation[];
|
|
|
|
|
|
|
|
|
|
+ roles: RoleList;
|
|
|
|
|
+
|
|
|
|
|
+ role?: Maybe<Role>;
|
|
|
|
|
+
|
|
|
taxCategories: TaxCategory[];
|
|
taxCategories: TaxCategory[];
|
|
|
|
|
|
|
|
taxCategory?: Maybe<TaxCategory>;
|
|
taxCategory?: Maybe<TaxCategory>;
|
|
@@ -5769,17 +5773,17 @@ export interface AdjustmentOperations {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-export interface RoleList extends PaginatedList {
|
|
|
|
|
|
|
+export interface ShippingMethodList extends PaginatedList {
|
|
|
|
|
|
|
|
- items: Role[];
|
|
|
|
|
|
|
+ items: ShippingMethod[];
|
|
|
|
|
|
|
|
totalItems: number;
|
|
totalItems: number;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-export interface ShippingMethodList extends PaginatedList {
|
|
|
|
|
|
|
+export interface RoleList extends PaginatedList {
|
|
|
|
|
|
|
|
- items: ShippingMethod[];
|
|
|
|
|
|
|
+ items: Role[];
|
|
|
|
|
|
|
|
totalItems: number;
|
|
totalItems: number;
|
|
|
}
|
|
}
|
|
@@ -5844,14 +5848,6 @@ export interface Mutation {
|
|
|
updateCountry: Country;
|
|
updateCountry: Country;
|
|
|
/** Delete a Country */
|
|
/** Delete a Country */
|
|
|
deleteCountry: DeletionResponse;
|
|
deleteCountry: DeletionResponse;
|
|
|
- /** 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 Customer. If a password is provided, a new User will also be created an linked to the Customer. */
|
|
/** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */
|
|
|
createCustomer: Customer;
|
|
createCustomer: Customer;
|
|
|
/** Update an existing Customer */
|
|
/** Update an existing Customer */
|
|
@@ -5876,6 +5872,14 @@ export interface Mutation {
|
|
|
updateFacetValues: FacetValue[];
|
|
updateFacetValues: FacetValue[];
|
|
|
/** Delete one or more FacetValues */
|
|
/** Delete one or more FacetValues */
|
|
|
deleteFacetValues: DeletionResponse[];
|
|
deleteFacetValues: DeletionResponse[];
|
|
|
|
|
+ /** 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;
|
|
|
|
|
|
|
|
updateGlobalSettings: GlobalSettings;
|
|
updateGlobalSettings: GlobalSettings;
|
|
|
|
|
|
|
@@ -5908,14 +5912,14 @@ export interface Mutation {
|
|
|
updatePromotion: Promotion;
|
|
updatePromotion: Promotion;
|
|
|
|
|
|
|
|
deletePromotion: DeletionResponse;
|
|
deletePromotion: DeletionResponse;
|
|
|
- /** Create a new Role */
|
|
|
|
|
- createRole: Role;
|
|
|
|
|
- /** Update an existing Role */
|
|
|
|
|
- updateRole: Role;
|
|
|
|
|
/** Create a new ShippingMethod */
|
|
/** Create a new ShippingMethod */
|
|
|
createShippingMethod: ShippingMethod;
|
|
createShippingMethod: ShippingMethod;
|
|
|
/** Update an existing ShippingMethod */
|
|
/** Update an existing ShippingMethod */
|
|
|
updateShippingMethod: ShippingMethod;
|
|
updateShippingMethod: ShippingMethod;
|
|
|
|
|
+ /** Create a new Role */
|
|
|
|
|
+ createRole: Role;
|
|
|
|
|
+ /** Update an existing Role */
|
|
|
|
|
+ updateRole: Role;
|
|
|
/** Create a new TaxCategory */
|
|
/** Create a new TaxCategory */
|
|
|
createTaxCategory: TaxCategory;
|
|
createTaxCategory: TaxCategory;
|
|
|
/** Update an existing TaxCategory */
|
|
/** Update an existing TaxCategory */
|
|
@@ -6036,10 +6040,6 @@ export interface CountryQueryArgs {
|
|
|
|
|
|
|
|
id: string;
|
|
id: string;
|
|
|
}
|
|
}
|
|
|
-export interface CustomerGroupQueryArgs {
|
|
|
|
|
-
|
|
|
|
|
- id: string;
|
|
|
|
|
-}
|
|
|
|
|
export interface CustomersQueryArgs {
|
|
export interface CustomersQueryArgs {
|
|
|
|
|
|
|
|
options?: Maybe<CustomerListOptions>;
|
|
options?: Maybe<CustomerListOptions>;
|
|
@@ -6060,6 +6060,10 @@ export interface FacetQueryArgs {
|
|
|
|
|
|
|
|
languageCode?: Maybe<LanguageCode>;
|
|
languageCode?: Maybe<LanguageCode>;
|
|
|
}
|
|
}
|
|
|
|
|
+export interface CustomerGroupQueryArgs {
|
|
|
|
|
+
|
|
|
|
|
+ id: string;
|
|
|
|
|
+}
|
|
|
export interface OrderQueryArgs {
|
|
export interface OrderQueryArgs {
|
|
|
|
|
|
|
|
id: string;
|
|
id: string;
|
|
@@ -6112,19 +6116,19 @@ export interface PromotionsQueryArgs {
|
|
|
|
|
|
|
|
options?: Maybe<PromotionListOptions>;
|
|
options?: Maybe<PromotionListOptions>;
|
|
|
}
|
|
}
|
|
|
-export interface RolesQueryArgs {
|
|
|
|
|
|
|
+export interface ShippingMethodsQueryArgs {
|
|
|
|
|
|
|
|
- options?: Maybe<RoleListOptions>;
|
|
|
|
|
|
|
+ options?: Maybe<ShippingMethodListOptions>;
|
|
|
}
|
|
}
|
|
|
-export interface RoleQueryArgs {
|
|
|
|
|
|
|
+export interface ShippingMethodQueryArgs {
|
|
|
|
|
|
|
|
id: string;
|
|
id: string;
|
|
|
}
|
|
}
|
|
|
-export interface ShippingMethodsQueryArgs {
|
|
|
|
|
|
|
+export interface RolesQueryArgs {
|
|
|
|
|
|
|
|
- options?: Maybe<ShippingMethodListOptions>;
|
|
|
|
|
|
|
+ options?: Maybe<RoleListOptions>;
|
|
|
}
|
|
}
|
|
|
-export interface ShippingMethodQueryArgs {
|
|
|
|
|
|
|
+export interface RoleQueryArgs {
|
|
|
|
|
|
|
|
id: string;
|
|
id: string;
|
|
|
}
|
|
}
|
|
@@ -6214,26 +6218,6 @@ export interface DeleteCountryMutationArgs {
|
|
|
|
|
|
|
|
id: string;
|
|
id: string;
|
|
|
}
|
|
}
|
|
|
-export interface CreateCustomerGroupMutationArgs {
|
|
|
|
|
-
|
|
|
|
|
- input: CreateCustomerGroupInput;
|
|
|
|
|
-}
|
|
|
|
|
-export interface UpdateCustomerGroupMutationArgs {
|
|
|
|
|
-
|
|
|
|
|
- input: UpdateCustomerGroupInput;
|
|
|
|
|
-}
|
|
|
|
|
-export interface AddCustomersToGroupMutationArgs {
|
|
|
|
|
-
|
|
|
|
|
- customerGroupId: string;
|
|
|
|
|
-
|
|
|
|
|
- customerIds: string[];
|
|
|
|
|
-}
|
|
|
|
|
-export interface RemoveCustomersFromGroupMutationArgs {
|
|
|
|
|
-
|
|
|
|
|
- customerGroupId: string;
|
|
|
|
|
-
|
|
|
|
|
- customerIds: string[];
|
|
|
|
|
-}
|
|
|
|
|
export interface CreateCustomerMutationArgs {
|
|
export interface CreateCustomerMutationArgs {
|
|
|
|
|
|
|
|
input: CreateCustomerInput;
|
|
input: CreateCustomerInput;
|
|
@@ -6290,6 +6274,26 @@ export interface DeleteFacetValuesMutationArgs {
|
|
|
|
|
|
|
|
force?: Maybe<boolean>;
|
|
force?: Maybe<boolean>;
|
|
|
}
|
|
}
|
|
|
|
|
+export interface CreateCustomerGroupMutationArgs {
|
|
|
|
|
+
|
|
|
|
|
+ input: CreateCustomerGroupInput;
|
|
|
|
|
+}
|
|
|
|
|
+export interface UpdateCustomerGroupMutationArgs {
|
|
|
|
|
+
|
|
|
|
|
+ input: UpdateCustomerGroupInput;
|
|
|
|
|
+}
|
|
|
|
|
+export interface AddCustomersToGroupMutationArgs {
|
|
|
|
|
+
|
|
|
|
|
+ customerGroupId: string;
|
|
|
|
|
+
|
|
|
|
|
+ customerIds: string[];
|
|
|
|
|
+}
|
|
|
|
|
+export interface RemoveCustomersFromGroupMutationArgs {
|
|
|
|
|
+
|
|
|
|
|
+ customerGroupId: string;
|
|
|
|
|
+
|
|
|
|
|
+ customerIds: string[];
|
|
|
|
|
+}
|
|
|
export interface UpdateGlobalSettingsMutationArgs {
|
|
export interface UpdateGlobalSettingsMutationArgs {
|
|
|
|
|
|
|
|
input: UpdateGlobalSettingsInput;
|
|
input: UpdateGlobalSettingsInput;
|
|
@@ -6360,14 +6364,6 @@ export interface DeletePromotionMutationArgs {
|
|
|
|
|
|
|
|
id: string;
|
|
id: string;
|
|
|
}
|
|
}
|
|
|
-export interface CreateRoleMutationArgs {
|
|
|
|
|
-
|
|
|
|
|
- input: CreateRoleInput;
|
|
|
|
|
-}
|
|
|
|
|
-export interface UpdateRoleMutationArgs {
|
|
|
|
|
-
|
|
|
|
|
- input: UpdateRoleInput;
|
|
|
|
|
-}
|
|
|
|
|
export interface CreateShippingMethodMutationArgs {
|
|
export interface CreateShippingMethodMutationArgs {
|
|
|
|
|
|
|
|
input: CreateShippingMethodInput;
|
|
input: CreateShippingMethodInput;
|
|
@@ -6376,6 +6372,14 @@ export interface UpdateShippingMethodMutationArgs {
|
|
|
|
|
|
|
|
input: UpdateShippingMethodInput;
|
|
input: UpdateShippingMethodInput;
|
|
|
}
|
|
}
|
|
|
|
|
+export interface CreateRoleMutationArgs {
|
|
|
|
|
+
|
|
|
|
|
+ input: CreateRoleInput;
|
|
|
|
|
+}
|
|
|
|
|
+export interface UpdateRoleMutationArgs {
|
|
|
|
|
+
|
|
|
|
|
+ input: UpdateRoleInput;
|
|
|
|
|
+}
|
|
|
export interface CreateTaxCategoryMutationArgs {
|
|
export interface CreateTaxCategoryMutationArgs {
|
|
|
|
|
|
|
|
input: CreateTaxCategoryInput;
|
|
input: CreateTaxCategoryInput;
|