@01.software/sdk 0.38.0 → 0.40.0
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/README.md +169 -54
- package/dist/analytics/react.cjs.map +1 -1
- package/dist/analytics/react.js.map +1 -1
- package/dist/analytics.cjs.map +1 -1
- package/dist/analytics.js.map +1 -1
- package/dist/client.cjs +1194 -5
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +8 -7
- package/dist/client.d.ts +8 -7
- package/dist/client.js +1194 -5
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-BroIWHY1.d.ts → collection-client-CKFa99C6.d.ts} +16 -10
- package/dist/{collection-client-B0J9wMNE.d.cts → collection-client-VYwYi6u6.d.cts} +16 -10
- package/dist/const-4BUtUdGU.d.cts +32 -0
- package/dist/const-ymprfiPf.d.ts +32 -0
- package/dist/errors.cjs +4 -1
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.js +4 -1
- package/dist/errors.js.map +1 -1
- package/dist/{index-BOLQxveo.d.cts → index-Dquv4xTL.d.cts} +3 -3
- package/dist/{index-CSwR2HSg.d.ts → index-w36lpSkU.d.ts} +3 -3
- package/dist/index.cjs +2796 -2651
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +2796 -2651
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-m3jjhxk9.d.cts → payload-types-DC0xzR9i.d.cts} +470 -265
- package/dist/{payload-types-m3jjhxk9.d.ts → payload-types-DC0xzR9i.d.ts} +470 -265
- package/dist/query.cjs +241 -58
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +151 -26
- package/dist/query.d.ts +151 -26
- package/dist/query.js +241 -58
- package/dist/query.js.map +1 -1
- package/dist/realtime.cjs +5 -1
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/realtime.js +5 -1
- package/dist/realtime.js.map +1 -1
- package/dist/server.cjs +1117 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.js +1117 -1
- package/dist/server.js.map +1 -1
- package/dist/storefront-cache.cjs +144 -0
- package/dist/storefront-cache.cjs.map +1 -0
- package/dist/storefront-cache.d.cts +24 -0
- package/dist/storefront-cache.d.ts +24 -0
- package/dist/storefront-cache.js +121 -0
- package/dist/storefront-cache.js.map +1 -0
- package/dist/{types-Cmrd1ezc.d.ts → types-Bh2p-EMc.d.ts} +5 -1
- package/dist/{types-D0ubzQw0.d.cts → types-BvpjooU-.d.cts} +5 -1
- package/dist/{types-D2xYdz4P.d.ts → types-D5uHrPLr.d.cts} +264 -96
- package/dist/{types-CIGscmus.d.cts → types-Umd-YTjM.d.ts} +264 -96
- package/dist/ui/canvas/server.cjs +5 -1
- package/dist/ui/canvas/server.cjs.map +1 -1
- package/dist/ui/canvas/server.js +5 -1
- package/dist/ui/canvas/server.js.map +1 -1
- package/dist/ui/canvas.cjs +5 -1
- package/dist/ui/canvas.cjs.map +1 -1
- package/dist/ui/canvas.js +5 -1
- package/dist/ui/canvas.js.map +1 -1
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/webhook.d.cts +4 -4
- package/dist/webhook.d.ts +4 -4
- package/package.json +13 -3
- package/dist/const-6XHz_jej.d.ts +0 -32
- package/dist/const-B5KT72c7.d.cts +0 -32
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams,
|
|
3
|
-
import { P as Product } from './payload-types-
|
|
4
|
-
export { A as Article,
|
|
5
|
-
export { C as CollectionType, P as Product, a as ProductCollection } from './types-
|
|
6
|
-
export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, O as ORDER_CHANGED_EVENT_TYPE, v as OrderChangedWebhookEvent, W as WebhookChange, w as WebhookCommerceNotificationChange, x as WebhookEvent, y as WebhookHandler, z as WebhookKnownOperation, A as WebhookOperation, B as WebhookOptions, D as WebhookOrderChange, E as WebhookOrderMoved, F as WebhookOrderScope, G as createCommerceEmailWebhookHandler, H as createCommerceNotificationWebhookHandler, I as createCustomerAuthWebhookHandler, J as createTypedWebhookHandler, K as defineCommerceEmailConfig, L as getCommerceNotificationIdempotencyKey, M as handleWebhook, N as isCommerceNotificationWebhookEvent, P as isCustomerPasswordResetWebhookEvent, Q as isOrderChangedWebhookEvent, R as isValidWebhookEvent, S as isWebhookCollection, T as isWebhookOperation } from './index-
|
|
7
|
-
export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-
|
|
1
|
+
import { aP as ProductDetail, aQ as ProductDetailCatalog, aR as StockSnapshotResponse, aS as ProductSelectionMediaSource, aT as ProductDisplayMediaSource, aU as ResolveProductSelectionMediaInput, aV as ResolveProductSelectionMediaResult, aW as ProductSelectionMediaPointer, e as ClientConfig, aX as RootClientWithEvents } from './types-D5uHrPLr.cjs';
|
|
2
|
+
export { A as AddItemParams, f as ApiQueryOptions, g as ApplyDiscountParams, N as BaseApi, aY as BulkImportFulfillmentsParams, aZ as BulkImportFulfillmentsResponse, a_ as CalculateShippingParams, a$ as CalculateShippingResult, b0 as CancelOrderParams, b1 as CancelOrderReconciliationStatus, b2 as CancelOrderResponse, b3 as CancelReasonCode, b4 as CartApi, b5 as CartApiOptions, h as CheckoutParams, i as ClearCartParams, y as Client, j as ClientMetadata, d as ClientState, y as ClientType, b6 as Comment, C as CommerceClient, b7 as CommerceClientOptions, a as CommunityClient, b8 as CommunityClientOptions, b9 as CommunityComment, ba as CommunityCommentListSort, bb as CommunityPost, bc as CommunityPostCategory, bd as CommunityPostListSort, be as CommunityPostTag, bf as CommunityPublicAuthorSnapshot, bg as CommunityPublicMediaAsset, bh as CommunityPublicReference, bi as CompatibilityProductSelectionParamEvent, bj as ConfirmPaymentParams, bk as ConfirmPaymentResponse, b as ContentClient, k as ContentClientOptions, bl as CreateFulfillmentParams, bm as CreateOrderItem, bn as CreateOrderParams, bo as CreateReturnParams, ay as CustomerAuth, bp as CustomerAuthOptions, aA as CustomerAuthResponse, aB as CustomerLoginData, c as CustomerNamespace, bq as CustomerOrderListOptions, az as CustomerProfile, aE as CustomerRefreshResponse, aD as CustomerRegisterData, aC as CustomerRegisterResponse, br as CustomerSnapshot, D as DebugConfig, l as DeepPartial, bs as DiscountApi, bt as DiscountApiOptions, a1 as EventGuestCancelParams, a2 as EventGuestRegistration, a3 as EventGuestRegistrationResponse, a4 as EventRegistrationAnswerInput, a5 as EventRegistrationAttendeeInput, a6 as EventRegistrationPublic, a7 as EventRegistrationRegisterParams, a8 as EventRegistrationRegisterResponse, a9 as EventsCalendarItem, E as EventsClient, aa as EventsClientOptions, ab as EventsDateParam, ac as EventsExternalSource, ad as EventsLocation, ae as EventsOccurrenceLocation, af as EventsRangeEvent, ag as EventsRangeOccurrence, ah as EventsRangeParams, ai as EventsRangeResponse, aj as EventsTaxonomyItem, m as ExtractArrayType, bu as FeaturedImagePointerInput, bv as LegacyProductSelectionParamEvent, bw as ListingGroupsParams, bx as MediaValue, by as NormalizedOptionSwatch, bz as NormalizedProductSelection, bA as OrderApi, bB as OrderApiOptions, bC as PRODUCT_PLP_FIND_OPTIONS, bD as PRODUCT_UPSERT_READONLY_FIELD_REASON, bE as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, n as PayloadMutationResponse, bF as PrepareFulfillmentOrderParams, bG as PrepareFulfillmentOrderResponse, bH as ProductApi, bI as ProductApiOptions, bJ as ProductDetailBrand, bK as ProductDetailCatalogResult, bL as ProductDetailCatalogVariant, bM as ProductDetailCategory, bN as ProductDetailImage, bO as ProductDetailImageMedia, bP as ProductDetailMedia, bQ as ProductDetailOption, bR as ProductDetailOptionValue, aI as ProductDetailParams, aJ as ProductDetailResult, bS as ProductDetailTag, bT as ProductDetailUnavailableReason, bU as ProductDetailVariant, bV as ProductDetailVariantOptionValue, bW as ProductDetailVideo, bX as ProductHrefGroup, bY as ProductHrefOptions, bZ as ProductHrefProduct, b_ as ProductListingCard, b$ as ProductListingCardOptions, c0 as ProductListingCardPriceRange, c1 as ProductListingCardRepresentativeVariant, c2 as ProductListingGroup, c3 as ProductListingGroupCatalogSummary, c4 as ProductListingGroupCatalogVariant, c5 as ProductListingGroupProjection, c6 as ProductListingGroupSummary, c7 as ProductListingGroupVariant, aM as ProductListingGroupsCatalogItem, c8 as ProductListingGroupsCatalogProduct, c9 as ProductListingGroupsCatalogResponse, aO as ProductListingGroupsItem, ca as ProductListingGroupsProduct, cb as ProductListingGroupsResponse, aG as ProductListingPageBaseParams, aK as ProductListingPageCatalogParams, cc as ProductListingPageFilters, aN as ProductListingPageFullParams, aH as ProductListingPageParams, aL as ProductListingPageResult, cd as ProductListingPageSort, ce as ProductListingProductShape, cf as ProductListingSwatch, cg as ProductMediaResolutionSource, ch as ProductMoneyRange, ci as ProductOptionMatrix, cj as ProductOptionMatrixOption, ck as ProductOptionMatrixValue, cl as ProductOptionMatrixVariant, cm as ProductOptionShape, cn as ProductOptionValueShape, co as ProductOptionValueSwatch, cp as ProductOptionValueSwatchInput, cq as ProductPriceRange, cr as ProductSelectionAvailableSwatch, cs as ProductSelectionAvailableValue, ct as ProductSelectionByOptionValue, cu as ProductSelectionCodecError, cv as ProductSelectionCodecOptions, cw as ProductSelectionInput, cx as ProductSelectionOptionValue, cy as ProductSelectionResolution, cz as ProductSelectionResolutionContext, cA as ProductSelectionUrlEmit, cB as ProductSelectionVariant, cC as ProductUpsertFieldValidationErrorBody, cD as ProductUpsertFieldValidationErrorReason, cE as ProductVariantShape, o as PublicCart, p as PublicCartItem, q as PublicCartReference, r as PublicMediaAsset, s as PublicMediaSize, t as PublicOrder, u as PublicOrderItem, v as PublicOrderReference, ax as PublicReadQueryOptions, R as RemoveDiscountParams, w as RemoveItemParams, cF as RequestOptions, cG as ResolveCancelRefundFailedResponse, cH as ResolveCancelRefundOutcome, cI as ResolveCancelRefundParams, cJ as ResolveCancelRefundResponse, cK as ResolveCancelRefundSucceededResponse, cL as ResolveProductDisplayMediaInput, cM as ResolveProductDisplayMediaResult, x as RetryConfig, cN as ReturnItem, cO as ReturnReason, cP as ReturnWithRefundItem, cQ as ReturnWithRefundParams, y as RootClient, z as RootCollectionClient, B as RootReadOnlyQueryBuilder, O as ServerApiOptions, cR as ShippingApi, cS as ShippingApiOptions, S as Sort, cT as StockCheckParams, cU as StockCheckResponse, cV as StockCheckResult, cW as StockSnapshotItem, cX as StockSnapshotParams, F as StorefrontContentListOptions, G as StorefrontContentReference, H as StorefrontGalleryItem, I as StorefrontGalleryItemsListOptions, J as StorefrontGalleryItemsSort, K as StorefrontLink, L as StorefrontLinksListOptions, M as StorefrontLinksSort, cY as UpdateFulfillmentParams, U as UpdateItemParams, cZ as UpdateOrderParams, aF as UpdateProfileData, c_ as UpdateReturnParams, c$ as UpdateTransactionParams, d0 as ValidateDiscountParams, d1 as ValidateDiscountResult, W as Where, d2 as WithIdempotencyKey, d3 as buildProductHref, d4 as buildProductListingCard, d5 as buildProductListingGroupProjection, d6 as buildProductListingGroupsByOption, d7 as buildProductOptionMatrix, d8 as buildProductOptionMatrixFromDetail, d9 as createProductSelectionCodec, da as getAvailableOptionValues, db as getProductSelectionImages, dc as getSelectedValueByOptionId, dd as isProductUpsertFieldValidationErrorBody, de as normalizeProductSelection, df as normalizeProductSelectionFromMatrix, dg as normalizeSelectedValueIds, dh as parseProductSelection, di as resolveFeaturedImagePointer, dj as resolveProductDisplayMedia, dk as resolveProductSelection, dl as resolveProductSelectionFromMatrix, dm as resolveProductSelectionMedia, dn as resolveVariantForSelection, dp as selectNext, dq as selectedSwatchMediaItemId, dr as stringifyProductSelection, ds as toShopifyPriceRangeV2 } from './types-D5uHrPLr.cjs';
|
|
3
|
+
import { P as Product } from './payload-types-DC0xzR9i.cjs';
|
|
4
|
+
export { A as Article, e as ArticleAuthor, f as ArticleCategory, g as ArticleTag, h as Cart, i as CartItem, D as Document, I as Image, O as Order, j as Post, k as PostCategory, l as ProductVariant, T as Tenant, V as Video } from './payload-types-DC0xzR9i.cjs';
|
|
5
|
+
export { C as CollectionType, P as Product, a as ProductCollection } from './types-BvpjooU-.cjs';
|
|
6
|
+
export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, O as ORDER_CHANGED_EVENT_TYPE, v as OrderChangedWebhookEvent, W as WebhookChange, w as WebhookCommerceNotificationChange, x as WebhookEvent, y as WebhookHandler, z as WebhookKnownOperation, A as WebhookOperation, B as WebhookOptions, D as WebhookOrderChange, E as WebhookOrderMoved, F as WebhookOrderScope, G as createCommerceEmailWebhookHandler, H as createCommerceNotificationWebhookHandler, I as createCustomerAuthWebhookHandler, J as createTypedWebhookHandler, K as defineCommerceEmailConfig, L as getCommerceNotificationIdempotencyKey, M as handleWebhook, N as isCommerceNotificationWebhookEvent, P as isCustomerPasswordResetWebhookEvent, Q as isOrderChangedWebhookEvent, R as isValidWebhookEvent, S as isWebhookCollection, T as isWebhookOperation } from './index-Dquv4xTL.cjs';
|
|
7
|
+
export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-4BUtUdGU.cjs';
|
|
8
8
|
export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
|
|
9
9
|
export { a as IMAGE_SIZES, I as ImageData, b as ImageDataSizeEntry, c as ImageDataSizes, d as ImagePalette, e as ImagePlaceholderOptions, g as getImageLqip, f as getImagePalette, h as getImagePlaceholderStyle, i as getImageSrcSet, j as getImageUrl } from './image-BDjHp03R.cjs';
|
|
10
10
|
export { V as VideoGifOptions, a as VideoThumbnailOptions, g as getVideoGif, b as getVideoMp4Url, c as getVideoStoryboard, d as getVideoStreamUrl, e as getVideoThumbnail } from './video-WR_TFO9a.cjs';
|
|
@@ -63,7 +63,7 @@ type ResolveProductGalleryInput<TMedia> = ResolveProductSelectionMediaInput<TMed
|
|
|
63
63
|
mediaSets?: ProductMediaSetInput[] | null;
|
|
64
64
|
selectedVariantId?: string | number | null;
|
|
65
65
|
selectedOptionValueIds?: Array<string | number | null | undefined> | null;
|
|
66
|
-
|
|
66
|
+
featuredImage?: ProductSelectionMediaPointer;
|
|
67
67
|
};
|
|
68
68
|
/** @deprecated Use selection or display media source types. */
|
|
69
69
|
type ProductGallerySource = ProductSelectionMediaSource | ProductDisplayMediaSource | LegacyProductGallerySource;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams,
|
|
3
|
-
import { P as Product } from './payload-types-
|
|
4
|
-
export { A as Article,
|
|
5
|
-
export { C as CollectionType, P as Product, a as ProductCollection } from './types-
|
|
6
|
-
export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, O as ORDER_CHANGED_EVENT_TYPE, v as OrderChangedWebhookEvent, W as WebhookChange, w as WebhookCommerceNotificationChange, x as WebhookEvent, y as WebhookHandler, z as WebhookKnownOperation, A as WebhookOperation, B as WebhookOptions, D as WebhookOrderChange, E as WebhookOrderMoved, F as WebhookOrderScope, G as createCommerceEmailWebhookHandler, H as createCommerceNotificationWebhookHandler, I as createCustomerAuthWebhookHandler, J as createTypedWebhookHandler, K as defineCommerceEmailConfig, L as getCommerceNotificationIdempotencyKey, M as handleWebhook, N as isCommerceNotificationWebhookEvent, P as isCustomerPasswordResetWebhookEvent, Q as isOrderChangedWebhookEvent, R as isValidWebhookEvent, S as isWebhookCollection, T as isWebhookOperation } from './index-
|
|
7
|
-
export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-
|
|
1
|
+
import { aP as ProductDetail, aQ as ProductDetailCatalog, aR as StockSnapshotResponse, aS as ProductSelectionMediaSource, aT as ProductDisplayMediaSource, aU as ResolveProductSelectionMediaInput, aV as ResolveProductSelectionMediaResult, aW as ProductSelectionMediaPointer, e as ClientConfig, aX as RootClientWithEvents } from './types-Umd-YTjM.js';
|
|
2
|
+
export { A as AddItemParams, f as ApiQueryOptions, g as ApplyDiscountParams, N as BaseApi, aY as BulkImportFulfillmentsParams, aZ as BulkImportFulfillmentsResponse, a_ as CalculateShippingParams, a$ as CalculateShippingResult, b0 as CancelOrderParams, b1 as CancelOrderReconciliationStatus, b2 as CancelOrderResponse, b3 as CancelReasonCode, b4 as CartApi, b5 as CartApiOptions, h as CheckoutParams, i as ClearCartParams, y as Client, j as ClientMetadata, d as ClientState, y as ClientType, b6 as Comment, C as CommerceClient, b7 as CommerceClientOptions, a as CommunityClient, b8 as CommunityClientOptions, b9 as CommunityComment, ba as CommunityCommentListSort, bb as CommunityPost, bc as CommunityPostCategory, bd as CommunityPostListSort, be as CommunityPostTag, bf as CommunityPublicAuthorSnapshot, bg as CommunityPublicMediaAsset, bh as CommunityPublicReference, bi as CompatibilityProductSelectionParamEvent, bj as ConfirmPaymentParams, bk as ConfirmPaymentResponse, b as ContentClient, k as ContentClientOptions, bl as CreateFulfillmentParams, bm as CreateOrderItem, bn as CreateOrderParams, bo as CreateReturnParams, ay as CustomerAuth, bp as CustomerAuthOptions, aA as CustomerAuthResponse, aB as CustomerLoginData, c as CustomerNamespace, bq as CustomerOrderListOptions, az as CustomerProfile, aE as CustomerRefreshResponse, aD as CustomerRegisterData, aC as CustomerRegisterResponse, br as CustomerSnapshot, D as DebugConfig, l as DeepPartial, bs as DiscountApi, bt as DiscountApiOptions, a1 as EventGuestCancelParams, a2 as EventGuestRegistration, a3 as EventGuestRegistrationResponse, a4 as EventRegistrationAnswerInput, a5 as EventRegistrationAttendeeInput, a6 as EventRegistrationPublic, a7 as EventRegistrationRegisterParams, a8 as EventRegistrationRegisterResponse, a9 as EventsCalendarItem, E as EventsClient, aa as EventsClientOptions, ab as EventsDateParam, ac as EventsExternalSource, ad as EventsLocation, ae as EventsOccurrenceLocation, af as EventsRangeEvent, ag as EventsRangeOccurrence, ah as EventsRangeParams, ai as EventsRangeResponse, aj as EventsTaxonomyItem, m as ExtractArrayType, bu as FeaturedImagePointerInput, bv as LegacyProductSelectionParamEvent, bw as ListingGroupsParams, bx as MediaValue, by as NormalizedOptionSwatch, bz as NormalizedProductSelection, bA as OrderApi, bB as OrderApiOptions, bC as PRODUCT_PLP_FIND_OPTIONS, bD as PRODUCT_UPSERT_READONLY_FIELD_REASON, bE as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, n as PayloadMutationResponse, bF as PrepareFulfillmentOrderParams, bG as PrepareFulfillmentOrderResponse, bH as ProductApi, bI as ProductApiOptions, bJ as ProductDetailBrand, bK as ProductDetailCatalogResult, bL as ProductDetailCatalogVariant, bM as ProductDetailCategory, bN as ProductDetailImage, bO as ProductDetailImageMedia, bP as ProductDetailMedia, bQ as ProductDetailOption, bR as ProductDetailOptionValue, aI as ProductDetailParams, aJ as ProductDetailResult, bS as ProductDetailTag, bT as ProductDetailUnavailableReason, bU as ProductDetailVariant, bV as ProductDetailVariantOptionValue, bW as ProductDetailVideo, bX as ProductHrefGroup, bY as ProductHrefOptions, bZ as ProductHrefProduct, b_ as ProductListingCard, b$ as ProductListingCardOptions, c0 as ProductListingCardPriceRange, c1 as ProductListingCardRepresentativeVariant, c2 as ProductListingGroup, c3 as ProductListingGroupCatalogSummary, c4 as ProductListingGroupCatalogVariant, c5 as ProductListingGroupProjection, c6 as ProductListingGroupSummary, c7 as ProductListingGroupVariant, aM as ProductListingGroupsCatalogItem, c8 as ProductListingGroupsCatalogProduct, c9 as ProductListingGroupsCatalogResponse, aO as ProductListingGroupsItem, ca as ProductListingGroupsProduct, cb as ProductListingGroupsResponse, aG as ProductListingPageBaseParams, aK as ProductListingPageCatalogParams, cc as ProductListingPageFilters, aN as ProductListingPageFullParams, aH as ProductListingPageParams, aL as ProductListingPageResult, cd as ProductListingPageSort, ce as ProductListingProductShape, cf as ProductListingSwatch, cg as ProductMediaResolutionSource, ch as ProductMoneyRange, ci as ProductOptionMatrix, cj as ProductOptionMatrixOption, ck as ProductOptionMatrixValue, cl as ProductOptionMatrixVariant, cm as ProductOptionShape, cn as ProductOptionValueShape, co as ProductOptionValueSwatch, cp as ProductOptionValueSwatchInput, cq as ProductPriceRange, cr as ProductSelectionAvailableSwatch, cs as ProductSelectionAvailableValue, ct as ProductSelectionByOptionValue, cu as ProductSelectionCodecError, cv as ProductSelectionCodecOptions, cw as ProductSelectionInput, cx as ProductSelectionOptionValue, cy as ProductSelectionResolution, cz as ProductSelectionResolutionContext, cA as ProductSelectionUrlEmit, cB as ProductSelectionVariant, cC as ProductUpsertFieldValidationErrorBody, cD as ProductUpsertFieldValidationErrorReason, cE as ProductVariantShape, o as PublicCart, p as PublicCartItem, q as PublicCartReference, r as PublicMediaAsset, s as PublicMediaSize, t as PublicOrder, u as PublicOrderItem, v as PublicOrderReference, ax as PublicReadQueryOptions, R as RemoveDiscountParams, w as RemoveItemParams, cF as RequestOptions, cG as ResolveCancelRefundFailedResponse, cH as ResolveCancelRefundOutcome, cI as ResolveCancelRefundParams, cJ as ResolveCancelRefundResponse, cK as ResolveCancelRefundSucceededResponse, cL as ResolveProductDisplayMediaInput, cM as ResolveProductDisplayMediaResult, x as RetryConfig, cN as ReturnItem, cO as ReturnReason, cP as ReturnWithRefundItem, cQ as ReturnWithRefundParams, y as RootClient, z as RootCollectionClient, B as RootReadOnlyQueryBuilder, O as ServerApiOptions, cR as ShippingApi, cS as ShippingApiOptions, S as Sort, cT as StockCheckParams, cU as StockCheckResponse, cV as StockCheckResult, cW as StockSnapshotItem, cX as StockSnapshotParams, F as StorefrontContentListOptions, G as StorefrontContentReference, H as StorefrontGalleryItem, I as StorefrontGalleryItemsListOptions, J as StorefrontGalleryItemsSort, K as StorefrontLink, L as StorefrontLinksListOptions, M as StorefrontLinksSort, cY as UpdateFulfillmentParams, U as UpdateItemParams, cZ as UpdateOrderParams, aF as UpdateProfileData, c_ as UpdateReturnParams, c$ as UpdateTransactionParams, d0 as ValidateDiscountParams, d1 as ValidateDiscountResult, W as Where, d2 as WithIdempotencyKey, d3 as buildProductHref, d4 as buildProductListingCard, d5 as buildProductListingGroupProjection, d6 as buildProductListingGroupsByOption, d7 as buildProductOptionMatrix, d8 as buildProductOptionMatrixFromDetail, d9 as createProductSelectionCodec, da as getAvailableOptionValues, db as getProductSelectionImages, dc as getSelectedValueByOptionId, dd as isProductUpsertFieldValidationErrorBody, de as normalizeProductSelection, df as normalizeProductSelectionFromMatrix, dg as normalizeSelectedValueIds, dh as parseProductSelection, di as resolveFeaturedImagePointer, dj as resolveProductDisplayMedia, dk as resolveProductSelection, dl as resolveProductSelectionFromMatrix, dm as resolveProductSelectionMedia, dn as resolveVariantForSelection, dp as selectNext, dq as selectedSwatchMediaItemId, dr as stringifyProductSelection, ds as toShopifyPriceRangeV2 } from './types-Umd-YTjM.js';
|
|
3
|
+
import { P as Product } from './payload-types-DC0xzR9i.js';
|
|
4
|
+
export { A as Article, e as ArticleAuthor, f as ArticleCategory, g as ArticleTag, h as Cart, i as CartItem, D as Document, I as Image, O as Order, j as Post, k as PostCategory, l as ProductVariant, T as Tenant, V as Video } from './payload-types-DC0xzR9i.js';
|
|
5
|
+
export { C as CollectionType, P as Product, a as ProductCollection } from './types-Bh2p-EMc.js';
|
|
6
|
+
export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, O as ORDER_CHANGED_EVENT_TYPE, v as OrderChangedWebhookEvent, W as WebhookChange, w as WebhookCommerceNotificationChange, x as WebhookEvent, y as WebhookHandler, z as WebhookKnownOperation, A as WebhookOperation, B as WebhookOptions, D as WebhookOrderChange, E as WebhookOrderMoved, F as WebhookOrderScope, G as createCommerceEmailWebhookHandler, H as createCommerceNotificationWebhookHandler, I as createCustomerAuthWebhookHandler, J as createTypedWebhookHandler, K as defineCommerceEmailConfig, L as getCommerceNotificationIdempotencyKey, M as handleWebhook, N as isCommerceNotificationWebhookEvent, P as isCustomerPasswordResetWebhookEvent, Q as isOrderChangedWebhookEvent, R as isValidWebhookEvent, S as isWebhookCollection, T as isWebhookOperation } from './index-w36lpSkU.js';
|
|
7
|
+
export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-ymprfiPf.js';
|
|
8
8
|
export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.js';
|
|
9
9
|
export { a as IMAGE_SIZES, I as ImageData, b as ImageDataSizeEntry, c as ImageDataSizes, d as ImagePalette, e as ImagePlaceholderOptions, g as getImageLqip, f as getImagePalette, h as getImagePlaceholderStyle, i as getImageSrcSet, j as getImageUrl } from './image-BDjHp03R.js';
|
|
10
10
|
export { V as VideoGifOptions, a as VideoThumbnailOptions, g as getVideoGif, b as getVideoMp4Url, c as getVideoStoryboard, d as getVideoStreamUrl, e as getVideoThumbnail } from './video-WR_TFO9a.js';
|
|
@@ -63,7 +63,7 @@ type ResolveProductGalleryInput<TMedia> = ResolveProductSelectionMediaInput<TMed
|
|
|
63
63
|
mediaSets?: ProductMediaSetInput[] | null;
|
|
64
64
|
selectedVariantId?: string | number | null;
|
|
65
65
|
selectedOptionValueIds?: Array<string | number | null | undefined> | null;
|
|
66
|
-
|
|
66
|
+
featuredImage?: ProductSelectionMediaPointer;
|
|
67
67
|
};
|
|
68
68
|
/** @deprecated Use selection or display media source types. */
|
|
69
69
|
type ProductGallerySource = ProductSelectionMediaSource | ProductDisplayMediaSource | LegacyProductGallerySource;
|