@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.
@@ -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
- /** Content-free authority receipt. It does not mean paid, approved, or entitled. */
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. */
@@ -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
- /** Content-free authority receipt. It does not mean paid, approved, or entitled. */
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. */