@odla-ai/chapter 0.47.7 → 0.47.9
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/dist/index.cjs +24 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -1
- package/dist/testing.cjs +102 -0
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +56 -1
- package/dist/testing.d.ts +56 -1
- package/dist/testing.js +102 -0
- package/dist/testing.js.map +1 -1
- package/dist/worker/index.cjs +144 -32
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.js +144 -32
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1220,7 +1220,8 @@ declare function createChapterIntegration(chapter: Chapter, options?: ChapterInt
|
|
|
1220
1220
|
* adds the legacy read-only super-admin tier (the backward-compatible default).
|
|
1221
1221
|
* `superAdminSource: "odla"` uses reserved `$users` and adds no app namespace. A `"claim"`
|
|
1222
1222
|
* chapter therefore emits the reference namespace set — `applications`,
|
|
1223
|
-
* `groups`, `meetings`, `emailLog`, `stripeEventReceipts`,
|
|
1223
|
+
* `groups`, `meetings`, `emailLog`, `stripeEventReceipts`,
|
|
1224
|
+
* `subscriptionCheckoutIntents`, `superAdmins` — with
|
|
1224
1225
|
* no `admins` table. */
|
|
1225
1226
|
declare function chapterDb(mode: ChapterMode, auth: ResolvedAuth, includeNetworkNotes?: boolean, application?: ResolvedApplication, includeSignupControl?: boolean, includeMemberContent?: boolean, includeBuilderLibrary?: boolean, includeLeaderAdmissions?: boolean, includeNetworkPersonRegistry?: boolean, includeNetworkCommercialReadModel?: boolean): {
|
|
1226
1227
|
schema: DbSchema;
|
package/dist/index.d.ts
CHANGED
|
@@ -1220,7 +1220,8 @@ declare function createChapterIntegration(chapter: Chapter, options?: ChapterInt
|
|
|
1220
1220
|
* adds the legacy read-only super-admin tier (the backward-compatible default).
|
|
1221
1221
|
* `superAdminSource: "odla"` uses reserved `$users` and adds no app namespace. A `"claim"`
|
|
1222
1222
|
* chapter therefore emits the reference namespace set — `applications`,
|
|
1223
|
-
* `groups`, `meetings`, `emailLog`, `stripeEventReceipts`,
|
|
1223
|
+
* `groups`, `meetings`, `emailLog`, `stripeEventReceipts`,
|
|
1224
|
+
* `subscriptionCheckoutIntents`, `superAdmins` — with
|
|
1224
1225
|
* no `admins` table. */
|
|
1225
1226
|
declare function chapterDb(mode: ChapterMode, auth: ResolvedAuth, includeNetworkNotes?: boolean, application?: ResolvedApplication, includeSignupControl?: boolean, includeMemberContent?: boolean, includeBuilderLibrary?: boolean, includeLeaderAdmissions?: boolean, includeNetworkPersonRegistry?: boolean, includeNetworkCommercialReadModel?: boolean): {
|
|
1226
1227
|
schema: DbSchema;
|
package/dist/index.js
CHANGED
|
@@ -467,6 +467,29 @@ var stripeEventReceiptsEntity = {
|
|
|
467
467
|
receivedAt: attr4("number", { indexed: true })
|
|
468
468
|
}
|
|
469
469
|
};
|
|
470
|
+
var subscriptionCheckoutIntentsEntity = {
|
|
471
|
+
attrs: {
|
|
472
|
+
id: attr4("string", { unique: true, indexed: true }),
|
|
473
|
+
applicationId: attr4("string", { unique: true, indexed: true }),
|
|
474
|
+
appId: attr4("string", { indexed: true }),
|
|
475
|
+
chapterId: attr4("string", { indexed: true }),
|
|
476
|
+
environment: attr4("string", { indexed: true }),
|
|
477
|
+
runtime: attr4("string", { indexed: true, optional: true }),
|
|
478
|
+
groupId: attr4("string", { indexed: true }),
|
|
479
|
+
tierId: attr4("string", { indexed: true }),
|
|
480
|
+
priceId: attr4("string", { indexed: true }),
|
|
481
|
+
priceCents: attr4("number"),
|
|
482
|
+
currency: attr4("string", { indexed: true }),
|
|
483
|
+
interval: attr4("string", { indexed: true }),
|
|
484
|
+
purchaserEmailNormalized: attr4("string", { indexed: true }),
|
|
485
|
+
requestedCustomerId: attr4("string", { indexed: true, optional: true }),
|
|
486
|
+
providerCustomerId: attr4("string", { indexed: true, optional: true }),
|
|
487
|
+
providerSubscriptionId: attr4("string", { unique: true, indexed: true, optional: true }),
|
|
488
|
+
status: attr4("string", { indexed: true }),
|
|
489
|
+
createdAt: attr4("number", { indexed: true }),
|
|
490
|
+
updatedAt: attr4("number", { indexed: true })
|
|
491
|
+
}
|
|
492
|
+
};
|
|
470
493
|
|
|
471
494
|
// src/schema-network-person.ts
|
|
472
495
|
var string = (flags = {}) => ({
|
|
@@ -797,6 +820,7 @@ function chapterDb(mode, auth, includeNetworkNotes = false, application = resolv
|
|
|
797
820
|
entities.meetings = meetings;
|
|
798
821
|
entities.emailLog = emailLog;
|
|
799
822
|
entities.stripeEventReceipts = stripeEventReceiptsEntity;
|
|
823
|
+
entities.subscriptionCheckoutIntents = subscriptionCheckoutIntentsEntity;
|
|
800
824
|
entities.admissionGrants = admissionGrantsEntity;
|
|
801
825
|
entities.admissionGrantRevisions = admissionGrantRevisionsEntity;
|
|
802
826
|
entities.giftPurchaseIntents = giftPurchaseIntentsEntity;
|