@01.software/sdk 0.41.0 → 0.41.1
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/CHANGELOG.md +14 -0
- 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.map +1 -1
- package/dist/client.d.cts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-CN4lj6gi.d.ts → collection-client-BdcxkW7l.d.ts} +5 -5
- package/dist/{collection-client-Bymfni8u.d.cts → collection-client-Bk--pNzW.d.cts} +5 -5
- package/dist/{const-ymprfiPf.d.ts → const-HwdntWtG.d.ts} +1 -1
- package/dist/{const-4BUtUdGU.d.cts → const-qGGI7Uii.d.cts} +1 -1
- package/dist/{index-w36lpSkU.d.ts → index-B1oW50RY.d.ts} +3 -3
- package/dist/{index-Dquv4xTL.d.cts → index-DiXtjVab.d.cts} +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-DC0xzR9i.d.cts → payload-types-CqJOgON7.d.cts} +0 -3
- package/dist/{payload-types-DC0xzR9i.d.ts → payload-types-CqJOgON7.d.ts} +0 -3
- package/dist/query.d.cts +5 -5
- package/dist/query.d.ts +5 -5
- 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.map +1 -1
- package/dist/server.cjs +6 -4
- 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 +6 -4
- package/dist/server.js.map +1 -1
- package/dist/{types-CHrzs2GB.d.ts → types-BKa9z9s2.d.cts} +6 -5
- package/dist/{types-Bh2p-EMc.d.ts → types-BMI3M0nb.d.ts} +1 -1
- package/dist/{types-BvpjooU-.d.cts → types-ByLSG-O3.d.cts} +1 -1
- package/dist/{types-Bl-m9ttd.d.cts → types-DgfXb7iV.d.ts} +6 -5
- 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 +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PublicCollection, S as ServerCollection } from './const-
|
|
2
|
-
import { C as CollectionType, P as PublicProduct } from './types-
|
|
3
|
-
import { O as Order, m as Transaction, n as Fulfillment, R as Return } from './payload-types-
|
|
1
|
+
import { P as PublicCollection, S as ServerCollection } from './const-qGGI7Uii.cjs';
|
|
2
|
+
import { C as CollectionType, P as PublicProduct } from './types-ByLSG-O3.cjs';
|
|
3
|
+
import { O as Order, m as Transaction, n as Fulfillment, R as Return } from './payload-types-CqJOgON7.cjs';
|
|
4
4
|
|
|
5
5
|
interface CustomerScopedApiOptions {
|
|
6
6
|
publishableKey?: string;
|
|
@@ -2515,6 +2515,7 @@ interface ApiQueryOptions {
|
|
|
2515
2515
|
/** Include soft-deleted documents (requires `trash` enabled on the collection) */
|
|
2516
2516
|
trash?: boolean;
|
|
2517
2517
|
}
|
|
2518
|
+
type ApiDeleteOptions = Pick<ApiQueryOptions, 'trash'>;
|
|
2518
2519
|
type PublicReadQueryOptions = Omit<ApiQueryOptions, 'depth' | 'joins' | 'populate'> & {
|
|
2519
2520
|
/**
|
|
2520
2521
|
* Publishable collection reads stay unpopulated. Use shaped commerce/community
|
|
@@ -2557,7 +2558,7 @@ interface RootServerQueryBuilder<T extends ServerCollection> extends RootQueryLo
|
|
|
2557
2558
|
filename?: string;
|
|
2558
2559
|
}): Promise<PayloadMutationResponse<CollectionType<T>>>;
|
|
2559
2560
|
updateMany(where: ApiQueryOptions['where'], data: Partial<CollectionType<T>>): Promise<PayloadFindResponse<CollectionType<T>>>;
|
|
2560
|
-
remove(id: string): Promise<CollectionType<T>>;
|
|
2561
|
+
remove(id: string, options?: ApiDeleteOptions): Promise<CollectionType<T>>;
|
|
2561
2562
|
removeMany(where: ApiQueryOptions['where']): Promise<PayloadFindResponse<CollectionType<T>>>;
|
|
2562
2563
|
}
|
|
2563
2564
|
interface RootCollectionClient {
|
|
@@ -2607,4 +2608,4 @@ type DeepPartial<T> = {
|
|
|
2607
2608
|
};
|
|
2608
2609
|
type ExtractArrayType<T> = T extends (infer U)[] ? U : never;
|
|
2609
2610
|
|
|
2610
|
-
export { type CollectionFieldSchema as $, type AddItemParams as A, type RootReadOnlyQueryBuilder as B, CommerceClient as C, type DebugConfig as D, EventsClient as E, type StorefrontContentListOptions as F, type StorefrontContentReference as G, type StorefrontGalleryItem as H, type StorefrontGalleryItemsListOptions as I, type StorefrontGalleryItemsSort as J, type StorefrontLink as K, type StorefrontLinksListOptions as L, type StorefrontLinksSort as M, BaseApi as N, type ServerApiOptions as O, type PayloadFindResponse as P, ServerCommerceClient as Q, type RemoveDiscountParams as R, type Sort as S, type TenantIntrospectionClient as T, type UpdateItemParams as U, type BanCustomerParams as V, type Where as W, type CommunityBan as X, type UnbanCustomerParams as Y, type ClientServerConfig as Z, type RootServerClientWithEvents as _, CommunityClient as a, type
|
|
2611
|
+
export { type CollectionFieldSchema as $, type AddItemParams as A, type RootReadOnlyQueryBuilder as B, CommerceClient as C, type DebugConfig as D, EventsClient as E, type StorefrontContentListOptions as F, type StorefrontContentReference as G, type StorefrontGalleryItem as H, type StorefrontGalleryItemsListOptions as I, type StorefrontGalleryItemsSort as J, type StorefrontLink as K, type StorefrontLinksListOptions as L, type StorefrontLinksSort as M, BaseApi as N, type ServerApiOptions as O, type PayloadFindResponse as P, ServerCommerceClient as Q, type RemoveDiscountParams as R, type Sort as S, type TenantIntrospectionClient as T, type UpdateItemParams as U, type BanCustomerParams as V, type Where as W, type CommunityBan as X, type UnbanCustomerParams as Y, type ClientServerConfig as Z, type RootServerClientWithEvents as _, CommunityClient as a, type CalculateShippingParams as a$, type CollectionSchemaResponse as a0, type EventGuestCancelParams as a1, type EventGuestRegistration as a2, type EventGuestRegistrationResponse as a3, type EventRegistrationAnswerInput as a4, type EventRegistrationAttendeeInput as a5, type EventRegistrationPublic as a6, type EventRegistrationRegisterParams as a7, type EventRegistrationRegisterResponse as a8, type EventsCalendarItem as a9, type CustomerProfile as aA, type CustomerAuthResponse as aB, type CustomerLoginData as aC, type CustomerRegisterResponse as aD, type CustomerRegisterData as aE, type CustomerRefreshResponse as aF, type UpdateProfileData as aG, type ProductListingPageBaseParams as aH, type ProductListingPageParams as aI, type ProductDetailParams as aJ, type ProductDetailResult as aK, type ProductListingPageCatalogParams as aL, type ProductListingPageResult as aM, type ProductListingGroupsCatalogItem as aN, type ProductListingPageFullParams as aO, type ProductListingGroupsItem as aP, type ProductDetail as aQ, type ProductDetailCatalog as aR, type StockSnapshotResponse as aS, type ProductSelectionMediaSource as aT, type ProductDisplayMediaSource as aU, type ResolveProductSelectionMediaInput as aV, type ResolveProductSelectionMediaResult as aW, type ProductSelectionMediaPointer as aX, type RootClientWithEvents as aY, type BulkImportFulfillmentsParams as aZ, type BulkImportFulfillmentsResponse as a_, type EventsClientOptions as aa, type EventsDateParam as ab, type EventsExternalSource as ac, type EventsLocation as ad, type EventsOccurrenceLocation as ae, type EventsRangeEvent as af, type EventsRangeOccurrence as ag, type EventsRangeParams as ah, type EventsRangeResponse as ai, type EventsTaxonomyItem as aj, ModerationApi as ak, type RootServerClient as al, type TenantFeatureProgressEvidenceValue as am, type TenantFeatureProgressFeature as an, type TenantFeatureProgressGroup as ao, type TenantFeatureProgressInput as ap, type TenantFeatureProgressItem as aq, type TenantFeatureProgressItemState as ar, type TenantFeatureProgressResponse as as, type TenantFeatureProgressSeverity as at, type TenantFeatureProgressStatus as au, TenantIntrospectionApi as av, type TenantIntrospectionApiOptions as aw, type ApiDeleteOptions as ax, type PublicReadQueryOptions as ay, CustomerAuth as az, ContentClient as b, type ProductListingCard as b$, type CalculateShippingResult as b0, type CancelOrderParams as b1, type CancelOrderReconciliationStatus as b2, type CancelOrderResponse as b3, type CancelReasonCode as b4, CartApi as b5, type CartApiOptions as b6, type Comment as b7, type CommerceClientOptions as b8, type CommunityClientOptions as b9, type NormalizedProductSelection as bA, OrderApi as bB, type OrderApiOptions as bC, PRODUCT_PLP_FIND_OPTIONS as bD, PRODUCT_UPSERT_READONLY_FIELD_REASON as bE, PRODUCT_UPSERT_UNKNOWN_FIELD_REASON as bF, type PrepareFulfillmentOrderParams as bG, type PrepareFulfillmentOrderResponse as bH, ProductApi as bI, type ProductApiOptions as bJ, type ProductDetailBrand as bK, type ProductDetailCatalogResult as bL, type ProductDetailCatalogVariant as bM, type ProductDetailCategory as bN, type ProductDetailImage as bO, type ProductDetailImageMedia as bP, type ProductDetailMedia as bQ, type ProductDetailOption as bR, type ProductDetailOptionValue as bS, type ProductDetailTag as bT, type ProductDetailUnavailableReason as bU, type ProductDetailVariant as bV, type ProductDetailVariantOptionValue as bW, type ProductDetailVideo as bX, type ProductHrefGroup as bY, type ProductHrefOptions as bZ, type ProductHrefProduct as b_, type CommunityComment as ba, type CommunityCommentListSort as bb, type CommunityPost as bc, type CommunityPostCategory as bd, type CommunityPostListSort as be, type CommunityPostTag as bf, type CommunityPublicAuthorSnapshot as bg, type CommunityPublicMediaAsset as bh, type CommunityPublicReference as bi, type CompatibilityProductSelectionParamEvent as bj, type ConfirmPaymentParams as bk, type ConfirmPaymentResponse as bl, type CreateFulfillmentParams as bm, type CreateOrderItem as bn, type CreateOrderParams as bo, type CreateReturnParams as bp, type CustomerAuthOptions as bq, type CustomerOrderListOptions as br, type CustomerSnapshot as bs, DiscountApi as bt, type DiscountApiOptions as bu, type FeaturedImagePointerInput as bv, type LegacyProductSelectionParamEvent as bw, type ListingGroupsParams as bx, type MediaValue as by, type NormalizedOptionSwatch as bz, CustomerNamespace as c, type UpdateReturnParams as c$, type ProductListingCardOptions as c0, type ProductListingCardPriceRange as c1, type ProductListingCardRepresentativeVariant as c2, type ProductListingGroup as c3, type ProductListingGroupCatalogSummary as c4, type ProductListingGroupCatalogVariant as c5, type ProductListingGroupProjection as c6, type ProductListingGroupSummary as c7, type ProductListingGroupVariant as c8, type ProductListingGroupsCatalogProduct as c9, type ProductSelectionResolutionContext as cA, type ProductSelectionUrlEmit as cB, type ProductSelectionVariant as cC, type ProductUpsertFieldValidationErrorBody as cD, type ProductUpsertFieldValidationErrorReason as cE, type ProductVariantShape as cF, type RequestOptions as cG, type ResolveCancelRefundFailedResponse as cH, type ResolveCancelRefundOutcome as cI, type ResolveCancelRefundParams as cJ, type ResolveCancelRefundResponse as cK, type ResolveCancelRefundSucceededResponse as cL, type ResolveProductDisplayMediaInput as cM, type ResolveProductDisplayMediaResult as cN, type ReturnItem as cO, type ReturnReason as cP, type ReturnWithRefundItem as cQ, type ReturnWithRefundParams as cR, ShippingApi as cS, type ShippingApiOptions as cT, type StockCheckParams as cU, type StockCheckResponse as cV, type StockCheckResult as cW, type StockSnapshotItem as cX, type StockSnapshotParams as cY, type UpdateFulfillmentParams as cZ, type UpdateOrderParams as c_, type ProductListingGroupsCatalogResponse as ca, type ProductListingGroupsProduct as cb, type ProductListingGroupsResponse as cc, type ProductListingPageFilters as cd, type ProductListingPageSort as ce, type ProductListingProductShape as cf, type ProductListingSwatch as cg, type ProductMediaResolutionSource as ch, type ProductMoneyRange as ci, type ProductOptionMatrix as cj, type ProductOptionMatrixOption as ck, type ProductOptionMatrixValue as cl, type ProductOptionMatrixVariant as cm, type ProductOptionShape as cn, type ProductOptionValueShape as co, type ProductOptionValueSwatch as cp, type ProductOptionValueSwatchInput as cq, type ProductPriceRange as cr, type ProductSelectionAvailableSwatch as cs, type ProductSelectionAvailableValue as ct, type ProductSelectionByOptionValue as cu, ProductSelectionCodecError as cv, type ProductSelectionCodecOptions as cw, type ProductSelectionInput as cx, type ProductSelectionOptionValue as cy, type ProductSelectionResolution as cz, type ClientState as d, type UpdateTransactionParams as d0, type ValidateDiscountParams as d1, type ValidateDiscountResult as d2, type WithIdempotencyKey as d3, buildProductHref as d4, buildProductListingCard as d5, buildProductListingGroupProjection as d6, buildProductListingGroupsByOption as d7, buildProductOptionMatrix as d8, buildProductOptionMatrixFromDetail as d9, createProductSelectionCodec as da, getAvailableOptionValues as db, getProductSelectionImages as dc, getSelectedValueByOptionId as dd, getVariantAvailableForSale as de, getVariantAvailableStock as df, isProductUpsertFieldValidationErrorBody as dg, normalizeProductSelection as dh, normalizeProductSelectionFromMatrix as di, normalizeSelectedValueIds as dj, parseProductSelection as dk, projectProductToListingShape as dl, resolveFeaturedImagePointer as dm, resolveProductDisplayMedia as dn, resolveProductSelection as dp, resolveProductSelectionFromMatrix as dq, resolveProductSelectionMedia as dr, resolveVariantForSelection as ds, selectNext as dt, selectedSwatchMediaItemId as du, stringifyProductSelection as dv, toShopifyPriceRangeV2 as dw, type ClientConfig as e, type ApiQueryOptions as f, type ApplyDiscountParams as g, type CheckoutParams as h, type ClearCartParams as i, type ClientMetadata as j, type ContentClientOptions as k, type DeepPartial as l, type ExtractArrayType as m, type PayloadMutationResponse as n, type PublicCart as o, type PublicCartItem as p, type PublicCartReference as q, type PublicMediaAsset as r, type PublicMediaSize as s, type PublicOrder as t, type PublicOrderItem as u, type PublicOrderReference as v, type RemoveItemParams as w, type RetryConfig as x, type RootClient as y, type RootCollectionClient as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as Product, C as CustomerProfile, a as CustomerProfileStat, b as CustomerProfileList, c as ProductCollection, d as Config } from './payload-types-
|
|
1
|
+
import { P as Product, C as CustomerProfile, a as CustomerProfileStat, b as CustomerProfileList, c as ProductCollection, d as Config } from './payload-types-CqJOgON7.js';
|
|
2
2
|
|
|
3
3
|
type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
|
|
4
4
|
type PublicCustomerProfileListEntry = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as Product, C as CustomerProfile, a as CustomerProfileStat, b as CustomerProfileList, c as ProductCollection, d as Config } from './payload-types-
|
|
1
|
+
import { P as Product, C as CustomerProfile, a as CustomerProfileStat, b as CustomerProfileList, c as ProductCollection, d as Config } from './payload-types-CqJOgON7.cjs';
|
|
2
2
|
|
|
3
3
|
type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
|
|
4
4
|
type PublicCustomerProfileListEntry = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PublicCollection, S as ServerCollection } from './const-
|
|
2
|
-
import { C as CollectionType, P as PublicProduct } from './types-
|
|
3
|
-
import { O as Order, m as Transaction, n as Fulfillment, R as Return } from './payload-types-
|
|
1
|
+
import { P as PublicCollection, S as ServerCollection } from './const-HwdntWtG.js';
|
|
2
|
+
import { C as CollectionType, P as PublicProduct } from './types-BMI3M0nb.js';
|
|
3
|
+
import { O as Order, m as Transaction, n as Fulfillment, R as Return } from './payload-types-CqJOgON7.js';
|
|
4
4
|
|
|
5
5
|
interface CustomerScopedApiOptions {
|
|
6
6
|
publishableKey?: string;
|
|
@@ -2515,6 +2515,7 @@ interface ApiQueryOptions {
|
|
|
2515
2515
|
/** Include soft-deleted documents (requires `trash` enabled on the collection) */
|
|
2516
2516
|
trash?: boolean;
|
|
2517
2517
|
}
|
|
2518
|
+
type ApiDeleteOptions = Pick<ApiQueryOptions, 'trash'>;
|
|
2518
2519
|
type PublicReadQueryOptions = Omit<ApiQueryOptions, 'depth' | 'joins' | 'populate'> & {
|
|
2519
2520
|
/**
|
|
2520
2521
|
* Publishable collection reads stay unpopulated. Use shaped commerce/community
|
|
@@ -2557,7 +2558,7 @@ interface RootServerQueryBuilder<T extends ServerCollection> extends RootQueryLo
|
|
|
2557
2558
|
filename?: string;
|
|
2558
2559
|
}): Promise<PayloadMutationResponse<CollectionType<T>>>;
|
|
2559
2560
|
updateMany(where: ApiQueryOptions['where'], data: Partial<CollectionType<T>>): Promise<PayloadFindResponse<CollectionType<T>>>;
|
|
2560
|
-
remove(id: string): Promise<CollectionType<T>>;
|
|
2561
|
+
remove(id: string, options?: ApiDeleteOptions): Promise<CollectionType<T>>;
|
|
2561
2562
|
removeMany(where: ApiQueryOptions['where']): Promise<PayloadFindResponse<CollectionType<T>>>;
|
|
2562
2563
|
}
|
|
2563
2564
|
interface RootCollectionClient {
|
|
@@ -2607,4 +2608,4 @@ type DeepPartial<T> = {
|
|
|
2607
2608
|
};
|
|
2608
2609
|
type ExtractArrayType<T> = T extends (infer U)[] ? U : never;
|
|
2609
2610
|
|
|
2610
|
-
export { type CollectionFieldSchema as $, type AddItemParams as A, type RootReadOnlyQueryBuilder as B, CommerceClient as C, type DebugConfig as D, EventsClient as E, type StorefrontContentListOptions as F, type StorefrontContentReference as G, type StorefrontGalleryItem as H, type StorefrontGalleryItemsListOptions as I, type StorefrontGalleryItemsSort as J, type StorefrontLink as K, type StorefrontLinksListOptions as L, type StorefrontLinksSort as M, BaseApi as N, type ServerApiOptions as O, type PayloadFindResponse as P, ServerCommerceClient as Q, type RemoveDiscountParams as R, type Sort as S, type TenantIntrospectionClient as T, type UpdateItemParams as U, type BanCustomerParams as V, type Where as W, type CommunityBan as X, type UnbanCustomerParams as Y, type ClientServerConfig as Z, type RootServerClientWithEvents as _, CommunityClient as a, type
|
|
2611
|
+
export { type CollectionFieldSchema as $, type AddItemParams as A, type RootReadOnlyQueryBuilder as B, CommerceClient as C, type DebugConfig as D, EventsClient as E, type StorefrontContentListOptions as F, type StorefrontContentReference as G, type StorefrontGalleryItem as H, type StorefrontGalleryItemsListOptions as I, type StorefrontGalleryItemsSort as J, type StorefrontLink as K, type StorefrontLinksListOptions as L, type StorefrontLinksSort as M, BaseApi as N, type ServerApiOptions as O, type PayloadFindResponse as P, ServerCommerceClient as Q, type RemoveDiscountParams as R, type Sort as S, type TenantIntrospectionClient as T, type UpdateItemParams as U, type BanCustomerParams as V, type Where as W, type CommunityBan as X, type UnbanCustomerParams as Y, type ClientServerConfig as Z, type RootServerClientWithEvents as _, CommunityClient as a, type CalculateShippingParams as a$, type CollectionSchemaResponse as a0, type EventGuestCancelParams as a1, type EventGuestRegistration as a2, type EventGuestRegistrationResponse as a3, type EventRegistrationAnswerInput as a4, type EventRegistrationAttendeeInput as a5, type EventRegistrationPublic as a6, type EventRegistrationRegisterParams as a7, type EventRegistrationRegisterResponse as a8, type EventsCalendarItem as a9, type CustomerProfile as aA, type CustomerAuthResponse as aB, type CustomerLoginData as aC, type CustomerRegisterResponse as aD, type CustomerRegisterData as aE, type CustomerRefreshResponse as aF, type UpdateProfileData as aG, type ProductListingPageBaseParams as aH, type ProductListingPageParams as aI, type ProductDetailParams as aJ, type ProductDetailResult as aK, type ProductListingPageCatalogParams as aL, type ProductListingPageResult as aM, type ProductListingGroupsCatalogItem as aN, type ProductListingPageFullParams as aO, type ProductListingGroupsItem as aP, type ProductDetail as aQ, type ProductDetailCatalog as aR, type StockSnapshotResponse as aS, type ProductSelectionMediaSource as aT, type ProductDisplayMediaSource as aU, type ResolveProductSelectionMediaInput as aV, type ResolveProductSelectionMediaResult as aW, type ProductSelectionMediaPointer as aX, type RootClientWithEvents as aY, type BulkImportFulfillmentsParams as aZ, type BulkImportFulfillmentsResponse as a_, type EventsClientOptions as aa, type EventsDateParam as ab, type EventsExternalSource as ac, type EventsLocation as ad, type EventsOccurrenceLocation as ae, type EventsRangeEvent as af, type EventsRangeOccurrence as ag, type EventsRangeParams as ah, type EventsRangeResponse as ai, type EventsTaxonomyItem as aj, ModerationApi as ak, type RootServerClient as al, type TenantFeatureProgressEvidenceValue as am, type TenantFeatureProgressFeature as an, type TenantFeatureProgressGroup as ao, type TenantFeatureProgressInput as ap, type TenantFeatureProgressItem as aq, type TenantFeatureProgressItemState as ar, type TenantFeatureProgressResponse as as, type TenantFeatureProgressSeverity as at, type TenantFeatureProgressStatus as au, TenantIntrospectionApi as av, type TenantIntrospectionApiOptions as aw, type ApiDeleteOptions as ax, type PublicReadQueryOptions as ay, CustomerAuth as az, ContentClient as b, type ProductListingCard as b$, type CalculateShippingResult as b0, type CancelOrderParams as b1, type CancelOrderReconciliationStatus as b2, type CancelOrderResponse as b3, type CancelReasonCode as b4, CartApi as b5, type CartApiOptions as b6, type Comment as b7, type CommerceClientOptions as b8, type CommunityClientOptions as b9, type NormalizedProductSelection as bA, OrderApi as bB, type OrderApiOptions as bC, PRODUCT_PLP_FIND_OPTIONS as bD, PRODUCT_UPSERT_READONLY_FIELD_REASON as bE, PRODUCT_UPSERT_UNKNOWN_FIELD_REASON as bF, type PrepareFulfillmentOrderParams as bG, type PrepareFulfillmentOrderResponse as bH, ProductApi as bI, type ProductApiOptions as bJ, type ProductDetailBrand as bK, type ProductDetailCatalogResult as bL, type ProductDetailCatalogVariant as bM, type ProductDetailCategory as bN, type ProductDetailImage as bO, type ProductDetailImageMedia as bP, type ProductDetailMedia as bQ, type ProductDetailOption as bR, type ProductDetailOptionValue as bS, type ProductDetailTag as bT, type ProductDetailUnavailableReason as bU, type ProductDetailVariant as bV, type ProductDetailVariantOptionValue as bW, type ProductDetailVideo as bX, type ProductHrefGroup as bY, type ProductHrefOptions as bZ, type ProductHrefProduct as b_, type CommunityComment as ba, type CommunityCommentListSort as bb, type CommunityPost as bc, type CommunityPostCategory as bd, type CommunityPostListSort as be, type CommunityPostTag as bf, type CommunityPublicAuthorSnapshot as bg, type CommunityPublicMediaAsset as bh, type CommunityPublicReference as bi, type CompatibilityProductSelectionParamEvent as bj, type ConfirmPaymentParams as bk, type ConfirmPaymentResponse as bl, type CreateFulfillmentParams as bm, type CreateOrderItem as bn, type CreateOrderParams as bo, type CreateReturnParams as bp, type CustomerAuthOptions as bq, type CustomerOrderListOptions as br, type CustomerSnapshot as bs, DiscountApi as bt, type DiscountApiOptions as bu, type FeaturedImagePointerInput as bv, type LegacyProductSelectionParamEvent as bw, type ListingGroupsParams as bx, type MediaValue as by, type NormalizedOptionSwatch as bz, CustomerNamespace as c, type UpdateReturnParams as c$, type ProductListingCardOptions as c0, type ProductListingCardPriceRange as c1, type ProductListingCardRepresentativeVariant as c2, type ProductListingGroup as c3, type ProductListingGroupCatalogSummary as c4, type ProductListingGroupCatalogVariant as c5, type ProductListingGroupProjection as c6, type ProductListingGroupSummary as c7, type ProductListingGroupVariant as c8, type ProductListingGroupsCatalogProduct as c9, type ProductSelectionResolutionContext as cA, type ProductSelectionUrlEmit as cB, type ProductSelectionVariant as cC, type ProductUpsertFieldValidationErrorBody as cD, type ProductUpsertFieldValidationErrorReason as cE, type ProductVariantShape as cF, type RequestOptions as cG, type ResolveCancelRefundFailedResponse as cH, type ResolveCancelRefundOutcome as cI, type ResolveCancelRefundParams as cJ, type ResolveCancelRefundResponse as cK, type ResolveCancelRefundSucceededResponse as cL, type ResolveProductDisplayMediaInput as cM, type ResolveProductDisplayMediaResult as cN, type ReturnItem as cO, type ReturnReason as cP, type ReturnWithRefundItem as cQ, type ReturnWithRefundParams as cR, ShippingApi as cS, type ShippingApiOptions as cT, type StockCheckParams as cU, type StockCheckResponse as cV, type StockCheckResult as cW, type StockSnapshotItem as cX, type StockSnapshotParams as cY, type UpdateFulfillmentParams as cZ, type UpdateOrderParams as c_, type ProductListingGroupsCatalogResponse as ca, type ProductListingGroupsProduct as cb, type ProductListingGroupsResponse as cc, type ProductListingPageFilters as cd, type ProductListingPageSort as ce, type ProductListingProductShape as cf, type ProductListingSwatch as cg, type ProductMediaResolutionSource as ch, type ProductMoneyRange as ci, type ProductOptionMatrix as cj, type ProductOptionMatrixOption as ck, type ProductOptionMatrixValue as cl, type ProductOptionMatrixVariant as cm, type ProductOptionShape as cn, type ProductOptionValueShape as co, type ProductOptionValueSwatch as cp, type ProductOptionValueSwatchInput as cq, type ProductPriceRange as cr, type ProductSelectionAvailableSwatch as cs, type ProductSelectionAvailableValue as ct, type ProductSelectionByOptionValue as cu, ProductSelectionCodecError as cv, type ProductSelectionCodecOptions as cw, type ProductSelectionInput as cx, type ProductSelectionOptionValue as cy, type ProductSelectionResolution as cz, type ClientState as d, type UpdateTransactionParams as d0, type ValidateDiscountParams as d1, type ValidateDiscountResult as d2, type WithIdempotencyKey as d3, buildProductHref as d4, buildProductListingCard as d5, buildProductListingGroupProjection as d6, buildProductListingGroupsByOption as d7, buildProductOptionMatrix as d8, buildProductOptionMatrixFromDetail as d9, createProductSelectionCodec as da, getAvailableOptionValues as db, getProductSelectionImages as dc, getSelectedValueByOptionId as dd, getVariantAvailableForSale as de, getVariantAvailableStock as df, isProductUpsertFieldValidationErrorBody as dg, normalizeProductSelection as dh, normalizeProductSelectionFromMatrix as di, normalizeSelectedValueIds as dj, parseProductSelection as dk, projectProductToListingShape as dl, resolveFeaturedImagePointer as dm, resolveProductDisplayMedia as dn, resolveProductSelection as dp, resolveProductSelectionFromMatrix as dq, resolveProductSelectionMedia as dr, resolveVariantForSelection as ds, selectNext as dt, selectedSwatchMediaItemId as du, stringifyProductSelection as dv, toShopifyPriceRangeV2 as dw, type ClientConfig as e, type ApiQueryOptions as f, type ApplyDiscountParams as g, type CheckoutParams as h, type ClearCartParams as i, type ClientMetadata as j, type ContentClientOptions as k, type DeepPartial as l, type ExtractArrayType as m, type PayloadMutationResponse as n, type PublicCart as o, type PublicCartItem as p, type PublicCartReference as q, type PublicMediaAsset as r, type PublicMediaSize as s, type PublicOrder as t, type PublicOrderItem as u, type PublicOrderReference as v, type RemoveItemParams as w, type RetryConfig as x, type RootClient as y, type RootCollectionClient as z };
|
package/dist/ui/form.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { F as Form } from '../payload-types-
|
|
2
|
+
import { F as Form } from '../payload-types-CqJOgON7.cjs';
|
|
3
3
|
import { RichTextData } from './rich-text.cjs';
|
|
4
4
|
import '@payloadcms/richtext-lexical';
|
|
5
5
|
import '@payloadcms/richtext-lexical/lexical';
|
package/dist/ui/form.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { F as Form } from '../payload-types-
|
|
2
|
+
import { F as Form } from '../payload-types-CqJOgON7.js';
|
|
3
3
|
import { RichTextData } from './rich-text.js';
|
|
4
4
|
import '@payloadcms/richtext-lexical';
|
|
5
5
|
import '@payloadcms/richtext-lexical/lexical';
|
package/dist/ui/video.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { MuxPlayerProps, MuxPlayerRefAttributes } from '@mux/mux-player-react';
|
|
3
3
|
export { MuxPlayerRefAttributes as VideoPlayerRef } from '@mux/mux-player-react';
|
|
4
|
-
import { V as Video } from '../payload-types-
|
|
4
|
+
import { V as Video } from '../payload-types-CqJOgON7.cjs';
|
|
5
5
|
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';
|
|
6
6
|
|
|
7
7
|
interface VideoPlayerCSSProperties extends CSSProperties {
|
package/dist/ui/video.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { MuxPlayerProps, MuxPlayerRefAttributes } from '@mux/mux-player-react';
|
|
3
3
|
export { MuxPlayerRefAttributes as VideoPlayerRef } from '@mux/mux-player-react';
|
|
4
|
-
import { V as Video } from '../payload-types-
|
|
4
|
+
import { V as Video } from '../payload-types-CqJOgON7.js';
|
|
5
5
|
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';
|
|
6
6
|
|
|
7
7
|
interface VideoPlayerCSSProperties extends CSSProperties {
|
package/dist/webhook.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
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-
|
|
2
|
-
import { W as Webhook } from './payload-types-
|
|
3
|
-
import './const-
|
|
4
|
-
import './types-
|
|
1
|
+
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-DiXtjVab.cjs';
|
|
2
|
+
import { W as Webhook } from './payload-types-CqJOgON7.cjs';
|
|
3
|
+
import './const-qGGI7Uii.cjs';
|
|
4
|
+
import './types-ByLSG-O3.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Webhook records returned from ordinary list/find — `secret` is encrypted at
|
package/dist/webhook.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
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-
|
|
2
|
-
import { W as Webhook } from './payload-types-
|
|
3
|
-
import './const-
|
|
4
|
-
import './types-
|
|
1
|
+
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-B1oW50RY.js';
|
|
2
|
+
import { W as Webhook } from './payload-types-CqJOgON7.js';
|
|
3
|
+
import './const-HwdntWtG.js';
|
|
4
|
+
import './types-BMI3M0nb.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Webhook records returned from ordinary list/find — `secret` is encrypted at
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@01.software/sdk",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.1",
|
|
4
4
|
"description": "01.software SDK",
|
|
5
5
|
"author": "<office@01.works>",
|
|
6
6
|
"repository": {
|
|
@@ -233,8 +233,8 @@
|
|
|
233
233
|
"tsup": "^8.5.1",
|
|
234
234
|
"typescript": "5.7.3",
|
|
235
235
|
"vitest": "^4.1.5",
|
|
236
|
-
"@repo/
|
|
237
|
-
"@repo/
|
|
236
|
+
"@repo/eslint-config": "0.0.0",
|
|
237
|
+
"@repo/typescript-config": "0.0.0"
|
|
238
238
|
},
|
|
239
239
|
"dependencies": {
|
|
240
240
|
"qs-esm": "^8.0.1"
|