@odla-ai/chapter 0.58.0 → 0.59.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 +63 -0
- package/dist/{chunk-FHKZVF5G.js → chunk-GADLTNJF.js} +4 -2
- package/dist/{chunk-FHKZVF5G.js.map → chunk-GADLTNJF.js.map} +1 -1
- package/dist/{chunk-L2IPS2FQ.js → chunk-WFTWT3V7.js} +141 -56
- package/dist/chunk-WFTWT3V7.js.map +1 -0
- package/dist/{chunk-CKC6X5H2.js → chunk-Y2H4VURI.js} +399 -308
- package/dist/chunk-Y2H4VURI.js.map +1 -0
- package/dist/{copy-context-DE4YMAbz.d.ts → copy-context-BuJBQafl.d.ts} +4 -0
- package/dist/index.cjs +218 -84
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +214 -80
- package/dist/index.js.map +1 -1
- package/dist/ui/admin/index.d.ts +36 -3
- package/dist/ui/admin/index.js +6 -2
- package/dist/ui/index.d.ts +3 -3
- package/dist/ui/index.js +15 -3
- package/dist/ui/member/index.d.ts +33 -5
- package/dist/ui/member/index.js +10 -2
- package/dist/worker/index.cjs +611 -184
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +64 -2
- package/dist/worker/index.d.ts +64 -2
- package/dist/worker/index.js +604 -177
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-CKC6X5H2.js.map +0 -1
- package/dist/chunk-L2IPS2FQ.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -181,6 +181,10 @@ interface ChapterCopy {
|
|
|
181
181
|
booking: TextFields<"unavailable" | "loadFailed" | "slotTaken" | "failed" | "loading" | "book" | "booking"> & {
|
|
182
182
|
title?: string;
|
|
183
183
|
intro?: string;
|
|
184
|
+
/** Shown under the booking button until a date is chosen. */
|
|
185
|
+
pickDate?: string;
|
|
186
|
+
/** Shown under the booking button once a date is chosen, until a time is. */
|
|
187
|
+
pickTime?: string;
|
|
184
188
|
};
|
|
185
189
|
/**
|
|
186
190
|
* `consent` is the affirmative statement a member agrees to before the card
|
|
@@ -984,7 +988,7 @@ interface NetworkCommercialFact {
|
|
|
984
988
|
eventType: string;
|
|
985
989
|
eventCreated: number;
|
|
986
990
|
livemode: boolean;
|
|
987
|
-
objectKind: CommercialObjectKind | "payment_intent" | "ignored";
|
|
991
|
+
objectKind: CommercialObjectKind | "payment_intent" | "dispute" | "ignored";
|
|
988
992
|
objectId: string;
|
|
989
993
|
identity: CommercialIdentity;
|
|
990
994
|
applicationId?: string;
|
|
@@ -996,6 +1000,8 @@ interface NetworkCommercialFact {
|
|
|
996
1000
|
invoiceId?: string;
|
|
997
1001
|
chargeId?: string;
|
|
998
1002
|
paymentIntentId?: string;
|
|
1003
|
+
/** Stripe's dispute reason (`fraudulent`, `product_not_received`, …) on a `charge.dispute.*` fact. */
|
|
1004
|
+
disputeReason?: string;
|
|
999
1005
|
subscriptionItemId?: string;
|
|
1000
1006
|
refundedCents?: number;
|
|
1001
1007
|
/** Complete recurring seat item references, with no recipient PII. */
|
|
@@ -1049,6 +1055,8 @@ interface NetworkCommercialProjection {
|
|
|
1049
1055
|
seatPayments?: NetworkCommercialProjectedRow[];
|
|
1050
1056
|
/** Inspectable seat objects. Informational only; money totals are computed from provider transactions. */
|
|
1051
1057
|
seats?: NetworkCommercialProjectedRow[];
|
|
1058
|
+
/** Card-network disputes that could be bound to a source through the charge or payment they name. */
|
|
1059
|
+
disputes?: NetworkCommercialProjectedRow[];
|
|
1052
1060
|
customers: NetworkCommercialProjectedRow[];
|
|
1053
1061
|
subscriptions: NetworkCommercialProjectedRow[];
|
|
1054
1062
|
invoices: NetworkCommercialProjectedRow[];
|
|
@@ -2688,6 +2696,14 @@ type WebhookEvent = ({
|
|
|
2688
2696
|
kind: "canceled";
|
|
2689
2697
|
applicationId?: string;
|
|
2690
2698
|
customerId?: string;
|
|
2699
|
+
} | {
|
|
2700
|
+
kind: "disputed";
|
|
2701
|
+
chargeId: string;
|
|
2702
|
+
disputeId: string;
|
|
2703
|
+
disputeStatus: string;
|
|
2704
|
+
paymentIntentId?: string;
|
|
2705
|
+
applicationId?: string;
|
|
2706
|
+
customerId?: string;
|
|
2691
2707
|
} | {
|
|
2692
2708
|
kind: "ignored";
|
|
2693
2709
|
type: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -181,6 +181,10 @@ interface ChapterCopy {
|
|
|
181
181
|
booking: TextFields<"unavailable" | "loadFailed" | "slotTaken" | "failed" | "loading" | "book" | "booking"> & {
|
|
182
182
|
title?: string;
|
|
183
183
|
intro?: string;
|
|
184
|
+
/** Shown under the booking button until a date is chosen. */
|
|
185
|
+
pickDate?: string;
|
|
186
|
+
/** Shown under the booking button once a date is chosen, until a time is. */
|
|
187
|
+
pickTime?: string;
|
|
184
188
|
};
|
|
185
189
|
/**
|
|
186
190
|
* `consent` is the affirmative statement a member agrees to before the card
|
|
@@ -984,7 +988,7 @@ interface NetworkCommercialFact {
|
|
|
984
988
|
eventType: string;
|
|
985
989
|
eventCreated: number;
|
|
986
990
|
livemode: boolean;
|
|
987
|
-
objectKind: CommercialObjectKind | "payment_intent" | "ignored";
|
|
991
|
+
objectKind: CommercialObjectKind | "payment_intent" | "dispute" | "ignored";
|
|
988
992
|
objectId: string;
|
|
989
993
|
identity: CommercialIdentity;
|
|
990
994
|
applicationId?: string;
|
|
@@ -996,6 +1000,8 @@ interface NetworkCommercialFact {
|
|
|
996
1000
|
invoiceId?: string;
|
|
997
1001
|
chargeId?: string;
|
|
998
1002
|
paymentIntentId?: string;
|
|
1003
|
+
/** Stripe's dispute reason (`fraudulent`, `product_not_received`, …) on a `charge.dispute.*` fact. */
|
|
1004
|
+
disputeReason?: string;
|
|
999
1005
|
subscriptionItemId?: string;
|
|
1000
1006
|
refundedCents?: number;
|
|
1001
1007
|
/** Complete recurring seat item references, with no recipient PII. */
|
|
@@ -1049,6 +1055,8 @@ interface NetworkCommercialProjection {
|
|
|
1049
1055
|
seatPayments?: NetworkCommercialProjectedRow[];
|
|
1050
1056
|
/** Inspectable seat objects. Informational only; money totals are computed from provider transactions. */
|
|
1051
1057
|
seats?: NetworkCommercialProjectedRow[];
|
|
1058
|
+
/** Card-network disputes that could be bound to a source through the charge or payment they name. */
|
|
1059
|
+
disputes?: NetworkCommercialProjectedRow[];
|
|
1052
1060
|
customers: NetworkCommercialProjectedRow[];
|
|
1053
1061
|
subscriptions: NetworkCommercialProjectedRow[];
|
|
1054
1062
|
invoices: NetworkCommercialProjectedRow[];
|
|
@@ -2688,6 +2696,14 @@ type WebhookEvent = ({
|
|
|
2688
2696
|
kind: "canceled";
|
|
2689
2697
|
applicationId?: string;
|
|
2690
2698
|
customerId?: string;
|
|
2699
|
+
} | {
|
|
2700
|
+
kind: "disputed";
|
|
2701
|
+
chargeId: string;
|
|
2702
|
+
disputeId: string;
|
|
2703
|
+
disputeStatus: string;
|
|
2704
|
+
paymentIntentId?: string;
|
|
2705
|
+
applicationId?: string;
|
|
2706
|
+
customerId?: string;
|
|
2691
2707
|
} | {
|
|
2692
2708
|
kind: "ignored";
|
|
2693
2709
|
type: string;
|