@anker-in/shopify-sdk 1.2.0-beta.1 → 1.2.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fragments/index.d.mts +13 -1
- package/dist/fragments/index.d.ts +13 -1
- package/dist/fragments/index.js +108 -0
- package/dist/fragments/index.js.map +1 -1
- package/dist/fragments/index.mjs +105 -1
- package/dist/fragments/index.mjs.map +1 -1
- package/dist/index.d.mts +148 -4
- package/dist/index.d.ts +148 -4
- package/dist/index.js +396 -47
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +387 -48
- package/dist/index.mjs.map +1 -1
- package/dist/queries/index.d.mts +6 -1
- package/dist/queries/index.d.ts +6 -1
- package/dist/queries/index.js +75 -0
- package/dist/queries/index.js.map +1 -1
- package/dist/queries/index.mjs +75 -1
- package/dist/queries/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ShopifyClient } from './client/index.mjs';
|
|
2
2
|
export { FetchOptions, GraphQLError, GraphQLRequest, GraphQLResponse, createShopifyClient } from './client/index.mjs';
|
|
3
|
-
export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageInfoFragment, productFragment, seoFragment, variantFragment } from './fragments/index.mjs';
|
|
4
|
-
export { getAllProductsPathsQuery, getCartQuery, getProductQuery, getProductsByHandlesQuery, getProductsQuery } from './queries/index.mjs';
|
|
3
|
+
export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageFragment, pageInfoFragment, pageWithMetafieldsFragment, productFragment, seoFragment, shopFragment, shopWithMetafieldsFragment, variantFragment } from './fragments/index.mjs';
|
|
4
|
+
export { getAllProductsPathsQuery, getCartQuery, getCollectionsByHandlesQuery, getProductQuery, getProductsByHandlesQuery, getProductsQuery } from './queries/index.mjs';
|
|
5
5
|
export { addCartItemsMutation, createCartMutation, removeCartItemsMutation, updateBuyerIdentityMutation, updateCartAttributesMutation, updateCartDeliveryOptionsMutation, updateCartDiscountCodeMutation, updateCartItemsMutation } from './mutations/index.mjs';
|
|
6
6
|
export * from '@anker-in/shopify-core';
|
|
7
7
|
|
|
@@ -10274,6 +10274,7 @@ interface NormalizedProduct {
|
|
|
10274
10274
|
interface GetProductOptions {
|
|
10275
10275
|
handle: string;
|
|
10276
10276
|
locale: string;
|
|
10277
|
+
graphqlQuery?: string;
|
|
10277
10278
|
metafieldIdentifiers?: Array<{
|
|
10278
10279
|
namespace: string;
|
|
10279
10280
|
key: string;
|
|
@@ -10287,6 +10288,7 @@ interface GetAllProductsOptions {
|
|
|
10287
10288
|
first?: number;
|
|
10288
10289
|
after?: string;
|
|
10289
10290
|
query?: string;
|
|
10291
|
+
graphqlQuery?: string;
|
|
10290
10292
|
sortKey?: 'TITLE' | 'PRODUCT_TYPE' | 'VENDOR' | 'UPDATED_AT' | 'CREATED_AT' | 'BEST_SELLING' | 'PRICE' | 'RELEVANCE';
|
|
10291
10293
|
reverse?: boolean;
|
|
10292
10294
|
metafieldIdentifiers?: Array<{
|
|
@@ -10300,6 +10302,7 @@ interface GetAllProductsOptions {
|
|
|
10300
10302
|
interface GetProductsByHandlesOptions {
|
|
10301
10303
|
handles: string[];
|
|
10302
10304
|
locale: string;
|
|
10305
|
+
graphqlQuery?: string;
|
|
10303
10306
|
metafieldIdentifiers?: {
|
|
10304
10307
|
product: HasMetafieldsIdentifier[];
|
|
10305
10308
|
variant: HasMetafieldsIdentifier[];
|
|
@@ -10317,6 +10320,19 @@ interface NormalizedProductsConnection {
|
|
|
10317
10320
|
endCursor?: string;
|
|
10318
10321
|
};
|
|
10319
10322
|
}
|
|
10323
|
+
/**
|
|
10324
|
+
* Options for getCollectionsByHandles API
|
|
10325
|
+
*/
|
|
10326
|
+
interface GetCollectionsByHandlesOptions {
|
|
10327
|
+
handles: string[];
|
|
10328
|
+
locale: string;
|
|
10329
|
+
graphqlQuery?: string;
|
|
10330
|
+
metafieldIdentifiers?: {
|
|
10331
|
+
product: HasMetafieldsIdentifier[];
|
|
10332
|
+
variant: HasMetafieldsIdentifier[];
|
|
10333
|
+
collection: HasMetafieldsIdentifier[];
|
|
10334
|
+
};
|
|
10335
|
+
}
|
|
10320
10336
|
|
|
10321
10337
|
/**
|
|
10322
10338
|
* Product Normalization Functions
|
|
@@ -10427,7 +10443,7 @@ declare function getProducts(client: ShopifyClient, options: GetAllProductsOptio
|
|
|
10427
10443
|
* })
|
|
10428
10444
|
* ```
|
|
10429
10445
|
*/
|
|
10430
|
-
declare function getProductsByHandles(client: ShopifyClient, options: GetProductsByHandlesOptions): Promise<NormalizedProduct[]>;
|
|
10446
|
+
declare function getProductsByHandles(client: ShopifyClient, options: GetProductsByHandlesOptions): Promise<(NormalizedProduct | undefined)[]>;
|
|
10431
10447
|
|
|
10432
10448
|
interface NormalizedAttribute {
|
|
10433
10449
|
key: string;
|
|
@@ -10577,6 +10593,8 @@ interface GetCartOptions {
|
|
|
10577
10593
|
id?: string;
|
|
10578
10594
|
/** Cookie adapter for retrieving cart ID from cookies */
|
|
10579
10595
|
cookieAdapter?: CartCookieAdapter;
|
|
10596
|
+
/** Custom GraphQL query string (optional, will use default query if not provided) */
|
|
10597
|
+
graphqlQuery?: string;
|
|
10580
10598
|
/** Metafield identifiers */
|
|
10581
10599
|
metafieldIdentifiers?: {
|
|
10582
10600
|
product: HasMetafieldsIdentifier[];
|
|
@@ -10622,6 +10640,8 @@ interface CreateCartOptions {
|
|
|
10622
10640
|
key: string;
|
|
10623
10641
|
value: string;
|
|
10624
10642
|
}>;
|
|
10643
|
+
/** Custom GraphQL query string (optional, will use default mutation if not provided) */
|
|
10644
|
+
graphqlQuery?: string;
|
|
10625
10645
|
/** Metafield identifiers */
|
|
10626
10646
|
metafieldIdentifiers?: {
|
|
10627
10647
|
variant: HasMetafieldsIdentifier[];
|
|
@@ -10672,6 +10692,8 @@ interface AddCartLinesOptions {
|
|
|
10672
10692
|
lines: CartLineInput[];
|
|
10673
10693
|
/** Cookie adapter for managing cart ID */
|
|
10674
10694
|
cookieAdapter?: CartCookieAdapter;
|
|
10695
|
+
/** Custom GraphQL query string (optional, will use default mutation if not provided) */
|
|
10696
|
+
graphqlQuery?: string;
|
|
10675
10697
|
/** Metafield identifiers */
|
|
10676
10698
|
metafieldIdentifiers?: {
|
|
10677
10699
|
variant: HasMetafieldsIdentifier[];
|
|
@@ -10710,6 +10732,8 @@ interface UpdateCartLinesOptions {
|
|
|
10710
10732
|
lines: CartLineUpdateInput[];
|
|
10711
10733
|
/** Cookie adapter for managing cart ID */
|
|
10712
10734
|
cookieAdapter?: CartCookieAdapter;
|
|
10735
|
+
/** Custom GraphQL query string (optional, will use default mutation if not provided) */
|
|
10736
|
+
graphqlQuery?: string;
|
|
10713
10737
|
/** Current locale */
|
|
10714
10738
|
metafieldIdentifiers?: {
|
|
10715
10739
|
variant: HasMetafieldsIdentifier[];
|
|
@@ -10748,6 +10772,8 @@ interface RemoveCartLinesOptions {
|
|
|
10748
10772
|
lineIds: string[];
|
|
10749
10773
|
/** Cookie adapter for managing cart ID */
|
|
10750
10774
|
cookieAdapter?: CartCookieAdapter;
|
|
10775
|
+
/** Custom GraphQL query string (optional, will use default mutation if not provided) */
|
|
10776
|
+
graphqlQuery?: string;
|
|
10751
10777
|
/** Current locale */
|
|
10752
10778
|
metafieldIdentifiers?: {
|
|
10753
10779
|
variant: HasMetafieldsIdentifier[];
|
|
@@ -10783,6 +10809,8 @@ interface UpdateCartCodesOptions {
|
|
|
10783
10809
|
discountCodes: string[];
|
|
10784
10810
|
/** Cookie adapter for managing cart ID */
|
|
10785
10811
|
cookieAdapter?: CartCookieAdapter;
|
|
10812
|
+
/** Custom GraphQL query string (optional, will use default mutation if not provided) */
|
|
10813
|
+
graphqlQuery?: string;
|
|
10786
10814
|
/** Current locale */
|
|
10787
10815
|
metafieldIdentifiers?: {
|
|
10788
10816
|
variant: HasMetafieldsIdentifier[];
|
|
@@ -10820,6 +10848,8 @@ interface UpdateCartAttributesOptions {
|
|
|
10820
10848
|
}>;
|
|
10821
10849
|
/** Cookie adapter for managing cart ID */
|
|
10822
10850
|
cookieAdapter?: CartCookieAdapter;
|
|
10851
|
+
/** Custom GraphQL query string (optional, will use default mutation if not provided) */
|
|
10852
|
+
graphqlQuery?: string;
|
|
10823
10853
|
/** Current locale */
|
|
10824
10854
|
metafieldIdentifiers?: {
|
|
10825
10855
|
variant: HasMetafieldsIdentifier[];
|
|
@@ -10855,6 +10885,8 @@ interface UpdateCartDeliveryOptions {
|
|
|
10855
10885
|
selectedDeliveryOptions?: CartSelectedDeliveryOptionInput[];
|
|
10856
10886
|
/** Cookie adapter for managing cart ID */
|
|
10857
10887
|
cookieAdapter?: CartCookieAdapter;
|
|
10888
|
+
/** Custom GraphQL query string (optional, will use default mutation if not provided) */
|
|
10889
|
+
graphqlQuery?: string;
|
|
10858
10890
|
/** Current locale */
|
|
10859
10891
|
metafieldIdentifiers?: {
|
|
10860
10892
|
variant: HasMetafieldsIdentifier[];
|
|
@@ -10892,6 +10924,8 @@ interface UpdateBuyerIdentityOptions {
|
|
|
10892
10924
|
buyerIdentity: BuyerIdentityInput;
|
|
10893
10925
|
/** Cookie adapter for managing cart ID */
|
|
10894
10926
|
cookieAdapter?: CartCookieAdapter;
|
|
10927
|
+
/** Custom GraphQL query string (optional, will use default mutation if not provided) */
|
|
10928
|
+
graphqlQuery?: string;
|
|
10895
10929
|
/** Metafield identifiers */
|
|
10896
10930
|
metafieldIdentifiers?: {
|
|
10897
10931
|
variant: HasMetafieldsIdentifier[];
|
|
@@ -10941,6 +10975,7 @@ interface NormalizedCollection {
|
|
|
10941
10975
|
interface GetCollectionOptions {
|
|
10942
10976
|
handle: string;
|
|
10943
10977
|
locale: string;
|
|
10978
|
+
graphqlQuery?: string;
|
|
10944
10979
|
metafieldIdentifiers?: Array<{
|
|
10945
10980
|
namespace: string;
|
|
10946
10981
|
key: string;
|
|
@@ -10951,6 +10986,7 @@ interface GetCollectionsOptions {
|
|
|
10951
10986
|
first?: number;
|
|
10952
10987
|
after?: string;
|
|
10953
10988
|
query?: string;
|
|
10989
|
+
graphqlQuery?: string;
|
|
10954
10990
|
sortKey?: 'TITLE' | 'UPDATED_AT' | 'ID' | 'RELEVANCE';
|
|
10955
10991
|
reverse?: boolean;
|
|
10956
10992
|
metafieldIdentifiers?: Array<{
|
|
@@ -10990,6 +11026,27 @@ declare function getCollection(client: ShopifyClient, options: GetCollectionOpti
|
|
|
10990
11026
|
declare function getAllCollections(client: ShopifyClient, options: GetCollectionsOptions): Promise<NormalizedCollection[]>;
|
|
10991
11027
|
declare function getCollections(client: ShopifyClient, options: GetCollectionsOptions): Promise<CollectionsConnection>;
|
|
10992
11028
|
|
|
11029
|
+
/**
|
|
11030
|
+
* 批量获取 Collections(支持 product 和 variant metafields)
|
|
11031
|
+
*
|
|
11032
|
+
* @param client - Shopify GraphQL client
|
|
11033
|
+
* @param options - Get collections by handles options
|
|
11034
|
+
* @returns Collections 数组
|
|
11035
|
+
*
|
|
11036
|
+
* @example
|
|
11037
|
+
* ```tsx
|
|
11038
|
+
* const collections = await getCollectionsByHandles(client, {
|
|
11039
|
+
* handles: ['power-banks', 'chargers'],
|
|
11040
|
+
* metafieldIdentifiers: {
|
|
11041
|
+
* collection: collectionMetafieldIdentifiers,
|
|
11042
|
+
* product: productMetafieldIdentifiers,
|
|
11043
|
+
* variant: variantMetafieldIdentifiers,
|
|
11044
|
+
* },
|
|
11045
|
+
* })
|
|
11046
|
+
* ```
|
|
11047
|
+
*/
|
|
11048
|
+
declare function getCollectionsByHandles(client: ShopifyClient, options: GetCollectionsByHandlesOptions): Promise<(NormalizedCollection | undefined)[]>;
|
|
11049
|
+
|
|
10993
11050
|
/**
|
|
10994
11051
|
* Blog API Types
|
|
10995
11052
|
*/
|
|
@@ -11028,6 +11085,7 @@ interface NormalizedArticle {
|
|
|
11028
11085
|
interface GetBlogOptions {
|
|
11029
11086
|
handle: string;
|
|
11030
11087
|
locale: string;
|
|
11088
|
+
graphqlQuery?: string;
|
|
11031
11089
|
metafieldIdentifiers?: Array<{
|
|
11032
11090
|
namespace: string;
|
|
11033
11091
|
key: string;
|
|
@@ -11037,6 +11095,7 @@ interface GetAllBlogsOptions {
|
|
|
11037
11095
|
locale: string;
|
|
11038
11096
|
first?: number;
|
|
11039
11097
|
query?: string;
|
|
11098
|
+
graphqlQuery?: string;
|
|
11040
11099
|
metafieldIdentifiers?: Array<{
|
|
11041
11100
|
namespace: string;
|
|
11042
11101
|
key: string;
|
|
@@ -11046,6 +11105,7 @@ interface GetArticleOptions {
|
|
|
11046
11105
|
blogHandle: string;
|
|
11047
11106
|
articleHandle: string;
|
|
11048
11107
|
locale: string;
|
|
11108
|
+
graphqlQuery?: string;
|
|
11049
11109
|
metafieldIdentifiers?: Array<{
|
|
11050
11110
|
namespace: string;
|
|
11051
11111
|
key: string;
|
|
@@ -11055,6 +11115,7 @@ interface GetArticlesOptions {
|
|
|
11055
11115
|
locale: string;
|
|
11056
11116
|
first?: number;
|
|
11057
11117
|
query?: string;
|
|
11118
|
+
graphqlQuery?: string;
|
|
11058
11119
|
sortKey?: 'PUBLISHED_AT' | 'UPDATED_AT' | 'TITLE' | 'ID' | 'RELEVANCE';
|
|
11059
11120
|
reverse?: boolean;
|
|
11060
11121
|
metafieldIdentifiers?: Array<{
|
|
@@ -11066,6 +11127,7 @@ interface GetArticlesInBlogOptions {
|
|
|
11066
11127
|
blogHandle: string;
|
|
11067
11128
|
locale: string;
|
|
11068
11129
|
first?: number;
|
|
11130
|
+
graphqlQuery?: string;
|
|
11069
11131
|
sortKey?: 'PUBLISHED_AT' | 'UPDATED_AT' | 'TITLE' | 'ID' | 'RELEVANCE';
|
|
11070
11132
|
reverse?: boolean;
|
|
11071
11133
|
metafieldIdentifiers?: Array<{
|
|
@@ -11111,4 +11173,86 @@ declare function getArticles(client: ShopifyClient, options: GetArticlesOptions)
|
|
|
11111
11173
|
|
|
11112
11174
|
declare function getArticlesInBlog(client: ShopifyClient, options: GetArticlesInBlogOptions): Promise<NormalizedArticle[]>;
|
|
11113
11175
|
|
|
11114
|
-
export { type AddCartLinesOptions, type AddToCartMutation, type AddToCartMutationVariables, type ApiVersion, type ApplePayWalletContentInput, type ApplePayWalletHeaderInput, type AppliedGiftCard, type Article, type ArticleAuthor, type ArticleCommentsArgs, type ArticleConnection, type ArticleContentArgs, type ArticleEdge, type ArticleExcerptArgs, type ArticleFragment, type ArticleMetafieldArgs, type ArticleMetafieldsArgs, ArticleSortKeys, type ArticleWithMetafieldsFragment, type Attribute, type AttributeInput, type AutomaticDiscountApplication, type BaseCartLine, type BaseCartLineAttributeArgs, type BaseCartLineConnection, type BaseCartLineEdge, type Blog, type BlogArticleByHandleArgs, type BlogArticlesArgs, type BlogConnection, type BlogEdge, type BlogFragment, type BlogMetafieldArgs, type BlogMetafieldsArgs, BlogSortKeys, type BlogWithMetafieldsFragment, type Brand, type BrandColorGroup, type BrandColors, type BuyerIdentityInput, type BuyerInput, CardBrand, type Cart, type CartAPIOptions, type CartAddress, type CartAddressInput, type CartAttributeArgs, type CartAttributesUpdateMutation, type CartAttributesUpdateMutationVariables, type CartAttributesUpdatePayload, type CartAutomaticDiscountAllocation, type CartBillingAddressUpdatePayload, type CartBuyerIdentity, type CartBuyerIdentityInput, type CartBuyerIdentityUpdatePayload, CartCardSource, type CartCodeDiscountAllocation, type CartCompletionAction, type CartCompletionActionRequired, type CartCompletionAttemptResult, type CartCompletionFailed, type CartCompletionProcessing, type CartCompletionSuccess, type CartCookieAdapter, type CartCost, type CartCreatePayload, type CartCustomDiscountAllocation, type CartDelivery, type CartDeliveryAddress, type CartDeliveryAddressFormattedArgs, type CartDeliveryAddressInput, type CartDeliveryAddressesAddPayload, type CartDeliveryAddressesArgs, type CartDeliveryAddressesRemovePayload, type CartDeliveryAddressesUpdatePayload, type CartDeliveryCoordinatesPreference, type CartDeliveryCoordinatesPreferenceInput, type CartDeliveryGroup, type CartDeliveryGroupCartLinesArgs, type CartDeliveryGroupConnection, type CartDeliveryGroupEdge, CartDeliveryGroupType, type CartDeliveryGroupsArgs, type CartDeliveryInput, type CartDeliveryOption, type CartDeliveryPreference, type CartDeliveryPreferenceInput, type CartDirectPaymentMethodInput, type CartDiscountAllocation, type CartDiscountApplication, type CartDiscountCode, type CartDiscountCodesUpdateMutation, type CartDiscountCodesUpdateMutationVariables, type CartDiscountCodesUpdatePayload, CartErrorCode, type CartEstimatedCost, type CartFragment, type CartFreePaymentMethodInput, type CartGiftCardCodesRemovePayload, type CartGiftCardCodesUpdatePayload, type CartInput, type CartInputMetafieldInput, type CartLine, type CartLineAttributeArgs, type CartLineCost, type CartLineEstimatedCost, type CartLineInput, type CartLineUpdateInput, type CartLinesAddPayload, type CartLinesArgs, type CartLinesRemovePayload, type CartLinesUpdatePayload, type CartMetafieldArgs, type CartMetafieldDeleteInput, type CartMetafieldDeletePayload, type CartMetafieldsArgs, type CartMetafieldsSetInput, type CartMetafieldsSetPayload, type CartNoteUpdatePayload, type CartOperationError, type CartOperationResult, type CartPaymentInput, type CartPaymentUpdatePayload, type CartPreferences, type CartPreferencesInput, type CartPrepareForCompletionPayload, type CartPrepareForCompletionResult, type CartSelectableAddress, type CartSelectableAddressInput, type CartSelectableAddressUpdateInput, type CartSelectedDeliveryOptionInput, type CartSelectedDeliveryOptionsUpdatePayload, type CartStatusNotReady, type CartStatusReady, type CartSubmitForCompletionPayload, type CartSubmitForCompletionResult, type CartThrottled, type CartUserError, type CartWalletPaymentMethodInput, type CartWarning, CartWarningCode, type CategoryFilter, type Collection, type CollectionConnection, type CollectionDescriptionArgs, type CollectionEdge, type CollectionFragment, type CollectionMetafieldArgs, type CollectionMetafieldsArgs, type CollectionProductsArgs, CollectionSortKeys, type CollectionsConnection, type Comment, type CommentAuthor, type CommentConnection, type CommentContentArgs, type CommentEdge, type Company, type CompanyContact, type CompanyLocation, type CompanyLocationMetafieldArgs, type CompanyLocationMetafieldsArgs, type CompanyMetafieldArgs, type CompanyMetafieldsArgs, type CompletePaymentChallenge, type CompletionError, CompletionErrorCode, type ComponentizableCartLine, type ComponentizableCartLineAttributeArgs, type Count, CountPrecision, type Country, CountryCode, type CreateCartMutation, type CreateCartMutationVariables, type CreateCartOptions, CropRegion, type Currency, CurrencyCode, type Customer, type CustomerAccessToken, type CustomerAccessTokenCreateInput, type CustomerAccessTokenCreatePayload, type CustomerAccessTokenCreateWithMultipassPayload, type CustomerAccessTokenDeletePayload, type CustomerAccessTokenRenewPayload, type CustomerActivateByUrlPayload, type CustomerActivateInput, type CustomerActivatePayload, type CustomerAddressCreatePayload, type CustomerAddressDeletePayload, type CustomerAddressUpdatePayload, type CustomerAddressesArgs, type CustomerCreateInput, type CustomerCreatePayload, type CustomerDefaultAddressUpdatePayload, CustomerErrorCode, type CustomerMetafieldArgs, type CustomerMetafieldsArgs, type CustomerOrdersArgs, type CustomerRecoverPayload, type CustomerResetByUrlPayload, type CustomerResetInput, type CustomerResetPayload, type CustomerUpdateInput, type CustomerUpdatePayload, type CustomerUserError, type DeliveryAddress, type DeliveryAddressInput, DeliveryAddressValidationStrategy, DeliveryMethodType, DigitalWallet, type DiscountAllocation, type DiscountApplication, DiscountApplicationAllocationMethod, type DiscountApplicationConnection, type DiscountApplicationEdge, DiscountApplicationTargetSelection, DiscountApplicationTargetType, type DiscountCodeApplication, type DisplayableError, type Domain, type EditCartItemsMutation, type EditCartItemsMutationVariables, type Exact, type ExternalVideo, type Filter, FilterPresentation, FilterType, type FilterValue, type Fulfillment, type FulfillmentFulfillmentLineItemsArgs, type FulfillmentLineItem, type FulfillmentLineItemConnection, type FulfillmentLineItemEdge, type FulfillmentTrackingInfo, type FulfillmentTrackingInfoArgs, type GenericFile, type GeoCoordinateInput, type GetAllBlogsOptions, type GetAllProductPathsQuery, type GetAllProductPathsQueryVariables, type GetAllProductsOptions, type GetArticleOptions, type GetArticlesInBlogOptions, type GetArticlesOptions, type GetBlogOptions, type GetCartOptions, type GetCartQuery, type GetCartQueryVariables, type GetCollectionOptions, type GetCollectionsOptions, type GetProductByHandleQuery, type GetProductByHandleQueryVariables, type GetProductOptions, type GetProductsByHandlesOptions, type GetProductsQuery, type GetProductsQueryVariables, type HasMetafields, type HasMetafieldsIdentifier, type HasMetafieldsMetafieldArgs, type HasMetafieldsMetafieldsArgs, type Image, type ImageConnection, ImageContentType, type ImageEdge, type ImageFragment, type ImageTransformInput, type ImageTransformedSrcArgs, type ImageUrlArgs, type InContextAnnotation, type InContextAnnotationType, type Incremental, type InputMaybe, type Language, LanguageCode, type Localization, type Location, type LocationAddress, type LocationConnection, type LocationEdge, type LocationMetafieldArgs, type LocationMetafieldsArgs, LocationSortKeys, type MailingAddress, type MailingAddressConnection, type MailingAddressEdge, type MailingAddressFormattedArgs, type MailingAddressInput, type MakeEmpty, type MakeMaybe, type MakeOptional, type ManualDiscountApplication, type Market, type MarketMetafieldArgs, type MarketMetafieldsArgs, type Maybe, type Media, type MediaConnection, MediaContentType, type MediaEdge, MediaHost, type MediaImage, type MediaPresentation, type MediaPresentationAsJsonArgs, MediaPresentationFormat, type Menu, type MenuItem, type MenuItemResource, MenuItemType, type Merchandise, type Metafield, MetafieldDeleteErrorCode, type MetafieldDeleteUserError, type MetafieldFilter, type MetafieldFragment, type MetafieldParentResource, type MetafieldReference, type MetafieldReferenceConnection, type MetafieldReferenceEdge, type MetafieldReferencesArgs, type MetafieldsSetUserError, MetafieldsSetUserErrorCode, type Metaobject, type MetaobjectConnection, type MetaobjectEdge, type MetaobjectField, type MetaobjectFieldArgs, type MetaobjectFieldReferencesArgs, type MetaobjectHandleInput, type MetaobjectSeo, type Model3d, type Model3dSource, type MoneyInput, type MoneyV2, type Mutation, type MutationCartAttributesUpdateArgs, type MutationCartBillingAddressUpdateArgs, type MutationCartBuyerIdentityUpdateArgs, type MutationCartCreateArgs, type MutationCartDeliveryAddressesAddArgs, type MutationCartDeliveryAddressesRemoveArgs, type MutationCartDeliveryAddressesUpdateArgs, type MutationCartDiscountCodesUpdateArgs, type MutationCartGiftCardCodesRemoveArgs, type MutationCartGiftCardCodesUpdateArgs, type MutationCartLinesAddArgs, type MutationCartLinesRemoveArgs, type MutationCartLinesUpdateArgs, type MutationCartMetafieldDeleteArgs, type MutationCartMetafieldsSetArgs, type MutationCartNoteUpdateArgs, type MutationCartPaymentUpdateArgs, type MutationCartPrepareForCompletionArgs, type MutationCartSelectedDeliveryOptionsUpdateArgs, type MutationCartSubmitForCompletionArgs, type MutationCustomerAccessTokenCreateArgs, type MutationCustomerAccessTokenCreateWithMultipassArgs, type MutationCustomerAccessTokenDeleteArgs, type MutationCustomerAccessTokenRenewArgs, type MutationCustomerActivateArgs, type MutationCustomerActivateByUrlArgs, type MutationCustomerAddressCreateArgs, type MutationCustomerAddressDeleteArgs, type MutationCustomerAddressUpdateArgs, type MutationCustomerCreateArgs, type MutationCustomerDefaultAddressUpdateArgs, type MutationCustomerRecoverArgs, type MutationCustomerResetArgs, type MutationCustomerResetByUrlArgs, type MutationCustomerUpdateArgs, type MutationShopPayPaymentRequestSessionCreateArgs, type MutationShopPayPaymentRequestSessionSubmitArgs, type Node, type NormalizedArticle, type NormalizedAttribute, type NormalizedBlog, type NormalizedCart, type NormalizedCollection, type NormalizedLineItem, type NormalizedProduct, type NormalizedProductVariant, type NormalizedProductsConnection, type NormalizedSellingPlanGroup, type OnlineStorePublishable, type Order, OrderCancelReason, type OrderConnection, type OrderDiscountApplicationsArgs, type OrderEdge, OrderFinancialStatus, OrderFulfillmentStatus, type OrderLineItem, type OrderLineItemConnection, type OrderLineItemEdge, type OrderLineItemsArgs, type OrderMetafieldArgs, type OrderMetafieldsArgs, OrderSortKeys, type OrderSuccessfulFulfillmentsArgs, type Page, type PageConnection, type PageEdge, type PageInfo, type PageInfoFragment, type PageMetafieldArgs, type PageMetafieldsArgs, PageSortKeys, type PaginatedSitemapResources, type PaymentSettings, PredictiveSearchLimitScope, type PredictiveSearchResult, PredictiveSearchType, PreferenceDeliveryMethodType, type PriceRangeFilter, type PricingPercentageValue, type PricingValue, type Product, type ProductAdjacentVariantsArgs, ProductCollectionSortKeys, type ProductCollectionsArgs, type ProductConnection, type ProductDescriptionArgs, type ProductEdge, type ProductFilter, type ProductFragment, ProductImageSortKeys, type ProductImagesArgs, type ProductMediaArgs, ProductMediaSortKeys, type ProductMetafieldArgs, type ProductMetafieldsArgs, type ProductOption, type ProductOptionValue, type ProductOptionValueSwatch, type ProductOptionsArgs, type ProductPriceRange, ProductRecommendationIntent, type ProductSelectedOrFirstAvailableVariantArgs, type ProductSellingPlanGroupsArgs, ProductSortKeys, type ProductVariant, type ProductVariantBySelectedOptionsArgs, type ProductVariantComponent, type ProductVariantComponentConnection, type ProductVariantComponentEdge, type ProductVariantComponentsArgs, type ProductVariantConnection, type ProductVariantEdge, type ProductVariantGroupedByArgs, type ProductVariantMetafieldArgs, type ProductVariantMetafieldsArgs, type ProductVariantQuantityPriceBreaksArgs, type ProductVariantSellingPlanAllocationsArgs, ProductVariantSortKeys, type ProductVariantStoreAvailabilityArgs, type ProductVariantsArgs, type PurchasingCompany, type QuantityPriceBreak, type QuantityPriceBreakConnection, type QuantityPriceBreakEdge, type QuantityRule, type QueryRoot, type QueryRootArticleArgs, type QueryRootArticlesArgs, type QueryRootBlogArgs, type QueryRootBlogByHandleArgs, type QueryRootBlogsArgs, type QueryRootCartArgs, type QueryRootCartCompletionAttemptArgs, type QueryRootCollectionArgs, type QueryRootCollectionByHandleArgs, type QueryRootCollectionsArgs, type QueryRootCustomerArgs, type QueryRootLocationsArgs, type QueryRootMenuArgs, type QueryRootMetaobjectArgs, type QueryRootMetaobjectsArgs, type QueryRootNodeArgs, type QueryRootNodesArgs, type QueryRootPageArgs, type QueryRootPageByHandleArgs, type QueryRootPagesArgs, type QueryRootPredictiveSearchArgs, type QueryRootProductArgs, type QueryRootProductByHandleArgs, type QueryRootProductRecommendationsArgs, type QueryRootProductTagsArgs, type QueryRootProductTypesArgs, type QueryRootProductsArgs, type QueryRootSearchArgs, type QueryRootSitemapArgs, type QueryRootUrlRedirectsArgs, type RemoveCartLinesOptions, type RemoveFromCartMutation, type RemoveFromCartMutationVariables, type Scalars, type ScriptDiscountApplication, SearchPrefixQueryType, type SearchQuerySuggestion, type SearchResultItem, type SearchResultItemConnection, type SearchResultItemEdge, SearchSortKeys, SearchType, SearchUnavailableProductsType, SearchableField, type SelectedOption, type SelectedOptionInput, type SellingPlan, type SellingPlanAllocation, type SellingPlanAllocationConnection, type SellingPlanAllocationEdge, type SellingPlanAllocationPriceAdjustment, type SellingPlanBillingPolicy, type SellingPlanCheckoutCharge, type SellingPlanCheckoutChargePercentageValue, SellingPlanCheckoutChargeType, type SellingPlanCheckoutChargeValue, type SellingPlanConnection, type SellingPlanDeliveryPolicy, type SellingPlanEdge, type SellingPlanFixedAmountPriceAdjustment, type SellingPlanFixedPriceAdjustment, type SellingPlanGroup, type SellingPlanGroupConnection, type SellingPlanGroupEdge, type SellingPlanGroupOption, type SellingPlanGroupSellingPlansArgs, SellingPlanInterval, type SellingPlanMetafieldArgs, type SellingPlanMetafieldsArgs, type SellingPlanOption, type SellingPlanPercentagePriceAdjustment, type SellingPlanPriceAdjustment, type SellingPlanPriceAdjustmentValue, type SellingPlanRecurringBillingPolicy, type SellingPlanRecurringDeliveryPolicy, type Seo, type SeoFragment, type Shop, type ShopMetafieldArgs, type ShopMetafieldsArgs, type ShopPayInstallmentsFinancingPlan, ShopPayInstallmentsFinancingPlanFrequency, type ShopPayInstallmentsFinancingPlanTerm, ShopPayInstallmentsLoan, type ShopPayInstallmentsPricing, type ShopPayInstallmentsProductVariantPricing, type ShopPayPaymentRequest, type ShopPayPaymentRequestContactField, type ShopPayPaymentRequestDeliveryMethod, type ShopPayPaymentRequestDeliveryMethodInput, ShopPayPaymentRequestDeliveryMethodType, type ShopPayPaymentRequestDiscount, type ShopPayPaymentRequestDiscountInput, type ShopPayPaymentRequestImage, type ShopPayPaymentRequestImageInput, type ShopPayPaymentRequestInput, type ShopPayPaymentRequestLineItem, type ShopPayPaymentRequestLineItemInput, type ShopPayPaymentRequestReceipt, type ShopPayPaymentRequestSession, type ShopPayPaymentRequestSessionCreatePayload, type ShopPayPaymentRequestSessionSubmitPayload, type ShopPayPaymentRequestShippingLine, type ShopPayPaymentRequestShippingLineInput, type ShopPayPaymentRequestTotalShippingPrice, type ShopPayPaymentRequestTotalShippingPriceInput, type ShopPayWalletContentInput, type ShopPolicy, type ShopPolicyWithDefault, ShopifyClient, type Sitemap, type SitemapImage, type SitemapResource, type SitemapResourceInterface, type SitemapResourceMetaobject, type SitemapResourcesArgs, SitemapType, type StoreAvailability, type StoreAvailabilityConnection, type StoreAvailabilityEdge, type StringConnection, type StringEdge, type SubmissionError, SubmissionErrorCode, type SubmitAlreadyAccepted, type SubmitFailed, type SubmitSuccess, type SubmitThrottled, type Swatch, type TaxonomyCategory, type TaxonomyMetafieldFilter, type Trackable, type UnitPriceMeasurement, UnitPriceMeasurementMeasuredType, UnitPriceMeasurementMeasuredUnit, UnitSystem, type UpdateBuyerIdentityOptions, type UpdateCartAttributesOptions, type UpdateCartCodesOptions, type UpdateCartDeliveryOptions, type UpdateCartDeliveryOptionsMutation, type UpdateCartDeliveryOptionsMutationVariables, type UpdateCartLinesOptions, type UrlRedirect, type UrlRedirectConnection, type UrlRedirectEdge, type UserError, type UserErrorsShopPayPaymentRequestSessionUserErrors, UserErrorsShopPayPaymentRequestSessionUserErrorsCode, type VariantFragment, type VariantOptionFilter, type Video, type VideoSource, WeightUnit, addCartLines, createCart, getAllBlogs, getAllCollections, getAllProducts, getArticle, getArticles, getArticlesInBlog, getBlog, getCart, getCollection, getCollections, getProduct, getProducts, getProductsByHandles, normalizeArticle, normalizeBlog, normalizeCart, normalizeCollection, normalizeLineItem, normalizeProduct, removeCartLines, updateBuyerIdentity, updateCartAttributes, updateCartCodes, updateCartDeliveryOptions, updateCartLines };
|
|
11176
|
+
/**
|
|
11177
|
+
* Page API Types
|
|
11178
|
+
*/
|
|
11179
|
+
|
|
11180
|
+
interface NormalizedPage {
|
|
11181
|
+
id: string;
|
|
11182
|
+
handle: string;
|
|
11183
|
+
title: string;
|
|
11184
|
+
body?: string;
|
|
11185
|
+
bodySummary?: string;
|
|
11186
|
+
createdAt: string;
|
|
11187
|
+
updatedAt: string;
|
|
11188
|
+
seo?: Seo;
|
|
11189
|
+
metafields?: Record<string, Metafield>;
|
|
11190
|
+
}
|
|
11191
|
+
interface GetPageOptions {
|
|
11192
|
+
handle: string;
|
|
11193
|
+
locale: string;
|
|
11194
|
+
graphqlQuery?: string;
|
|
11195
|
+
metafieldIdentifiers?: Array<{
|
|
11196
|
+
namespace: string;
|
|
11197
|
+
key: string;
|
|
11198
|
+
}>;
|
|
11199
|
+
}
|
|
11200
|
+
|
|
11201
|
+
/**
|
|
11202
|
+
* Get Page API
|
|
11203
|
+
*/
|
|
11204
|
+
|
|
11205
|
+
declare function getPage(client: ShopifyClient, options: GetPageOptions): Promise<NormalizedPage | undefined>;
|
|
11206
|
+
|
|
11207
|
+
/**
|
|
11208
|
+
* Page Normalization Functions
|
|
11209
|
+
*/
|
|
11210
|
+
|
|
11211
|
+
declare function normalizePage(page: any): NormalizedPage;
|
|
11212
|
+
|
|
11213
|
+
/**
|
|
11214
|
+
* Shop API Types
|
|
11215
|
+
*/
|
|
11216
|
+
|
|
11217
|
+
interface NormalizedShop {
|
|
11218
|
+
name: string;
|
|
11219
|
+
description?: string;
|
|
11220
|
+
primaryDomain: {
|
|
11221
|
+
url: string;
|
|
11222
|
+
host: string;
|
|
11223
|
+
};
|
|
11224
|
+
brand?: {
|
|
11225
|
+
logo?: {
|
|
11226
|
+
image?: {
|
|
11227
|
+
url: string;
|
|
11228
|
+
};
|
|
11229
|
+
};
|
|
11230
|
+
colors?: {
|
|
11231
|
+
primary?: string;
|
|
11232
|
+
secondary?: string;
|
|
11233
|
+
};
|
|
11234
|
+
};
|
|
11235
|
+
metafields?: Record<string, Metafield>;
|
|
11236
|
+
}
|
|
11237
|
+
interface GetShopOptions {
|
|
11238
|
+
locale: string;
|
|
11239
|
+
graphqlQuery?: string;
|
|
11240
|
+
metafieldIdentifiers?: Array<{
|
|
11241
|
+
namespace: string;
|
|
11242
|
+
key: string;
|
|
11243
|
+
}>;
|
|
11244
|
+
}
|
|
11245
|
+
|
|
11246
|
+
/**
|
|
11247
|
+
* Get Shop API
|
|
11248
|
+
*/
|
|
11249
|
+
|
|
11250
|
+
declare function getShop(client: ShopifyClient, options: GetShopOptions): Promise<NormalizedShop | undefined>;
|
|
11251
|
+
|
|
11252
|
+
/**
|
|
11253
|
+
* Shop Normalization Functions
|
|
11254
|
+
*/
|
|
11255
|
+
|
|
11256
|
+
declare function normalizeShop(shop: any): NormalizedShop;
|
|
11257
|
+
|
|
11258
|
+
export { type AddCartLinesOptions, type AddToCartMutation, type AddToCartMutationVariables, type ApiVersion, type ApplePayWalletContentInput, type ApplePayWalletHeaderInput, type AppliedGiftCard, type Article, type ArticleAuthor, type ArticleCommentsArgs, type ArticleConnection, type ArticleContentArgs, type ArticleEdge, type ArticleExcerptArgs, type ArticleFragment, type ArticleMetafieldArgs, type ArticleMetafieldsArgs, ArticleSortKeys, type ArticleWithMetafieldsFragment, type Attribute, type AttributeInput, type AutomaticDiscountApplication, type BaseCartLine, type BaseCartLineAttributeArgs, type BaseCartLineConnection, type BaseCartLineEdge, type Blog, type BlogArticleByHandleArgs, type BlogArticlesArgs, type BlogConnection, type BlogEdge, type BlogFragment, type BlogMetafieldArgs, type BlogMetafieldsArgs, BlogSortKeys, type BlogWithMetafieldsFragment, type Brand, type BrandColorGroup, type BrandColors, type BuyerIdentityInput, type BuyerInput, CardBrand, type Cart, type CartAPIOptions, type CartAddress, type CartAddressInput, type CartAttributeArgs, type CartAttributesUpdateMutation, type CartAttributesUpdateMutationVariables, type CartAttributesUpdatePayload, type CartAutomaticDiscountAllocation, type CartBillingAddressUpdatePayload, type CartBuyerIdentity, type CartBuyerIdentityInput, type CartBuyerIdentityUpdatePayload, CartCardSource, type CartCodeDiscountAllocation, type CartCompletionAction, type CartCompletionActionRequired, type CartCompletionAttemptResult, type CartCompletionFailed, type CartCompletionProcessing, type CartCompletionSuccess, type CartCookieAdapter, type CartCost, type CartCreatePayload, type CartCustomDiscountAllocation, type CartDelivery, type CartDeliveryAddress, type CartDeliveryAddressFormattedArgs, type CartDeliveryAddressInput, type CartDeliveryAddressesAddPayload, type CartDeliveryAddressesArgs, type CartDeliveryAddressesRemovePayload, type CartDeliveryAddressesUpdatePayload, type CartDeliveryCoordinatesPreference, type CartDeliveryCoordinatesPreferenceInput, type CartDeliveryGroup, type CartDeliveryGroupCartLinesArgs, type CartDeliveryGroupConnection, type CartDeliveryGroupEdge, CartDeliveryGroupType, type CartDeliveryGroupsArgs, type CartDeliveryInput, type CartDeliveryOption, type CartDeliveryPreference, type CartDeliveryPreferenceInput, type CartDirectPaymentMethodInput, type CartDiscountAllocation, type CartDiscountApplication, type CartDiscountCode, type CartDiscountCodesUpdateMutation, type CartDiscountCodesUpdateMutationVariables, type CartDiscountCodesUpdatePayload, CartErrorCode, type CartEstimatedCost, type CartFragment, type CartFreePaymentMethodInput, type CartGiftCardCodesRemovePayload, type CartGiftCardCodesUpdatePayload, type CartInput, type CartInputMetafieldInput, type CartLine, type CartLineAttributeArgs, type CartLineCost, type CartLineEstimatedCost, type CartLineInput, type CartLineUpdateInput, type CartLinesAddPayload, type CartLinesArgs, type CartLinesRemovePayload, type CartLinesUpdatePayload, type CartMetafieldArgs, type CartMetafieldDeleteInput, type CartMetafieldDeletePayload, type CartMetafieldsArgs, type CartMetafieldsSetInput, type CartMetafieldsSetPayload, type CartNoteUpdatePayload, type CartOperationError, type CartOperationResult, type CartPaymentInput, type CartPaymentUpdatePayload, type CartPreferences, type CartPreferencesInput, type CartPrepareForCompletionPayload, type CartPrepareForCompletionResult, type CartSelectableAddress, type CartSelectableAddressInput, type CartSelectableAddressUpdateInput, type CartSelectedDeliveryOptionInput, type CartSelectedDeliveryOptionsUpdatePayload, type CartStatusNotReady, type CartStatusReady, type CartSubmitForCompletionPayload, type CartSubmitForCompletionResult, type CartThrottled, type CartUserError, type CartWalletPaymentMethodInput, type CartWarning, CartWarningCode, type CategoryFilter, type Collection, type CollectionConnection, type CollectionDescriptionArgs, type CollectionEdge, type CollectionFragment, type CollectionMetafieldArgs, type CollectionMetafieldsArgs, type CollectionProductsArgs, CollectionSortKeys, type CollectionsConnection, type Comment, type CommentAuthor, type CommentConnection, type CommentContentArgs, type CommentEdge, type Company, type CompanyContact, type CompanyLocation, type CompanyLocationMetafieldArgs, type CompanyLocationMetafieldsArgs, type CompanyMetafieldArgs, type CompanyMetafieldsArgs, type CompletePaymentChallenge, type CompletionError, CompletionErrorCode, type ComponentizableCartLine, type ComponentizableCartLineAttributeArgs, type Count, CountPrecision, type Country, CountryCode, type CreateCartMutation, type CreateCartMutationVariables, type CreateCartOptions, CropRegion, type Currency, CurrencyCode, type Customer, type CustomerAccessToken, type CustomerAccessTokenCreateInput, type CustomerAccessTokenCreatePayload, type CustomerAccessTokenCreateWithMultipassPayload, type CustomerAccessTokenDeletePayload, type CustomerAccessTokenRenewPayload, type CustomerActivateByUrlPayload, type CustomerActivateInput, type CustomerActivatePayload, type CustomerAddressCreatePayload, type CustomerAddressDeletePayload, type CustomerAddressUpdatePayload, type CustomerAddressesArgs, type CustomerCreateInput, type CustomerCreatePayload, type CustomerDefaultAddressUpdatePayload, CustomerErrorCode, type CustomerMetafieldArgs, type CustomerMetafieldsArgs, type CustomerOrdersArgs, type CustomerRecoverPayload, type CustomerResetByUrlPayload, type CustomerResetInput, type CustomerResetPayload, type CustomerUpdateInput, type CustomerUpdatePayload, type CustomerUserError, type DeliveryAddress, type DeliveryAddressInput, DeliveryAddressValidationStrategy, DeliveryMethodType, DigitalWallet, type DiscountAllocation, type DiscountApplication, DiscountApplicationAllocationMethod, type DiscountApplicationConnection, type DiscountApplicationEdge, DiscountApplicationTargetSelection, DiscountApplicationTargetType, type DiscountCodeApplication, type DisplayableError, type Domain, type EditCartItemsMutation, type EditCartItemsMutationVariables, type Exact, type ExternalVideo, type Filter, FilterPresentation, FilterType, type FilterValue, type Fulfillment, type FulfillmentFulfillmentLineItemsArgs, type FulfillmentLineItem, type FulfillmentLineItemConnection, type FulfillmentLineItemEdge, type FulfillmentTrackingInfo, type FulfillmentTrackingInfoArgs, type GenericFile, type GeoCoordinateInput, type GetAllBlogsOptions, type GetAllProductPathsQuery, type GetAllProductPathsQueryVariables, type GetAllProductsOptions, type GetArticleOptions, type GetArticlesInBlogOptions, type GetArticlesOptions, type GetBlogOptions, type GetCartOptions, type GetCartQuery, type GetCartQueryVariables, type GetCollectionOptions, type GetCollectionsByHandlesOptions, type GetCollectionsOptions, type GetPageOptions, type GetProductByHandleQuery, type GetProductByHandleQueryVariables, type GetProductOptions, type GetProductsByHandlesOptions, type GetProductsQuery, type GetProductsQueryVariables, type GetShopOptions, type HasMetafields, type HasMetafieldsIdentifier, type HasMetafieldsMetafieldArgs, type HasMetafieldsMetafieldsArgs, type Image, type ImageConnection, ImageContentType, type ImageEdge, type ImageFragment, type ImageTransformInput, type ImageTransformedSrcArgs, type ImageUrlArgs, type InContextAnnotation, type InContextAnnotationType, type Incremental, type InputMaybe, type Language, LanguageCode, type Localization, type Location, type LocationAddress, type LocationConnection, type LocationEdge, type LocationMetafieldArgs, type LocationMetafieldsArgs, LocationSortKeys, type MailingAddress, type MailingAddressConnection, type MailingAddressEdge, type MailingAddressFormattedArgs, type MailingAddressInput, type MakeEmpty, type MakeMaybe, type MakeOptional, type ManualDiscountApplication, type Market, type MarketMetafieldArgs, type MarketMetafieldsArgs, type Maybe, type Media, type MediaConnection, MediaContentType, type MediaEdge, MediaHost, type MediaImage, type MediaPresentation, type MediaPresentationAsJsonArgs, MediaPresentationFormat, type Menu, type MenuItem, type MenuItemResource, MenuItemType, type Merchandise, type Metafield, MetafieldDeleteErrorCode, type MetafieldDeleteUserError, type MetafieldFilter, type MetafieldFragment, type MetafieldParentResource, type MetafieldReference, type MetafieldReferenceConnection, type MetafieldReferenceEdge, type MetafieldReferencesArgs, type MetafieldsSetUserError, MetafieldsSetUserErrorCode, type Metaobject, type MetaobjectConnection, type MetaobjectEdge, type MetaobjectField, type MetaobjectFieldArgs, type MetaobjectFieldReferencesArgs, type MetaobjectHandleInput, type MetaobjectSeo, type Model3d, type Model3dSource, type MoneyInput, type MoneyV2, type Mutation, type MutationCartAttributesUpdateArgs, type MutationCartBillingAddressUpdateArgs, type MutationCartBuyerIdentityUpdateArgs, type MutationCartCreateArgs, type MutationCartDeliveryAddressesAddArgs, type MutationCartDeliveryAddressesRemoveArgs, type MutationCartDeliveryAddressesUpdateArgs, type MutationCartDiscountCodesUpdateArgs, type MutationCartGiftCardCodesRemoveArgs, type MutationCartGiftCardCodesUpdateArgs, type MutationCartLinesAddArgs, type MutationCartLinesRemoveArgs, type MutationCartLinesUpdateArgs, type MutationCartMetafieldDeleteArgs, type MutationCartMetafieldsSetArgs, type MutationCartNoteUpdateArgs, type MutationCartPaymentUpdateArgs, type MutationCartPrepareForCompletionArgs, type MutationCartSelectedDeliveryOptionsUpdateArgs, type MutationCartSubmitForCompletionArgs, type MutationCustomerAccessTokenCreateArgs, type MutationCustomerAccessTokenCreateWithMultipassArgs, type MutationCustomerAccessTokenDeleteArgs, type MutationCustomerAccessTokenRenewArgs, type MutationCustomerActivateArgs, type MutationCustomerActivateByUrlArgs, type MutationCustomerAddressCreateArgs, type MutationCustomerAddressDeleteArgs, type MutationCustomerAddressUpdateArgs, type MutationCustomerCreateArgs, type MutationCustomerDefaultAddressUpdateArgs, type MutationCustomerRecoverArgs, type MutationCustomerResetArgs, type MutationCustomerResetByUrlArgs, type MutationCustomerUpdateArgs, type MutationShopPayPaymentRequestSessionCreateArgs, type MutationShopPayPaymentRequestSessionSubmitArgs, type Node, type NormalizedArticle, type NormalizedAttribute, type NormalizedBlog, type NormalizedCart, type NormalizedCollection, type NormalizedLineItem, type NormalizedPage, type NormalizedProduct, type NormalizedProductVariant, type NormalizedProductsConnection, type NormalizedSellingPlanGroup, type NormalizedShop, type OnlineStorePublishable, type Order, OrderCancelReason, type OrderConnection, type OrderDiscountApplicationsArgs, type OrderEdge, OrderFinancialStatus, OrderFulfillmentStatus, type OrderLineItem, type OrderLineItemConnection, type OrderLineItemEdge, type OrderLineItemsArgs, type OrderMetafieldArgs, type OrderMetafieldsArgs, OrderSortKeys, type OrderSuccessfulFulfillmentsArgs, type Page, type PageConnection, type PageEdge, type PageInfo, type PageInfoFragment, type PageMetafieldArgs, type PageMetafieldsArgs, PageSortKeys, type PaginatedSitemapResources, type PaymentSettings, PredictiveSearchLimitScope, type PredictiveSearchResult, PredictiveSearchType, PreferenceDeliveryMethodType, type PriceRangeFilter, type PricingPercentageValue, type PricingValue, type Product, type ProductAdjacentVariantsArgs, ProductCollectionSortKeys, type ProductCollectionsArgs, type ProductConnection, type ProductDescriptionArgs, type ProductEdge, type ProductFilter, type ProductFragment, ProductImageSortKeys, type ProductImagesArgs, type ProductMediaArgs, ProductMediaSortKeys, type ProductMetafieldArgs, type ProductMetafieldsArgs, type ProductOption, type ProductOptionValue, type ProductOptionValueSwatch, type ProductOptionsArgs, type ProductPriceRange, ProductRecommendationIntent, type ProductSelectedOrFirstAvailableVariantArgs, type ProductSellingPlanGroupsArgs, ProductSortKeys, type ProductVariant, type ProductVariantBySelectedOptionsArgs, type ProductVariantComponent, type ProductVariantComponentConnection, type ProductVariantComponentEdge, type ProductVariantComponentsArgs, type ProductVariantConnection, type ProductVariantEdge, type ProductVariantGroupedByArgs, type ProductVariantMetafieldArgs, type ProductVariantMetafieldsArgs, type ProductVariantQuantityPriceBreaksArgs, type ProductVariantSellingPlanAllocationsArgs, ProductVariantSortKeys, type ProductVariantStoreAvailabilityArgs, type ProductVariantsArgs, type PurchasingCompany, type QuantityPriceBreak, type QuantityPriceBreakConnection, type QuantityPriceBreakEdge, type QuantityRule, type QueryRoot, type QueryRootArticleArgs, type QueryRootArticlesArgs, type QueryRootBlogArgs, type QueryRootBlogByHandleArgs, type QueryRootBlogsArgs, type QueryRootCartArgs, type QueryRootCartCompletionAttemptArgs, type QueryRootCollectionArgs, type QueryRootCollectionByHandleArgs, type QueryRootCollectionsArgs, type QueryRootCustomerArgs, type QueryRootLocationsArgs, type QueryRootMenuArgs, type QueryRootMetaobjectArgs, type QueryRootMetaobjectsArgs, type QueryRootNodeArgs, type QueryRootNodesArgs, type QueryRootPageArgs, type QueryRootPageByHandleArgs, type QueryRootPagesArgs, type QueryRootPredictiveSearchArgs, type QueryRootProductArgs, type QueryRootProductByHandleArgs, type QueryRootProductRecommendationsArgs, type QueryRootProductTagsArgs, type QueryRootProductTypesArgs, type QueryRootProductsArgs, type QueryRootSearchArgs, type QueryRootSitemapArgs, type QueryRootUrlRedirectsArgs, type RemoveCartLinesOptions, type RemoveFromCartMutation, type RemoveFromCartMutationVariables, type Scalars, type ScriptDiscountApplication, SearchPrefixQueryType, type SearchQuerySuggestion, type SearchResultItem, type SearchResultItemConnection, type SearchResultItemEdge, SearchSortKeys, SearchType, SearchUnavailableProductsType, SearchableField, type SelectedOption, type SelectedOptionInput, type SellingPlan, type SellingPlanAllocation, type SellingPlanAllocationConnection, type SellingPlanAllocationEdge, type SellingPlanAllocationPriceAdjustment, type SellingPlanBillingPolicy, type SellingPlanCheckoutCharge, type SellingPlanCheckoutChargePercentageValue, SellingPlanCheckoutChargeType, type SellingPlanCheckoutChargeValue, type SellingPlanConnection, type SellingPlanDeliveryPolicy, type SellingPlanEdge, type SellingPlanFixedAmountPriceAdjustment, type SellingPlanFixedPriceAdjustment, type SellingPlanGroup, type SellingPlanGroupConnection, type SellingPlanGroupEdge, type SellingPlanGroupOption, type SellingPlanGroupSellingPlansArgs, SellingPlanInterval, type SellingPlanMetafieldArgs, type SellingPlanMetafieldsArgs, type SellingPlanOption, type SellingPlanPercentagePriceAdjustment, type SellingPlanPriceAdjustment, type SellingPlanPriceAdjustmentValue, type SellingPlanRecurringBillingPolicy, type SellingPlanRecurringDeliveryPolicy, type Seo, type SeoFragment, type Shop, type ShopMetafieldArgs, type ShopMetafieldsArgs, type ShopPayInstallmentsFinancingPlan, ShopPayInstallmentsFinancingPlanFrequency, type ShopPayInstallmentsFinancingPlanTerm, ShopPayInstallmentsLoan, type ShopPayInstallmentsPricing, type ShopPayInstallmentsProductVariantPricing, type ShopPayPaymentRequest, type ShopPayPaymentRequestContactField, type ShopPayPaymentRequestDeliveryMethod, type ShopPayPaymentRequestDeliveryMethodInput, ShopPayPaymentRequestDeliveryMethodType, type ShopPayPaymentRequestDiscount, type ShopPayPaymentRequestDiscountInput, type ShopPayPaymentRequestImage, type ShopPayPaymentRequestImageInput, type ShopPayPaymentRequestInput, type ShopPayPaymentRequestLineItem, type ShopPayPaymentRequestLineItemInput, type ShopPayPaymentRequestReceipt, type ShopPayPaymentRequestSession, type ShopPayPaymentRequestSessionCreatePayload, type ShopPayPaymentRequestSessionSubmitPayload, type ShopPayPaymentRequestShippingLine, type ShopPayPaymentRequestShippingLineInput, type ShopPayPaymentRequestTotalShippingPrice, type ShopPayPaymentRequestTotalShippingPriceInput, type ShopPayWalletContentInput, type ShopPolicy, type ShopPolicyWithDefault, ShopifyClient, type Sitemap, type SitemapImage, type SitemapResource, type SitemapResourceInterface, type SitemapResourceMetaobject, type SitemapResourcesArgs, SitemapType, type StoreAvailability, type StoreAvailabilityConnection, type StoreAvailabilityEdge, type StringConnection, type StringEdge, type SubmissionError, SubmissionErrorCode, type SubmitAlreadyAccepted, type SubmitFailed, type SubmitSuccess, type SubmitThrottled, type Swatch, type TaxonomyCategory, type TaxonomyMetafieldFilter, type Trackable, type UnitPriceMeasurement, UnitPriceMeasurementMeasuredType, UnitPriceMeasurementMeasuredUnit, UnitSystem, type UpdateBuyerIdentityOptions, type UpdateCartAttributesOptions, type UpdateCartCodesOptions, type UpdateCartDeliveryOptions, type UpdateCartDeliveryOptionsMutation, type UpdateCartDeliveryOptionsMutationVariables, type UpdateCartLinesOptions, type UrlRedirect, type UrlRedirectConnection, type UrlRedirectEdge, type UserError, type UserErrorsShopPayPaymentRequestSessionUserErrors, UserErrorsShopPayPaymentRequestSessionUserErrorsCode, type VariantFragment, type VariantOptionFilter, type Video, type VideoSource, WeightUnit, addCartLines, createCart, getAllBlogs, getAllCollections, getAllProducts, getArticle, getArticles, getArticlesInBlog, getBlog, getCart, getCollection, getCollections, getCollectionsByHandles, getPage, getProduct, getProducts, getProductsByHandles, getShop, normalizeArticle, normalizeBlog, normalizeCart, normalizeCollection, normalizeLineItem, normalizePage, normalizeProduct, normalizeShop, removeCartLines, updateBuyerIdentity, updateCartAttributes, updateCartCodes, updateCartDeliveryOptions, updateCartLines };
|