@read-frog/api-contract 0.12.1 → 0.12.3

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 CHANGED
@@ -40,7 +40,55 @@ declare const CardTemplateInvalidColumnsDataSchema: z.ZodObject<{
40
40
  notebaseColumnIds: z.ZodArray<z.ZodString>;
41
41
  }, z.core.$strict>;
42
42
  type CardTemplateInvalidColumnsData = z.infer<typeof CardTemplateInvalidColumnsDataSchema>;
43
+ declare const HostedAiTierRestrictedDataSchema: z.ZodObject<{
44
+ modelTier: z.ZodEnum<{
45
+ normal: "normal";
46
+ ultra: "ultra";
47
+ }>;
48
+ }, z.core.$strict>;
49
+ declare const HostedAiQuotaExhaustedDataSchema: z.ZodObject<{
50
+ modelTier: z.ZodEnum<{
51
+ normal: "normal";
52
+ ultra: "ultra";
53
+ }>;
54
+ policyId: z.ZodEnum<{
55
+ "custom-action-guest-daily-v1": "custom-action-guest-daily-v1";
56
+ "custom-action-user-daily-v1": "custom-action-user-daily-v1";
57
+ "custom-action-pro-daily-v1": "custom-action-pro-daily-v1";
58
+ "ultra-weekly-v1": "ultra-weekly-v1";
59
+ }>;
60
+ usedPercent: z.ZodNumber;
61
+ resetAt: z.ZodNullable<z.ZodISODateTime>;
62
+ }, z.core.$strict>;
43
63
  declare const PUBLIC_APP_ERROR_DEFS: {
64
+ readonly HOSTED_AI_TIER_RESTRICTED: {
65
+ readonly data: z.ZodObject<{
66
+ modelTier: z.ZodEnum<{
67
+ normal: "normal";
68
+ ultra: "ultra";
69
+ }>;
70
+ }, z.core.$strict>;
71
+ readonly message: "This Built-in AI tier is not available for this account";
72
+ readonly status: 403;
73
+ };
74
+ readonly HOSTED_AI_QUOTA_EXHAUSTED: {
75
+ readonly data: z.ZodObject<{
76
+ modelTier: z.ZodEnum<{
77
+ normal: "normal";
78
+ ultra: "ultra";
79
+ }>;
80
+ policyId: z.ZodEnum<{
81
+ "custom-action-guest-daily-v1": "custom-action-guest-daily-v1";
82
+ "custom-action-user-daily-v1": "custom-action-user-daily-v1";
83
+ "custom-action-pro-daily-v1": "custom-action-pro-daily-v1";
84
+ "ultra-weekly-v1": "ultra-weekly-v1";
85
+ }>;
86
+ usedPercent: z.ZodNumber;
87
+ resetAt: z.ZodNullable<z.ZodISODateTime>;
88
+ }, z.core.$strict>;
89
+ readonly message: "Built-in AI credit exhausted";
90
+ readonly status: 429;
91
+ };
44
92
  readonly NOTEBASE_BETA_RESTRICTED: {
45
93
  readonly message: "Notebase is currently in beta for selected accounts";
46
94
  readonly status: 403;
@@ -204,6 +252,34 @@ type PublicAppErrorData<TCode extends PublicAppErrorCode> = (typeof PUBLIC_APP_E
204
252
  } ? z.output<TSchema> : undefined;
205
253
  declare function isPublicAppErrorCode(code: string | undefined): code is PublicAppErrorCode;
206
254
  declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code: TCode): {
255
+ readonly HOSTED_AI_TIER_RESTRICTED: {
256
+ readonly data: z.ZodObject<{
257
+ modelTier: z.ZodEnum<{
258
+ normal: "normal";
259
+ ultra: "ultra";
260
+ }>;
261
+ }, z.core.$strict>;
262
+ readonly message: "This Built-in AI tier is not available for this account";
263
+ readonly status: 403;
264
+ };
265
+ readonly HOSTED_AI_QUOTA_EXHAUSTED: {
266
+ readonly data: z.ZodObject<{
267
+ modelTier: z.ZodEnum<{
268
+ normal: "normal";
269
+ ultra: "ultra";
270
+ }>;
271
+ policyId: z.ZodEnum<{
272
+ "custom-action-guest-daily-v1": "custom-action-guest-daily-v1";
273
+ "custom-action-user-daily-v1": "custom-action-user-daily-v1";
274
+ "custom-action-pro-daily-v1": "custom-action-pro-daily-v1";
275
+ "ultra-weekly-v1": "ultra-weekly-v1";
276
+ }>;
277
+ usedPercent: z.ZodNumber;
278
+ resetAt: z.ZodNullable<z.ZodISODateTime>;
279
+ }, z.core.$strict>;
280
+ readonly message: "Built-in AI credit exhausted";
281
+ readonly status: 429;
282
+ };
207
283
  readonly NOTEBASE_BETA_RESTRICTED: {
208
284
  readonly message: "Notebase is currently in beta for selected accounts";
209
285
  readonly status: 403;
@@ -406,14 +482,14 @@ declare const billingSubscriptionStatusSchema: z.ZodEnum<{
406
482
  }>;
407
483
  type BillingSubscriptionStatus = z.infer<typeof billingSubscriptionStatusSchema>;
408
484
  declare const billingPlanSchema: z.ZodEnum<{
485
+ ultra: "ultra";
409
486
  free: "free";
410
487
  pro: "pro";
411
- ultra: "ultra";
412
488
  }>;
413
489
  type BillingPlan = z.infer<typeof billingPlanSchema>;
414
490
  declare const billingCheckoutPlanSchema: z.ZodEnum<{
415
- pro: "pro";
416
491
  ultra: "ultra";
492
+ pro: "pro";
417
493
  }>;
418
494
  type BillingCheckoutPlan = z.infer<typeof billingCheckoutPlanSchema>;
419
495
  declare const billingCurrencySchema: z.ZodEnum<{
@@ -441,8 +517,8 @@ declare const billingAccessSourceSchema: z.ZodEnum<{
441
517
  type BillingAccessSource = z.infer<typeof billingAccessSourceSchema>;
442
518
  declare const billingScheduledChangeSchema: z.ZodObject<{
443
519
  plan: z.ZodEnum<{
444
- pro: "pro";
445
520
  ultra: "ultra";
521
+ pro: "pro";
446
522
  }>;
447
523
  interval: z.ZodEnum<{
448
524
  month: "month";
@@ -453,9 +529,9 @@ declare const billingScheduledChangeSchema: z.ZodObject<{
453
529
  type BillingScheduledChange = z.infer<typeof billingScheduledChangeSchema>;
454
530
  declare const billingStatusSchema: z.ZodObject<{
455
531
  plan: z.ZodEnum<{
532
+ ultra: "ultra";
456
533
  free: "free";
457
534
  pro: "pro";
458
- ultra: "ultra";
459
535
  }>;
460
536
  status: z.ZodNullable<z.ZodEnum<{
461
537
  incomplete: "incomplete";
@@ -479,8 +555,8 @@ declare const billingStatusSchema: z.ZodObject<{
479
555
  }>>;
480
556
  scheduledChange: z.ZodNullable<z.ZodObject<{
481
557
  plan: z.ZodEnum<{
482
- pro: "pro";
483
558
  ultra: "ultra";
559
+ pro: "pro";
484
560
  }>;
485
561
  interval: z.ZodEnum<{
486
562
  month: "month";
@@ -515,8 +591,8 @@ declare const billingCreateCheckoutSessionInputSchema: z.ZodObject<{
515
591
  "zh-TW": "zh-TW";
516
592
  }>;
517
593
  plan: z.ZodDefault<z.ZodEnum<{
518
- pro: "pro";
519
594
  ultra: "ultra";
595
+ pro: "pro";
520
596
  }>>;
521
597
  }, z.core.$strict>;
522
598
  type BillingCreateCheckoutSessionInput = z.infer<typeof billingCreateCheckoutSessionInputSchema>;
@@ -1032,15 +1108,28 @@ declare const HostedAiOutputFieldSchema: z.ZodObject<{
1032
1108
  number: "number";
1033
1109
  }>;
1034
1110
  }, z.core.$strict>;
1111
+ declare const HostedAiModelTierSchema: z.ZodEnum<{
1112
+ normal: "normal";
1113
+ ultra: "ultra";
1114
+ }>;
1115
+ declare const HostedAiFeatureSchema: z.ZodEnum<{
1116
+ pageTranslation: "pageTranslation";
1117
+ customAction: "customAction";
1118
+ noteSuggestion: "noteSuggestion";
1119
+ }>;
1120
+ declare const HostedAiRequestIdSchema: z.ZodUUID;
1035
1121
  declare const HostedAiStreamTextInputSchema: z.ZodObject<{
1036
- instructions: z.ZodOptional<z.ZodString>;
1037
- system: z.ZodOptional<z.ZodString>;
1122
+ instructions: z.ZodString;
1038
1123
  prompt: z.ZodString;
1039
1124
  temperature: z.ZodOptional<z.ZodNumber>;
1125
+ modelTier: z.ZodDefault<z.ZodEnum<{
1126
+ normal: "normal";
1127
+ ultra: "ultra";
1128
+ }>>;
1129
+ requestId: z.ZodOptional<z.ZodUUID>;
1040
1130
  }, z.core.$strict>;
1041
1131
  declare const HostedAiStreamStructuredObjectInputSchema: z.ZodObject<{
1042
- instructions: z.ZodOptional<z.ZodString>;
1043
- system: z.ZodOptional<z.ZodString>;
1132
+ instructions: z.ZodString;
1044
1133
  prompt: z.ZodString;
1045
1134
  outputSchema: z.ZodArray<z.ZodObject<{
1046
1135
  name: z.ZodString;
@@ -1050,6 +1139,11 @@ declare const HostedAiStreamStructuredObjectInputSchema: z.ZodObject<{
1050
1139
  }>;
1051
1140
  }, z.core.$strict>>;
1052
1141
  temperature: z.ZodOptional<z.ZodNumber>;
1142
+ modelTier: z.ZodDefault<z.ZodEnum<{
1143
+ normal: "normal";
1144
+ ultra: "ultra";
1145
+ }>>;
1146
+ requestId: z.ZodOptional<z.ZodUUID>;
1053
1147
  }, z.core.$strict>;
1054
1148
  declare const HOSTED_AI_NOTE_SUGGESTION_MAX_NOTES = 2;
1055
1149
  declare const HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS = 16;
@@ -1057,6 +1151,11 @@ declare const HostedAiNoteSuggestionStreamInputSchema: z.ZodObject<{
1057
1151
  instructions: z.ZodString;
1058
1152
  prompt: z.ZodString;
1059
1153
  temperature: z.ZodOptional<z.ZodNumber>;
1154
+ modelTier: z.ZodDefault<z.ZodEnum<{
1155
+ normal: "normal";
1156
+ ultra: "ultra";
1157
+ }>>;
1158
+ requestId: z.ZodOptional<z.ZodUUID>;
1060
1159
  }, z.core.$strict>;
1061
1160
  /**
1062
1161
  * Fixed structured-output schema for hosted note suggestions. Must stay
@@ -1082,13 +1181,230 @@ declare const HostedAiNoteSuggestionObjectSchema: z.ZodObject<{
1082
1181
  declare const HostedAiStreamPartSchema: z.ZodObject<{
1083
1182
  type: z.ZodString;
1084
1183
  }, z.core.$loose>;
1184
+ /**
1185
+ * The only stream part types this API emits. Every other part the AI SDK
1186
+ * produces (`start-step`, `finish-step`, `text-start`, ...) carries upstream
1187
+ * metadata — provider model id, response headers, request body — and is dropped
1188
+ * server-side so it never reaches a client.
1189
+ *
1190
+ * The consumer switch lives in the extension's background stream reader. Adding
1191
+ * a type here without teaching that switch about it is a no-op; removing one
1192
+ * breaks rendering. `error` is absent on purpose: it is converted into a thrown
1193
+ * error before it can be yielded.
1194
+ */
1195
+ declare const HOSTED_AI_CLIENT_STREAM_PART_TYPES: readonly ["text-delta", "reasoning-start", "reasoning-delta", "reasoning-end", "reasoning-file", "finish"];
1196
+ /**
1197
+ * Status is per-identity, not per-feature: one call reports every feature and
1198
+ * every pool, so a client caches a single response instead of one per feature.
1199
+ * Non-strict so a client still sending the retired `feature` argument gets a
1200
+ * useful response rather than a validation error.
1201
+ */
1202
+ declare const HostedAiStatusInputSchema: z.ZodObject<{}, z.core.$strip>;
1203
+ declare const HostedAiUnavailableReasonSchema: z.ZodEnum<{
1204
+ authentication_required: "authentication_required";
1205
+ ultra_required: "ultra_required";
1206
+ quota_exhausted: "quota_exhausted";
1207
+ service_unavailable: "service_unavailable";
1208
+ }>;
1209
+ declare const HostedAiCreditPolicyIdSchema: z.ZodEnum<{
1210
+ "custom-action-guest-daily-v1": "custom-action-guest-daily-v1";
1211
+ "custom-action-user-daily-v1": "custom-action-user-daily-v1";
1212
+ "custom-action-pro-daily-v1": "custom-action-pro-daily-v1";
1213
+ "ultra-weekly-v1": "ultra-weekly-v1";
1214
+ }>;
1215
+ declare const HostedAiCreditPeriodKindSchema: z.ZodEnum<{
1216
+ daily: "daily";
1217
+ weekly: "weekly";
1218
+ }>;
1219
+ declare const HostedAiQuotaScopeSchema: z.ZodEnum<{
1220
+ guest: "guest";
1221
+ user: "user";
1222
+ }>;
1223
+ /**
1224
+ * Data payload of the TOO_MANY_REQUESTS error every hosted AI guard emits.
1225
+ * The code itself is ORPC's own rather than a PUBLIC_APP_ERROR_DEFS entry, so
1226
+ * this schema is the only contract tying the server's construction to the
1227
+ * extension's parsing of it.
1228
+ */
1229
+ declare const HostedAiRateLimitErrorDataSchema: z.ZodObject<{
1230
+ retryAfterMs: z.ZodNumber;
1231
+ quotaScope: z.ZodEnum<{
1232
+ guest: "guest";
1233
+ user: "user";
1234
+ }>;
1235
+ }, z.core.$strict>;
1236
+ /**
1237
+ * Deliberately free of dollar amounts and of the versioned policy id. Clients
1238
+ * render a consumption bar and a reset time, so a percentage and a period kind
1239
+ * are all they need, and neither leaks what a call costs us. `usedPercent`
1240
+ * counts settled spend only: including in-flight reservations would make the
1241
+ * bar jump forward and then back as each stream settles.
1242
+ */
1243
+ declare const HostedAiCreditStatusSchema: z.ZodObject<{
1244
+ periodKind: z.ZodEnum<{
1245
+ daily: "daily";
1246
+ weekly: "weekly";
1247
+ }>;
1248
+ usedPercent: z.ZodNumber;
1249
+ resetAt: z.ZodNullable<z.ZodISODateTime>;
1250
+ features: z.ZodArray<z.ZodEnum<{
1251
+ pageTranslation: "pageTranslation";
1252
+ customAction: "customAction";
1253
+ noteSuggestion: "noteSuggestion";
1254
+ }>>;
1255
+ }, z.core.$strict>;
1256
+ declare const HostedAiTierStatusSchema: z.ZodObject<{
1257
+ accessAllowed: z.ZodBoolean;
1258
+ available: z.ZodBoolean;
1259
+ unavailableReason: z.ZodNullable<z.ZodEnum<{
1260
+ authentication_required: "authentication_required";
1261
+ ultra_required: "ultra_required";
1262
+ quota_exhausted: "quota_exhausted";
1263
+ service_unavailable: "service_unavailable";
1264
+ }>>;
1265
+ requiresUltra: z.ZodBoolean;
1266
+ modelRevision: z.ZodString;
1267
+ }, z.core.$strict>;
1268
+ declare const HostedAiFeatureStatusSchema: z.ZodObject<{
1269
+ normal: z.ZodObject<{
1270
+ accessAllowed: z.ZodBoolean;
1271
+ available: z.ZodBoolean;
1272
+ unavailableReason: z.ZodNullable<z.ZodEnum<{
1273
+ authentication_required: "authentication_required";
1274
+ ultra_required: "ultra_required";
1275
+ quota_exhausted: "quota_exhausted";
1276
+ service_unavailable: "service_unavailable";
1277
+ }>>;
1278
+ requiresUltra: z.ZodBoolean;
1279
+ modelRevision: z.ZodString;
1280
+ }, z.core.$strict>;
1281
+ ultra: z.ZodObject<{
1282
+ accessAllowed: z.ZodBoolean;
1283
+ available: z.ZodBoolean;
1284
+ unavailableReason: z.ZodNullable<z.ZodEnum<{
1285
+ authentication_required: "authentication_required";
1286
+ ultra_required: "ultra_required";
1287
+ quota_exhausted: "quota_exhausted";
1288
+ service_unavailable: "service_unavailable";
1289
+ }>>;
1290
+ requiresUltra: z.ZodBoolean;
1291
+ modelRevision: z.ZodString;
1292
+ }, z.core.$strict>;
1293
+ }, z.core.$strict>;
1294
+ declare const HostedAiStatusOutputSchema: z.ZodObject<{
1295
+ credits: z.ZodArray<z.ZodObject<{
1296
+ periodKind: z.ZodEnum<{
1297
+ daily: "daily";
1298
+ weekly: "weekly";
1299
+ }>;
1300
+ usedPercent: z.ZodNumber;
1301
+ resetAt: z.ZodNullable<z.ZodISODateTime>;
1302
+ features: z.ZodArray<z.ZodEnum<{
1303
+ pageTranslation: "pageTranslation";
1304
+ customAction: "customAction";
1305
+ noteSuggestion: "noteSuggestion";
1306
+ }>>;
1307
+ }, z.core.$strict>>;
1308
+ features: z.ZodObject<{
1309
+ pageTranslation: z.ZodObject<{
1310
+ normal: z.ZodObject<{
1311
+ accessAllowed: z.ZodBoolean;
1312
+ available: z.ZodBoolean;
1313
+ unavailableReason: z.ZodNullable<z.ZodEnum<{
1314
+ authentication_required: "authentication_required";
1315
+ ultra_required: "ultra_required";
1316
+ quota_exhausted: "quota_exhausted";
1317
+ service_unavailable: "service_unavailable";
1318
+ }>>;
1319
+ requiresUltra: z.ZodBoolean;
1320
+ modelRevision: z.ZodString;
1321
+ }, z.core.$strict>;
1322
+ ultra: z.ZodObject<{
1323
+ accessAllowed: z.ZodBoolean;
1324
+ available: z.ZodBoolean;
1325
+ unavailableReason: z.ZodNullable<z.ZodEnum<{
1326
+ authentication_required: "authentication_required";
1327
+ ultra_required: "ultra_required";
1328
+ quota_exhausted: "quota_exhausted";
1329
+ service_unavailable: "service_unavailable";
1330
+ }>>;
1331
+ requiresUltra: z.ZodBoolean;
1332
+ modelRevision: z.ZodString;
1333
+ }, z.core.$strict>;
1334
+ }, z.core.$strict>;
1335
+ customAction: z.ZodObject<{
1336
+ normal: z.ZodObject<{
1337
+ accessAllowed: z.ZodBoolean;
1338
+ available: z.ZodBoolean;
1339
+ unavailableReason: z.ZodNullable<z.ZodEnum<{
1340
+ authentication_required: "authentication_required";
1341
+ ultra_required: "ultra_required";
1342
+ quota_exhausted: "quota_exhausted";
1343
+ service_unavailable: "service_unavailable";
1344
+ }>>;
1345
+ requiresUltra: z.ZodBoolean;
1346
+ modelRevision: z.ZodString;
1347
+ }, z.core.$strict>;
1348
+ ultra: z.ZodObject<{
1349
+ accessAllowed: z.ZodBoolean;
1350
+ available: z.ZodBoolean;
1351
+ unavailableReason: z.ZodNullable<z.ZodEnum<{
1352
+ authentication_required: "authentication_required";
1353
+ ultra_required: "ultra_required";
1354
+ quota_exhausted: "quota_exhausted";
1355
+ service_unavailable: "service_unavailable";
1356
+ }>>;
1357
+ requiresUltra: z.ZodBoolean;
1358
+ modelRevision: z.ZodString;
1359
+ }, z.core.$strict>;
1360
+ }, z.core.$strict>;
1361
+ noteSuggestion: z.ZodObject<{
1362
+ normal: z.ZodObject<{
1363
+ accessAllowed: z.ZodBoolean;
1364
+ available: z.ZodBoolean;
1365
+ unavailableReason: z.ZodNullable<z.ZodEnum<{
1366
+ authentication_required: "authentication_required";
1367
+ ultra_required: "ultra_required";
1368
+ quota_exhausted: "quota_exhausted";
1369
+ service_unavailable: "service_unavailable";
1370
+ }>>;
1371
+ requiresUltra: z.ZodBoolean;
1372
+ modelRevision: z.ZodString;
1373
+ }, z.core.$strict>;
1374
+ ultra: z.ZodObject<{
1375
+ accessAllowed: z.ZodBoolean;
1376
+ available: z.ZodBoolean;
1377
+ unavailableReason: z.ZodNullable<z.ZodEnum<{
1378
+ authentication_required: "authentication_required";
1379
+ ultra_required: "ultra_required";
1380
+ quota_exhausted: "quota_exhausted";
1381
+ service_unavailable: "service_unavailable";
1382
+ }>>;
1383
+ requiresUltra: z.ZodBoolean;
1384
+ modelRevision: z.ZodString;
1385
+ }, z.core.$strict>;
1386
+ }, z.core.$strict>;
1387
+ }, z.core.$strict>;
1388
+ }, z.core.$strict>;
1085
1389
  type HostedAiOutputFieldType = z.infer<typeof HostedAiOutputFieldTypeSchema>;
1086
1390
  type HostedAiOutputField = z.infer<typeof HostedAiOutputFieldSchema>;
1391
+ type HostedAiModelTier = z.infer<typeof HostedAiModelTierSchema>;
1392
+ type HostedAiFeature = z.infer<typeof HostedAiFeatureSchema>;
1087
1393
  type HostedAiStreamTextInput = z.infer<typeof HostedAiStreamTextInputSchema>;
1088
1394
  type HostedAiStreamStructuredObjectInput = z.infer<typeof HostedAiStreamStructuredObjectInputSchema>;
1089
1395
  type HostedAiNoteSuggestionStreamInput = z.infer<typeof HostedAiNoteSuggestionStreamInputSchema>;
1090
1396
  type HostedAiNoteSuggestionObject = z.infer<typeof HostedAiNoteSuggestionObjectSchema>;
1091
1397
  type HostedAiStreamPart = z.infer<typeof HostedAiStreamPartSchema>;
1398
+ type HostedAiStatusInput = z.infer<typeof HostedAiStatusInputSchema>;
1399
+ type HostedAiUnavailableReason = z.infer<typeof HostedAiUnavailableReasonSchema>;
1400
+ type HostedAiCreditPolicyId = z.infer<typeof HostedAiCreditPolicyIdSchema>;
1401
+ type HostedAiCreditPeriodKind = z.infer<typeof HostedAiCreditPeriodKindSchema>;
1402
+ type HostedAiQuotaScope = z.infer<typeof HostedAiQuotaScopeSchema>;
1403
+ type HostedAiRateLimitErrorData = z.infer<typeof HostedAiRateLimitErrorDataSchema>;
1404
+ type HostedAiCreditStatus = z.infer<typeof HostedAiCreditStatusSchema>;
1405
+ type HostedAiTierStatus = z.infer<typeof HostedAiTierStatusSchema>;
1406
+ type HostedAiFeatureStatus = z.infer<typeof HostedAiFeatureStatusSchema>;
1407
+ type HostedAiStatusOutput = z.infer<typeof HostedAiStatusOutputSchema>;
1092
1408
  //#endregion
1093
1409
  //#region src/schemas/notebase.d.ts
1094
1410
  declare const NotebaseListInputSchema: z.ZodObject<{}, z.core.$strip>;
@@ -1290,6 +1606,7 @@ declare const NotebaseGetOutputSchema: z.ZodObject<{
1290
1606
  position: z.ZodNumber;
1291
1607
  isPrimary: z.ZodBoolean;
1292
1608
  width: z.ZodNullable<z.ZodNumber>;
1609
+ wrap: z.ZodBoolean;
1293
1610
  createdAt: z.ZodCoercedDate<unknown>;
1294
1611
  updatedAt: z.ZodCoercedDate<unknown>;
1295
1612
  }, z.core.$strip>>;
@@ -1357,6 +1674,7 @@ declare const NotebaseGetSchemaOutputSchema: z.ZodObject<{
1357
1674
  position: z.ZodNumber;
1358
1675
  isPrimary: z.ZodBoolean;
1359
1676
  width: z.ZodNullable<z.ZodNumber>;
1677
+ wrap: z.ZodBoolean;
1360
1678
  createdAt: z.ZodCoercedDate<unknown>;
1361
1679
  updatedAt: z.ZodCoercedDate<unknown>;
1362
1680
  }, z.core.$strip>>;
@@ -1395,6 +1713,7 @@ declare const notebaseColumnSchema: z.ZodObject<{
1395
1713
  position: z.ZodNumber;
1396
1714
  isPrimary: z.ZodBoolean;
1397
1715
  width: z.ZodNullable<z.ZodNumber>;
1716
+ wrap: z.ZodBoolean;
1398
1717
  createdAt: z.ZodCoercedDate<unknown>;
1399
1718
  updatedAt: z.ZodCoercedDate<unknown>;
1400
1719
  }, z.core.$strip>;
@@ -1453,6 +1772,7 @@ declare const notebaseColumnUpdateDataSchema: z.ZodObject<{
1453
1772
  }, z.core.$strip>>>;
1454
1773
  }, z.core.$strip>], "type">>;
1455
1774
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1775
+ wrap: z.ZodOptional<z.ZodBoolean>;
1456
1776
  }, z.core.$strict>;
1457
1777
  type NotebaseColumnUpdateData = z.infer<typeof notebaseColumnUpdateDataSchema>;
1458
1778
  declare const NotebaseColumnCreateInputSchema: z.ZodObject<{
@@ -1518,6 +1838,7 @@ declare const NotebaseColumnUpdateInputSchema: z.ZodObject<{
1518
1838
  }, z.core.$strip>>>;
1519
1839
  }, z.core.$strip>], "type">>;
1520
1840
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1841
+ wrap: z.ZodOptional<z.ZodBoolean>;
1521
1842
  }, z.core.$strict>;
1522
1843
  }, z.core.$strip>;
1523
1844
  type NotebaseColumnUpdateInput = z.infer<typeof NotebaseColumnUpdateInputSchema>;
@@ -1623,6 +1944,33 @@ declare const NotebaseRowReorderOutputSchema: z.ZodObject<{
1623
1944
  }, z.core.$strip>;
1624
1945
  type NotebaseRowReorderOutput = z.infer<typeof NotebaseRowReorderOutputSchema>;
1625
1946
  //#endregion
1947
+ //#region src/schemas/notebase-stats.d.ts
1948
+ declare const notebaseActivityStatsItemSchema: z.ZodObject<{
1949
+ date: z.ZodISODate;
1950
+ notes: z.ZodNumber;
1951
+ }, z.core.$strict>;
1952
+ type NotebaseActivityStatsItem = z.infer<typeof notebaseActivityStatsItemSchema>;
1953
+ declare const notebaseActivityStatsOutputSchema: z.ZodObject<{
1954
+ daily: z.ZodArray<z.ZodObject<{
1955
+ date: z.ZodISODate;
1956
+ notes: z.ZodNumber;
1957
+ }, z.core.$strict>>;
1958
+ }, z.core.$strict>;
1959
+ type NotebaseActivityStatsOutput = z.infer<typeof notebaseActivityStatsOutputSchema>;
1960
+ declare const notebaseRowGrowthStatsItemSchema: z.ZodObject<{
1961
+ date: z.ZodISODate;
1962
+ delta: z.ZodNumber;
1963
+ }, z.core.$strict>;
1964
+ type NotebaseRowGrowthStatsItem = z.infer<typeof notebaseRowGrowthStatsItemSchema>;
1965
+ declare const notebaseRowGrowthStatsOutputSchema: z.ZodObject<{
1966
+ baseTotal: z.ZodNumber;
1967
+ daily: z.ZodArray<z.ZodObject<{
1968
+ date: z.ZodISODate;
1969
+ delta: z.ZodNumber;
1970
+ }, z.core.$strict>>;
1971
+ }, z.core.$strict>;
1972
+ type NotebaseRowGrowthStatsOutput = z.infer<typeof notebaseRowGrowthStatsOutputSchema>;
1973
+ //#endregion
1626
1974
  //#region src/schemas/notebase-view.d.ts
1627
1975
  declare const notebaseViewTypeSchema: z.ZodEnum<{
1628
1976
  table: "table";
@@ -1815,6 +2163,7 @@ declare const srsRevlogSchema: z.ZodObject<{
1815
2163
  review: "review";
1816
2164
  relearning: "relearning";
1817
2165
  }>;
2166
+ stability: z.ZodNumber;
1818
2167
  afterScheduleStatus: z.ZodEnum<{
1819
2168
  new: "new";
1820
2169
  learning: "learning";
@@ -1822,6 +2171,7 @@ declare const srsRevlogSchema: z.ZodObject<{
1822
2171
  suspended: "suspended";
1823
2172
  buried: "buried";
1824
2173
  }>;
2174
+ afterStability: z.ZodNumber;
1825
2175
  reviewedAt: z.ZodCoercedDate<unknown>;
1826
2176
  durationMs: z.ZodNumber;
1827
2177
  fsrsReviewLogSnapshot: z.ZodObject<{
@@ -1846,15 +2196,15 @@ declare const srsRevlogWithoutSnapshotSchema: z.ZodObject<{
1846
2196
  review: "review";
1847
2197
  relearning: "relearning";
1848
2198
  }>;
2199
+ stability: z.ZodNumber;
1849
2200
  createdAt: z.ZodCoercedDate<unknown>;
2201
+ cardId: z.ZodUUID;
1850
2202
  rating: z.ZodEnum<{
1851
2203
  again: "again";
1852
2204
  hard: "hard";
1853
2205
  good: "good";
1854
2206
  easy: "easy";
1855
2207
  }>;
1856
- cardId: z.ZodUUID;
1857
- durationMs: z.ZodNumber;
1858
2208
  afterScheduleStatus: z.ZodEnum<{
1859
2209
  new: "new";
1860
2210
  learning: "learning";
@@ -1862,9 +2212,47 @@ declare const srsRevlogWithoutSnapshotSchema: z.ZodObject<{
1862
2212
  suspended: "suspended";
1863
2213
  buried: "buried";
1864
2214
  }>;
2215
+ afterStability: z.ZodNumber;
1865
2216
  reviewedAt: z.ZodCoercedDate<unknown>;
2217
+ durationMs: z.ZodNumber;
1866
2218
  }, z.core.$strip>;
1867
2219
  type SrsRevlogWithoutSnapshot = z.infer<typeof srsRevlogWithoutSnapshotSchema>;
2220
+ declare const srsListCardRevlogsInputSchema: z.ZodObject<{
2221
+ cardId: z.ZodUUID;
2222
+ }, z.core.$strict>;
2223
+ type SrsListCardRevlogsInput = z.infer<typeof srsListCardRevlogsInputSchema>;
2224
+ declare const srsListCardRevlogsOutputSchema: z.ZodObject<{
2225
+ items: z.ZodArray<z.ZodObject<{
2226
+ id: z.ZodUUID;
2227
+ notebaseId: z.ZodUUID;
2228
+ state: z.ZodEnum<{
2229
+ new: "new";
2230
+ learning: "learning";
2231
+ review: "review";
2232
+ relearning: "relearning";
2233
+ }>;
2234
+ stability: z.ZodNumber;
2235
+ createdAt: z.ZodCoercedDate<unknown>;
2236
+ cardId: z.ZodUUID;
2237
+ rating: z.ZodEnum<{
2238
+ again: "again";
2239
+ hard: "hard";
2240
+ good: "good";
2241
+ easy: "easy";
2242
+ }>;
2243
+ afterScheduleStatus: z.ZodEnum<{
2244
+ new: "new";
2245
+ learning: "learning";
2246
+ review: "review";
2247
+ suspended: "suspended";
2248
+ buried: "buried";
2249
+ }>;
2250
+ afterStability: z.ZodNumber;
2251
+ reviewedAt: z.ZodCoercedDate<unknown>;
2252
+ durationMs: z.ZodNumber;
2253
+ }, z.core.$strip>>;
2254
+ }, z.core.$strict>;
2255
+ type SrsListCardRevlogsOutput = z.infer<typeof srsListCardRevlogsOutputSchema>;
1868
2256
  declare const srsReviewOutputSchema: z.ZodObject<{
1869
2257
  card: z.ZodObject<{
1870
2258
  createdAt: z.ZodCoercedDate<unknown>;
@@ -1912,6 +2300,7 @@ declare const srsReviewOutputSchema: z.ZodObject<{
1912
2300
  review: "review";
1913
2301
  relearning: "relearning";
1914
2302
  }>;
2303
+ stability: z.ZodNumber;
1915
2304
  afterScheduleStatus: z.ZodEnum<{
1916
2305
  new: "new";
1917
2306
  learning: "learning";
@@ -1919,6 +2308,7 @@ declare const srsReviewOutputSchema: z.ZodObject<{
1919
2308
  suspended: "suspended";
1920
2309
  buried: "buried";
1921
2310
  }>;
2311
+ afterStability: z.ZodNumber;
1922
2312
  reviewedAt: z.ZodCoercedDate<unknown>;
1923
2313
  durationMs: z.ZodNumber;
1924
2314
  fsrsReviewLogSnapshot: z.ZodObject<{
@@ -1985,6 +2375,62 @@ declare const srsSetCardSuspendedOutputSchema: z.ZodObject<{
1985
2375
  }, z.core.$strip>;
1986
2376
  type SrsSetCardSuspendedOutput = SrsTxidOutput;
1987
2377
  //#endregion
2378
+ //#region src/schemas/srs-stats.d.ts
2379
+ declare const srsActivityStatsItemSchema: z.ZodObject<{
2380
+ date: z.ZodISODate;
2381
+ answers: z.ZodNumber;
2382
+ durationMs: z.ZodNumber;
2383
+ }, z.core.$strict>;
2384
+ type SrsActivityStatsItem = z.infer<typeof srsActivityStatsItemSchema>;
2385
+ declare const srsActivityStatsOutputSchema: z.ZodObject<{
2386
+ learnedCards: z.ZodNumber;
2387
+ daily: z.ZodArray<z.ZodObject<{
2388
+ date: z.ZodISODate;
2389
+ answers: z.ZodNumber;
2390
+ durationMs: z.ZodNumber;
2391
+ }, z.core.$strict>>;
2392
+ }, z.core.$strict>;
2393
+ type SrsActivityStatsOutput = z.infer<typeof srsActivityStatsOutputSchema>;
2394
+ declare const srsMemoryGrowthStatsItemSchema: z.ZodObject<{
2395
+ date: z.ZodISODate;
2396
+ delta: z.ZodNumber;
2397
+ }, z.core.$strict>;
2398
+ type SrsMemoryGrowthStatsItem = z.infer<typeof srsMemoryGrowthStatsItemSchema>;
2399
+ declare const srsMemoryGrowthStatsOutputSchema: z.ZodObject<{
2400
+ baseTotal: z.ZodNumber;
2401
+ daily: z.ZodArray<z.ZodObject<{
2402
+ date: z.ZodISODate;
2403
+ delta: z.ZodNumber;
2404
+ }, z.core.$strict>>;
2405
+ }, z.core.$strict>;
2406
+ type SrsMemoryGrowthStatsOutput = z.infer<typeof srsMemoryGrowthStatsOutputSchema>;
2407
+ //#endregion
2408
+ //#region src/schemas/stats.d.ts
2409
+ declare const statsInputSchema: z.ZodObject<{
2410
+ notebaseIds: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodUUID>, z.ZodTransform<string[], string[]>>>;
2411
+ from: z.ZodOptional<z.ZodISODate>;
2412
+ to: z.ZodISODate;
2413
+ timezone: z.ZodString;
2414
+ }, z.core.$strict>;
2415
+ type StatsInput = z.infer<typeof statsInputSchema>;
2416
+ declare const activityStatsOutputSchema: z.ZodObject<{
2417
+ srs: z.ZodObject<{
2418
+ learnedCards: z.ZodNumber;
2419
+ daily: z.ZodArray<z.ZodObject<{
2420
+ date: z.ZodISODate;
2421
+ answers: z.ZodNumber;
2422
+ durationMs: z.ZodNumber;
2423
+ }, z.core.$strict>>;
2424
+ }, z.core.$strict>;
2425
+ notebase: z.ZodObject<{
2426
+ daily: z.ZodArray<z.ZodObject<{
2427
+ date: z.ZodISODate;
2428
+ notes: z.ZodNumber;
2429
+ }, z.core.$strict>>;
2430
+ }, z.core.$strict>;
2431
+ }, z.core.$strict>;
2432
+ type ActivityStatsOutput = z.infer<typeof activityStatsOutputSchema>;
2433
+ //#endregion
1988
2434
  //#region src/schemas/user.d.ts
1989
2435
  declare const userEnsureTimezoneInputSchema: z.ZodObject<{
1990
2436
  timezone: z.ZodString;
@@ -2077,9 +2523,9 @@ declare const contract: {
2077
2523
  billing: {
2078
2524
  status: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
2079
2525
  plan: import("zod").ZodEnum<{
2526
+ ultra: "ultra";
2080
2527
  free: "free";
2081
2528
  pro: "pro";
2082
- ultra: "ultra";
2083
2529
  }>;
2084
2530
  status: import("zod").ZodNullable<import("zod").ZodEnum<{
2085
2531
  incomplete: "incomplete";
@@ -2103,8 +2549,8 @@ declare const contract: {
2103
2549
  }>>;
2104
2550
  scheduledChange: import("zod").ZodNullable<import("zod").ZodObject<{
2105
2551
  plan: import("zod").ZodEnum<{
2106
- pro: "pro";
2107
2552
  ultra: "ultra";
2553
+ pro: "pro";
2108
2554
  }>;
2109
2555
  interval: import("zod").ZodEnum<{
2110
2556
  month: "month";
@@ -2138,8 +2584,8 @@ declare const contract: {
2138
2584
  "zh-TW": "zh-TW";
2139
2585
  }>;
2140
2586
  plan: import("zod").ZodDefault<import("zod").ZodEnum<{
2141
- pro: "pro";
2142
2587
  ultra: "ultra";
2588
+ pro: "pro";
2143
2589
  }>>;
2144
2590
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
2145
2591
  url: import("zod").ZodURL;
@@ -2448,24 +2894,122 @@ declare const contract: {
2448
2894
  }, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "EBOOK_BETA_RESTRICTED" | "EBOOK_NOT_FOUND">>, Record<never, never>>;
2449
2895
  };
2450
2896
  hostedAi: {
2897
+ status: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2898
+ credits: import("zod").ZodArray<import("zod").ZodObject<{
2899
+ periodKind: import("zod").ZodEnum<{
2900
+ daily: "daily";
2901
+ weekly: "weekly";
2902
+ }>;
2903
+ usedPercent: import("zod").ZodNumber;
2904
+ resetAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
2905
+ features: import("zod").ZodArray<import("zod").ZodEnum<{
2906
+ pageTranslation: "pageTranslation";
2907
+ customAction: "customAction";
2908
+ noteSuggestion: "noteSuggestion";
2909
+ }>>;
2910
+ }, import("zod/v4/core").$strict>>;
2911
+ features: import("zod").ZodObject<{
2912
+ pageTranslation: import("zod").ZodObject<{
2913
+ normal: import("zod").ZodObject<{
2914
+ accessAllowed: import("zod").ZodBoolean;
2915
+ available: import("zod").ZodBoolean;
2916
+ unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
2917
+ authentication_required: "authentication_required";
2918
+ ultra_required: "ultra_required";
2919
+ quota_exhausted: "quota_exhausted";
2920
+ service_unavailable: "service_unavailable";
2921
+ }>>;
2922
+ requiresUltra: import("zod").ZodBoolean;
2923
+ modelRevision: import("zod").ZodString;
2924
+ }, import("zod/v4/core").$strict>;
2925
+ ultra: import("zod").ZodObject<{
2926
+ accessAllowed: import("zod").ZodBoolean;
2927
+ available: import("zod").ZodBoolean;
2928
+ unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
2929
+ authentication_required: "authentication_required";
2930
+ ultra_required: "ultra_required";
2931
+ quota_exhausted: "quota_exhausted";
2932
+ service_unavailable: "service_unavailable";
2933
+ }>>;
2934
+ requiresUltra: import("zod").ZodBoolean;
2935
+ modelRevision: import("zod").ZodString;
2936
+ }, import("zod/v4/core").$strict>;
2937
+ }, import("zod/v4/core").$strict>;
2938
+ customAction: import("zod").ZodObject<{
2939
+ normal: import("zod").ZodObject<{
2940
+ accessAllowed: import("zod").ZodBoolean;
2941
+ available: import("zod").ZodBoolean;
2942
+ unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
2943
+ authentication_required: "authentication_required";
2944
+ ultra_required: "ultra_required";
2945
+ quota_exhausted: "quota_exhausted";
2946
+ service_unavailable: "service_unavailable";
2947
+ }>>;
2948
+ requiresUltra: import("zod").ZodBoolean;
2949
+ modelRevision: import("zod").ZodString;
2950
+ }, import("zod/v4/core").$strict>;
2951
+ ultra: import("zod").ZodObject<{
2952
+ accessAllowed: import("zod").ZodBoolean;
2953
+ available: import("zod").ZodBoolean;
2954
+ unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
2955
+ authentication_required: "authentication_required";
2956
+ ultra_required: "ultra_required";
2957
+ quota_exhausted: "quota_exhausted";
2958
+ service_unavailable: "service_unavailable";
2959
+ }>>;
2960
+ requiresUltra: import("zod").ZodBoolean;
2961
+ modelRevision: import("zod").ZodString;
2962
+ }, import("zod/v4/core").$strict>;
2963
+ }, import("zod/v4/core").$strict>;
2964
+ noteSuggestion: import("zod").ZodObject<{
2965
+ normal: import("zod").ZodObject<{
2966
+ accessAllowed: import("zod").ZodBoolean;
2967
+ available: import("zod").ZodBoolean;
2968
+ unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
2969
+ authentication_required: "authentication_required";
2970
+ ultra_required: "ultra_required";
2971
+ quota_exhausted: "quota_exhausted";
2972
+ service_unavailable: "service_unavailable";
2973
+ }>>;
2974
+ requiresUltra: import("zod").ZodBoolean;
2975
+ modelRevision: import("zod").ZodString;
2976
+ }, import("zod/v4/core").$strict>;
2977
+ ultra: import("zod").ZodObject<{
2978
+ accessAllowed: import("zod").ZodBoolean;
2979
+ available: import("zod").ZodBoolean;
2980
+ unavailableReason: import("zod").ZodNullable<import("zod").ZodEnum<{
2981
+ authentication_required: "authentication_required";
2982
+ ultra_required: "ultra_required";
2983
+ quota_exhausted: "quota_exhausted";
2984
+ service_unavailable: "service_unavailable";
2985
+ }>>;
2986
+ requiresUltra: import("zod").ZodBoolean;
2987
+ modelRevision: import("zod").ZodString;
2988
+ }, import("zod/v4/core").$strict>;
2989
+ }, import("zod/v4/core").$strict>;
2990
+ }, import("zod/v4/core").$strict>;
2991
+ }, import("zod/v4/core").$strict>, Record<never, never>, Record<never, never>>;
2451
2992
  translate: {
2452
2993
  streamText: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2453
- instructions: import("zod").ZodOptional<import("zod").ZodString>;
2454
- system: import("zod").ZodOptional<import("zod").ZodString>;
2994
+ instructions: import("zod").ZodString;
2455
2995
  prompt: import("zod").ZodString;
2456
2996
  temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
2997
+ modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
2998
+ normal: "normal";
2999
+ ultra: "ultra";
3000
+ }>>;
3001
+ requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
2457
3002
  }, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
2458
3003
  [x: string]: unknown;
2459
3004
  type: string;
2460
3005
  }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
2461
3006
  [x: string]: unknown;
2462
3007
  type: string;
2463
- }, unknown, void>>, Record<never, never>, Record<never, never>>;
3008
+ }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_TIER_RESTRICTED" | "HOSTED_AI_QUOTA_EXHAUSTED">>, Record<never, never>>;
2464
3009
  };
2465
3010
  customAction: {
2466
3011
  streamStructuredObject: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2467
- instructions: import("zod").ZodOptional<import("zod").ZodString>;
2468
- system: import("zod").ZodOptional<import("zod").ZodString>;
3012
+ instructions: import("zod").ZodString;
2469
3013
  prompt: import("zod").ZodString;
2470
3014
  outputSchema: import("zod").ZodArray<import("zod").ZodObject<{
2471
3015
  name: import("zod").ZodString;
@@ -2475,26 +3019,36 @@ declare const contract: {
2475
3019
  }>;
2476
3020
  }, import("zod/v4/core").$strict>>;
2477
3021
  temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
3022
+ modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
3023
+ normal: "normal";
3024
+ ultra: "ultra";
3025
+ }>>;
3026
+ requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
2478
3027
  }, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
2479
3028
  [x: string]: unknown;
2480
3029
  type: string;
2481
3030
  }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
2482
3031
  [x: string]: unknown;
2483
3032
  type: string;
2484
- }, unknown, void>>, Record<never, never>, Record<never, never>>;
3033
+ }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_TIER_RESTRICTED" | "HOSTED_AI_QUOTA_EXHAUSTED">>, Record<never, never>>;
2485
3034
  };
2486
3035
  noteSuggestion: {
2487
3036
  streamStructuredObject: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2488
3037
  instructions: import("zod").ZodString;
2489
3038
  prompt: import("zod").ZodString;
2490
3039
  temperature: import("zod").ZodOptional<import("zod").ZodNumber>;
3040
+ modelTier: import("zod").ZodDefault<import("zod").ZodEnum<{
3041
+ normal: "normal";
3042
+ ultra: "ultra";
3043
+ }>>;
3044
+ requestId: import("zod").ZodOptional<import("zod").ZodUUID>;
2491
3045
  }, import("zod/v4/core").$strict>, import("@orpc/contract").Schema<AsyncIteratorObject<{
2492
3046
  [x: string]: unknown;
2493
3047
  type: string;
2494
3048
  }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
2495
3049
  [x: string]: unknown;
2496
3050
  type: string;
2497
- }, unknown, void>>, Record<never, never>, Record<never, never>>;
3051
+ }, unknown, void>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "HOSTED_AI_TIER_RESTRICTED" | "HOSTED_AI_QUOTA_EXHAUSTED">>, Record<never, never>>;
2498
3052
  };
