@01.software/sdk 0.51.0 → 0.56.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/README.md +54 -11
  3. package/dist/client.cjs +420 -53
  4. package/dist/client.cjs.map +1 -1
  5. package/dist/client.d.cts +6 -6
  6. package/dist/client.d.ts +6 -6
  7. package/dist/client.js +420 -53
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-hYvVfHIm.d.ts → collection-client-Bmr53saa.d.ts} +4 -4
  10. package/dist/{collection-client-CWAeuzV4.d.cts → collection-client-DxuBDso_.d.cts} +4 -4
  11. package/dist/{const-D8LixhAJ.d.cts → const-BKUqg96Q.d.ts} +2 -2
  12. package/dist/{const-JD8obaKg.d.ts → const-Cv1DCsp6.d.cts} +2 -2
  13. package/dist/{index-Bu0kCc6o.d.cts → index-CGsT4AQ8.d.cts} +24 -7
  14. package/dist/{index-B0Hjh3Ey.d.ts → index-DFHLLqYu.d.ts} +24 -7
  15. package/dist/index.cjs +434 -55
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +11 -10
  18. package/dist/index.d.ts +11 -10
  19. package/dist/index.js +434 -55
  20. package/dist/index.js.map +1 -1
  21. package/dist/{payload-types-BOsckg8B.d.cts → payload-types-Bk-duc5k.d.cts} +295 -100
  22. package/dist/{payload-types-BOsckg8B.d.ts → payload-types-Bk-duc5k.d.ts} +295 -100
  23. package/dist/query.cjs +14 -1
  24. package/dist/query.cjs.map +1 -1
  25. package/dist/query.d.cts +5 -5
  26. package/dist/query.d.ts +5 -5
  27. package/dist/query.js +14 -1
  28. package/dist/query.js.map +1 -1
  29. package/dist/realtime.d.cts +2 -2
  30. package/dist/realtime.d.ts +2 -2
  31. package/dist/server.cjs +98 -13
  32. package/dist/server.cjs.map +1 -1
  33. package/dist/server.d.cts +9 -8
  34. package/dist/server.d.ts +9 -8
  35. package/dist/server.js +98 -13
  36. package/dist/server.js.map +1 -1
  37. package/dist/{types-Bj8j7VHU.d.ts → types-CEK8uTvU.d.ts} +212 -11
  38. package/dist/{types-B14sEt1z.d.cts → types-CNdpj2fI.d.cts} +2 -2
  39. package/dist/{types-5ZlcAFuU.d.ts → types-D4mjGFj4.d.ts} +2 -2
  40. package/dist/{types-CM5qiR2k.d.cts → types-Dhk5NX7Z.d.cts} +212 -11
  41. package/dist/ui/form.d.cts +1 -1
  42. package/dist/ui/form.d.ts +1 -1
  43. package/dist/ui/video.d.cts +1 -1
  44. package/dist/ui/video.d.ts +1 -1
  45. package/dist/webhook.cjs +13 -2
  46. package/dist/webhook.cjs.map +1 -1
  47. package/dist/webhook.d.cts +5 -5
  48. package/dist/webhook.d.ts +5 -5
  49. package/dist/webhook.js +13 -2
  50. package/dist/webhook.js.map +1 -1
  51. package/package.json +6 -5
@@ -1,6 +1,6 @@
1
- import { P as PublicCollection, C as Collection, S as ServerCollection } from './const-JD8obaKg.js';
2
- import { C as CollectionType, a as PublicProduct, P as PublicMarket } from './types-5ZlcAFuU.js';
3
- import { O as Order, k as Transaction, l as Fulfillment, R as Return } from './payload-types-BOsckg8B.js';
1
+ import { P as PublicCollection, C as Collection, S as ServerCollection } from './const-BKUqg96Q.js';
2
+ import { C as CollectionType, a as PublicProduct, P as PublicMarket } from './types-D4mjGFj4.js';
3
+ import { O as Order, k as Transaction, l as Fulfillment, R as Return } from './payload-types-Bk-duc5k.js';
4
4
 
5
5
  declare const operationBrand: unique symbol;
