|
|
@@ -1610,11 +1610,13 @@ export type ModifyOrderInput = {
|
|
|
export type AddItemInput = {
|
|
|
productVariantId: Scalars['ID'];
|
|
|
quantity: Scalars['Int'];
|
|
|
+ customFields?: Maybe<OrderLineCustomFieldsInput>;
|
|
|
};
|
|
|
|
|
|
export type AdjustOrderLineInput = {
|
|
|
orderLineId: Scalars['ID'];
|
|
|
quantity: Scalars['Int'];
|
|
|
+ customFields?: Maybe<OrderLineCustomFieldsInput>;
|
|
|
};
|
|
|
|
|
|
export type SurchargeInput = {
|
|
|
@@ -3839,7 +3841,7 @@ export type OrderLine = Node & {
|
|
|
discounts: Array<Adjustment>;
|
|
|
taxLines: Array<TaxLine>;
|
|
|
order: Order;
|
|
|
- customFields?: Maybe<Scalars['JSON']>;
|
|
|
+ customFields?: Maybe<OrderLineCustomFields>;
|
|
|
};
|
|
|
|
|
|
export type Payment = Node & {
|
|
|
@@ -4584,6 +4586,17 @@ export type HistoryEntrySortParameter = {
|
|
|
updatedAt?: Maybe<SortOrder>;
|
|
|
};
|
|
|
|
|
|
+export type OrderLineCustomFields = {
|
|
|
+ __typename?: 'OrderLineCustomFields';
|
|
|
+ test?: Maybe<Scalars['String']>;
|
|
|
+ test2?: Maybe<Scalars['String']>;
|
|
|
+};
|
|
|
+
|
|
|
+export type OrderLineCustomFieldsInput = {
|
|
|
+ test?: Maybe<Scalars['String']>;
|
|
|
+ test2?: Maybe<Scalars['String']>;
|
|
|
+};
|
|
|
+
|
|
|
export type AuthenticationInput = {
|
|
|
native?: Maybe<NativeAuthInput>;
|
|
|
};
|
|
|
@@ -5460,6 +5473,12 @@ export type OrderFragment = (
|
|
|
& { customer?: Maybe<(
|
|
|
{ __typename?: 'Customer' }
|
|
|
& Pick<Customer, 'id' | 'firstName' | 'lastName'>
|
|
|
+ )>, shippingLines: Array<(
|
|
|
+ { __typename?: 'ShippingLine' }
|
|
|
+ & { shippingMethod: (
|
|
|
+ { __typename?: 'ShippingMethod' }
|
|
|
+ & Pick<ShippingMethod, 'name'>
|
|
|
+ ) }
|
|
|
)> }
|
|
|
);
|
|
|
|
|
|
@@ -8136,6 +8155,8 @@ export namespace OrderAddress {
|
|
|
export namespace Order {
|
|
|
export type Fragment = OrderFragment;
|
|
|
export type Customer = (NonNullable<OrderFragment['customer']>);
|
|
|
+ export type ShippingLines = NonNullable<(NonNullable<OrderFragment['shippingLines']>)[number]>;
|
|
|
+ export type ShippingMethod = (NonNullable<NonNullable<(NonNullable<OrderFragment['shippingLines']>)[number]>['shippingMethod']>);
|
|
|
}
|
|
|
|
|
|
export namespace Fulfillment {
|