|
|
@@ -3065,6 +3065,7 @@ export type ShippingMethodQuote = {
|
|
|
price: Scalars['Int'],
|
|
|
priceWithTax: Scalars['Int'],
|
|
|
description: Scalars['String'],
|
|
|
+ metadata?: Maybe<Scalars['JSON']>,
|
|
|
};
|
|
|
|
|
|
export type ShippingMethodSortParameter = {
|
|
|
@@ -3075,12 +3076,6 @@ export type ShippingMethodSortParameter = {
|
|
|
description?: Maybe<SortOrder>,
|
|
|
};
|
|
|
|
|
|
-export type ShippingPrice = {
|
|
|
- __typename?: 'ShippingPrice',
|
|
|
- price: Scalars['Int'],
|
|
|
- priceWithTax: Scalars['Int'],
|
|
|
-};
|
|
|
-
|
|
|
/** The price value where the result has a single price */
|
|
|
export type SinglePrice = {
|
|
|
__typename?: 'SinglePrice',
|
|
|
@@ -3221,10 +3216,18 @@ export type TestShippingMethodOrderLineInput = {
|
|
|
quantity: Scalars['Int'],
|
|
|
};
|
|
|
|
|
|
+export type TestShippingMethodQuote = {
|
|
|
+ __typename?: 'TestShippingMethodQuote',
|
|
|
+ price: Scalars['Int'],
|
|
|
+ priceWithTax: Scalars['Int'],
|
|
|
+ description: Scalars['String'],
|
|
|
+ metadata?: Maybe<Scalars['JSON']>,
|
|
|
+};
|
|
|
+
|
|
|
export type TestShippingMethodResult = {
|
|
|
__typename?: 'TestShippingMethodResult',
|
|
|
eligible: Scalars['Boolean'],
|
|
|
- price?: Maybe<ShippingPrice>,
|
|
|
+ quote?: Maybe<TestShippingMethodQuote>,
|
|
|
};
|
|
|
|
|
|
export type UiState = {
|
|
|
@@ -4289,14 +4292,14 @@ export type TestShippingMethodQueryVariables = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type TestShippingMethodQuery = ({ __typename?: 'Query' } & { testShippingMethod: ({ __typename?: 'TestShippingMethodResult' } & Pick<TestShippingMethodResult, 'eligible'> & { price: Maybe<({ __typename?: 'ShippingPrice' } & Pick<ShippingPrice, 'price' | 'priceWithTax'>)> }) });
|
|
|
+export type TestShippingMethodQuery = ({ __typename?: 'Query' } & { testShippingMethod: ({ __typename?: 'TestShippingMethodResult' } & Pick<TestShippingMethodResult, 'eligible'> & { quote: Maybe<({ __typename?: 'TestShippingMethodQuote' } & Pick<TestShippingMethodQuote, 'price' | 'priceWithTax' | 'metadata'>)> }) });
|
|
|
|
|
|
export type TestEligibleShippingMethodsQueryVariables = {
|
|
|
input: TestEligibleShippingMethodsInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type TestEligibleShippingMethodsQuery = ({ __typename?: 'Query' } & { testEligibleShippingMethods: Array<({ __typename?: 'ShippingMethodQuote' } & Pick<ShippingMethodQuote, 'id' | 'description' | 'price' | 'priceWithTax'>)> });
|
|
|
+export type TestEligibleShippingMethodsQuery = ({ __typename?: 'Query' } & { testEligibleShippingMethods: Array<({ __typename?: 'ShippingMethodQuote' } & Pick<ShippingMethodQuote, 'id' | 'description' | 'price' | 'priceWithTax' | 'metadata'>)> });
|
|
|
type DiscriminateUnion<T, U> = T extends U ? T : never;
|
|
|
|
|
|
type RequireField<T, TNames extends string> = T & { [P in TNames]: (T & { [name: string]: never })[P] };
|
|
|
@@ -5261,7 +5264,7 @@ export namespace TestShippingMethod {
|
|
|
export type Variables = TestShippingMethodQueryVariables;
|
|
|
export type Query = TestShippingMethodQuery;
|
|
|
export type TestShippingMethod = TestShippingMethodQuery['testShippingMethod'];
|
|
|
- export type Price = (NonNullable<TestShippingMethodQuery['testShippingMethod']['price']>);
|
|
|
+ export type Quote = (NonNullable<TestShippingMethodQuery['testShippingMethod']['quote']>);
|
|
|
}
|
|
|
|
|
|
export namespace TestEligibleShippingMethods {
|