mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
Update schemas
This commit is contained in:
parent
1fac8e187d
commit
28a8c20f83
18
framework/shopify/schema.d.ts
vendored
18
framework/shopify/schema.d.ts
vendored
@ -393,8 +393,6 @@ export type Checkout = Node & {
|
|||||||
taxExempt: Scalars['Boolean']
|
taxExempt: Scalars['Boolean']
|
||||||
/** Specifies if taxes are included in the line item and shipping line prices. */
|
/** Specifies if taxes are included in the line item and shipping line prices. */
|
||||||
taxesIncluded: Scalars['Boolean']
|
taxesIncluded: Scalars['Boolean']
|
||||||
/** The sum of all the duties applied to the line items in the checkout. */
|
|
||||||
totalDuties?: Maybe<MoneyV2>
|
|
||||||
/**
|
/**
|
||||||
* The sum of all the prices of all the items in the checkout, taxes and discounts included.
|
* The sum of all the prices of all the items in the checkout, taxes and discounts included.
|
||||||
* @deprecated Use `totalPriceV2` instead
|
* @deprecated Use `totalPriceV2` instead
|
||||||
@ -1663,8 +1661,6 @@ export enum CountryCode {
|
|||||||
Zm = 'ZM',
|
Zm = 'ZM',
|
||||||
/** Zimbabwe. */
|
/** Zimbabwe. */
|
||||||
Zw = 'ZW',
|
Zw = 'ZW',
|
||||||
/** Unknown Region. */
|
|
||||||
Zz = 'ZZ',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Credit card information used for a payment. */
|
/** Credit card information used for a payment. */
|
||||||
@ -2565,8 +2561,6 @@ export type ExternalVideo = Node &
|
|||||||
alt?: Maybe<Scalars['String']>
|
alt?: Maybe<Scalars['String']>
|
||||||
/** The URL. */
|
/** The URL. */
|
||||||
embeddedUrl: Scalars['URL']
|
embeddedUrl: Scalars['URL']
|
||||||
/** The host of the external video. */
|
|
||||||
host: MediaHost
|
|
||||||
/** Globally unique identifier. */
|
/** Globally unique identifier. */
|
||||||
id: Scalars['ID']
|
id: Scalars['ID']
|
||||||
/** The media content type. */
|
/** The media content type. */
|
||||||
@ -2941,14 +2935,6 @@ export type MediaEdge = {
|
|||||||
node: Media
|
node: Media
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Host for a Media Resource. */
|
|
||||||
export enum MediaHost {
|
|
||||||
/** Host for YouTube embedded videos. */
|
|
||||||
Youtube = 'YOUTUBE',
|
|
||||||
/** Host for Vimeo embedded videos. */
|
|
||||||
Vimeo = 'VIMEO',
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Represents a Shopify hosted image. */
|
/** Represents a Shopify hosted image. */
|
||||||
export type MediaImage = Node &
|
export type MediaImage = Node &
|
||||||
Media & {
|
Media & {
|
||||||
@ -3517,8 +3503,6 @@ export type Order = Node & {
|
|||||||
currencyCode: CurrencyCode
|
currencyCode: CurrencyCode
|
||||||
/** The subtotal of line items and their discounts, excluding line items that have been removed. Does not contain order-level discounts, duties, shipping costs, or shipping discounts. Taxes are not included unless the order is a taxes-included order. */
|
/** The subtotal of line items and their discounts, excluding line items that have been removed. Does not contain order-level discounts, duties, shipping costs, or shipping discounts. Taxes are not included unless the order is a taxes-included order. */
|
||||||
currentSubtotalPrice: MoneyV2
|
currentSubtotalPrice: MoneyV2
|
||||||
/** The total cost of duties for the order, including refunds. */
|
|
||||||
currentTotalDuties?: Maybe<MoneyV2>
|
|
||||||
/** The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed. */
|
/** The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed. */
|
||||||
currentTotalPrice: MoneyV2
|
currentTotalPrice: MoneyV2
|
||||||
/** The total of all taxes applied to the order, excluding taxes for returned line items. */
|
/** The total of all taxes applied to the order, excluding taxes for returned line items. */
|
||||||
@ -3548,8 +3532,6 @@ export type Order = Node & {
|
|||||||
name: Scalars['String']
|
name: Scalars['String']
|
||||||
/** A unique numeric identifier for the order for use by shop owner and customer. */
|
/** A unique numeric identifier for the order for use by shop owner and customer. */
|
||||||
orderNumber: Scalars['Int']
|
orderNumber: Scalars['Int']
|
||||||
/** The total cost of duties charged at checkout. */
|
|
||||||
originalTotalDuties?: Maybe<MoneyV2>
|
|
||||||
/** The total price of the order before any applied edits. */
|
/** The total price of the order before any applied edits. */
|
||||||
originalTotalPrice: MoneyV2
|
originalTotalPrice: MoneyV2
|
||||||
/** The customer's phone number for receiving SMS notifications. */
|
/** The customer's phone number for receiving SMS notifications. */
|
||||||
|
@ -769,11 +769,6 @@ type Checkout implements Node {
|
|||||||
"""
|
"""
|
||||||
taxesIncluded: Boolean!
|
taxesIncluded: Boolean!
|
||||||
|
|
||||||
"""
|
|
||||||
The sum of all the duties applied to the line items in the checkout.
|
|
||||||
"""
|
|
||||||
totalDuties: MoneyV2
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
The sum of all the prices of all the items in the checkout, taxes and discounts included.
|
The sum of all the prices of all the items in the checkout, taxes and discounts included.
|
||||||
"""
|
"""
|
||||||
@ -3311,11 +3306,6 @@ enum CountryCode {
|
|||||||
Zimbabwe.
|
Zimbabwe.
|
||||||
"""
|
"""
|
||||||
ZW
|
ZW
|
||||||
|
|
||||||
"""
|
|
||||||
Unknown Region.
|
|
||||||
"""
|
|
||||||
ZZ
|
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@ -5188,11 +5178,6 @@ type ExternalVideo implements Node & Media {
|
|||||||
"""
|
"""
|
||||||
embeddedUrl: URL!
|
embeddedUrl: URL!
|
||||||
|
|
||||||
"""
|
|
||||||
The host of the external video.
|
|
||||||
"""
|
|
||||||
host: MediaHost!
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Globally unique identifier.
|
Globally unique identifier.
|
||||||
"""
|
"""
|
||||||
@ -5818,21 +5803,6 @@ type MediaEdge {
|
|||||||
node: Media!
|
node: Media!
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
|
||||||
Host for a Media Resource.
|
|
||||||
"""
|
|
||||||
enum MediaHost {
|
|
||||||
"""
|
|
||||||
Host for YouTube embedded videos.
|
|
||||||
"""
|
|
||||||
YOUTUBE
|
|
||||||
|
|
||||||
"""
|
|
||||||
Host for Vimeo embedded videos.
|
|
||||||
"""
|
|
||||||
VIMEO
|
|
||||||
}
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Represents a Shopify hosted image.
|
Represents a Shopify hosted image.
|
||||||
"""
|
"""
|
||||||
@ -6775,11 +6745,6 @@ type Order implements Node {
|
|||||||
"""
|
"""
|
||||||
currentSubtotalPrice: MoneyV2!
|
currentSubtotalPrice: MoneyV2!
|
||||||
|
|
||||||
"""
|
|
||||||
The total cost of duties for the order, including refunds.
|
|
||||||
"""
|
|
||||||
currentTotalDuties: MoneyV2
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed.
|
The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed.
|
||||||
"""
|
"""
|
||||||
@ -6896,11 +6861,6 @@ type Order implements Node {
|
|||||||
"""
|
"""
|
||||||
orderNumber: Int!
|
orderNumber: Int!
|
||||||
|
|
||||||
"""
|
|
||||||
The total cost of duties charged at checkout.
|
|
||||||
"""
|
|
||||||
originalTotalDuties: MoneyV2
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
The total price of the order before any applied edits.
|
The total price of the order before any applied edits.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user