|
@@ -315,6 +315,8 @@ export type AuthenticationResult = CurrentUser | InvalidCredentialsError;
|
|
|
|
|
|
|
|
export type BooleanCustomFieldConfig = CustomField & {
|
|
export type BooleanCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'BooleanCustomFieldConfig';
|
|
__typename?: 'BooleanCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -1344,6 +1346,8 @@ export type CurrentUserChannelInput = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type CustomField = {
|
|
export type CustomField = {
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -1548,6 +1552,8 @@ export type DateRange = {
|
|
|
*/
|
|
*/
|
|
|
export type DateTimeCustomFieldConfig = CustomField & {
|
|
export type DateTimeCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'DateTimeCustomFieldConfig';
|
|
__typename?: 'DateTimeCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -1902,6 +1908,8 @@ export type FacetValueTranslationInput = {
|
|
|
|
|
|
|
|
export type FloatCustomFieldConfig = CustomField & {
|
|
export type FloatCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'FloatCustomFieldConfig';
|
|
__typename?: 'FloatCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -2122,6 +2130,8 @@ export type InsufficientStockOnHandError = ErrorResult & {
|
|
|
|
|
|
|
|
export type IntCustomFieldConfig = CustomField & {
|
|
export type IntCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'IntCustomFieldConfig';
|
|
__typename?: 'IntCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -2264,11 +2274,6 @@ export enum JobState {
|
|
|
RUNNING = 'RUNNING'
|
|
RUNNING = 'RUNNING'
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export type KeyValueInput = {
|
|
|
|
|
- key: Scalars['String']['input'];
|
|
|
|
|
- value: Scalars['JSON']['input'];
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* @description
|
|
* @description
|
|
|
* Languages in the form of a ISO 639-1 language code with optional
|
|
* Languages in the form of a ISO 639-1 language code with optional
|
|
@@ -2605,6 +2610,8 @@ export type LanguageNotAvailableError = ErrorResult & {
|
|
|
|
|
|
|
|
export type LocaleStringCustomFieldConfig = CustomField & {
|
|
export type LocaleStringCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'LocaleStringCustomFieldConfig';
|
|
__typename?: 'LocaleStringCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -2621,6 +2628,8 @@ export type LocaleStringCustomFieldConfig = CustomField & {
|
|
|
|
|
|
|
|
export type LocaleTextCustomFieldConfig = CustomField & {
|
|
export type LocaleTextCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'LocaleTextCustomFieldConfig';
|
|
__typename?: 'LocaleTextCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -2819,6 +2828,8 @@ export type Mutation = {
|
|
|
createDraftOrder: Order;
|
|
createDraftOrder: Order;
|
|
|
/** Create a new Facet */
|
|
/** Create a new Facet */
|
|
|
createFacet: Facet;
|
|
createFacet: Facet;
|
|
|
|
|
+ /** Create a single FacetValue */
|
|
|
|
|
+ createFacetValue: FacetValue;
|
|
|
/** Create one or more FacetValues */
|
|
/** Create one or more FacetValues */
|
|
|
createFacetValues: Array<FacetValue>;
|
|
createFacetValues: Array<FacetValue>;
|
|
|
/** Create existing PaymentMethod */
|
|
/** Create existing PaymentMethod */
|
|
@@ -3010,10 +3021,6 @@ export type Mutation = {
|
|
|
setDraftOrderShippingAddress: Order;
|
|
setDraftOrderShippingAddress: Order;
|
|
|
/** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */
|
|
/** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */
|
|
|
setDraftOrderShippingMethod: SetOrderShippingMethodResult;
|
|
setDraftOrderShippingMethod: SetOrderShippingMethodResult;
|
|
|
- /** Set a single key-value pair (automatically scoped based on field configuration) */
|
|
|
|
|
- setKeyValue: SetKeyValueResult;
|
|
|
|
|
- /** Set multiple key-value pairs in a transaction (each automatically scoped) */
|
|
|
|
|
- setKeyValues: Array<SetKeyValueResult>;
|
|
|
|
|
setMainNavExpanded: Scalars['Boolean']['output'];
|
|
setMainNavExpanded: Scalars['Boolean']['output'];
|
|
|
setOrderCustomFields?: Maybe<Order>;
|
|
setOrderCustomFields?: Maybe<Order>;
|
|
|
/** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */
|
|
/** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */
|
|
@@ -3055,6 +3062,8 @@ export type Mutation = {
|
|
|
updateCustomerNote: HistoryEntry;
|
|
updateCustomerNote: HistoryEntry;
|
|
|
/** Update an existing Facet */
|
|
/** Update an existing Facet */
|
|
|
updateFacet: Facet;
|
|
updateFacet: Facet;
|
|
|
|
|
+ /** Update a single FacetValue */
|
|
|
|
|
+ updateFacetValue: FacetValue;
|
|
|
/** Update one or more FacetValues */
|
|
/** Update one or more FacetValues */
|
|
|
updateFacetValues: Array<FacetValue>;
|
|
updateFacetValues: Array<FacetValue>;
|
|
|
updateGlobalSettings: UpdateGlobalSettingsResult;
|
|
updateGlobalSettings: UpdateGlobalSettingsResult;
|
|
@@ -3271,6 +3280,11 @@ export type MutationCreateFacetArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+export type MutationCreateFacetValueArgs = {
|
|
|
|
|
+ input: CreateFacetValueInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
export type MutationCreateFacetValuesArgs = {
|
|
export type MutationCreateFacetValuesArgs = {
|
|
|
input: Array<CreateFacetValueInput>;
|
|
input: Array<CreateFacetValueInput>;
|
|
|
};
|
|
};
|
|
@@ -3756,16 +3770,6 @@ export type MutationSetDraftOrderShippingMethodArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
-export type MutationSetKeyValueArgs = {
|
|
|
|
|
- input: KeyValueInput;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-export type MutationSetKeyValuesArgs = {
|
|
|
|
|
- inputs: Array<KeyValueInput>;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
export type MutationSetMainNavExpandedArgs = {
|
|
export type MutationSetMainNavExpandedArgs = {
|
|
|
expanded: Scalars['Boolean']['input'];
|
|
expanded: Scalars['Boolean']['input'];
|
|
|
};
|
|
};
|
|
@@ -3899,6 +3903,11 @@ export type MutationUpdateFacetArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+export type MutationUpdateFacetValueArgs = {
|
|
|
|
|
+ input: UpdateFacetValueInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
export type MutationUpdateFacetValuesArgs = {
|
|
export type MutationUpdateFacetValuesArgs = {
|
|
|
input: Array<UpdateFacetValueInput>;
|
|
input: Array<UpdateFacetValueInput>;
|
|
|
};
|
|
};
|
|
@@ -5228,14 +5237,11 @@ export type Query = {
|
|
|
/** Returns all configured EntityDuplicators. */
|
|
/** Returns all configured EntityDuplicators. */
|
|
|
entityDuplicators: Array<EntityDuplicatorDefinition>;
|
|
entityDuplicators: Array<EntityDuplicatorDefinition>;
|
|
|
facet?: Maybe<Facet>;
|
|
facet?: Maybe<Facet>;
|
|
|
|
|
+ facetValue?: Maybe<FacetValue>;
|
|
|
facetValues: FacetValueList;
|
|
facetValues: FacetValueList;
|
|
|
facets: FacetList;
|
|
facets: FacetList;
|
|
|
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
|
|
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
|
|
|
/** Get value for a specific key (automatically scoped based on field configuration) */
|
|
/** Get value for a specific key (automatically scoped based on field configuration) */
|
|
|
- getKeyValue?: Maybe<Scalars['JSON']['output']>;
|
|
|
|
|
- /** Get multiple key-value pairs (each automatically scoped) */
|
|
|
|
|
- getKeyValues?: Maybe<Scalars['JSON']['output']>;
|
|
|
|
|
- /** Get value for a specific key (automatically scoped based on field configuration) */
|
|
|
|
|
getSettingsStoreValue?: Maybe<Scalars['JSON']['output']>;
|
|
getSettingsStoreValue?: Maybe<Scalars['JSON']['output']>;
|
|
|
/** Get multiple key-value pairs (each automatically scoped) */
|
|
/** Get multiple key-value pairs (each automatically scoped) */
|
|
|
getSettingsStoreValues?: Maybe<Scalars['JSON']['output']>;
|
|
getSettingsStoreValues?: Maybe<Scalars['JSON']['output']>;
|
|
@@ -5284,6 +5290,8 @@ export type Query = {
|
|
|
shippingEligibilityCheckers: Array<ConfigurableOperationDefinition>;
|
|
shippingEligibilityCheckers: Array<ConfigurableOperationDefinition>;
|
|
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
|
shippingMethods: ShippingMethodList;
|
|
shippingMethods: ShippingMethodList;
|
|
|
|
|
+ /** Generate slug for entity */
|
|
|
|
|
+ slugForEntity: Scalars['String']['output'];
|
|
|
stockLocation?: Maybe<StockLocation>;
|
|
stockLocation?: Maybe<StockLocation>;
|
|
|
stockLocations: StockLocationList;
|
|
stockLocations: StockLocationList;
|
|
|
tag: Tag;
|
|
tag: Tag;
|
|
@@ -5382,6 +5390,11 @@ export type QueryFacetArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+export type QueryFacetValueArgs = {
|
|
|
|
|
+ id: Scalars['ID']['input'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
export type QueryFacetValuesArgs = {
|
|
export type QueryFacetValuesArgs = {
|
|
|
options?: InputMaybe<FacetValueListOptions>;
|
|
options?: InputMaybe<FacetValueListOptions>;
|
|
|
};
|
|
};
|
|
@@ -5392,16 +5405,6 @@ export type QueryFacetsArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
-export type QueryGetKeyValueArgs = {
|
|
|
|
|
- key: Scalars['String']['input'];
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-export type QueryGetKeyValuesArgs = {
|
|
|
|
|
- keys: Array<Scalars['String']['input']>;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
export type QueryGetSettingsStoreValueArgs = {
|
|
export type QueryGetSettingsStoreValueArgs = {
|
|
|
key: Scalars['String']['input'];
|
|
key: Scalars['String']['input'];
|
|
|
};
|
|
};
|
|
@@ -5550,6 +5553,11 @@ export type QueryShippingMethodsArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+export type QuerySlugForEntityArgs = {
|
|
|
|
|
+ input: SlugForEntityInput;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
export type QueryStockLocationArgs = {
|
|
export type QueryStockLocationArgs = {
|
|
|
id: Scalars['ID']['input'];
|
|
id: Scalars['ID']['input'];
|
|
|
};
|
|
};
|
|
@@ -5716,6 +5724,8 @@ export type RegionTranslation = {
|
|
|
|
|
|
|
|
export type RelationCustomFieldConfig = CustomField & {
|
|
export type RelationCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'RelationCustomFieldConfig';
|
|
__typename?: 'RelationCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
entity: Scalars['String']['output'];
|
|
entity: Scalars['String']['output'];
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -5999,13 +6009,6 @@ export type ServerConfig = {
|
|
|
|
|
|
|
|
export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order;
|
|
export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order;
|
|
|
|
|
|
|
|
-export type SetKeyValueResult = {
|
|
|
|
|
- __typename?: 'SetKeyValueResult';
|
|
|
|
|
- error?: Maybe<Scalars['String']['output']>;
|
|
|
|
|
- key: Scalars['String']['output'];
|
|
|
|
|
- result: Scalars['Boolean']['output'];
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type SetOrderCustomerInput = {
|
|
export type SetOrderCustomerInput = {
|
|
|
customerId: Scalars['ID']['input'];
|
|
customerId: Scalars['ID']['input'];
|
|
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6150,6 +6153,13 @@ export type SinglePrice = {
|
|
|
value: Scalars['Money']['output'];
|
|
value: Scalars['Money']['output'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type SlugForEntityInput = {
|
|
|
|
|
+ entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
|
|
|
+ entityName: Scalars['String']['input'];
|
|
|
|
|
+ fieldName: Scalars['String']['input'];
|
|
|
|
|
+ inputValue: Scalars['String']['input'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export enum SortOrder {
|
|
export enum SortOrder {
|
|
|
ASC = 'ASC',
|
|
ASC = 'ASC',
|
|
|
DESC = 'DESC'
|
|
DESC = 'DESC'
|
|
@@ -6264,6 +6274,8 @@ export enum StockMovementType {
|
|
|
|
|
|
|
|
export type StringCustomFieldConfig = CustomField & {
|
|
export type StringCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'StringCustomFieldConfig';
|
|
__typename?: 'StringCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -6317,6 +6329,8 @@ export type StringStructFieldConfig = StructField & {
|
|
|
|
|
|
|
|
export type StructCustomFieldConfig = CustomField & {
|
|
export type StructCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'StructCustomFieldConfig';
|
|
__typename?: 'StructCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
fields: Array<StructFieldConfig>;
|
|
fields: Array<StructFieldConfig>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -6548,6 +6562,8 @@ export type TestShippingMethodResult = {
|
|
|
|
|
|
|
|
export type TextCustomFieldConfig = CustomField & {
|
|
export type TextCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'TextCustomFieldConfig';
|
|
__typename?: 'TextCustomFieldConfig';
|
|
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
label?: Maybe<Array<LocalizedString>>;
|