@01.software/sdk 0.38.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 +117 -34
- 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 +1219 -5
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +5 -4
- package/dist/client.d.ts +5 -4
- package/dist/client.js +1219 -5
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-BroIWHY1.d.ts → collection-client-CaMgs5KE.d.ts} +14 -8
- package/dist/{collection-client-B0J9wMNE.d.cts → collection-client-DVfB0Em1.d.cts} +14 -8
- 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.cjs +2787 -2612
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2787 -2612
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +241 -58
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +148 -23
- package/dist/query.d.ts +148 -23
- 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.js +5 -1
- package/dist/realtime.js.map +1 -1
- package/dist/server.cjs +1149 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +1149 -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-CIGscmus.d.cts → types-BQo7UdI9.d.cts} +181 -35
- package/dist/{types-D2xYdz4P.d.ts → types-CVf8sCZ-.d.ts} +181 -35
- 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/package.json +13 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams,
|
|
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
3
|
import { P as Product } from './payload-types-m3jjhxk9.cjs';
|
|
4
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
5
|
export { C as CollectionType, P as Product, a as ProductCollection } from './types-D0ubzQw0.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams,
|
|
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
3
|
import { P as Product } from './payload-types-m3jjhxk9.js';
|
|
4
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
5
|
export { C as CollectionType, P as Product, a as ProductCollection } from './types-Cmrd1ezc.js';
|