@read-frog/api-contract 0.25.0 → 0.27.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 +1044 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +67 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/contracts/card.ts +16 -0
- package/src/contracts/notebase-row.ts +2 -2
- package/src/contracts/speech.ts +20 -0
- package/src/public-errors.ts +24 -0
- package/src/schemas/card.ts +10 -0
- package/src/schemas/notebase-row.ts +30 -0
- package/src/schemas/notebase.ts +6 -1
- package/src/schemas/speech.ts +23 -0
- package/src/schemas/web-sync.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -24,9 +24,15 @@ export declare function defineAgentProcedure(route: AgentRoute): import("@orpc/c
|
|
|
24
24
|
description: string;
|
|
25
25
|
} & Record<never, never>>;
|
|
26
26
|
export declare const CellValidationFailureReasonSchema: z.ZodEnum<{
|
|
27
|
+
cloze_crosses_math: "cloze_crosses_math";
|
|
28
|
+
cloze_splits_math_pair: "cloze_splits_math_pair";
|
|
29
|
+
empty_cloze_answer: "empty_cloze_answer";
|
|
30
|
+
invalid_cloze_ordinal: "invalid_cloze_ordinal";
|
|
27
31
|
invalid_date_format: "invalid_date_format";
|
|
28
32
|
invalid_select_option: "invalid_select_option";
|
|
33
|
+
too_many_cloze_groups: "too_many_cloze_groups";
|
|
29
34
|
type_mismatch: "type_mismatch";
|
|
35
|
+
unclosed_cloze: "unclosed_cloze";
|
|
30
36
|
unknown_notebase_column: "unknown_notebase_column";
|
|
31
37
|
}>;
|
|
32
38
|
export type CellValidationFailureReason = z.infer<typeof CellValidationFailureReasonSchema>;
|
|
@@ -48,12 +54,19 @@ export declare const CellValidationFailedDataSchema: z.ZodObject<{
|
|
|
48
54
|
validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
55
|
}, z.core.$strict>;
|
|
50
56
|
reason: z.ZodEnum<{
|
|
57
|
+
cloze_crosses_math: "cloze_crosses_math";
|
|
58
|
+
cloze_splits_math_pair: "cloze_splits_math_pair";
|
|
59
|
+
empty_cloze_answer: "empty_cloze_answer";
|
|
60
|
+
invalid_cloze_ordinal: "invalid_cloze_ordinal";
|
|
51
61
|
invalid_date_format: "invalid_date_format";
|
|
52
62
|
invalid_select_option: "invalid_select_option";
|
|
63
|
+
too_many_cloze_groups: "too_many_cloze_groups";
|
|
53
64
|
type_mismatch: "type_mismatch";
|
|
65
|
+
unclosed_cloze: "unclosed_cloze";
|
|
54
66
|
unknown_notebase_column: "unknown_notebase_column";
|
|
55
67
|
}>;
|
|
56
68
|
rowIndex: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
notebaseRowId: z.ZodOptional<z.ZodString>;
|
|
57
70
|
}, z.core.$strict>;
|
|
58
71
|
export type CellValidationFailedData = z.infer<typeof CellValidationFailedDataSchema>;
|
|
59
72
|
export declare const CardTemplateInvalidColumnsDataSchema: z.ZodObject<{
|
|
@@ -110,6 +123,10 @@ export declare const SpeechDailyLimitReachedDataSchema: z.ZodObject<{
|
|
|
110
123
|
resetAt: z.ZodISODateTime;
|
|
111
124
|
}, z.core.$strict>;
|
|
112
125
|
export declare const PUBLIC_APP_ERROR_DEFS: {
|
|
126
|
+
readonly CARD_DELETE_UNSUPPORTED: {
|
|
127
|
+
readonly message: "This card cannot be deleted independently of its note.";
|
|
128
|
+
readonly status: 400;
|
|
129
|
+
};
|
|
113
130
|
readonly RESOURCE_UPDATE_CONFLICT: {
|
|
114
131
|
readonly message: "The resource changed. Read it again before updating.";
|
|
115
132
|
readonly status: 409;
|
|
@@ -331,12 +348,19 @@ export declare const PUBLIC_APP_ERROR_DEFS: {
|
|
|
331
348
|
validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
332
349
|
}, z.core.$strict>;
|
|
333
350
|
reason: z.ZodEnum<{
|
|
351
|
+
cloze_crosses_math: "cloze_crosses_math";
|
|
352
|
+
cloze_splits_math_pair: "cloze_splits_math_pair";
|
|
353
|
+
empty_cloze_answer: "empty_cloze_answer";
|
|
354
|
+
invalid_cloze_ordinal: "invalid_cloze_ordinal";
|
|
334
355
|
invalid_date_format: "invalid_date_format";
|
|
335
356
|
invalid_select_option: "invalid_select_option";
|
|
357
|
+
too_many_cloze_groups: "too_many_cloze_groups";
|
|
336
358
|
type_mismatch: "type_mismatch";
|
|
359
|
+
unclosed_cloze: "unclosed_cloze";
|
|
337
360
|
unknown_notebase_column: "unknown_notebase_column";
|
|
338
361
|
}>;
|
|
339
362
|
rowIndex: z.ZodOptional<z.ZodNumber>;
|
|
363
|
+
notebaseRowId: z.ZodOptional<z.ZodString>;
|
|
340
364
|
}, z.core.$strict>;
|
|
341
365
|
readonly message: "Cell validation failed";
|
|
342
366
|
readonly status: 422;
|
|
@@ -489,6 +513,10 @@ export type PublicAppErrorData<TCode extends PublicAppErrorCode> = (typeof PUBLI
|
|
|
489
513
|
} ? z.output<TSchema> : undefined;
|
|
490
514
|
export declare function isPublicAppErrorCode(code: string | undefined): code is PublicAppErrorCode;
|
|
491
515
|
export declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code: TCode): {
|
|
516
|
+
readonly CARD_DELETE_UNSUPPORTED: {
|
|
517
|
+
readonly message: "This card cannot be deleted independently of its note.";
|
|
518
|
+
readonly status: 400;
|
|
519
|
+
};
|
|
492
520
|
readonly RESOURCE_UPDATE_CONFLICT: {
|
|
493
521
|
readonly message: "The resource changed. Read it again before updating.";
|
|
494
522
|
readonly status: 409;
|
|
@@ -710,12 +738,19 @@ export declare function getPublicErrorDefinition<TCode extends PublicAppErrorCod
|
|
|
710
738
|
validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
711
739
|
}, z.core.$strict>;
|
|
712
740
|
reason: z.ZodEnum<{
|
|
741
|
+
cloze_crosses_math: "cloze_crosses_math";
|
|
742
|
+
cloze_splits_math_pair: "cloze_splits_math_pair";
|
|
743
|
+
empty_cloze_answer: "empty_cloze_answer";
|
|
744
|
+
invalid_cloze_ordinal: "invalid_cloze_ordinal";
|
|
713
745
|
invalid_date_format: "invalid_date_format";
|
|
714
746
|
invalid_select_option: "invalid_select_option";
|
|
747
|
+
too_many_cloze_groups: "too_many_cloze_groups";
|
|
715
748
|
type_mismatch: "type_mismatch";
|
|
749
|
+
unclosed_cloze: "unclosed_cloze";
|
|
716
750
|
unknown_notebase_column: "unknown_notebase_column";
|
|
717
751
|
}>;
|
|
718
752
|
rowIndex: z.ZodOptional<z.ZodNumber>;
|
|
753
|
+
notebaseRowId: z.ZodOptional<z.ZodString>;
|
|
719
754
|
}, z.core.$strict>;
|
|
720
755
|
readonly message: "Cell validation failed";
|
|
721
756
|
readonly status: 422;
|
|
@@ -1606,6 +1641,16 @@ export declare const CardGetOutputSchema: z.ZodObject<{
|
|
|
1606
1641
|
back: z.ZodString;
|
|
1607
1642
|
}, z.core.$strip>;
|
|
1608
1643
|
export type CardGetOutput = z.infer<typeof CardGetOutputSchema>;
|
|
1644
|
+
export declare const CardDeleteInputSchema: z.ZodObject<{
|
|
1645
|
+
id: z.ZodUUID;
|
|
1646
|
+
expectedVariantKey: z.ZodString;
|
|
1647
|
+
expectedRowUpdatedAt: z.ZodISODateTime;
|
|
1648
|
+
}, z.core.$strict>;
|
|
1649
|
+
export type CardDeleteInput = z.infer<typeof CardDeleteInputSchema>;
|
|
1650
|
+
export declare const CardDeleteOutputSchema: z.ZodObject<{
|
|
1651
|
+
txid: z.ZodNumber;
|
|
1652
|
+
}, z.core.$strip>;
|
|
1653
|
+
export type CardDeleteOutput = z.infer<typeof CardDeleteOutputSchema>;
|
|
1609
1654
|
export declare const CardGenerateInputSchema: z.ZodObject<{
|
|
1610
1655
|
notebaseId: z.ZodUUID;
|
|
1611
1656
|
templateId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -2941,15 +2986,45 @@ export declare const notebaseCreateDataSchema: z.ZodObject<{
|
|
|
2941
2986
|
value: z.ZodString;
|
|
2942
2987
|
color: z.ZodString;
|
|
2943
2988
|
}, z.core.$strip>>>;
|
|
2989
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2990
|
+
type: z.ZodLiteral<"clozeText">;
|
|
2944
2991
|
}, z.core.$strip>], "type">;
|
|
2945
2992
|
}, z.core.$strict>>;
|
|
2946
2993
|
initialRow: z.ZodOptional<z.ZodObject<{
|
|
2947
2994
|
id: z.ZodOptional<z.ZodUUID>;
|
|
2948
2995
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2996
|
+
origin: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2997
|
+
kind: z.ZodLiteral<"webpage">;
|
|
2998
|
+
url: z.ZodString;
|
|
2999
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3000
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3001
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3002
|
+
ebookId: z.ZodUUID;
|
|
3003
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3005
|
+
kind: z.ZodLiteral<"video">;
|
|
3006
|
+
url: z.ZodString;
|
|
3007
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3008
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3009
|
+
}, z.core.$strip>], "kind">>>;
|
|
2949
3010
|
}, z.core.$strict>>;
|
|
2950
3011
|
initialRows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2951
3012
|
id: z.ZodOptional<z.ZodUUID>;
|
|
2952
3013
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3014
|
+
origin: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3015
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3016
|
+
url: z.ZodString;
|
|
3017
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3018
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3019
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3020
|
+
ebookId: z.ZodUUID;
|
|
3021
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3023
|
+
kind: z.ZodLiteral<"video">;
|
|
3024
|
+
url: z.ZodString;
|
|
3025
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3026
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3027
|
+
}, z.core.$strip>], "kind">>>;
|
|
2953
3028
|
}, z.core.$strict>>>;
|
|
2954
3029
|
}, z.core.$strict>>;
|
|
2955
3030
|
}, z.core.$strict>;
|
|
@@ -2983,15 +3058,45 @@ export declare const NotebaseCreateInputSchema: z.ZodObject<{
|
|
|
2983
3058
|
value: z.ZodString;
|
|
2984
3059
|
color: z.ZodString;
|
|
2985
3060
|
}, z.core.$strip>>>;
|
|
3061
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3062
|
+
type: z.ZodLiteral<"clozeText">;
|
|
2986
3063
|
}, z.core.$strip>], "type">;
|
|
2987
3064
|
}, z.core.$strict>>;
|
|
2988
3065
|
initialRow: z.ZodOptional<z.ZodObject<{
|
|
2989
3066
|
id: z.ZodOptional<z.ZodUUID>;
|
|
2990
3067
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3068
|
+
origin: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3069
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3070
|
+
url: z.ZodString;
|
|
3071
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3073
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3074
|
+
ebookId: z.ZodUUID;
|
|
3075
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3076
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3077
|
+
kind: z.ZodLiteral<"video">;
|
|
3078
|
+
url: z.ZodString;
|
|
3079
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3081
|
+
}, z.core.$strip>], "kind">>>;
|
|
2991
3082
|
}, z.core.$strict>>;
|
|
2992
3083
|
initialRows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2993
3084
|
id: z.ZodOptional<z.ZodUUID>;
|
|
2994
3085
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3086
|
+
origin: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3087
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3088
|
+
url: z.ZodString;
|
|
3089
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3090
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3091
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3092
|
+
ebookId: z.ZodUUID;
|
|
3093
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3094
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3095
|
+
kind: z.ZodLiteral<"video">;
|
|
3096
|
+
url: z.ZodString;
|
|
3097
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3098
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3099
|
+
}, z.core.$strip>], "kind">>>;
|
|
2995
3100
|
}, z.core.$strict>>>;
|
|
2996
3101
|
}, z.core.$strict>>;
|
|
2997
3102
|
}, z.core.$strict>;
|
|
@@ -3164,6 +3269,8 @@ export declare const NotebaseGetOutputSchema: z.ZodObject<{
|
|
|
3164
3269
|
value: z.ZodString;
|
|
3165
3270
|
color: z.ZodString;
|
|
3166
3271
|
}, z.core.$strip>>>;
|
|
3272
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3273
|
+
type: z.ZodLiteral<"clozeText">;
|
|
3167
3274
|
}, z.core.$strip>], "type">;
|
|
3168
3275
|
position: z.ZodNumber;
|
|
3169
3276
|
isPrimary: z.ZodBoolean;
|
|
@@ -3177,6 +3284,32 @@ export declare const NotebaseGetOutputSchema: z.ZodObject<{
|
|
|
3177
3284
|
notebaseId: z.ZodString;
|
|
3178
3285
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3179
3286
|
position: z.ZodNumber;
|
|
3287
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3288
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3289
|
+
url: z.ZodString;
|
|
3290
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3291
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3292
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3293
|
+
ebookId: z.ZodOptional<z.ZodString>;
|
|
3294
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3295
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3296
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3297
|
+
kind: z.ZodLiteral<"video">;
|
|
3298
|
+
url: z.ZodString;
|
|
3299
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3300
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3301
|
+
}, z.core.$strip>], "kind">>>;
|
|
3302
|
+
createdVia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3303
|
+
client: z.ZodEnum<{
|
|
3304
|
+
extension: "extension";
|
|
3305
|
+
mcp: "mcp";
|
|
3306
|
+
mobile: "mobile";
|
|
3307
|
+
unknown: "unknown";
|
|
3308
|
+
web: "web";
|
|
3309
|
+
}>;
|
|
3310
|
+
mcpClientId: z.ZodOptional<z.ZodString>;
|
|
3311
|
+
mcpClientName: z.ZodOptional<z.ZodString>;
|
|
3312
|
+
}, z.core.$strip>>>;
|
|
3180
3313
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
3181
3314
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
3182
3315
|
}, z.core.$strip>>;
|
|
@@ -3232,6 +3365,8 @@ export declare const NotebaseGetSchemaOutputSchema: z.ZodObject<{
|
|
|
3232
3365
|
value: z.ZodString;
|
|
3233
3366
|
color: z.ZodString;
|
|
3234
3367
|
}, z.core.$strip>>>;
|
|
3368
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3369
|
+
type: z.ZodLiteral<"clozeText">;
|
|
3235
3370
|
}, z.core.$strip>], "type">;
|
|
3236
3371
|
position: z.ZodNumber;
|
|
3237
3372
|
isPrimary: z.ZodBoolean;
|
|
@@ -3269,6 +3404,8 @@ export declare const notebaseColumnSchema: z.ZodObject<{
|
|
|
3269
3404
|
value: z.ZodString;
|
|
3270
3405
|
color: z.ZodString;
|
|
3271
3406
|
}, z.core.$strip>>>;
|
|
3407
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3408
|
+
type: z.ZodLiteral<"clozeText">;
|
|
3272
3409
|
}, z.core.$strip>], "type">;
|
|
3273
3410
|
position: z.ZodNumber;
|
|
3274
3411
|
isPrimary: z.ZodBoolean;
|
|
@@ -3303,6 +3440,8 @@ export declare const notebaseColumnCreateDataSchema: z.ZodObject<{
|
|
|
3303
3440
|
value: z.ZodString;
|
|
3304
3441
|
color: z.ZodString;
|
|
3305
3442
|
}, z.core.$strip>>>;
|
|
3443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3444
|
+
type: z.ZodLiteral<"clozeText">;
|
|
3306
3445
|
}, z.core.$strip>], "type">;
|
|
3307
3446
|
}, z.core.$strict>;
|
|
3308
3447
|
export type NotebaseColumnCreateData = z.infer<typeof notebaseColumnCreateDataSchema>;
|
|
@@ -3331,6 +3470,8 @@ export declare const notebaseColumnUpdateDataSchema: z.ZodObject<{
|
|
|
3331
3470
|
value: z.ZodString;
|
|
3332
3471
|
color: z.ZodString;
|
|
3333
3472
|
}, z.core.$strip>>>;
|
|
3473
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3474
|
+
type: z.ZodLiteral<"clozeText">;
|
|
3334
3475
|
}, z.core.$strip>], "type">>;
|
|
3335
3476
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3336
3477
|
wrap: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3363,6 +3504,8 @@ export declare const NotebaseColumnCreateInputSchema: z.ZodObject<{
|
|
|
3363
3504
|
value: z.ZodString;
|
|
3364
3505
|
color: z.ZodString;
|
|
3365
3506
|
}, z.core.$strip>>>;
|
|
3507
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3508
|
+
type: z.ZodLiteral<"clozeText">;
|
|
3366
3509
|
}, z.core.$strip>], "type">;
|
|
3367
3510
|
}, z.core.$strict>;
|
|
3368
3511
|
}, z.core.$strip>;
|
|
@@ -3394,6 +3537,8 @@ export declare const NotebaseColumnCreateOutputSchema: z.ZodObject<{
|
|
|
3394
3537
|
value: z.ZodString;
|
|
3395
3538
|
color: z.ZodString;
|
|
3396
3539
|
}, z.core.$strip>>>;
|
|
3540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3541
|
+
type: z.ZodLiteral<"clozeText">;
|
|
3397
3542
|
}, z.core.$strip>], "type">;
|
|
3398
3543
|
position: z.ZodNumber;
|
|
3399
3544
|
isPrimary: z.ZodBoolean;
|
|
@@ -3432,6 +3577,8 @@ export declare const NotebaseColumnUpdateInputSchema: z.ZodObject<{
|
|
|
3432
3577
|
value: z.ZodString;
|
|
3433
3578
|
color: z.ZodString;
|
|
3434
3579
|
}, z.core.$strip>>>;
|
|
3580
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3581
|
+
type: z.ZodLiteral<"clozeText">;
|
|
3435
3582
|
}, z.core.$strip>], "type">>;
|
|
3436
3583
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3437
3584
|
wrap: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3465,6 +3612,8 @@ export declare const NotebaseColumnUpdateOutputSchema: z.ZodObject<{
|
|
|
3465
3612
|
value: z.ZodString;
|
|
3466
3613
|
color: z.ZodString;
|
|
3467
3614
|
}, z.core.$strip>>>;
|
|
3615
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3616
|
+
type: z.ZodLiteral<"clozeText">;
|
|
3468
3617
|
}, z.core.$strip>], "type">;
|
|
3469
3618
|
position: z.ZodNumber;
|
|
3470
3619
|
isPrimary: z.ZodBoolean;
|
|
@@ -3500,13 +3649,72 @@ export declare const notebaseRowSchema: z.ZodObject<{
|
|
|
3500
3649
|
notebaseId: z.ZodString;
|
|
3501
3650
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3502
3651
|
position: z.ZodNumber;
|
|
3652
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3653
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3654
|
+
url: z.ZodString;
|
|
3655
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3656
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3657
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3658
|
+
ebookId: z.ZodOptional<z.ZodString>;
|
|
3659
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3660
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3661
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3662
|
+
kind: z.ZodLiteral<"video">;
|
|
3663
|
+
url: z.ZodString;
|
|
3664
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3665
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3666
|
+
}, z.core.$strip>], "kind">>>;
|
|
3667
|
+
createdVia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3668
|
+
client: z.ZodEnum<{
|
|
3669
|
+
extension: "extension";
|
|
3670
|
+
mcp: "mcp";
|
|
3671
|
+
mobile: "mobile";
|
|
3672
|
+
unknown: "unknown";
|
|
3673
|
+
web: "web";
|
|
3674
|
+
}>;
|
|
3675
|
+
mcpClientId: z.ZodOptional<z.ZodString>;
|
|
3676
|
+
mcpClientName: z.ZodOptional<z.ZodString>;
|
|
3677
|
+
}, z.core.$strip>>>;
|
|
3503
3678
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
3504
3679
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
3505
3680
|
}, z.core.$strip>;
|
|
3506
3681
|
export type NotebaseRow = z.infer<typeof notebaseRowSchema>;
|
|
3682
|
+
/**
|
|
3683
|
+
* Where a new note's content came from; see `noteOriginInputSchema`. Optional
|
|
3684
|
+
* metadata never costs the note: an origin that does not parse is dropped and
|
|
3685
|
+
* the note is saved without one.
|
|
3686
|
+
*/
|
|
3687
|
+
export declare const notebaseRowOriginInputSchema: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3688
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3689
|
+
url: z.ZodString;
|
|
3690
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3691
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3692
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3693
|
+
ebookId: z.ZodUUID;
|
|
3694
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3695
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3696
|
+
kind: z.ZodLiteral<"video">;
|
|
3697
|
+
url: z.ZodString;
|
|
3698
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3699
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3700
|
+
}, z.core.$strip>], "kind">>>;
|
|
3507
3701
|
export declare const notebaseRowCreateDataSchema: z.ZodObject<{
|
|
3508
3702
|
id: z.ZodOptional<z.ZodUUID>;
|
|
3509
3703
|
cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3704
|
+
origin: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3705
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3706
|
+
url: z.ZodString;
|
|
3707
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3709
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3710
|
+
ebookId: z.ZodUUID;
|
|
3711
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3712
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3713
|
+
kind: z.ZodLiteral<"video">;
|
|
3714
|
+
url: z.ZodString;
|
|
3715
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3716
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3717
|
+
}, z.core.$strip>], "kind">>>;
|
|
3510
3718
|
}, z.core.$strict>;
|
|
3511
3719
|
export type NotebaseRowCreateData = z.infer<typeof notebaseRowCreateDataSchema>;
|
|
3512
3720
|
export declare const notebaseRowUpdateDataSchema: z.ZodObject<{
|
|
@@ -3519,6 +3727,20 @@ export declare const NotebaseRowCreateInputSchema: z.ZodObject<{
|
|
|
3519
3727
|
data: z.ZodObject<{
|
|
3520
3728
|
id: z.ZodOptional<z.ZodUUID>;
|
|
3521
3729
|
cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3730
|
+
origin: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3731
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3732
|
+
url: z.ZodString;
|
|
3733
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3734
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3735
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3736
|
+
ebookId: z.ZodUUID;
|
|
3737
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3738
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3739
|
+
kind: z.ZodLiteral<"video">;
|
|
3740
|
+
url: z.ZodString;
|
|
3741
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3742
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3743
|
+
}, z.core.$strip>], "kind">>>;
|
|
3522
3744
|
}, z.core.$strict>;
|
|
3523
3745
|
}, z.core.$strip>;
|
|
3524
3746
|
export type NotebaseRowCreateInput = z.infer<typeof NotebaseRowCreateInputSchema>;
|
|
@@ -3528,6 +3750,32 @@ export declare const NotebaseRowCreateOutputSchema: z.ZodObject<{
|
|
|
3528
3750
|
notebaseId: z.ZodString;
|
|
3529
3751
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3530
3752
|
position: z.ZodNumber;
|
|
3753
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3754
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3755
|
+
url: z.ZodString;
|
|
3756
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3757
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3758
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3759
|
+
ebookId: z.ZodOptional<z.ZodString>;
|
|
3760
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3761
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3762
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3763
|
+
kind: z.ZodLiteral<"video">;
|
|
3764
|
+
url: z.ZodString;
|
|
3765
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3766
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3767
|
+
}, z.core.$strip>], "kind">>>;
|
|
3768
|
+
createdVia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3769
|
+
client: z.ZodEnum<{
|
|
3770
|
+
extension: "extension";
|
|
3771
|
+
mcp: "mcp";
|
|
3772
|
+
mobile: "mobile";
|
|
3773
|
+
unknown: "unknown";
|
|
3774
|
+
web: "web";
|
|
3775
|
+
}>;
|
|
3776
|
+
mcpClientId: z.ZodOptional<z.ZodString>;
|
|
3777
|
+
mcpClientName: z.ZodOptional<z.ZodString>;
|
|
3778
|
+
}, z.core.$strip>>>;
|
|
3531
3779
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
3532
3780
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
3533
3781
|
}, z.core.$strip>;
|
|
@@ -3540,6 +3788,20 @@ export declare const NotebaseRowCreateManyInputSchema: z.ZodObject<{
|
|
|
3540
3788
|
rows: z.ZodArray<z.ZodObject<{
|
|
3541
3789
|
id: z.ZodOptional<z.ZodUUID>;
|
|
3542
3790
|
cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3791
|
+
origin: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3792
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3793
|
+
url: z.ZodString;
|
|
3794
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3795
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3796
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3797
|
+
ebookId: z.ZodUUID;
|
|
3798
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3799
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3800
|
+
kind: z.ZodLiteral<"video">;
|
|
3801
|
+
url: z.ZodString;
|
|
3802
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3803
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3804
|
+
}, z.core.$strip>], "kind">>>;
|
|
3543
3805
|
}, z.core.$strict>>;
|
|
3544
3806
|
}, z.core.$strip>;
|
|
3545
3807
|
export type NotebaseRowCreateManyInput = z.infer<typeof NotebaseRowCreateManyInputSchema>;
|
|
@@ -3549,6 +3811,32 @@ export declare const NotebaseRowCreateManyOutputSchema: z.ZodObject<{
|
|
|
3549
3811
|
notebaseId: z.ZodString;
|
|
3550
3812
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3551
3813
|
position: z.ZodNumber;
|
|
3814
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3815
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3816
|
+
url: z.ZodString;
|
|
3817
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3818
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3819
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3820
|
+
ebookId: z.ZodOptional<z.ZodString>;
|
|
3821
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3822
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3823
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3824
|
+
kind: z.ZodLiteral<"video">;
|
|
3825
|
+
url: z.ZodString;
|
|
3826
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3827
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3828
|
+
}, z.core.$strip>], "kind">>>;
|
|
3829
|
+
createdVia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3830
|
+
client: z.ZodEnum<{
|
|
3831
|
+
extension: "extension";
|
|
3832
|
+
mcp: "mcp";
|
|
3833
|
+
mobile: "mobile";
|
|
3834
|
+
unknown: "unknown";
|
|
3835
|
+
web: "web";
|
|
3836
|
+
}>;
|
|
3837
|
+
mcpClientId: z.ZodOptional<z.ZodString>;
|
|
3838
|
+
mcpClientName: z.ZodOptional<z.ZodString>;
|
|
3839
|
+
}, z.core.$strip>>>;
|
|
3552
3840
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
3553
3841
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
3554
3842
|
}, z.core.$strip>>;
|
|
@@ -3568,6 +3856,32 @@ export declare const NotebaseRowUpdateOutputSchema: z.ZodObject<{
|
|
|
3568
3856
|
notebaseId: z.ZodUUID;
|
|
3569
3857
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3570
3858
|
position: z.ZodNumber;
|
|
3859
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3860
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3861
|
+
url: z.ZodString;
|
|
3862
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3863
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3864
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3865
|
+
ebookId: z.ZodOptional<z.ZodString>;
|
|
3866
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3867
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3868
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3869
|
+
kind: z.ZodLiteral<"video">;
|
|
3870
|
+
url: z.ZodString;
|
|
3871
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3872
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3873
|
+
}, z.core.$strip>], "kind">>>;
|
|
3874
|
+
createdVia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3875
|
+
client: z.ZodEnum<{
|
|
3876
|
+
extension: "extension";
|
|
3877
|
+
mcp: "mcp";
|
|
3878
|
+
mobile: "mobile";
|
|
3879
|
+
unknown: "unknown";
|
|
3880
|
+
web: "web";
|
|
3881
|
+
}>;
|
|
3882
|
+
mcpClientId: z.ZodOptional<z.ZodString>;
|
|
3883
|
+
mcpClientName: z.ZodOptional<z.ZodString>;
|
|
3884
|
+
}, z.core.$strip>>>;
|
|
3571
3885
|
createdAt: z.ZodDate;
|
|
3572
3886
|
updatedAt: z.ZodDate;
|
|
3573
3887
|
txid: z.ZodNumber;
|
|
@@ -3591,6 +3905,32 @@ export declare const NotebaseRowUpdateManyOutputSchema: z.ZodObject<{
|
|
|
3591
3905
|
notebaseId: z.ZodString;
|
|
3592
3906
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3593
3907
|
position: z.ZodNumber;
|
|
3908
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3909
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3910
|
+
url: z.ZodString;
|
|
3911
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3912
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3913
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3914
|
+
ebookId: z.ZodOptional<z.ZodString>;
|
|
3915
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3916
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3917
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3918
|
+
kind: z.ZodLiteral<"video">;
|
|
3919
|
+
url: z.ZodString;
|
|
3920
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3921
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3922
|
+
}, z.core.$strip>], "kind">>>;
|
|
3923
|
+
createdVia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3924
|
+
client: z.ZodEnum<{
|
|
3925
|
+
extension: "extension";
|
|
3926
|
+
mcp: "mcp";
|
|
3927
|
+
mobile: "mobile";
|
|
3928
|
+
unknown: "unknown";
|
|
3929
|
+
web: "web";
|
|
3930
|
+
}>;
|
|
3931
|
+
mcpClientId: z.ZodOptional<z.ZodString>;
|
|
3932
|
+
mcpClientName: z.ZodOptional<z.ZodString>;
|
|
3933
|
+
}, z.core.$strip>>>;
|
|
3594
3934
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
3595
3935
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
3596
3936
|
}, z.core.$strip>>;
|
|
@@ -3637,6 +3977,32 @@ export declare const NotebaseRowListOutputSchema: z.ZodObject<{
|
|
|
3637
3977
|
notebaseId: z.ZodString;
|
|
3638
3978
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3639
3979
|
position: z.ZodNumber;
|
|
3980
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3981
|
+
kind: z.ZodLiteral<"webpage">;
|
|
3982
|
+
url: z.ZodString;
|
|
3983
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3984
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3985
|
+
kind: z.ZodLiteral<"ebook">;
|
|
3986
|
+
ebookId: z.ZodOptional<z.ZodString>;
|
|
3987
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3988
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
3989
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3990
|
+
kind: z.ZodLiteral<"video">;
|
|
3991
|
+
url: z.ZodString;
|
|
3992
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3993
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
3994
|
+
}, z.core.$strip>], "kind">>>;
|
|
3995
|
+
createdVia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3996
|
+
client: z.ZodEnum<{
|
|
3997
|
+
extension: "extension";
|
|
3998
|
+
mcp: "mcp";
|
|
3999
|
+
mobile: "mobile";
|
|
4000
|
+
unknown: "unknown";
|
|
4001
|
+
web: "web";
|
|
4002
|
+
}>;
|
|
4003
|
+
mcpClientId: z.ZodOptional<z.ZodString>;
|
|
4004
|
+
mcpClientName: z.ZodOptional<z.ZodString>;
|
|
4005
|
+
}, z.core.$strip>>>;
|
|
3640
4006
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
3641
4007
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
3642
4008
|
}, z.core.$strip>>;
|
|
@@ -3650,6 +4016,32 @@ export declare const NotebaseRowGetOutputSchema: z.ZodObject<{
|
|
|
3650
4016
|
notebaseId: z.ZodString;
|
|
3651
4017
|
cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3652
4018
|
position: z.ZodNumber;
|
|
4019
|
+
origin: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4020
|
+
kind: z.ZodLiteral<"webpage">;
|
|
4021
|
+
url: z.ZodString;
|
|
4022
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4023
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4024
|
+
kind: z.ZodLiteral<"ebook">;
|
|
4025
|
+
ebookId: z.ZodOptional<z.ZodString>;
|
|
4026
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4027
|
+
cfi: z.ZodOptional<z.ZodString>;
|
|
4028
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4029
|
+
kind: z.ZodLiteral<"video">;
|
|
4030
|
+
url: z.ZodString;
|
|
4031
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4032
|
+
seconds: z.ZodOptional<z.ZodNumber>;
|
|
4033
|
+
}, z.core.$strip>], "kind">>>;
|
|
4034
|
+
createdVia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4035
|
+
client: z.ZodEnum<{
|
|
4036
|
+
extension: "extension";
|
|
4037
|
+
mcp: "mcp";
|
|
4038
|
+
mobile: "mobile";
|
|
4039
|
+
unknown: "unknown";
|
|
4040
|
+
web: "web";
|
|
4041
|
+
}>;
|
|
4042
|
+
mcpClientId: z.ZodOptional<z.ZodString>;
|
|
4043
|
+
mcpClientName: z.ZodOptional<z.ZodString>;
|
|
4044
|
+
}, z.core.$strip>>>;
|
|
3653
4045
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
3654
4046
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
3655
4047
|
}, z.core.$strip>;
|
|
@@ -5260,6 +5652,205 @@ export declare const speechSynthesizeInputSchema: z.ZodObject<{
|
|
|
5260
5652
|
voice: z.ZodOptional<z.ZodString>;
|
|
5261
5653
|
}, z.core.$strict>;
|
|
5262
5654
|
export type SpeechSynthesizeInput = z.infer<typeof speechSynthesizeInputSchema>;
|
|
5655
|
+
/** The most texts one request forgets the audio of. */
|
|
5656
|
+
export declare const SPEECH_DELETE_AUDIO_MAX_TEXTS = 50;
|
|
5657
|
+
/**
|
|
5658
|
+
* Texts whose kept audio to forget, each as it is asked to be read aloud
|
|
5659
|
+
* (`speech.synthesize`): the next time one is, it is read anew. Audio for a
|
|
5660
|
+
* text that has none kept is no error.
|
|
5661
|
+
*/
|
|
5662
|
+
export declare const speechDeleteAudioInputSchema: z.ZodObject<{
|
|
5663
|
+
texts: z.ZodArray<z.ZodObject<{
|
|
5664
|
+
text: z.ZodString;
|
|
5665
|
+
language: z.ZodOptional<z.ZodEnum<{
|
|
5666
|
+
ace: "ace";
|
|
5667
|
+
afr: "afr";
|
|
5668
|
+
aka: "aka";
|
|
5669
|
+
amh: "amh";
|
|
5670
|
+
arb: "arb";
|
|
5671
|
+
asm: "asm";
|
|
5672
|
+
azj: "azj";
|
|
5673
|
+
bam: "bam";
|
|
5674
|
+
ban: "ban";
|
|
5675
|
+
bcl: "bcl";
|
|
5676
|
+
bel: "bel";
|
|
5677
|
+
ben: "ben";
|
|
5678
|
+
bho: "bho";
|
|
5679
|
+
bis: "bis";
|
|
5680
|
+
bjn: "bjn";
|
|
5681
|
+
bod: "bod";
|
|
5682
|
+
bos: "bos";
|
|
5683
|
+
bre: "bre";
|
|
5684
|
+
bug: "bug";
|
|
5685
|
+
bul: "bul";
|
|
5686
|
+
cat: "cat";
|
|
5687
|
+
ceb: "ceb";
|
|
5688
|
+
ces: "ces";
|
|
5689
|
+
cha: "cha";
|
|
5690
|
+
che: "che";
|
|
5691
|
+
chv: "chv";
|
|
5692
|
+
ckb: "ckb";
|
|
5693
|
+
cmn: "cmn";
|
|
5694
|
+
"cmn-Hant": "cmn-Hant";
|
|
5695
|
+
cos: "cos";
|
|
5696
|
+
cym: "cym";
|
|
5697
|
+
dan: "dan";
|
|
5698
|
+
deu: "deu";
|
|
5699
|
+
div: "div";
|
|
5700
|
+
dzo: "dzo";
|
|
5701
|
+
ekk: "ekk";
|
|
5702
|
+
ell: "ell";
|
|
5703
|
+
eng: "eng";
|
|
5704
|
+
epo: "epo";
|
|
5705
|
+
eus: "eus";
|
|
5706
|
+
ewe: "ewe";
|
|
5707
|
+
fao: "fao";
|
|
5708
|
+
fij: "fij";
|
|
5709
|
+
fin: "fin";
|
|
5710
|
+
fra: "fra";
|
|
5711
|
+
fry: "fry";
|
|
5712
|
+
fuv: "fuv";
|
|
5713
|
+
gil: "gil";
|
|
5714
|
+
gla: "gla";
|
|
5715
|
+
gle: "gle";
|
|
5716
|
+
glg: "glg";
|
|
5717
|
+
grn: "grn";
|
|
5718
|
+
guj: "guj";
|
|
5719
|
+
hat: "hat";
|
|
5720
|
+
hau: "hau";
|
|
5721
|
+
haw: "haw";
|
|
5722
|
+
heb: "heb";
|
|
5723
|
+
hif: "hif";
|
|
5724
|
+
hil: "hil";
|
|
5725
|
+
hin: "hin";
|
|
5726
|
+
hms: "hms";
|
|
5727
|
+
hnj: "hnj";
|
|
5728
|
+
hrv: "hrv";
|
|
5729
|
+
hun: "hun";
|
|
5730
|
+
hye: "hye";
|
|
5731
|
+
ibo: "ibo";
|
|
5732
|
+
ido: "ido";
|
|
5733
|
+
ilo: "ilo";
|
|
5734
|
+
ina: "ina";
|
|
5735
|
+
ind: "ind";
|
|
5736
|
+
isl: "isl";
|
|
5737
|
+
ita: "ita";
|
|
5738
|
+
jav: "jav";
|
|
5739
|
+
jpn: "jpn";
|
|
5740
|
+
kab: "kab";
|
|
5741
|
+
kan: "kan";
|
|
5742
|
+
kat: "kat";
|
|
5743
|
+
kaz: "kaz";
|
|
5744
|
+
khm: "khm";
|
|
5745
|
+
kin: "kin";
|
|
5746
|
+
kir: "kir";
|
|
5747
|
+
koi: "koi";
|
|
5748
|
+
kor: "kor";
|
|
5749
|
+
lao: "lao";
|
|
5750
|
+
lat: "lat";
|
|
5751
|
+
lin: "lin";
|
|
5752
|
+
lit: "lit";
|
|
5753
|
+
ltz: "ltz";
|
|
5754
|
+
lug: "lug";
|
|
5755
|
+
lvs: "lvs";
|
|
5756
|
+
mad: "mad";
|
|
5757
|
+
mag: "mag";
|
|
5758
|
+
mah: "mah";
|
|
5759
|
+
mai: "mai";
|
|
5760
|
+
mak: "mak";
|
|
5761
|
+
mal: "mal";
|
|
5762
|
+
mar: "mar";
|
|
5763
|
+
min: "min";
|
|
5764
|
+
mkd: "mkd";
|
|
5765
|
+
mlt: "mlt";
|
|
5766
|
+
mon: "mon";
|
|
5767
|
+
mri: "mri";
|
|
5768
|
+
mya: "mya";
|
|
5769
|
+
nbl: "nbl";
|
|
5770
|
+
nde: "nde";
|
|
5771
|
+
niu: "niu";
|
|
5772
|
+
nld: "nld";
|
|
5773
|
+
nno: "nno";
|
|
5774
|
+
nob: "nob";
|
|
5775
|
+
npi: "npi";
|
|
5776
|
+
nso: "nso";
|
|
5777
|
+
nya: "nya";
|
|
5778
|
+
oci: "oci";
|
|
5779
|
+
ori: "ori";
|
|
5780
|
+
orm: "orm";
|
|
5781
|
+
oss: "oss";
|
|
5782
|
+
pam: "pam";
|
|
5783
|
+
pan: "pan";
|
|
5784
|
+
pau: "pau";
|
|
5785
|
+
pbu: "pbu";
|
|
5786
|
+
pes: "pes";
|
|
5787
|
+
plt: "plt";
|
|
5788
|
+
pol: "pol";
|
|
5789
|
+
por: "por";
|
|
5790
|
+
prs: "prs";
|
|
5791
|
+
qug: "qug";
|
|
5792
|
+
rar: "rar";
|
|
5793
|
+
ron: "ron";
|
|
5794
|
+
run: "run";
|
|
5795
|
+
rus: "rus";
|
|
5796
|
+
san: "san";
|
|
5797
|
+
sas: "sas";
|
|
5798
|
+
sin: "sin";
|
|
5799
|
+
skr: "skr";
|
|
5800
|
+
slk: "slk";
|
|
5801
|
+
slv: "slv";
|
|
5802
|
+
smo: "smo";
|
|
5803
|
+
sna: "sna";
|
|
5804
|
+
snd: "snd";
|
|
5805
|
+
som: "som";
|
|
5806
|
+
sot: "sot";
|
|
5807
|
+
spa: "spa";
|
|
5808
|
+
sqi: "sqi";
|
|
5809
|
+
srp: "srp";
|
|
5810
|
+
ssw: "ssw";
|
|
5811
|
+
sun: "sun";
|
|
5812
|
+
swe: "swe";
|
|
5813
|
+
swh: "swh";
|
|
5814
|
+
tah: "tah";
|
|
5815
|
+
tam: "tam";
|
|
5816
|
+
tat: "tat";
|
|
5817
|
+
tel: "tel";
|
|
5818
|
+
tet: "tet";
|
|
5819
|
+
tgk: "tgk";
|
|
5820
|
+
tgl: "tgl";
|
|
5821
|
+
tha: "tha";
|
|
5822
|
+
tir: "tir";
|
|
5823
|
+
ton: "ton";
|
|
5824
|
+
tsn: "tsn";
|
|
5825
|
+
tuk: "tuk";
|
|
5826
|
+
tur: "tur";
|
|
5827
|
+
tvl: "tvl";
|
|
5828
|
+
uig: "uig";
|
|
5829
|
+
ukr: "ukr";
|
|
5830
|
+
urd: "urd";
|
|
5831
|
+
uzn: "uzn";
|
|
5832
|
+
ven: "ven";
|
|
5833
|
+
vie: "vie";
|
|
5834
|
+
vol: "vol";
|
|
5835
|
+
war: "war";
|
|
5836
|
+
wls: "wls";
|
|
5837
|
+
wol: "wol";
|
|
5838
|
+
xho: "xho";
|
|
5839
|
+
ydd: "ydd";
|
|
5840
|
+
yor: "yor";
|
|
5841
|
+
yue: "yue";
|
|
5842
|
+
zlm: "zlm";
|
|
5843
|
+
zul: "zul";
|
|
5844
|
+
zyb: "zyb";
|
|
5845
|
+
}>>;
|
|
5846
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
5847
|
+
}, z.core.$strict>>;
|
|
5848
|
+
}, z.core.$strict>;
|
|
5849
|
+
export type SpeechDeleteAudioInput = z.infer<typeof speechDeleteAudioInputSchema>;
|
|
5850
|
+
export declare const speechDeleteAllAudioOutputSchema: z.ZodObject<{
|
|
5851
|
+
deleted: z.ZodNumber;
|
|
5852
|
+
}, z.core.$strict>;
|
|
5853
|
+
export type SpeechDeleteAllAudioOutput = z.infer<typeof speechDeleteAllAudioOutputSchema>;
|
|
5263
5854
|
/**
|
|
5264
5855
|
* Where to download the audio, an MP3: a link to fetch at once, which stops
|
|
5265
5856
|
* working at `expiresAt`.
|
|
@@ -6174,6 +6765,7 @@ export declare const webSyncOperationSchema: z.ZodEnum<{
|
|
|
6174
6765
|
cardStatus: "cardStatus";
|
|
6175
6766
|
createTemplate: "createTemplate";
|
|
6176
6767
|
delete: "delete";
|
|
6768
|
+
deleteCard: "deleteCard";
|
|
6177
6769
|
deleteNote: "deleteNote";
|
|
6178
6770
|
insert: "insert";
|
|
6179
6771
|
review: "review";
|
|
@@ -6235,6 +6827,7 @@ export declare const webSyncEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6235
6827
|
cardStatus: "cardStatus";
|
|
6236
6828
|
createTemplate: "createTemplate";
|
|
6237
6829
|
delete: "delete";
|
|
6830
|
+
deleteCard: "deleteCard";
|
|
6238
6831
|
deleteNote: "deleteNote";
|
|
6239
6832
|
insert: "insert";
|
|
6240
6833
|
review: "review";
|
|
@@ -6300,6 +6893,7 @@ export declare const reportWebSyncInputSchema: z.ZodObject<{
|
|
|
6300
6893
|
cardStatus: "cardStatus";
|
|
6301
6894
|
createTemplate: "createTemplate";
|
|
6302
6895
|
delete: "delete";
|
|
6896
|
+
deleteCard: "deleteCard";
|
|
6303
6897
|
deleteNote: "deleteNote";
|
|
6304
6898
|
insert: "insert";
|
|
6305
6899
|
review: "review";
|
|
@@ -6539,6 +7133,13 @@ export declare const contract: {
|
|
|
6539
7133
|
}, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "BILLING_CHANGE_SCHEDULED" | "BILLING_CHECKOUT_CONFLICT" | "BILLING_CUSTOMER_NOT_FOUND" | "BILLING_NOT_CONFIGURED" | "BILLING_PASS_ACTIVE">>, Record<never, never>>;
|
|
6540
7134
|
};
|
|
6541
7135
|
card: {
|
|
7136
|
+
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
7137
|
+
id: import("zod").ZodUUID;
|
|
7138
|
+
expectedVariantKey: import("zod").ZodString;
|
|
7139
|
+
expectedRowUpdatedAt: import("zod").ZodISODateTime;
|
|
7140
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7141
|
+
txid: import("zod").ZodNumber;
|
|
7142
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_DELETE_UNSUPPORTED" | "CARD_NOT_FOUND" | "CELL_VALIDATION_FAILED" | "NOTEBASE_NOT_FOUND" | "RESOURCE_UPDATE_CONFLICT">>, Record<never, never>>;
|
|
6542
7143
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
6543
7144
|
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6544
7145
|
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -7840,6 +8441,8 @@ export declare const contract: {
|
|
|
7840
8441
|
value: import("zod").ZodString;
|
|
7841
8442
|
color: import("zod").ZodString;
|
|
7842
8443
|
}, import("zod/v4/core").$strip>>>;
|
|
8444
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8445
|
+
type: import("zod").ZodLiteral<"clozeText">;
|
|
7843
8446
|
}, import("zod/v4/core").$strip>], "type">;
|
|
7844
8447
|
position: import("zod").ZodNumber;
|
|
7845
8448
|
isPrimary: import("zod").ZodBoolean;
|
|
@@ -7853,6 +8456,32 @@ export declare const contract: {
|
|
|
7853
8456
|
notebaseId: import("zod").ZodString;
|
|
7854
8457
|
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
7855
8458
|
position: import("zod").ZodNumber;
|
|
8459
|
+
origin: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
8460
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
8461
|
+
url: import("zod").ZodString;
|
|
8462
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8463
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8464
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
8465
|
+
ebookId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8466
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8467
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8468
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8469
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
8470
|
+
url: import("zod").ZodString;
|
|
8471
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8472
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8473
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
8474
|
+
createdVia: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
8475
|
+
client: import("zod").ZodEnum<{
|
|
8476
|
+
extension: "extension";
|
|
8477
|
+
mcp: "mcp";
|
|
8478
|
+
mobile: "mobile";
|
|
8479
|
+
unknown: "unknown";
|
|
8480
|
+
web: "web";
|
|
8481
|
+
}>;
|
|
8482
|
+
mcpClientId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8483
|
+
mcpClientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8484
|
+
}, import("zod/v4/core").$strip>>>;
|
|
7856
8485
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
7857
8486
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
7858
8487
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -7909,6 +8538,8 @@ export declare const contract: {
|
|
|
7909
8538
|
value: import("zod").ZodString;
|
|
7910
8539
|
color: import("zod").ZodString;
|
|
7911
8540
|
}, import("zod/v4/core").$strip>>>;
|
|
8541
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8542
|
+
type: import("zod").ZodLiteral<"clozeText">;
|
|
7912
8543
|
}, import("zod/v4/core").$strip>], "type">;
|
|
7913
8544
|
position: import("zod").ZodNumber;
|
|
7914
8545
|
isPrimary: import("zod").ZodBoolean;
|
|
@@ -7950,15 +8581,45 @@ export declare const contract: {
|
|
|
7950
8581
|
value: import("zod").ZodString;
|
|
7951
8582
|
color: import("zod").ZodString;
|
|
7952
8583
|
}, import("zod/v4/core").$strip>>>;
|
|
8584
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8585
|
+
type: import("zod").ZodLiteral<"clozeText">;
|
|
7953
8586
|
}, import("zod/v4/core").$strip>], "type">;
|
|
7954
8587
|
}, import("zod/v4/core").$strict>>;
|
|
7955
8588
|
initialRow: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7956
8589
|
id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
7957
8590
|
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
8591
|
+
origin: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
8592
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
8593
|
+
url: import("zod").ZodString;
|
|
8594
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8595
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8596
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
8597
|
+
ebookId: import("zod").ZodUUID;
|
|
8598
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8599
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8600
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
8601
|
+
url: import("zod").ZodString;
|
|
8602
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8603
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8604
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
7958
8605
|
}, import("zod/v4/core").$strict>>;
|
|
7959
8606
|
initialRows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
7960
8607
|
id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
7961
8608
|
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
8609
|
+
origin: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
8610
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
8611
|
+
url: import("zod").ZodString;
|
|
8612
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8613
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8614
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
8615
|
+
ebookId: import("zod").ZodUUID;
|
|
8616
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8617
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8618
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
8619
|
+
url: import("zod").ZodString;
|
|
8620
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8621
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8622
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
7962
8623
|
}, import("zod/v4/core").$strict>>>;
|
|
7963
8624
|
}, import("zod/v4/core").$strict>>;
|
|
7964
8625
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
@@ -8080,6 +8741,8 @@ export declare const contract: {
|
|
|
8080
8741
|
value: import("zod").ZodString;
|
|
8081
8742
|
color: import("zod").ZodString;
|
|
8082
8743
|
}, import("zod/v4/core").$strip>>>;
|
|
8744
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8745
|
+
type: import("zod").ZodLiteral<"clozeText">;
|
|
8083
8746
|
}, import("zod/v4/core").$strip>], "type">;
|
|
8084
8747
|
}, import("zod/v4/core").$strict>;
|
|
8085
8748
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -8109,6 +8772,8 @@ export declare const contract: {
|
|
|
8109
8772
|
value: import("zod").ZodString;
|
|
8110
8773
|
color: import("zod").ZodString;
|
|
8111
8774
|
}, import("zod/v4/core").$strip>>>;
|
|
8775
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8776
|
+
type: import("zod").ZodLiteral<"clozeText">;
|
|
8112
8777
|
}, import("zod/v4/core").$strip>], "type">;
|
|
8113
8778
|
position: import("zod").ZodNumber;
|
|
8114
8779
|
isPrimary: import("zod").ZodBoolean;
|
|
@@ -8149,6 +8814,8 @@ export declare const contract: {
|
|
|
8149
8814
|
value: import("zod").ZodString;
|
|
8150
8815
|
color: import("zod").ZodString;
|
|
8151
8816
|
}, import("zod/v4/core").$strip>>>;
|
|
8817
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8818
|
+
type: import("zod").ZodLiteral<"clozeText">;
|
|
8152
8819
|
}, import("zod/v4/core").$strip>], "type">>;
|
|
8153
8820
|
width: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
8154
8821
|
wrap: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -8180,6 +8847,8 @@ export declare const contract: {
|
|
|
8180
8847
|
value: import("zod").ZodString;
|
|
8181
8848
|
color: import("zod").ZodString;
|
|
8182
8849
|
}, import("zod/v4/core").$strip>>>;
|
|
8850
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8851
|
+
type: import("zod").ZodLiteral<"clozeText">;
|
|
8183
8852
|
}, import("zod/v4/core").$strip>], "type">;
|
|
8184
8853
|
position: import("zod").ZodNumber;
|
|
8185
8854
|
isPrimary: import("zod").ZodBoolean;
|
|
@@ -8221,6 +8890,32 @@ export declare const contract: {
|
|
|
8221
8890
|
notebaseId: import("zod").ZodString;
|
|
8222
8891
|
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
8223
8892
|
position: import("zod").ZodNumber;
|
|
8893
|
+
origin: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
8894
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
8895
|
+
url: import("zod").ZodString;
|
|
8896
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8897
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8898
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
8899
|
+
ebookId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8900
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8901
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8902
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8903
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
8904
|
+
url: import("zod").ZodString;
|
|
8905
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8906
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8907
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
8908
|
+
createdVia: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
8909
|
+
client: import("zod").ZodEnum<{
|
|
8910
|
+
extension: "extension";
|
|
8911
|
+
mcp: "mcp";
|
|
8912
|
+
mobile: "mobile";
|
|
8913
|
+
unknown: "unknown";
|
|
8914
|
+
web: "web";
|
|
8915
|
+
}>;
|
|
8916
|
+
mcpClientId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8917
|
+
mcpClientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8918
|
+
}, import("zod/v4/core").$strip>>>;
|
|
8224
8919
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
8225
8920
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
8226
8921
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -8236,6 +8931,32 @@ export declare const contract: {
|
|
|
8236
8931
|
notebaseId: import("zod").ZodString;
|
|
8237
8932
|
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
8238
8933
|
position: import("zod").ZodNumber;
|
|
8934
|
+
origin: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
8935
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
8936
|
+
url: import("zod").ZodString;
|
|
8937
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8938
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8939
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
8940
|
+
ebookId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8941
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8942
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8943
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8944
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
8945
|
+
url: import("zod").ZodString;
|
|
8946
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8947
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8948
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
8949
|
+
createdVia: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
8950
|
+
client: import("zod").ZodEnum<{
|
|
8951
|
+
extension: "extension";
|
|
8952
|
+
mcp: "mcp";
|
|
8953
|
+
mobile: "mobile";
|
|
8954
|
+
unknown: "unknown";
|
|
8955
|
+
web: "web";
|
|
8956
|
+
}>;
|
|
8957
|
+
mcpClientId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8958
|
+
mcpClientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8959
|
+
}, import("zod/v4/core").$strip>>>;
|
|
8239
8960
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
8240
8961
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
8241
8962
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_ROW_NOT_FOUND">>, {
|
|
@@ -8247,6 +8968,20 @@ export declare const contract: {
|
|
|
8247
8968
|
data: import("zod").ZodObject<{
|
|
8248
8969
|
id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
8249
8970
|
cells: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
8971
|
+
origin: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
8972
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
8973
|
+
url: import("zod").ZodString;
|
|
8974
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8975
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8976
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
8977
|
+
ebookId: import("zod").ZodUUID;
|
|
8978
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8979
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8980
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
8981
|
+
url: import("zod").ZodString;
|
|
8982
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8983
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8984
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
8250
8985
|
}, import("zod/v4/core").$strict>;
|
|
8251
8986
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8252
8987
|
note: import("zod").ZodObject<{
|
|
@@ -8254,6 +8989,32 @@ export declare const contract: {
|
|
|
8254
8989
|
notebaseId: import("zod").ZodString;
|
|
8255
8990
|
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
8256
8991
|
position: import("zod").ZodNumber;
|
|
8992
|
+
origin: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
8993
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
8994
|
+
url: import("zod").ZodString;
|
|
8995
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8996
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8997
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
8998
|
+
ebookId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8999
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9000
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9001
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9002
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
9003
|
+
url: import("zod").ZodString;
|
|
9004
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9005
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
9006
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
9007
|
+
createdVia: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
9008
|
+
client: import("zod").ZodEnum<{
|
|
9009
|
+
extension: "extension";
|
|
9010
|
+
mcp: "mcp";
|
|
9011
|
+
mobile: "mobile";
|
|
9012
|
+
unknown: "unknown";
|
|
9013
|
+
web: "web";
|
|
9014
|
+
}>;
|
|
9015
|
+
mcpClientId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9016
|
+
mcpClientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9017
|
+
}, import("zod/v4/core").$strip>>>;
|
|
8257
9018
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
8258
9019
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
8259
9020
|
}, import("zod/v4/core").$strip>;
|
|
@@ -8267,6 +9028,20 @@ export declare const contract: {
|
|
|
8267
9028
|
rows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
8268
9029
|
id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
8269
9030
|
cells: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
9031
|
+
origin: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
9032
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
9033
|
+
url: import("zod").ZodString;
|
|
9034
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9035
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9036
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
9037
|
+
ebookId: import("zod").ZodUUID;
|
|
9038
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9039
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9040
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
9041
|
+
url: import("zod").ZodString;
|
|
9042
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9043
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
9044
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
8270
9045
|
}, import("zod/v4/core").$strict>>;
|
|
8271
9046
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8272
9047
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -8274,6 +9049,32 @@ export declare const contract: {
|
|
|
8274
9049
|
notebaseId: import("zod").ZodString;
|
|
8275
9050
|
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
8276
9051
|
position: import("zod").ZodNumber;
|
|
9052
|
+
origin: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
9053
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
9054
|
+
url: import("zod").ZodString;
|
|
9055
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9056
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9057
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
9058
|
+
ebookId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9059
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9060
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9061
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9062
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
9063
|
+
url: import("zod").ZodString;
|
|
9064
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9065
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
9066
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
9067
|
+
createdVia: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
9068
|
+
client: import("zod").ZodEnum<{
|
|
9069
|
+
extension: "extension";
|
|
9070
|
+
mcp: "mcp";
|
|
9071
|
+
mobile: "mobile";
|
|
9072
|
+
unknown: "unknown";
|
|
9073
|
+
web: "web";
|
|
9074
|
+
}>;
|
|
9075
|
+
mcpClientId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9076
|
+
mcpClientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9077
|
+
}, import("zod/v4/core").$strip>>>;
|
|
8277
9078
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
8278
9079
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
8279
9080
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -8293,6 +9094,32 @@ export declare const contract: {
|
|
|
8293
9094
|
notebaseId: import("zod").ZodUUID;
|
|
8294
9095
|
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
8295
9096
|
position: import("zod").ZodNumber;
|
|
9097
|
+
origin: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
9098
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
9099
|
+
url: import("zod").ZodString;
|
|
9100
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9101
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9102
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
9103
|
+
ebookId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9104
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9105
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9106
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9107
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
9108
|
+
url: import("zod").ZodString;
|
|
9109
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9110
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
9111
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
9112
|
+
createdVia: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
9113
|
+
client: import("zod").ZodEnum<{
|
|
9114
|
+
extension: "extension";
|
|
9115
|
+
mcp: "mcp";
|
|
9116
|
+
mobile: "mobile";
|
|
9117
|
+
unknown: "unknown";
|
|
9118
|
+
web: "web";
|
|
9119
|
+
}>;
|
|
9120
|
+
mcpClientId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9121
|
+
mcpClientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9122
|
+
}, import("zod/v4/core").$strip>>>;
|
|
8296
9123
|
createdAt: import("zod").ZodDate;
|
|
8297
9124
|
updatedAt: import("zod").ZodDate;
|
|
8298
9125
|
txid: import("zod").ZodNumber;
|
|
@@ -8315,6 +9142,32 @@ export declare const contract: {
|
|
|
8315
9142
|
notebaseId: import("zod").ZodString;
|
|
8316
9143
|
cells: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
8317
9144
|
position: import("zod").ZodNumber;
|
|
9145
|
+
origin: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
9146
|
+
kind: import("zod").ZodLiteral<"webpage">;
|
|
9147
|
+
url: import("zod").ZodString;
|
|
9148
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9149
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9150
|
+
kind: import("zod").ZodLiteral<"ebook">;
|
|
9151
|
+
ebookId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9152
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9153
|
+
cfi: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9154
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9155
|
+
kind: import("zod").ZodLiteral<"video">;
|
|
9156
|
+
url: import("zod").ZodString;
|
|
9157
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9158
|
+
seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
9159
|
+
}, import("zod/v4/core").$strip>], "kind">>>;
|
|
9160
|
+
createdVia: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
9161
|
+
client: import("zod").ZodEnum<{
|
|
9162
|
+
extension: "extension";
|
|
9163
|
+
mcp: "mcp";
|
|
9164
|
+
mobile: "mobile";
|
|
9165
|
+
unknown: "unknown";
|
|
9166
|
+
web: "web";
|
|
9167
|
+
}>;
|
|
9168
|
+
mcpClientId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9169
|
+
mcpClientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9170
|
+
}, import("zod/v4/core").$strip>>>;
|
|
8318
9171
|
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
8319
9172
|
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
8320
9173
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -9728,6 +10581,196 @@ export declare const contract: {
|
|
|
9728
10581
|
url: import("zod").ZodURL;
|
|
9729
10582
|
expiresAt: import("zod").ZodCoercedDate<unknown>;
|
|
9730
10583
|
}, import("zod/v4/core").$strict>, Record<never, never>, Record<never, never>>;
|
|
10584
|
+
deleteAudio: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10585
|
+
texts: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10586
|
+
text: import("zod").ZodString;
|
|
10587
|
+
language: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
10588
|
+
ace: "ace";
|
|
10589
|
+
afr: "afr";
|
|
10590
|
+
aka: "aka";
|
|
10591
|
+
amh: "amh";
|
|
10592
|
+
arb: "arb";
|
|
10593
|
+
asm: "asm";
|
|
10594
|
+
azj: "azj";
|
|
10595
|
+
bam: "bam";
|
|
10596
|
+
ban: "ban";
|
|
10597
|
+
bcl: "bcl";
|
|
10598
|
+
bel: "bel";
|
|
10599
|
+
ben: "ben";
|
|
10600
|
+
bho: "bho";
|
|
10601
|
+
bis: "bis";
|
|
10602
|
+
bjn: "bjn";
|
|
10603
|
+
bod: "bod";
|
|
10604
|
+
bos: "bos";
|
|
10605
|
+
bre: "bre";
|
|
10606
|
+
bug: "bug";
|
|
10607
|
+
bul: "bul";
|
|
10608
|
+
cat: "cat";
|
|
10609
|
+
ceb: "ceb";
|
|
10610
|
+
ces: "ces";
|
|
10611
|
+
cha: "cha";
|
|
10612
|
+
che: "che";
|
|
10613
|
+
chv: "chv";
|
|
10614
|
+
ckb: "ckb";
|
|
10615
|
+
cmn: "cmn";
|
|
10616
|
+
"cmn-Hant": "cmn-Hant";
|
|
10617
|
+
cos: "cos";
|
|
10618
|
+
cym: "cym";
|
|
10619
|
+
dan: "dan";
|
|
10620
|
+
deu: "deu";
|
|
10621
|
+
div: "div";
|
|
10622
|
+
dzo: "dzo";
|
|
10623
|
+
ekk: "ekk";
|
|
10624
|
+
ell: "ell";
|
|
10625
|
+
eng: "eng";
|
|
10626
|
+
epo: "epo";
|
|
10627
|
+
eus: "eus";
|
|
10628
|
+
ewe: "ewe";
|
|
10629
|
+
fao: "fao";
|
|
10630
|
+
fij: "fij";
|
|
10631
|
+
fin: "fin";
|
|
10632
|
+
fra: "fra";
|
|
10633
|
+
fry: "fry";
|
|
10634
|
+
fuv: "fuv";
|
|
10635
|
+
gil: "gil";
|
|
10636
|
+
gla: "gla";
|
|
10637
|
+
gle: "gle";
|
|
10638
|
+
glg: "glg";
|
|
10639
|
+
grn: "grn";
|
|
10640
|
+
guj: "guj";
|
|
10641
|
+
hat: "hat";
|
|
10642
|
+
hau: "hau";
|
|
10643
|
+
haw: "haw";
|
|
10644
|
+
heb: "heb";
|
|
10645
|
+
hif: "hif";
|
|
10646
|
+
hil: "hil";
|
|
10647
|
+
hin: "hin";
|
|
10648
|
+
hms: "hms";
|
|
10649
|
+
hnj: "hnj";
|
|
10650
|
+
hrv: "hrv";
|
|
10651
|
+
hun: "hun";
|
|
10652
|
+
hye: "hye";
|
|
10653
|
+
ibo: "ibo";
|
|
10654
|
+
ido: "ido";
|
|
10655
|
+
ilo: "ilo";
|
|
10656
|
+
ina: "ina";
|
|
10657
|
+
ind: "ind";
|
|
10658
|
+
isl: "isl";
|
|
10659
|
+
ita: "ita";
|
|
10660
|
+
jav: "jav";
|
|
10661
|
+
jpn: "jpn";
|
|
10662
|
+
kab: "kab";
|
|
10663
|
+
kan: "kan";
|
|
10664
|
+
kat: "kat";
|
|
10665
|
+
kaz: "kaz";
|
|
10666
|
+
khm: "khm";
|
|
10667
|
+
kin: "kin";
|
|
10668
|
+
kir: "kir";
|
|
10669
|
+
koi: "koi";
|
|
10670
|
+
kor: "kor";
|
|
10671
|
+
lao: "lao";
|
|
10672
|
+
lat: "lat";
|
|
10673
|
+
lin: "lin";
|
|
10674
|
+
lit: "lit";
|
|
10675
|
+
ltz: "ltz";
|
|
10676
|
+
lug: "lug";
|
|
10677
|
+
lvs: "lvs";
|
|
10678
|
+
mad: "mad";
|
|
10679
|
+
mag: "mag";
|
|
10680
|
+
mah: "mah";
|
|
10681
|
+
mai: "mai";
|
|
10682
|
+
mak: "mak";
|
|
10683
|
+
mal: "mal";
|
|
10684
|
+
mar: "mar";
|
|
10685
|
+
min: "min";
|
|
10686
|
+
mkd: "mkd";
|
|
10687
|
+
mlt: "mlt";
|
|
10688
|
+
mon: "mon";
|
|
10689
|
+
mri: "mri";
|
|
10690
|
+
mya: "mya";
|
|
10691
|
+
nbl: "nbl";
|
|
10692
|
+
nde: "nde";
|
|
10693
|
+
niu: "niu";
|
|
10694
|
+
nld: "nld";
|
|
10695
|
+
nno: "nno";
|
|
10696
|
+
nob: "nob";
|
|
10697
|
+
npi: "npi";
|
|
10698
|
+
nso: "nso";
|
|
10699
|
+
nya: "nya";
|
|
10700
|
+
oci: "oci";
|
|
10701
|
+
ori: "ori";
|
|
10702
|
+
orm: "orm";
|
|
10703
|
+
oss: "oss";
|
|
10704
|
+
pam: "pam";
|
|
10705
|
+
pan: "pan";
|
|
10706
|
+
pau: "pau";
|
|
10707
|
+
pbu: "pbu";
|
|
10708
|
+
pes: "pes";
|
|
10709
|
+
plt: "plt";
|
|
10710
|
+
pol: "pol";
|
|
10711
|
+
por: "por";
|
|
10712
|
+
prs: "prs";
|
|
10713
|
+
qug: "qug";
|
|
10714
|
+
rar: "rar";
|
|
10715
|
+
ron: "ron";
|
|
10716
|
+
run: "run";
|
|
10717
|
+
rus: "rus";
|
|
10718
|
+
san: "san";
|
|
10719
|
+
sas: "sas";
|
|
10720
|
+
sin: "sin";
|
|
10721
|
+
skr: "skr";
|
|
10722
|
+
slk: "slk";
|
|
10723
|
+
slv: "slv";
|
|
10724
|
+
smo: "smo";
|
|
10725
|
+
sna: "sna";
|
|
10726
|
+
snd: "snd";
|
|
10727
|
+
som: "som";
|
|
10728
|
+
sot: "sot";
|
|
10729
|
+
spa: "spa";
|
|
10730
|
+
sqi: "sqi";
|
|
10731
|
+
srp: "srp";
|
|
10732
|
+
ssw: "ssw";
|
|
10733
|
+
sun: "sun";
|
|
10734
|
+
swe: "swe";
|
|
10735
|
+
swh: "swh";
|
|
10736
|
+
tah: "tah";
|
|
10737
|
+
tam: "tam";
|
|
10738
|
+
tat: "tat";
|
|
10739
|
+
tel: "tel";
|
|
10740
|
+
tet: "tet";
|
|
10741
|
+
tgk: "tgk";
|
|
10742
|
+
tgl: "tgl";
|
|
10743
|
+
tha: "tha";
|
|
10744
|
+
tir: "tir";
|
|
10745
|
+
ton: "ton";
|
|
10746
|
+
tsn: "tsn";
|
|
10747
|
+
tuk: "tuk";
|
|
10748
|
+
tur: "tur";
|
|
10749
|
+
tvl: "tvl";
|
|
10750
|
+
uig: "uig";
|
|
10751
|
+
ukr: "ukr";
|
|
10752
|
+
urd: "urd";
|
|
10753
|
+
uzn: "uzn";
|
|
10754
|
+
ven: "ven";
|
|
10755
|
+
vie: "vie";
|
|
10756
|
+
vol: "vol";
|
|
10757
|
+
war: "war";
|
|
10758
|
+
wls: "wls";
|
|
10759
|
+
wol: "wol";
|
|
10760
|
+
xho: "xho";
|
|
10761
|
+
ydd: "ydd";
|
|
10762
|
+
yor: "yor";
|
|
10763
|
+
yue: "yue";
|
|
10764
|
+
zlm: "zlm";
|
|
10765
|
+
zul: "zul";
|
|
10766
|
+
zyb: "zyb";
|
|
10767
|
+
}>>;
|
|
10768
|
+
voice: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10769
|
+
}, import("zod/v4/core").$strict>>;
|
|
10770
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
10771
|
+
deleteAllAudio: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
10772
|
+
deleted: import("zod").ZodNumber;
|
|
10773
|
+
}, import("zod/v4/core").$strict>, Record<never, never>, Record<never, never>>;
|
|
9731
10774
|
};
|
|
9732
10775
|
srs: {
|
|
9733
10776
|
scheduleStatusStats: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -10170,6 +11213,7 @@ export declare const contract: {
|
|
|
10170
11213
|
cardStatus: "cardStatus";
|
|
10171
11214
|
createTemplate: "createTemplate";
|
|
10172
11215
|
delete: "delete";
|
|
11216
|
+
deleteCard: "deleteCard";
|
|
10173
11217
|
deleteNote: "deleteNote";
|
|
10174
11218
|
insert: "insert";
|
|
10175
11219
|
review: "review";
|