2499
3053
  };
2500
3054
  notebase: {
@@ -2550,6 +3104,7 @@ declare const contract: {
2550
3104
  position: import("zod").ZodNumber;
2551
3105
  isPrimary: import("zod").ZodBoolean;
2552
3106
  width: import("zod").ZodNullable<import("zod").ZodNumber>;
3107
+ wrap: import("zod").ZodBoolean;
2553
3108
  createdAt: import("zod").ZodCoercedDate<unknown>;
2554
3109
  updatedAt: import("zod").ZodCoercedDate<unknown>;
2555
3110
  }, import("zod/v4/core").$strip>>;
@@ -2618,6 +3173,7 @@ declare const contract: {
2618
3173
  position: import("zod").ZodNumber;
2619
3174
  isPrimary: import("zod").ZodBoolean;
2620
3175
  width: import("zod").ZodNullable<import("zod").ZodNumber>;
3176
+ wrap: import("zod").ZodBoolean;
2621
3177
  createdAt: import("zod").ZodCoercedDate<unknown>;
2622
3178
  updatedAt: import("zod").ZodCoercedDate<unknown>;
2623
3179
  }, import("zod/v4/core").$strip>>;
@@ -2741,6 +3297,7 @@ declare const contract: {
2741
3297
  }, import("zod/v4/core").$strip>>>;
2742
3298
  }, import("zod/v4/core").$strip>], "type">>;
