@anker-in/shopify-sdk 0.1.1-beta.2 → 0.1.1-beta.4

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/index.d.mts CHANGED
@@ -10217,6 +10217,10 @@ declare module '@shopify/storefront-api-client' {
10217
10217
  interface StorefrontMutations extends GeneratedMutationTypes {}
10218
10218
  }
10219
10219
 
10220
+ interface NormalizedAttribute {
10221
+ key: string;
10222
+ value: string;
10223
+ }
10220
10224
  interface NormalizedLineItem {
10221
10225
  id: string;
10222
10226
  name: string;
@@ -10229,10 +10233,7 @@ interface NormalizedLineItem {
10229
10233
  code: string;
10230
10234
  amount: number;
10231
10235
  }>;
10232
- customAttributes?: Array<{
10233
- key: string;
10234
- value: string;
10235
- }>;
10236
+ customAttributes: NormalizedAttribute[];
10236
10237
  variant: {
10237
10238
  id: string;
10238
10239
  price: number;
@@ -10284,8 +10285,8 @@ interface NormalizedCart {
10284
10285
  }>;
10285
10286
  url: string;
10286
10287
  ready: boolean;
10287
- orderStatusUrl?: any;
10288
- customAttributes?: any;
10288
+ orderStatusUrl?: string;
10289
+ customAttributes: NormalizedAttribute[];
10289
10290
  maxNum?: number;
10290
10291
  /** Delivery amount */
10291
10292
  deliveryAmount?: {
@@ -11068,4 +11069,4 @@ declare function getArticles(client: ShopifyClient, options: GetArticlesOptions)
11068
11069
 
11069
11070
  declare function getArticlesInBlog(client: ShopifyClient, options: GetArticlesInBlogOptions): Promise<NormalizedArticle[]>;
11070
11071
 
11071
- 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 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 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 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, updateCartAttributes, updateCartCodes, updateCartDeliveryOptions, updateCartLines };
11072
+ 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 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 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, updateCartAttributes, updateCartCodes, updateCartDeliveryOptions, updateCartLines };
package/dist/index.d.ts CHANGED
@@ -10217,6 +10217,10 @@ declare module '@shopify/storefront-api-client' {
10217
10217
  interface StorefrontMutations extends GeneratedMutationTypes {}
10218
10218
  }
10219
10219
 
10220
+ interface NormalizedAttribute {
10221
+ key: string;
10222
+ value: string;
10223
+ }
10220
10224
  interface NormalizedLineItem {
10221
10225
  id: string;
10222
10226
  name: string;
@@ -10229,10 +10233,7 @@ interface NormalizedLineItem {
10229
10233
  code: string;
10230
10234
  amount: number;
10231
10235
  }>;
10232
- customAttributes?: Array<{
10233
- key: string;
10234
- value: string;
10235
- }>;
10236
+ customAttributes: NormalizedAttribute[];
10236
10237
  variant: {
10237
10238
  id: string;
10238
10239
  price: number;
@@ -10284,8 +10285,8 @@ interface NormalizedCart {
10284
10285
  }>;
10285
10286
  url: string;
10286
10287
  ready: boolean;
10287
- orderStatusUrl?: any;
10288
- customAttributes?: any;
10288
+ orderStatusUrl?: string;
10289
+ customAttributes: NormalizedAttribute[];
10289
10290
  maxNum?: number;
10290
10291
  /** Delivery amount */
10291
10292
  deliveryAmount?: {
@@ -11068,4 +11069,4 @@ declare function getArticles(client: ShopifyClient, options: GetArticlesOptions)
11068
11069
 
11069
11070
  declare function getArticlesInBlog(client: ShopifyClient, options: GetArticlesInBlogOptions): Promise<NormalizedArticle[]>;
11070
11071
 
11071
- 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 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 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 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, updateCartAttributes, updateCartCodes, updateCartDeliveryOptions, updateCartLines };
11072
+ 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 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 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, updateCartAttributes, updateCartCodes, updateCartDeliveryOptions, updateCartLines };
package/dist/index.js CHANGED
@@ -1370,7 +1370,7 @@ function normalizeLineItem(line) {
1370
1370
  code: item?.code || item?.title || "",
1371
1371
  amount: item?.discountedAmount?.amount || 0
1372
1372
  })) || [],
1373
- customAttributes: attributes,
1373
+ customAttributes: attributes?.filter((item) => item.key && item.value).map((item) => ({ key: item.key, value: item.value || "" })) || [],
1374
1374
  variant: {
1375
1375
  id: String(variant?.id || ""),
1376
1376
  price,
@@ -1420,7 +1420,7 @@ function normalizeCart(cart) {
1420
1420
  currency: {
1421
1421
  code: cart.cost?.subtotalAmount?.currencyCode || "USD"
1422
1422
  },
1423
- customAttributes: cart.attributes || [],
1423
+ customAttributes: cart.attributes.filter((item) => item.key && item.value).map((item) => ({ key: item.key, value: item.value || "" })) || [],
1424
1424
  taxesIncluded: false,
1425
1425
  // This field is not available in Cart API
1426
1426
  lineItems,