|
|
@@ -1,5 +1,6 @@
|
|
|
// tslint:disable
|
|
|
export type Maybe<T> = T | null;
|
|
|
+
|
|
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
|
export type Scalars = {
|
|
|
ID: string;
|
|
|
@@ -7,14 +8,8 @@ export type Scalars = {
|
|
|
Boolean: boolean;
|
|
|
Int: number;
|
|
|
Float: number;
|
|
|
- /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the
|
|
|
- * `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO
|
|
|
- * 8601 standard for representation of dates and times using the Gregorian calendar.
|
|
|
- */
|
|
|
DateTime: any;
|
|
|
- /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
|
JSON: any;
|
|
|
- /** The `Upload` scalar type represents a file upload. */
|
|
|
Upload: any;
|
|
|
};
|
|
|
|
|
|
@@ -308,7 +303,8 @@ export type CreateCustomerInput = {
|
|
|
customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
-/** @description
|
|
|
+/**
|
|
|
+ * @description
|
|
|
* ISO 4217 currency code
|
|
|
*
|
|
|
* @docsCategory common
|
|
|
@@ -680,7 +676,6 @@ export type CustomerList = PaginatedList & {
|
|
|
};
|
|
|
|
|
|
export type CustomField = {
|
|
|
- __typename?: 'CustomField';
|
|
|
name: Scalars['String'];
|
|
|
type: Scalars['String'];
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
@@ -726,7 +721,8 @@ export type DateRange = {
|
|
|
end: Scalars['DateTime'];
|
|
|
};
|
|
|
|
|
|
-/** Expects the same validation formats as the <input type="datetime-local"> HTML element.
|
|
|
+/**
|
|
|
+ * Expects the same validation formats as the <input type="datetime-local"> HTML element.
|
|
|
* See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
|
|
|
*/
|
|
|
export type DateTimeCustomFieldConfig = CustomField & {
|
|
|
@@ -796,7 +792,8 @@ export type FacetValue = Node & {
|
|
|
customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
-/** Which FacetValues are present in the products returned
|
|
|
+/**
|
|
|
+ * Which FacetValues are present in the products returned
|
|
|
* by the search, and in what quantity.
|
|
|
*/
|
|
|
export type FacetValueResult = {
|
|
|
@@ -916,7 +913,8 @@ export type IntCustomFieldConfig = CustomField & {
|
|
|
step?: Maybe<Scalars['Int']>;
|
|
|
};
|
|
|
|
|
|
-/** @description
|
|
|
+/**
|
|
|
+ * @description
|
|
|
* ISO 639-1 language code
|
|
|
*
|
|
|
* @docsCategory common
|
|
|
@@ -1316,12 +1314,14 @@ export type LoginResult = {
|
|
|
|
|
|
export type Mutation = {
|
|
|
__typename?: 'Mutation';
|
|
|
- /** Adds an item to the order. If custom fields are defined on the OrderLine
|
|
|
+ /**
|
|
|
+ * Adds an item to the order. If custom fields are defined on the OrderLine
|
|
|
* entity, a third argument 'customFields' will be available.
|
|
|
*/
|
|
|
addItemToOrder?: Maybe<Order>;
|
|
|
removeOrderLine?: Maybe<Order>;
|
|
|
- /** Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a
|
|
|
+ /**
|
|
|
+ * Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a
|
|
|
* third argument 'customFields' will be available.
|
|
|
*/
|
|
|
adjustOrderLine?: Maybe<Order>;
|
|
|
@@ -1336,7 +1336,8 @@ export type Mutation = {
|
|
|
setCustomerForOrder?: Maybe<Order>;
|
|
|
login: LoginResult;
|
|
|
logout: Scalars['Boolean'];
|
|
|
- /** Regenerate and send a verification token for a new Customer registration. Only
|
|
|
+ /**
|
|
|
+ * Regenerate and send a verification token for a new Customer registration. Only
|
|
|
* applicable if `authOptions.requireVerification` is set to true.
|
|
|
*/
|
|
|
refreshCustomerVerification: Scalars['Boolean'];
|
|
|
@@ -1350,19 +1351,22 @@ export type Mutation = {
|
|
|
updateCustomerAddress: Address;
|
|
|
/** Delete an existing Address */
|
|
|
deleteCustomerAddress: Scalars['Boolean'];
|
|
|
- /** Verify a Customer email address with the token sent to that address. Only
|
|
|
+ /**
|
|
|
+ * Verify a Customer email address with the token sent to that address. Only
|
|
|
* applicable if `authOptions.requireVerification` is set to true.
|
|
|
*/
|
|
|
verifyCustomerAccount: LoginResult;
|
|
|
/** Update the password of the active Customer */
|
|
|
updateCustomerPassword?: Maybe<Scalars['Boolean']>;
|
|
|
- /** Request to update the emailAddress of the active Customer. If `authOptions.requireVerification` is enabled
|
|
|
+ /**
|
|
|
+ * Request to update the emailAddress of the active Customer. If `authOptions.requireVerification` is enabled
|
|
|
* (as is the default), then the `identifierChangeToken` will be assigned to the current User and
|
|
|
* a IdentifierChangeRequestEvent will be raised. This can then be used e.g. by the EmailPlugin to email
|
|
|
* that verification token to the Customer, which is then used to verify the change of email address.
|
|
|
*/
|
|
|
requestUpdateCustomerEmailAddress?: Maybe<Scalars['Boolean']>;
|
|
|
- /** Confirm the update of the emailAddress with the provided token, which has been generated by the
|
|
|
+ /**
|
|
|
+ * Confirm the update of the emailAddress with the provided token, which has been generated by the
|
|
|
* `requestUpdateCustomerEmailAddress` mutation.
|
|
|
*/
|
|
|
updateCustomerEmailAddress?: Maybe<Scalars['Boolean']>;
|
|
|
@@ -1473,7 +1477,6 @@ export type MutationResetPasswordArgs = {
|
|
|
};
|
|
|
|
|
|
export type Node = {
|
|
|
- __typename?: 'Node';
|
|
|
id: Scalars['ID'];
|
|
|
};
|
|
|
|
|
|
@@ -1617,7 +1620,6 @@ export type OrderSortParameter = {
|
|
|
};
|
|
|
|
|
|
export type PaginatedList = {
|
|
|
- __typename?: 'PaginatedList';
|
|
|
items: Array<Node>;
|
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
|
@@ -1640,7 +1642,8 @@ export type Payment = Node & {
|
|
|
export type PaymentInput = {
|
|
|
/** This field should correspond to the `code` property of a PaymentMethodHandler. */
|
|
|
method: Scalars['String'];
|
|
|
- /** This field should contain arbitrary data passed to the specified PaymentMethodHandler's `createPayment()` method
|
|
|
+ /**
|
|
|
+ * This field should contain arbitrary data passed to the specified PaymentMethodHandler's `createPayment()` method
|
|
|
* as the "metadata" argument. For example, it could contain an ID for the payment and other
|
|
|
* data generated by the payment provider.
|
|
|
*/
|
|
|
@@ -1657,7 +1660,8 @@ export type PaymentMethod = Node & {
|
|
|
configArgs: Array<ConfigArg>;
|
|
|
};
|
|
|
|
|
|
-/** "
|
|
|
+/**
|
|
|
+ * "
|
|
|
* @description
|
|
|
* Permissions for administrators and customers. Used to control access to
|
|
|
* GraphQL resolvers via the {@link Allow} decorator.
|
|
|
@@ -2043,10 +2047,12 @@ export type SearchResult = {
|
|
|
slug: Scalars['String'];
|
|
|
productId: Scalars['ID'];
|
|
|
productName: Scalars['String'];
|
|
|
+ /** @deprecated Use `productAsset.preview` instead */
|
|
|
productPreview: Scalars['String'];
|
|
|
productAsset?: Maybe<SearchResultAsset>;
|
|
|
productVariantId: Scalars['ID'];
|
|
|
productVariantName: Scalars['String'];
|
|
|
+ /** @deprecated Use `productVariantAsset.preview` instead */
|
|
|
productVariantPreview: Scalars['String'];
|
|
|
productVariantAsset?: Maybe<SearchResultAsset>;
|
|
|
price: SearchResultPrice;
|
|
|
@@ -2130,7 +2136,6 @@ export type StockAdjustment = Node &
|
|
|
};
|
|
|
|
|
|
export type StockMovement = {
|
|
|
- __typename?: 'StockMovement';
|
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
@@ -2249,6 +2254,7 @@ export type Zone = Node & {
|
|
|
name: Scalars['String'];
|
|
|
members: Array<Country>;
|
|
|
};
|
|
|
+
|
|
|
export type TestOrderFragmentFragment = { __typename?: 'Order' } & Pick<
|
|
|
Order,
|
|
|
'id' | 'code' | 'state' | 'active' | 'total' | 'couponCodes' | 'shipping'
|
|
|
@@ -2264,12 +2270,12 @@ export type TestOrderFragmentFragment = { __typename?: 'Order' } & Pick<
|
|
|
productVariant: { __typename?: 'ProductVariant' } & Pick<ProductVariant, 'id'>;
|
|
|
}
|
|
|
>;
|
|
|
- shippingMethod: Maybe<
|
|
|
+ shippingMethod?: Maybe<
|
|
|
{ __typename?: 'ShippingMethod' } & Pick<ShippingMethod, 'id' | 'code' | 'description'>
|
|
|
>;
|
|
|
- customer: Maybe<
|
|
|
+ customer?: Maybe<
|
|
|
{ __typename?: 'Customer' } & Pick<Customer, 'id'> & {
|
|
|
- user: Maybe<{ __typename?: 'User' } & Pick<User, 'id' | 'identifier'>>;
|
|
|
+ user?: Maybe<{ __typename?: 'User' } & Pick<User, 'id' | 'identifier'>>;
|
|
|
}
|
|
|
>;
|
|
|
history: { __typename?: 'HistoryEntryList' } & {
|
|
|
@@ -2283,7 +2289,7 @@ export type AddItemToOrderMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type AddItemToOrderMutation = { __typename?: 'Mutation' } & {
|
|
|
- addItemToOrder: Maybe<
|
|
|
+ addItemToOrder?: Maybe<
|
|
|
{ __typename?: 'Order' } & Pick<Order, 'id' | 'code' | 'state' | 'active' | 'total'> & {
|
|
|
lines: Array<
|
|
|
{ __typename?: 'OrderLine' } & Pick<OrderLine, 'id' | 'quantity'> & {
|
|
|
@@ -2390,7 +2396,7 @@ export type UpdateEmailAddressMutation = { __typename?: 'Mutation' } & Pick<
|
|
|
export type GetActiveCustomerQueryVariables = {};
|
|
|
|
|
|
export type GetActiveCustomerQuery = { __typename?: 'Query' } & {
|
|
|
- activeCustomer: Maybe<{ __typename?: 'Customer' } & Pick<Customer, 'id' | 'emailAddress'>>;
|
|
|
+ activeCustomer?: Maybe<{ __typename?: 'Customer' } & Pick<Customer, 'id' | 'emailAddress'>>;
|
|
|
};
|
|
|
|
|
|
export type CreateAddressShopMutationVariables = {
|
|
|
@@ -2437,7 +2443,7 @@ export type UpdatePasswordMutation = { __typename?: 'Mutation' } & Pick<Mutation
|
|
|
export type GetActiveOrderQueryVariables = {};
|
|
|
|
|
|
export type GetActiveOrderQuery = { __typename?: 'Query' } & {
|
|
|
- activeOrder: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
+ activeOrder?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
};
|
|
|
|
|
|
export type AdjustItemQuantityMutationVariables = {
|
|
|
@@ -2446,7 +2452,7 @@ export type AdjustItemQuantityMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type AdjustItemQuantityMutation = { __typename?: 'Mutation' } & {
|
|
|
- adjustOrderLine: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
+ adjustOrderLine?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
};
|
|
|
|
|
|
export type RemoveItemFromOrderMutationVariables = {
|
|
|
@@ -2454,7 +2460,7 @@ export type RemoveItemFromOrderMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type RemoveItemFromOrderMutation = { __typename?: 'Mutation' } & {
|
|
|
- removeOrderLine: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
+ removeOrderLine?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
};
|
|
|
|
|
|
export type GetShippingMethodsQueryVariables = {};
|
|
|
@@ -2470,9 +2476,9 @@ export type SetShippingMethodMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type SetShippingMethodMutation = { __typename?: 'Mutation' } & {
|
|
|
- setOrderShippingMethod: Maybe<
|
|
|
+ setOrderShippingMethod?: Maybe<
|
|
|
{ __typename?: 'Order' } & Pick<Order, 'shipping'> & {
|
|
|
- shippingMethod: Maybe<
|
|
|
+ shippingMethod?: Maybe<
|
|
|
{ __typename?: 'ShippingMethod' } & Pick<ShippingMethod, 'id' | 'code' | 'description'>
|
|
|
>;
|
|
|
}
|
|
|
@@ -2484,9 +2490,9 @@ export type SetCustomerForOrderMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type SetCustomerForOrderMutation = { __typename?: 'Mutation' } & {
|
|
|
- setCustomerForOrder: Maybe<
|
|
|
+ setCustomerForOrder?: Maybe<
|
|
|
{ __typename?: 'Order' } & Pick<Order, 'id'> & {
|
|
|
- customer: Maybe<
|
|
|
+ customer?: Maybe<
|
|
|
{ __typename?: 'Customer' } & Pick<
|
|
|
Customer,
|
|
|
'id' | 'emailAddress' | 'firstName' | 'lastName'
|
|
|
@@ -2501,7 +2507,7 @@ export type GetOrderByCodeQueryVariables = {
|
|
|
};
|
|
|
|
|
|
export type GetOrderByCodeQuery = { __typename?: 'Query' } & {
|
|
|
- orderByCode: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
+ orderByCode?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
};
|
|
|
|
|
|
export type GetOrderPromotionsByCodeQueryVariables = {
|
|
|
@@ -2509,7 +2515,7 @@ export type GetOrderPromotionsByCodeQueryVariables = {
|
|
|
};
|
|
|
|
|
|
export type GetOrderPromotionsByCodeQuery = { __typename?: 'Query' } & {
|
|
|
- orderByCode: Maybe<
|
|
|
+ orderByCode?: Maybe<
|
|
|
{ __typename?: 'Order' } & {
|
|
|
promotions: Array<{ __typename?: 'Promotion' } & Pick<Promotion, 'id' | 'name'>>;
|
|
|
} & TestOrderFragmentFragment
|
|
|
@@ -2527,7 +2533,7 @@ export type TransitionToStateMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type TransitionToStateMutation = { __typename?: 'Mutation' } & {
|
|
|
- transitionOrderToState: Maybe<{ __typename?: 'Order' } & Pick<Order, 'id' | 'state'>>;
|
|
|
+ transitionOrderToState?: Maybe<{ __typename?: 'Order' } & Pick<Order, 'id' | 'state'>>;
|
|
|
};
|
|
|
|
|
|
export type SetShippingAddressMutationVariables = {
|
|
|
@@ -2535,9 +2541,9 @@ export type SetShippingAddressMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type SetShippingAddressMutation = { __typename?: 'Mutation' } & {
|
|
|
- setOrderShippingAddress: Maybe<
|
|
|
+ setOrderShippingAddress?: Maybe<
|
|
|
{ __typename?: 'Order' } & {
|
|
|
- shippingAddress: Maybe<
|
|
|
+ shippingAddress?: Maybe<
|
|
|
{ __typename?: 'OrderAddress' } & Pick<
|
|
|
OrderAddress,
|
|
|
| 'fullName'
|
|
|
@@ -2560,9 +2566,9 @@ export type AddPaymentToOrderMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type AddPaymentToOrderMutation = { __typename?: 'Mutation' } & {
|
|
|
- addPaymentToOrder: Maybe<
|
|
|
+ addPaymentToOrder?: Maybe<
|
|
|
{ __typename?: 'Order' } & {
|
|
|
- payments: Maybe<
|
|
|
+ payments?: Maybe<
|
|
|
Array<
|
|
|
{ __typename?: 'Payment' } & Pick<
|
|
|
Payment,
|
|
|
@@ -2577,9 +2583,9 @@ export type AddPaymentToOrderMutation = { __typename?: 'Mutation' } & {
|
|
|
export type GetActiveOrderPaymentsQueryVariables = {};
|
|
|
|
|
|
export type GetActiveOrderPaymentsQuery = { __typename?: 'Query' } & {
|
|
|
- activeOrder: Maybe<
|
|
|
+ activeOrder?: Maybe<
|
|
|
{ __typename?: 'Order' } & Pick<Order, 'id'> & {
|
|
|
- payments: Maybe<
|
|
|
+ payments?: Maybe<
|
|
|
Array<
|
|
|
{ __typename?: 'Payment' } & Pick<
|
|
|
Payment,
|
|
|
@@ -2604,11 +2610,13 @@ export type GetNextOrderStatesQuery = { __typename?: 'Query' } & Pick<Query, 'ne
|
|
|
export type GetCustomerAddressesQueryVariables = {};
|
|
|
|
|
|
export type GetCustomerAddressesQuery = { __typename?: 'Query' } & {
|
|
|
- activeOrder: Maybe<
|
|
|
+ activeOrder?: Maybe<
|
|
|
{ __typename?: 'Order' } & {
|
|
|
- customer: Maybe<
|
|
|
+ customer?: Maybe<
|
|
|
{ __typename?: 'Customer' } & {
|
|
|
- addresses: Maybe<Array<{ __typename?: 'Address' } & Pick<Address, 'id' | 'streetLine1'>>>;
|
|
|
+ addresses?: Maybe<
|
|
|
+ Array<{ __typename?: 'Address' } & Pick<Address, 'id' | 'streetLine1'>>
|
|
|
+ >;
|
|
|
}
|
|
|
>;
|
|
|
}
|
|
|
@@ -2618,9 +2626,9 @@ export type GetCustomerAddressesQuery = { __typename?: 'Query' } & {
|
|
|
export type GetCustomerOrdersQueryVariables = {};
|
|
|
|
|
|
export type GetCustomerOrdersQuery = { __typename?: 'Query' } & {
|
|
|
- activeOrder: Maybe<
|
|
|
+ activeOrder?: Maybe<
|
|
|
{ __typename?: 'Order' } & {
|
|
|
- customer: Maybe<
|
|
|
+ customer?: Maybe<
|
|
|
{ __typename?: 'Customer' } & {
|
|
|
orders: { __typename?: 'OrderList' } & {
|
|
|
items: Array<{ __typename?: 'Order' } & Pick<Order, 'id'>>;
|
|
|
@@ -2636,7 +2644,7 @@ export type ApplyCouponCodeMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type ApplyCouponCodeMutation = { __typename?: 'Mutation' } & {
|
|
|
- applyCouponCode: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
+ applyCouponCode?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
};
|
|
|
|
|
|
export type RemoveCouponCodeMutationVariables = {
|
|
|
@@ -2644,16 +2652,17 @@ export type RemoveCouponCodeMutationVariables = {
|
|
|
};
|
|
|
|
|
|
export type RemoveCouponCodeMutation = { __typename?: 'Mutation' } & {
|
|
|
- removeCouponCode: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
+ removeCouponCode?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>;
|
|
|
};
|
|
|
+
|
|
|
export namespace TestOrderFragment {
|
|
|
export type Fragment = TestOrderFragmentFragment;
|
|
|
export type Adjustments = NonNullable<TestOrderFragmentFragment['adjustments'][0]>;
|
|
|
export type Lines = NonNullable<TestOrderFragmentFragment['lines'][0]>;
|
|
|
- export type ProductVariant = (NonNullable<TestOrderFragmentFragment['lines'][0]>)['productVariant'];
|
|
|
+ export type ProductVariant = NonNullable<TestOrderFragmentFragment['lines'][0]>['productVariant'];
|
|
|
export type ShippingMethod = NonNullable<TestOrderFragmentFragment['shippingMethod']>;
|
|
|
export type Customer = NonNullable<TestOrderFragmentFragment['customer']>;
|
|
|
- export type User = NonNullable<(NonNullable<TestOrderFragmentFragment['customer']>)['user']>;
|
|
|
+ export type User = NonNullable<NonNullable<TestOrderFragmentFragment['customer']>['user']>;
|
|
|
export type History = TestOrderFragmentFragment['history'];
|
|
|
export type Items = NonNullable<TestOrderFragmentFragment['history']['items'][0]>;
|
|
|
}
|
|
|
@@ -2662,12 +2671,12 @@ export namespace AddItemToOrder {
|
|
|
export type Variables = AddItemToOrderMutationVariables;
|
|
|
export type Mutation = AddItemToOrderMutation;
|
|
|
export type AddItemToOrder = NonNullable<AddItemToOrderMutation['addItemToOrder']>;
|
|
|
- export type Lines = NonNullable<(NonNullable<AddItemToOrderMutation['addItemToOrder']>)['lines'][0]>;
|
|
|
- export type ProductVariant = (NonNullable<
|
|
|
- (NonNullable<AddItemToOrderMutation['addItemToOrder']>)['lines'][0]
|
|
|
- >)['productVariant'];
|
|
|
+ export type Lines = NonNullable<NonNullable<AddItemToOrderMutation['addItemToOrder']>['lines'][0]>;
|
|
|
+ export type ProductVariant = NonNullable<
|
|
|
+ NonNullable<AddItemToOrderMutation['addItemToOrder']>['lines'][0]
|
|
|
+ >['productVariant'];
|
|
|
export type Adjustments = NonNullable<
|
|
|
- (NonNullable<AddItemToOrderMutation['addItemToOrder']>)['adjustments'][0]
|
|
|
+ NonNullable<AddItemToOrderMutation['addItemToOrder']>['adjustments'][0]
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
@@ -2782,7 +2791,7 @@ export namespace SetShippingMethod {
|
|
|
export type Mutation = SetShippingMethodMutation;
|
|
|
export type SetOrderShippingMethod = NonNullable<SetShippingMethodMutation['setOrderShippingMethod']>;
|
|
|
export type ShippingMethod = NonNullable<
|
|
|
- (NonNullable<SetShippingMethodMutation['setOrderShippingMethod']>)['shippingMethod']
|
|
|
+ NonNullable<SetShippingMethodMutation['setOrderShippingMethod']>['shippingMethod']
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
@@ -2791,7 +2800,7 @@ export namespace SetCustomerForOrder {
|
|
|
export type Mutation = SetCustomerForOrderMutation;
|
|
|
export type SetCustomerForOrder = NonNullable<SetCustomerForOrderMutation['setCustomerForOrder']>;
|
|
|
export type Customer = NonNullable<
|
|
|
- (NonNullable<SetCustomerForOrderMutation['setCustomerForOrder']>)['customer']
|
|
|
+ NonNullable<SetCustomerForOrderMutation['setCustomerForOrder']>['customer']
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
@@ -2806,7 +2815,7 @@ export namespace GetOrderPromotionsByCode {
|
|
|
export type Query = GetOrderPromotionsByCodeQuery;
|
|
|
export type OrderByCode = TestOrderFragmentFragment;
|
|
|
export type Promotions = NonNullable<
|
|
|
- (NonNullable<GetOrderPromotionsByCodeQuery['orderByCode']>)['promotions'][0]
|
|
|
+ NonNullable<GetOrderPromotionsByCodeQuery['orderByCode']>['promotions'][0]
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
@@ -2827,7 +2836,7 @@ export namespace SetShippingAddress {
|
|
|
export type Mutation = SetShippingAddressMutation;
|
|
|
export type SetOrderShippingAddress = NonNullable<SetShippingAddressMutation['setOrderShippingAddress']>;
|
|
|
export type ShippingAddress = NonNullable<
|
|
|
- (NonNullable<SetShippingAddressMutation['setOrderShippingAddress']>)['shippingAddress']
|
|
|
+ NonNullable<SetShippingAddressMutation['setOrderShippingAddress']>['shippingAddress']
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
@@ -2836,7 +2845,7 @@ export namespace AddPaymentToOrder {
|
|
|
export type Mutation = AddPaymentToOrderMutation;
|
|
|
export type AddPaymentToOrder = TestOrderFragmentFragment;
|
|
|
export type Payments = NonNullable<
|
|
|
- (NonNullable<(NonNullable<AddPaymentToOrderMutation['addPaymentToOrder']>)['payments']>)[0]
|
|
|
+ NonNullable<NonNullable<AddPaymentToOrderMutation['addPaymentToOrder']>['payments']>[0]
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
@@ -2845,7 +2854,7 @@ export namespace GetActiveOrderPayments {
|
|
|
export type Query = GetActiveOrderPaymentsQuery;
|
|
|
export type ActiveOrder = NonNullable<GetActiveOrderPaymentsQuery['activeOrder']>;
|
|
|
export type Payments = NonNullable<
|
|
|
- (NonNullable<(NonNullable<GetActiveOrderPaymentsQuery['activeOrder']>)['payments']>)[0]
|
|
|
+ NonNullable<NonNullable<GetActiveOrderPaymentsQuery['activeOrder']>['payments']>[0]
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
@@ -2858,11 +2867,11 @@ export namespace GetCustomerAddresses {
|
|
|
export type Variables = GetCustomerAddressesQueryVariables;
|
|
|
export type Query = GetCustomerAddressesQuery;
|
|
|
export type ActiveOrder = NonNullable<GetCustomerAddressesQuery['activeOrder']>;
|
|
|
- export type Customer = NonNullable<(NonNullable<GetCustomerAddressesQuery['activeOrder']>)['customer']>;
|
|
|
+ export type Customer = NonNullable<NonNullable<GetCustomerAddressesQuery['activeOrder']>['customer']>;
|
|
|
export type Addresses = NonNullable<
|
|
|
- (NonNullable<
|
|
|
- (NonNullable<(NonNullable<GetCustomerAddressesQuery['activeOrder']>)['customer']>)['addresses']
|
|
|
- >)[0]
|
|
|
+ NonNullable<
|
|
|
+ NonNullable<NonNullable<GetCustomerAddressesQuery['activeOrder']>['customer']>['addresses']
|
|
|
+ >[0]
|
|
|
>;
|
|
|
}
|
|
|
|
|
|
@@ -2870,12 +2879,12 @@ export namespace GetCustomerOrders {
|
|
|
export type Variables = GetCustomerOrdersQueryVariables;
|
|
|
export type Query = GetCustomerOrdersQuery;
|
|
|
export type ActiveOrder = NonNullable<GetCustomerOrdersQuery['activeOrder']>;
|
|
|
- export type Customer = NonNullable<(NonNullable<GetCustomerOrdersQuery['activeOrder']>)['customer']>;
|
|
|
- export type Orders = (NonNullable<
|
|
|
- (NonNullable<GetCustomerOrdersQuery['activeOrder']>)['customer']
|
|
|
- >)['orders'];
|
|
|
+ export type Customer = NonNullable<NonNullable<GetCustomerOrdersQuery['activeOrder']>['customer']>;
|
|
|
+ export type Orders = NonNullable<
|
|
|
+ NonNullable<GetCustomerOrdersQuery['activeOrder']>['customer']
|
|
|
+ >['orders'];
|
|
|
export type Items = NonNullable<
|
|
|
- (NonNullable<(NonNullable<GetCustomerOrdersQuery['activeOrder']>)['customer']>)['orders']['items'][0]
|
|
|
+ NonNullable<NonNullable<GetCustomerOrdersQuery['activeOrder']>['customer']>['orders']['items'][0]
|
|
|
>;
|
|
|
}
|
|
|
|