2743
3299
  width: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
3300
+ wrap: import("zod").ZodOptional<import("zod").ZodBoolean>;
2744
3301
  }, import("zod/v4/core").$strict>;
2745
3302
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2746
3303
  txid: import("zod").ZodNumber;
@@ -2811,6 +3368,39 @@ declare const contract: {
2811
3368
  learning: "learning";
2812
3369
  review: "review";
2813
3370
  }>, import("zod").ZodNumber>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
3371
+ listCardRevlogs: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3372
+ cardId: import("zod").ZodUUID;
3373
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
3374
+ items: import("zod").ZodArray<import("zod").ZodObject<{
3375
+ id: import("zod").ZodUUID;
3376
+ notebaseId: import("zod").ZodUUID;
3377
+ state: import("zod").ZodEnum<{
3378
+ new: "new";
3379
+ learning: "learning";
3380
+ review: "review";
3381
+ relearning: "relearning";
3382
+ }>;
3383
+ stability: import("zod").ZodNumber;
3384
+ createdAt: import("zod").ZodCoercedDate<unknown>;
3385
+ cardId: import("zod").ZodUUID;
3386
+ rating: import("zod").ZodEnum<{
3387
+ again: "again";
3388
+ hard: "hard";
3389
+ good: "good";
3390
+ easy: "easy";
3391
+ }>;
3392
+ afterScheduleStatus: import("zod").ZodEnum<{
3393
+ new: "new";
3394
+ learning: "learning";
3395
+ review: "review";
3396
+ suspended: "suspended";
3397
+ buried: "buried";
3398
+ }>;
3399
+ afterStability: import("zod").ZodNumber;
3400
+ reviewedAt: import("zod").ZodCoercedDate<unknown>;
3401
+ durationMs: import("zod").ZodNumber;
3402
+ }, import("zod/v4/core").$strip>>;
3403
+ }, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_NOT_FOUND">>, Record<never, never>>;
2814
3404
  review: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2815
