@read-frog/api-contract 0.22.0 → 0.23.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/dist/index.d.ts +182 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +144 -121
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/public-errors.ts +7 -1
- package/src/schemas/hosted-ai.ts +26 -4
package/dist/index.js
CHANGED
|
@@ -1,6 +1,120 @@
|
|
|
1
1
|
import { eventIterator, oc } from "@orpc/contract";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { EBOOK_ALLOWED_COVER_CONTENT_TYPES, GATED_FEATURE_KEYS, NOTEBASE_COLUMN_MAX_WIDTH, NOTEBASE_COLUMN_MIN_WIDTH, SRS_REVIEW_DURATION_MS_MAX, activeScheduleStatusSchema, canonicalTimeZone, cardIdentityShape, cardMemoryStateShape, cardStateSchema, cardStateSchema as cardStateSchema$1, cardTemplateConfigSchema, cardTemplateCreatedBySchema, fsrsMemoryStateSchema, fsrsReviewLogSnapshotSchema, getVideoIdFromUrl, langCodeISO6393Schema, notebaseColumnConfigSchema, reviewRatingSchema, scheduleStatusSchema, scheduleStatusSchema as scheduleStatusSchema$1, schedulingParamsSchema, schedulingParamsShape, srsModelVersionSchema, srsStepSchema, srsWeightsSchema, transcriptSegmentSchema } from "@read-frog/definitions";
|
|
4
|
+
//#region src/schemas/app-locale.ts
|
|
5
|
+
/**
|
|
6
|
+
* The languages the website is in (`project.inlang/settings.json`; a test in
|
|
7
|
+
* apps/www keeps the two in step). Used wherever the server writes for a
|
|
8
|
+
* person: Stripe pages, emails, and the account's `locale`.
|
|
9
|
+
*/
|
|
10
|
+
const appLocaleSchema = z.enum([
|
|
11
|
+
"en",
|
|
12
|
+
"es",
|
|
13
|
+
"ja",
|
|
14
|
+
"ko",
|
|
15
|
+
"ru",
|
|
16
|
+
"tr",
|
|
17
|
+
"vi",
|
|
18
|
+
"zh",
|
|
19
|
+
"zh-TW"
|
|
20
|
+
]);
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/schemas/billing.ts
|
|
23
|
+
const billingIntervalSchema = z.enum(["month", "year"]);
|
|
24
|
+
const billingSubscriptionStatusSchema = z.enum([
|
|
25
|
+
"incomplete",
|
|
26
|
+
"incomplete_expired",
|
|
27
|
+
"trialing",
|
|
28
|
+
"active",
|
|
29
|
+
"past_due",
|
|
30
|
+
"canceled",
|
|
31
|
+
"unpaid",
|
|
32
|
+
"paused"
|
|
33
|
+
]);
|
|
34
|
+
const billingPlanSchema = z.enum([
|
|
35
|
+
"free",
|
|
36
|
+
"pro",
|
|
37
|
+
"ultra"
|
|
38
|
+
]);
|
|
39
|
+
/**
|
|
40
|
+
* How many MCP tool calls each plan may make in a day (24 hours from the first
|
|
41
|
+
* one); `null` is no limit. Each `tools/call` counts once, whatever the tool.
|
|
42
|
+
*
|
|
43
|
+
* Read by the MCP server's gate AND by the website's copy, so the pages cannot
|
|
44
|
+
* promise calls the server refuses.
|
|
45
|
+
*
|
|
46
|
+
* Companion edit when this changes: the MCP docs under
|
|
47
|
+
* `apps/www/content/docs/mcp/` and `account-and-plans`, which state the numbers.
|
|
48
|
+
*/
|
|
49
|
+
const MCP_DAILY_CALL_LIMITS = {
|
|
50
|
+
free: 10,
|
|
51
|
+
pro: 50,
|
|
52
|
+
ultra: null
|
|
53
|
+
};
|
|
54
|
+
const billingCheckoutPlanSchema = z.enum(["pro", "ultra"]);
|
|
55
|
+
const billingCurrencySchema = z.enum([
|
|
56
|
+
"usd",
|
|
57
|
+
"cad",
|
|
58
|
+
"cny"
|
|
59
|
+
]);
|
|
60
|
+
const billingLocaleSchema = appLocaleSchema;
|
|
61
|
+
const billingAccessSourceSchema = z.enum(["subscription", "pass"]);
|
|
62
|
+
const billingScheduledChangeSchema = z.object({
|
|
63
|
+
plan: billingCheckoutPlanSchema,
|
|
64
|
+
interval: billingIntervalSchema,
|
|
65
|
+
effectiveAt: z.coerce.date()
|
|
66
|
+
}).strict();
|
|
67
|
+
/**
|
|
68
|
+
* The zone a payment deadline is shown in, as a date with no time. UTC−12 is
|
|
69
|
+
* the last zone to finish a day, and `dueBy` is the end of a day there, so the
|
|
70
|
+
* date it shows stays open in every customer's zone until their own midnight.
|
|
71
|
+
*/
|
|
72
|
+
const BILLING_PAYMENT_DUE_TIME_ZONE = "Etc/GMT+12";
|
|
73
|
+
/**
|
|
74
|
+
* A renewal whose payment failed. The plan stays until `dueBy`; paying the
|
|
75
|
+
* invoice before then (or later, until the subscription is canceled) restores
|
|
76
|
+
* the subscription as if the payment had gone through.
|
|
77
|
+
*/
|
|
78
|
+
const billingPaymentDueSchema = z.object({
|
|
79
|
+
/** The last instant of the plan; show it in BILLING_PAYMENT_DUE_TIME_ZONE. */
|
|
80
|
+
dueBy: z.coerce.date(),
|
|
81
|
+
/**
|
|
82
|
+
* The plan the payment keeps. Not `BillingStatus.plan`: past `dueBy` that
|
|
83
|
+
* already reads "free" while the invoice is still payable.
|
|
84
|
+
*/
|
|
85
|
+
plan: billingCheckoutPlanSchema,
|
|
86
|
+
/** The Stripe-hosted page that pays the invoice; null if Stripe gave none. */
|
|
87
|
+
url: z.url().nullable()
|
|
88
|
+
}).strict();
|
|
89
|
+
const billingStatusSchema = z.object({
|
|
90
|
+
plan: billingPlanSchema,
|
|
91
|
+
status: billingSubscriptionStatusSchema.nullable(),
|
|
92
|
+
interval: billingIntervalSchema.nullable(),
|
|
93
|
+
currentPeriodEnd: z.coerce.date().nullable(),
|
|
94
|
+
/**
|
|
95
|
+
* When the subscription terminates, or null if it renews. Replaces the
|
|
96
|
+
* `cancelAtPeriodEnd` boolean: Stripe deprecated its counterpart and the
|
|
97
|
+
* Customer Portal no longer sets it, and the termination date is not always
|
|
98
|
+
* `currentPeriodEnd` — a stacked pass pushes that past the cancellation.
|
|
99
|
+
*/
|
|
100
|
+
cancelAt: z.coerce.date().nullable(),
|
|
101
|
+
accessSource: billingAccessSourceSchema.nullable(),
|
|
102
|
+
scheduledChange: billingScheduledChangeSchema.nullable(),
|
|
103
|
+
paymentDue: billingPaymentDueSchema.nullable(),
|
|
104
|
+
unlimitedNotebaseNotes: z.boolean(),
|
|
105
|
+
notebaseNoteLimit: z.number().int().positive(),
|
|
106
|
+
notebaseNoteCount: z.number().int().min(0)
|
|
107
|
+
}).strict();
|
|
108
|
+
const billingCreateCheckoutSessionInputSchema = z.object({
|
|
109
|
+
currency: billingCurrencySchema,
|
|
110
|
+
interval: billingIntervalSchema,
|
|
111
|
+
locale: appLocaleSchema,
|
|
112
|
+
plan: billingCheckoutPlanSchema.default("pro")
|
|
113
|
+
}).strict();
|
|
114
|
+
const billingCreateCustomerPortalSessionInputSchema = z.object({ locale: appLocaleSchema }).strict();
|
|
115
|
+
const billingSessionUrlOutputSchema = z.object({ url: z.url() }).strict();
|
|
116
|
+
const billingCancelScheduledChangeOutputSchema = z.object({ success: z.literal(true) }).strict();
|
|
117
|
+
//#endregion
|
|
4
118
|
//#region src/schemas/hosted-ai.ts
|
|
5
119
|
const HostedAiOutputFieldTypeSchema = z.enum(["string", "number"]);
|
|
6
120
|
const HostedAiOutputFieldSchema = z.strictObject({
|
|
@@ -136,12 +250,23 @@ const HOSTED_AI_CLIENT_STREAM_PART_TYPES = [
|
|
|
136
250
|
* useful response rather than a validation error.
|
|
137
251
|
*/
|
|
138
252
|
const HostedAiStatusInputSchema = z.object({});
|
|
253
|
+
/**
|
|
254
|
+
* `pro_required` means the Pro plan or any plan above it; `ultra_required`
|
|
255
|
+
* means Ultra. Appended last, so a client that predates a value falls back on
|
|
256
|
+
* its own default instead of misreading it.
|
|
257
|
+
*/
|
|
139
258
|
const HostedAiUnavailableReasonSchema = z.enum([
|
|
140
259
|
"authentication_required",
|
|
141
260
|
"ultra_required",
|
|
142
261
|
"quota_exhausted",
|
|
143
|
-
"service_unavailable"
|
|
262
|
+
"service_unavailable",
|
|
263
|
+
"pro_required"
|
|
144
264
|
]);
|
|
265
|
+
/**
|
|
266
|
+
* The cheapest plan an account would need to buy for something it cannot use
|
|
267
|
+
* now. Any plan above it works too, so `pro` reads as "Pro or Ultra".
|
|
268
|
+
*/
|
|
269
|
+
const HostedAiUpgradePlanSchema = billingPlanSchema.exclude(["free"]);
|
|
145
270
|
const HostedAiCreditPolicyIdSchema = z.enum([
|
|
146
271
|
"custom-action-guest-daily-v1",
|
|
147
272
|
"custom-action-user-daily-v1",
|
|
@@ -212,10 +337,18 @@ const HostedAiTierStatusSchema = z.strictObject({
|
|
|
212
337
|
available: z.boolean(),
|
|
213
338
|
unavailableReason: HostedAiUnavailableReasonSchema.nullable(),
|
|
214
339
|
/**
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
340
|
+
* The cheapest plan this account would need to use the tier, or null when it
|
|
341
|
+
* needs none: its plan or a one-time pool already covers it, or the tier is
|
|
342
|
+
* open to every signed-in account. For a guest it is the plan needed after
|
|
343
|
+
* signing in. Clients badge an option with it and offer that plan.
|
|
344
|
+
*/
|
|
345
|
+
upgradeTo: HostedAiUpgradePlanSchema.nullable(),
|
|
346
|
+
/**
|
|
347
|
+
* @deprecated Read `upgradeTo`. Viewer-independent product fact: no
|
|
348
|
+
* non-Ultra account can ever use this feature/tier. Extensions released
|
|
349
|
+
* before `upgradeTo` badge options with it, including for Ultra accounts.
|
|
350
|
+
*
|
|
351
|
+
* TODO(2026-11-21): remove once those extensions have drained (#710).
|
|
219
352
|
*/
|
|
220
353
|
requiresUltra: z.boolean(),
|
|
221
354
|
modelRevision: z.string().trim().min(1)
|
|
@@ -283,7 +416,11 @@ const CardTemplateNotebaseColumnInUseDataSchema = z.object({ templates: z.array(
|
|
|
283
416
|
id: z.uuid(),
|
|
284
417
|
name: z.string()
|
|
285
418
|
}).strict()) }).strict();
|
|
286
|
-
const HostedAiTierRestrictedDataSchema = z.strictObject({
|
|
419
|
+
const HostedAiTierRestrictedDataSchema = z.strictObject({
|
|
420
|
+
modelTier: HostedAiModelTierSchema,
|
|
421
|
+
/** The cheapest plan that unlocks it; a client offers "Pro or Ultra" for `pro`. */
|
|
422
|
+
upgradeTo: HostedAiUpgradePlanSchema
|
|
423
|
+
});
|
|
287
424
|
const HostedAiQuotaExhaustedDataSchema = z.strictObject({
|
|
288
425
|
modelTier: HostedAiModelTierSchema,
|
|
289
426
|
policyId: HostedAiCreditPolicyIdSchema,
|
|
@@ -500,120 +637,6 @@ function pickPublicErrorMap(...codes) {
|
|
|
500
637
|
}));
|
|
501
638
|
}
|
|
502
639
|
//#endregion
|
|
503
|
-
//#region src/schemas/app-locale.ts
|
|
504
|
-
/**
|
|
505
|
-
* The languages the website is in (`project.inlang/settings.json`; a test in
|
|
506
|
-
* apps/www keeps the two in step). Used wherever the server writes for a
|
|
507
|
-
* person: Stripe pages, emails, and the account's `locale`.
|
|
508
|
-
*/
|
|
509
|
-
const appLocaleSchema = z.enum([
|
|
510
|
-
"en",
|
|
511
|
-
"es",
|
|
512
|
-
"ja",
|
|
513
|
-
"ko",
|
|
514
|
-
"ru",
|
|
515
|
-
"tr",
|
|
516
|
-
"vi",
|
|
517
|
-
"zh",
|
|
518
|
-
"zh-TW"
|
|
519
|
-
]);
|
|
520
|
-
//#endregion
|
|
521
|
-
//#region src/schemas/billing.ts
|
|
522
|
-
const billingIntervalSchema = z.enum(["month", "year"]);
|
|
523
|
-
const billingSubscriptionStatusSchema = z.enum([
|
|
524
|
-
"incomplete",
|
|
525
|
-
"incomplete_expired",
|
|
526
|
-
"trialing",
|
|
527
|
-
"active",
|
|
528
|
-
"past_due",
|
|
529
|
-
"canceled",
|
|
530
|
-
"unpaid",
|
|
531
|
-
"paused"
|
|
532
|
-
]);
|
|
533
|
-
const billingPlanSchema = z.enum([
|
|
534
|
-
"free",
|
|
535
|
-
"pro",
|
|
536
|
-
"ultra"
|
|
537
|
-
]);
|
|
538
|
-
/**
|
|
539
|
-
* How many MCP tool calls each plan may make in a day (24 hours from the first
|
|
540
|
-
* one); `null` is no limit. Each `tools/call` counts once, whatever the tool.
|
|
541
|
-
*
|
|
542
|
-
* Read by the MCP server's gate AND by the website's copy, so the pages cannot
|
|
543
|
-
* promise calls the server refuses.
|
|
544
|
-
*
|
|
545
|
-
* Companion edit when this changes: the MCP docs under
|
|
546
|
-
* `apps/www/content/docs/mcp/` and `account-and-plans`, which state the numbers.
|
|
547
|
-
*/
|
|
548
|
-
const MCP_DAILY_CALL_LIMITS = {
|
|
549
|
-
free: 10,
|
|
550
|
-
pro: 50,
|
|
551
|
-
ultra: null
|
|
552
|
-
};
|
|
553
|
-
const billingCheckoutPlanSchema = z.enum(["pro", "ultra"]);
|
|
554
|
-
const billingCurrencySchema = z.enum([
|
|
555
|
-
"usd",
|
|
556
|
-
"cad",
|
|
557
|
-
"cny"
|
|
558
|
-
]);
|
|
559
|
-
const billingLocaleSchema = appLocaleSchema;
|
|
560
|
-
const billingAccessSourceSchema = z.enum(["subscription", "pass"]);
|
|
561
|
-
const billingScheduledChangeSchema = z.object({
|
|
562
|
-
plan: billingCheckoutPlanSchema,
|
|
563
|
-
interval: billingIntervalSchema,
|
|
564
|
-
effectiveAt: z.coerce.date()
|
|
565
|
-
}).strict();
|
|
566
|
-
/**
|
|
567
|
-
* The zone a payment deadline is shown in, as a date with no time. UTC−12 is
|
|
568
|
-
* the last zone to finish a day, and `dueBy` is the end of a day there, so the
|
|
569
|
-
* date it shows stays open in every customer's zone until their own midnight.
|
|
570
|
-
*/
|
|
571
|
-
const BILLING_PAYMENT_DUE_TIME_ZONE = "Etc/GMT+12";
|
|
572
|
-
/**
|
|
573
|
-
* A renewal whose payment failed. The plan stays until `dueBy`; paying the
|
|
574
|
-
* invoice before then (or later, until the subscription is canceled) restores
|
|
575
|
-
* the subscription as if the payment had gone through.
|
|
576
|
-
*/
|
|
577
|
-
const billingPaymentDueSchema = z.object({
|
|
578
|
-
/** The last instant of the plan; show it in BILLING_PAYMENT_DUE_TIME_ZONE. */
|
|
579
|
-
dueBy: z.coerce.date(),
|
|
580
|
-
/**
|
|
581
|
-
* The plan the payment keeps. Not `BillingStatus.plan`: past `dueBy` that
|
|
582
|
-
* already reads "free" while the invoice is still payable.
|
|
583
|
-
*/
|
|
584
|
-
plan: billingCheckoutPlanSchema,
|
|
585
|
-
/** The Stripe-hosted page that pays the invoice; null if Stripe gave none. */
|
|
586
|
-
url: z.url().nullable()
|
|
587
|
-
}).strict();
|
|
588
|
-
const billingStatusSchema = z.object({
|
|
589
|
-
plan: billingPlanSchema,
|
|
590
|
-
status: billingSubscriptionStatusSchema.nullable(),
|
|
591
|
-
interval: billingIntervalSchema.nullable(),
|
|
592
|
-
currentPeriodEnd: z.coerce.date().nullable(),
|
|
593
|
-
/**
|
|
594
|
-
* When the subscription terminates, or null if it renews. Replaces the
|
|
595
|
-
* `cancelAtPeriodEnd` boolean: Stripe deprecated its counterpart and the
|
|
596
|
-
* Customer Portal no longer sets it, and the termination date is not always
|
|
597
|
-
* `currentPeriodEnd` — a stacked pass pushes that past the cancellation.
|
|
598
|
-
*/
|
|
599
|
-
cancelAt: z.coerce.date().nullable(),
|
|
600
|
-
accessSource: billingAccessSourceSchema.nullable(),
|
|
601
|
-
scheduledChange: billingScheduledChangeSchema.nullable(),
|
|
602
|
-
paymentDue: billingPaymentDueSchema.nullable(),
|
|
603
|
-
unlimitedNotebaseNotes: z.boolean(),
|
|
604
|
-
notebaseNoteLimit: z.number().int().positive(),
|
|
605
|
-
notebaseNoteCount: z.number().int().min(0)
|
|
606
|
-
}).strict();
|
|
607
|
-
const billingCreateCheckoutSessionInputSchema = z.object({
|
|
608
|
-
currency: billingCurrencySchema,
|
|
609
|
-
interval: billingIntervalSchema,
|
|
610
|
-
locale: appLocaleSchema,
|
|
611
|
-
plan: billingCheckoutPlanSchema.default("pro")
|
|
612
|
-
}).strict();
|
|
613
|
-
const billingCreateCustomerPortalSessionInputSchema = z.object({ locale: appLocaleSchema }).strict();
|
|
614
|
-
const billingSessionUrlOutputSchema = z.object({ url: z.url() }).strict();
|
|
615
|
-
const billingCancelScheduledChangeOutputSchema = z.object({ success: z.literal(true) }).strict();
|
|
616
|
-
//#endregion
|
|
617
640
|
//#region src/contracts/billing.ts
|
|
618
641
|
const billingProcedure = oc.errors(pickPublicErrorMap("BILLING_NOT_CONFIGURED", "BILLING_CUSTOMER_NOT_FOUND", "BILLING_PASS_ACTIVE", "BILLING_CHANGE_SCHEDULED"));
|
|
619
642
|
const billingContract = {
|
|
@@ -2184,6 +2207,6 @@ const contract = {
|
|
|
2184
2207
|
}
|
|
2185
2208
|
};
|
|
2186
2209
|
//#endregion
|
|
2187
|
-
export { BILLING_PAYMENT_DUE_TIME_ZONE, CardGenerateInputSchema, CardGenerateOutputSchema, CardGetInputSchema, CardGetOutputSchema, CardListInputSchema, CardListOutputSchema, CardTemplateCreateInputSchema, CardTemplateCreateOutputSchema, CardTemplateDeleteInputSchema, CardTemplateDeleteOutputSchema, CardTemplateGetInputSchema, CardTemplateGetOutputSchema, CardTemplateInvalidColumnsDataSchema, CardTemplateInvalidLayoutDataSchema, CardTemplateListInputSchema, CardTemplateListOutputSchema, CardTemplateNotebaseColumnInUseDataSchema, CardTemplateUpdateInputSchema, CardTemplateUpdateOutputSchema, CellValidationFailedDataSchema, CellValidationFailureDetailsSchema, CellValidationFailureReasonSchema, DEFAULT_SPEECH_PREFERENCES, FeatureAccessStatusInputSchema, FeatureAccessStatusOutputSchema, GatedFeatureKeySchema, HOSTED_AI_CLIENT_STREAM_PART_TYPES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS, HostedAiCreditPeriodKindSchema, HostedAiCreditPolicyIdSchema, HostedAiCreditPoolStatusSchema, HostedAiFeatureSchema, HostedAiFeatureStatusSchema, HostedAiModelTierSchema, HostedAiNoteSuggestionObjectSchema, HostedAiNoteSuggestionStreamInputSchema, HostedAiOneTimeCreditStatusSchema, HostedAiOutputFieldSchema, HostedAiOutputFieldTypeSchema, HostedAiQuotaExhaustedDataSchema, HostedAiQuotaScopeSchema, HostedAiRateLimitErrorDataSchema, HostedAiRecurringCreditStatusSchema, HostedAiRequestIdSchema, HostedAiStatusInputSchema, HostedAiStatusOutputSchema, HostedAiStreamPartSchema, HostedAiStreamStructuredObjectInputSchema, HostedAiStreamTextInputSchema, HostedAiTierRestrictedDataSchema, HostedAiTierStatusSchema, HostedAiUnavailableReasonSchema, MASTERY_GOAL_TARGET_MAX, MCP_DAILY_CALL_LIMITS, NOTEBASE_ROW_CREATE_MANY_MAX_ROWS, NOTEBASE_ROW_DELETE_MANY_MAX_ROWS, NOTEBASE_ROW_UPDATE_MANY_MAX_ROWS, NotebaseColumnCreateInputSchema, NotebaseColumnCreateOutputSchema, NotebaseColumnDeleteInputSchema, NotebaseColumnDeleteOutputSchema, NotebaseColumnReorderInputSchema, NotebaseColumnReorderOutputSchema, NotebaseColumnUpdateInputSchema, NotebaseColumnUpdateOutputSchema, NotebaseCreateInputSchema, NotebaseCreateOutputSchema, NotebaseDeleteInputSchema, NotebaseDeleteOutputSchema, NotebaseGetInputSchema, NotebaseGetOutputSchema, NotebaseGetSchemaInputSchema, NotebaseGetSchemaOutputSchema, NotebaseGetSummaryInputSchema, NotebaseGetSummaryOutputSchema, NotebaseListInputSchema, NotebaseListItemSchema, NotebaseListOutputSchema, NotebaseRowCreateInputSchema, NotebaseRowCreateManyInputSchema, NotebaseRowCreateManyOutputSchema, NotebaseRowCreateOutputSchema, NotebaseRowDeleteInputSchema, NotebaseRowDeleteManyInputSchema, NotebaseRowDeleteManyOutputSchema, NotebaseRowDeleteOutputSchema, NotebaseRowGetInputSchema, NotebaseRowGetOutputSchema, NotebaseRowListInputSchema, NotebaseRowListOutputSchema, NotebaseRowReorderInputSchema, NotebaseRowReorderOutputSchema, NotebaseRowUpdateInputSchema, NotebaseRowUpdateManyInputSchema, NotebaseRowUpdateManyOutputSchema, NotebaseRowUpdateOutputSchema, NotebaseSetSleepInputSchema, NotebaseSetSleepOutputSchema, NotebaseUpdateInputSchema, NotebaseUpdateOutputSchema, PUBLIC_APP_ERROR_DEFS, SPEECH_DAILY_REQUEST_LIMITS, SPEECH_RATE_MAX, SPEECH_RATE_MIN, SPEECH_TEXT_MAX_LENGTH, SRS_REVIEW_CLIENT_ID_NAMESPACE, SRS_REVIEW_DURATION_MS_MAX, SpeechDailyLimitReachedDataSchema, activityStatsOutputSchema, appLocaleSchema, billingAccessSourceSchema, billingCancelScheduledChangeOutputSchema, billingCheckoutPlanSchema, billingCreateCheckoutSessionInputSchema, billingCreateCustomerPortalSessionInputSchema, billingCurrencySchema, billingIntervalSchema, billingLocaleSchema, billingPaymentDueSchema, billingPlanSchema, billingScheduledChangeSchema, billingSessionUrlOutputSchema, billingStatusSchema, billingSubscriptionStatusSchema, canonicalTimezoneSchema, cardSchema, cardStateSchema, cardTemplateSchema, contract, createSrsReviewClientId, defineAgentProcedure, deletionResultSchema, ebookCoverContentTypeSchema, ebookDeleteInputSchema, ebookDeleteOutputSchema, ebookDetailSchema, ebookFinalizeUploadInputSchema, ebookFinalizeUploadOutputSchema, ebookGetDownloadUrlInputSchema, ebookGetDownloadUrlOutputSchema, ebookGetInputSchema, ebookGetOutputSchema, ebookListInputSchema, ebookListItemSchema, ebookListOutputSchema, ebookPresignedUploadSchema, ebookQuotaSchema, ebookRenameDataSchema, ebookRenameInputSchema, ebookRenameOutputSchema, ebookRequestUploadInputSchema, ebookRequestUploadOutputSchema, ebookStatusSchema, ebookUpdateProgressDataSchema, ebookUpdateProgressInputSchema, ebookUpdateProgressOutputSchema, emailCategoryKeySchema, emailCategoryStateSchema, emailLinkTokenSchema, emailPreferencesByTokenStateSchema, emailPreferencesGetByTokenInputSchema, emailPreferencesGetInputSchema, emailPreferencesStateSchema, emailPreferencesUpdateByTokenInputSchema, emailPreferencesUpdateInputSchema, expectedUpdatedAtSchema, getPublicErrorDefinition, isPublicAppErrorCode, masteryGoalOutputSchema, masteryGoalTargetSchema, masteryGoalUpdateInputSchema, mcpConnectionListOutputSchema, mcpConnectionRevokeInputSchema, mcpConnectionRevokeOutputSchema, mcpConnectionSchema, notebaseActivityStatsItemSchema, notebaseActivityStatsOutputSchema, notebaseColumnCreateDataSchema, notebaseColumnSchema, notebaseColumnUpdateDataSchema, notebaseColumnWidthSchema, notebaseCreateDataSchema, notebaseRowCellsSchema, notebaseRowCreateDataSchema, notebaseRowGrowthStatsItemSchema, notebaseRowGrowthStatsOutputSchema, notebaseRowSchema, notebaseRowUpdateDataSchema, notebaseSchema, notebaseSummarySchema, notebaseUpdateDataSchema, notebaseViewConfigSchema, notebaseViewCreateDataSchema, notebaseViewFilterSchema, notebaseViewFiltersSchema, notebaseViewSchema, notebaseViewSortSchema, notebaseViewSortsSchema, notebaseViewTypeSchema, notebaseViewUpdateDataSchema, pageSchema, paginationShape, pickPublicErrorMap, renderedCardSchema, reviewRatingSchema, scheduleStatusSchema, schedulingParamsSchema, speechPreferencesSchema, speechPreferencesUpdateInputSchema, speechRateSchema, speechSynthesizeInputSchema, speechSynthesizeOutputSchema, speechVoiceGenderSchema, speechVoiceNameSchema, speechVoiceSchema, speechVoicesOutputSchema, srsAcknowledgeOptimizerResultsInputSchema, srsAcknowledgeOptimizerResultsOutputSchema, srsActivityStatsItemSchema, srsActivityStatsOutputSchema, srsListCardRevlogsInputSchema, srsListCardRevlogsOutputSchema, srsListUnreadOptimizerResultsInputSchema, srsListUnreadOptimizerResultsOutputSchema, srsManualCardStatusInputSchema, srsMemoryGrowthStatsItemSchema, srsMemoryGrowthStatsOutputSchema, srsOptimizerUnreadResultSchema, srsRecentNotebaseScheduleStatusStatsInputSchema, srsRecentNotebaseScheduleStatusStatsOutputSchema, srsReviewInputSchema, srsReviewOutputSchema, srsRevlogSchema, srsRevlogWithoutSnapshotSchema, srsRollbackReviewInputSchema, srsRollbackReviewOutputSchema, srsScheduleStatusStatsInputSchema, srsScheduleStatusStatsOutputSchema, srsScheduleStatusStatsSchema, srsSetCardBuriedInputSchema, srsSetCardBuriedOutputSchema, srsSetCardSuspendedInputSchema, srsSetCardSuspendedOutputSchema, srsTxidOutputSchema, statsInputSchema, stepSchema, timezoneSchema, userEnsureLocaleInputSchema, userEnsureLocaleOutputSchema, userEnsureTimezoneInputSchema, userEnsureTimezoneOutputSchema, userUpdateLocaleInputSchema, userUpdateLocaleOutputSchema, userUpdateTimezoneInputSchema, userUpdateTimezoneOutputSchema, videoTranscriptCreateInputSchema, videoTranscriptGetInputSchema, videoTranscriptResourceSchema, videoTranscriptStatusSchema, videoTranscriptSubtitlesSchema, videoTranscriptUsagePoolSchema, videoTranscriptUsageSchema };
|
|
2210
|
+
export { BILLING_PAYMENT_DUE_TIME_ZONE, CardGenerateInputSchema, CardGenerateOutputSchema, CardGetInputSchema, CardGetOutputSchema, CardListInputSchema, CardListOutputSchema, CardTemplateCreateInputSchema, CardTemplateCreateOutputSchema, CardTemplateDeleteInputSchema, CardTemplateDeleteOutputSchema, CardTemplateGetInputSchema, CardTemplateGetOutputSchema, CardTemplateInvalidColumnsDataSchema, CardTemplateInvalidLayoutDataSchema, CardTemplateListInputSchema, CardTemplateListOutputSchema, CardTemplateNotebaseColumnInUseDataSchema, CardTemplateUpdateInputSchema, CardTemplateUpdateOutputSchema, CellValidationFailedDataSchema, CellValidationFailureDetailsSchema, CellValidationFailureReasonSchema, DEFAULT_SPEECH_PREFERENCES, FeatureAccessStatusInputSchema, FeatureAccessStatusOutputSchema, GatedFeatureKeySchema, HOSTED_AI_CLIENT_STREAM_PART_TYPES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS, HostedAiCreditPeriodKindSchema, HostedAiCreditPolicyIdSchema, HostedAiCreditPoolStatusSchema, HostedAiFeatureSchema, HostedAiFeatureStatusSchema, HostedAiModelTierSchema, HostedAiNoteSuggestionObjectSchema, HostedAiNoteSuggestionStreamInputSchema, HostedAiOneTimeCreditStatusSchema, HostedAiOutputFieldSchema, HostedAiOutputFieldTypeSchema, HostedAiQuotaExhaustedDataSchema, HostedAiQuotaScopeSchema, HostedAiRateLimitErrorDataSchema, HostedAiRecurringCreditStatusSchema, HostedAiRequestIdSchema, HostedAiStatusInputSchema, HostedAiStatusOutputSchema, HostedAiStreamPartSchema, HostedAiStreamStructuredObjectInputSchema, HostedAiStreamTextInputSchema, HostedAiTierRestrictedDataSchema, HostedAiTierStatusSchema, HostedAiUnavailableReasonSchema, HostedAiUpgradePlanSchema, MASTERY_GOAL_TARGET_MAX, MCP_DAILY_CALL_LIMITS, NOTEBASE_ROW_CREATE_MANY_MAX_ROWS, NOTEBASE_ROW_DELETE_MANY_MAX_ROWS, NOTEBASE_ROW_UPDATE_MANY_MAX_ROWS, NotebaseColumnCreateInputSchema, NotebaseColumnCreateOutputSchema, NotebaseColumnDeleteInputSchema, NotebaseColumnDeleteOutputSchema, NotebaseColumnReorderInputSchema, NotebaseColumnReorderOutputSchema, NotebaseColumnUpdateInputSchema, NotebaseColumnUpdateOutputSchema, NotebaseCreateInputSchema, NotebaseCreateOutputSchema, NotebaseDeleteInputSchema, NotebaseDeleteOutputSchema, NotebaseGetInputSchema, NotebaseGetOutputSchema, NotebaseGetSchemaInputSchema, NotebaseGetSchemaOutputSchema, NotebaseGetSummaryInputSchema, NotebaseGetSummaryOutputSchema, NotebaseListInputSchema, NotebaseListItemSchema, NotebaseListOutputSchema, NotebaseRowCreateInputSchema, NotebaseRowCreateManyInputSchema, NotebaseRowCreateManyOutputSchema, NotebaseRowCreateOutputSchema, NotebaseRowDeleteInputSchema, NotebaseRowDeleteManyInputSchema, NotebaseRowDeleteManyOutputSchema, NotebaseRowDeleteOutputSchema, NotebaseRowGetInputSchema, NotebaseRowGetOutputSchema, NotebaseRowListInputSchema, NotebaseRowListOutputSchema, NotebaseRowReorderInputSchema, NotebaseRowReorderOutputSchema, NotebaseRowUpdateInputSchema, NotebaseRowUpdateManyInputSchema, NotebaseRowUpdateManyOutputSchema, NotebaseRowUpdateOutputSchema, NotebaseSetSleepInputSchema, NotebaseSetSleepOutputSchema, NotebaseUpdateInputSchema, NotebaseUpdateOutputSchema, PUBLIC_APP_ERROR_DEFS, SPEECH_DAILY_REQUEST_LIMITS, SPEECH_RATE_MAX, SPEECH_RATE_MIN, SPEECH_TEXT_MAX_LENGTH, SRS_REVIEW_CLIENT_ID_NAMESPACE, SRS_REVIEW_DURATION_MS_MAX, SpeechDailyLimitReachedDataSchema, activityStatsOutputSchema, appLocaleSchema, billingAccessSourceSchema, billingCancelScheduledChangeOutputSchema, billingCheckoutPlanSchema, billingCreateCheckoutSessionInputSchema, billingCreateCustomerPortalSessionInputSchema, billingCurrencySchema, billingIntervalSchema, billingLocaleSchema, billingPaymentDueSchema, billingPlanSchema, billingScheduledChangeSchema, billingSessionUrlOutputSchema, billingStatusSchema, billingSubscriptionStatusSchema, canonicalTimezoneSchema, cardSchema, cardStateSchema, cardTemplateSchema, contract, createSrsReviewClientId, defineAgentProcedure, deletionResultSchema, ebookCoverContentTypeSchema, ebookDeleteInputSchema, ebookDeleteOutputSchema, ebookDetailSchema, ebookFinalizeUploadInputSchema, ebookFinalizeUploadOutputSchema, ebookGetDownloadUrlInputSchema, ebookGetDownloadUrlOutputSchema, ebookGetInputSchema, ebookGetOutputSchema, ebookListInputSchema, ebookListItemSchema, ebookListOutputSchema, ebookPresignedUploadSchema, ebookQuotaSchema, ebookRenameDataSchema, ebookRenameInputSchema, ebookRenameOutputSchema, ebookRequestUploadInputSchema, ebookRequestUploadOutputSchema, ebookStatusSchema, ebookUpdateProgressDataSchema, ebookUpdateProgressInputSchema, ebookUpdateProgressOutputSchema, emailCategoryKeySchema, emailCategoryStateSchema, emailLinkTokenSchema, emailPreferencesByTokenStateSchema, emailPreferencesGetByTokenInputSchema, emailPreferencesGetInputSchema, emailPreferencesStateSchema, emailPreferencesUpdateByTokenInputSchema, emailPreferencesUpdateInputSchema, expectedUpdatedAtSchema, getPublicErrorDefinition, isPublicAppErrorCode, masteryGoalOutputSchema, masteryGoalTargetSchema, masteryGoalUpdateInputSchema, mcpConnectionListOutputSchema, mcpConnectionRevokeInputSchema, mcpConnectionRevokeOutputSchema, mcpConnectionSchema, notebaseActivityStatsItemSchema, notebaseActivityStatsOutputSchema, notebaseColumnCreateDataSchema, notebaseColumnSchema, notebaseColumnUpdateDataSchema, notebaseColumnWidthSchema, notebaseCreateDataSchema, notebaseRowCellsSchema, notebaseRowCreateDataSchema, notebaseRowGrowthStatsItemSchema, notebaseRowGrowthStatsOutputSchema, notebaseRowSchema, notebaseRowUpdateDataSchema, notebaseSchema, notebaseSummarySchema, notebaseUpdateDataSchema, notebaseViewConfigSchema, notebaseViewCreateDataSchema, notebaseViewFilterSchema, notebaseViewFiltersSchema, notebaseViewSchema, notebaseViewSortSchema, notebaseViewSortsSchema, notebaseViewTypeSchema, notebaseViewUpdateDataSchema, pageSchema, paginationShape, pickPublicErrorMap, renderedCardSchema, reviewRatingSchema, scheduleStatusSchema, schedulingParamsSchema, speechPreferencesSchema, speechPreferencesUpdateInputSchema, speechRateSchema, speechSynthesizeInputSchema, speechSynthesizeOutputSchema, speechVoiceGenderSchema, speechVoiceNameSchema, speechVoiceSchema, speechVoicesOutputSchema, srsAcknowledgeOptimizerResultsInputSchema, srsAcknowledgeOptimizerResultsOutputSchema, srsActivityStatsItemSchema, srsActivityStatsOutputSchema, srsListCardRevlogsInputSchema, srsListCardRevlogsOutputSchema, srsListUnreadOptimizerResultsInputSchema, srsListUnreadOptimizerResultsOutputSchema, srsManualCardStatusInputSchema, srsMemoryGrowthStatsItemSchema, srsMemoryGrowthStatsOutputSchema, srsOptimizerUnreadResultSchema, srsRecentNotebaseScheduleStatusStatsInputSchema, srsRecentNotebaseScheduleStatusStatsOutputSchema, srsReviewInputSchema, srsReviewOutputSchema, srsRevlogSchema, srsRevlogWithoutSnapshotSchema, srsRollbackReviewInputSchema, srsRollbackReviewOutputSchema, srsScheduleStatusStatsInputSchema, srsScheduleStatusStatsOutputSchema, srsScheduleStatusStatsSchema, srsSetCardBuriedInputSchema, srsSetCardBuriedOutputSchema, srsSetCardSuspendedInputSchema, srsSetCardSuspendedOutputSchema, srsTxidOutputSchema, statsInputSchema, stepSchema, timezoneSchema, userEnsureLocaleInputSchema, userEnsureLocaleOutputSchema, userEnsureTimezoneInputSchema, userEnsureTimezoneOutputSchema, userUpdateLocaleInputSchema, userUpdateLocaleOutputSchema, userUpdateTimezoneInputSchema, userUpdateTimezoneOutputSchema, videoTranscriptCreateInputSchema, videoTranscriptGetInputSchema, videoTranscriptResourceSchema, videoTranscriptStatusSchema, videoTranscriptSubtitlesSchema, videoTranscriptUsagePoolSchema, videoTranscriptUsageSchema };
|
|
2188
2211
|
|
|
2189
2212
|
//# sourceMappingURL=index.js.map
|