|
|
@@ -479,6 +479,7 @@ export type Country = Node & {
|
|
|
name: Scalars['String'];
|
|
|
enabled: Scalars['Boolean'];
|
|
|
translations: Array<CountryTranslation>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type CountryFilterParameter = {
|
|
|
@@ -528,6 +529,7 @@ export type CountryTranslationInput = {
|
|
|
id?: Maybe<Scalars['ID']>;
|
|
|
languageCode: LanguageCode;
|
|
|
name?: Maybe<Scalars['String']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type CreateAddressInput = {
|
|
|
@@ -597,11 +599,13 @@ export type CreateCountryInput = {
|
|
|
code: Scalars['String'];
|
|
|
translations: Array<CountryTranslationInput>;
|
|
|
enabled: Scalars['Boolean'];
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type CreateCustomerGroupInput = {
|
|
|
name: Scalars['String'];
|
|
|
customerIds?: Maybe<Array<Scalars['ID']>>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type CreateCustomerInput = {
|
|
|
@@ -654,6 +658,7 @@ export type CreatePaymentMethodInput = {
|
|
|
enabled: Scalars['Boolean'];
|
|
|
checker?: Maybe<ConfigurableOperationInput>;
|
|
|
handler: ConfigurableOperationInput;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type CreateProductInput = {
|
|
|
@@ -711,6 +716,7 @@ export type CreatePromotionInput = {
|
|
|
perCustomerUsageLimit?: Maybe<Scalars['Int']>;
|
|
|
conditions: Array<ConfigurableOperationInput>;
|
|
|
actions: Array<ConfigurableOperationInput>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type CreatePromotionResult = Promotion | MissingConditionsError;
|
|
|
@@ -738,6 +744,7 @@ export type CreateTagInput = {
|
|
|
export type CreateTaxCategoryInput = {
|
|
|
name: Scalars['String'];
|
|
|
isDefault?: Maybe<Scalars['Boolean']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type CreateTaxRateInput = {
|
|
|
@@ -747,11 +754,13 @@ export type CreateTaxRateInput = {
|
|
|
categoryId: Scalars['ID'];
|
|
|
zoneId: Scalars['ID'];
|
|
|
customerGroupId?: Maybe<Scalars['ID']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type CreateZoneInput = {
|
|
|
name: Scalars['String'];
|
|
|
memberIds?: Maybe<Array<Scalars['ID']>>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
@@ -1117,19 +1126,26 @@ export type CustomFields = {
|
|
|
Asset: Array<CustomFieldConfig>;
|
|
|
Channel: Array<CustomFieldConfig>;
|
|
|
Collection: Array<CustomFieldConfig>;
|
|
|
+ Country: Array<CustomFieldConfig>;
|
|
|
Customer: Array<CustomFieldConfig>;
|
|
|
+ CustomerGroup: Array<CustomFieldConfig>;
|
|
|
Facet: Array<CustomFieldConfig>;
|
|
|
FacetValue: Array<CustomFieldConfig>;
|
|
|
Fulfillment: Array<CustomFieldConfig>;
|
|
|
GlobalSettings: Array<CustomFieldConfig>;
|
|
|
Order: Array<CustomFieldConfig>;
|
|
|
OrderLine: Array<CustomFieldConfig>;
|
|
|
+ PaymentMethod: Array<CustomFieldConfig>;
|
|
|
Product: Array<CustomFieldConfig>;
|
|
|
ProductOption: Array<CustomFieldConfig>;
|
|
|
ProductOptionGroup: Array<CustomFieldConfig>;
|
|
|
ProductVariant: Array<CustomFieldConfig>;
|
|
|
- User: Array<CustomFieldConfig>;
|
|
|
+ Promotion: Array<CustomFieldConfig>;
|
|
|
ShippingMethod: Array<CustomFieldConfig>;
|
|
|
+ TaxCategory: Array<CustomFieldConfig>;
|
|
|
+ TaxRate: Array<CustomFieldConfig>;
|
|
|
+ User: Array<CustomFieldConfig>;
|
|
|
+ Zone: Array<CustomFieldConfig>;
|
|
|
};
|
|
|
|
|
|
export type Customer = Node & {
|
|
|
@@ -1173,6 +1189,7 @@ export type CustomerGroup = Node & {
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
name: Scalars['String'];
|
|
|
customers: CustomerList;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type CustomerGroupCustomersArgs = {
|
|
|
@@ -2966,7 +2983,7 @@ export type OrderItem = Node & {
|
|
|
/** The price of a single unit including discounts and tax */
|
|
|
discountedUnitPriceWithTax: Scalars['Int'];
|
|
|
/**
|
|
|
- * The actual unit price, taking into account both item discounts _and_ prorated (proportially-distributed)
|
|
|
+ * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)
|
|
|
* Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax
|
|
|
* and refund calculations.
|
|
|
*/
|
|
|
@@ -3014,7 +3031,7 @@ export type OrderLine = Node & {
|
|
|
/** The price of a single unit including discounts and tax */
|
|
|
discountedUnitPriceWithTax: Scalars['Int'];
|
|
|
/**
|
|
|
- * The actual unit price, taking into account both item discounts _and_ prorated (proportially-distributed)
|
|
|
+ * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)
|
|
|
* Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax
|
|
|
* and refund calculations.
|
|
|
*/
|
|
|
@@ -3026,14 +3043,14 @@ export type OrderLine = Node & {
|
|
|
taxRate: Scalars['Float'];
|
|
|
/** The total price of the line excluding tax and discounts. */
|
|
|
linePrice: Scalars['Int'];
|
|
|
- /** The total price of the line including tax bit excluding discounts. */
|
|
|
+ /** The total price of the line including tax but excluding discounts. */
|
|
|
linePriceWithTax: Scalars['Int'];
|
|
|
/** The price of the line including discounts, excluding tax */
|
|
|
discountedLinePrice: Scalars['Int'];
|
|
|
/** The price of the line including discounts and tax */
|
|
|
discountedLinePriceWithTax: Scalars['Int'];
|
|
|
/**
|
|
|
- * The actual line price, taking into account both item discounts _and_ prorated (proportially-distributed)
|
|
|
+ * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed)
|
|
|
* Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax
|
|
|
* and refund calculations.
|
|
|
*/
|
|
|
@@ -3165,6 +3182,7 @@ export type PaymentMethod = Node & {
|
|
|
enabled: Scalars['Boolean'];
|
|
|
checker?: Maybe<ConfigurableOperation>;
|
|
|
handler: ConfigurableOperation;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type PaymentMethodFilterParameter = {
|
|
|
@@ -3686,6 +3704,7 @@ export type Promotion = Node & {
|
|
|
enabled: Scalars['Boolean'];
|
|
|
conditions: Array<ConfigurableOperation>;
|
|
|
actions: Array<ConfigurableOperation>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type PromotionFilterParameter = {
|
|
|
@@ -4478,6 +4497,7 @@ export type TaxCategory = Node & {
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
name: Scalars['String'];
|
|
|
isDefault: Scalars['Boolean'];
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type TaxLine = {
|
|
|
@@ -4495,6 +4515,7 @@ export type TaxRate = Node & {
|
|
|
category: TaxCategory;
|
|
|
zone: Zone;
|
|
|
customerGroup?: Maybe<CustomerGroup>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type TaxRateFilterParameter = {
|
|
|
@@ -4657,11 +4678,13 @@ export type UpdateCountryInput = {
|
|
|
code?: Maybe<Scalars['String']>;
|
|
|
translations?: Maybe<Array<CountryTranslationInput>>;
|
|
|
enabled?: Maybe<Scalars['Boolean']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type UpdateCustomerGroupInput = {
|
|
|
id: Scalars['ID'];
|
|
|
name?: Maybe<Scalars['String']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type UpdateCustomerInput = {
|
|
|
@@ -4736,6 +4759,7 @@ export type UpdatePaymentMethodInput = {
|
|
|
enabled?: Maybe<Scalars['Boolean']>;
|
|
|
checker?: Maybe<ConfigurableOperationInput>;
|
|
|
handler?: Maybe<ConfigurableOperationInput>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type UpdateProductInput = {
|
|
|
@@ -4789,6 +4813,7 @@ export type UpdatePromotionInput = {
|
|
|
perCustomerUsageLimit?: Maybe<Scalars['Int']>;
|
|
|
conditions?: Maybe<Array<ConfigurableOperationInput>>;
|
|
|
actions?: Maybe<Array<ConfigurableOperationInput>>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type UpdatePromotionResult = Promotion | MissingConditionsError;
|
|
|
@@ -4820,6 +4845,7 @@ export type UpdateTaxCategoryInput = {
|
|
|
id: Scalars['ID'];
|
|
|
name?: Maybe<Scalars['String']>;
|
|
|
isDefault?: Maybe<Scalars['Boolean']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type UpdateTaxRateInput = {
|
|
|
@@ -4830,11 +4856,13 @@ export type UpdateTaxRateInput = {
|
|
|
categoryId?: Maybe<Scalars['ID']>;
|
|
|
zoneId?: Maybe<Scalars['ID']>;
|
|
|
customerGroupId?: Maybe<Scalars['ID']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type UpdateZoneInput = {
|
|
|
id: Scalars['ID'];
|
|
|
name?: Maybe<Scalars['String']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type User = Node & {
|
|
|
@@ -4855,6 +4883,7 @@ export type Zone = Node & {
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
name: Scalars['String'];
|
|
|
members: Array<Country>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type PaymentMethodFragment = Pick<
|