3405
  cardId: import("zod").ZodUUID;
2816
3406
  id: import("zod").ZodOptional<import("zod").ZodUUID>;
@@ -2869,6 +3459,7 @@ declare const contract: {
2869
3459
  review: "review";
2870
3460
  relearning: "relearning";
2871
3461
  }>;
3462
+ stability: import("zod").ZodNumber;
2872
3463
  afterScheduleStatus: import("zod").ZodEnum<{
2873
3464
  new: "new";
2874
3465
  learning: "learning";
@@ -2876,6 +3467,7 @@ declare const contract: {
2876
3467
  suspended: "suspended";
2877
3468
  buried: "buried";
2878
3469
  }>;
3470
+ afterStability: import("zod").ZodNumber;
2879
3471
  reviewedAt: import("zod").ZodCoercedDate<unknown>;
2880
3472
  durationMs: import("zod").ZodNumber;
2881
3473
  fsrsReviewLogSnapshot: import("zod").ZodObject<{
@@ -2942,6 +3534,53 @@ declare const contract: {
2942
3534
  txid: import("zod").ZodNumber;
2943
3535
  }, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "CARD_NOT_FOUND" | "CARD_ALREADY_SUSPENDED" | "CARD_NOT_SUSPENDED" | "CARD_STATUS_CHANGE_UNAVAILABLE">>, Record<never, never>>;
2944
3536
  };
3537
+ stats: {
3538
+ activity: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3539
+ notebaseIds: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodArray<import("zod").ZodUUID>, import("zod").ZodTransform<string[], string[]>>>;
3540
+ from: import("zod").ZodOptional<import("zod").ZodISODate>;
3541
+ to: import("zod").ZodISODate;
3542
+ timezone: import("zod").ZodString;
3543
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
3544
+ srs: import("zod").ZodObject<{
3545
+ learnedCards: import("zod").ZodNumber;
3546
+ daily: import("zod").ZodArray<import("zod").ZodObject<{
3547
+ date: import("zod").ZodISODate;
3548
+ answers: import("zod").ZodNumber;
3549
+ durationMs: import("zod").ZodNumber;
3550
+ }, import("zod/v4/core").$strict>>;
3551
+ }, import("zod/v4/core").$strict>;
3552
+ notebase: import("zod").ZodObject<{
3553
+ daily: import("zod").ZodArray<import("zod").ZodObject<{
3554
+ date: import("zod").ZodISODate;
3555
+ notes: import("zod").ZodNumber;
3556
+ }, import("zod/v4/core").$strict>>;
3557
+ }, import("zod/v4/core").$strict>;
3558
+ }, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
3559
+ srsMemoryGrowth: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3560
+ notebaseIds: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodArray<import("zod").ZodUUID>, import("zod").ZodTransform<string[], string[]>>>;
3561
+ from: import("zod").ZodOptional<import("zod").ZodISODate>;
3562
+ to: import("zod").ZodISODate;
3563
+ timezone: import("zod").ZodString;
3564
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
3565
+ baseTotal: import("zod").ZodNumber;
3566
+ daily: import("zod").ZodArray<import("zod").ZodObject<{
3567
+ date: import("zod").ZodISODate;
3568
+ delta: import("zod").ZodNumber;
3569
+ }, import("zod/v4/core").$strict>>;
3570
+ }, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
3571
+ notebaseRowGrowth: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3572
+ notebaseIds: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodArray<import("zod").ZodUUID>, import("zod").ZodTransform<string[], string[]>>>;
3573
+ from: import("zod").ZodOptional<import("zod").ZodISODate>;
3574
+ to: import("zod").ZodISODate;
3575
+ timezone: import("zod").ZodString;
3576
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
3577
+ baseTotal: import("zod").ZodNumber;
3578
+ daily: import("zod").ZodArray<import("zod").ZodObject<{
3579
+ date: import("zod").ZodISODate;
3580
+ delta: import("zod").ZodNumber;
3581
+ }, import("zod/v4/core").$strict>>;
3582
+ }, import("zod/v4/core").$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
3583
+ };
2945
3584
  user: {
2946
3585
  ensureTimezone: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
2947
3586
  timezone: import("zod").ZodString;
@@ -3016,5 +3655,5 @@ declare const contract: {
3016
3655
  };
3017
3656
  type ORPCRouterClient = ContractRouterClient<typeof contract>;
3018
3657
  //#endregion
3019
- export { 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_NOTE_SUGGESTION_MAX_NOTES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS, HostedAiNoteSuggestionObject, HostedAiNoteSuggestionObjectSchema, HostedAiNoteSuggestionStreamInput, HostedAiNoteSuggestionStreamInputSchema, HostedAiOutputField, HostedAiOutputFieldSchema, HostedAiOutputFieldType, HostedAiOutputFieldTypeSchema, HostedAiStreamPart, HostedAiStreamPartSchema, HostedAiStreamStructuredObjectInput, HostedAiStreamStructuredObjectInputSchema, HostedAiStreamTextInput, HostedAiStreamTextInputSchema, NOTEBASE_ROW_CREATE_MANY_MAX_ROWS, Notebase, 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, 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, SrsManualCardStatusInput, SrsReviewClientIdCard, SrsReviewInput, SrsReviewOutput, SrsRevlog, SrsRevlogWithoutSnapshot, SrsRollbackReviewInput, SrsRollbackReviewOutput, SrsScheduleStatusStats, SrsScheduleStatusStatsInput, SrsScheduleStatusStatsOutput, SrsSetCardBuriedInput, SrsSetCardBuriedOutput, SrsSetCardSuspendedInput, SrsSetCardSuspendedOutput, SrsTxidOutput, Step, Timezone, UserEnsureTimezoneInput, UserEnsureTimezoneOutput, UserUpdateTimezoneInput, UserUpdateTimezoneOutput, VideoTranscriptCreateInput, VideoTranscriptGetInput, VideoTranscriptResource, VideoTranscriptStatus, VideoTranscriptSubtitles, VideoTranscriptUsage, 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, notebaseColumnCreateDataSchema, notebaseColumnSchema, notebaseColumnUpdateDataSchema, notebaseColumnWidthSchema, notebaseCreateDataSchema, notebaseRowCellsSchema, notebaseRowCreateDataSchema, notebaseRowSchema, notebaseRowUpdateDataSchema, notebaseSchema, notebaseUpdateDataSchema, notebaseViewConfigSchema, notebaseViewCreateDataSchema, notebaseViewFilterSchema, notebaseViewFiltersSchema, notebaseViewSchema, notebaseViewSortSchema, notebaseViewSortsSchema, notebaseViewTypeSchema, notebaseViewUpdateDataSchema, pickPublicErrorMap, renderedCardSchema, reviewRatingSchema, scheduleStatusSchema, schedulingParamsSchema, srsManualCardStatusInputSchema, srsReviewInputSchema, srsReviewOutputSchema, srsRevlogSchema, srsRevlogWithoutSnapshotSchema, srsRollbackReviewInputSchema, srsRollbackReviewOutputSchema, srsScheduleStatusStatsInputSchema, srsScheduleStatusStatsOutputSchema, srsScheduleStatusStatsSchema, srsSetCardBuriedInputSchema, srsSetCardBuriedOutputSchema, srsSetCardSuspendedInputSchema, srsSetCardSuspendedOutputSchema, srsTxidOutputSchema, stepSchema, timezoneSchema, userEnsureTimezoneInputSchema, userEnsureTimezoneOutputSchema, userUpdateTimezoneInputSchema, userUpdateTimezoneOutputSchema, videoTranscriptCreateInputSchema, videoTranscriptGetInputSchema, videoTranscriptResourceSchema, videoTranscriptStatusSchema, videoTranscriptSubtitlesSchema, videoTranscriptUsageSchema };
3658
+ 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, 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, videoTranscriptUsageSchema };
3020
3659
  //# sourceMappingURL=index.d.ts.map