@01.software/sdk 0.37.0 → 0.39.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 +189 -84
- 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 +1286 -109
- 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 +1286 -109
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-DyELGUcL.d.ts → collection-client-CaMgs5KE.d.ts} +18 -12
- package/dist/{collection-client-zOmnxwdA.d.cts → collection-client-DVfB0Em1.d.cts} +18 -12
- package/dist/const-6XHz_jej.d.ts +32 -0
- package/dist/const-B5KT72c7.d.cts +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-DRJs7QIh.d.cts → index-BOLQxveo.d.cts} +3 -3
- package/dist/{index-DTqoUZk_.d.ts → index-CSwR2HSg.d.ts} +3 -3
- package/dist/index.cjs +2861 -2714
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +2861 -2714
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-CREOjFNT.d.cts → payload-types-m3jjhxk9.d.cts} +418 -106
- package/dist/{payload-types-CREOjFNT.d.ts → payload-types-m3jjhxk9.d.ts} +418 -106
- package/dist/query.cjs +244 -1093
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +159 -34
- package/dist/query.d.ts +159 -34
- package/dist/query.js +244 -1093
- 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 +1191 -22
- 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 +1191 -22
- 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-DMvVHdb1.d.ts → types-BQo7UdI9.d.cts} +1608 -1215
- package/dist/{types-BWMUr3Zw.d.cts → types-CVf8sCZ-.d.ts} +1608 -1215
- package/dist/{types-CxzWHspI.d.ts → types-Cmrd1ezc.d.ts} +1 -15
- package/dist/{types-BkZNhuBh.d.cts → types-D0ubzQw0.d.cts} +1 -15
- 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 +11 -1
- package/dist/const-CK_FPaIn.d.cts +0 -32
- package/dist/const-Dqz05oaG.d.ts +0 -32
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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-BQo7UdI9.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, az as CustomerProfile, aE as CustomerRefreshResponse, aD as CustomerRegisterData, aC as CustomerRegisterResponse, bq as CustomerSnapshot, D as DebugConfig, l as DeepPartial, br as DiscountApi, bs 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, bt as LegacyProductSelectionParamEvent, bu as ListingGroupsParams, bv as ListingPrimaryImageFallbackInput, bw as MediaValue, bx as NormalizedOptionSwatch, by as NormalizedProductSelection, bz as OrderApi, bA as OrderApiOptions, bB as PRODUCT_PLP_FIND_OPTIONS, bC as PRODUCT_UPSERT_READONLY_FIELD_REASON, bD as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, n as PayloadMutationResponse, bE as PrepareFulfillmentOrderParams, bF as PrepareFulfillmentOrderResponse, bG as ProductApi, bH as ProductApiOptions, bI as ProductDetailBrand, bJ as ProductDetailCatalogListing, bK as ProductDetailCatalogResult, bL as ProductDetailCatalogVariant, bM as ProductDetailCategory, bN as ProductDetailImage, bO as ProductDetailImageMedia, bP as ProductDetailListing, bQ as ProductDetailMedia, bR as ProductDetailOption, bS as ProductDetailOptionValue, aI as ProductDetailParams, aJ as ProductDetailResult, bT as ProductDetailTag, bU as ProductDetailUnavailableReason, bV as ProductDetailVariant, bW as ProductDetailVariantOptionValue, bX as ProductDetailVideo, bY as ProductHrefGroup, bZ as ProductHrefOptions, b_ as ProductHrefProduct, b$ as ProductListingCard, c0 as ProductListingCardOptions, c1 as ProductListingCardPriceRange, c2 as ProductListingCardRepresentativeVariant, c3 as ProductListingGroup, c4 as ProductListingGroupCatalogSummary, c5 as ProductListingGroupCatalogVariant, c6 as ProductListingGroupSummary, c7 as ProductListingGroupVariant, aM as ProductListingGroupsCatalogItem, c8 as ProductListingGroupsCatalogListing, c9 as ProductListingGroupsCatalogProduct, ca as ProductListingGroupsCatalogResponse, aO as ProductListingGroupsItem, cb as ProductListingGroupsProduct, cc as ProductListingGroupsResponse, aG as ProductListingPageBaseParams, aK as ProductListingPageCatalogParams, cd as ProductListingPageFilters, aN as ProductListingPageFullParams, aH as ProductListingPageParams, aL as ProductListingPageResult, ce as ProductListingPageSort, cf as ProductListingProductShape, cg as ProductListingProjection, ch as ProductListingSwatch, ci as ProductMediaResolutionSource, cj as ProductOptionMatrix, ck as ProductOptionMatrixOption, cl as ProductOptionMatrixValue, cm as ProductOptionMatrixVariant, cn as ProductOptionShape, co as ProductOptionValueShape, cp as ProductOptionValueSwatch, cq as ProductOptionValueSwatchInput, 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 buildProductListingGroupsByOption, d6 as buildProductListingProjection, 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 resolveListingPrimaryImagePointer, 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-BQo7UdI9.cjs';
|
|
3
|
+
import { P as Product } from './payload-types-m3jjhxk9.cjs';
|
|
4
|
+
export { A as Article, d as ArticleAuthor, e as ArticleCategory, f as ArticleTag, g as Cart, h as CartItem, D as Document, I as Image, O as Order, i as Post, j as PostCategory, k as ProductVariant, T as Tenant, V as Video } from './payload-types-m3jjhxk9.cjs';
|
|
5
|
+
export { C as CollectionType, P as Product, a as ProductCollection } from './types-D0ubzQw0.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-BOLQxveo.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-B5KT72c7.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';
|
|
@@ -38,14 +38,14 @@ type ResolveProductMediaResult<TMedia> = Omit<ResolveProductSelectionMediaResult
|
|
|
38
38
|
source: MediaPointerSource;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
* @deprecated One-release shim for ADR
|
|
41
|
+
* @deprecated One-release shim for ADR 0025. Prefer
|
|
42
42
|
* `resolveProductSelectionMedia()`. Legacy direct-media fallbacks are ignored;
|
|
43
43
|
* callers fall through to product display media (`resolveProductDisplayMedia`)
|
|
44
44
|
* or `none`.
|
|
45
45
|
*/
|
|
46
46
|
declare function resolveProductMedia<TMedia>(input: ResolveProductMediaInput<TMedia>): ResolveProductMediaResult<TMedia>;
|
|
47
47
|
|
|
48
|
-
/** @deprecated ADR
|
|
48
|
+
/** @deprecated ADR 0025 replaces media sets with variant `images[]` subsets. */
|
|
49
49
|
type ProductMediaSetMatchType = 'default' | 'option-values' | 'exact-variant';
|
|
50
50
|
/** @deprecated Use `ResolveProductSelectionMediaInput` and variant `images[]`. */
|
|
51
51
|
type ProductMediaSetInput = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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-CVf8sCZ-.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, az as CustomerProfile, aE as CustomerRefreshResponse, aD as CustomerRegisterData, aC as CustomerRegisterResponse, bq as CustomerSnapshot, D as DebugConfig, l as DeepPartial, br as DiscountApi, bs 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, bt as LegacyProductSelectionParamEvent, bu as ListingGroupsParams, bv as ListingPrimaryImageFallbackInput, bw as MediaValue, bx as NormalizedOptionSwatch, by as NormalizedProductSelection, bz as OrderApi, bA as OrderApiOptions, bB as PRODUCT_PLP_FIND_OPTIONS, bC as PRODUCT_UPSERT_READONLY_FIELD_REASON, bD as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, n as PayloadMutationResponse, bE as PrepareFulfillmentOrderParams, bF as PrepareFulfillmentOrderResponse, bG as ProductApi, bH as ProductApiOptions, bI as ProductDetailBrand, bJ as ProductDetailCatalogListing, bK as ProductDetailCatalogResult, bL as ProductDetailCatalogVariant, bM as ProductDetailCategory, bN as ProductDetailImage, bO as ProductDetailImageMedia, bP as ProductDetailListing, bQ as ProductDetailMedia, bR as ProductDetailOption, bS as ProductDetailOptionValue, aI as ProductDetailParams, aJ as ProductDetailResult, bT as ProductDetailTag, bU as ProductDetailUnavailableReason, bV as ProductDetailVariant, bW as ProductDetailVariantOptionValue, bX as ProductDetailVideo, bY as ProductHrefGroup, bZ as ProductHrefOptions, b_ as ProductHrefProduct, b$ as ProductListingCard, c0 as ProductListingCardOptions, c1 as ProductListingCardPriceRange, c2 as ProductListingCardRepresentativeVariant, c3 as ProductListingGroup, c4 as ProductListingGroupCatalogSummary, c5 as ProductListingGroupCatalogVariant, c6 as ProductListingGroupSummary, c7 as ProductListingGroupVariant, aM as ProductListingGroupsCatalogItem, c8 as ProductListingGroupsCatalogListing, c9 as ProductListingGroupsCatalogProduct, ca as ProductListingGroupsCatalogResponse, aO as ProductListingGroupsItem, cb as ProductListingGroupsProduct, cc as ProductListingGroupsResponse, aG as ProductListingPageBaseParams, aK as ProductListingPageCatalogParams, cd as ProductListingPageFilters, aN as ProductListingPageFullParams, aH as ProductListingPageParams, aL as ProductListingPageResult, ce as ProductListingPageSort, cf as ProductListingProductShape, cg as ProductListingProjection, ch as ProductListingSwatch, ci as ProductMediaResolutionSource, cj as ProductOptionMatrix, ck as ProductOptionMatrixOption, cl as ProductOptionMatrixValue, cm as ProductOptionMatrixVariant, cn as ProductOptionShape, co as ProductOptionValueShape, cp as ProductOptionValueSwatch, cq as ProductOptionValueSwatchInput, 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 buildProductListingGroupsByOption, d6 as buildProductListingProjection, 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 resolveListingPrimaryImagePointer, 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-CVf8sCZ-.js';
|
|
3
|
+
import { P as Product } from './payload-types-m3jjhxk9.js';
|
|
4
|
+
export { A as Article, d as ArticleAuthor, e as ArticleCategory, f as ArticleTag, g as Cart, h as CartItem, D as Document, I as Image, O as Order, i as Post, j as PostCategory, k as ProductVariant, T as Tenant, V as Video } from './payload-types-m3jjhxk9.js';
|
|
5
|
+
export { C as CollectionType, P as Product, a as ProductCollection } from './types-Cmrd1ezc.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-CSwR2HSg.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-6XHz_jej.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';
|
|
@@ -38,14 +38,14 @@ type ResolveProductMediaResult<TMedia> = Omit<ResolveProductSelectionMediaResult
|
|
|
38
38
|
source: MediaPointerSource;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
* @deprecated One-release shim for ADR
|
|
41
|
+
* @deprecated One-release shim for ADR 0025. Prefer
|
|
42
42
|
* `resolveProductSelectionMedia()`. Legacy direct-media fallbacks are ignored;
|
|
43
43
|
* callers fall through to product display media (`resolveProductDisplayMedia`)
|
|
44
44
|
* or `none`.
|
|
45
45
|
*/
|
|
46
46
|
declare function resolveProductMedia<TMedia>(input: ResolveProductMediaInput<TMedia>): ResolveProductMediaResult<TMedia>;
|
|
47
47
|
|
|
48
|
-
/** @deprecated ADR
|
|
48
|
+
/** @deprecated ADR 0025 replaces media sets with variant `images[]` subsets. */
|
|
49
49
|
type ProductMediaSetMatchType = 'default' | 'option-values' | 'exact-variant';
|
|
50
50
|
/** @deprecated Use `ResolveProductSelectionMediaInput` and variant `images[]`. */
|
|
51
51
|
type ProductMediaSetInput = {
|