@read-frog/api-contract 0.14.0 → 0.16.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 +1186 -481
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +326 -97
- package/dist/index.js.map +1 -1
- package/package.json +15 -14
- package/src/contracts/beta-access.ts +3 -6
- package/src/contracts/billing.ts +5 -5
- package/src/contracts/card-template.ts +45 -39
- package/src/contracts/card.ts +22 -19
- package/src/contracts/ebook.ts +13 -11
- package/src/contracts/hosted-ai.ts +5 -5
- package/src/contracts/mcp-connection.ts +26 -0
- package/src/contracts/notebase-column.ts +40 -32
- package/src/contracts/notebase-row.ts +85 -45
- package/src/contracts/notebase.ts +60 -40
- package/src/contracts/shared.ts +21 -2
- package/src/contracts/srs.ts +96 -63
- package/src/contracts/stats.ts +9 -11
- package/src/contracts/user.ts +3 -3
- package/src/contracts/video-transcript.ts +22 -12
- package/src/index.ts +40 -33
- package/src/public-errors.ts +74 -51
- package/src/schemas/beta-access.ts +12 -10
- package/src/schemas/billing.ts +103 -59
- package/src/schemas/card.ts +66 -63
- package/src/schemas/ebook.ts +165 -129
- package/src/schemas/hosted-ai.ts +84 -74
- package/src/schemas/mcp-connection.ts +28 -0
- package/src/schemas/notebase-column.ts +50 -36
- package/src/schemas/notebase-row.ts +88 -57
- package/src/schemas/notebase-stats.ts +28 -20
- package/src/schemas/notebase-view.ts +59 -49
- package/src/schemas/notebase.ts +136 -96
- package/src/schemas/pagination.ts +9 -0
- package/src/schemas/resource-mutation.ts +6 -0
- package/src/schemas/srs-stats.ts +30 -22
- package/src/schemas/srs.ts +152 -106
- package/src/schemas/stats.ts +27 -21
- package/src/schemas/timezone.ts +19 -16
- package/src/schemas/user.ts +27 -19
- package/src/schemas/video-transcript.ts +33 -32
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,36 @@
|
|
|
1
|
-
import { ContractRouterClient, ErrorMap } from "@orpc/contract";
|
|
1
|
+
import { ContractRouterClient, ErrorMap, Route } from "@orpc/contract";
|
|
2
2
|
import { CardState, ReviewRating, SRS_REVIEW_DURATION_MS_MAX, ScheduleStatus, SchedulingParams, cardStateSchema, reviewRatingSchema, scheduleStatusSchema, schedulingParamsSchema } from "@read-frog/definitions";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
4
|
+
//#region src/contracts/shared.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* A documented business route shared by OpenAPI and agent-facing adapters.
|
|
7
|
+
* Both prose fields are required so adapters can reuse them without a second
|
|
8
|
+
* copy or an undefined fallback.
|
|
9
|
+
*/
|
|
10
|
+
type AgentRoute = Route & {
|
|
11
|
+
summary: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Declares a procedure that is exposed to agents as an MCP tool, not only to
|
|
16
|
+
* the REST/OpenAPI surface.
|
|
17
|
+
*
|
|
18
|
+
* oRPC types `~orpc.route` as the widened `Route`, so `route.summary` reads back
|
|
19
|
+
* as `string | undefined` whatever is passed in. `$meta` is the only channel it
|
|
20
|
+
* keeps generic, so the prose is mirrored there and stays a required `string`
|
|
21
|
+
* for tool definitions. OpenAPI keeps reading `route`.
|
|
22
|
+
*/
|
|
23
|
+
declare function defineAgentProcedure(route: AgentRoute): import("@orpc/contract").ContractProcedureBuilder<import("@orpc/contract").Schema<unknown, unknown>, import("@orpc/contract").Schema<unknown, unknown>, Record<never, never>, {
|
|
24
|
+
summary: string;
|
|
25
|
+
description: string;
|
|
26
|
+
} & Record<never, never>>;
|
|
27
|
+
//#endregion
|
|
5
28
|
//#region src/public-errors.d.ts
|
|
6
29
|
declare const CellValidationFailureReasonSchema: z.ZodEnum<{
|
|
7
|
-
unknown_notebase_column: "unknown_notebase_column";
|
|
8
|
-
type_mismatch: "type_mismatch";
|
|
9
|
-
invalid_select_option: "invalid_select_option";
|
|
10
30
|
invalid_date_format: "invalid_date_format";
|
|
31
|
+
invalid_select_option: "invalid_select_option";
|
|
32
|
+
type_mismatch: "type_mismatch";
|
|
33
|
+
unknown_notebase_column: "unknown_notebase_column";
|
|
11
34
|
}>;
|
|
12
35
|
type CellValidationFailureReason = z.infer<typeof CellValidationFailureReasonSchema>;
|
|
13
36
|
declare const CellValidationFailureDetailsSchema: z.ZodObject<{
|
|
@@ -28,10 +51,10 @@ declare const CellValidationFailedDataSchema: z.ZodObject<{
|
|
|
28
51
|
validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
52
|
}, z.core.$strict>;
|
|
30
53
|
reason: z.ZodEnum<{
|
|
31
|
-
unknown_notebase_column: "unknown_notebase_column";
|
|
32
|
-
type_mismatch: "type_mismatch";
|
|
33
|
-
invalid_select_option: "invalid_select_option";
|
|
34
54
|
invalid_date_format: "invalid_date_format";
|
|
55
|
+
invalid_select_option: "invalid_select_option";
|
|
56
|
+
type_mismatch: "type_mismatch";
|
|
57
|
+
unknown_notebase_column: "unknown_notebase_column";
|
|
35
58
|
}>;
|
|
36
59
|
rowIndex: z.ZodOptional<z.ZodNumber>;
|
|
37
60
|
}, z.core.$strict>;
|
|
@@ -42,30 +65,42 @@ declare const CardTemplateInvalidColumnsDataSchema: z.ZodObject<{
|
|
|
42
65
|
type CardTemplateInvalidColumnsData = z.infer<typeof CardTemplateInvalidColumnsDataSchema>;
|
|
43
66
|
declare const HostedAiTierRestrictedDataSchema: z.ZodObject<{
|
|
44
67
|
modelTier: z.ZodEnum<{
|
|
45
|
-
normal: "normal";
|
|
46
68
|
advance: "advance";
|
|
69
|
+
normal: "normal";
|
|
47
70
|
}>;
|
|
48
71
|
}, z.core.$strict>;
|
|
49
72
|
declare const HostedAiQuotaExhaustedDataSchema: z.ZodObject<{
|
|
50
73
|
modelTier: z.ZodEnum<{
|
|
51
|
-
normal: "normal";
|
|
52
74
|
advance: "advance";
|
|
75
|
+
normal: "normal";
|
|
53
76
|
}>;
|
|
54
77
|
policyId: z.ZodEnum<{
|
|
55
78
|
"custom-action-guest-daily-v1": "custom-action-guest-daily-v1";
|
|
56
|
-
"custom-action-user-daily-v1": "custom-action-user-daily-v1";
|
|
57
79
|
"custom-action-pro-daily-v1": "custom-action-pro-daily-v1";
|
|
80
|
+
"custom-action-user-daily-v1": "custom-action-user-daily-v1";
|
|
58
81
|
"ultra-weekly-v1": "ultra-weekly-v1";
|
|
59
82
|
}>;
|
|
60
83
|
usedPercent: z.ZodNumber;
|
|
61
84
|
resetAt: z.ZodNullable<z.ZodISODateTime>;
|
|
62
85
|
}, z.core.$strict>;
|
|
63
86
|
declare const PUBLIC_APP_ERROR_DEFS: {
|
|
87
|
+
readonly RESOURCE_UPDATE_CONFLICT: {
|
|
88
|
+
readonly message: "The resource changed. Read it again before updating.";
|
|
89
|
+
readonly status: 409;
|
|
90
|
+
};
|
|
91
|
+
readonly RESOURCE_ALREADY_EXISTS: {
|
|
92
|
+
readonly message: "A resource with this ID already exists.";
|
|
93
|
+
readonly status: 409;
|
|
94
|
+
};
|
|
95
|
+
readonly FIELD_TYPE_CHANGE_UNSUPPORTED: {
|
|
96
|
+
readonly message: "This operation cannot change the field type.";
|
|
97
|
+
readonly status: 400;
|
|
98
|
+
};
|
|
64
99
|
readonly HOSTED_AI_TIER_RESTRICTED: {
|
|
65
100
|
readonly data: z.ZodObject<{
|
|
66
101
|
modelTier: z.ZodEnum<{
|
|
67
|
-
normal: "normal";
|
|
68
102
|
advance: "advance";
|
|
103
|
+
normal: "normal";
|
|
69
104
|
}>;
|
|
70
105
|
}, z.core.$strict>;
|
|
71
106
|
readonly message: "This Built-in AI tier is not available for this account";
|
|
@@ -74,13 +109,13 @@ declare const PUBLIC_APP_ERROR_DEFS: {
|
|
|
74
109
|
readonly HOSTED_AI_QUOTA_EXHAUSTED: {
|
|
75
110
|
readonly data: z.ZodObject<{
|
|
76
111
|
modelTier: z.ZodEnum<{
|
|
77
|
-
normal: "normal";
|
|
78
112
|
advance: "advance";
|
|
113
|
+
normal: "normal";
|
|
79
114
|
}>;
|
|
80
115
|
policyId: z.ZodEnum<{
|
|
81
116
|
"custom-action-guest-daily-v1": "custom-action-guest-daily-v1";
|
|
82
|
-
"custom-action-user-daily-v1": "custom-action-user-daily-v1";
|
|
83
117
|
"custom-action-pro-daily-v1": "custom-action-pro-daily-v1";
|
|
118
|
+
"custom-action-user-daily-v1": "custom-action-user-daily-v1";
|
|
84
119
|
"ultra-weekly-v1": "ultra-weekly-v1";
|
|
85
120
|
}>;
|
|
86
121
|
usedPercent: z.ZodNumber;
|
|
@@ -219,10 +254,10 @@ declare const PUBLIC_APP_ERROR_DEFS: {
|
|
|
219
254
|
validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
220
255
|
}, z.core.$strict>;
|
|
221
256
|
reason: z.ZodEnum<{
|
|
222
|
-
unknown_notebase_column: "unknown_notebase_column";
|
|
223
|
-
type_mismatch: "type_mismatch";
|
|
224
|
-
invalid_select_option: "invalid_select_option";
|
|
225
257
|
invalid_date_format: "invalid_date_format";
|
|
258
|
+
invalid_select_option: "invalid_select_option";
|
|
259
|
+
type_mismatch: "type_mismatch";
|
|
260
|
+
unknown_notebase_column: "unknown_notebase_column";
|
|
226
261
|
}>;
|
|
227
262
|
rowIndex: z.ZodOptional<z.ZodNumber>;
|
|
228
263
|
}, z.core.$strict>;
|
|
@@ -264,11 +299,23 @@ type PublicAppErrorData<TCode extends PublicAppErrorCode> = (typeof PUBLIC_APP_E
|
|
|
264
299
|
} ? z.output<TSchema> : undefined;
|
|
265
300
|
declare function isPublicAppErrorCode(code: string | undefined): code is PublicAppErrorCode;
|
|
266
301
|
declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code: TCode): {
|
|
302
|
+
readonly RESOURCE_UPDATE_CONFLICT: {
|
|
303
|
+
readonly message: "The resource changed. Read it again before updating.";
|
|
304
|
+
readonly status: 409;
|
|
305
|
+
};
|
|
306
|
+
readonly RESOURCE_ALREADY_EXISTS: {
|
|
307
|
+
readonly message: "A resource with this ID already exists.";
|
|
308
|
+
readonly status: 409;
|
|
309
|
+
};
|
|
310
|
+
readonly FIELD_TYPE_CHANGE_UNSUPPORTED: {
|
|
311
|
+
readonly message: "This operation cannot change the field type.";
|
|
312
|
+
readonly status: 400;
|
|
313
|
+
};
|
|
267
314
|
readonly HOSTED_AI_TIER_RESTRICTED: {
|
|
268
315
|
readonly data: z.ZodObject<{
|
|
269
316
|
modelTier: z.ZodEnum<{
|
|
270
|
-
normal: "normal";
|
|
271
317
|
advance: "advance";
|
|
318
|
+
normal: "normal";
|
|
272
319
|
}>;
|
|
273
320
|
}, z.core.$strict>;
|
|
274
321
|
readonly message: "This Built-in AI tier is not available for this account";
|
|
@@ -277,13 +324,13 @@ declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code
|
|
|
277
324
|
readonly HOSTED_AI_QUOTA_EXHAUSTED: {
|
|
278
325
|
readonly data: z.ZodObject<{
|
|
279
326
|
modelTier: z.ZodEnum<{
|
|
280
|
-
normal: "normal";
|
|
281
327
|
advance: "advance";
|
|
328
|
+
normal: "normal";
|
|
282
329
|
}>;
|
|
283
330
|
policyId: z.ZodEnum<{
|
|
284
331
|
"custom-action-guest-daily-v1": "custom-action-guest-daily-v1";
|
|
285
|
-
"custom-action-user-daily-v1": "custom-action-user-daily-v1";
|
|
286
332
|
"custom-action-pro-daily-v1": "custom-action-pro-daily-v1";
|
|
333
|
+
"custom-action-user-daily-v1": "custom-action-user-daily-v1";
|
|
287
334
|
"ultra-weekly-v1": "ultra-weekly-v1";
|
|
288
335
|
}>;
|
|
289
336
|
usedPercent: z.ZodNumber;
|
|
@@ -422,10 +469,10 @@ declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code
|
|
|
422
469
|
validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
423
470
|
}, z.core.$strict>;
|
|
424
471
|
reason: z.ZodEnum<{
|
|
425
|
-
unknown_notebase_column: "unknown_notebase_column";
|
|
426
|
-
type_mismatch: "type_mismatch";
|
|
427
|
-
invalid_select_option: "invalid_select_option";
|
|
428
472
|
invalid_date_format: "invalid_date_format";
|
|
473
|
+
invalid_select_option: "invalid_select_option";
|
|
474
|
+
type_mismatch: "type_mismatch";
|
|
475
|
+
unknown_notebase_column: "unknown_notebase_column";
|
|
429
476
|
}>;
|
|
430
477
|
rowIndex: z.ZodOptional<z.ZodNumber>;
|
|
431
478
|
}, z.core.$strict>;
|
|
@@ -465,24 +512,24 @@ declare function pickPublicErrorMap<const TCodes extends readonly PublicAppError
|
|
|
465
512
|
//#endregion
|
|
466
513
|
//#region src/schemas/beta-access.d.ts
|
|
467
514
|
declare const BetaFeatureKeySchema: z.ZodEnum<{
|
|
515
|
+
ebook: "ebook";
|
|
468
516
|
notebase: "notebase";
|
|
469
517
|
videoTranscription: "videoTranscription";
|
|
470
|
-
ebook: "ebook";
|
|
471
518
|
}>;
|
|
472
519
|
type BetaFeatureKey = z.infer<typeof BetaFeatureKeySchema>;
|
|
473
520
|
declare const BetaAccessStatusInputSchema: z.ZodObject<{
|
|
474
521
|
featureKey: z.ZodEnum<{
|
|
522
|
+
ebook: "ebook";
|
|
475
523
|
notebase: "notebase";
|
|
476
524
|
videoTranscription: "videoTranscription";
|
|
477
|
-
ebook: "ebook";
|
|
478
525
|
}>;
|
|
479
526
|
}, z.core.$strict>;
|
|
480
527
|
type BetaAccessStatusInput = z.infer<typeof BetaAccessStatusInputSchema>;
|
|
481
528
|
declare const BetaAccessStatusOutputSchema: z.ZodObject<{
|
|
482
529
|
featureKey: z.ZodEnum<{
|
|
530
|
+
ebook: "ebook";
|
|
483
531
|
notebase: "notebase";
|
|
484
532
|
videoTranscription: "videoTranscription";
|
|
485
|
-
ebook: "ebook";
|
|
486
533
|
}>;
|
|
487
534
|
allowed: z.ZodBoolean;
|
|
488
535
|
}, z.core.$strip>;
|
|
@@ -495,14 +542,14 @@ declare const billingIntervalSchema: z.ZodEnum<{
|
|
|
495
542
|
}>;
|
|
496
543
|
type BillingInterval = z.infer<typeof billingIntervalSchema>;
|
|
497
544
|
declare const billingSubscriptionStatusSchema: z.ZodEnum<{
|
|
545
|
+
active: "active";
|
|
546
|
+
canceled: "canceled";
|
|
498
547
|
incomplete: "incomplete";
|
|
499
548
|
incomplete_expired: "incomplete_expired";
|
|
500
|
-
trialing: "trialing";
|
|
501
|
-
active: "active";
|
|
502
549
|
past_due: "past_due";
|
|
503
|
-
canceled: "canceled";
|
|
504
|
-
unpaid: "unpaid";
|
|
505
550
|
paused: "paused";
|
|
551
|
+
trialing: "trialing";
|
|
552
|
+
unpaid: "unpaid";
|
|
506
553
|
}>;
|
|
507
554
|
type BillingSubscriptionStatus = z.infer<typeof billingSubscriptionStatusSchema>;
|
|
508
555
|
declare const billingPlanSchema: z.ZodEnum<{
|
|
@@ -511,15 +558,37 @@ declare const billingPlanSchema: z.ZodEnum<{
|
|
|
511
558
|
ultra: "ultra";
|
|
512
559
|
}>;
|
|
513
560
|
type BillingPlan = z.infer<typeof billingPlanSchema>;
|
|
561
|
+
/**
|
|
562
|
+
* Whether a plan may use a feature, given the plans that feature allows.
|
|
563
|
+
*
|
|
564
|
+
* An explicit set rather than a minimum tier: there is no rank table to keep in
|
|
565
|
+
* step with the plan enum, and any combination is expressible by writing it
|
|
566
|
+
* down. The cost is that nothing derives from it automatically -- a feature's
|
|
567
|
+
* pricing-card placement is a companion edit, noted at each `*_ALLOWED_PLANS`.
|
|
568
|
+
*/
|
|
569
|
+
declare function isPlanAllowed(plan: BillingPlan, allowed: readonly BillingPlan[]): boolean;
|
|
570
|
+
/**
|
|
571
|
+
* Plans that may use the remote MCP server.
|
|
572
|
+
*
|
|
573
|
+
* Read by the server-side gate AND by the website's copy, so the page cannot
|
|
574
|
+
* promise access the API refuses. `satisfies` keeps the literal tuple type so
|
|
575
|
+
* the UI can render the plan names from this constant instead of hardcoding
|
|
576
|
+
* them.
|
|
577
|
+
*
|
|
578
|
+
* Companion edit when this changes: the feature bullet in
|
|
579
|
+
* `apps/www/src/routes/pricing.tsx` lives on the lowest allowed plan's card
|
|
580
|
+
* (higher cards inherit it through their "everything in <lower plan>" line).
|
|
581
|
+
*/
|
|
582
|
+
declare const MCP_ALLOWED_PLANS: readonly ["ultra"];
|
|
514
583
|
declare const billingCheckoutPlanSchema: z.ZodEnum<{
|
|
515
584
|
pro: "pro";
|
|
516
585
|
ultra: "ultra";
|
|
517
586
|
}>;
|
|
518
587
|
type BillingCheckoutPlan = z.infer<typeof billingCheckoutPlanSchema>;
|
|
519
588
|
declare const billingCurrencySchema: z.ZodEnum<{
|
|
520
|
-
usd: "usd";
|
|
521
589
|
cad: "cad";
|
|
522
590
|
cny: "cny";
|
|
591
|
+
usd: "usd";
|
|
523
592
|
}>;
|
|
524
593
|
type BillingCurrency = z.infer<typeof billingCurrencySchema>;
|
|
525
594
|
declare const billingLocaleSchema: z.ZodEnum<{
|
|
@@ -535,8 +604,8 @@ declare const billingLocaleSchema: z.ZodEnum<{
|
|
|
535
604
|
}>;
|
|
536
605
|
type BillingLocale = z.infer<typeof billingLocaleSchema>;
|
|
537
606
|
declare const billingAccessSourceSchema: z.ZodEnum<{
|
|
538
|
-
subscription: "subscription";
|
|
539
607
|
pass: "pass";
|
|
608
|
+
subscription: "subscription";
|
|
540
609
|
}>;
|
|
541
610
|
type BillingAccessSource = z.infer<typeof billingAccessSourceSchema>;
|
|
542
611
|
declare const billingScheduledChangeSchema: z.ZodObject<{
|
|
@@ -558,14 +627,14 @@ declare const billingStatusSchema: z.ZodObject<{
|
|
|
558
627
|
ultra: "ultra";
|
|
559
628
|
}>;
|
|
560
629
|
status: z.ZodNullable<z.ZodEnum<{
|
|
630
|
+
active: "active";
|
|
631
|
+
canceled: "canceled";
|
|
561
632
|
incomplete: "incomplete";
|
|
562
633
|
incomplete_expired: "incomplete_expired";
|
|
563
|
-
trialing: "trialing";
|
|
564
|
-
active: "active";
|
|
565
634
|
past_due: "past_due";
|
|
566
|
-
canceled: "canceled";
|
|
567
|
-
unpaid: "unpaid";
|
|
568
635
|
paused: "paused";
|
|
636
|
+
trialing: "trialing";
|
|
637
|
+
unpaid: "unpaid";
|
|
569
638
|
}>>;
|
|
570
639
|
interval: z.ZodNullable<z.ZodEnum<{
|
|
571
640
|
month: "month";
|
|
@@ -574,8 +643,8 @@ declare const billingStatusSchema: z.ZodObject<{
|
|
|
574
643
|
currentPeriodEnd: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
575
644
|
cancelAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
576
645
|
accessSource: z.ZodNullable<z.ZodEnum<{
|
|
577
|
-
subscription: "subscription";
|
|
578
646
|
pass: "pass";
|
|
647
|
+
subscription: "subscription";
|
|
579
648
|
}>>;
|
|
580
649
|
scheduledChange: z.ZodNullable<z.ZodObject<{
|
|
581
650
|
plan: z.ZodEnum<{
|
|
@@ -595,9 +664,9 @@ declare const billingStatusSchema: z.ZodObject<{
|
|
|
595
664
|
type BillingStatus = z.infer<typeof billingStatusSchema>;
|
|
596
665
|
declare const billingCreateCheckoutSessionInputSchema: z.ZodObject<{
|
|
597
666
|
currency: z.ZodEnum<{
|
|
598
|
-
usd: "usd";
|
|
599
667
|
cad: "cad";
|
|
600
668
|
cny: "cny";
|
|
669
|
+
usd: "usd";
|
|
601
670
|
}>;
|
|
602
671
|
interval: z.ZodEnum<{
|
|
603
672
|
month: "month";
|
|
@@ -658,21 +727,26 @@ declare const cardTemplateSchema: z.ZodObject<{
|
|
|
658
727
|
}, z.core.$strip>;
|
|
659
728
|
type CardTemplate = z.infer<typeof cardTemplateSchema>;
|
|
660
729
|
declare const CardTemplateListInputSchema: z.ZodObject<{
|
|
661
|
-
|
|
730
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
731
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
732
|
+
notebaseId: z.ZodOptional<z.ZodUUID>;
|
|
662
733
|
}, z.core.$strip>;
|
|
663
734
|
type CardTemplateListInput = z.infer<typeof CardTemplateListInputSchema>;
|
|
664
|
-
declare const CardTemplateListOutputSchema: z.
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
735
|
+
declare const CardTemplateListOutputSchema: z.ZodObject<{
|
|
736
|
+
items: z.ZodArray<z.ZodObject<{
|
|
737
|
+
id: z.ZodUUID;
|
|
738
|
+
notebaseId: z.ZodUUID;
|
|
739
|
+
name: z.ZodString;
|
|
740
|
+
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
741
|
+
type: z.ZodLiteral<"basic">;
|
|
742
|
+
frontPattern: z.ZodString;
|
|
743
|
+
backPattern: z.ZodString;
|
|
744
|
+
}, z.core.$strict>], "type">;
|
|
745
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
746
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
747
|
+
}, z.core.$strip>>;
|
|
748
|
+
hasMore: z.ZodBoolean;
|
|
749
|
+
}, z.core.$strip>;
|
|
676
750
|
type CardTemplateListOutput = z.infer<typeof CardTemplateListOutputSchema>;
|
|
677
751
|
declare const CardTemplateGetInputSchema: z.ZodObject<{
|
|
678
752
|
id: z.ZodUUID;
|
|
@@ -717,6 +791,7 @@ declare const CardTemplateCreateOutputSchema: z.ZodObject<{
|
|
|
717
791
|
}, z.core.$strip>;
|
|
718
792
|
type CardTemplateCreateOutput = z.infer<typeof CardTemplateCreateOutputSchema>;
|
|
719
793
|
declare const CardTemplateUpdateInputSchema: z.ZodObject<{
|
|
794
|
+
expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
720
795
|
id: z.ZodUUID;
|
|
721
796
|
name: z.ZodOptional<z.ZodString>;
|
|
722
797
|
config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -745,25 +820,28 @@ declare const CardTemplateDeleteInputSchema: z.ZodObject<{
|
|
|
745
820
|
}, z.core.$strip>;
|
|
746
821
|
type CardTemplateDeleteInput = z.infer<typeof CardTemplateDeleteInputSchema>;
|
|
747
822
|
declare const CardTemplateDeleteOutputSchema: z.ZodObject<{
|
|
823
|
+
id: z.ZodUUID;
|
|
748
824
|
txid: z.ZodNumber;
|
|
749
825
|
}, z.core.$strip>;
|
|
750
826
|
type CardTemplateDeleteOutput = z.infer<typeof CardTemplateDeleteOutputSchema>;
|
|
751
827
|
declare const cardSchema: z.ZodObject<{
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
828
|
+
notebaseId: z.ZodUUID;
|
|
829
|
+
notebaseRowId: z.ZodUUID;
|
|
830
|
+
templateId: z.ZodUUID;
|
|
831
|
+
variantKey: z.ZodString;
|
|
832
|
+
id: z.ZodUUID;
|
|
755
833
|
state: z.ZodEnum<{
|
|
756
|
-
new: "new";
|
|
757
834
|
learning: "learning";
|
|
758
|
-
|
|
835
|
+
new: "new";
|
|
759
836
|
relearning: "relearning";
|
|
837
|
+
review: "review";
|
|
760
838
|
}>;
|
|
761
839
|
scheduleStatus: z.ZodEnum<{
|
|
762
|
-
|
|
840
|
+
buried: "buried";
|
|
763
841
|
learning: "learning";
|
|
842
|
+
new: "new";
|
|
764
843
|
review: "review";
|
|
765
844
|
suspended: "suspended";
|
|
766
|
-
buried: "buried";
|
|
767
845
|
}>;
|
|
768
846
|
dueAt: z.ZodCoercedDate<unknown>;
|
|
769
847
|
lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
@@ -772,29 +850,29 @@ declare const cardSchema: z.ZodObject<{
|
|
|
772
850
|
step: z.ZodNumber;
|
|
773
851
|
lapses: z.ZodNumber;
|
|
774
852
|
reps: z.ZodNumber;
|
|
775
|
-
|
|
853
|
+
buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
854
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
855
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
856
|
+
}, z.core.$strip>;
|
|
857
|
+
type Card = z.infer<typeof cardSchema>;
|
|
858
|
+
declare const renderedCardSchema: z.ZodObject<{
|
|
776
859
|
notebaseId: z.ZodUUID;
|
|
777
860
|
notebaseRowId: z.ZodUUID;
|
|
778
861
|
templateId: z.ZodUUID;
|
|
779
862
|
variantKey: z.ZodString;
|
|
780
|
-
|
|
781
|
-
type Card = z.infer<typeof cardSchema>;
|
|
782
|
-
declare const renderedCardSchema: z.ZodObject<{
|
|
783
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
784
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
785
|
-
buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
863
|
+
id: z.ZodUUID;
|
|
786
864
|
state: z.ZodEnum<{
|
|
787
|
-
new: "new";
|
|
788
865
|
learning: "learning";
|
|
789
|
-
|
|
866
|
+
new: "new";
|
|
790
867
|
relearning: "relearning";
|
|
868
|
+
review: "review";
|
|
791
869
|
}>;
|
|
792
870
|
scheduleStatus: z.ZodEnum<{
|
|
793
|
-
|
|
871
|
+
buried: "buried";
|
|
794
872
|
learning: "learning";
|
|
873
|
+
new: "new";
|
|
795
874
|
review: "review";
|
|
796
875
|
suspended: "suspended";
|
|
797
|
-
buried: "buried";
|
|
798
876
|
}>;
|
|
799
877
|
dueAt: z.ZodCoercedDate<unknown>;
|
|
800
878
|
lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
@@ -803,75 +881,85 @@ declare const renderedCardSchema: z.ZodObject<{
|
|
|
803
881
|
step: z.ZodNumber;
|
|
804
882
|
lapses: z.ZodNumber;
|
|
805
883
|
reps: z.ZodNumber;
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
templateId: z.ZodUUID;
|
|
810
|
-
variantKey: z.ZodString;
|
|
884
|
+
buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
885
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
886
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
811
887
|
front: z.ZodString;
|
|
812
888
|
back: z.ZodString;
|
|
813
889
|
}, z.core.$strip>;
|
|
814
890
|
type RenderedCard = z.infer<typeof renderedCardSchema>;
|
|
815
891
|
declare const CardListInputSchema: z.ZodObject<{
|
|
816
|
-
notebaseId: z.ZodUUID;
|
|
817
|
-
templateId: z.ZodOptional<z.ZodUUID>;
|
|
818
892
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
819
893
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
825
|
-
buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
826
|
-
state: z.ZodEnum<{
|
|
827
|
-
new: "new";
|
|
894
|
+
notebaseId: z.ZodOptional<z.ZodUUID>;
|
|
895
|
+
templateId: z.ZodOptional<z.ZodUUID>;
|
|
896
|
+
scheduleStatus: z.ZodOptional<z.ZodEnum<{
|
|
897
|
+
buried: "buried";
|
|
828
898
|
learning: "learning";
|
|
829
|
-
review: "review";
|
|
830
|
-
relearning: "relearning";
|
|
831
|
-
}>;
|
|
832
|
-
scheduleStatus: z.ZodEnum<{
|
|
833
899
|
new: "new";
|
|
834
|
-
learning: "learning";
|
|
835
900
|
review: "review";
|
|
836
901
|
suspended: "suspended";
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
902
|
+
}>>;
|
|
903
|
+
}, z.core.$strip>;
|
|
904
|
+
type CardListInput = z.infer<typeof CardListInputSchema>;
|
|
905
|
+
declare const CardListOutputSchema: z.ZodObject<{
|
|
906
|
+
items: z.ZodArray<z.ZodObject<{
|
|
907
|
+
notebaseId: z.ZodUUID;
|
|
908
|
+
notebaseRowId: z.ZodUUID;
|
|
909
|
+
templateId: z.ZodUUID;
|
|
910
|
+
variantKey: z.ZodString;
|
|
911
|
+
id: z.ZodUUID;
|
|
912
|
+
state: z.ZodEnum<{
|
|
913
|
+
learning: "learning";
|
|
914
|
+
new: "new";
|
|
915
|
+
relearning: "relearning";
|
|
916
|
+
review: "review";
|
|
917
|
+
}>;
|
|
918
|
+
scheduleStatus: z.ZodEnum<{
|
|
919
|
+
buried: "buried";
|
|
920
|
+
learning: "learning";
|
|
921
|
+
new: "new";
|
|
922
|
+
review: "review";
|
|
923
|
+
suspended: "suspended";
|
|
924
|
+
}>;
|
|
925
|
+
dueAt: z.ZodCoercedDate<unknown>;
|
|
926
|
+
lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
927
|
+
stability: z.ZodNumber;
|
|
928
|
+
difficulty: z.ZodNumber;
|
|
929
|
+
step: z.ZodNumber;
|
|
930
|
+
lapses: z.ZodNumber;
|
|
931
|
+
reps: z.ZodNumber;
|
|
932
|
+
buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
933
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
934
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
935
|
+
front: z.ZodString;
|
|
936
|
+
back: z.ZodString;
|
|
937
|
+
}, z.core.$strip>>;
|
|
938
|
+
hasMore: z.ZodBoolean;
|
|
939
|
+
}, z.core.$strip>;
|
|
854
940
|
type CardListOutput = z.infer<typeof CardListOutputSchema>;
|
|
855
941
|
declare const CardGetInputSchema: z.ZodObject<{
|
|
856
942
|
id: z.ZodUUID;
|
|
857
943
|
}, z.core.$strip>;
|
|
858
944
|
type CardGetInput = z.infer<typeof CardGetInputSchema>;
|
|
859
945
|
declare const CardGetOutputSchema: z.ZodObject<{
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
946
|
+
notebaseId: z.ZodUUID;
|
|
947
|
+
notebaseRowId: z.ZodUUID;
|
|
948
|
+
templateId: z.ZodUUID;
|
|
949
|
+
variantKey: z.ZodString;
|
|
950
|
+
id: z.ZodUUID;
|
|
863
951
|
state: z.ZodEnum<{
|
|
864
|
-
new: "new";
|
|
865
952
|
learning: "learning";
|
|
866
|
-
|
|
953
|
+
new: "new";
|
|
867
954
|
relearning: "relearning";
|
|
955
|
+
review: "review";
|
|
868
956
|
}>;
|
|
869
957
|
scheduleStatus: z.ZodEnum<{
|
|
870
|
-
|
|
958
|
+
buried: "buried";
|
|
871
959
|
learning: "learning";
|
|
960
|
+
new: "new";
|
|
872
961
|
review: "review";
|
|
873
962
|
suspended: "suspended";
|
|
874
|
-
buried: "buried";
|
|
875
963
|
}>;
|
|
876
964
|
dueAt: z.ZodCoercedDate<unknown>;
|
|
877
965
|
lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
@@ -880,11 +968,9 @@ declare const CardGetOutputSchema: z.ZodObject<{
|
|
|
880
968
|
step: z.ZodNumber;
|
|
881
969
|
lapses: z.ZodNumber;
|
|
882
970
|
reps: z.ZodNumber;
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
templateId: z.ZodUUID;
|
|
887
|
-
variantKey: z.ZodString;
|
|
971
|
+
buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
972
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
973
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
888
974
|
front: z.ZodString;
|
|
889
975
|
back: z.ZodString;
|
|
890
976
|
}, z.core.$strip>;
|
|
@@ -1122,14 +1208,14 @@ type EbookDeleteOutput = z.infer<typeof ebookDeleteOutputSchema>;
|
|
|
1122
1208
|
//#endregion
|
|
1123
1209
|
//#region src/schemas/hosted-ai.d.ts
|
|
1124
1210
|
declare const HostedAiOutputFieldTypeSchema: z.ZodEnum<{
|
|
1125
|
-
string: "string";
|
|
1126
1211
|
number: "number";
|
|
1212
|
+
string: "string";
|
|
1127
1213
|
}>;
|
|
1128
1214
|
declare const HostedAiOutputFieldSchema: z.ZodObject<{
|
|
1129
1215
|
name: z.ZodString;
|
|
1130
1216
|
type: z.ZodEnum<{
|
|
1131
|
-
string: "string";
|
|
1132
1217
|
number: "number";
|
|
1218
|
+
string: "string";
|
|
1133
1219
|
}>;
|
|
1134
1220
|
}, z.core.$strict>;
|
|
1135
1221
|
/**
|
|
@@ -1138,8 +1224,8 @@ declare const HostedAiOutputFieldSchema: z.ZodObject<{
|
|
|
1138
1224
|
* not identity, so a future plan can be sold with any tier without a rename.
|
|
1139
1225
|
*/
|
|
1140
1226
|
declare const HostedAiModelTierSchema: z.ZodEnum<{
|
|
1141
|
-
normal: "normal";
|
|
1142
1227
|
advance: "advance";
|
|
1228
|
+
normal: "normal";
|
|
1143
1229
|
}>;
|
|
1144
1230
|
/**
|
|
1145
1231
|
* The billing/access subject of a hosted request, not a route id. Sub-calls
|
|
@@ -1150,53 +1236,53 @@ declare const HostedAiModelTierSchema: z.ZodEnum<{
|
|
|
1150
1236
|
* keeps drizzle from emitting the ADD VALUE ... BEFORE variant.
|
|
1151
1237
|
*/
|
|
1152
1238
|
declare const HostedAiFeatureSchema: z.ZodEnum<{
|
|
1153
|
-
pageTranslation: "pageTranslation";
|
|
1154
1239
|
customAction: "customAction";
|
|
1240
|
+
inputTranslation: "inputTranslation";
|
|
1241
|
+
languageDetection: "languageDetection";
|
|
1155
1242
|
noteSuggestion: "noteSuggestion";
|
|
1243
|
+
pageTranslation: "pageTranslation";
|
|
1156
1244
|
selectionTranslation: "selectionTranslation";
|
|
1157
1245
|
videoSubtitles: "videoSubtitles";
|
|
1158
|
-
inputTranslation: "inputTranslation";
|
|
1159
|
-
languageDetection: "languageDetection";
|
|
1160
1246
|
}>;
|
|
1161
1247
|
declare const HostedAiRequestIdSchema: z.ZodUUID;
|
|
1162
1248
|
declare const HostedAiStreamTextInputSchema: z.ZodObject<{
|
|
1249
|
+
modelTier: z.ZodDefault<z.ZodEnum<{
|
|
1250
|
+
advance: "advance";
|
|
1251
|
+
normal: "normal";
|
|
1252
|
+
}>>;
|
|
1253
|
+
requestId: z.ZodOptional<z.ZodUUID>;
|
|
1163
1254
|
instructions: z.ZodString;
|
|
1164
1255
|
prompt: z.ZodString;
|
|
1165
1256
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1257
|
+
}, z.core.$strict>;
|
|
1258
|
+
declare const HostedAiStreamStructuredObjectInputSchema: z.ZodObject<{
|
|
1166
1259
|
modelTier: z.ZodDefault<z.ZodEnum<{
|
|
1167
|
-
normal: "normal";
|
|
1168
1260
|
advance: "advance";
|
|
1261
|
+
normal: "normal";
|
|
1169
1262
|
}>>;
|
|
1170
1263
|
requestId: z.ZodOptional<z.ZodUUID>;
|
|
1171
|
-
}, z.core.$strict>;
|
|
1172
|
-
declare const HostedAiStreamStructuredObjectInputSchema: z.ZodObject<{
|
|
1173
1264
|
instructions: z.ZodString;
|
|
1174
1265
|
prompt: z.ZodString;
|
|
1175
1266
|
outputSchema: z.ZodArray<z.ZodObject<{
|
|
1176
1267
|
name: z.ZodString;
|
|
1177
1268
|
type: z.ZodEnum<{
|
|
1178
|
-
string: "string";
|
|
1179
1269
|
number: "number";
|
|
1270
|
+
string: "string";
|
|
1180
1271
|
}>;
|
|
1181
1272
|
}, z.core.$strict>>;
|
|
1182
1273
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1183
|
-
modelTier: z.ZodDefault<z.ZodEnum<{
|
|
1184
|
-
normal: "normal";
|
|
1185
|
-
advance: "advance";
|
|
1186
|
-
}>>;
|
|
1187
|
-
requestId: z.ZodOptional<z.ZodUUID>;
|
|
1188
1274
|
}, z.core.$strict>;
|
|
1189
1275
|
declare const HOSTED_AI_NOTE_SUGGESTION_MAX_NOTES = 2;
|
|
1190
1276
|
declare const HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS = 16;
|
|
1191
1277
|
declare const HostedAiNoteSuggestionStreamInputSchema: z.ZodObject<{
|
|
1192
|
-
instructions: z.ZodString;
|
|
1193
|
-
prompt: z.ZodString;
|
|
1194
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1195
1278
|
modelTier: z.ZodDefault<z.ZodEnum<{
|
|
1196
|
-
normal: "normal";
|
|
1197
1279
|
advance: "advance";
|
|
1280
|
+
normal: "normal";
|
|
1198
1281
|
}>>;
|
|
1199
1282
|
requestId: z.ZodOptional<z.ZodUUID>;
|
|
1283
|
+
instructions: z.ZodString;
|
|
1284
|
+
prompt: z.ZodString;
|
|
1285
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1200
1286
|
}, z.core.$strict>;
|
|
1201
1287
|
/**
|
|
1202
1288
|
* Fixed structured-output schema for hosted note suggestions. Must stay
|
|
@@ -1243,14 +1329,14 @@ declare const HOSTED_AI_CLIENT_STREAM_PART_TYPES: readonly ["text-delta", "reaso
|
|
|
1243
1329
|
declare const HostedAiStatusInputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1244
1330
|
declare const HostedAiUnavailableReasonSchema: z.ZodEnum<{
|
|
1245
1331
|
authentication_required: "authentication_required";
|
|
1246
|
-
ultra_required: "ultra_required";
|
|
1247
1332
|
quota_exhausted: "quota_exhausted";
|
|
1248
1333
|
service_unavailable: "service_unavailable";
|
|
1334
|
+
ultra_required: "ultra_required";
|
|
1249
1335
|
}>;
|
|
1250
1336
|
declare const HostedAiCreditPolicyIdSchema: z.ZodEnum<{
|
|
1251
1337
|
"custom-action-guest-daily-v1": "custom-action-guest-daily-v1";
|
|
1252
|
-
"custom-action-user-daily-v1": "custom-action-user-daily-v1";
|
|
1253
1338
|
"custom-action-pro-daily-v1": "custom-action-pro-daily-v1";
|
|
1339
|
+
"custom-action-user-daily-v1": "custom-action-user-daily-v1";
|
|
1254
1340
|
"ultra-weekly-v1": "ultra-weekly-v1";
|
|
1255
1341
|
}>;
|
|
1256
1342
|
declare const HostedAiCreditPeriodKindSchema: z.ZodEnum<{
|
|
@@ -1296,13 +1382,13 @@ declare const HostedAiCreditStatusSchema: z.ZodObject<{
|
|
|
1296
1382
|
usedPercent: z.ZodNumber;
|
|
1297
1383
|
resetAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1298
1384
|
features: z.ZodArray<z.ZodEnum<{
|
|
1299
|
-
pageTranslation: "pageTranslation";
|
|
1300
1385
|
customAction: "customAction";
|
|
1386
|
+
inputTranslation: "inputTranslation";
|
|
1387
|
+
languageDetection: "languageDetection";
|
|
1301
1388
|
noteSuggestion: "noteSuggestion";
|
|
1389
|
+
pageTranslation: "pageTranslation";
|
|
1302
1390
|
selectionTranslation: "selectionTranslation";
|
|
1303
1391
|
videoSubtitles: "videoSubtitles";
|
|
1304
|
-
inputTranslation: "inputTranslation";
|
|
1305
|
-
languageDetection: "languageDetection";
|
|
1306
1392
|
}>>;
|
|
1307
1393
|
}, z.core.$strict>;
|
|
1308
1394
|
declare const HostedAiTierStatusSchema: z.ZodObject<{
|
|
@@ -1310,9 +1396,9 @@ declare const HostedAiTierStatusSchema: z.ZodObject<{
|
|
|
1310
1396
|
available: z.ZodBoolean;
|
|
1311
1397
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1312
1398
|
authentication_required: "authentication_required";
|
|
1313
|
-
ultra_required: "ultra_required";
|
|
1314
1399
|
quota_exhausted: "quota_exhausted";
|
|
1315
1400
|
service_unavailable: "service_unavailable";
|
|
1401
|
+
ultra_required: "ultra_required";
|
|
1316
1402
|
}>>;
|
|
1317
1403
|
requiresUltra: z.ZodBoolean;
|
|
1318
1404
|
modelRevision: z.ZodString;
|
|
@@ -1323,9 +1409,9 @@ declare const HostedAiFeatureStatusSchema: z.ZodObject<{
|
|
|
1323
1409
|
available: z.ZodBoolean;
|
|
1324
1410
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1325
1411
|
authentication_required: "authentication_required";
|
|
1326
|
-
ultra_required: "ultra_required";
|
|
1327
1412
|
quota_exhausted: "quota_exhausted";
|
|
1328
1413
|
service_unavailable: "service_unavailable";
|
|
1414
|
+
ultra_required: "ultra_required";
|
|
1329
1415
|
}>>;
|
|
1330
1416
|
requiresUltra: z.ZodBoolean;
|
|
1331
1417
|
modelRevision: z.ZodString;
|
|
@@ -1335,9 +1421,9 @@ declare const HostedAiFeatureStatusSchema: z.ZodObject<{
|
|
|
1335
1421
|
available: z.ZodBoolean;
|
|
1336
1422
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1337
1423
|
authentication_required: "authentication_required";
|
|
1338
|
-
ultra_required: "ultra_required";
|
|
1339
1424
|
quota_exhausted: "quota_exhausted";
|
|
1340
1425
|
service_unavailable: "service_unavailable";
|
|
1426
|
+
ultra_required: "ultra_required";
|
|
1341
1427
|
}>>;
|
|
1342
1428
|
requiresUltra: z.ZodBoolean;
|
|
1343
1429
|
modelRevision: z.ZodString;
|
|
@@ -1352,13 +1438,13 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1352
1438
|
usedPercent: z.ZodNumber;
|
|
1353
1439
|
resetAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1354
1440
|
features: z.ZodArray<z.ZodEnum<{
|
|
1355
|
-
pageTranslation: "pageTranslation";
|
|
1356
1441
|
customAction: "customAction";
|
|
1442
|
+
inputTranslation: "inputTranslation";
|
|
1443
|
+
languageDetection: "languageDetection";
|
|
1357
1444
|
noteSuggestion: "noteSuggestion";
|
|
1445
|
+
pageTranslation: "pageTranslation";
|
|
1358
1446
|
selectionTranslation: "selectionTranslation";
|
|
1359
1447
|
videoSubtitles: "videoSubtitles";
|
|
1360
|
-
inputTranslation: "inputTranslation";
|
|
1361
|
-
languageDetection: "languageDetection";
|
|
1362
1448
|
}>>;
|
|
1363
1449
|
}, z.core.$strict>>;
|
|
1364
1450
|
features: z.ZodObject<{
|
|
@@ -1368,9 +1454,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1368
1454
|
available: z.ZodBoolean;
|
|
1369
1455
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1370
1456
|
authentication_required: "authentication_required";
|
|
1371
|
-
ultra_required: "ultra_required";
|
|
1372
1457
|
quota_exhausted: "quota_exhausted";
|
|
1373
1458
|
service_unavailable: "service_unavailable";
|
|
1459
|
+
ultra_required: "ultra_required";
|
|
1374
1460
|
}>>;
|
|
1375
1461
|
requiresUltra: z.ZodBoolean;
|
|
1376
1462
|
modelRevision: z.ZodString;
|
|
@@ -1380,9 +1466,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1380
1466
|
available: z.ZodBoolean;
|
|
1381
1467
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1382
1468
|
authentication_required: "authentication_required";
|
|
1383
|
-
ultra_required: "ultra_required";
|
|
1384
1469
|
quota_exhausted: "quota_exhausted";
|
|
1385
1470
|
service_unavailable: "service_unavailable";
|
|
1471
|
+
ultra_required: "ultra_required";
|
|
1386
1472
|
}>>;
|
|
1387
1473
|
requiresUltra: z.ZodBoolean;
|
|
1388
1474
|
modelRevision: z.ZodString;
|
|
@@ -1394,9 +1480,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1394
1480
|
available: z.ZodBoolean;
|
|
1395
1481
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1396
1482
|
authentication_required: "authentication_required";
|
|
1397
|
-
ultra_required: "ultra_required";
|
|
1398
1483
|
quota_exhausted: "quota_exhausted";
|
|
1399
1484
|
service_unavailable: "service_unavailable";
|
|
1485
|
+
ultra_required: "ultra_required";
|
|
1400
1486
|
}>>;
|
|
1401
1487
|
requiresUltra: z.ZodBoolean;
|
|
1402
1488
|
modelRevision: z.ZodString;
|
|
@@ -1406,9 +1492,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1406
1492
|
available: z.ZodBoolean;
|
|
1407
1493
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1408
1494
|
authentication_required: "authentication_required";
|
|
1409
|
-
ultra_required: "ultra_required";
|
|
1410
1495
|
quota_exhausted: "quota_exhausted";
|
|
1411
1496
|
service_unavailable: "service_unavailable";
|
|
1497
|
+
ultra_required: "ultra_required";
|
|
1412
1498
|
}>>;
|
|
1413
1499
|
requiresUltra: z.ZodBoolean;
|
|
1414
1500
|
modelRevision: z.ZodString;
|
|
@@ -1420,9 +1506,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1420
1506
|
available: z.ZodBoolean;
|
|
1421
1507
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1422
1508
|
authentication_required: "authentication_required";
|
|
1423
|
-
ultra_required: "ultra_required";
|
|
1424
1509
|
quota_exhausted: "quota_exhausted";
|
|
1425
1510
|
service_unavailable: "service_unavailable";
|
|
1511
|
+
ultra_required: "ultra_required";
|
|
1426
1512
|
}>>;
|
|
1427
1513
|
requiresUltra: z.ZodBoolean;
|
|
1428
1514
|
modelRevision: z.ZodString;
|
|
@@ -1432,9 +1518,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1432
1518
|
available: z.ZodBoolean;
|
|
1433
1519
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1434
1520
|
authentication_required: "authentication_required";
|
|
1435
|
-
ultra_required: "ultra_required";
|
|
1436
1521
|
quota_exhausted: "quota_exhausted";
|
|
1437
1522
|
service_unavailable: "service_unavailable";
|
|
1523
|
+
ultra_required: "ultra_required";
|
|
1438
1524
|
}>>;
|
|
1439
1525
|
requiresUltra: z.ZodBoolean;
|
|
1440
1526
|
modelRevision: z.ZodString;
|
|
@@ -1446,9 +1532,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1446
1532
|
available: z.ZodBoolean;
|
|
1447
1533
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1448
1534
|
authentication_required: "authentication_required";
|
|
1449
|
-
ultra_required: "ultra_required";
|
|
1450
1535
|
quota_exhausted: "quota_exhausted";
|
|
1451
1536
|
service_unavailable: "service_unavailable";
|
|
1537
|
+
ultra_required: "ultra_required";
|
|
1452
1538
|
}>>;
|
|
1453
1539
|
requiresUltra: z.ZodBoolean;
|
|
1454
1540
|
modelRevision: z.ZodString;
|
|
@@ -1458,9 +1544,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1458
1544
|
available: z.ZodBoolean;
|
|
1459
1545
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1460
1546
|
authentication_required: "authentication_required";
|
|
1461
|
-
ultra_required: "ultra_required";
|
|
1462
1547
|
quota_exhausted: "quota_exhausted";
|
|
1463
1548
|
service_unavailable: "service_unavailable";
|
|
1549
|
+
ultra_required: "ultra_required";
|
|
1464
1550
|
}>>;
|
|
1465
1551
|
requiresUltra: z.ZodBoolean;
|
|
1466
1552
|
modelRevision: z.ZodString;
|
|
@@ -1472,9 +1558,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1472
1558
|
available: z.ZodBoolean;
|
|
1473
1559
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1474
1560
|
authentication_required: "authentication_required";
|
|
1475
|
-
ultra_required: "ultra_required";
|
|
1476
1561
|
quota_exhausted: "quota_exhausted";
|
|
1477
1562
|
service_unavailable: "service_unavailable";
|
|
1563
|
+
ultra_required: "ultra_required";
|
|
1478
1564
|
}>>;
|
|
1479
1565
|
requiresUltra: z.ZodBoolean;
|
|
1480
1566
|
modelRevision: z.ZodString;
|
|
@@ -1484,9 +1570,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1484
1570
|
available: z.ZodBoolean;
|
|
1485
1571
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1486
1572
|
authentication_required: "authentication_required";
|
|
1487
|
-
ultra_required: "ultra_required";
|
|
1488
1573
|
quota_exhausted: "quota_exhausted";
|
|
1489
1574
|
service_unavailable: "service_unavailable";
|
|
1575
|
+
ultra_required: "ultra_required";
|
|
1490
1576
|
}>>;
|
|
1491
1577
|
requiresUltra: z.ZodBoolean;
|
|
1492
1578
|
modelRevision: z.ZodString;
|
|
@@ -1498,9 +1584,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1498
1584
|
available: z.ZodBoolean;
|
|
1499
1585
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1500
1586
|
authentication_required: "authentication_required";
|
|
1501
|
-
ultra_required: "ultra_required";
|
|
1502
1587
|
quota_exhausted: "quota_exhausted";
|
|
1503
1588
|
service_unavailable: "service_unavailable";
|
|
1589
|
+
ultra_required: "ultra_required";
|
|
1504
1590
|
}>>;
|
|
1505
1591
|
requiresUltra: z.ZodBoolean;
|
|
1506
1592
|
modelRevision: z.ZodString;
|
|
@@ -1510,9 +1596,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1510
1596
|
available: z.ZodBoolean;
|
|
1511
1597
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1512
1598
|
authentication_required: "authentication_required";
|
|
1513
|
-
ultra_required: "ultra_required";
|
|
1514
1599
|
quota_exhausted: "quota_exhausted";
|
|
1515
1600
|
service_unavailable: "service_unavailable";
|
|
1601
|
+
ultra_required: "ultra_required";
|
|
1516
1602
|
}>>;
|
|
1517
1603
|
requiresUltra: z.ZodBoolean;
|
|
1518
1604
|
modelRevision: z.ZodString;
|
|
@@ -1524,9 +1610,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1524
1610
|
available: z.ZodBoolean;
|
|
1525
1611
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1526
1612
|
authentication_required: "authentication_required";
|
|
1527
|
-
ultra_required: "ultra_required";
|
|
1528
1613
|
quota_exhausted: "quota_exhausted";
|
|
1529
1614
|
service_unavailable: "service_unavailable";
|
|
1615
|
+
ultra_required: "ultra_required";
|
|
1530
1616
|
}>>;
|
|
1531
1617
|
requiresUltra: z.ZodBoolean;
|
|
1532
1618
|
modelRevision: z.ZodString;
|
|
@@ -1536,9 +1622,9 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
|
|
|
1536
1622
|
available: z.ZodBoolean;
|
|
1537
1623
|
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
1538
1624
|
authentication_required: "authentication_required";
|
|
1539
|
-
ultra_required: "ultra_required";
|
|
1540
1625
|
quota_exhausted: "quota_exhausted";
|
|
1541
1626
|
service_unavailable: "service_unavailable";
|
|
1627
|
+
ultra_required: "ultra_required";
|
|
1542
1628
|
}>>;
|
|
1543
1629
|
requiresUltra: z.ZodBoolean;
|
|
1544
1630
|
modelRevision: z.ZodString;
|
|
@@ -1566,9 +1652,42 @@ type HostedAiTierStatus = z.infer<typeof HostedAiTierStatusSchema>;
|
|
|
1566
1652
|
type HostedAiFeatureStatus = z.infer<typeof HostedAiFeatureStatusSchema>;
|
|
1567
1653
|
type HostedAiStatusOutput = z.infer<typeof HostedAiStatusOutputSchema>;
|
|
1568
1654
|
//#endregion
|
|
1655
|
+
//#region src/schemas/mcp-connection.d.ts
|
|
1656
|
+
declare const mcpConnectionSchema: z.ZodObject<{
|
|
1657
|
+
clientId: z.ZodString;
|
|
1658
|
+
clientName: z.ZodNullable<z.ZodString>;
|
|
1659
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
1660
|
+
requestedUserInfoClaims: z.ZodArray<z.ZodString>;
|
|
1661
|
+
grantedAt: z.ZodNullable<z.ZodDate>;
|
|
1662
|
+
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
1663
|
+
lastAuthorizedAt: z.ZodNullable<z.ZodDate>;
|
|
1664
|
+
}, z.core.$strict>;
|
|
1665
|
+
type McpConnection = z.infer<typeof mcpConnectionSchema>;
|
|
1666
|
+
declare const mcpConnectionListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
1667
|
+
clientId: z.ZodString;
|
|
1668
|
+
clientName: z.ZodNullable<z.ZodString>;
|
|
1669
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
1670
|
+
requestedUserInfoClaims: z.ZodArray<z.ZodString>;
|
|
1671
|
+
grantedAt: z.ZodNullable<z.ZodDate>;
|
|
1672
|
+
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
1673
|
+
lastAuthorizedAt: z.ZodNullable<z.ZodDate>;
|
|
1674
|
+
}, z.core.$strict>>;
|
|
1675
|
+
declare const mcpConnectionRevokeInputSchema: z.ZodObject<{
|
|
1676
|
+
clientId: z.ZodString;
|
|
1677
|
+
}, z.core.$strict>;
|
|
1678
|
+
type McpConnectionRevokeInput = z.infer<typeof mcpConnectionRevokeInputSchema>;
|
|
1679
|
+
declare const mcpConnectionRevokeOutputSchema: z.ZodObject<{
|
|
1680
|
+
clientId: z.ZodString;
|
|
1681
|
+
}, z.core.$strict>;
|
|
1682
|
+
//#endregion
|
|
1569
1683
|
//#region src/schemas/notebase.d.ts
|
|
1570
1684
|
declare const NotebaseListInputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1571
1685
|
type NotebaseListInput = z.infer<typeof NotebaseListInputSchema>;
|
|
1686
|
+
declare const notebaseSummarySchema: z.ZodObject<{
|
|
1687
|
+
id: z.ZodString;
|
|
1688
|
+
name: z.ZodString;
|
|
1689
|
+
}, z.core.$strip>;
|
|
1690
|
+
type NotebaseSummary = z.infer<typeof notebaseSummarySchema>;
|
|
1572
1691
|
declare const NotebaseListItemSchema: z.ZodObject<{
|
|
1573
1692
|
id: z.ZodString;
|
|
1574
1693
|
name: z.ZodString;
|
|
@@ -1588,8 +1707,8 @@ declare const notebaseSchema: z.ZodObject<{
|
|
|
1588
1707
|
srsDesiredRetention: z.ZodNumber;
|
|
1589
1708
|
srsEnableShortTerm: z.ZodBoolean;
|
|
1590
1709
|
srsMaximumInterval: z.ZodNumber;
|
|
1591
|
-
srsLearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}
|
|
1592
|
-
srsRelearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}
|
|
1710
|
+
srsLearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
1711
|
+
srsRelearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
1593
1712
|
srsLeechThreshold: z.ZodNumber;
|
|
1594
1713
|
srsEnableFuzz: z.ZodBoolean;
|
|
1595
1714
|
srsWeights: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
@@ -1610,8 +1729,8 @@ declare const notebaseCreateDataSchema: z.ZodObject<{
|
|
|
1610
1729
|
type: z.ZodLiteral<"number">;
|
|
1611
1730
|
decimal: z.ZodDefault<z.ZodNumber>;
|
|
1612
1731
|
format: z.ZodDefault<z.ZodEnum<{
|
|
1613
|
-
number: "number";
|
|
1614
1732
|
currency: "currency";
|
|
1733
|
+
number: "number";
|
|
1615
1734
|
percent: "percent";
|
|
1616
1735
|
}>>;
|
|
1617
1736
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1652,8 +1771,8 @@ declare const NotebaseCreateInputSchema: z.ZodObject<{
|
|
|
1652
1771
|
type: z.ZodLiteral<"number">;
|
|
1653
1772
|
decimal: z.ZodDefault<z.ZodNumber>;
|
|
1654
1773
|
format: z.ZodDefault<z.ZodEnum<{
|
|
1655
|
-
number: "number";
|
|
1656
1774
|
currency: "currency";
|
|
1775
|
+
number: "number";
|
|
1657
1776
|
percent: "percent";
|
|
1658
1777
|
}>>;
|
|
1659
1778
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1682,6 +1801,23 @@ declare const NotebaseCreateInputSchema: z.ZodObject<{
|
|
|
1682
1801
|
}, z.core.$strict>;
|
|
1683
1802
|
type NotebaseCreateInput = z.infer<typeof NotebaseCreateInputSchema>;
|
|
1684
1803
|
declare const NotebaseCreateOutputSchema: z.ZodObject<{
|
|
1804
|
+
notebase: z.ZodObject<{
|
|
1805
|
+
id: z.ZodString;
|
|
1806
|
+
userId: z.ZodString;
|
|
1807
|
+
name: z.ZodString;
|
|
1808
|
+
srsNewPerDay: z.ZodNumber;
|
|
1809
|
+
srsReviewsPerDay: z.ZodNumber;
|
|
1810
|
+
srsDesiredRetention: z.ZodNumber;
|
|
1811
|
+
srsEnableShortTerm: z.ZodBoolean;
|
|
1812
|
+
srsMaximumInterval: z.ZodNumber;
|
|
1813
|
+
srsLearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
1814
|
+
srsRelearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
1815
|
+
srsLeechThreshold: z.ZodNumber;
|
|
1816
|
+
srsEnableFuzz: z.ZodBoolean;
|
|
1817
|
+
srsWeights: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
1818
|
+
createdAt: z.ZodDate;
|
|
1819
|
+
updatedAt: z.ZodDate;
|
|
1820
|
+
}, z.core.$strip>;
|
|
1685
1821
|
txid: z.ZodNumber;
|
|
1686
1822
|
}, z.core.$strip>;
|
|
1687
1823
|
type NotebaseCreateOutput = z.infer<typeof NotebaseCreateOutputSchema>;
|
|
@@ -1701,6 +1837,23 @@ declare const NotebaseUpdateInputSchema: z.ZodObject<{
|
|
|
1701
1837
|
}, z.core.$strict>;
|
|
1702
1838
|
type NotebaseUpdateInput = z.infer<typeof NotebaseUpdateInputSchema>;
|
|
1703
1839
|
declare const NotebaseUpdateOutputSchema: z.ZodObject<{
|
|
1840
|
+
notebase: z.ZodObject<{
|
|
1841
|
+
id: z.ZodString;
|
|
1842
|
+
userId: z.ZodString;
|
|
1843
|
+
name: z.ZodString;
|
|
1844
|
+
srsNewPerDay: z.ZodNumber;
|
|
1845
|
+
srsReviewsPerDay: z.ZodNumber;
|
|
1846
|
+
srsDesiredRetention: z.ZodNumber;
|
|
1847
|
+
srsEnableShortTerm: z.ZodBoolean;
|
|
1848
|
+
srsMaximumInterval: z.ZodNumber;
|
|
1849
|
+
srsLearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
1850
|
+
srsRelearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
1851
|
+
srsLeechThreshold: z.ZodNumber;
|
|
1852
|
+
srsEnableFuzz: z.ZodBoolean;
|
|
1853
|
+
srsWeights: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
1854
|
+
createdAt: z.ZodDate;
|
|
1855
|
+
updatedAt: z.ZodDate;
|
|
1856
|
+
}, z.core.$strip>;
|
|
1704
1857
|
txid: z.ZodNumber;
|
|
1705
1858
|
}, z.core.$strip>;
|
|
1706
1859
|
type NotebaseUpdateOutput = z.infer<typeof NotebaseUpdateOutputSchema>;
|
|
@@ -1709,6 +1862,7 @@ declare const NotebaseDeleteInputSchema: z.ZodObject<{
|
|
|
1709
1862
|
}, z.core.$strip>;
|
|
1710
1863
|
type NotebaseDeleteInput = z.infer<typeof NotebaseDeleteInputSchema>;
|
|
1711
1864
|
declare const NotebaseDeleteOutputSchema: z.ZodObject<{
|
|
1865
|
+
id: z.ZodUUID;
|
|
1712
1866
|
txid: z.ZodNumber;
|
|
1713
1867
|
}, z.core.$strip>;
|
|
1714
1868
|
type NotebaseDeleteOutput = z.infer<typeof NotebaseDeleteOutputSchema>;
|
|
@@ -1716,6 +1870,18 @@ declare const NotebaseGetInputSchema: z.ZodObject<{
|
|
|
1716
1870
|
id: z.ZodUUID;
|
|
1717
1871
|
}, z.core.$strip>;
|
|
1718
1872
|
type NotebaseGetInput = z.infer<typeof NotebaseGetInputSchema>;
|
|
1873
|
+
declare const NotebaseGetSummaryInputSchema: z.ZodObject<{
|
|
1874
|
+
id: z.ZodUUID;
|
|
1875
|
+
}, z.core.$strip>;
|
|
1876
|
+
type NotebaseGetSummaryInput = z.infer<typeof NotebaseGetSummaryInputSchema>;
|
|
1877
|
+
declare const NotebaseGetSummaryOutputSchema: z.ZodObject<{
|
|
1878
|
+
id: z.ZodString;
|
|
1879
|
+
name: z.ZodString;
|
|
1880
|
+
srsNewPerDay: z.ZodNumber;
|
|
1881
|
+
srsReviewsPerDay: z.ZodNumber;
|
|
1882
|
+
srsDesiredRetention: z.ZodNumber;
|
|
1883
|
+
}, z.core.$strip>;
|
|
1884
|
+
type NotebaseGetSummaryOutput = z.infer<typeof NotebaseGetSummaryOutputSchema>;
|
|
1719
1885
|
declare const NotebaseGetSchemaInputSchema: z.ZodObject<{
|
|
1720
1886
|
id: z.ZodUUID;
|
|
1721
1887
|
}, z.core.$strip>;
|
|
@@ -1729,8 +1895,8 @@ declare const NotebaseGetOutputSchema: z.ZodObject<{
|
|
|
1729
1895
|
srsDesiredRetention: z.ZodNumber;
|
|
1730
1896
|
srsEnableShortTerm: z.ZodBoolean;
|
|
1731
1897
|
srsMaximumInterval: z.ZodNumber;
|
|
1732
|
-
srsLearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}
|
|
1733
|
-
srsRelearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}
|
|
1898
|
+
srsLearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
1899
|
+
srsRelearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
1734
1900
|
srsLeechThreshold: z.ZodNumber;
|
|
1735
1901
|
srsEnableFuzz: z.ZodBoolean;
|
|
1736
1902
|
srsWeights: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
@@ -1746,8 +1912,8 @@ declare const NotebaseGetOutputSchema: z.ZodObject<{
|
|
|
1746
1912
|
type: z.ZodLiteral<"number">;
|
|
1747
1913
|
decimal: z.ZodDefault<z.ZodNumber>;
|
|
1748
1914
|
format: z.ZodDefault<z.ZodEnum<{
|
|
1749
|
-
number: "number";
|
|
1750
1915
|
currency: "currency";
|
|
1916
|
+
number: "number";
|
|
1751
1917
|
percent: "percent";
|
|
1752
1918
|
}>>;
|
|
1753
1919
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1783,9 +1949,9 @@ declare const NotebaseGetOutputSchema: z.ZodObject<{
|
|
|
1783
1949
|
notebaseId: z.ZodString;
|
|
1784
1950
|
name: z.ZodString;
|
|
1785
1951
|
type: z.ZodEnum<{
|
|
1786
|
-
table: "table";
|
|
1787
|
-
kanban: "kanban";
|
|
1788
1952
|
gallery: "gallery";
|
|
1953
|
+
kanban: "kanban";
|
|
1954
|
+
table: "table";
|
|
1789
1955
|
}>;
|
|
1790
1956
|
config: z.ZodNullable<z.ZodObject<{
|
|
1791
1957
|
notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
@@ -1814,8 +1980,8 @@ declare const NotebaseGetSchemaOutputSchema: z.ZodObject<{
|
|
|
1814
1980
|
type: z.ZodLiteral<"number">;
|
|
1815
1981
|
decimal: z.ZodDefault<z.ZodNumber>;
|
|
1816
1982
|
format: z.ZodDefault<z.ZodEnum<{
|
|
1817
|
-
number: "number";
|
|
1818
1983
|
currency: "currency";
|
|
1984
|
+
number: "number";
|
|
1819
1985
|
percent: "percent";
|
|
1820
1986
|
}>>;
|
|
1821
1987
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1853,8 +2019,8 @@ declare const notebaseColumnSchema: z.ZodObject<{
|
|
|
1853
2019
|
type: z.ZodLiteral<"number">;
|
|
1854
2020
|
decimal: z.ZodDefault<z.ZodNumber>;
|
|
1855
2021
|
format: z.ZodDefault<z.ZodEnum<{
|
|
1856
|
-
number: "number";
|
|
1857
2022
|
currency: "currency";
|
|
2023
|
+
number: "number";
|
|
1858
2024
|
percent: "percent";
|
|
1859
2025
|
}>>;
|
|
1860
2026
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1887,8 +2053,8 @@ declare const notebaseColumnCreateDataSchema: z.ZodObject<{
|
|
|
1887
2053
|
type: z.ZodLiteral<"number">;
|
|
1888
2054
|
decimal: z.ZodDefault<z.ZodNumber>;
|
|
1889
2055
|
format: z.ZodDefault<z.ZodEnum<{
|
|
1890
|
-
number: "number";
|
|
1891
2056
|
currency: "currency";
|
|
2057
|
+
number: "number";
|
|
1892
2058
|
percent: "percent";
|
|
1893
2059
|
}>>;
|
|
1894
2060
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1907,6 +2073,7 @@ declare const notebaseColumnCreateDataSchema: z.ZodObject<{
|
|
|
1907
2073
|
}, z.core.$strict>;
|
|
1908
2074
|
type NotebaseColumnCreateData = z.infer<typeof notebaseColumnCreateDataSchema>;
|
|
1909
2075
|
declare const notebaseColumnUpdateDataSchema: z.ZodObject<{
|
|
2076
|
+
expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1910
2077
|
name: z.ZodOptional<z.ZodString>;
|
|
1911
2078
|
config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1912
2079
|
type: z.ZodLiteral<"string">;
|
|
@@ -1914,8 +2081,8 @@ declare const notebaseColumnUpdateDataSchema: z.ZodObject<{
|
|
|
1914
2081
|
type: z.ZodLiteral<"number">;
|
|
1915
2082
|
decimal: z.ZodDefault<z.ZodNumber>;
|
|
1916
2083
|
format: z.ZodDefault<z.ZodEnum<{
|
|
1917
|
-
number: "number";
|
|
1918
2084
|
currency: "currency";
|
|
2085
|
+
number: "number";
|
|
1919
2086
|
percent: "percent";
|
|
1920
2087
|
}>>;
|
|
1921
2088
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1946,8 +2113,8 @@ declare const NotebaseColumnCreateInputSchema: z.ZodObject<{
|
|
|
1946
2113
|
type: z.ZodLiteral<"number">;
|
|
1947
2114
|
decimal: z.ZodDefault<z.ZodNumber>;
|
|
1948
2115
|
format: z.ZodDefault<z.ZodEnum<{
|
|
1949
|
-
number: "number";
|
|
1950
2116
|
currency: "currency";
|
|
2117
|
+
number: "number";
|
|
1951
2118
|
percent: "percent";
|
|
1952
2119
|
}>>;
|
|
1953
2120
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1967,12 +2134,47 @@ declare const NotebaseColumnCreateInputSchema: z.ZodObject<{
|
|
|
1967
2134
|
}, z.core.$strip>;
|
|
1968
2135
|
type NotebaseColumnCreateInput = z.infer<typeof NotebaseColumnCreateInputSchema>;
|
|
1969
2136
|
declare const NotebaseColumnCreateOutputSchema: z.ZodObject<{
|
|
2137
|
+
field: z.ZodObject<{
|
|
2138
|
+
id: z.ZodString;
|
|
2139
|
+
notebaseId: z.ZodString;
|
|
2140
|
+
name: z.ZodString;
|
|
2141
|
+
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2142
|
+
type: z.ZodLiteral<"string">;
|
|
2143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2144
|
+
type: z.ZodLiteral<"number">;
|
|
2145
|
+
decimal: z.ZodDefault<z.ZodNumber>;
|
|
2146
|
+
format: z.ZodDefault<z.ZodEnum<{
|
|
2147
|
+
currency: "currency";
|
|
2148
|
+
number: "number";
|
|
2149
|
+
percent: "percent";
|
|
2150
|
+
}>>;
|
|
2151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2152
|
+
type: z.ZodLiteral<"boolean">;
|
|
2153
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2154
|
+
type: z.ZodLiteral<"date">;
|
|
2155
|
+
dateFormat: z.ZodOptional<z.ZodString>;
|
|
2156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2157
|
+
type: z.ZodLiteral<"select">;
|
|
2158
|
+
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2159
|
+
id: z.ZodString;
|
|
2160
|
+
value: z.ZodString;
|
|
2161
|
+
color: z.ZodString;
|
|
2162
|
+
}, z.core.$strip>>>;
|
|
2163
|
+
}, z.core.$strip>], "type">;
|
|
2164
|
+
position: z.ZodNumber;
|
|
2165
|
+
isPrimary: z.ZodBoolean;
|
|
2166
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
2167
|
+
wrap: z.ZodBoolean;
|
|
2168
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2169
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
2170
|
+
}, z.core.$strip>;
|
|
1970
2171
|
txid: z.ZodNumber;
|
|
1971
2172
|
}, z.core.$strip>;
|
|
1972
2173
|
type NotebaseColumnCreateOutput = z.infer<typeof NotebaseColumnCreateOutputSchema>;
|
|
1973
2174
|
declare const NotebaseColumnUpdateInputSchema: z.ZodObject<{
|
|
1974
2175
|
notebaseColumnId: z.ZodUUID;
|
|
1975
2176
|
data: z.ZodObject<{
|
|
2177
|
+
expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1976
2178
|
name: z.ZodOptional<z.ZodString>;
|
|
1977
2179
|
config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1978
2180
|
type: z.ZodLiteral<"string">;
|
|
@@ -1980,8 +2182,8 @@ declare const NotebaseColumnUpdateInputSchema: z.ZodObject<{
|
|
|
1980
2182
|
type: z.ZodLiteral<"number">;
|
|
1981
2183
|
decimal: z.ZodDefault<z.ZodNumber>;
|
|
1982
2184
|
format: z.ZodDefault<z.ZodEnum<{
|
|
1983
|
-
number: "number";
|
|
1984
2185
|
currency: "currency";
|
|
2186
|
+
number: "number";
|
|
1985
2187
|
percent: "percent";
|
|
1986
2188
|
}>>;
|
|
1987
2189
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2003,6 +2205,40 @@ declare const NotebaseColumnUpdateInputSchema: z.ZodObject<{
|
|
|
2003
2205
|
}, z.core.$strip>;
|
|
2004
2206
|
type NotebaseColumnUpdateInput = z.infer<typeof NotebaseColumnUpdateInputSchema>;
|
|
2005
2207
|
declare const NotebaseColumnUpdateOutputSchema: z.ZodObject<{
|
|
2208
|
+
field: z.ZodObject<{
|
|
2209
|
+
id: z.ZodString;
|
|
2210
|
+
notebaseId: z.ZodString;
|
|
2211
|
+
name: z.ZodString;
|
|
2212
|
+
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2213
|
+
type: z.ZodLiteral<"string">;
|
|
2214
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2215
|
+
type: z.ZodLiteral<"number">;
|
|
2216
|
+
decimal: z.ZodDefault<z.ZodNumber>;
|
|
2217
|
+
format: z.ZodDefault<z.ZodEnum<{
|
|
2218
|
+
currency: "currency";
|
|
2219
|
+
number: "number";
|
|
2220
|
+
percent: "percent";
|
|
2221
|
+
}>>;
|
|
2222
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2223
|
+
type: z.ZodLiteral<"boolean">;
|
|
2224
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2225
|
+
type: z.ZodLiteral<"date">;
|
|
2226
|
+
dateFormat: z.ZodOptional<z.ZodString>;
|
|
2227
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2228
|
+
type: z.ZodLiteral<"select">;
|
|
2229
|
+
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2230
|
+
id: z.ZodString;
|
|
2231
|
+
value: z.ZodString;
|
|
2232
|
+
color: z.ZodString;
|
|
2233
|
+
}, z.core.$strip>>>;
|
|
2234
|
+
}, z.core.$strip>], "type">;
|
|
2235
|
+
position: z.ZodNumber;
|
|
2236
|
+
isPrimary: z.ZodBoolean;
|
|
2237
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
2238
|
+
wrap: z.ZodBoolean;
|
|
2239
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2240
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
2241
|
+
}, z.core.$strip>;
|
|
2006
2242
|
txid: z.ZodNumber;
|
|
2007
2243
|
}, z.core.$strip>;
|
|
2008
2244
|
type NotebaseColumnUpdateOutput = z.infer<typeof NotebaseColumnUpdateOutputSchema>;
|
|
@@ -2011,6 +2247,7 @@ declare const NotebaseColumnDeleteInputSchema: z.ZodObject<{
|
|
|
2011
2247
|
}, z.core.$strip>;
|
|
2012
2248
|
type NotebaseColumnDeleteInput = z.infer<typeof NotebaseColumnDeleteInputSchema>;
|
|
2013
2249
|
declare const NotebaseColumnDeleteOutputSchema: z.ZodObject<{
|
|
2250
|
+
id: z.ZodUUID;
|
|
2014
2251
|
txid: z.ZodNumber;
|
|
2015
2252
|
}, z.core.$strip>;
|
|
2016
2253
|
type NotebaseColumnDeleteOutput = z.infer<typeof NotebaseColumnDeleteOutputSchema>;
|
|
@@ -2042,6 +2279,7 @@ declare const notebaseRowCreateDataSchema: z.ZodObject<{
|
|
|
2042
2279
|
type NotebaseRowCreateData = z.infer<typeof notebaseRowCreateDataSchema>;
|
|
2043
2280
|
declare const notebaseRowUpdateDataSchema: z.ZodObject<{
|
|
2044
2281
|
cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2282
|
+
expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2045
2283
|
}, z.core.$strict>;
|
|
2046
2284
|
type NotebaseRowUpdateData = z.infer<typeof notebaseRowUpdateDataSchema>;
|
|
2047
2285
|
declare const NotebaseRowCreateInputSchema: z.ZodObject<{
|
|
@@ -2053,6 +2291,14 @@ declare const NotebaseRowCreateInputSchema: z.ZodObject<{
|
|
|
2053
2291
|
}, z.core.$strip>;
|
|
2054
2292
|
type NotebaseRowCreateInput = z.infer<typeof NotebaseRowCreateInputSchema>;
|
|
2055
2293
|
declare const NotebaseRowCreateOutputSchema: z.ZodObject<{
|
|
2294
|
+
note: z.ZodObject<{
|
|
2295
|
+
id: z.ZodString;
|
|
2296
|
+
notebaseId: z.ZodString;
|
|
2297
|
+
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2298
|
+
position: z.ZodNumber;
|
|
2299
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2300
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
2301
|
+
}, z.core.$strip>;
|
|
2056
2302
|
txid: z.ZodNumber;
|
|
2057
2303
|
}, z.core.$strip>;
|
|
2058
2304
|
type NotebaseRowCreateOutput = z.infer<typeof NotebaseRowCreateOutputSchema>;
|
|
@@ -2066,6 +2312,14 @@ declare const NotebaseRowCreateManyInputSchema: z.ZodObject<{
|
|
|
2066
2312
|
}, z.core.$strip>;
|
|
2067
2313
|
type NotebaseRowCreateManyInput = z.infer<typeof NotebaseRowCreateManyInputSchema>;
|
|
2068
2314
|
declare const NotebaseRowCreateManyOutputSchema: z.ZodObject<{
|
|
2315
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2316
|
+
id: z.ZodString;
|
|
2317
|
+
notebaseId: z.ZodString;
|
|
2318
|
+
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2319
|
+
position: z.ZodNumber;
|
|
2320
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2321
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
2322
|
+
}, z.core.$strip>>;
|
|
2069
2323
|
txid: z.ZodNumber;
|
|
2070
2324
|
}, z.core.$strip>;
|
|
2071
2325
|
type NotebaseRowCreateManyOutput = z.infer<typeof NotebaseRowCreateManyOutputSchema>;
|
|
@@ -2073,6 +2327,7 @@ declare const NotebaseRowUpdateInputSchema: z.ZodObject<{
|
|
|
2073
2327
|
notebaseRowId: z.ZodUUID;
|
|
2074
2328
|
data: z.ZodObject<{
|
|
2075
2329
|
cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2330
|
+
expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2076
2331
|
}, z.core.$strict>;
|
|
2077
2332
|
}, z.core.$strip>;
|
|
2078
2333
|
type NotebaseRowUpdateInput = z.infer<typeof NotebaseRowUpdateInputSchema>;
|
|
@@ -2091,6 +2346,7 @@ declare const NotebaseRowDeleteInputSchema: z.ZodObject<{
|
|
|
2091
2346
|
}, z.core.$strip>;
|
|
2092
2347
|
type NotebaseRowDeleteInput = z.infer<typeof NotebaseRowDeleteInputSchema>;
|
|
2093
2348
|
declare const NotebaseRowDeleteOutputSchema: z.ZodObject<{
|
|
2349
|
+
id: z.ZodUUID;
|
|
2094
2350
|
txid: z.ZodNumber;
|
|
2095
2351
|
}, z.core.$strip>;
|
|
2096
2352
|
type NotebaseRowDeleteOutput = z.infer<typeof NotebaseRowDeleteOutputSchema>;
|
|
@@ -2103,6 +2359,35 @@ declare const NotebaseRowReorderOutputSchema: z.ZodObject<{
|
|
|
2103
2359
|
txid: z.ZodNumber;
|
|
2104
2360
|
}, z.core.$strip>;
|
|
2105
2361
|
type NotebaseRowReorderOutput = z.infer<typeof NotebaseRowReorderOutputSchema>;
|
|
2362
|
+
declare const NotebaseRowListInputSchema: z.ZodObject<{
|
|
2363
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2364
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
2365
|
+
notebaseId: z.ZodOptional<z.ZodUUID>;
|
|
2366
|
+
query: z.ZodOptional<z.ZodString>;
|
|
2367
|
+
}, z.core.$strip>;
|
|
2368
|
+
type NotebaseRowListInput = z.infer<typeof NotebaseRowListInputSchema>;
|
|
2369
|
+
declare const NotebaseRowListOutputSchema: z.ZodObject<{
|
|
2370
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2371
|
+
id: z.ZodString;
|
|
2372
|
+
notebaseId: z.ZodString;
|
|
2373
|
+
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2374
|
+
position: z.ZodNumber;
|
|
2375
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2376
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
2377
|
+
}, z.core.$strip>>;
|
|
2378
|
+
hasMore: z.ZodBoolean;
|
|
2379
|
+
}, z.core.$strip>;
|
|
2380
|
+
declare const NotebaseRowGetInputSchema: z.ZodObject<{
|
|
2381
|
+
id: z.ZodUUID;
|
|
2382
|
+
}, z.core.$strip>;
|
|
2383
|
+
declare const NotebaseRowGetOutputSchema: z.ZodObject<{
|
|
2384
|
+
id: z.ZodString;
|
|
2385
|
+
notebaseId: z.ZodString;
|
|
2386
|
+
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2387
|
+
position: z.ZodNumber;
|
|
2388
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2389
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
2390
|
+
}, z.core.$strip>;
|
|
2106
2391
|
//#endregion
|
|
2107
2392
|
//#region src/schemas/notebase-stats.d.ts
|
|
2108
2393
|
declare const notebaseActivityStatsItemSchema: z.ZodObject<{
|
|
@@ -2133,9 +2418,9 @@ type NotebaseRowGrowthStatsOutput = z.infer<typeof notebaseRowGrowthStatsOutputS
|
|
|
2133
2418
|
//#endregion
|
|
2134
2419
|
//#region src/schemas/notebase-view.d.ts
|
|
2135
2420
|
declare const notebaseViewTypeSchema: z.ZodEnum<{
|
|
2136
|
-
table: "table";
|
|
2137
|
-
kanban: "kanban";
|
|
2138
2421
|
gallery: "gallery";
|
|
2422
|
+
kanban: "kanban";
|
|
2423
|
+
table: "table";
|
|
2139
2424
|
}>;
|
|
2140
2425
|
type NotebaseViewType = z.infer<typeof notebaseViewTypeSchema>;
|
|
2141
2426
|
declare const notebaseViewConfigSchema: z.ZodObject<{
|
|
@@ -2174,9 +2459,9 @@ declare const notebaseViewCreateDataSchema: z.ZodObject<{
|
|
|
2174
2459
|
id: z.ZodOptional<z.ZodUUID>;
|
|
2175
2460
|
name: z.ZodString;
|
|
2176
2461
|
type: z.ZodEnum<{
|
|
2177
|
-
table: "table";
|
|
2178
|
-
kanban: "kanban";
|
|
2179
2462
|
gallery: "gallery";
|
|
2463
|
+
kanban: "kanban";
|
|
2464
|
+
table: "table";
|
|
2180
2465
|
}>;
|
|
2181
2466
|
config: z.ZodOptional<z.ZodObject<{
|
|
2182
2467
|
notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
@@ -2200,9 +2485,9 @@ type NotebaseViewCreateData = z.infer<typeof notebaseViewCreateDataSchema>;
|
|
|
2200
2485
|
declare const notebaseViewUpdateDataSchema: z.ZodObject<{
|
|
2201
2486
|
name: z.ZodOptional<z.ZodString>;
|
|
2202
2487
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2203
|
-
table: "table";
|
|
2204
|
-
kanban: "kanban";
|
|
2205
2488
|
gallery: "gallery";
|
|
2489
|
+
kanban: "kanban";
|
|
2490
|
+
table: "table";
|
|
2206
2491
|
}>>;
|
|
2207
2492
|
config: z.ZodOptional<z.ZodObject<{
|
|
2208
2493
|
notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
@@ -2228,9 +2513,9 @@ declare const notebaseViewSchema: z.ZodObject<{
|
|
|
2228
2513
|
notebaseId: z.ZodString;
|
|
2229
2514
|
name: z.ZodString;
|
|
2230
2515
|
type: z.ZodEnum<{
|
|
2231
|
-
table: "table";
|
|
2232
|
-
kanban: "kanban";
|
|
2233
2516
|
gallery: "gallery";
|
|
2517
|
+
kanban: "kanban";
|
|
2518
|
+
table: "table";
|
|
2234
2519
|
}>;
|
|
2235
2520
|
config: z.ZodNullable<z.ZodObject<{
|
|
2236
2521
|
notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
@@ -2250,7 +2535,7 @@ declare const timezoneSchema: z.ZodString;
|
|
|
2250
2535
|
type Timezone = z.infer<typeof timezoneSchema>;
|
|
2251
2536
|
//#endregion
|
|
2252
2537
|
//#region src/schemas/srs.d.ts
|
|
2253
|
-
declare const stepSchema: z.ZodTemplateLiteral<`${number}
|
|
2538
|
+
declare const stepSchema: z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>;
|
|
2254
2539
|
type Step = z.infer<typeof stepSchema>;
|
|
2255
2540
|
declare const SRS_REVIEW_CLIENT_ID_NAMESPACE = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
2256
2541
|
interface SrsReviewClientIdCard {
|
|
@@ -2263,21 +2548,22 @@ declare const srsReviewInputSchema: z.ZodObject<{
|
|
|
2263
2548
|
id: z.ZodOptional<z.ZodUUID>;
|
|
2264
2549
|
rating: z.ZodEnum<{
|
|
2265
2550
|
again: "again";
|
|
2266
|
-
hard: "hard";
|
|
2267
|
-
good: "good";
|
|
2268
2551
|
easy: "easy";
|
|
2552
|
+
good: "good";
|
|
2553
|
+
hard: "hard";
|
|
2269
2554
|
}>;
|
|
2270
2555
|
durationMs: z.ZodNumber;
|
|
2271
2556
|
timezone: z.ZodString;
|
|
2272
2557
|
}, z.core.$strict>;
|
|
2273
2558
|
type SrsReviewInput = z.infer<typeof srsReviewInputSchema>;
|
|
2274
2559
|
declare const srsRollbackReviewInputSchema: z.ZodObject<{
|
|
2560
|
+
expectedReviewId: z.ZodOptional<z.ZodUUID>;
|
|
2275
2561
|
cardId: z.ZodUUID;
|
|
2276
2562
|
}, z.core.$strict>;
|
|
2277
2563
|
type SrsRollbackReviewInput = z.infer<typeof srsRollbackReviewInputSchema>;
|
|
2278
2564
|
declare const srsScheduleStatusStatsSchema: z.ZodRecord<z.ZodEnum<{
|
|
2279
|
-
new: "new";
|
|
2280
2565
|
learning: "learning";
|
|
2566
|
+
new: "new";
|
|
2281
2567
|
review: "review";
|
|
2282
2568
|
}>, z.ZodNumber>;
|
|
2283
2569
|
type SrsScheduleStatusStats = z.infer<typeof srsScheduleStatusStatsSchema>;
|
|
@@ -2287,8 +2573,8 @@ declare const srsScheduleStatusStatsInputSchema: z.ZodObject<{
|
|
|
2287
2573
|
}, z.core.$strict>;
|
|
2288
2574
|
type SrsScheduleStatusStatsInput = z.infer<typeof srsScheduleStatusStatsInputSchema>;
|
|
2289
2575
|
declare const srsScheduleStatusStatsOutputSchema: z.ZodRecord<z.ZodUUID, z.ZodRecord<z.ZodEnum<{
|
|
2290
|
-
new: "new";
|
|
2291
2576
|
learning: "learning";
|
|
2577
|
+
new: "new";
|
|
2292
2578
|
review: "review";
|
|
2293
2579
|
}>, z.ZodNumber>>;
|
|
2294
2580
|
type SrsScheduleStatusStatsOutput = z.infer<typeof srsScheduleStatusStatsOutputSchema>;
|
|
@@ -2313,123 +2599,157 @@ declare const srsRevlogSchema: z.ZodObject<{
|
|
|
2313
2599
|
cardId: z.ZodUUID;
|
|
2314
2600
|
rating: z.ZodEnum<{
|
|
2315
2601
|
again: "again";
|
|
2316
|
-
hard: "hard";
|
|
2317
|
-
good: "good";
|
|
2318
2602
|
easy: "easy";
|
|
2603
|
+
good: "good";
|
|
2604
|
+
hard: "hard";
|
|
2319
2605
|
}>;
|
|
2320
2606
|
state: z.ZodEnum<{
|
|
2321
|
-
new: "new";
|
|
2322
2607
|
learning: "learning";
|
|
2323
|
-
|
|
2608
|
+
new: "new";
|
|
2324
2609
|
relearning: "relearning";
|
|
2610
|
+
review: "review";
|
|
2325
2611
|
}>;
|
|
2326
2612
|
stability: z.ZodNumber;
|
|
2327
2613
|
afterScheduleStatus: z.ZodEnum<{
|
|
2328
|
-
|
|
2614
|
+
buried: "buried";
|
|
2329
2615
|
learning: "learning";
|
|
2616
|
+
new: "new";
|
|
2330
2617
|
review: "review";
|
|
2331
2618
|
suspended: "suspended";
|
|
2332
|
-
buried: "buried";
|
|
2333
2619
|
}>;
|
|
2334
2620
|
afterStability: z.ZodNumber;
|
|
2335
2621
|
reviewedAt: z.ZodCoercedDate<unknown>;
|
|
2336
2622
|
durationMs: z.ZodNumber;
|
|
2337
|
-
fsrsReviewLogSnapshot: z.ZodObject<{
|
|
2623
|
+
fsrsReviewLogSnapshot: z.ZodPipe<z.ZodObject<{
|
|
2338
2624
|
rating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
|
|
2339
2625
|
state: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
2340
|
-
|
|
2626
|
+
scheduleStatus: z.ZodEnum<{
|
|
2627
|
+
learning: "learning";
|
|
2628
|
+
new: "new";
|
|
2629
|
+
review: "review";
|
|
2630
|
+
suspended: "suspended";
|
|
2631
|
+
}>;
|
|
2632
|
+
dueAt: z.ZodOptional<z.ZodString>;
|
|
2633
|
+
lastReviewAt: z.ZodNullable<z.ZodString>;
|
|
2341
2634
|
stability: z.ZodNumber;
|
|
2342
2635
|
difficulty: z.ZodNumber;
|
|
2343
|
-
scheduledDays: z.ZodNumber
|
|
2636
|
+
scheduledDays: z.ZodOptional<z.ZodNumber>;
|
|
2344
2637
|
learningSteps: z.ZodNumber;
|
|
2345
2638
|
review: z.ZodString;
|
|
2346
|
-
}, z.core.$strict
|
|
2639
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
2640
|
+
rating: 1 | 2 | 3 | 4;
|
|
2641
|
+
state: 0 | 1 | 2 | 3;
|
|
2642
|
+
scheduleStatus: "learning" | "new" | "review" | "suspended";
|
|
2643
|
+
dueAt?: string | undefined;
|
|
2644
|
+
lastReviewAt: string | null;
|
|
2645
|
+
stability: number;
|
|
2646
|
+
difficulty: number;
|
|
2647
|
+
learningSteps: number;
|
|
2648
|
+
review: string;
|
|
2649
|
+
}, {
|
|
2650
|
+
rating: 1 | 2 | 3 | 4;
|
|
2651
|
+
state: 0 | 1 | 2 | 3;
|
|
2652
|
+
scheduleStatus: "learning" | "new" | "review" | "suspended";
|
|
2653
|
+
dueAt?: string | undefined;
|
|
2654
|
+
lastReviewAt: string | null;
|
|
2655
|
+
stability: number;
|
|
2656
|
+
difficulty: number;
|
|
2657
|
+
scheduledDays?: number | undefined;
|
|
2658
|
+
learningSteps: number;
|
|
2659
|
+
review: string;
|
|
2660
|
+
}>>;
|
|
2347
2661
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2348
2662
|
}, z.core.$strip>;
|
|
2349
2663
|
type SrsRevlog = z.infer<typeof srsRevlogSchema>;
|
|
2350
2664
|
declare const srsRevlogWithoutSnapshotSchema: z.ZodObject<{
|
|
2351
2665
|
id: z.ZodUUID;
|
|
2352
2666
|
notebaseId: z.ZodUUID;
|
|
2353
|
-
state: z.ZodEnum<{
|
|
2354
|
-
new: "new";
|
|
2355
|
-
learning: "learning";
|
|
2356
|
-
review: "review";
|
|
2357
|
-
relearning: "relearning";
|
|
2358
|
-
}>;
|
|
2359
|
-
stability: z.ZodNumber;
|
|
2360
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
2361
2667
|
cardId: z.ZodUUID;
|
|
2362
2668
|
rating: z.ZodEnum<{
|
|
2363
2669
|
again: "again";
|
|
2364
|
-
hard: "hard";
|
|
2365
|
-
good: "good";
|
|
2366
2670
|
easy: "easy";
|
|
2671
|
+
good: "good";
|
|
2672
|
+
hard: "hard";
|
|
2367
2673
|
}>;
|
|
2368
|
-
|
|
2674
|
+
state: z.ZodEnum<{
|
|
2675
|
+
learning: "learning";
|
|
2369
2676
|
new: "new";
|
|
2677
|
+
relearning: "relearning";
|
|
2678
|
+
review: "review";
|
|
2679
|
+
}>;
|
|
2680
|
+
stability: z.ZodNumber;
|
|
2681
|
+
afterScheduleStatus: z.ZodEnum<{
|
|
2682
|
+
buried: "buried";
|
|
2370
2683
|
learning: "learning";
|
|
2684
|
+
new: "new";
|
|
2371
2685
|
review: "review";
|
|
2372
2686
|
suspended: "suspended";
|
|
2373
|
-
buried: "buried";
|
|
2374
2687
|
}>;
|
|
2375
2688
|
afterStability: z.ZodNumber;
|
|
2376
2689
|
reviewedAt: z.ZodCoercedDate<unknown>;
|
|
2377
2690
|
durationMs: z.ZodNumber;
|
|
2691
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2378
2692
|
}, z.core.$strip>;
|
|
2379
2693
|
type SrsRevlogWithoutSnapshot = z.infer<typeof srsRevlogWithoutSnapshotSchema>;
|
|
2380
2694
|
declare const srsListCardRevlogsInputSchema: z.ZodObject<{
|
|
2381
|
-
|
|
2695
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2696
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
2697
|
+
notebaseId: z.ZodOptional<z.ZodUUID>;
|
|
2698
|
+
cardId: z.ZodOptional<z.ZodUUID>;
|
|
2382
2699
|
}, z.core.$strict>;
|
|
2383
2700
|
type SrsListCardRevlogsInput = z.infer<typeof srsListCardRevlogsInputSchema>;
|
|
2384
2701
|
declare const srsListCardRevlogsOutputSchema: z.ZodObject<{
|
|
2385
2702
|
items: z.ZodArray<z.ZodObject<{
|
|
2386
2703
|
id: z.ZodUUID;
|
|
2387
2704
|
notebaseId: z.ZodUUID;
|
|
2388
|
-
state: z.ZodEnum<{
|
|
2389
|
-
new: "new";
|
|
2390
|
-
learning: "learning";
|
|
2391
|
-
review: "review";
|
|
2392
|
-
relearning: "relearning";
|
|
2393
|
-
}>;
|
|
2394
|
-
stability: z.ZodNumber;
|
|
2395
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
2396
2705
|
cardId: z.ZodUUID;
|
|
2397
2706
|
rating: z.ZodEnum<{
|
|
2398
2707
|
again: "again";
|
|
2399
|
-
hard: "hard";
|
|
2400
|
-
good: "good";
|
|
2401
2708
|
easy: "easy";
|
|
2709
|
+
good: "good";
|
|
2710
|
+
hard: "hard";
|
|
2402
2711
|
}>;
|
|
2403
|
-
|
|
2712
|
+
state: z.ZodEnum<{
|
|
2713
|
+
learning: "learning";
|
|
2404
2714
|
new: "new";
|
|
2715
|
+
relearning: "relearning";
|
|
2716
|
+
review: "review";
|
|
2717
|
+
}>;
|
|
2718
|
+
stability: z.ZodNumber;
|
|
2719
|
+
afterScheduleStatus: z.ZodEnum<{
|
|
2720
|
+
buried: "buried";
|
|
2405
2721
|
learning: "learning";
|
|
2722
|
+
new: "new";
|
|
2406
2723
|
review: "review";
|
|
2407
2724
|
suspended: "suspended";
|
|
2408
|
-
buried: "buried";
|
|
2409
2725
|
}>;
|
|
2410
2726
|
afterStability: z.ZodNumber;
|
|
2411
2727
|
reviewedAt: z.ZodCoercedDate<unknown>;
|
|
2412
2728
|
durationMs: z.ZodNumber;
|
|
2729
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2413
2730
|
}, z.core.$strip>>;
|
|
2731
|
+
hasMore: z.ZodBoolean;
|
|
2414
2732
|
}, z.core.$strict>;
|
|
2415
2733
|
type SrsListCardRevlogsOutput = z.infer<typeof srsListCardRevlogsOutputSchema>;
|
|
2416
2734
|
declare const srsReviewOutputSchema: z.ZodObject<{
|
|
2417
2735
|
card: z.ZodObject<{
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2736
|
+
notebaseId: z.ZodUUID;
|
|
2737
|
+
notebaseRowId: z.ZodUUID;
|
|
2738
|
+
templateId: z.ZodUUID;
|
|
2739
|
+
variantKey: z.ZodString;
|
|
2740
|
+
id: z.ZodUUID;
|
|
2421
2741
|
state: z.ZodEnum<{
|
|
2422
|
-
new: "new";
|
|
2423
2742
|
learning: "learning";
|
|
2424
|
-
|
|
2743
|
+
new: "new";
|
|
2425
2744
|
relearning: "relearning";
|
|
2745
|
+
review: "review";
|
|
2426
2746
|
}>;
|
|
2427
2747
|
scheduleStatus: z.ZodEnum<{
|
|
2428
|
-
|
|
2748
|
+
buried: "buried";
|
|
2429
2749
|
learning: "learning";
|
|
2750
|
+
new: "new";
|
|
2430
2751
|
review: "review";
|
|
2431
2752
|
suspended: "suspended";
|
|
2432
|
-
buried: "buried";
|
|
2433
2753
|
}>;
|
|
2434
2754
|
dueAt: z.ZodCoercedDate<unknown>;
|
|
2435
2755
|
lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
@@ -2438,11 +2758,9 @@ declare const srsReviewOutputSchema: z.ZodObject<{
|
|
|
2438
2758
|
step: z.ZodNumber;
|
|
2439
2759
|
lapses: z.ZodNumber;
|
|
2440
2760
|
reps: z.ZodNumber;
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
templateId: z.ZodUUID;
|
|
2445
|
-
variantKey: z.ZodString;
|
|
2761
|
+
buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2762
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2763
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
2446
2764
|
}, z.core.$strip>;
|
|
2447
2765
|
revlog: z.ZodObject<{
|
|
2448
2766
|
id: z.ZodUUID;
|
|
@@ -2450,37 +2768,65 @@ declare const srsReviewOutputSchema: z.ZodObject<{
|
|
|
2450
2768
|
cardId: z.ZodUUID;
|
|
2451
2769
|
rating: z.ZodEnum<{
|
|
2452
2770
|
again: "again";
|
|
2453
|
-
hard: "hard";
|
|
2454
|
-
good: "good";
|
|
2455
2771
|
easy: "easy";
|
|
2772
|
+
good: "good";
|
|
2773
|
+
hard: "hard";
|
|
2456
2774
|
}>;
|
|
2457
2775
|
state: z.ZodEnum<{
|
|
2458
|
-
new: "new";
|
|
2459
2776
|
learning: "learning";
|
|
2460
|
-
|
|
2777
|
+
new: "new";
|
|
2461
2778
|
relearning: "relearning";
|
|
2779
|
+
review: "review";
|
|
2462
2780
|
}>;
|
|
2463
2781
|
stability: z.ZodNumber;
|
|
2464
2782
|
afterScheduleStatus: z.ZodEnum<{
|
|
2465
|
-
|
|
2783
|
+
buried: "buried";
|
|
2466
2784
|
learning: "learning";
|
|
2785
|
+
new: "new";
|
|
2467
2786
|
review: "review";
|
|
2468
2787
|
suspended: "suspended";
|
|
2469
|
-
buried: "buried";
|
|
2470
2788
|
}>;
|
|
2471
2789
|
afterStability: z.ZodNumber;
|
|
2472
2790
|
reviewedAt: z.ZodCoercedDate<unknown>;
|
|
2473
2791
|
durationMs: z.ZodNumber;
|
|
2474
|
-
fsrsReviewLogSnapshot: z.ZodObject<{
|
|
2792
|
+
fsrsReviewLogSnapshot: z.ZodPipe<z.ZodObject<{
|
|
2475
2793
|
rating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
|
|
2476
2794
|
state: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
2477
|
-
|
|
2795
|
+
scheduleStatus: z.ZodEnum<{
|
|
2796
|
+
learning: "learning";
|
|
2797
|
+
new: "new";
|
|
2798
|
+
review: "review";
|
|
2799
|
+
suspended: "suspended";
|
|
2800
|
+
}>;
|
|
2801
|
+
dueAt: z.ZodOptional<z.ZodString>;
|
|
2802
|
+
lastReviewAt: z.ZodNullable<z.ZodString>;
|
|
2478
2803
|
stability: z.ZodNumber;
|
|
2479
2804
|
difficulty: z.ZodNumber;
|
|
2480
|
-
scheduledDays: z.ZodNumber
|
|
2805
|
+
scheduledDays: z.ZodOptional<z.ZodNumber>;
|
|
2481
2806
|
learningSteps: z.ZodNumber;
|
|
2482
2807
|
review: z.ZodString;
|
|
2483
|
-
}, z.core.$strict
|
|
2808
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
2809
|
+
rating: 1 | 2 | 3 | 4;
|
|
2810
|
+
state: 0 | 1 | 2 | 3;
|
|
2811
|
+
scheduleStatus: "learning" | "new" | "review" | "suspended";
|
|
2812
|
+
dueAt?: string | undefined;
|
|
2813
|
+
lastReviewAt: string | null;
|
|
2814
|
+
stability: number;
|
|
2815
|
+
difficulty: number;
|
|
2816
|
+
learningSteps: number;
|
|
2817
|
+
review: string;
|
|
2818
|
+
}, {
|
|
2819
|
+
rating: 1 | 2 | 3 | 4;
|
|
2820
|
+
state: 0 | 1 | 2 | 3;
|
|
2821
|
+
scheduleStatus: "learning" | "new" | "review" | "suspended";
|
|
2822
|
+
dueAt?: string | undefined;
|
|
2823
|
+
lastReviewAt: string | null;
|
|
2824
|
+
stability: number;
|
|
2825
|
+
difficulty: number;
|
|
2826
|
+
scheduledDays?: number | undefined;
|
|
2827
|
+
learningSteps: number;
|
|
2828
|
+
review: string;
|
|
2829
|
+
}>>;
|
|
2484
2830
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2485
2831
|
}, z.core.$strip>;
|
|
2486
2832
|
txid: z.ZodNumber;
|
|
@@ -2489,21 +2835,23 @@ declare const srsReviewOutputSchema: z.ZodObject<{
|
|
|
2489
2835
|
type SrsReviewOutput = z.infer<typeof srsReviewOutputSchema>;
|
|
2490
2836
|
declare const srsRollbackReviewOutputSchema: z.ZodObject<{
|
|
2491
2837
|
card: z.ZodObject<{
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2838
|
+
notebaseId: z.ZodUUID;
|
|
2839
|
+
notebaseRowId: z.ZodUUID;
|
|
2840
|
+
templateId: z.ZodUUID;
|
|
2841
|
+
variantKey: z.ZodString;
|
|
2842
|
+
id: z.ZodUUID;
|
|
2495
2843
|
state: z.ZodEnum<{
|
|
2496
|
-
new: "new";
|
|
2497
2844
|
learning: "learning";
|
|
2498
|
-
|
|
2845
|
+
new: "new";
|
|
2499
2846
|
relearning: "relearning";
|
|
2847
|
+
review: "review";
|
|
2500
2848
|
}>;
|
|
2501
2849
|
scheduleStatus: z.ZodEnum<{
|
|
2502
|
-
|
|
2850
|
+
buried: "buried";
|
|
2503
2851
|
learning: "learning";
|
|
2852
|
+
new: "new";
|
|
2504
2853
|
review: "review";
|
|
2505
2854
|
suspended: "suspended";
|
|
2506
|
-
buried: "buried";
|
|
2507
2855
|
}>;
|
|
2508
2856
|
dueAt: z.ZodCoercedDate<unknown>;
|
|
2509
2857
|
lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
@@ -2512,11 +2860,9 @@ declare const srsRollbackReviewOutputSchema: z.ZodObject<{
|
|
|
2512
2860
|
step: z.ZodNumber;
|
|
2513
2861
|
lapses: z.ZodNumber;
|
|
2514
2862
|
reps: z.ZodNumber;
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
templateId: z.ZodUUID;
|
|
2519
|
-
variantKey: z.ZodString;
|
|
2863
|
+
buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2864
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2865
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
2520
2866
|
}, z.core.$strip>;
|
|
2521
2867
|
rolledBackRevlogId: z.ZodUUID;
|
|
2522
2868
|
txid: z.ZodNumber;
|
|
@@ -2534,6 +2880,29 @@ declare const srsSetCardSuspendedOutputSchema: z.ZodObject<{
|
|
|
2534
2880
|
txid: z.ZodNumber;
|
|
2535
2881
|
}, z.core.$strip>;
|
|
2536
2882
|
type SrsSetCardSuspendedOutput = SrsTxidOutput;
|
|
2883
|
+
declare const srsListUnreadOptimizerResultsInputSchema: z.ZodObject<{}, z.core.$strict>;
|
|
2884
|
+
declare const srsOptimizerUnreadResultSchema: z.ZodObject<{
|
|
2885
|
+
runId: z.ZodUUID;
|
|
2886
|
+
notebaseName: z.ZodString;
|
|
2887
|
+
revlogCount: z.ZodNumber;
|
|
2888
|
+
improvement: z.ZodNullable<z.ZodNumber>;
|
|
2889
|
+
}, z.core.$strict>;
|
|
2890
|
+
type SrsOptimizerUnreadResult = z.infer<typeof srsOptimizerUnreadResultSchema>;
|
|
2891
|
+
declare const srsListUnreadOptimizerResultsOutputSchema: z.ZodArray<z.ZodObject<{
|
|
2892
|
+
runId: z.ZodUUID;
|
|
2893
|
+
notebaseName: z.ZodString;
|
|
2894
|
+
revlogCount: z.ZodNumber;
|
|
2895
|
+
improvement: z.ZodNullable<z.ZodNumber>;
|
|
2896
|
+
}, z.core.$strict>>;
|
|
2897
|
+
type SrsListUnreadOptimizerResultsOutput = z.infer<typeof srsListUnreadOptimizerResultsOutputSchema>;
|
|
2898
|
+
declare const srsAcknowledgeOptimizerResultsInputSchema: z.ZodObject<{
|
|
2899
|
+
runIds: z.ZodArray<z.ZodUUID>;
|
|
2900
|
+
}, z.core.$strict>;
|
|
2901
|
+
type SrsAcknowledgeOptimizerResultsInput = z.infer<typeof srsAcknowledgeOptimizerResultsInputSchema>;
|
|
2902
|
+
declare const srsAcknowledgeOptimizerResultsOutputSchema: z.ZodObject<{
|
|
2903
|
+
acknowledgedCount: z.ZodNumber;
|
|
2904
|
+
}, z.core.$strict>;
|
|
2905
|
+
type SrsAcknowledgeOptimizerResultsOutput = z.infer<typeof srsAcknowledgeOptimizerResultsOutputSchema>;
|
|
2537
2906
|
//#endregion
|
|
2538
2907
|
//#region src/schemas/srs-stats.d.ts
|
|
2539
2908
|
declare const srsActivityStatsItemSchema: z.ZodObject<{
|
|
@@ -2612,10 +2981,10 @@ type UserUpdateTimezoneOutput = z.infer<typeof userUpdateTimezoneOutputSchema>;
|
|
|
2612
2981
|
//#endregion
|
|
2613
2982
|
//#region src/schemas/video-transcript.d.ts
|
|
2614
2983
|
declare const videoTranscriptStatusSchema: z.ZodEnum<{
|
|
2615
|
-
pending: "pending";
|
|
2616
|
-
processing: "processing";
|
|
2617
2984
|
completed: "completed";
|
|
2618
2985
|
failed: "failed";
|
|
2986
|
+
pending: "pending";
|
|
2987
|
+
processing: "processing";
|
|
2619
2988
|
}>;
|
|
2620
2989
|
type VideoTranscriptStatus = z.infer<typeof videoTranscriptStatusSchema>;
|
|
2621
2990
|
declare const videoTranscriptResourceSchema: z.ZodObject<{
|
|
@@ -2624,10 +2993,10 @@ declare const videoTranscriptResourceSchema: z.ZodObject<{
|
|
|
2624
2993
|
videoId: z.ZodString;
|
|
2625
2994
|
url: z.ZodString;
|
|
2626
2995
|
status: z.ZodEnum<{
|
|
2627
|
-
pending: "pending";
|
|
2628
|
-
processing: "processing";
|
|
2629
2996
|
completed: "completed";
|
|
2630
2997
|
failed: "failed";
|
|
2998
|
+
pending: "pending";
|
|
2999
|
+
processing: "processing";
|
|
2631
3000
|
}>;
|
|
2632
3001
|
title: z.ZodNullable<z.ZodString>;
|
|
2633
3002
|
durationSec: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2685,20 +3054,37 @@ declare const videoTranscriptUsageSchema: z.ZodObject<{
|
|
|
2685
3054
|
}, z.core.$strip>;
|
|
2686
3055
|
type VideoTranscriptUsage = z.infer<typeof videoTranscriptUsageSchema>;
|
|
2687
3056
|
//#endregion
|
|
3057
|
+
//#region src/schemas/pagination.d.ts
|
|
3058
|
+
declare const paginationShape: {
|
|
3059
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3060
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3061
|
+
};
|
|
3062
|
+
declare function pageSchema<T extends z.ZodType>(itemSchema: T): z.ZodObject<{
|
|
3063
|
+
items: z.ZodArray<T>;
|
|
3064
|
+
hasMore: z.ZodBoolean;
|
|
3065
|
+
}, z.core.$strip>;
|
|
3066
|
+
//#endregion
|
|
3067
|
+
//#region src/schemas/resource-mutation.d.ts
|
|
3068
|
+
declare const expectedUpdatedAtSchema: z.ZodISODateTime;
|
|
3069
|
+
declare const deletionResultSchema: z.ZodObject<{
|
|
3070
|
+
id: z.ZodUUID;
|
|
3071
|
+
txid: z.ZodNumber;
|
|
3072
|
+
}, z.core.$strip>;
|
|
3073
|
+
//#endregion
|
|
2688
3074
|
//#region src/index.d.ts
|
|
2689
3075
|
declare const contract: {
|
|
2690
3076
|
betaAccess: {
|
|
2691
3077
|
status: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2692
3078
|
featureKey: import("zod").ZodEnum<{
|
|
3079
|
+
ebook: "ebook";
|
|
2693
3080
|
notebase: "notebase";
|
|
2694
3081
|
videoTranscription: "videoTranscription";
|
|
2695
|
-
ebook: "ebook";
|
|
2696
3082
|
}>;
|
|
2697
3083
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
2698
3084
|
featureKey: import("zod").ZodEnum<{
|
|
3085
|
+
ebook: "ebook";
|
|
2699
3086
|
notebase: "notebase";
|
|
2700
3087
|
videoTranscription: "videoTranscription";
|
|
2701
|
-
ebook: "ebook";
|
|
2702
3088
|
}>;
|
|
2703
3089
|
allowed: import("zod").ZodBoolean;
|
|
2704
3090
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -2711,14 +3097,14 @@ declare const contract: {
|
|
|
2711
3097
|
ultra: "ultra";
|
|
2712
3098
|
}>;
|
|
2713
3099
|
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3100
|
+
active: "active";
|
|
3101
|
+
canceled: "canceled";
|
|
2714
3102
|
incomplete: "incomplete";
|
|
2715
3103
|
incomplete_expired: "incomplete_expired";
|
|
2716
|
-
trialing: "trialing";
|
|
2717
|
-
active: "active";
|
|
2718
3104
|
past_due: "past_due";
|
|
2719
|
-
canceled: "canceled";
|
|
2720
|
-
unpaid: "unpaid";
|
|
2721
3105
|
paused: "paused";
|
|
3106
|
+
trialing: "trialing";
|
|
3107
|
+
unpaid: "unpaid";
|
|
2722
3108
|
}>>;
|
|
2723
3109
|
interval: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2724
3110
|
month: "month";
|
|
@@ -2727,8 +3113,8 @@ declare const contract: {
|
|
|
2727
3113
|
currentPeriodEnd: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
2728
3114
|
cancelAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
2729
3115
|
accessSource: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2730
|
-
subscription: "subscription";
|
|
2731
3116
|
pass: "pass";
|
|
3117
|
+
subscription: "subscription";
|
|
2732
3118
|
}>>;
|
|
2733
3119
|
scheduledChange: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2734
3120
|
plan: import("zod").ZodEnum<{
|
|
@@ -2744,12 +3130,12 @@ declare const contract: {
|
|
|
2744
3130
|
unlimitedNotebaseNotes: import("zod").ZodBoolean;
|
|
2745
3131
|
notebaseNoteLimit: import("zod").ZodNumber;
|
|
2746
3132
|
notebaseNoteCount: import("zod").ZodNumber;
|
|
2747
|
-
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3133
|
+
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "BILLING_CHANGE_SCHEDULED" | "BILLING_CUSTOMER_NOT_FOUND" | "BILLING_NOT_CONFIGURED" | "BILLING_PASS_ACTIVE">>, Record<never, never>>;
|
|
2748
3134
|
createCheckoutSession: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2749
3135
|
currency: import("zod").ZodEnum<{
|
|
2750
|
-
usd: "usd";
|
|
2751
3136
|
cad: "cad";
|
|
2752
3137
|
cny: "cny";
|
|
3138
|
+
usd: "usd";
|
|
2753
3139
|
}>;
|
|
2754
3140
|
interval: import("zod").ZodEnum<{
|
|
2755
3141
|
month: "month";
|
|
@@ -2772,7 +3158,7 @@ declare const contract: {
|
|
|
2772
3158
|
}>>;
|
|
2773
3159
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
2774
3160
|
url: import("zod").ZodURL;
|
|
2775
|
-
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3161
|
+
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "BILLING_CHANGE_SCHEDULED" | "BILLING_CUSTOMER_NOT_FOUND" | "BILLING_NOT_CONFIGURED" | "BILLING_PASS_ACTIVE">>, Record<never, never>>;
|
|
2776
3162
|
createCustomerPortalSession: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2777
3163
|
locale: import("zod").ZodEnum<{
|
|
2778
3164
|
en: "en";
|
|
@@ -2787,67 +3173,82 @@ declare const contract: {
|
|
|
2787
3173
|
}>;
|
|
2788
3174
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
2789
3175
|
url: import("zod").ZodURL;
|
|
2790
|
-
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3176
|
+
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "BILLING_CHANGE_SCHEDULED" | "BILLING_CUSTOMER_NOT_FOUND" | "BILLING_NOT_CONFIGURED" | "BILLING_PASS_ACTIVE">>, Record<never, never>>;
|
|
2791
3177
|
cancelScheduledChange: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
2792
3178
|
success: import("zod").ZodLiteral<true>;
|
|
2793
|
-
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3179
|
+
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "BILLING_CHANGE_SCHEDULED" | "BILLING_CUSTOMER_NOT_FOUND" | "BILLING_NOT_CONFIGURED" | "BILLING_PASS_ACTIVE">>, Record<never, never>>;
|
|
2794
3180
|
};
|
|
2795
3181
|
card: {
|
|
2796
3182
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2797
|
-
notebaseId: import("zod").ZodUUID;
|
|
2798
|
-
templateId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2799
3183
|
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2800
3184
|
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
state: import("zod").ZodEnum<{
|
|
2806
|
-
new: "new";
|
|
3185
|
+
notebaseId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3186
|
+
templateId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3187
|
+
scheduleStatus: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3188
|
+
buried: "buried";
|
|
2807
3189
|
learning: "learning";
|
|
2808
|
-
review: "review";
|
|
2809
|
-
relearning: "relearning";
|
|
2810
|
-
}>;
|
|
2811
|
-
scheduleStatus: import("zod").ZodEnum<{
|
|
2812
3190
|
new: "new";
|
|
2813
|
-
learning: "learning";
|
|
2814
3191
|
review: "review";
|
|
2815
3192
|
suspended: "suspended";
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
3193
|
+
}>>;
|
|
3194
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3195
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3196
|
+
notebaseId: import("zod").ZodUUID;
|
|
3197
|
+
notebaseRowId: import("zod").ZodUUID;
|
|
3198
|
+
templateId: import("zod").ZodUUID;
|
|
3199
|
+
variantKey: import("zod").ZodString;
|
|
3200
|
+
id: import("zod").ZodUUID;
|
|
3201
|
+
state: import("zod").ZodEnum<{
|
|
3202
|
+
learning: "learning";
|
|
3203
|
+
new: "new";
|
|
3204
|
+
relearning: "relearning";
|
|
3205
|
+
review: "review";
|
|
3206
|
+
}>;
|
|
3207
|
+
scheduleStatus: import("zod").ZodEnum<{
|
|
3208
|
+
buried: "buried";
|
|
3209
|
+
learning: "learning";
|
|
3210
|
+
new: "new";
|
|
3211
|
+
review: "review";
|
|
3212
|
+
suspended: "suspended";
|
|
3213
|
+
}>;
|
|
3214
|
+
dueAt: import("zod").ZodCoercedDate<unknown>;
|
|
3215
|
+
lastReviewTime: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
3216
|
+
stability: import("zod").ZodNumber;
|
|
3217
|
+
difficulty: import("zod").ZodNumber;
|
|
3218
|
+
step: import("zod").ZodNumber;
|
|
3219
|
+
lapses: import("zod").ZodNumber;
|
|
3220
|
+
reps: import("zod").ZodNumber;
|
|
3221
|
+
buriedAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
3222
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
3223
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
3224
|
+
front: import("zod").ZodString;
|
|
3225
|
+
back: import("zod").ZodString;
|
|
3226
|
+
}, import("zod/v4/core").$strip>>;
|
|
3227
|
+
hasMore: import("zod").ZodBoolean;
|
|
3228
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, {
|
|
3229
|
+
summary: string;
|
|
3230
|
+
description: string;
|
|
3231
|
+
} & Record<never, never>>;
|
|
3232
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2825
3233
|
id: import("zod").ZodUUID;
|
|
3234
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2826
3235
|
notebaseId: import("zod").ZodUUID;
|
|
2827
3236
|
notebaseRowId: import("zod").ZodUUID;
|
|
2828
3237
|
templateId: import("zod").ZodUUID;
|
|
2829
3238
|
variantKey: import("zod").ZodString;
|
|
2830
|
-
front: import("zod").ZodString;
|
|
2831
|
-
back: import("zod").ZodString;
|
|
2832
|
-
}, import("zod/v4/core").$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
|
|
2833
|
-
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2834
3239
|
id: import("zod").ZodUUID;
|
|
2835
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2836
|
-
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
2837
|
-
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2838
|
-
buriedAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
2839
3240
|
state: import("zod").ZodEnum<{
|
|
2840
|
-
new: "new";
|
|
2841
3241
|
learning: "learning";
|
|
2842
|
-
|
|
3242
|
+
new: "new";
|
|
2843
3243
|
relearning: "relearning";
|
|
3244
|
+
review: "review";
|
|
2844
3245
|
}>;
|
|
2845
3246
|
scheduleStatus: import("zod").ZodEnum<{
|
|
2846
|
-
|
|
3247
|
+
buried: "buried";
|
|
2847
3248
|
learning: "learning";
|
|
3249
|
+
new: "new";
|
|
2848
3250
|
review: "review";
|
|
2849
3251
|
suspended: "suspended";
|
|
2850
|
-
buried: "buried";
|
|
2851
3252
|
}>;
|
|
2852
3253
|
dueAt: import("zod").ZodCoercedDate<unknown>;
|
|
2853
3254
|
lastReviewTime: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
@@ -2856,37 +3257,46 @@ declare const contract: {
|
|
|
2856
3257
|
step: import("zod").ZodNumber;
|
|
2857
3258
|
lapses: import("zod").ZodNumber;
|
|
2858
3259
|
reps: import("zod").ZodNumber;
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
templateId: import("zod").ZodUUID;
|
|
2863
|
-
variantKey: import("zod").ZodString;
|
|
3260
|
+
buriedAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
3261
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
3262
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2864
3263
|
front: import("zod").ZodString;
|
|
2865
3264
|
back: import("zod").ZodString;
|
|
2866
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_NOT_FOUND">>,
|
|
3265
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_NOT_FOUND">>, {
|
|
3266
|
+
summary: string;
|
|
3267
|
+
description: string;
|
|
3268
|
+
} & Record<never, never>>;
|
|
2867
3269
|
generate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2868
3270
|
notebaseId: import("zod").ZodUUID;
|
|
2869
3271
|
templateId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2870
3272
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2871
3273
|
created: import("zod").ZodNumber;
|
|
2872
3274
|
txid: import("zod").ZodNumber;
|
|
2873
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3275
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_TEMPLATE_NOT_FOUND" | "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
|
|
2874
3276
|
};
|
|
2875
3277
|
cardTemplate: {
|
|
2876
3278
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
3279
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3280
|
+
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3281
|
+
notebaseId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3282
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3283
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3284
|
+
id: import("zod").ZodUUID;
|
|
3285
|
+
notebaseId: import("zod").ZodUUID;
|
|
3286
|
+
name: import("zod").ZodString;
|
|
3287
|
+
config: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3288
|
+
type: import("zod").ZodLiteral<"basic">;
|
|
3289
|
+
frontPattern: import("zod").ZodString;
|
|
3290
|
+
backPattern: import("zod").ZodString;
|
|
3291
|
+
}, import("zod/v4/core").$strict>], "type">;
|
|
3292
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
3293
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
3294
|
+
}, import("zod/v4/core").$strip>>;
|
|
3295
|
+
hasMore: import("zod").ZodBoolean;
|
|
3296
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, {
|
|
3297
|
+
summary: string;
|
|
3298
|
+
description: string;
|
|
3299
|
+
} & Record<never, never>>;
|
|
2890
3300
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2891
3301
|
id: import("zod").ZodUUID;
|
|
2892
3302
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2900,7 +3310,10 @@ declare const contract: {
|
|
|
2900
3310
|
}, import("zod/v4/core").$strict>], "type">;
|
|
2901
3311
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
2902
3312
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2903
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_TEMPLATE_NOT_FOUND">>,
|
|
3313
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_TEMPLATE_NOT_FOUND">>, {
|
|
3314
|
+
summary: string;
|
|
3315
|
+
description: string;
|
|
3316
|
+
} & Record<never, never>>;
|
|
2904
3317
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2905
3318
|
id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2906
3319
|
notebaseId: import("zod").ZodUUID;
|
|
@@ -2922,8 +3335,12 @@ declare const contract: {
|
|
|
2922
3335
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
2923
3336
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2924
3337
|
txid: import("zod").ZodNumber;
|
|
2925
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3338
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_TEMPLATE_INVALID_NOTEBASE_COLUMNS" | "NOTEBASE_NOT_FOUND">>, Pick<import("@orpc/contract").ErrorMap, "RESOURCE_ALREADY_EXISTS">>, {
|
|
3339
|
+
summary: string;
|
|
3340
|
+
description: string;
|
|
3341
|
+
} & Record<never, never>>;
|
|
2926
3342
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3343
|
+
expectedUpdatedAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
2927
3344
|
id: import("zod").ZodUUID;
|
|
2928
3345
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2929
3346
|
config: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -2943,12 +3360,19 @@ declare const contract: {
|
|
|
2943
3360
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
2944
3361
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2945
3362
|
txid: import("zod").ZodNumber;
|
|
2946
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3363
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_TEMPLATE_INVALID_NOTEBASE_COLUMNS" | "CARD_TEMPLATE_NOT_FOUND">>, Pick<import("@orpc/contract").ErrorMap, "RESOURCE_UPDATE_CONFLICT">>, {
|
|
3364
|
+
summary: string;
|
|
3365
|
+
description: string;
|
|
3366
|
+
} & Record<never, never>>;
|
|
2947
3367
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2948
3368
|
id: import("zod").ZodUUID;
|
|
2949
3369
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3370
|
+
id: import("zod").ZodUUID;
|
|
2950
3371
|
txid: import("zod").ZodNumber;
|
|
2951
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_TEMPLATE_NOT_FOUND">>,
|
|
3372
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_TEMPLATE_NOT_FOUND">>, {
|
|
3373
|
+
summary: string;
|
|
3374
|
+
description: string;
|
|
3375
|
+
} & Record<never, never>>;
|
|
2952
3376
|
};
|
|
2953
3377
|
ebook: {
|
|
2954
3378
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
@@ -3034,7 +3458,7 @@ declare const contract: {
|
|
|
3034
3458
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
3035
3459
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
3036
3460
|
}, import("zod/v4/core").$strict>;
|
|
3037
|
-
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "EBOOK_BETA_RESTRICTED" | "
|
|
3461
|
+
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "EBOOK_BETA_RESTRICTED" | "EBOOK_FILE_TOO_LARGE" | "EBOOK_NOT_FOUND" | "EBOOK_UPLOAD_NOT_COMPLETED">>, Record<never, never>>;
|
|
3038
3462
|
getDownloadUrl: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3039
3463
|
id: import("zod").ZodUUID;
|
|
3040
3464
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
@@ -3086,13 +3510,13 @@ declare const contract: {
|
|
|
3086
3510
|
usedPercent: import("zod").ZodNumber;
|
|
3087
3511
|
resetAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
3088
3512
|
features: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
3089
|
-
pageTranslation: "pageTranslation";
|
|
3090
3513
|
customAction: "customAction";
|
|
3514
|
+
inputTranslation: "inputTranslation";
|
|
3515
|
+
languageDetection: "languageDetection";
|
|
3091
3516
|
noteSuggestion: "noteSuggestion";
|
|
3517
|
+
pageTranslation: "pageTranslation";
|
|
3092
3518
|
selectionTranslation: "selectionTranslation";
|
|
3093
3519
|
videoSubtitles: "videoSubtitles";
|
|
3094
|
-
inputTranslation: "inputTranslation";
|
|
3095
|
-
languageDetection: "languageDetection";
|
|
3096
3520
|
}>>;
|
|
3097
3521
|
}, import("zod/v4/core").$strict>>;
|
|
3098
3522
|
features: import("zod").ZodObject<{
|
|
@@ -3102,9 +3526,9 @@ declare const contract: {
|
|
|
3102
3526
|
available: import("zod").ZodBoolean;
|
|
3103
3527
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3104
3528
|
authentication_required: "authentication_required";
|
|
3105
|
-
ultra_required: "ultra_required";
|
|
3106
3529
|
quota_exhausted: "quota_exhausted";
|
|
3107
3530
|
service_unavailable: "service_unavailable";
|
|
3531
|
+
ultra_required: "ultra_required";
|
|
3108
3532
|
}>>;
|
|
3109
3533
|
requiresUltra: import("zod").ZodBoolean;
|
|
3110
3534
|
modelRevision: import("zod").ZodString;
|
|
@@ -3114,9 +3538,9 @@ declare const contract: {
|
|
|
3114
3538
|
available: import("zod").ZodBoolean;
|
|
3115
3539
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3116
3540
|
authentication_required: "authentication_required";
|
|
3117
|
-
ultra_required: "ultra_required";
|
|
3118
3541
|
quota_exhausted: "quota_exhausted";
|
|
3119
3542
|
service_unavailable: "service_unavailable";
|
|
3543
|
+
ultra_required: "ultra_required";
|
|
3120
3544
|
}>>;
|
|
3121
3545
|
requiresUltra: import("zod").ZodBoolean;
|
|
3122
3546
|
modelRevision: import("zod").ZodString;
|
|
@@ -3128,9 +3552,9 @@ declare const contract: {
|
|
|
3128
3552
|
available: import("zod").ZodBoolean;
|
|
3129
3553
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3130
3554
|
authentication_required: "authentication_required";
|
|
3131
|
-
ultra_required: "ultra_required";
|
|
3132
3555
|
quota_exhausted: "quota_exhausted";
|
|
3133
3556
|
service_unavailable: "service_unavailable";
|
|
3557
|
+
ultra_required: "ultra_required";
|
|
3134
3558
|
}>>;
|
|
3135
3559
|
requiresUltra: import("zod").ZodBoolean;
|
|
3136
3560
|
modelRevision: import("zod").ZodString;
|
|
@@ -3140,9 +3564,9 @@ declare const contract: {
|
|
|
3140
3564
|
available: import("zod").ZodBoolean;
|
|
3141
3565
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3142
3566
|
authentication_required: "authentication_required";
|
|
3143
|
-
ultra_required: "ultra_required";
|
|
3144
3567
|
quota_exhausted: "quota_exhausted";
|
|
3145
3568
|
service_unavailable: "service_unavailable";
|
|
3569
|
+
ultra_required: "ultra_required";
|
|
3146
3570
|
}>>;
|
|
3147
3571
|
requiresUltra: import("zod").ZodBoolean;
|
|
3148
3572
|
modelRevision: import("zod").ZodString;
|
|
@@ -3154,9 +3578,9 @@ declare const contract: {
|
|
|
3154
3578
|
available: import("zod").ZodBoolean;
|
|
3155
3579
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3156
3580
|
authentication_required: "authentication_required";
|
|
3157
|
-
ultra_required: "ultra_required";
|
|
3158
3581
|
quota_exhausted: "quota_exhausted";
|
|
3159
3582
|
service_unavailable: "service_unavailable";
|
|
3583
|
+
ultra_required: "ultra_required";
|
|
3160
3584
|
}>>;
|
|
3161
3585
|
requiresUltra: import("zod").ZodBoolean;
|
|
3162
3586
|
modelRevision: import("zod").ZodString;
|
|
@@ -3166,9 +3590,9 @@ declare const contract: {
|
|
|
3166
3590
|
available: import("zod").ZodBoolean;
|
|
3167
3591
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3168
3592
|
authentication_required: "authentication_required";
|
|
3169
|
-
ultra_required: "ultra_required";
|
|
3170
3593
|
quota_exhausted: "quota_exhausted";
|
|
3171
3594
|
service_unavailable: "service_unavailable";
|
|
3595
|
+
ultra_required: "ultra_required";
|
|
3172
3596
|
}>>;
|
|
3173
3597
|
requiresUltra: import("zod").ZodBoolean;
|
|
3174
3598
|
modelRevision: import("zod").ZodString;
|
|
@@ -3180,9 +3604,9 @@ declare const contract: {
|
|
|
3180
3604
|
available: import("zod").ZodBoolean;
|
|
3181
3605
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3182
3606
|
authentication_required: "authentication_required";
|
|
3183
|
-
ultra_required: "ultra_required";
|
|
3184
3607
|
quota_exhausted: "quota_exhausted";
|
|
3185
3608
|
service_unavailable: "service_unavailable";
|
|
3609
|
+
ultra_required: "ultra_required";
|
|
3186
3610
|
}>>;
|
|
3187
3611
|
requiresUltra: import("zod").ZodBoolean;
|
|
3188
3612
|
modelRevision: import("zod").ZodString;
|
|
@@ -3192,9 +3616,9 @@ declare const contract: {
|
|
|
3192
3616
|
available: import("zod").ZodBoolean;
|
|
3193
3617
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3194
3618
|
authentication_required: "authentication_required";
|
|
3195
|
-
ultra_required: "ultra_required";
|
|
3196
3619
|
quota_exhausted: "quota_exhausted";
|
|
3197
3620
|
service_unavailable: "service_unavailable";
|
|
3621
|
+
ultra_required: "ultra_required";
|
|
3198
3622
|
}>>;
|
|
3199
3623
|
requiresUltra: import("zod").ZodBoolean;
|
|
3200
3624
|
modelRevision: import("zod").ZodString;
|
|
@@ -3206,9 +3630,9 @@ declare const contract: {
|
|
|
3206
3630
|
available: import("zod").ZodBoolean;
|
|
3207
3631
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3208
3632
|
authentication_required: "authentication_required";
|
|
3209
|
-
ultra_required: "ultra_required";
|
|
3210
3633
|
quota_exhausted: "quota_exhausted";
|
|
3211
3634
|
service_unavailable: "service_unavailable";
|
|
3635
|
+
ultra_required: "ultra_required";
|
|
3212
3636
|
}>>;
|
|
3213
3637
|
requiresUltra: import("zod").ZodBoolean;
|
|
3214
3638
|
modelRevision: import("zod").ZodString;
|
|
@@ -3218,9 +3642,9 @@ declare const contract: {
|
|
|
3218
3642
|
available: import("zod").ZodBoolean;
|
|
3219
3643
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3220
3644
|
authentication_required: "authentication_required";
|
|
3221
|
-
ultra_required: "ultra_required";
|
|
3222
3645
|
quota_exhausted: "quota_exhausted";
|
|
3223
3646
|
service_unavailable: "service_unavailable";
|
|
3647
|
+
ultra_required: "ultra_required";
|
|
3224
3648
|
}>>;
|
|
3225
3649
|
requiresUltra: import("zod").ZodBoolean;
|
|
3226
3650
|
modelRevision: import("zod").ZodString;
|
|
@@ -3232,9 +3656,9 @@ declare const contract: {
|
|
|
3232
3656
|
available: import("zod").ZodBoolean;
|
|
3233
3657
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3234
3658
|
authentication_required: "authentication_required";
|
|
3235
|
-
ultra_required: "ultra_required";
|
|
3236
3659
|
quota_exhausted: "quota_exhausted";
|
|
3237
3660
|
service_unavailable: "service_unavailable";
|
|
3661
|
+
ultra_required: "ultra_required";
|
|
3238
3662
|
}>>;
|
|
3239
3663
|
requiresUltra: import("zod").ZodBoolean;
|
|
3240
3664
|
modelRevision: import("zod").ZodString;
|
|
@@ -3244,9 +3668,9 @@ declare const contract: {
|
|
|
3244
3668
|
available: import("zod").ZodBoolean;
|
|
3245
3669
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3246
3670
|
authentication_required: "authentication_required";
|
|
3247
|
-
ultra_required: "ultra_required";
|
|
3248
3671
|
quota_exhausted: "quota_exhausted";
|
|
3249
3672
|
service_unavailable: "service_unavailable";
|
|
3673
|
+
ultra_required: "ultra_required";
|
|
3250
3674
|
}>>;
|
|
3251
3675
|
requiresUltra: import("zod").ZodBoolean;
|
|
3252
3676
|
modelRevision: import("zod").ZodString;
|
|
@@ -3258,9 +3682,9 @@ declare const contract: {
|
|
|
3258
3682
|
available: import("zod").ZodBoolean;
|
|
3259
3683
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3260
3684
|
authentication_required: "authentication_required";
|
|
3261
|
-
ultra_required: "ultra_required";
|
|
3262
3685
|
quota_exhausted: "quota_exhausted";
|
|
3263
3686
|
service_unavailable: "service_unavailable";
|
|
3687
|
+
ultra_required: "ultra_required";
|
|
3264
3688
|
}>>;
|
|
3265
3689
|
requiresUltra: import("zod").ZodBoolean;
|
|
3266
3690
|
modelRevision: import("zod").ZodString;
|
|
@@ -3270,9 +3694,9 @@ declare const contract: {
|
|
|
3270
3694
|
available: import("zod").ZodBoolean;
|
|
3271
3695
|
unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
3272
3696
|
authentication_required: "authentication_required";
|
|
3273
|
-
ultra_required: "ultra_required";
|
|
3274
3697
|
quota_exhausted: "quota_exhausted";
|
|
3275
3698
|
service_unavailable: "service_unavailable";
|
|
3699
|
+
ultra_required: "ultra_required";
|
|
3276
3700
|
}>>;
|
|
3277
3701
|
requiresUltra: import("zod").ZodBoolean;
|
|
3278
3702
|
modelRevision: import("zod").ZodString;
|
|
@@ -3282,159 +3706,190 @@ declare const contract: {
|
|
|
3282
3706
|
}, import("zod/v4/core").$strict>, Record<never, never>, Record<never, never>>;
|
|
3283
3707
|
translate: {
|
|
3284
3708
|
streamText: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3285
|
-
instructions: import("zod").ZodString;
|
|
3286
|
-
prompt: import("zod").ZodString;
|
|
3287
|
-
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3288
3709
|
modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3289
|
-
normal: "normal";
|
|
3290
3710
|
advance: "advance";
|
|
3711
|
+
normal: "normal";
|
|
3291
3712
|
}>>;
|
|
3292
3713
|
requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3714
|
+
instructions: import("zod").ZodString;
|
|
3715
|
+
prompt: import("zod").ZodString;
|
|
3716
|
+
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3293
3717
|
}, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
3294
3718
|
[x: string]: unknown;
|
|
3295
3719
|
type: string;
|
|
3296
3720
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3297
3721
|
[x: string]: unknown;
|
|
3298
3722
|
type: string;
|
|
3299
|
-
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3723
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_QUOTA_EXHAUSTED" | "HOSTED_AI_TIER_RESTRICTED">>, Record<never, never>>;
|
|
3300
3724
|
};
|
|
3301
3725
|
selectionTranslation: {
|
|
3302
3726
|
streamText: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3303
|
-
instructions: import("zod").ZodString;
|
|
3304
|
-
prompt: import("zod").ZodString;
|
|
3305
|
-
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3306
3727
|
modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3307
|
-
normal: "normal";
|
|
3308
3728
|
advance: "advance";
|
|
3729
|
+
normal: "normal";
|
|
3309
3730
|
}>>;
|
|
3310
3731
|
requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3732
|
+
instructions: import("zod").ZodString;
|
|
3733
|
+
prompt: import("zod").ZodString;
|
|
3734
|
+
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3311
3735
|
}, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
3312
3736
|
[x: string]: unknown;
|
|
3313
3737
|
type: string;
|
|
3314
3738
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3315
3739
|
[x: string]: unknown;
|
|
3316
3740
|
type: string;
|
|
3317
|
-
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3741
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_QUOTA_EXHAUSTED" | "HOSTED_AI_TIER_RESTRICTED">>, Record<never, never>>;
|
|
3318
3742
|
};
|
|
3319
3743
|
videoSubtitles: {
|
|
3320
3744
|
streamText: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3321
|
-
instructions: import("zod").ZodString;
|
|
3322
|
-
prompt: import("zod").ZodString;
|
|
3323
|
-
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3324
3745
|
modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3325
|
-
normal: "normal";
|
|
3326
3746
|
advance: "advance";
|
|
3747
|
+
normal: "normal";
|
|
3327
3748
|
}>>;
|
|
3328
3749
|
requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3750
|
+
instructions: import("zod").ZodString;
|
|
3751
|
+
prompt: import("zod").ZodString;
|
|
3752
|
+
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3329
3753
|
}, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
3330
3754
|
[x: string]: unknown;
|
|
3331
3755
|
type: string;
|
|
3332
3756
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3333
3757
|
[x: string]: unknown;
|
|
3334
3758
|
type: string;
|
|
3335
|
-
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3759
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_QUOTA_EXHAUSTED" | "HOSTED_AI_TIER_RESTRICTED">>, Record<never, never>>;
|
|
3336
3760
|
streamSegmentation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3337
|
-
instructions: import("zod").ZodString;
|
|
3338
|
-
prompt: import("zod").ZodString;
|
|
3339
|
-
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3340
3761
|
modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3341
|
-
normal: "normal";
|
|
3342
3762
|
advance: "advance";
|
|
3763
|
+
normal: "normal";
|
|
3343
3764
|
}>>;
|
|
3344
3765
|
requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3766
|
+
instructions: import("zod").ZodString;
|
|
3767
|
+
prompt: import("zod").ZodString;
|
|
3768
|
+
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3345
3769
|
}, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
3346
3770
|
[x: string]: unknown;
|
|
3347
3771
|
type: string;
|
|
3348
3772
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3349
3773
|
[x: string]: unknown;
|
|
3350
3774
|
type: string;
|
|
3351
|
-
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3775
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_QUOTA_EXHAUSTED" | "HOSTED_AI_TIER_RESTRICTED">>, Record<never, never>>;
|
|
3352
3776
|
};
|
|
3353
3777
|
inputTranslation: {
|
|
3354
3778
|
streamText: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3355
|
-
instructions: import("zod").ZodString;
|
|
3356
|
-
prompt: import("zod").ZodString;
|
|
3357
|
-
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3358
3779
|
modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3359
|
-
normal: "normal";
|
|
3360
3780
|
advance: "advance";
|
|
3781
|
+
normal: "normal";
|
|
3361
3782
|
}>>;
|
|
3362
3783
|
requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3784
|
+
instructions: import("zod").ZodString;
|
|
3785
|
+
prompt: import("zod").ZodString;
|
|
3786
|
+
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3363
3787
|
}, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
3364
3788
|
[x: string]: unknown;
|
|
3365
3789
|
type: string;
|
|
3366
3790
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3367
3791
|
[x: string]: unknown;
|
|
3368
3792
|
type: string;
|
|
3369
|
-
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3793
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_QUOTA_EXHAUSTED" | "HOSTED_AI_TIER_RESTRICTED">>, Record<never, never>>;
|
|
3370
3794
|
};
|
|
3371
3795
|
languageDetection: {
|
|
3372
3796
|
streamText: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3373
|
-
instructions: import("zod").ZodString;
|
|
3374
|
-
prompt: import("zod").ZodString;
|
|
3375
|
-
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3376
3797
|
modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3377
|
-
normal: "normal";
|
|
3378
3798
|
advance: "advance";
|
|
3799
|
+
normal: "normal";
|
|
3379
3800
|
}>>;
|
|
3380
3801
|
requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3802
|
+
instructions: import("zod").ZodString;
|
|
3803
|
+
prompt: import("zod").ZodString;
|
|
3804
|
+
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3381
3805
|
}, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
3382
3806
|
[x: string]: unknown;
|
|
3383
3807
|
type: string;
|
|
3384
3808
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3385
3809
|
[x: string]: unknown;
|
|
3386
3810
|
type: string;
|
|
3387
|
-
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3811
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_QUOTA_EXHAUSTED" | "HOSTED_AI_TIER_RESTRICTED">>, Record<never, never>>;
|
|
3388
3812
|
};
|
|
3389
3813
|
customAction: {
|
|
3390
3814
|
streamStructuredObject: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3815
|
+
modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3816
|
+
advance: "advance";
|
|
3817
|
+
normal: "normal";
|
|
3818
|
+
}>>;
|
|
3819
|
+
requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3391
3820
|
instructions: import("zod").ZodString;
|
|
3392
3821
|
prompt: import("zod").ZodString;
|
|
3393
3822
|
outputSchema: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3394
3823
|
name: import("zod").ZodString;
|
|
3395
3824
|
type: import("zod").ZodEnum<{
|
|
3396
|
-
string: "string";
|
|
3397
3825
|
number: "number";
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
normal: "normal";
|
|
3403
|
-
advance: "advance";
|
|
3404
|
-
}>>;
|
|
3405
|
-
requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3826
|
+
string: "string";
|
|
3827
|
+
}>;
|
|
3828
|
+
}, import("zod/v4/core").$strict>>;
|
|
3829
|
+
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3406
3830
|
}, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
3407
3831
|
[x: string]: unknown;
|
|
3408
3832
|
type: string;
|
|
3409
3833
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3410
3834
|
[x: string]: unknown;
|
|
3411
3835
|
type: string;
|
|
3412
|
-
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3836
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_QUOTA_EXHAUSTED" | "HOSTED_AI_TIER_RESTRICTED">>, Record<never, never>>;
|
|
3413
3837
|
};
|
|
3414
3838
|
noteSuggestion: {
|
|
3415
3839
|
streamStructuredObject: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3416
|
-
instructions: import("zod").ZodString;
|
|
3417
|
-
prompt: import("zod").ZodString;
|
|
3418
|
-
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3419
3840
|
modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3420
|
-
normal: "normal";
|
|
3421
3841
|
advance: "advance";
|
|
3842
|
+
normal: "normal";
|
|
3422
3843
|
}>>;
|
|
3423
3844
|
requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3845
|
+
instructions: import("zod").ZodString;
|
|
3846
|
+
prompt: import("zod").ZodString;
|
|
3847
|
+
temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3424
3848
|
}, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
3425
3849
|
[x: string]: unknown;
|
|
3426
3850
|
type: string;
|
|
3427
3851
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3428
3852
|
[x: string]: unknown;
|
|
3429
3853
|
type: string;
|
|
3430
|
-
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
3854
|
+
}, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_QUOTA_EXHAUSTED" | "HOSTED_AI_TIER_RESTRICTED">>, Record<never, never>>;
|
|
3431
3855
|
};
|
|
3432
3856
|
};
|
|
3857
|
+
mcpConnection: {
|
|
3858
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodArray<import("zod").ZodObject<{
|
|
3859
|
+
clientId: import("zod").ZodString;
|
|
3860
|
+
clientName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3861
|
+
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
3862
|
+
requestedUserInfoClaims: import("zod").ZodArray<import("zod").ZodString>;
|
|
3863
|
+
grantedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
3864
|
+
updatedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
3865
|
+
lastAuthorizedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
3866
|
+
}, import("zod/v4/core").$strict>>, Record<never, never>, Record<never, never>>;
|
|
3867
|
+
revoke: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3868
|
+
clientId: import("zod").ZodString;
|
|
3869
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3870
|
+
clientId: import("zod").ZodString;
|
|
3871
|
+
}, import("zod/v4/core").$strict>, Record<never, never>, Record<never, never>>;
|
|
3872
|
+
};
|
|
3433
3873
|
notebase: {
|
|
3434
3874
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
|
|
3435
3875
|
id: import("zod").ZodString;
|
|
3436
3876
|
name: import("zod").ZodString;
|
|
3437
|
-
}, import("zod/v4/core").$strip>>, Record<never, never>,
|
|
3877
|
+
}, import("zod/v4/core").$strip>>, Record<never, never>, {
|
|
3878
|
+
summary: string;
|
|
3879
|
+
description: string;
|
|
3880
|
+
} & Record<never, never>>;
|
|
3881
|
+
getSummary: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3882
|
+
id: import("zod").ZodUUID;
|
|
3883
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3884
|
+
id: import("zod").ZodString;
|
|
3885
|
+
name: import("zod").ZodString;
|
|
3886
|
+
srsNewPerDay: import("zod").ZodNumber;
|
|
3887
|
+
srsReviewsPerDay: import("zod").ZodNumber;
|
|
3888
|
+
srsDesiredRetention: import("zod").ZodNumber;
|
|
3889
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, {
|
|
3890
|
+
summary: string;
|
|
3891
|
+
description: string;
|
|
3892
|
+
} & Record<never, never>>;
|
|
3438
3893
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3439
3894
|
id: import("zod").ZodUUID;
|
|
3440
3895
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3446,8 +3901,8 @@ declare const contract: {
|
|
|
3446
3901
|
srsDesiredRetention: import("zod").ZodNumber;
|
|
3447
3902
|
srsEnableShortTerm: import("zod").ZodBoolean;
|
|
3448
3903
|
srsMaximumInterval: import("zod").ZodNumber;
|
|
3449
|
-
srsLearningSteps: import("zod").ZodArray<import("zod").ZodTemplateLiteral<`${number}
|
|
3450
|
-
srsRelearningSteps: import("zod").ZodArray<import("zod").ZodTemplateLiteral<`${number}
|
|
3904
|
+
srsLearningSteps: import("zod").ZodArray<import("zod").ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
3905
|
+
srsRelearningSteps: import("zod").ZodArray<import("zod").ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
3451
3906
|
srsLeechThreshold: import("zod").ZodNumber;
|
|
3452
3907
|
srsEnableFuzz: import("zod").ZodBoolean;
|
|
3453
3908
|
srsWeights: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber>>;
|
|
@@ -3463,8 +3918,8 @@ declare const contract: {
|
|
|
3463
3918
|
type: import("zod").ZodLiteral<"number">;
|
|
3464
3919
|
decimal: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
3465
3920
|
format: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3466
|
-
number: "number";
|
|
3467
3921
|
currency: "currency";
|
|
3922
|
+
number: "number";
|
|
3468
3923
|
percent: "percent";
|
|
3469
3924
|
}>>;
|
|
3470
3925
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3500,9 +3955,9 @@ declare const contract: {
|
|
|
3500
3955
|
notebaseId: import("zod").ZodString;
|
|
3501
3956
|
name: import("zod").ZodString;
|
|
3502
3957
|
type: import("zod").ZodEnum<{
|
|
3503
|
-
table: "table";
|
|
3504
|
-
kanban: "kanban";
|
|
3505
3958
|
gallery: "gallery";
|
|
3959
|
+
kanban: "kanban";
|
|
3960
|
+
table: "table";
|
|
3506
3961
|
}>;
|
|
3507
3962
|
config: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3508
3963
|
notebaseColumnWidths: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>>;
|
|
@@ -3532,8 +3987,8 @@ declare const contract: {
|
|
|
3532
3987
|
type: import("zod").ZodLiteral<"number">;
|
|
3533
3988
|
decimal: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
3534
3989
|
format: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3535
|
-
number: "number";
|
|
3536
3990
|
currency: "currency";
|
|
3991
|
+
number: "number";
|
|
3537
3992
|
percent: "percent";
|
|
3538
3993
|
}>>;
|
|
3539
3994
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3556,7 +4011,10 @@ declare const contract: {
|
|
|
3556
4011
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
3557
4012
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
3558
4013
|
}, import("zod/v4/core").$strip>>;
|
|
3559
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>,
|
|
4014
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, {
|
|
4015
|
+
summary: string;
|
|
4016
|
+
description: string;
|
|
4017
|
+
} & Record<never, never>>;
|
|
3560
4018
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3561
4019
|
id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3562
4020
|
name: import("zod").ZodString;
|
|
@@ -3570,8 +4028,8 @@ declare const contract: {
|
|
|
3570
4028
|
type: import("zod").ZodLiteral<"number">;
|
|
3571
4029
|
decimal: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
3572
4030
|
format: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3573
|
-
number: "number";
|
|
3574
4031
|
currency: "currency";
|
|
4032
|
+
number: "number";
|
|
3575
4033
|
percent: "percent";
|
|
3576
4034
|
}>>;
|
|
3577
4035
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3598,8 +4056,28 @@ declare const contract: {
|
|
|
3598
4056
|
}, import("zod/v4/core").$strict>>>;
|
|
3599
4057
|
}, import("zod/v4/core").$strict>>;
|
|
3600
4058
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
4059
|
+
notebase: import("zod").ZodObject<{
|
|
4060
|
+
id: import("zod").ZodString;
|
|
4061
|
+
userId: import("zod").ZodString;
|
|
4062
|
+
name: import("zod").ZodString;
|
|
4063
|
+
srsNewPerDay: import("zod").ZodNumber;
|
|
4064
|
+
srsReviewsPerDay: import("zod").ZodNumber;
|
|
4065
|
+
srsDesiredRetention: import("zod").ZodNumber;
|
|
4066
|
+
srsEnableShortTerm: import("zod").ZodBoolean;
|
|
4067
|
+
srsMaximumInterval: import("zod").ZodNumber;
|
|
4068
|
+
srsLearningSteps: import("zod").ZodArray<import("zod").ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
4069
|
+
srsRelearningSteps: import("zod").ZodArray<import("zod").ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
4070
|
+
srsLeechThreshold: import("zod").ZodNumber;
|
|
4071
|
+
srsEnableFuzz: import("zod").ZodBoolean;
|
|
4072
|
+
srsWeights: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber>>;
|
|
4073
|
+
createdAt: import("zod").ZodDate;
|
|
4074
|
+
updatedAt: import("zod").ZodDate;
|
|
4075
|
+
}, import("zod/v4/core").$strip>;
|
|
3601
4076
|
txid: import("zod").ZodNumber;
|
|
3602
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4077
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CELL_VALIDATION_FAILED" | "NOTE_LIMIT_EXCEEDED">>, Pick<import("@orpc/contract").ErrorMap, "RESOURCE_ALREADY_EXISTS">>, {
|
|
4078
|
+
summary: string;
|
|
4079
|
+
description: string;
|
|
4080
|
+
} & Record<never, never>>;
|
|
3603
4081
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3604
4082
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3605
4083
|
srsNewPerDay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -3607,13 +4085,37 @@ declare const contract: {
|
|
|
3607
4085
|
srsDesiredRetention: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3608
4086
|
id: import("zod").ZodUUID;
|
|
3609
4087
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
4088
|
+
notebase: import("zod").ZodObject<{
|
|
4089
|
+
id: import("zod").ZodString;
|
|
4090
|
+
userId: import("zod").ZodString;
|
|
4091
|
+
name: import("zod").ZodString;
|
|
4092
|
+
srsNewPerDay: import("zod").ZodNumber;
|
|
4093
|
+
srsReviewsPerDay: import("zod").ZodNumber;
|
|
4094
|
+
srsDesiredRetention: import("zod").ZodNumber;
|
|
4095
|
+
srsEnableShortTerm: import("zod").ZodBoolean;
|
|
4096
|
+
srsMaximumInterval: import("zod").ZodNumber;
|
|
4097
|
+
srsLearningSteps: import("zod").ZodArray<import("zod").ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
4098
|
+
srsRelearningSteps: import("zod").ZodArray<import("zod").ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>>;
|
|
4099
|
+
srsLeechThreshold: import("zod").ZodNumber;
|
|
4100
|
+
srsEnableFuzz: import("zod").ZodBoolean;
|
|
4101
|
+
srsWeights: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber>>;
|
|
4102
|
+
createdAt: import("zod").ZodDate;
|
|
4103
|
+
updatedAt: import("zod").ZodDate;
|
|
4104
|
+
}, import("zod/v4/core").$strip>;
|
|
3610
4105
|
txid: import("zod").ZodNumber;
|
|
3611
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>,
|
|
4106
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, {
|
|
4107
|
+
summary: string;
|
|
4108
|
+
description: string;
|
|
4109
|
+
} & Record<never, never>>;
|
|
3612
4110
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3613
4111
|
id: import("zod").ZodUUID;
|
|
3614
4112
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4113
|
+
id: import("zod").ZodUUID;
|
|
3615
4114
|
txid: import("zod").ZodNumber;
|
|
3616
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>,
|
|
4115
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, {
|
|
4116
|
+
summary: string;
|
|
4117
|
+
description: string;
|
|
4118
|
+
} & Record<never, never>>;
|
|
3617
4119
|
};
|
|
3618
4120
|
notebaseColumn: {
|
|
3619
4121
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -3627,8 +4129,8 @@ declare const contract: {
|
|
|
3627
4129
|
type: import("zod").ZodLiteral<"number">;
|
|
3628
4130
|
decimal: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
3629
4131
|
format: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3630
|
-
number: "number";
|
|
3631
4132
|
currency: "currency";
|
|
4133
|
+
number: "number";
|
|
3632
4134
|
percent: "percent";
|
|
3633
4135
|
}>>;
|
|
3634
4136
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3646,11 +4148,49 @@ declare const contract: {
|
|
|
3646
4148
|
}, import("zod/v4/core").$strip>], "type">;
|
|
3647
4149
|
}, import("zod/v4/core").$strict>;
|
|
3648
4150
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4151
|
+
field: import("zod").ZodObject<{
|
|
4152
|
+
id: import("zod").ZodString;
|
|
4153
|
+
notebaseId: import("zod").ZodString;
|
|
4154
|
+
name: import("zod").ZodString;
|
|
4155
|
+
config: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
4156
|
+
type: import("zod").ZodLiteral<"string">;
|
|
4157
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4158
|
+
type: import("zod").ZodLiteral<"number">;
|
|
4159
|
+
decimal: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
4160
|
+
format: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
4161
|
+
currency: "currency";
|
|
4162
|
+
number: "number";
|
|
4163
|
+
percent: "percent";
|
|
4164
|
+
}>>;
|
|
4165
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4166
|
+
type: import("zod").ZodLiteral<"boolean">;
|
|
4167
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4168
|
+
type: import("zod").ZodLiteral<"date">;
|
|
4169
|
+
dateFormat: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4170
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4171
|
+
type: import("zod").ZodLiteral<"select">;
|
|
4172
|
+
options: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
4173
|
+
id: import("zod").ZodString;
|
|
4174
|
+
value: import("zod").ZodString;
|
|
4175
|
+
color: import("zod").ZodString;
|
|
4176
|
+
}, import("zod/v4/core").$strip>>>;
|
|
4177
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
4178
|
+
position: import("zod").ZodNumber;
|
|
4179
|
+
isPrimary: import("zod").ZodBoolean;
|
|
4180
|
+
width: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4181
|
+
wrap: import("zod").ZodBoolean;
|
|
4182
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
4183
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
4184
|
+
}, import("zod/v4/core").$strip>;
|
|
3649
4185
|
txid: import("zod").ZodNumber;
|
|
3650
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4186
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CONCURRENT_POSITION_CONFLICT" | "NOTEBASE_NOT_FOUND">>, Pick<import("@orpc/contract").ErrorMap, "RESOURCE_ALREADY_EXISTS">>, {
|
|
4187
|
+
summary: string;
|
|
4188
|
+
description: string;
|
|
4189
|
+
} & Record<never, never>>;
|
|
3651
4190
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3652
4191
|
notebaseColumnId: import("zod").ZodUUID;
|
|
3653
4192
|
data: import("zod").ZodObject<{
|
|
4193
|
+
expectedUpdatedAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
3654
4194
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3655
4195
|
config: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3656
4196
|
type: import("zod").ZodLiteral<"string">;
|
|
@@ -3658,8 +4198,8 @@ declare const contract: {
|
|
|
3658
4198
|
type: import("zod").ZodLiteral<"number">;
|
|
3659
4199
|
decimal: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
3660
4200
|
format: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3661
|
-
number: "number";
|
|
3662
4201
|
currency: "currency";
|
|
4202
|
+
number: "number";
|
|
3663
4203
|
percent: "percent";
|
|
3664
4204
|
}>>;
|
|
3665
4205
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3679,21 +4219,94 @@ declare const contract: {
|
|
|
3679
4219
|
wrap: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3680
4220
|
}, import("zod/v4/core").$strict>;
|
|
3681
4221
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4222
|
+
field: import("zod").ZodObject<{
|
|
4223
|
+
id: import("zod").ZodString;
|
|
4224
|
+
notebaseId: import("zod").ZodString;
|
|
4225
|
+
name: import("zod").ZodString;
|
|
4226
|
+
config: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
4227
|
+
type: import("zod").ZodLiteral<"string">;
|
|
4228
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4229
|
+
type: import("zod").ZodLiteral<"number">;
|
|
4230
|
+
decimal: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
4231
|
+
format: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
4232
|
+
currency: "currency";
|
|
4233
|
+
number: "number";
|
|
4234
|
+
percent: "percent";
|
|
4235
|
+
}>>;
|
|
4236
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4237
|
+
type: import("zod").ZodLiteral<"boolean">;
|
|
4238
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4239
|
+
type: import("zod").ZodLiteral<"date">;
|
|
4240
|
+
dateFormat: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4241
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4242
|
+
type: import("zod").ZodLiteral<"select">;
|
|
4243
|
+
options: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
4244
|
+
id: import("zod").ZodString;
|
|
4245
|
+
value: import("zod").ZodString;
|
|
4246
|
+
color: import("zod").ZodString;
|
|
4247
|
+
}, import("zod/v4/core").$strip>>>;
|
|
4248
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
4249
|
+
position: import("zod").ZodNumber;
|
|
4250
|
+
isPrimary: import("zod").ZodBoolean;
|
|
4251
|
+
width: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4252
|
+
wrap: import("zod").ZodBoolean;
|
|
4253
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
4254
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
4255
|
+
}, import("zod/v4/core").$strip>;
|
|
3682
4256
|
txid: import("zod").ZodNumber;
|
|
3683
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_COLUMN_NOT_FOUND">>,
|
|
4257
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_COLUMN_NOT_FOUND">>, Pick<import("@orpc/contract").ErrorMap, "FIELD_TYPE_CHANGE_UNSUPPORTED" | "RESOURCE_UPDATE_CONFLICT">>, {
|
|
4258
|
+
summary: string;
|
|
4259
|
+
description: string;
|
|
4260
|
+
} & Record<never, never>>;
|
|
3684
4261
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3685
4262
|
notebaseColumnId: import("zod").ZodUUID;
|
|
3686
4263
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4264
|
+
id: import("zod").ZodUUID;
|
|
3687
4265
|
txid: import("zod").ZodNumber;
|
|
3688
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4266
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_TEMPLATE_NOTEBASE_COLUMN_IN_USE" | "CONCURRENT_POSITION_CONFLICT" | "NOTEBASE_COLUMN_NOT_FOUND" | "PRIMARY_NOTEBASE_COLUMN_DELETE_NOT_ALLOWED">>, {
|
|
4267
|
+
summary: string;
|
|
4268
|
+
description: string;
|
|
4269
|
+
} & Record<never, never>>;
|
|
3689
4270
|
reorder: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3690
4271
|
notebaseId: import("zod").ZodUUID;
|
|
3691
4272
|
ids: import("zod").ZodArray<import("zod").ZodUUID>;
|
|
3692
4273
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3693
4274
|
txid: import("zod").ZodNumber;
|
|
3694
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4275
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CONCURRENT_POSITION_CONFLICT" | "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
|
|
3695
4276
|
};
|
|
3696
4277
|
notebaseRow: {
|
|
4278
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
4279
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4280
|
+
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4281
|
+
notebaseId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
4282
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4283
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4284
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4285
|
+
id: import("zod").ZodString;
|
|
4286
|
+
notebaseId: import("zod").ZodString;
|
|
4287
|
+
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
4288
|
+
position: import("zod").ZodNumber;
|
|
4289
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
4290
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
4291
|
+
}, import("zod/v4/core").$strip>>;
|
|
4292
|
+
hasMore: import("zod").ZodBoolean;
|
|
4293
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, {
|
|
4294
|
+
summary: string;
|
|
4295
|
+
description: string;
|
|
4296
|
+
} & Record<never, never>>;
|
|
4297
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
4298
|
+
id: import("zod").ZodUUID;
|
|
4299
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4300
|
+
id: import("zod").ZodString;
|
|
4301
|
+
notebaseId: import("zod").ZodString;
|
|
4302
|
+
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
4303
|
+
position: import("zod").ZodNumber;
|
|
4304
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
4305
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
4306
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_ROW_NOT_FOUND">>, {
|
|
4307
|
+
summary: string;
|
|
4308
|
+
description: string;
|
|
4309
|
+
} & Record<never, never>>;
|
|
3697
4310
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3698
4311
|
notebaseId: import("zod").ZodUUID;
|
|
3699
4312
|
data: import("zod").ZodObject<{
|
|
@@ -3701,8 +4314,19 @@ declare const contract: {
|
|
|
3701
4314
|
cells: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
3702
4315
|
}, import("zod/v4/core").$strict>;
|
|
3703
4316
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4317
|
+
note: import("zod").ZodObject<{
|
|
4318
|
+
id: import("zod").ZodString;
|
|
4319
|
+
notebaseId: import("zod").ZodString;
|
|
4320
|
+
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
4321
|
+
position: import("zod").ZodNumber;
|
|
4322
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
4323
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
4324
|
+
}, import("zod/v4/core").$strip>;
|
|
3704
4325
|
txid: import("zod").ZodNumber;
|
|
3705
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4326
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CELL_VALIDATION_FAILED" | "CONCURRENT_POSITION_CONFLICT" | "NOTEBASE_NOT_FOUND" | "NOTE_LIMIT_EXCEEDED">>, Pick<import("@orpc/contract").ErrorMap, "RESOURCE_ALREADY_EXISTS">>, {
|
|
4327
|
+
summary: string;
|
|
4328
|
+
description: string;
|
|
4329
|
+
} & Record<never, never>>;
|
|
3706
4330
|
createMany: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3707
4331
|
notebaseId: import("zod").ZodUUID;
|
|
3708
4332
|
rows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -3710,12 +4334,24 @@ declare const contract: {
|
|
|
3710
4334
|
cells: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
3711
4335
|
}, import("zod/v4/core").$strict>>;
|
|
3712
4336
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4337
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4338
|
+
id: import("zod").ZodString;
|
|
4339
|
+
notebaseId: import("zod").ZodString;
|
|
4340
|
+
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
4341
|
+
position: import("zod").ZodNumber;
|
|
4342
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
4343
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
4344
|
+
}, import("zod/v4/core").$strip>>;
|
|
3713
4345
|
txid: import("zod").ZodNumber;
|
|
3714
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4346
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CELL_VALIDATION_FAILED" | "CONCURRENT_POSITION_CONFLICT" | "NOTEBASE_NOT_FOUND" | "NOTE_LIMIT_EXCEEDED">>, Pick<import("@orpc/contract").ErrorMap, "RESOURCE_ALREADY_EXISTS">>, {
|
|
4347
|
+
summary: string;
|
|
4348
|
+
description: string;
|
|
4349
|
+
} & Record<never, never>>;
|
|
3715
4350
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3716
4351
|
notebaseRowId: import("zod").ZodUUID;
|
|
3717
4352
|
data: import("zod").ZodObject<{
|
|
3718
4353
|
cells: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
4354
|
+
expectedUpdatedAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
3719
4355
|
}, import("zod/v4/core").$strict>;
|
|
3720
4356
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3721
4357
|
id: import("zod").ZodUUID;
|
|
@@ -3725,89 +4361,119 @@ declare const contract: {
|
|
|
3725
4361
|
createdAt: import("zod").ZodDate;
|
|
3726
4362
|
updatedAt: import("zod").ZodDate;
|
|
3727
4363
|
txid: import("zod").ZodNumber;
|
|
3728
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4364
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CELL_VALIDATION_FAILED" | "NOTEBASE_ROW_NOT_FOUND">>, Pick<import("@orpc/contract").ErrorMap, "RESOURCE_UPDATE_CONFLICT">>, {
|
|
4365
|
+
summary: string;
|
|
4366
|
+
description: string;
|
|
4367
|
+
} & Record<never, never>>;
|
|
3729
4368
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3730
4369
|
notebaseRowId: import("zod").ZodUUID;
|
|
3731
4370
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4371
|
+
id: import("zod").ZodUUID;
|
|
3732
4372
|
txid: import("zod").ZodNumber;
|
|
3733
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4373
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CONCURRENT_POSITION_CONFLICT" | "NOTEBASE_ROW_NOT_FOUND">>, {
|
|
4374
|
+
summary: string;
|
|
4375
|
+
description: string;
|
|
4376
|
+
} & Record<never, never>>;
|
|
3734
4377
|
reorder: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3735
4378
|
notebaseId: import("zod").ZodUUID;
|
|
3736
4379
|
ids: import("zod").ZodArray<import("zod").ZodUUID>;
|
|
3737
4380
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3738
4381
|
txid: import("zod").ZodNumber;
|
|
3739
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4382
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CONCURRENT_POSITION_CONFLICT" | "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
|
|
3740
4383
|
};
|
|
3741
4384
|
srs: {
|
|
3742
4385
|
scheduleStatusStats: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3743
4386
|
notebaseIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUUID>>;
|
|
3744
4387
|
timezone: import("zod").ZodString;
|
|
3745
4388
|
}, import("zod/v4/core").$strict>, import("zod").ZodRecord<import("zod").ZodUUID, import("zod").ZodRecord<import("zod").ZodEnum<{
|
|
3746
|
-
new: "new";
|
|
3747
4389
|
learning: "learning";
|
|
4390
|
+
new: "new";
|
|
3748
4391
|
review: "review";
|
|
3749
|
-
}>, import("zod").ZodNumber>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>,
|
|
4392
|
+
}>, import("zod").ZodNumber>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, {
|
|
4393
|
+
summary: string;
|
|
4394
|
+
description: string;
|
|
4395
|
+
} & Record<never, never>>;
|
|
4396
|
+
listUnreadOptimizerResults: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{}, import("zod/v4/core").$strict>, import("zod").ZodArray<import("zod").ZodObject<{
|
|
4397
|
+
runId: import("zod").ZodUUID;
|
|
4398
|
+
notebaseName: import("zod").ZodString;
|
|
4399
|
+
revlogCount: import("zod").ZodNumber;
|
|
4400
|
+
improvement: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4401
|
+
}, import("zod/v4/core").$strict>>, Record<never, never>, Record<never, never>>;
|
|
4402
|
+
acknowledgeOptimizerResults: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
4403
|
+
runIds: import("zod").ZodArray<import("zod").ZodUUID>;
|
|
4404
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
4405
|
+
acknowledgedCount: import("zod").ZodNumber;
|
|
4406
|
+
}, import("zod/v4/core").$strict>, Record<never, never>, Record<never, never>>;
|
|
3750
4407
|
listCardRevlogs: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3751
|
-
|
|
4408
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4409
|
+
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4410
|
+
notebaseId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
4411
|
+
cardId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3752
4412
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3753
4413
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3754
4414
|
id: import("zod").ZodUUID;
|
|
3755
4415
|
notebaseId: import("zod").ZodUUID;
|
|
3756
|
-
state: import("zod").ZodEnum<{
|
|
3757
|
-
new: "new";
|
|
3758
|
-
learning: "learning";
|
|
3759
|
-
review: "review";
|
|
3760
|
-
relearning: "relearning";
|
|
3761
|
-
}>;
|
|
3762
|
-
stability: import("zod").ZodNumber;
|
|
3763
|
-
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
3764
4416
|
cardId: import("zod").ZodUUID;
|
|
3765
4417
|
rating: import("zod").ZodEnum<{
|
|
3766
4418
|
again: "again";
|
|
3767
|
-
hard: "hard";
|
|
3768
|
-
good: "good";
|
|
3769
4419
|
easy: "easy";
|
|
4420
|
+
good: "good";
|
|
4421
|
+
hard: "hard";
|
|
3770
4422
|
}>;
|
|
3771
|
-
|
|
4423
|
+
state: import("zod").ZodEnum<{
|
|
4424
|
+
learning: "learning";
|
|
3772
4425
|
new: "new";
|
|
4426
|
+
relearning: "relearning";
|
|
4427
|
+
review: "review";
|
|
4428
|
+
}>;
|
|
4429
|
+
stability: import("zod").ZodNumber;
|
|
4430
|
+
afterScheduleStatus: import("zod").ZodEnum<{
|
|
4431
|
+
buried: "buried";
|
|
3773
4432
|
learning: "learning";
|
|
4433
|
+
new: "new";
|
|
3774
4434
|
review: "review";
|
|
3775
4435
|
suspended: "suspended";
|
|
3776
|
-
buried: "buried";
|
|
3777
4436
|
}>;
|
|
3778
4437
|
afterStability: import("zod").ZodNumber;
|
|
3779
4438
|
reviewedAt: import("zod").ZodCoercedDate<unknown>;
|
|
3780
4439
|
durationMs: import("zod").ZodNumber;
|
|
4440
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
3781
4441
|
}, import("zod/v4/core").$strip>>;
|
|
3782
|
-
|
|
4442
|
+
hasMore: import("zod").ZodBoolean;
|
|
4443
|
+
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_NOT_FOUND" | "NOTEBASE_NOT_FOUND">>, {
|
|
4444
|
+
summary: string;
|
|
4445
|
+
description: string;
|
|
4446
|
+
} & Record<never, never>>;
|
|
3783
4447
|
review: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3784
4448
|
cardId: import("zod").ZodUUID;
|
|
3785
4449
|
id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3786
4450
|
rating: import("zod").ZodEnum<{
|
|
3787
4451
|
again: "again";
|
|
3788
|
-
hard: "hard";
|
|
3789
|
-
good: "good";
|
|
3790
4452
|
easy: "easy";
|
|
4453
|
+
good: "good";
|
|
4454
|
+
hard: "hard";
|
|
3791
4455
|
}>;
|
|
3792
4456
|
durationMs: import("zod").ZodNumber;
|
|
3793
4457
|
timezone: import("zod").ZodString;
|
|
3794
4458
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3795
4459
|
card: import("zod").ZodObject<{
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
4460
|
+
notebaseId: import("zod").ZodUUID;
|
|
4461
|
+
notebaseRowId: import("zod").ZodUUID;
|
|
4462
|
+
templateId: import("zod").ZodUUID;
|
|
4463
|
+
variantKey: import("zod").ZodString;
|
|
4464
|
+
id: import("zod").ZodUUID;
|
|
3799
4465
|
state: import("zod").ZodEnum<{
|
|
3800
|
-
new: "new";
|
|
3801
4466
|
learning: "learning";
|
|
3802
|
-
|
|
4467
|
+
new: "new";
|
|
3803
4468
|
relearning: "relearning";
|
|
4469
|
+
review: "review";
|
|
3804
4470
|
}>;
|
|
3805
4471
|
scheduleStatus: import("zod").ZodEnum<{
|
|
3806
|
-
|
|
4472
|
+
buried: "buried";
|
|
3807
4473
|
learning: "learning";
|
|
4474
|
+
new: "new";
|
|
3808
4475
|
review: "review";
|
|
3809
4476
|
suspended: "suspended";
|
|
3810
|
-
buried: "buried";
|
|
3811
4477
|
}>;
|
|
3812
4478
|
dueAt: import("zod").ZodCoercedDate<unknown>;
|
|
3813
4479
|
lastReviewTime: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
@@ -3816,11 +4482,9 @@ declare const contract: {
|
|
|
3816
4482
|
step: import("zod").ZodNumber;
|
|
3817
4483
|
lapses: import("zod").ZodNumber;
|
|
3818
4484
|
reps: import("zod").ZodNumber;
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
templateId: import("zod").ZodUUID;
|
|
3823
|
-
variantKey: import("zod").ZodString;
|
|
4485
|
+
buriedAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
4486
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
4487
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
3824
4488
|
}, import("zod/v4/core").$strip>;
|
|
3825
4489
|
revlog: import("zod").ZodObject<{
|
|
3826
4490
|
id: import("zod").ZodUUID;
|
|
@@ -3828,61 +4492,95 @@ declare const contract: {
|
|
|
3828
4492
|
cardId: import("zod").ZodUUID;
|
|
3829
4493
|
rating: import("zod").ZodEnum<{
|
|
3830
4494
|
again: "again";
|
|
3831
|
-
hard: "hard";
|
|
3832
|
-
good: "good";
|
|
3833
4495
|
easy: "easy";
|
|
4496
|
+
good: "good";
|
|
4497
|
+
hard: "hard";
|
|
3834
4498
|
}>;
|
|
3835
4499
|
state: import("zod").ZodEnum<{
|
|
3836
|
-
new: "new";
|
|
3837
4500
|
learning: "learning";
|
|
3838
|
-
|
|
4501
|
+
new: "new";
|
|
3839
4502
|
relearning: "relearning";
|
|
4503
|
+
review: "review";
|
|
3840
4504
|
}>;
|
|
3841
4505
|
stability: import("zod").ZodNumber;
|
|
3842
4506
|
afterScheduleStatus: import("zod").ZodEnum<{
|
|
3843
|
-
|
|
4507
|
+
buried: "buried";
|
|
3844
4508
|
learning: "learning";
|
|
4509
|
+
new: "new";
|
|
3845
4510
|
review: "review";
|
|
3846
4511
|
suspended: "suspended";
|
|
3847
|
-
buried: "buried";
|
|
3848
4512
|
}>;
|
|
3849
4513
|
afterStability: import("zod").ZodNumber;
|
|
3850
4514
|
reviewedAt: import("zod").ZodCoercedDate<unknown>;
|
|
3851
4515
|
durationMs: import("zod").ZodNumber;
|
|
3852
|
-
fsrsReviewLogSnapshot: import("zod").ZodObject<{
|
|
4516
|
+
fsrsReviewLogSnapshot: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
3853
4517
|
rating: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>, import("zod").ZodLiteral<4>]>;
|
|
3854
4518
|
state: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<0>, import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
|
3855
|
-
|
|
4519
|
+
scheduleStatus: import("zod").ZodEnum<{
|
|
4520
|
+
learning: "learning";
|
|
4521
|
+
new: "new";
|
|
4522
|
+
review: "review";
|
|
4523
|
+
suspended: "suspended";
|
|
4524
|
+
}>;
|
|
4525
|
+
dueAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4526
|
+
lastReviewAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3856
4527
|
stability: import("zod").ZodNumber;
|
|
3857
4528
|
difficulty: import("zod").ZodNumber;
|
|
3858
|
-
scheduledDays: import("zod").ZodNumber
|
|
4529
|
+
scheduledDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3859
4530
|
learningSteps: import("zod").ZodNumber;
|
|
3860
4531
|
review: import("zod").ZodString;
|
|
3861
|
-
}, import("zod/v4/core").$strict
|
|
4532
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<{
|
|
4533
|
+
rating: 1 | 2 | 3 | 4;
|
|
4534
|
+
state: 0 | 1 | 2 | 3;
|
|
4535
|
+
scheduleStatus: "learning" | "new" | "review" | "suspended";
|
|
4536
|
+
dueAt?: string | undefined;
|
|
4537
|
+
lastReviewAt: string | null;
|
|
4538
|
+
stability: number;
|
|
4539
|
+
difficulty: number;
|
|
4540
|
+
learningSteps: number;
|
|
4541
|
+
review: string;
|
|
4542
|
+
}, {
|
|
4543
|
+
rating: 1 | 2 | 3 | 4;
|
|
4544
|
+
state: 0 | 1 | 2 | 3;
|
|
4545
|
+
scheduleStatus: "learning" | "new" | "review" | "suspended";
|
|
4546
|
+
dueAt?: string | undefined;
|
|
4547
|
+
lastReviewAt: string | null;
|
|
4548
|
+
stability: number;
|
|
4549
|
+
difficulty: number;
|
|
4550
|
+
scheduledDays?: number | undefined;
|
|
4551
|
+
learningSteps: number;
|
|
4552
|
+
review: string;
|
|
4553
|
+
}>>;
|
|
3862
4554
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
3863
4555
|
}, import("zod/v4/core").$strip>;
|
|
3864
4556
|
txid: import("zod").ZodNumber;
|
|
3865
4557
|
created: import("zod").ZodBoolean;
|
|
3866
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_NOT_FOUND" | "CARD_NOT_REVIEWABLE" | "CARD_REVIEW_STATE_STALE">>,
|
|
4558
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_NOT_FOUND" | "CARD_NOT_REVIEWABLE" | "CARD_REVIEW_STATE_STALE">>, {
|
|
4559
|
+
summary: string;
|
|
4560
|
+
description: string;
|
|
4561
|
+
} & Record<never, never>>;
|
|
3867
4562
|
rollbackReview: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
4563
|
+
expectedReviewId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3868
4564
|
cardId: import("zod").ZodUUID;
|
|
3869
4565
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3870
4566
|
card: import("zod").ZodObject<{
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
4567
|
+
notebaseId: import("zod").ZodUUID;
|
|
4568
|
+
notebaseRowId: import("zod").ZodUUID;
|
|
4569
|
+
templateId: import("zod").ZodUUID;
|
|
4570
|
+
variantKey: import("zod").ZodString;
|
|
4571
|
+
id: import("zod").ZodUUID;
|
|
3874
4572
|
state: import("zod").ZodEnum<{
|
|
3875
|
-
new: "new";
|
|
3876
4573
|
learning: "learning";
|
|
3877
|
-
|
|
4574
|
+
new: "new";
|
|
3878
4575
|
relearning: "relearning";
|
|
4576
|
+
review: "review";
|
|
3879
4577
|
}>;
|
|
3880
4578
|
scheduleStatus: import("zod").ZodEnum<{
|
|
3881
|
-
|
|
4579
|
+
buried: "buried";
|
|
3882
4580
|
learning: "learning";
|
|
4581
|
+
new: "new";
|
|
3883
4582
|
review: "review";
|
|
3884
4583
|
suspended: "suspended";
|
|
3885
|
-
buried: "buried";
|
|
3886
4584
|
}>;
|
|
3887
4585
|
dueAt: import("zod").ZodCoercedDate<unknown>;
|
|
3888
4586
|
lastReviewTime: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
@@ -3891,27 +4589,34 @@ declare const contract: {
|
|
|
3891
4589
|
step: import("zod").ZodNumber;
|
|
3892
4590
|
lapses: import("zod").ZodNumber;
|
|
3893
4591
|
reps: import("zod").ZodNumber;
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
templateId: import("zod").ZodUUID;
|
|
3898
|
-
variantKey: import("zod").ZodString;
|
|
4592
|
+
buriedAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
4593
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
4594
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
3899
4595
|
}, import("zod/v4/core").$strip>;
|
|
3900
4596
|
rolledBackRevlogId: import("zod").ZodUUID;
|
|
3901
4597
|
txid: import("zod").ZodNumber;
|
|
3902
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_NOT_FOUND" | "CARD_REVIEW_ROLLBACK_UNAVAILABLE">>,
|
|
4598
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_NOT_FOUND" | "CARD_REVIEW_ROLLBACK_UNAVAILABLE" | "CARD_REVIEW_STATE_STALE">>, {
|
|
4599
|
+
summary: string;
|
|
4600
|
+
description: string;
|
|
4601
|
+
} & Record<never, never>>;
|
|
3903
4602
|
setCardBuried: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3904
4603
|
cardId: import("zod").ZodUUID;
|
|
3905
4604
|
enabled: import("zod").ZodBoolean;
|
|
3906
4605
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3907
4606
|
txid: import("zod").ZodNumber;
|
|
3908
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4607
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_ALREADY_BURIED" | "CARD_NOT_BURIED" | "CARD_NOT_FOUND" | "CARD_STATUS_CHANGE_UNAVAILABLE">>, {
|
|
4608
|
+
summary: string;
|
|
4609
|
+
description: string;
|
|
4610
|
+
} & Record<never, never>>;
|
|
3909
4611
|
setCardSuspended: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3910
4612
|
cardId: import("zod").ZodUUID;
|
|
3911
4613
|
enabled: import("zod").ZodBoolean;
|
|
3912
4614
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3913
4615
|
txid: import("zod").ZodNumber;
|
|
3914
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4616
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_ALREADY_SUSPENDED" | "CARD_NOT_FOUND" | "CARD_NOT_SUSPENDED" | "CARD_STATUS_CHANGE_UNAVAILABLE">>, {
|
|
4617
|
+
summary: string;
|
|
4618
|
+
description: string;
|
|
4619
|
+
} & Record<never, never>>;
|
|
3915
4620
|
};
|
|
3916
4621
|
stats: {
|
|
3917
4622
|
activity: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -3983,10 +4688,10 @@ declare const contract: {
|
|
|
3983
4688
|
videoId: import("zod").ZodString;
|
|
3984
4689
|
url: import("zod").ZodString;
|
|
3985
4690
|
status: import("zod").ZodEnum<{
|
|
3986
|
-
pending: "pending";
|
|
3987
|
-
processing: "processing";
|
|
3988
4691
|
completed: "completed";
|
|
3989
4692
|
failed: "failed";
|
|
4693
|
+
pending: "pending";
|
|
4694
|
+
processing: "processing";
|
|
3990
4695
|
}>;
|
|
3991
4696
|
title: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3992
4697
|
durationSec: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -3994,7 +4699,7 @@ declare const contract: {
|
|
|
3994
4699
|
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3995
4700
|
createdAt: import("zod").ZodDate;
|
|
3996
4701
|
updatedAt: import("zod").ZodDate;
|
|
3997
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "
|
|
4702
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "VIDEO_TRANSCRIPTION_PAYMENT_REQUIRED" | "VIDEO_TRANSCRIPTION_QUOTA_EXCEEDED" | "VIDEO_TRANSCRIPTION_SUBSCRIPTION_REQUIRED" | "VIDEO_TRANSCRIPTION_UNSUPPORTED_LENGTH">>, Record<never, never>>;
|
|
3998
4703
|
getUsage: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
3999
4704
|
usedMinutes: import("zod").ZodNumber;
|
|
4000
4705
|
limitMinutes: import("zod").ZodNumber;
|
|
@@ -4021,10 +4726,10 @@ declare const contract: {
|
|
|
4021
4726
|
videoId: import("zod").ZodString;
|
|
4022
4727
|
url: import("zod").ZodString;
|
|
4023
4728
|
status: import("zod").ZodEnum<{
|
|
4024
|
-
pending: "pending";
|
|
4025
|
-
processing: "processing";
|
|
4026
4729
|
completed: "completed";
|
|
4027
4730
|
failed: "failed";
|
|
4731
|
+
pending: "pending";
|
|
4732
|
+
processing: "processing";
|
|
4028
4733
|
}>;
|
|
4029
4734
|
title: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4030
4735
|
durationSec: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -4048,5 +4753,5 @@ declare const contract: {
|
|
|
4048
4753
|
};
|
|
4049
4754
|
type ORPCRouterClient = ContractRouterClient<typeof contract>;
|
|
4050
4755
|
//#endregion
|
|
4051
|
-
export { ActivityStatsOutput, BetaAccessStatusInput, BetaAccessStatusInputSchema, BetaAccessStatusOutput, BetaAccessStatusOutputSchema, BetaFeatureKey, BetaFeatureKeySchema, BillingAccessSource, BillingCancelScheduledChangeOutput, BillingCheckoutPlan, BillingCreateCheckoutSessionInput, BillingCreateCustomerPortalSessionInput, BillingCurrency, BillingInterval, BillingLocale, BillingPlan, BillingScheduledChange, BillingSessionUrlOutput, BillingStatus, BillingSubscriptionStatus, Card, CardGenerateInput, CardGenerateInputSchema, CardGenerateOutput, CardGenerateOutputSchema, CardGetInput, CardGetInputSchema, CardGetOutput, CardGetOutputSchema, CardListInput, CardListInputSchema, CardListOutput, CardListOutputSchema, type CardState, CardTemplate, CardTemplateCreateInput, CardTemplateCreateInputSchema, CardTemplateCreateOutput, CardTemplateCreateOutputSchema, CardTemplateDeleteInput, CardTemplateDeleteInputSchema, CardTemplateDeleteOutput, CardTemplateDeleteOutputSchema, CardTemplateGetInput, CardTemplateGetInputSchema, CardTemplateGetOutput, CardTemplateGetOutputSchema, CardTemplateInvalidColumnsData, CardTemplateInvalidColumnsDataSchema, CardTemplateListInput, CardTemplateListInputSchema, CardTemplateListOutput, CardTemplateListOutputSchema, CardTemplateUpdateInput, CardTemplateUpdateInputSchema, CardTemplateUpdateOutput, CardTemplateUpdateOutputSchema, CellValidationFailedData, CellValidationFailedDataSchema, CellValidationFailureDetails, CellValidationFailureDetailsSchema, CellValidationFailureReason, CellValidationFailureReasonSchema, EbookCoverContentType, EbookDeleteInput, EbookDeleteOutput, EbookDetail, EbookFinalizeUploadInput, EbookFinalizeUploadOutput, EbookGetDownloadUrlInput, EbookGetDownloadUrlOutput, EbookGetInput, EbookGetOutput, EbookListInput, EbookListItem, EbookListOutput, EbookPresignedPost, EbookQuota, EbookRenameData, EbookRenameInput, EbookRenameOutput, EbookRequestUploadInput, EbookRequestUploadOutput, EbookStatus, EbookUpdateProgressData, EbookUpdateProgressInput, EbookUpdateProgressOutput, HOSTED_AI_CLIENT_STREAM_PART_TYPES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS, HostedAiCreditPeriodKind, HostedAiCreditPeriodKindSchema, HostedAiCreditPolicyId, HostedAiCreditPolicyIdSchema, HostedAiCreditStatus, HostedAiCreditStatusSchema, HostedAiFeature, HostedAiFeatureSchema, HostedAiFeatureStatus, HostedAiFeatureStatusSchema, HostedAiModelTier, HostedAiModelTierSchema, HostedAiNoteSuggestionObject, HostedAiNoteSuggestionObjectSchema, HostedAiNoteSuggestionStreamInput, HostedAiNoteSuggestionStreamInputSchema, HostedAiOutputField, HostedAiOutputFieldSchema, HostedAiOutputFieldType, HostedAiOutputFieldTypeSchema, HostedAiQuotaExhaustedDataSchema, HostedAiQuotaScope, HostedAiQuotaScopeSchema, HostedAiRateLimitErrorData, HostedAiRateLimitErrorDataSchema, HostedAiRequestIdSchema, HostedAiStatusInput, HostedAiStatusInputSchema, HostedAiStatusOutput, HostedAiStatusOutputSchema, HostedAiStreamPart, HostedAiStreamPartSchema, HostedAiStreamStructuredObjectInput, HostedAiStreamStructuredObjectInputSchema, HostedAiStreamTextInput, HostedAiStreamTextInputSchema, HostedAiTierRestrictedDataSchema, HostedAiTierStatus, HostedAiTierStatusSchema, HostedAiUnavailableReason, HostedAiUnavailableReasonSchema, NOTEBASE_ROW_CREATE_MANY_MAX_ROWS, Notebase, NotebaseActivityStatsItem, NotebaseActivityStatsOutput, NotebaseColumn, NotebaseColumnCreateData, NotebaseColumnCreateInput, NotebaseColumnCreateInputSchema, NotebaseColumnCreateOutput, NotebaseColumnCreateOutputSchema, NotebaseColumnDeleteInput, NotebaseColumnDeleteInputSchema, NotebaseColumnDeleteOutput, NotebaseColumnDeleteOutputSchema, NotebaseColumnReorderInput, NotebaseColumnReorderInputSchema, NotebaseColumnReorderOutput, NotebaseColumnReorderOutputSchema, NotebaseColumnUpdateData, NotebaseColumnUpdateInput, NotebaseColumnUpdateInputSchema, NotebaseColumnUpdateOutput, NotebaseColumnUpdateOutputSchema, NotebaseCreateData, NotebaseCreateInput, NotebaseCreateInputSchema, NotebaseCreateOutput, NotebaseCreateOutputSchema, NotebaseDeleteInput, NotebaseDeleteInputSchema, NotebaseDeleteOutput, NotebaseDeleteOutputSchema, NotebaseGetInput, NotebaseGetInputSchema, NotebaseGetOutput, NotebaseGetOutputSchema, NotebaseGetSchemaInput, NotebaseGetSchemaInputSchema, NotebaseGetSchemaOutput, NotebaseGetSchemaOutputSchema, NotebaseListInput, NotebaseListInputSchema, NotebaseListItem, NotebaseListItemSchema, NotebaseListOutput, NotebaseListOutputSchema, NotebaseRow, NotebaseRowCreateData, NotebaseRowCreateInput, NotebaseRowCreateInputSchema, NotebaseRowCreateManyInput, NotebaseRowCreateManyInputSchema, NotebaseRowCreateManyOutput, NotebaseRowCreateManyOutputSchema, NotebaseRowCreateOutput, NotebaseRowCreateOutputSchema, NotebaseRowDeleteInput, NotebaseRowDeleteInputSchema, NotebaseRowDeleteOutput, NotebaseRowDeleteOutputSchema, NotebaseRowGrowthStatsItem, NotebaseRowGrowthStatsOutput, NotebaseRowReorderInput, NotebaseRowReorderInputSchema, NotebaseRowReorderOutput, NotebaseRowReorderOutputSchema, NotebaseRowUpdateData, NotebaseRowUpdateInput, NotebaseRowUpdateInputSchema, NotebaseRowUpdateOutput, NotebaseRowUpdateOutputSchema, NotebaseUpdateData, NotebaseUpdateInput, NotebaseUpdateInputSchema, NotebaseUpdateOutput, NotebaseUpdateOutputSchema, NotebaseView, NotebaseViewConfig, NotebaseViewCreateData, NotebaseViewFilter, NotebaseViewSort, NotebaseViewType, NotebaseViewUpdateData, ORPCRouterClient, PUBLIC_APP_ERROR_DEFS, PublicAppErrorCode, PublicAppErrorData, RenderedCard, type ReviewRating, SRS_REVIEW_CLIENT_ID_NAMESPACE, SRS_REVIEW_DURATION_MS_MAX, type ScheduleStatus, type SchedulingParams, SrsActivityStatsItem, SrsActivityStatsOutput, SrsListCardRevlogsInput, SrsListCardRevlogsOutput, SrsManualCardStatusInput, SrsMemoryGrowthStatsItem, SrsMemoryGrowthStatsOutput, SrsReviewClientIdCard, SrsReviewInput, SrsReviewOutput, SrsRevlog, SrsRevlogWithoutSnapshot, SrsRollbackReviewInput, SrsRollbackReviewOutput, SrsScheduleStatusStats, SrsScheduleStatusStatsInput, SrsScheduleStatusStatsOutput, SrsSetCardBuriedInput, SrsSetCardBuriedOutput, SrsSetCardSuspendedInput, SrsSetCardSuspendedOutput, SrsTxidOutput, StatsInput, Step, Timezone, UserEnsureTimezoneInput, UserEnsureTimezoneOutput, UserUpdateTimezoneInput, UserUpdateTimezoneOutput, VideoTranscriptCreateInput, VideoTranscriptGetInput, VideoTranscriptResource, VideoTranscriptStatus, VideoTranscriptSubtitles, VideoTranscriptUsage, VideoTranscriptUsagePool, activityStatsOutputSchema, billingAccessSourceSchema, billingCancelScheduledChangeOutputSchema, billingCheckoutPlanSchema, billingCreateCheckoutSessionInputSchema, billingCreateCustomerPortalSessionInputSchema, billingCurrencySchema, billingIntervalSchema, billingLocaleSchema, billingPlanSchema, billingScheduledChangeSchema, billingSessionUrlOutputSchema, billingStatusSchema, billingSubscriptionStatusSchema, cardSchema, cardStateSchema, cardTemplateSchema, contract, createSrsReviewClientId, ebookCoverContentTypeSchema, ebookDeleteInputSchema, ebookDeleteOutputSchema, ebookDetailSchema, ebookFinalizeUploadInputSchema, ebookFinalizeUploadOutputSchema, ebookGetDownloadUrlInputSchema, ebookGetDownloadUrlOutputSchema, ebookGetInputSchema, ebookGetOutputSchema, ebookListInputSchema, ebookListItemSchema, ebookListOutputSchema, ebookPresignedPostSchema, ebookQuotaSchema, ebookRenameDataSchema, ebookRenameInputSchema, ebookRenameOutputSchema, ebookRequestUploadInputSchema, ebookRequestUploadOutputSchema, ebookStatusSchema, ebookUpdateProgressDataSchema, ebookUpdateProgressInputSchema, ebookUpdateProgressOutputSchema, getPublicErrorDefinition, isPublicAppErrorCode, notebaseActivityStatsItemSchema, notebaseActivityStatsOutputSchema, notebaseColumnCreateDataSchema, notebaseColumnSchema, notebaseColumnUpdateDataSchema, notebaseColumnWidthSchema, notebaseCreateDataSchema, notebaseRowCellsSchema, notebaseRowCreateDataSchema, notebaseRowGrowthStatsItemSchema, notebaseRowGrowthStatsOutputSchema, notebaseRowSchema, notebaseRowUpdateDataSchema, notebaseSchema, notebaseUpdateDataSchema, notebaseViewConfigSchema, notebaseViewCreateDataSchema, notebaseViewFilterSchema, notebaseViewFiltersSchema, notebaseViewSchema, notebaseViewSortSchema, notebaseViewSortsSchema, notebaseViewTypeSchema, notebaseViewUpdateDataSchema, pickPublicErrorMap, renderedCardSchema, reviewRatingSchema, scheduleStatusSchema, schedulingParamsSchema, srsActivityStatsItemSchema, srsActivityStatsOutputSchema, srsListCardRevlogsInputSchema, srsListCardRevlogsOutputSchema, srsManualCardStatusInputSchema, srsMemoryGrowthStatsItemSchema, srsMemoryGrowthStatsOutputSchema, srsReviewInputSchema, srsReviewOutputSchema, srsRevlogSchema, srsRevlogWithoutSnapshotSchema, srsRollbackReviewInputSchema, srsRollbackReviewOutputSchema, srsScheduleStatusStatsInputSchema, srsScheduleStatusStatsOutputSchema, srsScheduleStatusStatsSchema, srsSetCardBuriedInputSchema, srsSetCardBuriedOutputSchema, srsSetCardSuspendedInputSchema, srsSetCardSuspendedOutputSchema, srsTxidOutputSchema, statsInputSchema, stepSchema, timezoneSchema, userEnsureTimezoneInputSchema, userEnsureTimezoneOutputSchema, userUpdateTimezoneInputSchema, userUpdateTimezoneOutputSchema, videoTranscriptCreateInputSchema, videoTranscriptGetInputSchema, videoTranscriptResourceSchema, videoTranscriptStatusSchema, videoTranscriptSubtitlesSchema, videoTranscriptUsagePoolSchema, videoTranscriptUsageSchema };
|
|
4756
|
+
export { ActivityStatsOutput, type AgentRoute, BetaAccessStatusInput, BetaAccessStatusInputSchema, BetaAccessStatusOutput, BetaAccessStatusOutputSchema, BetaFeatureKey, BetaFeatureKeySchema, BillingAccessSource, BillingCancelScheduledChangeOutput, BillingCheckoutPlan, BillingCreateCheckoutSessionInput, BillingCreateCustomerPortalSessionInput, BillingCurrency, BillingInterval, BillingLocale, BillingPlan, BillingScheduledChange, BillingSessionUrlOutput, BillingStatus, BillingSubscriptionStatus, Card, CardGenerateInput, CardGenerateInputSchema, CardGenerateOutput, CardGenerateOutputSchema, CardGetInput, CardGetInputSchema, CardGetOutput, CardGetOutputSchema, CardListInput, CardListInputSchema, CardListOutput, CardListOutputSchema, type CardState, CardTemplate, CardTemplateCreateInput, CardTemplateCreateInputSchema, CardTemplateCreateOutput, CardTemplateCreateOutputSchema, CardTemplateDeleteInput, CardTemplateDeleteInputSchema, CardTemplateDeleteOutput, CardTemplateDeleteOutputSchema, CardTemplateGetInput, CardTemplateGetInputSchema, CardTemplateGetOutput, CardTemplateGetOutputSchema, CardTemplateInvalidColumnsData, CardTemplateInvalidColumnsDataSchema, CardTemplateListInput, CardTemplateListInputSchema, CardTemplateListOutput, CardTemplateListOutputSchema, CardTemplateUpdateInput, CardTemplateUpdateInputSchema, CardTemplateUpdateOutput, CardTemplateUpdateOutputSchema, CellValidationFailedData, CellValidationFailedDataSchema, CellValidationFailureDetails, CellValidationFailureDetailsSchema, CellValidationFailureReason, CellValidationFailureReasonSchema, EbookCoverContentType, EbookDeleteInput, EbookDeleteOutput, EbookDetail, EbookFinalizeUploadInput, EbookFinalizeUploadOutput, EbookGetDownloadUrlInput, EbookGetDownloadUrlOutput, EbookGetInput, EbookGetOutput, EbookListInput, EbookListItem, EbookListOutput, EbookPresignedPost, EbookQuota, EbookRenameData, EbookRenameInput, EbookRenameOutput, EbookRequestUploadInput, EbookRequestUploadOutput, EbookStatus, EbookUpdateProgressData, EbookUpdateProgressInput, EbookUpdateProgressOutput, HOSTED_AI_CLIENT_STREAM_PART_TYPES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS, HostedAiCreditPeriodKind, HostedAiCreditPeriodKindSchema, HostedAiCreditPolicyId, HostedAiCreditPolicyIdSchema, HostedAiCreditStatus, HostedAiCreditStatusSchema, HostedAiFeature, HostedAiFeatureSchema, HostedAiFeatureStatus, HostedAiFeatureStatusSchema, HostedAiModelTier, HostedAiModelTierSchema, HostedAiNoteSuggestionObject, HostedAiNoteSuggestionObjectSchema, HostedAiNoteSuggestionStreamInput, HostedAiNoteSuggestionStreamInputSchema, HostedAiOutputField, HostedAiOutputFieldSchema, HostedAiOutputFieldType, HostedAiOutputFieldTypeSchema, HostedAiQuotaExhaustedDataSchema, HostedAiQuotaScope, HostedAiQuotaScopeSchema, HostedAiRateLimitErrorData, HostedAiRateLimitErrorDataSchema, HostedAiRequestIdSchema, HostedAiStatusInput, HostedAiStatusInputSchema, HostedAiStatusOutput, HostedAiStatusOutputSchema, HostedAiStreamPart, HostedAiStreamPartSchema, HostedAiStreamStructuredObjectInput, HostedAiStreamStructuredObjectInputSchema, HostedAiStreamTextInput, HostedAiStreamTextInputSchema, HostedAiTierRestrictedDataSchema, HostedAiTierStatus, HostedAiTierStatusSchema, HostedAiUnavailableReason, HostedAiUnavailableReasonSchema, MCP_ALLOWED_PLANS, McpConnection, McpConnectionRevokeInput, NOTEBASE_ROW_CREATE_MANY_MAX_ROWS, Notebase, NotebaseActivityStatsItem, NotebaseActivityStatsOutput, NotebaseColumn, NotebaseColumnCreateData, NotebaseColumnCreateInput, NotebaseColumnCreateInputSchema, NotebaseColumnCreateOutput, NotebaseColumnCreateOutputSchema, NotebaseColumnDeleteInput, NotebaseColumnDeleteInputSchema, NotebaseColumnDeleteOutput, NotebaseColumnDeleteOutputSchema, NotebaseColumnReorderInput, NotebaseColumnReorderInputSchema, NotebaseColumnReorderOutput, NotebaseColumnReorderOutputSchema, NotebaseColumnUpdateData, NotebaseColumnUpdateInput, NotebaseColumnUpdateInputSchema, NotebaseColumnUpdateOutput, NotebaseColumnUpdateOutputSchema, NotebaseCreateData, NotebaseCreateInput, NotebaseCreateInputSchema, NotebaseCreateOutput, NotebaseCreateOutputSchema, NotebaseDeleteInput, NotebaseDeleteInputSchema, NotebaseDeleteOutput, NotebaseDeleteOutputSchema, NotebaseGetInput, NotebaseGetInputSchema, NotebaseGetOutput, NotebaseGetOutputSchema, NotebaseGetSchemaInput, NotebaseGetSchemaInputSchema, NotebaseGetSchemaOutput, NotebaseGetSchemaOutputSchema, NotebaseGetSummaryInput, NotebaseGetSummaryInputSchema, NotebaseGetSummaryOutput, NotebaseGetSummaryOutputSchema, NotebaseListInput, NotebaseListInputSchema, NotebaseListItem, NotebaseListItemSchema, NotebaseListOutput, NotebaseListOutputSchema, NotebaseRow, NotebaseRowCreateData, NotebaseRowCreateInput, NotebaseRowCreateInputSchema, NotebaseRowCreateManyInput, NotebaseRowCreateManyInputSchema, NotebaseRowCreateManyOutput, NotebaseRowCreateManyOutputSchema, NotebaseRowCreateOutput, NotebaseRowCreateOutputSchema, NotebaseRowDeleteInput, NotebaseRowDeleteInputSchema, NotebaseRowDeleteOutput, NotebaseRowDeleteOutputSchema, NotebaseRowGetInputSchema, NotebaseRowGetOutputSchema, NotebaseRowGrowthStatsItem, NotebaseRowGrowthStatsOutput, NotebaseRowListInput, NotebaseRowListInputSchema, NotebaseRowListOutputSchema, NotebaseRowReorderInput, NotebaseRowReorderInputSchema, NotebaseRowReorderOutput, NotebaseRowReorderOutputSchema, NotebaseRowUpdateData, NotebaseRowUpdateInput, NotebaseRowUpdateInputSchema, NotebaseRowUpdateOutput, NotebaseRowUpdateOutputSchema, NotebaseSummary, NotebaseUpdateData, NotebaseUpdateInput, NotebaseUpdateInputSchema, NotebaseUpdateOutput, NotebaseUpdateOutputSchema, NotebaseView, NotebaseViewConfig, NotebaseViewCreateData, NotebaseViewFilter, NotebaseViewSort, NotebaseViewType, NotebaseViewUpdateData, ORPCRouterClient, PUBLIC_APP_ERROR_DEFS, PublicAppErrorCode, PublicAppErrorData, RenderedCard, type ReviewRating, SRS_REVIEW_CLIENT_ID_NAMESPACE, SRS_REVIEW_DURATION_MS_MAX, type ScheduleStatus, type SchedulingParams, SrsAcknowledgeOptimizerResultsInput, SrsAcknowledgeOptimizerResultsOutput, SrsActivityStatsItem, SrsActivityStatsOutput, SrsListCardRevlogsInput, SrsListCardRevlogsOutput, SrsListUnreadOptimizerResultsOutput, SrsManualCardStatusInput, SrsMemoryGrowthStatsItem, SrsMemoryGrowthStatsOutput, SrsOptimizerUnreadResult, SrsReviewClientIdCard, SrsReviewInput, SrsReviewOutput, SrsRevlog, SrsRevlogWithoutSnapshot, SrsRollbackReviewInput, SrsRollbackReviewOutput, SrsScheduleStatusStats, SrsScheduleStatusStatsInput, SrsScheduleStatusStatsOutput, SrsSetCardBuriedInput, SrsSetCardBuriedOutput, SrsSetCardSuspendedInput, SrsSetCardSuspendedOutput, SrsTxidOutput, StatsInput, Step, Timezone, UserEnsureTimezoneInput, UserEnsureTimezoneOutput, UserUpdateTimezoneInput, UserUpdateTimezoneOutput, VideoTranscriptCreateInput, VideoTranscriptGetInput, VideoTranscriptResource, VideoTranscriptStatus, VideoTranscriptSubtitles, VideoTranscriptUsage, VideoTranscriptUsagePool, activityStatsOutputSchema, billingAccessSourceSchema, billingCancelScheduledChangeOutputSchema, billingCheckoutPlanSchema, billingCreateCheckoutSessionInputSchema, billingCreateCustomerPortalSessionInputSchema, billingCurrencySchema, billingIntervalSchema, billingLocaleSchema, billingPlanSchema, billingScheduledChangeSchema, billingSessionUrlOutputSchema, billingStatusSchema, billingSubscriptionStatusSchema, cardSchema, cardStateSchema, cardTemplateSchema, contract, createSrsReviewClientId, defineAgentProcedure, deletionResultSchema, ebookCoverContentTypeSchema, ebookDeleteInputSchema, ebookDeleteOutputSchema, ebookDetailSchema, ebookFinalizeUploadInputSchema, ebookFinalizeUploadOutputSchema, ebookGetDownloadUrlInputSchema, ebookGetDownloadUrlOutputSchema, ebookGetInputSchema, ebookGetOutputSchema, ebookListInputSchema, ebookListItemSchema, ebookListOutputSchema, ebookPresignedPostSchema, ebookQuotaSchema, ebookRenameDataSchema, ebookRenameInputSchema, ebookRenameOutputSchema, ebookRequestUploadInputSchema, ebookRequestUploadOutputSchema, ebookStatusSchema, ebookUpdateProgressDataSchema, ebookUpdateProgressInputSchema, ebookUpdateProgressOutputSchema, expectedUpdatedAtSchema, getPublicErrorDefinition, isPlanAllowed, isPublicAppErrorCode, 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, srsAcknowledgeOptimizerResultsInputSchema, srsAcknowledgeOptimizerResultsOutputSchema, srsActivityStatsItemSchema, srsActivityStatsOutputSchema, srsListCardRevlogsInputSchema, srsListCardRevlogsOutputSchema, srsListUnreadOptimizerResultsInputSchema, srsListUnreadOptimizerResultsOutputSchema, srsManualCardStatusInputSchema, srsMemoryGrowthStatsItemSchema, srsMemoryGrowthStatsOutputSchema, srsOptimizerUnreadResultSchema, srsReviewInputSchema, srsReviewOutputSchema, srsRevlogSchema, srsRevlogWithoutSnapshotSchema, srsRollbackReviewInputSchema, srsRollbackReviewOutputSchema, srsScheduleStatusStatsInputSchema, srsScheduleStatusStatsOutputSchema, srsScheduleStatusStatsSchema, srsSetCardBuriedInputSchema, srsSetCardBuriedOutputSchema, srsSetCardSuspendedInputSchema, srsSetCardSuspendedOutputSchema, srsTxidOutputSchema, statsInputSchema, stepSchema, timezoneSchema, userEnsureTimezoneInputSchema, userEnsureTimezoneOutputSchema, userUpdateTimezoneInputSchema, userUpdateTimezoneOutputSchema, videoTranscriptCreateInputSchema, videoTranscriptGetInputSchema, videoTranscriptResourceSchema, videoTranscriptStatusSchema, videoTranscriptSubtitlesSchema, videoTranscriptUsagePoolSchema, videoTranscriptUsageSchema };
|
|
4052
4757
|
//# sourceMappingURL=index.d.ts.map
|