@odla-ai/chapter 0.54.2 → 0.55.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 +32 -0
- package/dist/{chunk-SPEL4OGE.js → chunk-VEOGTSVX.js} +507 -359
- package/dist/chunk-VEOGTSVX.js.map +1 -0
- package/dist/index.cjs +515 -262
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -2
- package/dist/index.d.ts +21 -2
- package/dist/index.js +511 -258
- package/dist/index.js.map +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/ui/member/index.d.ts +7 -0
- package/dist/ui/member/index.js +1 -1
- package/dist/worker/index.cjs +1000 -609
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +20 -1
- package/dist/worker/index.d.ts +20 -1
- package/dist/worker/index.js +993 -602
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-SPEL4OGE.js.map +0 -1
package/dist/worker/index.d.cts
CHANGED
|
@@ -835,6 +835,21 @@ interface SubscriptionBillingTerms {
|
|
|
835
835
|
initialTermEndsAt?: number;
|
|
836
836
|
}
|
|
837
837
|
|
|
838
|
+
/** The optional recipient selected before the applicant consents to payment. */
|
|
839
|
+
interface CheckoutNamedSeatSelection {
|
|
840
|
+
recipientName: string;
|
|
841
|
+
recipientEmail: string;
|
|
842
|
+
}
|
|
843
|
+
/** Authority-owned provider allocation for the seat on the initial subscription. */
|
|
844
|
+
interface CheckoutNamedSeat extends CheckoutNamedSeatSelection {
|
|
845
|
+
purchaserEmail: string;
|
|
846
|
+
seatId: string;
|
|
847
|
+
membershipId: string;
|
|
848
|
+
recipientClaimId: string;
|
|
849
|
+
priceId: string;
|
|
850
|
+
amountCents: number;
|
|
851
|
+
}
|
|
852
|
+
|
|
838
853
|
/** Per-tier policy overrides prevent a chapter-wide price claim leaking into another SKU. */
|
|
839
854
|
interface TierPaymentPolicy {
|
|
840
855
|
refundPolicyText: string;
|
|
@@ -966,11 +981,15 @@ interface MembershipCheckoutBindingInput extends MembershipQuoteTarget {
|
|
|
966
981
|
offerDigest: string;
|
|
967
982
|
quoteDigest: string;
|
|
968
983
|
priceId: string;
|
|
984
|
+
namedSeat?: CheckoutNamedSeatSelection & {
|
|
985
|
+
purchaserEmail: string;
|
|
986
|
+
};
|
|
969
987
|
}
|
|
970
|
-
/**
|
|
988
|
+
/** Frozen authority receipt, including any named recipient. It does not mean paid, approved, or entitled. */
|
|
971
989
|
interface MembershipCheckoutBinding extends MembershipCheckoutBindingInput {
|
|
972
990
|
id: string;
|
|
973
991
|
boundAt: number;
|
|
992
|
+
namedSeat?: CheckoutNamedSeat;
|
|
974
993
|
}
|
|
975
994
|
|
|
976
995
|
/** References only. Money facts must already exist in the verified network Stripe event log. */
|
package/dist/worker/index.d.ts
CHANGED
|
@@ -835,6 +835,21 @@ interface SubscriptionBillingTerms {
|
|
|
835
835
|
initialTermEndsAt?: number;
|
|
836
836
|
}
|
|
837
837
|
|
|
838
|
+
/** The optional recipient selected before the applicant consents to payment. */
|
|
839
|
+
interface CheckoutNamedSeatSelection {
|
|
840
|
+
recipientName: string;
|
|
841
|
+
recipientEmail: string;
|
|
842
|
+
}
|
|
843
|
+
/** Authority-owned provider allocation for the seat on the initial subscription. */
|
|
844
|
+
interface CheckoutNamedSeat extends CheckoutNamedSeatSelection {
|
|
845
|
+
purchaserEmail: string;
|
|
846
|
+
seatId: string;
|
|
847
|
+
membershipId: string;
|
|
848
|
+
recipientClaimId: string;
|
|
849
|
+
priceId: string;
|
|
850
|
+
amountCents: number;
|
|
851
|
+
}
|
|
852
|
+
|
|
838
853
|
/** Per-tier policy overrides prevent a chapter-wide price claim leaking into another SKU. */
|
|
839
854
|
interface TierPaymentPolicy {
|
|
840
855
|
refundPolicyText: string;
|
|
@@ -966,11 +981,15 @@ interface MembershipCheckoutBindingInput extends MembershipQuoteTarget {
|
|
|
966
981
|
offerDigest: string;
|
|
967
982
|
quoteDigest: string;
|
|
968
983
|
priceId: string;
|
|
984
|
+
namedSeat?: CheckoutNamedSeatSelection & {
|
|
985
|
+
purchaserEmail: string;
|
|
986
|
+
};
|
|
969
987
|
}
|
|
970
|
-
/**
|
|
988
|
+
/** Frozen authority receipt, including any named recipient. It does not mean paid, approved, or entitled. */
|
|
971
989
|
interface MembershipCheckoutBinding extends MembershipCheckoutBindingInput {
|
|
972
990
|
id: string;
|
|
973
991
|
boundAt: number;
|
|
992
|
+
namedSeat?: CheckoutNamedSeat;
|
|
974
993
|
}
|
|
975
994
|
|
|
976
995
|
/** References only. Money facts must already exist in the verified network Stripe event log. */
|