6
6
  type HttpOperation = {
@@ -1022,6 +1022,41 @@ interface CustomerAuthOptions {
1022
1022
  *
1023
1023
  * Handles SSR safely (no-op on server).
1024
1024
  * When enabled, `token` and `onTokenChange` are ignored.
1025
+ *
1026
+ * Persisted browser sessions treat storage as the source of truth. The
1027
+ * canonical session is one versioned JSON record at `<key>:session`, so the
1028
+ * access/refresh pair is always written together and can never be read
1029
+ * half-updated. Every write re-reads that record first and carries forward
1030
+ * the field it does not change, which keeps a stale instance from carrying
1031
+ * its own outdated counterpart into the write. That merge is best-effort:
1032
+ * Web Storage has no compare-and-swap, so a commit landing between that read
1033
+ * and the write is lost by ordering.
1034
+ *
1035
+ * Refresh-token **rotation** is serialized across tabs and SDK instances that
1036
+ * share the key and API/tenant identity, through a Web Locks lease: the
1037
+ * rotation re-reads canonical state inside the lease and either rotates once
1038
+ * or adopts what another context already published, so a single-use refresh
1039
+ * token is not replayed. `getToken()` / `getRefreshToken()` re-read canonical
1040
+ * state before use, so another tab's rotation or logout is observed before
1041
+ * the next credential use.
1042
+ *
1043
+ * Limits worth knowing: Web Storage has no compare-and-swap and the
1044
+ * synchronous mutators (`logout`, `setToken`, `setRefreshToken`) cannot await
1045
+ * the lease, so they are not serialized against a rotation commit — those
1046
+ * races are last-writer-wins, and server-side revocation remains the
1047
+ * authority. Browsers without Web Locks and storage that denies access fall
1048
+ * back to a per-instance or memory-only session.
1049
+ *
1050
+ * `<key>` still holds the current access token as a single-value
1051
+ * compatibility publication for code that reads it directly, and an existing
1052
+ * pair under the older `<key>` / `<key>:refresh` layout is migrated on first
1053
+ * read, but only while `<key>:session` is absent — `logout()` writes a
1054
+ * cleared record even on empty storage, so an ended session is not migrated
1055
+ * back. The older refresh entry is retired before any newer access token is
1056
+ * mirrored, so those two are never published together; if that retirement
1057
+ * fails, the newer access token is not mirrored either. A context running an
1058
+ * SDK version that predates the record is outside the coordination
1059
+ * guarantee.
1025
1060
  */
1026
1061
  persist?: boolean | string;
1027
1062
  /** Initial token (e.g. from SSR cookie) */
@@ -1059,6 +1094,15 @@ declare class CustomerAuth {
1059
1094
  private onTokenChange?;
1060
1095
  private onRefreshTokenChange?;
1061
1096
  private refreshPromise;
1097
+ /** Canonical record key; null unless persistence is active in a browser. */
1098
+ private persistRecordKey;
1099
+ /** Advisory single-value access mirror, plus the retired refresh mirror. */
1100
+ private persistMirrorKey;
1101
+ private persistMirrorRefreshKey;
1102
+ /** Cross-context refresh lock name; null when there is no shared storage. */
1103
+ private refreshLockName;
1104
+ /** Revision of the canonical record this instance last observed. */
1105
+ private sessionRev;
1062
1106
  constructor(publishableKey: string, options?: CustomerAuthOptions, apiUrl?: string);
1063
1107
  /**
1064
1108
  * Register a new customer account
@@ -1071,8 +1115,83 @@ declare class CustomerAuth {
1071
1115
  /**
1072
1116
  * Refresh the current token. Uses a refresh token when available, otherwise
1073
1117
  * falls back to the legacy bearer-token compatibility path.
1118
+ *
1119
+ * Refresh tokens are single-use, so a persisted session shared by several
1120
+ * tabs or SDK instances must rotate at most once: concurrent rotations of the
1121
+ * same token are replay from the server's point of view and revoke the whole
1122
+ * family. Persisted browser sessions therefore serialize rotation across
1123
+ * contexts and re-read the canonical persisted credentials inside the lock.
1074
1124
  */
1075
1125
  refreshToken(): Promise<CustomerRefreshResponse>;
1126
+ /**
1127
+ * Re-read the canonical persisted session. In persisted mode the shared
1128
+ * record — not this instance's memory — is the source of truth, so another
1129
+ * context's rotation, login, or logout is observed before the next credential
1130
+ * use. Change callbacks are deliberately not invoked: this is a read.
1131
+ */
1132
+ private syncFromPersistedStorage;
1133
+ /** `null` when this instance does not persist. */
1134
+ private readCanonicalSession;
1135
+ /**
1136
+ * Publish a change to canonical storage.
1137
+ *
1138
+ * The canonical pair is re-read immediately before the single record write so
1139
+ * that a field this call does not change is taken from that read rather than
1140
+ * from this instance's possibly stale copy. That merge is BEST-EFFORT: it
1141
+ * removes the stale counterpart an instance would otherwise carry, but it is
1142
+ * not a compare-and-swap. Web Storage offers none, and the synchronous public
1143
+ * mutators cannot await the refresh lease, so a commit that lands between
1144
+ * this read and the store operation is lost by ordering — including the
1145
+ * counterpart just read, which is then republished stale. The window is one
1146
+ * store operation wide and the server remains authoritative; see
1147
+ * `CUST-AUTH-033` for the stated limit.
1148
+ *
1149
+ * Returns `false` only when `requireLiveSession` refused a write because the
1150
+ * canonical session had already been cleared.
1151
+ */
1152
+ private commitPersistedSession;
1153
+ /**
1154
+ * Storage rejected a write or a read, so it is not a canonical store for this
1155
+ * instance. Fall back to the memory-only session and take no lease: there is
1156
+ * no shared state left to coordinate. Nothing is purged — the record commit
1157
+ * is atomic, so no inconsistent state was published, and another context's
1158
+ * valid session must not be destroyed by this instance's local failure.
1159
+ */
1160
+ private disablePersistence;
1161
+ /**
1162
+ * Compare the canonical record with the fence this call captured before it
1163
+ * left. Every persisted decision — rotate, converge, or fail closed — goes
1164
+ * through this one comparison. The revision catches a logout, a fresh login,
1165
+ * or a manual setter even when token values coincide; the value comparison
1166
+ * additionally catches a mirror-only writer that cannot bump a revision.
1167
+ */
1168
+ private classifyCanonicalState;
1169
+ /** The canonical persisted pair, as a refresh result. */
1170
+ private canonicalPair;
1171
+ /** Current credentials plus the revision they were observed at. */
1172
+ private currentFence;
1173
+ /**
1174
+ * Clear an access credential a 401 just proved unusable — but only while it
1175
+ * is still the canonical one. A rotation committed by another context while
1176
+ * the request was in flight is newer than this 401, so it must survive; the
1177
+ * instance adopts it instead. The refresh entry is never touched here: a
1178
+ * rejected access token says nothing about the refresh family.
1179
+ */
1180
+ private invalidateAccessToken;
1181
+ /** Commit both credentials in one canonical write. */
1182
+ private setSession;
1183
+ /**
1184
+ * Serialize rotation against every other context sharing the same storage
1185
+ * key and API/tenant identity. Coordination is best-effort: when it is
1186
+ * unavailable or times out the rotation still happens, so server-side reuse
1187
+ * detection is never bypassed by a client that failed to coordinate.
1188
+ */
1189
+ private rotateAcrossContexts;
1190
+ /**
1191
+ * Decide, against freshly re-read canonical state, whether this context still
1192
+ * owns the rotation.
1193
+ */
1194
+ private rotateWithCanonicalState;
1076
1195
  private _doRefreshToken;
1077
1196
  /**
1078
1197
  * Clear the stored token
@@ -1103,11 +1222,15 @@ declare class CustomerAuth {
1103
1222
  */
1104
1223
  getMyOrders(options?: CustomerOrderListOptions): Promise<PayloadFindResponse<PublicOrder>>;
1105
1224
  /**
1106
- * Get the current token (or null if not authenticated)
1225
+ * Get the current token (or null if not authenticated).
1226
+ *
1227
+ * In persisted mode this re-reads shared storage first, so a rotation or
1228
+ * logout performed by another tab is observed before the token is used.
1107
1229
  */
1108
1230
  getToken(): string | null;
1109
1231
  /**
1110
- * Get the current refresh token (or null if unavailable)
1232
+ * Get the current refresh token (or null if unavailable). Persisted mode
1233
+ * re-reads shared storage first, like {@link CustomerAuth.getToken}.
1111
1234
  */
1112
1235
  getRefreshToken(): string | null;
1113
1236
  /**
@@ -3296,6 +3419,72 @@ declare class TenantIntrospectionApi extends RawBaseApi implements TenantIntrosp
3296
3419
  featureProgress(params: TenantFeatureProgressInput): Promise<TenantFeatureProgressResponse>;
3297
3420
  }
3298
3421
 
3422
+ type CustomerGroupManualSource = {
3423
+ type: 'manual';
3424
+ sourceId: string;
3425
+ grantedAt: string;
3426
+ revision: number;
3427
+ };
3428
+ type CustomerGroupMembershipSource = {
3429
+ type: 'membership';
3430
+ sourceId: string;
3431
+ planId: string;
3432
+ currentPeriodEnd: string;
3433
+ };
3434
+ type CustomerGroupMemberSource = CustomerGroupManualSource | CustomerGroupMembershipSource;
3435
+ type CustomerGroupMembershipState = {
3436
+ customerId: string;
3437
+ groupId: string;
3438
+ effective: boolean;
3439
+ evaluatedAt: string;
3440
+ sources: CustomerGroupMemberSource[];
3441
+ };
3442
+ type CustomerGroupMember = {
3443
+ customer: {
3444
+ id: string;
3445
+ email: string | null;
3446
+ name: string | null;
3447
+ };
3448
+ sources: CustomerGroupMemberSource[];
3449
+ };
3450
+ type ListCustomerGroupMembersParams = {
3451
+ groupId: string;
3452
+ page?: number;
3453
+ limit?: number;
3454
+ };
3455
+ type ListCustomerGroupMembersResponse = {
3456
+ groupId: string;
3457
+ evaluatedAt: string;
3458
+ members: CustomerGroupMember[];
3459
+ page: number;
3460
+ limit: number;
3461
+ totalDocs: number;
3462
+ totalPages: number;
3463
+ hasNextPage: boolean;
3464
+ nextPage: number | null;
3465
+ };
3466
+ type GrantCustomerGroupMemberParams = {
3467
+ groupId: string;
3468
+ customerId: string;
3469
+ reason?: string;
3470
+ };
3471
+ type RevokeCustomerGroupMemberParams = {
3472
+ groupId: string;
3473
+ customerId: string;
3474
+ };
3475
+ type CustomerGroupMemberCommandResponse = {
3476
+ changed: boolean;
3477
+ membership: CustomerGroupMembershipState;
3478
+ };
3479
+ type CustomerGroupApiOptions = ServerApiOptions;
3480
+ /** Server-only source-aware Customer Group membership API. */
3481
+ declare class CustomerGroupApi extends BaseApi {
3482
+ constructor(options: CustomerGroupApiOptions);
3483
+ listMembers(params: ListCustomerGroupMembersParams): Promise<ListCustomerGroupMembersResponse>;
3484
+ grantMember(params: GrantCustomerGroupMemberParams): Promise<CustomerGroupMemberCommandResponse>;
3485
+ revokeMember(params: RevokeCustomerGroupMemberParams): Promise<CustomerGroupMemberCommandResponse>;
3486
+ }
3487
+
3299
3488
  /**
3300
3489
  * SDK-local hand-declarations of the membership wire contract types.
3301
3490
  *
@@ -3307,16 +3496,16 @@ declare class TenantIntrospectionApi extends RawBaseApi implements TenantIntrosp
3307
3496
  type MembershipStatus = 'incomplete' | 'trialing' | 'active' | 'past_due' | 'cancelled' | 'expired';
3308
3497
  /**
3309
3498
  * Parameters for the subscribe endpoint (delegated charge model).
3310
- * The storefront already collected the first payment for non-trial plans; this
3311
- * records it and activates the membership. Trial starts omit pgPaymentId until
3312
- * the renewal cron sends the first delegated charge.
3499
+ * A paid subscription prepares an immutable first charge. The tenant completes
3500
+ * that PSP payment with `firstCharge.idempotencyKey` and posts the existing
3501
+ * signed charge result before membership activation. Trial starts activate
3502
+ * immediately and do not include a first charge.
3313
3503
  */
3314
3504
  type SubscribeMembershipParams = {
3315
3505
  planId: string;
3316
3506
  priceId: string;
3317
3507
  /** Stable client-generated key used as the deduplication key for this subscription intent. */
3318
3508
  subscribeIntentKey: string;
3319
- pgPaymentId?: string;
3320
3509
  /** Internal Console customer document id. */
3321
3510
  customerId: string;
3322
3511
  /** Delegated payment provider customer reference. */
@@ -3326,9 +3515,20 @@ type SubscribeMembershipParams = {
3326
3515
  brand?: string;
3327
3516
  };
3328
3517
  };
3518
+ type PreparedFirstCharge = {
3519
+ idempotencyKey: string;
3520
+ amount: number;
3521
+ currency: string;
3522
+ periodStart: string;
3523
+ expiresAt: string;
3524
+ };
3329
3525
  type SubscribeMembershipResponse = {
3330
3526
  membershipId: string;
3331
- status: MembershipStatus;
3527
+ status: 'trialing';
3528
+ } | {
3529
+ membershipId: string;
3530
+ status: 'incomplete';
3531
+ firstCharge: PreparedFirstCharge;
3332
3532
  };
3333
3533
  /**
3334
3534
  * Parameters for cancelling a membership.
@@ -3582,6 +3782,7 @@ interface RootServerClient {
3582
3782
  subscribe: (params: SubscribeMembershipParams) => Promise<SubscribeMembershipResponse>;
3583
3783
  cancel: (params: CancelMembershipParams) => Promise<CancelMembershipResponse>;
3584
3784
  };
3785
+ customerGroups: CustomerGroupApi;
3585
3786
  /** Set on {@link createServerClient} return values; optional for structural mocks. */
3586
3787
  events?: EventsClient;
3587
3788
  community: CommunityClient & {
@@ -3610,4 +3811,4 @@ type DeepPartial<T> = {
3610
3811
  };
3611
3812
  type ExtractArrayType<T> = T extends (infer U)[] ? U : never;
3612
3813
 
3613
- export { type PublicAttribute as $, type AddItemParams as A, type CreatePaymentSessionParams as B, CommerceClient as C, type CreatePortOnePaymentSessionParams as D, EventsClient as E, type CustomerSnapshot as F, type DebugConfig as G, type DeepPartial as H, type ExtractArrayType as I, type MembershipStatus as J, type Money as K, type PayloadMutationResponse as L, MarketDiscovery as M, type PaymentFailureReason as N, type OpenCheckoutPaymentState as O, type PayloadFindResponse as P, type PaymentNextAction as Q, type PaymentProviderStatus as R, type PaymentReconciliationReason as S, type PaymentSessionRole as T, type PortOneHostedPaymentMethod as U, type PortOnePaymentNextAction as V, type PortOnePublicPaymentSession as W, type ProductUpsertInput as X, type ProductUpsertParams as Y, type ProductUpsertResponse as Z, type ProductUpsertVariantInput as _, CommunityClient as a, type CollectionSchemaResponse as a$, type PublicCaptureEvidence as a0, type PublicCart as a1, type PublicCartItem as a2, type PublicCartItemAdmission as a3, type PublicCartMarket as a4, type PublicCartReference as a5, type PublicCheckout as a6, type PublicCheckoutItem as a7, type PublicMediaAsset as a8, type PublicMediaSize as a9, type UpdateDiscountCodesParams as aA, type UpdateItemParams as aB, type VariantInput as aC, type Where as aD, RawBaseApi as aE, type ServerApiOptions as aF, ServerCommerceClient as aG, type TenantIntrospectionClient as aH, type SubscribeMembershipParams as aI, type SubscribeMembershipResponse as aJ, type BanCustomerParams as aK, type CommunityBan as aL, type UnbanCustomerParams as aM, type ClientServerConfig as aN, type RootServerClientWithEvents as aO, type CancelServerPaymentSessionParams as aP, CartApi as aQ, type CartApiOptions as aR, CheckoutApi as aS, type CheckoutApiOptions as aT, type CheckoutListItem as aU, type CheckoutQueryParams as aV, type CheckoutQueryResult as aW, type CheckoutStatus as aX, type CollectionCustomFieldDefinition as aY, type CollectionCustomFields as aZ, type CollectionFieldSchema as a_, type PublicOrder as aa, type PublicOrderAmounts as ab, type PublicOrderItem as ac, type PublicOrderReference as ad, type PublicPaymentSession as ae, type ReconciliationRequired as af, type RemoveItemParams as ag, type RetrieveBrowserPaymentSessionParams as ah, type RetrieveCartParams as ai, type RetrieveCheckoutParams as aj, type RetryConfig as ak, type RootClient as al, type RootCollectionClient as am, type RootReadOnlyQueryBuilder as an, type ShippingLine as ao, type Sort as ap, type SpentCheckoutPaymentState as aq, type StorefrontContentListOptions as ar, type StorefrontContentReference as as, type StorefrontGalleryItem as at, type StorefrontGalleryItemsListOptions as au, type StorefrontGalleryItemsSort as av, type StorefrontLink as aw, type StorefrontLinksListOptions as ax, type StorefrontLinksSort as ay, type UpdateCartAttributesParams as az, ContentClient as b, type TenantFeatureProgressStatus as b$, type ConfirmCustomPaymentSessionOptions as b0, type ConfirmCustomPaymentSessionParams as b1, type ConfirmCustomPaymentSessionResponse as b2, type ConfirmTossPaymentSessionParams as b3, type CreateCustomPaymentSessionParams as b4, type CreateServerCheckoutParams as b5, type CreateServerCheckoutResult as b6, type CustomPaymentSession as b7, type CustomPaymentSessionProof as b8, type EventAdmissionAvailabilityParams as b9, type PaymentSessionApiOptions as bA, type PortOnePaymentCurrentState as bB, PortOnePaymentReconciliationApi as bC, type PortOnePaymentSelector as bD, type PortOneReconciliationDisposition as bE, type ReconcilePortOnePaymentParams as bF, type ReconcilePortOnePaymentResult as bG, type RetrieveCustomPaymentSessionParams as bH, type RetrieveServerCheckoutParams as bI, type RetrieveServerPaymentSessionParams as bJ, type RetrievedCustomPaymentSession as bK, type RootServerClient as bL, type ServerCartMergeParams as bM, type ServerCartMineParams as bN, type ServerCheckout as bO, TENANT_CONTEXT_PATH as bP, type TenantContextInput as bQ, type TenantContextResponse as bR, type TenantCustomFieldType as bS, type TenantFeatureProgressEvidenceValue as bT, type TenantFeatureProgressFeature as bU, type TenantFeatureProgressGroup as bV, type TenantFeatureProgressInput as bW, type TenantFeatureProgressItem as bX, type TenantFeatureProgressItemState as bY, type TenantFeatureProgressResponse as bZ, type TenantFeatureProgressSeverity as b_, type EventAdmissionAvailabilityResponse as ba, type EventAdmissionAvailabilityType as bb, type EventAdmissionPricePresentment as bc, type EventGuestCancelParams as bd, type EventGuestRegistration as be, type EventGuestRegistrationResponse as bf, type EventRegistrationAnswerInput as bg, type EventRegistrationAttendeeInput as bh, type EventRegistrationPublic as bi, type EventRegistrationRegisterParams as bj, type EventRegistrationRegisterResponse as bk, type EventsCalendarItem as bl, type EventsClientOptions as bm, type EventsDateParam as bn, type EventsExternalSource as bo, type EventsLocation as bp, type EventsOccurrenceLocation as bq, type EventsRangeEvent as br, type EventsRangeOccurrence as bs, type EventsRangeParams as bt, type EventsRangeResponse as bu, type EventsTaxonomyItem as bv, type FindPortOnePaymentParams as bw, type FindPortOnePaymentResult as bx, ModerationApi as by, PaymentSessionApi as bz, CustomerNamespace as c, type FeaturedImagePointerInput as c$, type TenantFieldConfigState as c0, TenantIntrospectionApi as c1, type TenantIntrospectionApiOptions as c2, type ApiDeleteOptions as c3, type PublicReadQueryOptions as c4, CustomerAuth as c5, type CustomerProfile as c6, type CustomerAuthResponse as c7, type CustomerLoginData as c8, type CustomerRegisterResponse as c9, type CartWarningCode as cA, type Comment as cB, type CommerceClientOptions as cC, type CommunityClientOptions as cD, type CommunityComment as cE, type CommunityCommentListSort as cF, type CommunityPost as cG, type CommunityPostCategory as cH, type CommunityPostListSort as cI, type CommunityPostTag as cJ, type CommunityPublicAuthorSnapshot as cK, type CommunityPublicMediaAsset as cL, type CommunityPublicReference as cM, type CompatibilityProductSelectionParamEvent as cN, type CreateFulfillmentParams as cO, type CreateReturnParams as cP, type CustomerAuthOptions as cQ, type CustomerAuthorizationUrlInput as cR, type CustomerAuthorizationUrlResult as cS, CustomerOAuth as cT, type CustomerOAuthCallbackResult as cU, type CustomerOAuthConfig as cV, type CustomerOAuthTokenSet as cW, type CustomerOrderListOptions as cX, DiscountApi as cY, type DiscountApiOptions as cZ, type DiscountErrorReasonCode as c_, type CustomerRegisterData as ca, type CustomerRefreshResponse as cb, type UpdateProfileData as cc, type ProductListingPageParams as cd, type ProductListingPageBaseParams as ce, type ProductDetailParams as cf, type ProductDetailCatalogResult as cg, type ProductListingPageCatalogParams as ch, type ProductListingPageResult as ci, type ProductListingGroupsCatalogItem as cj, type ProductListingPageFullParams as ck, type ProductListingGroupsItem as cl, BaseApi as cm, type ProductDetail as cn, type ProductDetailCatalog as co, type StockSnapshotResponse as cp, type RootClientWithEvents as cq, type BulkImportFulfillmentsParams as cr, type BulkImportFulfillmentsResponse as cs, type CalculateShippingParams as ct, type CalculateShippingResult as cu, type CancelOrderParams as cv, type CancelOrderResponse as cw, type CancelReasonCode as cx, type CartDiscountCode as cy, type CartWarning as cz, type CustomerMembershipView as d, type ProductMoneyRange as d$, type GetOrderByPaymentIdParams as d0, type LegacyProductSelectionParamEvent as d1, type ListingGroupsParams as d2, MAX_CART_LINE_ADMISSIONS as d3, type ManagedPaymentNextAction as d4, type ManagedPublicPaymentSession as d5, type MarketDTO as d6, type MediaValue as d7, type NormalizedOptionSwatch as d8, type NormalizedProductSelection as d9, type ProductFallbackLocaleOption as dA, type ProductHrefGroup as dB, type ProductHrefOptions as dC, type ProductHrefProduct as dD, type ProductListingCard as dE, type ProductListingCardOptions as dF, type ProductListingCardPriceRange as dG, type ProductListingCardRepresentativeVariant as dH, type ProductListingGroup as dI, type ProductListingGroupCatalogSummary as dJ, type ProductListingGroupCatalogVariant as dK, type ProductListingGroupProjection as dL, type ProductListingGroupSummary as dM, type ProductListingGroupVariant as dN, type ProductListingGroupsCatalogProduct as dO, type ProductListingGroupsCatalogResponse as dP, type ProductListingGroupsProduct as dQ, type ProductListingGroupsResponse as dR, type ProductListingPageFilters as dS, type ProductListingPageSort as dT, type ProductListingProductShape as dU, type ProductListingSwatch as dV, type ProductLocaleOption as dW, type ProductLocaleReadParams as dX, type ProductLocalizedText as dY, type ProductLocalizedValue as dZ, type ProductMediaResolutionSource as d_, OrderApi as da, type OrderApiOptions as db, type OrderByPaymentResult as dc, PRODUCT_PLP_FIND_OPTIONS as dd, PRODUCT_UPSERT_READONLY_FIELD_REASON as de, PRODUCT_UPSERT_UNKNOWN_FIELD_REASON as df, type PrepareFulfillmentOrderParams as dg, type PrepareFulfillmentOrderResponse as dh, ProductApi as di, type ProductApiOptions as dj, type ProductDetailBrand as dk, type ProductDetailCatalogVariant as dl, type ProductDetailCategory as dm, type ProductDetailImage as dn, type ProductDetailImageMedia as dp, type ProductDetailMedia as dq, type ProductDetailOption as dr, type ProductDetailOptionValue as ds, type ProductDetailResult as dt, type ProductDetailTag as du, type ProductDetailUnavailableReason as dv, type ProductDetailVariant as dw, type ProductDetailVariantOptionValue as dx, type ProductDetailVideo as dy, type ProductDisplayMediaSource as dz, type CancelMembershipParams as e, getProductSelectionImages as e$, type ProductOptionMatrix as e0, type ProductOptionMatrixOption as e1, type ProductOptionMatrixValue as e2, type ProductOptionMatrixVariant as e3, type ProductOptionShape as e4, type ProductOptionValueShape as e5, type ProductOptionValueSwatch as e6, type ProductOptionValueSwatchInput as e7, type ProductPriceRange as e8, type ProductSelectionAvailableSwatch as e9, type ResolvedCatalogPrice as eA, type ReturnCancellationReasonCode as eB, type ReturnItem as eC, type ReturnReason as eD, type ReturnWithRefundItem as eE, type ReturnWithRefundParams as eF, ShippingApi as eG, type ShippingApiOptions as eH, type StockCheckParams as eI, type StockCheckResponse as eJ, type StockCheckResult as eK, type StockSnapshotItem as eL, type StockSnapshotParams as eM, type UpdateFulfillmentParams as eN, type UpdateOrderParams as eO, type UpdateReturnParams as eP, type ValidateDiscountParams as eQ, type ValidateDiscountResult as eR, type WithIdempotencyKey as eS, buildProductHref as eT, buildProductListingCard as eU, buildProductListingGroupProjection as eV, buildProductListingGroupsByOption as eW, buildProductOptionMatrix as eX, buildProductOptionMatrixFromDetail as eY, createProductSelectionCodec as eZ, getAvailableOptionValues as e_, type ProductSelectionAvailableValue as ea, type ProductSelectionByOptionValue as eb, ProductSelectionCodecError as ec, type ProductSelectionCodecOptions as ed, type ProductSelectionInput as ee, type ProductSelectionMediaPointer as ef, type ProductSelectionMediaSource as eg, type ProductSelectionOptionValue as eh, type ProductSelectionResolution as ei, type ProductSelectionResolutionContext as ej, type ProductSelectionUrlEmit as ek, type ProductSelectionVariant$1 as el, type ProductUpsertFieldValidationErrorBody as em, type ProductUpsertFieldValidationErrorReason as en, type ProductVariantShape as eo, type PublicCheckoutBase as ep, type RequestOptions as eq, type ResolveCancelRefundFailedResponse as er, type ResolveCancelRefundOutcome as es, type ResolveCancelRefundParams as et, type ResolveCancelRefundResponse as eu, type ResolveCancelRefundSucceededResponse as ev, type ResolveProductDisplayMediaInput as ew, type ResolveProductDisplayMediaResult as ex, type ResolveProductSelectionMediaInput as ey, type ResolveProductSelectionMediaResult as ez, type CancelMembershipResponse as f, getSelectedValueByOptionId as f0, getVariantAvailableForSale as f1, getVariantAvailableStock as f2, isProductUpsertFieldValidationErrorBody as f3, normalizeProductSelection as f4, normalizeProductSelectionFromMatrix as f5, normalizeSelectedValueIds as f6, parseProductSelection as f7, projectProductToListingShape as f8, resolveFeaturedImagePointer as f9, resolveProductDisplayMedia as fa, resolveProductSelection as fb, resolveProductSelectionFromMatrix as fc, resolveProductSelectionMedia as fd, resolveVariantForSelection as fe, selectNext as ff, selectedSwatchMediaItemId as fg, stringifyProductSelection as fh, toShopifyPriceRangeV2 as fi, type ClientState as g, type ClientConfig as h, type ApiQueryOptions as i, type CancelBrowserPaymentSessionParams as j, type CartMergeParams as k, type CartMergeResult as l, type CartMineResult as m, type CartMutationResult as n, type CheckoutAbandonedReason as o, type CheckoutAmounts as p, type CheckoutOrderReference as q, type CheckoutPaymentSessionRef as r, type CheckoutShippingAddress as s, type ClearCartParams as t, type ClientMetadata as u, type ContentClientOptions as v, type CreateCartParams as w, type CreateCartResult as x, type CreateCheckoutParams as y, type CreateCheckoutResult as z };
3814
+ export { type PublicAttribute as $, type AddItemParams as A, type CreatePaymentSessionParams as B, CommerceClient as C, type CreatePortOnePaymentSessionParams as D, EventsClient as E, type CustomerSnapshot as F, type DebugConfig as G, type DeepPartial as H, type ExtractArrayType as I, type MembershipStatus as J, type Money as K, type PayloadMutationResponse as L, MarketDiscovery as M, type PaymentFailureReason as N, type OpenCheckoutPaymentState as O, type PayloadFindResponse as P, type PaymentNextAction as Q, type PaymentProviderStatus as R, type PaymentReconciliationReason as S, type PaymentSessionRole as T, type PortOneHostedPaymentMethod as U, type PortOnePaymentNextAction as V, type PortOnePublicPaymentSession as W, type ProductUpsertInput as X, type ProductUpsertParams as Y, type ProductUpsertResponse as Z, type ProductUpsertVariantInput as _, CommunityClient as a, type CollectionFieldSchema as a$, type PublicCaptureEvidence as a0, type PublicCart as a1, type PublicCartItem as a2, type PublicCartItemAdmission as a3, type PublicCartMarket as a4, type PublicCartReference as a5, type PublicCheckout as a6, type PublicCheckoutItem as a7, type PublicMediaAsset as a8, type PublicMediaSize as a9, type UpdateDiscountCodesParams as aA, type UpdateItemParams as aB, type VariantInput as aC, type Where as aD, RawBaseApi as aE, type ServerApiOptions as aF, ServerCommerceClient as aG, type TenantIntrospectionClient as aH, type SubscribeMembershipParams as aI, type SubscribeMembershipResponse as aJ, CustomerGroupApi as aK, type BanCustomerParams as aL, type CommunityBan as aM, type UnbanCustomerParams as aN, type ClientServerConfig as aO, type RootServerClientWithEvents as aP, type CancelServerPaymentSessionParams as aQ, CartApi as aR, type CartApiOptions as aS, CheckoutApi as aT, type CheckoutApiOptions as aU, type CheckoutListItem as aV, type CheckoutQueryParams as aW, type CheckoutQueryResult as aX, type CheckoutStatus as aY, type CollectionCustomFieldDefinition as aZ, type CollectionCustomFields as a_, type PublicOrder as aa, type PublicOrderAmounts as ab, type PublicOrderItem as ac, type PublicOrderReference as ad, type PublicPaymentSession as ae, type ReconciliationRequired as af, type RemoveItemParams as ag, type RetrieveBrowserPaymentSessionParams as ah, type RetrieveCartParams as ai, type RetrieveCheckoutParams as aj, type RetryConfig as ak, type RootClient as al, type RootCollectionClient as am, type RootReadOnlyQueryBuilder as an, type ShippingLine as ao, type Sort as ap, type SpentCheckoutPaymentState as aq, type StorefrontContentListOptions as ar, type StorefrontContentReference as as, type StorefrontGalleryItem as at, type StorefrontGalleryItemsListOptions as au, type StorefrontGalleryItemsSort as av, type StorefrontLink as aw, type StorefrontLinksListOptions as ax, type StorefrontLinksSort as ay, type UpdateCartAttributesParams as az, ContentClient as b, TENANT_CONTEXT_PATH as b$, type CollectionSchemaResponse as b0, type ConfirmCustomPaymentSessionOptions as b1, type ConfirmCustomPaymentSessionParams as b2, type ConfirmCustomPaymentSessionResponse as b3, type ConfirmTossPaymentSessionParams as b4, type CreateCustomPaymentSessionParams as b5, type CreateServerCheckoutParams as b6, type CreateServerCheckoutResult as b7, type CustomPaymentSession as b8, type CustomPaymentSessionProof as b9, type EventsRangeOccurrence as bA, type EventsRangeParams as bB, type EventsRangeResponse as bC, type EventsTaxonomyItem as bD, type FindPortOnePaymentParams as bE, type FindPortOnePaymentResult as bF, type GrantCustomerGroupMemberParams as bG, type ListCustomerGroupMembersParams as bH, type ListCustomerGroupMembersResponse as bI, ModerationApi as bJ, PaymentSessionApi as bK, type PaymentSessionApiOptions as bL, type PortOnePaymentCurrentState as bM, PortOnePaymentReconciliationApi as bN, type PortOnePaymentSelector as bO, type PortOneReconciliationDisposition as bP, type ReconcilePortOnePaymentParams as bQ, type ReconcilePortOnePaymentResult as bR, type RetrieveCustomPaymentSessionParams as bS, type RetrieveServerCheckoutParams as bT, type RetrieveServerPaymentSessionParams as bU, type RetrievedCustomPaymentSession as bV, type RevokeCustomerGroupMemberParams as bW, type RootServerClient as bX, type ServerCartMergeParams as bY, type ServerCartMineParams as bZ, type ServerCheckout as b_, type CustomerGroupApiOptions as ba, type CustomerGroupManualSource as bb, type CustomerGroupMember as bc, type CustomerGroupMemberCommandResponse as bd, type CustomerGroupMemberSource as be, type CustomerGroupMembershipSource as bf, type CustomerGroupMembershipState as bg, type EventAdmissionAvailabilityParams as bh, type EventAdmissionAvailabilityResponse as bi, type EventAdmissionAvailabilityType as bj, type EventAdmissionPricePresentment as bk, type EventGuestCancelParams as bl, type EventGuestRegistration as bm, type EventGuestRegistrationResponse as bn, type EventRegistrationAnswerInput as bo, type EventRegistrationAttendeeInput as bp, type EventRegistrationPublic as bq, type EventRegistrationRegisterParams as br, type EventRegistrationRegisterResponse as bs, type EventsCalendarItem as bt, type EventsClientOptions as bu, type EventsDateParam as bv, type EventsExternalSource as bw, type EventsLocation as bx, type EventsOccurrenceLocation as by, type EventsRangeEvent as bz, CustomerNamespace as c, type CreateReturnParams as c$, type TenantContextInput as c0, type TenantContextResponse as c1, type TenantCustomFieldType as c2, type TenantFeatureProgressEvidenceValue as c3, type TenantFeatureProgressFeature as c4, type TenantFeatureProgressGroup as c5, type TenantFeatureProgressInput as c6, type TenantFeatureProgressItem as c7, type TenantFeatureProgressItemState as c8, type TenantFeatureProgressResponse as c9, type ProductDetailCatalog as cA, type StockSnapshotResponse as cB, type RootClientWithEvents as cC, type BulkImportFulfillmentsParams as cD, type BulkImportFulfillmentsResponse as cE, type CalculateShippingParams as cF, type CalculateShippingResult as cG, type CancelOrderParams as cH, type CancelOrderResponse as cI, type CancelReasonCode as cJ, type CartDiscountCode as cK, type CartWarning as cL, type CartWarningCode as cM, type Comment as cN, type CommerceClientOptions as cO, type CommunityClientOptions as cP, type CommunityComment as cQ, type CommunityCommentListSort as cR, type CommunityPost as cS, type CommunityPostCategory as cT, type CommunityPostListSort as cU, type CommunityPostTag as cV, type CommunityPublicAuthorSnapshot as cW, type CommunityPublicMediaAsset as cX, type CommunityPublicReference as cY, type CompatibilityProductSelectionParamEvent as cZ, type CreateFulfillmentParams as c_, type TenantFeatureProgressSeverity as ca, type TenantFeatureProgressStatus as cb, type TenantFieldConfigState as cc, TenantIntrospectionApi as cd, type TenantIntrospectionApiOptions as ce, type ApiDeleteOptions as cf, type PublicReadQueryOptions as cg, CustomerAuth as ch, type CustomerProfile as ci, type CustomerAuthResponse as cj, type CustomerLoginData as ck, type CustomerRegisterResponse as cl, type CustomerRegisterData as cm, type CustomerRefreshResponse as cn, type UpdateProfileData as co, type ProductListingPageParams as cp, type ProductListingPageBaseParams as cq, type ProductDetailParams as cr, type ProductDetailCatalogResult as cs, type ProductListingPageCatalogParams as ct, type ProductListingPageResult as cu, type ProductListingGroupsCatalogItem as cv, type ProductListingPageFullParams as cw, type ProductListingGroupsItem as cx, BaseApi as cy, type ProductDetail as cz, type CustomerMembershipView as d, type ProductListingGroupsCatalogResponse as d$, type CustomerAuthOptions as d0, type CustomerAuthorizationUrlInput as d1, type CustomerAuthorizationUrlResult as d2, CustomerOAuth as d3, type CustomerOAuthCallbackResult as d4, type CustomerOAuthConfig as d5, type CustomerOAuthTokenSet as d6, type CustomerOrderListOptions as d7, DiscountApi as d8, type DiscountApiOptions as d9, type ProductDetailImage as dA, type ProductDetailImageMedia as dB, type ProductDetailMedia as dC, type ProductDetailOption as dD, type ProductDetailOptionValue as dE, type ProductDetailResult as dF, type ProductDetailTag as dG, type ProductDetailUnavailableReason as dH, type ProductDetailVariant as dI, type ProductDetailVariantOptionValue as dJ, type ProductDetailVideo as dK, type ProductDisplayMediaSource as dL, type ProductFallbackLocaleOption as dM, type ProductHrefGroup as dN, type ProductHrefOptions as dO, type ProductHrefProduct as dP, type ProductListingCard as dQ, type ProductListingCardOptions as dR, type ProductListingCardPriceRange as dS, type ProductListingCardRepresentativeVariant as dT, type ProductListingGroup as dU, type ProductListingGroupCatalogSummary as dV, type ProductListingGroupCatalogVariant as dW, type ProductListingGroupProjection as dX, type ProductListingGroupSummary as dY, type ProductListingGroupVariant as dZ, type ProductListingGroupsCatalogProduct as d_, type DiscountErrorReasonCode as da, type FeaturedImagePointerInput as db, type GetOrderByPaymentIdParams as dc, type LegacyProductSelectionParamEvent as dd, type ListingGroupsParams as de, MAX_CART_LINE_ADMISSIONS as df, type ManagedPaymentNextAction as dg, type ManagedPublicPaymentSession as dh, type MarketDTO as di, type MediaValue as dj, type NormalizedOptionSwatch as dk, type NormalizedProductSelection as dl, OrderApi as dm, type OrderApiOptions as dn, type OrderByPaymentResult as dp, PRODUCT_PLP_FIND_OPTIONS as dq, PRODUCT_UPSERT_READONLY_FIELD_REASON as dr, PRODUCT_UPSERT_UNKNOWN_FIELD_REASON as ds, type PrepareFulfillmentOrderParams as dt, type PrepareFulfillmentOrderResponse as du, ProductApi as dv, type ProductApiOptions as dw, type ProductDetailBrand as dx, type ProductDetailCatalogVariant as dy, type ProductDetailCategory as dz, type CancelMembershipParams as e, type UpdateReturnParams as e$, type ProductListingGroupsProduct as e0, type ProductListingGroupsResponse as e1, type ProductListingPageFilters as e2, type ProductListingPageSort as e3, type ProductListingProductShape as e4, type ProductListingSwatch as e5, type ProductLocaleOption as e6, type ProductLocaleReadParams as e7, type ProductLocalizedText as e8, type ProductLocalizedValue as e9, type ProductVariantShape as eA, type PublicCheckoutBase as eB, type RequestOptions as eC, type ResolveCancelRefundFailedResponse as eD, type ResolveCancelRefundOutcome as eE, type ResolveCancelRefundParams as eF, type ResolveCancelRefundResponse as eG, type ResolveCancelRefundSucceededResponse as eH, type ResolveProductDisplayMediaInput as eI, type ResolveProductDisplayMediaResult as eJ, type ResolveProductSelectionMediaInput as eK, type ResolveProductSelectionMediaResult as eL, type ResolvedCatalogPrice as eM, type ReturnCancellationReasonCode as eN, type ReturnItem as eO, type ReturnReason as eP, type ReturnWithRefundItem as eQ, type ReturnWithRefundParams as eR, ShippingApi as eS, type ShippingApiOptions as eT, type StockCheckParams as eU, type StockCheckResponse as eV, type StockCheckResult as eW, type StockSnapshotItem as eX, type StockSnapshotParams as eY, type UpdateFulfillmentParams as eZ, type UpdateOrderParams as e_, type ProductMediaResolutionSource as ea, type ProductMoneyRange as eb, type ProductOptionMatrix as ec, type ProductOptionMatrixOption as ed, type ProductOptionMatrixValue as ee, type ProductOptionMatrixVariant as ef, type ProductOptionShape as eg, type ProductOptionValueShape as eh, type ProductOptionValueSwatch as ei, type ProductOptionValueSwatchInput as ej, type ProductPriceRange as ek, type ProductSelectionAvailableSwatch as el, type ProductSelectionAvailableValue as em, type ProductSelectionByOptionValue as en, ProductSelectionCodecError as eo, type ProductSelectionCodecOptions as ep, type ProductSelectionInput as eq, type ProductSelectionMediaPointer as er, type ProductSelectionMediaSource as es, type ProductSelectionOptionValue as et, type ProductSelectionResolution as eu, type ProductSelectionResolutionContext as ev, type ProductSelectionUrlEmit as ew, type ProductSelectionVariant$1 as ex, type ProductUpsertFieldValidationErrorBody as ey, type ProductUpsertFieldValidationErrorReason as ez, type CancelMembershipResponse as f, type ValidateDiscountParams as f0, type ValidateDiscountResult as f1, type WithIdempotencyKey as f2, buildProductHref as f3, buildProductListingCard as f4, buildProductListingGroupProjection as f5, buildProductListingGroupsByOption as f6, buildProductOptionMatrix as f7, buildProductOptionMatrixFromDetail as f8, createProductSelectionCodec as f9, getAvailableOptionValues as fa, getProductSelectionImages as fb, getSelectedValueByOptionId as fc, getVariantAvailableForSale as fd, getVariantAvailableStock as fe, isProductUpsertFieldValidationErrorBody as ff, normalizeProductSelection as fg, normalizeProductSelectionFromMatrix as fh, normalizeSelectedValueIds as fi, parseProductSelection as fj, projectProductToListingShape as fk, resolveFeaturedImagePointer as fl, resolveProductDisplayMedia as fm, resolveProductSelection as fn, resolveProductSelectionFromMatrix as fo, resolveProductSelectionMedia as fp, resolveVariantForSelection as fq, selectNext as fr, selectedSwatchMediaItemId as fs, stringifyProductSelection as ft, toShopifyPriceRangeV2 as fu, type ClientState as g, type ClientConfig as h, type ApiQueryOptions as i, type CancelBrowserPaymentSessionParams as j, type CartMergeParams as k, type CartMergeResult as l, type CartMineResult as m, type CartMutationResult as n, type CheckoutAbandonedReason as o, type CheckoutAmounts as p, type CheckoutOrderReference as q, type CheckoutPaymentSessionRef as r, type CheckoutShippingAddress as s, type ClearCartParams as t, type ClientMetadata as u, type ContentClientOptions as v, type CreateCartParams as w, type CreateCartResult as x, type CreateCheckoutParams as y, type CreateCheckoutResult as z };
@@ -1,5 +1,5 @@
1
- import { P as Product, a as ProductVariant, M as Market, C as CustomerProfile, b as CustomerProfileStat, c as CustomerProfileList, d as ProductCollection, e as Config } from './payload-types-BOsckg8B.cjs';
2
- import { C as Collection } from './const-D8LixhAJ.cjs';
1
+ import { P as Product, a as ProductVariant, M as Market, C as CustomerProfile, b as CustomerProfileStat, c as CustomerProfileList, d as ProductCollection, e as Config } from './payload-types-Bk-duc5k.cjs';
2
+ import { C as Collection } from './const-Cv1DCsp6.cjs';
3
3
 
4
4
  type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
5
5
  type PublicCustomerProfileListEntry = {
@@ -1,5 +1,5 @@
1
- import { P as Product, a as ProductVariant, M as Market, C as CustomerProfile, b as CustomerProfileStat, c as CustomerProfileList, d as ProductCollection, e as Config } from './payload-types-BOsckg8B.js';
2
- import { C as Collection } from './const-JD8obaKg.js';
1
+ import { P as Product, a as ProductVariant, M as Market, C as CustomerProfile, b as CustomerProfileStat, c as CustomerProfileList, d as ProductCollection, e as Config } from './payload-types-Bk-duc5k.js';
2
+ import { C as Collection } from './const-BKUqg96Q.js';
3
3
 
4
4
  type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
5
5
  type PublicCustomerProfileListEntry = {