|
@@ -1851,11 +1851,6 @@ export type Order = Node & {
|
|
|
* methods.
|
|
* methods.
|
|
|
*/
|
|
*/
|
|
|
surcharges: Array<Surcharge>;
|
|
surcharges: Array<Surcharge>;
|
|
|
- /**
|
|
|
|
|
- * Order-level adjustments to the order total, such as discounts from promotions
|
|
|
|
|
- * @deprecated Use `discounts` instead
|
|
|
|
|
- */
|
|
|
|
|
- adjustments: Array<Adjustment>;
|
|
|
|
|
discounts: Array<Discount>;
|
|
discounts: Array<Discount>;
|
|
|
/** An array of all coupon codes applied to the Order */
|
|
/** An array of all coupon codes applied to the Order */
|
|
|
couponCodes: Array<Scalars['String']>;
|
|
couponCodes: Array<Scalars['String']>;
|
|
@@ -1971,8 +1966,6 @@ export type OrderItem = Node & {
|
|
|
/** The proratedUnitPrice including tax */
|
|
/** The proratedUnitPrice including tax */
|
|
|
proratedUnitPriceWithTax: Scalars['Int'];
|
|
proratedUnitPriceWithTax: Scalars['Int'];
|
|
|
unitTax: Scalars['Int'];
|
|
unitTax: Scalars['Int'];
|
|
|
- /** @deprecated `unitPrice` is now always without tax */
|
|
|
|
|
- unitPriceIncludesTax: Scalars['Boolean'];
|
|
|
|
|
taxRate: Scalars['Float'];
|
|
taxRate: Scalars['Float'];
|
|
|
adjustments: Array<Adjustment>;
|
|
adjustments: Array<Adjustment>;
|
|
|
taxLines: Array<TaxLine>;
|
|
taxLines: Array<TaxLine>;
|
|
@@ -2015,8 +2008,6 @@ export type OrderLine = Node & {
|
|
|
proratedUnitPriceWithTax: Scalars['Int'];
|
|
proratedUnitPriceWithTax: Scalars['Int'];
|
|
|
quantity: Scalars['Int'];
|
|
quantity: Scalars['Int'];
|
|
|
items: Array<OrderItem>;
|
|
items: Array<OrderItem>;
|
|
|
- /** @deprecated Use `linePriceWithTax` instead */
|
|
|
|
|
- totalPrice: Scalars['Int'];
|
|
|
|
|
taxRate: Scalars['Float'];
|
|
taxRate: Scalars['Float'];
|
|
|
/** The total price of the line excluding tax and discounts. */
|
|
/** The total price of the line excluding tax and discounts. */
|
|
|
linePrice: Scalars['Int'];
|
|
linePrice: Scalars['Int'];
|
|
@@ -2036,8 +2027,6 @@ export type OrderLine = Node & {
|
|
|
proratedLinePriceWithTax: Scalars['Int'];
|
|
proratedLinePriceWithTax: Scalars['Int'];
|
|
|
/** The total tax on this line */
|
|
/** The total tax on this line */
|
|
|
lineTax: Scalars['Int'];
|
|
lineTax: Scalars['Int'];
|
|
|
- /** @deprecated Use `discounts` instead */
|
|
|
|
|
- adjustments: Array<Adjustment>;
|
|
|
|
|
discounts: Array<Discount>;
|
|
discounts: Array<Discount>;
|
|
|
taxLines: Array<TaxLine>;
|
|
taxLines: Array<TaxLine>;
|
|
|
order: Order;
|
|
order: Order;
|
|
@@ -2244,8 +2233,6 @@ export type ProductVariant = Node & {
|
|
|
assets: Array<Asset>;
|
|
assets: Array<Asset>;
|
|
|
price: Scalars['Int'];
|
|
price: Scalars['Int'];
|
|
|
currencyCode: CurrencyCode;
|
|
currencyCode: CurrencyCode;
|
|
|
- /** @deprecated price now always excludes tax */
|
|
|
|
|
- priceIncludesTax: Scalars['Boolean'];
|
|
|
|
|
priceWithTax: Scalars['Int'];
|
|
priceWithTax: Scalars['Int'];
|
|
|
stockLevel: Scalars['String'];
|
|
stockLevel: Scalars['String'];
|
|
|
taxRateApplied: TaxRate;
|
|
taxRateApplied: TaxRate;
|
|
@@ -2740,7 +2727,6 @@ export type ProductVariantFilterParameter = {
|
|
|
name?: Maybe<StringOperators>;
|
|
name?: Maybe<StringOperators>;
|
|
|
price?: Maybe<NumberOperators>;
|
|
price?: Maybe<NumberOperators>;
|
|
|
currencyCode?: Maybe<StringOperators>;
|
|
currencyCode?: Maybe<StringOperators>;
|
|
|
- priceIncludesTax?: Maybe<BooleanOperators>;
|
|
|
|
|
priceWithTax?: Maybe<NumberOperators>;
|
|
priceWithTax?: Maybe<NumberOperators>;
|
|
|
stockLevel?: Maybe<StringOperators>;
|
|
stockLevel?: Maybe<StringOperators>;
|
|
|
};
|
|
};
|
|
@@ -3083,7 +3069,6 @@ export type GetActiveOrderWithPriceDataQuery = {
|
|
|
| 'linePriceWithTax'
|
|
| 'linePriceWithTax'
|
|
|
> & {
|
|
> & {
|
|
|
items: Array<Pick<OrderItem, 'id' | 'unitPrice' | 'unitPriceWithTax' | 'taxRate'>>;
|
|
items: Array<Pick<OrderItem, 'id' | 'unitPrice' | 'unitPriceWithTax' | 'taxRate'>>;
|
|
|
- adjustments: Array<Pick<Adjustment, 'amount' | 'type'>>;
|
|
|
|
|
taxLines: Array<Pick<TaxLine, 'taxRate' | 'description'>>;
|
|
taxLines: Array<Pick<TaxLine, 'taxRate' | 'description'>>;
|
|
|
}
|
|
}
|
|
|
>;
|
|
>;
|
|
@@ -3599,13 +3584,6 @@ export namespace GetActiveOrderWithPriceData {
|
|
|
>['items']
|
|
>['items']
|
|
|
>[number]
|
|
>[number]
|
|
|
>;
|
|
>;
|
|
|
- export type Adjustments = NonNullable<
|
|
|
|
|
- NonNullable<
|
|
|
|
|
- NonNullable<
|
|
|
|
|
- NonNullable<NonNullable<GetActiveOrderWithPriceDataQuery['activeOrder']>['lines']>[number]
|
|
|
|
|
- >['adjustments']
|
|
|
|
|
- >[number]
|
|
|
|
|
- >;
|
|
|
|
|
export type TaxLines = NonNullable<
|
|
export type TaxLines = NonNullable<
|
|
|
NonNullable<
|
|
NonNullable<
|
|
|
NonNullable<
|
|
NonNullable<
|