|
|
@@ -29,7 +29,6 @@ export type AddNoteToOrderInput = {
|
|
|
};
|
|
|
|
|
|
export type Address = Node & {
|
|
|
- __typename?: 'Address';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -48,7 +47,6 @@ export type Address = Node & {
|
|
|
};
|
|
|
|
|
|
export type Adjustment = {
|
|
|
- __typename?: 'Adjustment';
|
|
|
adjustmentSource: Scalars['String'];
|
|
|
type: AdjustmentType;
|
|
|
description: Scalars['String'];
|
|
|
@@ -66,7 +64,6 @@ export enum AdjustmentType {
|
|
|
}
|
|
|
|
|
|
export type Administrator = Node & {
|
|
|
- __typename?: 'Administrator';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -85,7 +82,6 @@ export type AdministratorFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type AdministratorList = PaginatedList & {
|
|
|
- __typename?: 'AdministratorList';
|
|
|
items: Array<Administrator>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -107,7 +103,6 @@ export type AdministratorSortParameter = {
|
|
|
};
|
|
|
|
|
|
export type Asset = Node & {
|
|
|
- __typename?: 'Asset';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -136,7 +131,6 @@ export type AssetFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type AssetList = PaginatedList & {
|
|
|
- __typename?: 'AssetList';
|
|
|
items: Array<Asset>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -178,7 +172,6 @@ export type AuthenticationInput = {
|
|
|
};
|
|
|
|
|
|
export type AuthenticationMethod = Node & {
|
|
|
- __typename?: 'AuthenticationMethod';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -186,7 +179,6 @@ export type AuthenticationMethod = Node & {
|
|
|
};
|
|
|
|
|
|
export type BooleanCustomFieldConfig = CustomField & {
|
|
|
- __typename?: 'BooleanCustomFieldConfig';
|
|
|
name: Scalars['String'];
|
|
|
type: Scalars['String'];
|
|
|
list: Scalars['Boolean'];
|
|
|
@@ -202,7 +194,6 @@ export type BooleanOperators = {
|
|
|
|
|
|
export type Cancellation = Node &
|
|
|
StockMovement & {
|
|
|
- __typename?: 'Cancellation';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -221,7 +212,6 @@ export type CancelOrderInput = {
|
|
|
};
|
|
|
|
|
|
export type Channel = Node & {
|
|
|
- __typename?: 'Channel';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -235,7 +225,6 @@ export type Channel = Node & {
|
|
|
};
|
|
|
|
|
|
export type Collection = Node & {
|
|
|
- __typename?: 'Collection';
|
|
|
isPrivate: Scalars['Boolean'];
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
@@ -261,7 +250,6 @@ export type CollectionProductVariantsArgs = {
|
|
|
};
|
|
|
|
|
|
export type CollectionBreadcrumb = {
|
|
|
- __typename?: 'CollectionBreadcrumb';
|
|
|
id: Scalars['ID'];
|
|
|
name: Scalars['String'];
|
|
|
slug: Scalars['String'];
|
|
|
@@ -279,7 +267,6 @@ export type CollectionFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type CollectionList = PaginatedList & {
|
|
|
- __typename?: 'CollectionList';
|
|
|
items: Array<Collection>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -302,7 +289,6 @@ export type CollectionSortParameter = {
|
|
|
};
|
|
|
|
|
|
export type CollectionTranslation = {
|
|
|
- __typename?: 'CollectionTranslation';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -313,13 +299,11 @@ export type CollectionTranslation = {
|
|
|
};
|
|
|
|
|
|
export type ConfigArg = {
|
|
|
- __typename?: 'ConfigArg';
|
|
|
name: Scalars['String'];
|
|
|
value: Scalars['String'];
|
|
|
};
|
|
|
|
|
|
export type ConfigArgDefinition = {
|
|
|
- __typename?: 'ConfigArgDefinition';
|
|
|
name: Scalars['String'];
|
|
|
type: Scalars['String'];
|
|
|
list: Scalars['Boolean'];
|
|
|
@@ -334,13 +318,11 @@ export type ConfigArgInput = {
|
|
|
};
|
|
|
|
|
|
export type ConfigurableOperation = {
|
|
|
- __typename?: 'ConfigurableOperation';
|
|
|
code: Scalars['String'];
|
|
|
args: Array<ConfigArg>;
|
|
|
};
|
|
|
|
|
|
export type ConfigurableOperationDefinition = {
|
|
|
- __typename?: 'ConfigurableOperationDefinition';
|
|
|
code: Scalars['String'];
|
|
|
args: Array<ConfigArgDefinition>;
|
|
|
description: Scalars['String'];
|
|
|
@@ -352,7 +334,6 @@ export type ConfigurableOperationInput = {
|
|
|
};
|
|
|
|
|
|
export type Coordinate = {
|
|
|
- __typename?: 'Coordinate';
|
|
|
x: Scalars['Float'];
|
|
|
y: Scalars['Float'];
|
|
|
};
|
|
|
@@ -363,7 +344,6 @@ export type CoordinateInput = {
|
|
|
};
|
|
|
|
|
|
export type Country = Node & {
|
|
|
- __typename?: 'Country';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -384,7 +364,6 @@ export type CountryFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type CountryList = PaginatedList & {
|
|
|
- __typename?: 'CountryList';
|
|
|
items: Array<Country>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -405,7 +384,6 @@ export type CountrySortParameter = {
|
|
|
};
|
|
|
|
|
|
export type CountryTranslation = {
|
|
|
- __typename?: 'CountryTranslation';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -932,14 +910,12 @@ export enum CurrencyCode {
|
|
|
}
|
|
|
|
|
|
export type CurrentUser = {
|
|
|
- __typename?: 'CurrentUser';
|
|
|
id: Scalars['ID'];
|
|
|
identifier: Scalars['String'];
|
|
|
channels: Array<CurrentUserChannel>;
|
|
|
};
|
|
|
|
|
|
export type CurrentUserChannel = {
|
|
|
- __typename?: 'CurrentUserChannel';
|
|
|
id: Scalars['ID'];
|
|
|
token: Scalars['String'];
|
|
|
code: Scalars['String'];
|
|
|
@@ -947,7 +923,6 @@ export type CurrentUserChannel = {
|
|
|
};
|
|
|
|
|
|
export type Customer = Node & {
|
|
|
- __typename?: 'Customer';
|
|
|
groups: Array<CustomerGroup>;
|
|
|
history: HistoryEntryList;
|
|
|
id: Scalars['ID'];
|
|
|
@@ -983,7 +958,6 @@ export type CustomerFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type CustomerGroup = Node & {
|
|
|
- __typename?: 'CustomerGroup';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -1002,7 +976,6 @@ export type CustomerGroupFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type CustomerGroupList = PaginatedList & {
|
|
|
- __typename?: 'CustomerGroupList';
|
|
|
items: Array<CustomerGroup>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -1022,7 +995,6 @@ export type CustomerGroupSortParameter = {
|
|
|
};
|
|
|
|
|
|
export type CustomerList = PaginatedList & {
|
|
|
- __typename?: 'CustomerList';
|
|
|
items: Array<Customer>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -1064,7 +1036,6 @@ export type CustomFieldConfig =
|
|
|
| DateTimeCustomFieldConfig;
|
|
|
|
|
|
export type CustomFields = {
|
|
|
- __typename?: 'CustomFields';
|
|
|
Address: Array<CustomFieldConfig>;
|
|
|
Collection: Array<CustomFieldConfig>;
|
|
|
Customer: Array<CustomFieldConfig>;
|
|
|
@@ -1098,7 +1069,6 @@ export type DateRange = {
|
|
|
* See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
|
|
|
*/
|
|
|
export type DateTimeCustomFieldConfig = CustomField & {
|
|
|
- __typename?: 'DateTimeCustomFieldConfig';
|
|
|
name: Scalars['String'];
|
|
|
type: Scalars['String'];
|
|
|
list: Scalars['Boolean'];
|
|
|
@@ -1112,7 +1082,6 @@ export type DateTimeCustomFieldConfig = CustomField & {
|
|
|
};
|
|
|
|
|
|
export type DeletionResponse = {
|
|
|
- __typename?: 'DeletionResponse';
|
|
|
result: DeletionResult;
|
|
|
message?: Maybe<Scalars['String']>;
|
|
|
};
|
|
|
@@ -1125,8 +1094,9 @@ export enum DeletionResult {
|
|
|
}
|
|
|
|
|
|
export enum ErrorCode {
|
|
|
- UnknownError = 'UnknownError',
|
|
|
- MimeTypeError = 'MimeTypeError',
|
|
|
+ UNKNOWN_ERROR = 'UNKNOWN_ERROR',
|
|
|
+ MIME_TYPE_ERROR = 'MIME_TYPE_ERROR',
|
|
|
+ ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR',
|
|
|
}
|
|
|
|
|
|
export type ErrorResult = {
|
|
|
@@ -1135,7 +1105,6 @@ export type ErrorResult = {
|
|
|
};
|
|
|
|
|
|
export type Facet = Node & {
|
|
|
- __typename?: 'Facet';
|
|
|
isPrivate: Scalars['Boolean'];
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
@@ -1158,7 +1127,6 @@ export type FacetFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type FacetList = PaginatedList & {
|
|
|
- __typename?: 'FacetList';
|
|
|
items: Array<Facet>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -1179,7 +1147,6 @@ export type FacetSortParameter = {
|
|
|
};
|
|
|
|
|
|
export type FacetTranslation = {
|
|
|
- __typename?: 'FacetTranslation';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -1195,7 +1162,6 @@ export type FacetTranslationInput = {
|
|
|
};
|
|
|
|
|
|
export type FacetValue = Node & {
|
|
|
- __typename?: 'FacetValue';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -1212,13 +1178,11 @@ export type FacetValue = Node & {
|
|
|
* by the search, and in what quantity.
|
|
|
*/
|
|
|
export type FacetValueResult = {
|
|
|
- __typename?: 'FacetValueResult';
|
|
|
facetValue: FacetValue;
|
|
|
count: Scalars['Int'];
|
|
|
};
|
|
|
|
|
|
export type FacetValueTranslation = {
|
|
|
- __typename?: 'FacetValueTranslation';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -1234,7 +1198,6 @@ export type FacetValueTranslationInput = {
|
|
|
};
|
|
|
|
|
|
export type FloatCustomFieldConfig = CustomField & {
|
|
|
- __typename?: 'FloatCustomFieldConfig';
|
|
|
name: Scalars['String'];
|
|
|
type: Scalars['String'];
|
|
|
list: Scalars['Boolean'];
|
|
|
@@ -1248,7 +1211,6 @@ export type FloatCustomFieldConfig = CustomField & {
|
|
|
};
|
|
|
|
|
|
export type Fulfillment = Node & {
|
|
|
- __typename?: 'Fulfillment';
|
|
|
nextStates: Array<Scalars['String']>;
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
@@ -1266,7 +1228,6 @@ export type FulfillOrderInput = {
|
|
|
};
|
|
|
|
|
|
export type GlobalSettings = {
|
|
|
- __typename?: 'GlobalSettings';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -1277,7 +1238,6 @@ export type GlobalSettings = {
|
|
|
};
|
|
|
|
|
|
export type HistoryEntry = Node & {
|
|
|
- __typename?: 'HistoryEntry';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -1295,7 +1255,6 @@ export type HistoryEntryFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type HistoryEntryList = PaginatedList & {
|
|
|
- __typename?: 'HistoryEntryList';
|
|
|
items: Array<HistoryEntry>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -1340,14 +1299,12 @@ export enum HistoryEntryType {
|
|
|
}
|
|
|
|
|
|
export type ImportInfo = {
|
|
|
- __typename?: 'ImportInfo';
|
|
|
errors?: Maybe<Array<Scalars['String']>>;
|
|
|
processed: Scalars['Int'];
|
|
|
imported: Scalars['Int'];
|
|
|
};
|
|
|
|
|
|
export type IntCustomFieldConfig = CustomField & {
|
|
|
- __typename?: 'IntCustomFieldConfig';
|
|
|
name: Scalars['String'];
|
|
|
type: Scalars['String'];
|
|
|
list: Scalars['Boolean'];
|
|
|
@@ -1361,7 +1318,6 @@ export type IntCustomFieldConfig = CustomField & {
|
|
|
};
|
|
|
|
|
|
export type Job = Node & {
|
|
|
- __typename?: 'Job';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
startedAt?: Maybe<Scalars['DateTime']>;
|
|
|
@@ -1388,7 +1344,6 @@ export type JobFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type JobList = PaginatedList & {
|
|
|
- __typename?: 'JobList';
|
|
|
items: Array<Job>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -1401,7 +1356,6 @@ export type JobListOptions = {
|
|
|
};
|
|
|
|
|
|
export type JobQueue = {
|
|
|
- __typename?: 'JobQueue';
|
|
|
name: Scalars['String'];
|
|
|
running: Scalars['Boolean'];
|
|
|
};
|
|
|
@@ -1757,7 +1711,6 @@ export enum LanguageCode {
|
|
|
}
|
|
|
|
|
|
export type LocaleStringCustomFieldConfig = CustomField & {
|
|
|
- __typename?: 'LocaleStringCustomFieldConfig';
|
|
|
name: Scalars['String'];
|
|
|
type: Scalars['String'];
|
|
|
list: Scalars['Boolean'];
|
|
|
@@ -1770,7 +1723,6 @@ export type LocaleStringCustomFieldConfig = CustomField & {
|
|
|
};
|
|
|
|
|
|
export type LocalizedString = {
|
|
|
- __typename?: 'LocalizedString';
|
|
|
languageCode: LanguageCode;
|
|
|
value: Scalars['String'];
|
|
|
};
|
|
|
@@ -1781,12 +1733,10 @@ export enum LogicalOperator {
|
|
|
}
|
|
|
|
|
|
export type LoginResult = {
|
|
|
- __typename?: 'LoginResult';
|
|
|
user: CurrentUser;
|
|
|
};
|
|
|
|
|
|
export type MimeTypeError = ErrorResult & {
|
|
|
- __typename?: 'MimeTypeError';
|
|
|
code: ErrorCode;
|
|
|
message: Scalars['String'];
|
|
|
fileName: Scalars['String'];
|
|
|
@@ -1800,7 +1750,6 @@ export type MoveCollectionInput = {
|
|
|
};
|
|
|
|
|
|
export type Mutation = {
|
|
|
- __typename?: 'Mutation';
|
|
|
/** Create a new Administrator */
|
|
|
createAdministrator: Administrator;
|
|
|
/** Update an existing Administrator */
|
|
|
@@ -1866,7 +1815,7 @@ export type Mutation = {
|
|
|
/** Update an existing Address */
|
|
|
updateCustomerAddress: Address;
|
|
|
/** Update an existing Address */
|
|
|
- deleteCustomerAddress: Scalars['Boolean'];
|
|
|
+ deleteCustomerAddress: Success;
|
|
|
addNoteToCustomer: Customer;
|
|
|
updateCustomerNote: HistoryEntry;
|
|
|
deleteCustomerNote: DeletionResponse;
|
|
|
@@ -1894,7 +1843,7 @@ export type Mutation = {
|
|
|
addNoteToOrder: Order;
|
|
|
updateOrderNote: HistoryEntry;
|
|
|
deleteOrderNote: DeletionResponse;
|
|
|
- transitionOrderToState?: Maybe<Order>;
|
|
|
+ transitionOrderToState?: Maybe<TransitionOrderToStateResult>;
|
|
|
transitionFulfillmentToState: Fulfillment;
|
|
|
setOrderCustomFields?: Maybe<Order>;
|
|
|
/** Update an existing PaymentMethod */
|
|
|
@@ -2366,7 +2315,6 @@ export type NumberRange = {
|
|
|
};
|
|
|
|
|
|
export type Order = Node & {
|
|
|
- __typename?: 'Order';
|
|
|
nextStates: Array<Scalars['String']>;
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
@@ -2405,7 +2353,6 @@ export type OrderHistoryArgs = {
|
|
|
};
|
|
|
|
|
|
export type OrderAddress = {
|
|
|
- __typename?: 'OrderAddress';
|
|
|
fullName?: Maybe<Scalars['String']>;
|
|
|
company?: Maybe<Scalars['String']>;
|
|
|
streetLine1?: Maybe<Scalars['String']>;
|
|
|
@@ -2434,7 +2381,6 @@ export type OrderFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type OrderItem = Node & {
|
|
|
- __typename?: 'OrderItem';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2449,7 +2395,6 @@ export type OrderItem = Node & {
|
|
|
};
|
|
|
|
|
|
export type OrderLine = Node & {
|
|
|
- __typename?: 'OrderLine';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2471,7 +2416,6 @@ export type OrderLineInput = {
|
|
|
};
|
|
|
|
|
|
export type OrderList = PaginatedList & {
|
|
|
- __typename?: 'OrderList';
|
|
|
items: Array<Order>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -2484,7 +2428,6 @@ export type OrderListOptions = {
|
|
|
};
|
|
|
|
|
|
export type OrderProcessState = {
|
|
|
- __typename?: 'OrderProcessState';
|
|
|
name: Scalars['String'];
|
|
|
to: Array<Scalars['String']>;
|
|
|
};
|
|
|
@@ -2503,13 +2446,21 @@ export type OrderSortParameter = {
|
|
|
total?: Maybe<SortOrder>;
|
|
|
};
|
|
|
|
|
|
+/** Returned if there is an error in transitioning the Order state */
|
|
|
+export type OrderStateTransitionError = ErrorResult & {
|
|
|
+ code: ErrorCode;
|
|
|
+ message: Scalars['String'];
|
|
|
+ transitionError: Scalars['String'];
|
|
|
+ fromState: Scalars['String'];
|
|
|
+ toState: Scalars['String'];
|
|
|
+};
|
|
|
+
|
|
|
export type PaginatedList = {
|
|
|
items: Array<Node>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
|
|
|
export type Payment = Node & {
|
|
|
- __typename?: 'Payment';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2523,7 +2474,6 @@ export type Payment = Node & {
|
|
|
};
|
|
|
|
|
|
export type PaymentMethod = Node & {
|
|
|
- __typename?: 'PaymentMethod';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2541,7 +2491,6 @@ export type PaymentMethodFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type PaymentMethodList = PaginatedList & {
|
|
|
- __typename?: 'PaymentMethodList';
|
|
|
items: Array<PaymentMethod>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -2605,13 +2554,11 @@ export enum Permission {
|
|
|
|
|
|
/** The price range where the result has more than one price */
|
|
|
export type PriceRange = {
|
|
|
- __typename?: 'PriceRange';
|
|
|
min: Scalars['Int'];
|
|
|
max: Scalars['Int'];
|
|
|
};
|
|
|
|
|
|
export type Product = Node & {
|
|
|
- __typename?: 'Product';
|
|
|
enabled: Scalars['Boolean'];
|
|
|
channels: Array<Channel>;
|
|
|
id: Scalars['ID'];
|
|
|
@@ -2642,7 +2589,6 @@ export type ProductFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type ProductList = PaginatedList & {
|
|
|
- __typename?: 'ProductList';
|
|
|
items: Array<Product>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -2655,7 +2601,6 @@ export type ProductListOptions = {
|
|
|
};
|
|
|
|
|
|
export type ProductOption = Node & {
|
|
|
- __typename?: 'ProductOption';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2669,7 +2614,6 @@ export type ProductOption = Node & {
|
|
|
};
|
|
|
|
|
|
export type ProductOptionGroup = Node & {
|
|
|
- __typename?: 'ProductOptionGroup';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2682,7 +2626,6 @@ export type ProductOptionGroup = Node & {
|
|
|
};
|
|
|
|
|
|
export type ProductOptionGroupTranslation = {
|
|
|
- __typename?: 'ProductOptionGroupTranslation';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2698,7 +2641,6 @@ export type ProductOptionGroupTranslationInput = {
|
|
|
};
|
|
|
|
|
|
export type ProductOptionTranslation = {
|
|
|
- __typename?: 'ProductOptionTranslation';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2723,7 +2665,6 @@ export type ProductSortParameter = {
|
|
|
};
|
|
|
|
|
|
export type ProductTranslation = {
|
|
|
- __typename?: 'ProductTranslation';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2743,7 +2684,6 @@ export type ProductTranslationInput = {
|
|
|
};
|
|
|
|
|
|
export type ProductVariant = Node & {
|
|
|
- __typename?: 'ProductVariant';
|
|
|
enabled: Scalars['Boolean'];
|
|
|
stockOnHand: Scalars['Int'];
|
|
|
trackInventory: Scalars['Boolean'];
|
|
|
@@ -2790,7 +2730,6 @@ export type ProductVariantFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type ProductVariantList = PaginatedList & {
|
|
|
- __typename?: 'ProductVariantList';
|
|
|
items: Array<ProductVariant>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -2815,7 +2754,6 @@ export type ProductVariantSortParameter = {
|
|
|
};
|
|
|
|
|
|
export type ProductVariantTranslation = {
|
|
|
- __typename?: 'ProductVariantTranslation';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2831,7 +2769,6 @@ export type ProductVariantTranslationInput = {
|
|
|
};
|
|
|
|
|
|
export type Promotion = Node & {
|
|
|
- __typename?: 'Promotion';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2857,7 +2794,6 @@ export type PromotionFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type PromotionList = PaginatedList & {
|
|
|
- __typename?: 'PromotionList';
|
|
|
items: Array<Promotion>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -2881,7 +2817,6 @@ export type PromotionSortParameter = {
|
|
|
};
|
|
|
|
|
|
export type Query = {
|
|
|
- __typename?: 'Query';
|
|
|
administrators: AdministratorList;
|
|
|
administrator?: Maybe<Administrator>;
|
|
|
/** Get a list of Assets */
|
|
|
@@ -3104,7 +3039,6 @@ export type QueryZoneArgs = {
|
|
|
};
|
|
|
|
|
|
export type Refund = Node & {
|
|
|
- __typename?: 'Refund';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3136,7 +3070,6 @@ export type RemoveProductsFromChannelInput = {
|
|
|
|
|
|
export type Return = Node &
|
|
|
StockMovement & {
|
|
|
- __typename?: 'Return';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3147,7 +3080,6 @@ export type Return = Node &
|
|
|
};
|
|
|
|
|
|
export type Role = Node & {
|
|
|
- __typename?: 'Role';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3165,7 +3097,6 @@ export type RoleFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type RoleList = PaginatedList & {
|
|
|
- __typename?: 'RoleList';
|
|
|
items: Array<Role>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -3187,7 +3118,6 @@ export type RoleSortParameter = {
|
|
|
|
|
|
export type Sale = Node &
|
|
|
StockMovement & {
|
|
|
- __typename?: 'Sale';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3210,19 +3140,16 @@ export type SearchInput = {
|
|
|
};
|
|
|
|
|
|
export type SearchReindexResponse = {
|
|
|
- __typename?: 'SearchReindexResponse';
|
|
|
success: Scalars['Boolean'];
|
|
|
};
|
|
|
|
|
|
export type SearchResponse = {
|
|
|
- __typename?: 'SearchResponse';
|
|
|
items: Array<SearchResult>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
facetValues: Array<FacetValueResult>;
|
|
|
};
|
|
|
|
|
|
export type SearchResult = {
|
|
|
- __typename?: 'SearchResult';
|
|
|
enabled: Scalars['Boolean'];
|
|
|
/** An array of ids of the Collections in which this result appears */
|
|
|
channelIds: Array<Scalars['ID']>;
|
|
|
@@ -3251,7 +3178,6 @@ export type SearchResult = {
|
|
|
};
|
|
|
|
|
|
export type SearchResultAsset = {
|
|
|
- __typename?: 'SearchResultAsset';
|
|
|
id: Scalars['ID'];
|
|
|
preview: Scalars['String'];
|
|
|
focalPoint?: Maybe<Coordinate>;
|
|
|
@@ -3266,7 +3192,6 @@ export type SearchResultSortParameter = {
|
|
|
};
|
|
|
|
|
|
export type ServerConfig = {
|
|
|
- __typename?: 'ServerConfig';
|
|
|
orderProcess: Array<OrderProcessState>;
|
|
|
permittedAssetTypes: Array<Scalars['String']>;
|
|
|
customFieldConfig: CustomFields;
|
|
|
@@ -3278,7 +3203,6 @@ export type SettleRefundInput = {
|
|
|
};
|
|
|
|
|
|
export type ShippingMethod = Node & {
|
|
|
- __typename?: 'ShippingMethod';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3297,7 +3221,6 @@ export type ShippingMethodFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type ShippingMethodList = PaginatedList & {
|
|
|
- __typename?: 'ShippingMethodList';
|
|
|
items: Array<ShippingMethod>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -3310,7 +3233,6 @@ export type ShippingMethodListOptions = {
|
|
|
};
|
|
|
|
|
|
export type ShippingMethodQuote = {
|
|
|
- __typename?: 'ShippingMethodQuote';
|
|
|
id: Scalars['ID'];
|
|
|
price: Scalars['Int'];
|
|
|
priceWithTax: Scalars['Int'];
|
|
|
@@ -3328,7 +3250,6 @@ export type ShippingMethodSortParameter = {
|
|
|
|
|
|
/** The price value where the result has a single price */
|
|
|
export type SinglePrice = {
|
|
|
- __typename?: 'SinglePrice';
|
|
|
value: Scalars['Int'];
|
|
|
};
|
|
|
|
|
|
@@ -3339,7 +3260,6 @@ export enum SortOrder {
|
|
|
|
|
|
export type StockAdjustment = Node &
|
|
|
StockMovement & {
|
|
|
- __typename?: 'StockAdjustment';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3360,7 +3280,6 @@ export type StockMovement = {
|
|
|
export type StockMovementItem = StockAdjustment | Sale | Cancellation | Return;
|
|
|
|
|
|
export type StockMovementList = {
|
|
|
- __typename?: 'StockMovementList';
|
|
|
items: Array<StockMovementItem>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -3379,7 +3298,6 @@ export enum StockMovementType {
|
|
|
}
|
|
|
|
|
|
export type StringCustomFieldConfig = CustomField & {
|
|
|
- __typename?: 'StringCustomFieldConfig';
|
|
|
name: Scalars['String'];
|
|
|
type: Scalars['String'];
|
|
|
list: Scalars['Boolean'];
|
|
|
@@ -3393,7 +3311,6 @@ export type StringCustomFieldConfig = CustomField & {
|
|
|
};
|
|
|
|
|
|
export type StringFieldOption = {
|
|
|
- __typename?: 'StringFieldOption';
|
|
|
value: Scalars['String'];
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
};
|
|
|
@@ -3403,8 +3320,12 @@ export type StringOperators = {
|
|
|
contains?: Maybe<Scalars['String']>;
|
|
|
};
|
|
|
|
|
|
+/** Indicates that an operation succeeded, where we do not want to return any more specific information. */
|
|
|
+export type Success = {
|
|
|
+ success: Scalars['Boolean'];
|
|
|
+};
|
|
|
+
|
|
|
export type TaxCategory = Node & {
|
|
|
- __typename?: 'TaxCategory';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3412,7 +3333,6 @@ export type TaxCategory = Node & {
|
|
|
};
|
|
|
|
|
|
export type TaxRate = Node & {
|
|
|
- __typename?: 'TaxRate';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3433,7 +3353,6 @@ export type TaxRateFilterParameter = {
|
|
|
};
|
|
|
|
|
|
export type TaxRateList = PaginatedList & {
|
|
|
- __typename?: 'TaxRateList';
|
|
|
items: Array<TaxRate>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -3471,7 +3390,6 @@ export type TestShippingMethodOrderLineInput = {
|
|
|
};
|
|
|
|
|
|
export type TestShippingMethodQuote = {
|
|
|
- __typename?: 'TestShippingMethodQuote';
|
|
|
price: Scalars['Int'];
|
|
|
priceWithTax: Scalars['Int'];
|
|
|
description: Scalars['String'];
|
|
|
@@ -3479,11 +3397,12 @@ export type TestShippingMethodQuote = {
|
|
|
};
|
|
|
|
|
|
export type TestShippingMethodResult = {
|
|
|
- __typename?: 'TestShippingMethodResult';
|
|
|
eligible: Scalars['Boolean'];
|
|
|
quote?: Maybe<TestShippingMethodQuote>;
|
|
|
};
|
|
|
|
|
|
+export type TransitionOrderToStateResult = Order | OrderStateTransitionError;
|
|
|
+
|
|
|
export type UpdateAddressInput = {
|
|
|
id: Scalars['ID'];
|
|
|
fullName?: Maybe<Scalars['String']>;
|
|
|
@@ -3701,7 +3620,6 @@ export type UpdateZoneInput = {
|
|
|
};
|
|
|
|
|
|
export type User = Node & {
|
|
|
- __typename?: 'User';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3714,7 +3632,6 @@ export type User = Node & {
|
|
|
};
|
|
|
|
|
|
export type Zone = Node & {
|
|
|
- __typename?: 'Zone';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -3726,95 +3643,70 @@ export type SearchProductsAdminQueryVariables = Exact<{
|
|
|
input: SearchInput;
|
|
|
}>;
|
|
|
|
|
|
-export type SearchProductsAdminQuery = { __typename?: 'Query' } & {
|
|
|
- search: { __typename?: 'SearchResponse' } & Pick<SearchResponse, 'totalItems'> & {
|
|
|
- items: Array<
|
|
|
- { __typename?: 'SearchResult' } & Pick<
|
|
|
- SearchResult,
|
|
|
- | 'enabled'
|
|
|
- | 'productId'
|
|
|
- | 'productName'
|
|
|
- | 'productPreview'
|
|
|
- | 'productVariantId'
|
|
|
- | 'productVariantName'
|
|
|
- | 'productVariantPreview'
|
|
|
- | 'sku'
|
|
|
- > & {
|
|
|
- productAsset?: Maybe<
|
|
|
- { __typename?: 'SearchResultAsset' } & Pick<
|
|
|
- SearchResultAsset,
|
|
|
- 'id' | 'preview'
|
|
|
- > & {
|
|
|
- focalPoint?: Maybe<
|
|
|
- { __typename?: 'Coordinate' } & Pick<Coordinate, 'x' | 'y'>
|
|
|
- >;
|
|
|
- }
|
|
|
- >;
|
|
|
- productVariantAsset?: Maybe<
|
|
|
- { __typename?: 'SearchResultAsset' } & Pick<
|
|
|
- SearchResultAsset,
|
|
|
- 'id' | 'preview'
|
|
|
- > & {
|
|
|
- focalPoint?: Maybe<
|
|
|
- { __typename?: 'Coordinate' } & Pick<Coordinate, 'x' | 'y'>
|
|
|
- >;
|
|
|
- }
|
|
|
- >;
|
|
|
+export type SearchProductsAdminQuery = {
|
|
|
+ search: Pick<SearchResponse, 'totalItems'> & {
|
|
|
+ items: Array<
|
|
|
+ Pick<
|
|
|
+ SearchResult,
|
|
|
+ | 'enabled'
|
|
|
+ | 'productId'
|
|
|
+ | 'productName'
|
|
|
+ | 'productPreview'
|
|
|
+ | 'productVariantId'
|
|
|
+ | 'productVariantName'
|
|
|
+ | 'productVariantPreview'
|
|
|
+ | 'sku'
|
|
|
+ > & {
|
|
|
+ productAsset?: Maybe<
|
|
|
+ Pick<SearchResultAsset, 'id' | 'preview'> & {
|
|
|
+ focalPoint?: Maybe<Pick<Coordinate, 'x' | 'y'>>;
|
|
|
+ }
|
|
|
+ >;
|
|
|
+ productVariantAsset?: Maybe<
|
|
|
+ Pick<SearchResultAsset, 'id' | 'preview'> & {
|
|
|
+ focalPoint?: Maybe<Pick<Coordinate, 'x' | 'y'>>;
|
|
|
}
|
|
|
- >;
|
|
|
- };
|
|
|
+ >;
|
|
|
+ }
|
|
|
+ >;
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
export type SearchFacetValuesQueryVariables = Exact<{
|
|
|
input: SearchInput;
|
|
|
}>;
|
|
|
|
|
|
-export type SearchFacetValuesQuery = { __typename?: 'Query' } & {
|
|
|
- search: { __typename?: 'SearchResponse' } & Pick<SearchResponse, 'totalItems'> & {
|
|
|
- facetValues: Array<
|
|
|
- { __typename?: 'FacetValueResult' } & Pick<FacetValueResult, 'count'> & {
|
|
|
- facetValue: { __typename?: 'FacetValue' } & Pick<FacetValue, 'id' | 'name'>;
|
|
|
- }
|
|
|
- >;
|
|
|
- };
|
|
|
+export type SearchFacetValuesQuery = {
|
|
|
+ search: Pick<SearchResponse, 'totalItems'> & {
|
|
|
+ facetValues: Array<Pick<FacetValueResult, 'count'> & { facetValue: Pick<FacetValue, 'id' | 'name'> }>;
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
export type SearchGetPricesQueryVariables = Exact<{
|
|
|
input: SearchInput;
|
|
|
}>;
|
|
|
|
|
|
-export type SearchGetPricesQuery = { __typename?: 'Query' } & {
|
|
|
- search: { __typename?: 'SearchResponse' } & {
|
|
|
- items: Array<
|
|
|
- { __typename?: 'SearchResult' } & {
|
|
|
- price:
|
|
|
- | ({ __typename?: 'PriceRange' } & Pick<PriceRange, 'min' | 'max'>)
|
|
|
- | ({ __typename?: 'SinglePrice' } & Pick<SinglePrice, 'value'>);
|
|
|
- priceWithTax:
|
|
|
- | ({ __typename?: 'PriceRange' } & Pick<PriceRange, 'min' | 'max'>)
|
|
|
- | ({ __typename?: 'SinglePrice' } & Pick<SinglePrice, 'value'>);
|
|
|
- }
|
|
|
- >;
|
|
|
+export type SearchGetPricesQuery = {
|
|
|
+ search: {
|
|
|
+ items: Array<{
|
|
|
+ price: Pick<PriceRange, 'min' | 'max'> | Pick<SinglePrice, 'value'>;
|
|
|
+ priceWithTax: Pick<PriceRange, 'min' | 'max'> | Pick<SinglePrice, 'value'>;
|
|
|
+ }>;
|
|
|
};
|
|
|
};
|
|
|
|
|
|
export type ReindexMutationVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
-export type ReindexMutation = { __typename?: 'Mutation' } & {
|
|
|
- reindex: { __typename?: 'Job' } & Pick<
|
|
|
- Job,
|
|
|
- 'id' | 'queueName' | 'state' | 'progress' | 'duration' | 'result'
|
|
|
- >;
|
|
|
+export type ReindexMutation = {
|
|
|
+ reindex: Pick<Job, 'id' | 'queueName' | 'state' | 'progress' | 'duration' | 'result'>;
|
|
|
};
|
|
|
|
|
|
export type GetJobInfoQueryVariables = Exact<{
|
|
|
id: Scalars['ID'];
|
|
|
}>;
|
|
|
|
|
|
-export type GetJobInfoQuery = { __typename?: 'Query' } & {
|
|
|
- job?: Maybe<
|
|
|
- { __typename?: 'Job' } & Pick<Job, 'id' | 'queueName' | 'state' | 'progress' | 'duration' | 'result'>
|
|
|
- >;
|
|
|
+export type GetJobInfoQuery = {
|
|
|
+ job?: Maybe<Pick<Job, 'id' | 'queueName' | 'state' | 'progress' | 'duration' | 'result'>>;
|
|
|
};
|
|
|
|
|
|
type DiscriminateUnion<T, U> = T extends U ? T : never;
|