@read-frog/api-contract 0.17.0 → 0.18.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 CHANGED
@@ -20,28 +20,28 @@ type AgentRoute = Route & {
20
20
  * keeps generic, so the prose is mirrored there and stays a required `string`
21
21
  * for tool definitions. OpenAPI keeps reading `route`.
22
22
  */
23
- declare function defineAgentProcedure(route: AgentRoute): import("@orpc/contract").ContractProcedureBuilder<import("@orpc/contract").Schema<unknown, unknown>, import("@orpc/contract").Schema<unknown, unknown>, Record<never, never>, {
23
+ export declare function defineAgentProcedure(route: AgentRoute): import("@orpc/contract").ContractProcedureBuilder<import("@orpc/contract").Schema<unknown, unknown>, import("@orpc/contract").Schema<unknown, unknown>, Record<never, never>, {
24
24
  summary: string;
25
25
  description: string;
26
26
  } & Record<never, never>>;
27
27
  //#endregion
28
28
  //#region src/public-errors.d.ts
29
- declare const CellValidationFailureReasonSchema: z.ZodEnum<{
29
+ export declare const CellValidationFailureReasonSchema: z.ZodEnum<{
30
30
  invalid_date_format: "invalid_date_format";
31
31
  invalid_select_option: "invalid_select_option";
32
32
  type_mismatch: "type_mismatch";
33
33
  unknown_notebase_column: "unknown_notebase_column";
34
34
  }>;
35
- type CellValidationFailureReason = z.infer<typeof CellValidationFailureReasonSchema>;
36
- declare const CellValidationFailureDetailsSchema: z.ZodObject<{
35
+ export type CellValidationFailureReason = z.infer<typeof CellValidationFailureReasonSchema>;
36
+ export declare const CellValidationFailureDetailsSchema: z.ZodObject<{
37
37
  expectedFormat: z.ZodOptional<z.ZodString>;
38
38
  expectedType: z.ZodOptional<z.ZodString>;
39
39
  receivedType: z.ZodOptional<z.ZodString>;
40
40
  receivedValue: z.ZodOptional<z.ZodUnknown>;
41
41
  validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
42
42
  }, z.core.$strict>;
43
- type CellValidationFailureDetails = z.infer<typeof CellValidationFailureDetailsSchema>;
44
- declare const CellValidationFailedDataSchema: z.ZodObject<{
43
+ export type CellValidationFailureDetails = z.infer<typeof CellValidationFailureDetailsSchema>;
44
+ export declare const CellValidationFailedDataSchema: z.ZodObject<{
45
45
  notebaseColumnId: z.ZodString;
46
46
  details: z.ZodObject<{
47
47
  expectedFormat: z.ZodOptional<z.ZodString>;
@@ -58,18 +58,18 @@ declare const CellValidationFailedDataSchema: z.ZodObject<{
58
58
  }>;
59
59
  rowIndex: z.ZodOptional<z.ZodNumber>;
60
60
  }, z.core.$strict>;
61
- type CellValidationFailedData = z.infer<typeof CellValidationFailedDataSchema>;
62
- declare const CardTemplateInvalidColumnsDataSchema: z.ZodObject<{
61
+ export type CellValidationFailedData = z.infer<typeof CellValidationFailedDataSchema>;
62
+ export declare const CardTemplateInvalidColumnsDataSchema: z.ZodObject<{
63
63
  notebaseColumnIds: z.ZodArray<z.ZodString>;
64
64
  }, z.core.$strict>;
65
- type CardTemplateInvalidColumnsData = z.infer<typeof CardTemplateInvalidColumnsDataSchema>;
66
- declare const HostedAiTierRestrictedDataSchema: z.ZodObject<{
65
+ export type CardTemplateInvalidColumnsData = z.infer<typeof CardTemplateInvalidColumnsDataSchema>;
66
+ export declare const HostedAiTierRestrictedDataSchema: z.ZodObject<{
67
67
  modelTier: z.ZodEnum<{
68
68
  advance: "advance";
69
69
  normal: "normal";
70
70
  }>;
71
71
  }, z.core.$strict>;
72
- declare const HostedAiQuotaExhaustedDataSchema: z.ZodObject<{
72
+ export declare const HostedAiQuotaExhaustedDataSchema: z.ZodObject<{
73
73
  modelTier: z.ZodEnum<{
74
74
  advance: "advance";
75
75
  normal: "normal";
@@ -83,7 +83,7 @@ declare const HostedAiQuotaExhaustedDataSchema: z.ZodObject<{
83
83
  usedPercent: z.ZodNumber;
84
84
  resetAt: z.ZodNullable<z.ZodISODateTime>;
85
85
  }, z.core.$strict>;
86
- declare const PUBLIC_APP_ERROR_DEFS: {
86
+ export declare const PUBLIC_APP_ERROR_DEFS: {
87
87
  readonly RESOURCE_UPDATE_CONFLICT: {
88
88
  readonly message: "The resource changed. Read it again before updating.";
89
89
  readonly status: 409;
@@ -293,12 +293,12 @@ declare const PUBLIC_APP_ERROR_DEFS: {
293
293
  readonly status: 409;
294
294
  };
295
295
  };
296
- type PublicAppErrorCode = keyof typeof PUBLIC_APP_ERROR_DEFS;
297
- type PublicAppErrorData<TCode extends PublicAppErrorCode> = (typeof PUBLIC_APP_ERROR_DEFS)[TCode] extends {
296
+ export type PublicAppErrorCode = keyof typeof PUBLIC_APP_ERROR_DEFS;
297
+ export type PublicAppErrorData<TCode extends PublicAppErrorCode> = (typeof PUBLIC_APP_ERROR_DEFS)[TCode] extends {
298
298
  data: infer TSchema extends z.ZodTypeAny;
299
299
  } ? z.output<TSchema> : undefined;
300
- declare function isPublicAppErrorCode(code: string | undefined): code is PublicAppErrorCode;
301
- declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code: TCode): {
300
+ export declare function isPublicAppErrorCode(code: string | undefined): code is PublicAppErrorCode;
301
+ export declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code: TCode): {
302
302
  readonly RESOURCE_UPDATE_CONFLICT: {
303
303
  readonly message: "The resource changed. Read it again before updating.";
304
304
  readonly status: 409;
@@ -508,24 +508,24 @@ declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code
508
508
  readonly status: 409;
509
509
  };
510
510
  }[TCode];
511
- declare function pickPublicErrorMap<const TCodes extends readonly PublicAppErrorCode[]>(...codes: TCodes): Pick<ErrorMap, TCodes[number]>;
511
+ export declare function pickPublicErrorMap<const TCodes extends readonly PublicAppErrorCode[]>(...codes: TCodes): Pick<ErrorMap, TCodes[number]>;
512
512
  //#endregion
513
513
  //#region src/schemas/beta-access.d.ts
514
- declare const BetaFeatureKeySchema: z.ZodEnum<{
514
+ export declare const BetaFeatureKeySchema: z.ZodEnum<{
515
515
  ebook: "ebook";
516
516
  notebase: "notebase";
517
517
  videoTranscription: "videoTranscription";
518
518
  }>;
519
- type BetaFeatureKey = z.infer<typeof BetaFeatureKeySchema>;
520
- declare const BetaAccessStatusInputSchema: z.ZodObject<{
519
+ export type BetaFeatureKey = z.infer<typeof BetaFeatureKeySchema>;
520
+ export declare const BetaAccessStatusInputSchema: z.ZodObject<{
521
521
  featureKey: z.ZodEnum<{
522
522
  ebook: "ebook";
523
523
  notebase: "notebase";
524
524
  videoTranscription: "videoTranscription";
525
525
  }>;
526
526
  }, z.core.$strict>;
527
- type BetaAccessStatusInput = z.infer<typeof BetaAccessStatusInputSchema>;
528
- declare const BetaAccessStatusOutputSchema: z.ZodObject<{
527
+ export type BetaAccessStatusInput = z.infer<typeof BetaAccessStatusInputSchema>;
528
+ export declare const BetaAccessStatusOutputSchema: z.ZodObject<{
529
529
  featureKey: z.ZodEnum<{
530
530
  ebook: "ebook";
531
531
  notebase: "notebase";
@@ -533,15 +533,15 @@ declare const BetaAccessStatusOutputSchema: z.ZodObject<{
533
533
  }>;
534
534
  allowed: z.ZodBoolean;
535
535
  }, z.core.$strip>;
536
- type BetaAccessStatusOutput = z.infer<typeof BetaAccessStatusOutputSchema>;
536
+ export type BetaAccessStatusOutput = z.infer<typeof BetaAccessStatusOutputSchema>;
537
537
  //#endregion
538
538
  //#region src/schemas/billing.d.ts
539
- declare const billingIntervalSchema: z.ZodEnum<{
539
+ export declare const billingIntervalSchema: z.ZodEnum<{
540
540
  month: "month";
541
541
  year: "year";
542
542
  }>;
543
- type BillingInterval = z.infer<typeof billingIntervalSchema>;
544
- declare const billingSubscriptionStatusSchema: z.ZodEnum<{
543
+ export type BillingInterval = z.infer<typeof billingIntervalSchema>;
544
+ export declare const billingSubscriptionStatusSchema: z.ZodEnum<{
545
545
  active: "active";
546
546
  canceled: "canceled";
547
547
  incomplete: "incomplete";
@@ -551,13 +551,13 @@ declare const billingSubscriptionStatusSchema: z.ZodEnum<{
551
551
  trialing: "trialing";
552
552
  unpaid: "unpaid";
553
553
  }>;
554
- type BillingSubscriptionStatus = z.infer<typeof billingSubscriptionStatusSchema>;
555
- declare const billingPlanSchema: z.ZodEnum<{
554
+ export type BillingSubscriptionStatus = z.infer<typeof billingSubscriptionStatusSchema>;
555
+ export declare const billingPlanSchema: z.ZodEnum<{
556
556
  free: "free";
557
557
  pro: "pro";
558
558
  ultra: "ultra";
559
559
  }>;
560
- type BillingPlan = z.infer<typeof billingPlanSchema>;
560
+ export type BillingPlan = z.infer<typeof billingPlanSchema>;
561
561
  /**
562
562
  * Whether a plan may use a feature, given the plans that feature allows.
563
563
  *
@@ -566,7 +566,7 @@ type BillingPlan = z.infer<typeof billingPlanSchema>;
566
566
  * down. The cost is that nothing derives from it automatically -- a feature's
567
567
  * pricing-card placement is a companion edit, noted at each `*_ALLOWED_PLANS`.
568
568
  */
569
- declare function isPlanAllowed(plan: BillingPlan, allowed: readonly BillingPlan[]): boolean;
569
+ export declare function isPlanAllowed(plan: BillingPlan, allowed: readonly BillingPlan[]): boolean;
570
570
  /**
571
571
  * Plans that may use the remote MCP server.
572
572
  *
@@ -579,19 +579,19 @@ declare function isPlanAllowed(plan: BillingPlan, allowed: readonly BillingPlan[
579
579
  * `apps/www/src/routes/pricing.tsx` lives on the lowest allowed plan's card
580
580
  * (higher cards inherit it through their "everything in <lower plan>" line).
581
581
  */
582
- declare const MCP_ALLOWED_PLANS: readonly ["ultra"];
583
- declare const billingCheckoutPlanSchema: z.ZodEnum<{
582
+ export declare const MCP_ALLOWED_PLANS: readonly ["ultra"];
583
+ export declare const billingCheckoutPlanSchema: z.ZodEnum<{
584
584
  pro: "pro";
585
585
  ultra: "ultra";
586
586
  }>;
587
- type BillingCheckoutPlan = z.infer<typeof billingCheckoutPlanSchema>;
588
- declare const billingCurrencySchema: z.ZodEnum<{
587
+ export type BillingCheckoutPlan = z.infer<typeof billingCheckoutPlanSchema>;
588
+ export declare const billingCurrencySchema: z.ZodEnum<{
589
589
  cad: "cad";
590
590
  cny: "cny";
591
591
  usd: "usd";
592
592
  }>;
593
- type BillingCurrency = z.infer<typeof billingCurrencySchema>;
594
- declare const billingLocaleSchema: z.ZodEnum<{
593
+ export type BillingCurrency = z.infer<typeof billingCurrencySchema>;
594
+ export declare const billingLocaleSchema: z.ZodEnum<{
595
595
  en: "en";
596
596
  es: "es";
597
597
  ja: "ja";
@@ -602,13 +602,13 @@ declare const billingLocaleSchema: z.ZodEnum<{
602
602
  zh: "zh";
603
603
  "zh-TW": "zh-TW";
604
604
  }>;
605
- type BillingLocale = z.infer<typeof billingLocaleSchema>;
606
- declare const billingAccessSourceSchema: z.ZodEnum<{
605
+ export type BillingLocale = z.infer<typeof billingLocaleSchema>;
606
+ export declare const billingAccessSourceSchema: z.ZodEnum<{
607
607
  pass: "pass";
608
608
  subscription: "subscription";
609
609
  }>;
610
- type BillingAccessSource = z.infer<typeof billingAccessSourceSchema>;
611
- declare const billingScheduledChangeSchema: z.ZodObject<{
610
+ export type BillingAccessSource = z.infer<typeof billingAccessSourceSchema>;
611
+ export declare const billingScheduledChangeSchema: z.ZodObject<{
612
612
  plan: z.ZodEnum<{
613
613
  pro: "pro";
614
614
  ultra: "ultra";
@@ -619,8 +619,8 @@ declare const billingScheduledChangeSchema: z.ZodObject<{
619
619
  }>;
620
620
  effectiveAt: z.ZodCoercedDate<unknown>;
621
621
  }, z.core.$strict>;
622
- type BillingScheduledChange = z.infer<typeof billingScheduledChangeSchema>;
623
- declare const billingStatusSchema: z.ZodObject<{
622
+ export type BillingScheduledChange = z.infer<typeof billingScheduledChangeSchema>;
623
+ export declare const billingStatusSchema: z.ZodObject<{
624
624
  plan: z.ZodEnum<{
625
625
  free: "free";
626
626
  pro: "pro";
@@ -661,8 +661,8 @@ declare const billingStatusSchema: z.ZodObject<{
661
661
  notebaseNoteLimit: z.ZodNumber;
662
662
  notebaseNoteCount: z.ZodNumber;
663
663
  }, z.core.$strict>;
664
- type BillingStatus = z.infer<typeof billingStatusSchema>;
665
- declare const billingCreateCheckoutSessionInputSchema: z.ZodObject<{
664
+ export type BillingStatus = z.infer<typeof billingStatusSchema>;
665
+ export declare const billingCreateCheckoutSessionInputSchema: z.ZodObject<{
666
666
  currency: z.ZodEnum<{
667
667
  cad: "cad";
668
668
  cny: "cny";
@@ -688,8 +688,8 @@ declare const billingCreateCheckoutSessionInputSchema: z.ZodObject<{
688
688
  ultra: "ultra";
689
689
  }>>;
690
690
  }, z.core.$strict>;
691
- type BillingCreateCheckoutSessionInput = z.infer<typeof billingCreateCheckoutSessionInputSchema>;
692
- declare const billingCreateCustomerPortalSessionInputSchema: z.ZodObject<{
691
+ export type BillingCreateCheckoutSessionInput = z.infer<typeof billingCreateCheckoutSessionInputSchema>;
692
+ export declare const billingCreateCustomerPortalSessionInputSchema: z.ZodObject<{
693
693
  locale: z.ZodEnum<{
694
694
  en: "en";
695
695
  es: "es";
@@ -702,18 +702,18 @@ declare const billingCreateCustomerPortalSessionInputSchema: z.ZodObject<{
702
702
  "zh-TW": "zh-TW";
703
703
  }>;
704
704
  }, z.core.$strict>;
705
- type BillingCreateCustomerPortalSessionInput = z.infer<typeof billingCreateCustomerPortalSessionInputSchema>;
706
- declare const billingSessionUrlOutputSchema: z.ZodObject<{
705
+ export type BillingCreateCustomerPortalSessionInput = z.infer<typeof billingCreateCustomerPortalSessionInputSchema>;
706
+ export declare const billingSessionUrlOutputSchema: z.ZodObject<{
707
707
  url: z.ZodURL;
708
708
  }, z.core.$strict>;
709
- type BillingSessionUrlOutput = z.infer<typeof billingSessionUrlOutputSchema>;
710
- declare const billingCancelScheduledChangeOutputSchema: z.ZodObject<{
709
+ export type BillingSessionUrlOutput = z.infer<typeof billingSessionUrlOutputSchema>;
710
+ export declare const billingCancelScheduledChangeOutputSchema: z.ZodObject<{
711
711
  success: z.ZodLiteral<true>;
712
712
  }, z.core.$strict>;
713
- type BillingCancelScheduledChangeOutput = z.infer<typeof billingCancelScheduledChangeOutputSchema>;
713
+ export type BillingCancelScheduledChangeOutput = z.infer<typeof billingCancelScheduledChangeOutputSchema>;
714
714
  //#endregion
715
715
  //#region src/schemas/card.d.ts
716
- declare const cardTemplateSchema: z.ZodObject<{
716
+ export declare const cardTemplateSchema: z.ZodObject<{
717
717
  id: z.ZodUUID;
718
718
  notebaseId: z.ZodUUID;
719
719
  name: z.ZodString;
@@ -725,14 +725,14 @@ declare const cardTemplateSchema: z.ZodObject<{
725
725
  createdAt: z.ZodCoercedDate<unknown>;
726
726
  updatedAt: z.ZodCoercedDate<unknown>;
727
727
  }, z.core.$strip>;
728
- type CardTemplate = z.infer<typeof cardTemplateSchema>;
729
- declare const CardTemplateListInputSchema: z.ZodObject<{
728
+ export type CardTemplate = z.infer<typeof cardTemplateSchema>;
729
+ export declare const CardTemplateListInputSchema: z.ZodObject<{
730
730
  limit: z.ZodOptional<z.ZodNumber>;
731
731
  offset: z.ZodOptional<z.ZodNumber>;
732
732
  notebaseId: z.ZodOptional<z.ZodUUID>;
733
733
  }, z.core.$strip>;
734
- type CardTemplateListInput = z.infer<typeof CardTemplateListInputSchema>;
735
- declare const CardTemplateListOutputSchema: z.ZodObject<{
734
+ export type CardTemplateListInput = z.infer<typeof CardTemplateListInputSchema>;
735
+ export declare const CardTemplateListOutputSchema: z.ZodObject<{
736
736
  items: z.ZodArray<z.ZodObject<{
737
737
  id: z.ZodUUID;
738
738
  notebaseId: z.ZodUUID;
@@ -747,12 +747,12 @@ declare const CardTemplateListOutputSchema: z.ZodObject<{
747
747
  }, z.core.$strip>>;
748
748
  hasMore: z.ZodBoolean;
749
749
  }, z.core.$strip>;
750
- type CardTemplateListOutput = z.infer<typeof CardTemplateListOutputSchema>;
751
- declare const CardTemplateGetInputSchema: z.ZodObject<{
750
+ export type CardTemplateListOutput = z.infer<typeof CardTemplateListOutputSchema>;
751
+ export declare const CardTemplateGetInputSchema: z.ZodObject<{
752
752
  id: z.ZodUUID;
753
753
  }, z.core.$strip>;
754
- type CardTemplateGetInput = z.infer<typeof CardTemplateGetInputSchema>;
755
- declare const CardTemplateGetOutputSchema: z.ZodObject<{
754
+ export type CardTemplateGetInput = z.infer<typeof CardTemplateGetInputSchema>;
755
+ export declare const CardTemplateGetOutputSchema: z.ZodObject<{
756
756
  id: z.ZodUUID;
757
757
  notebaseId: z.ZodUUID;
758
758
  name: z.ZodString;
@@ -764,8 +764,8 @@ declare const CardTemplateGetOutputSchema: z.ZodObject<{
764
764
  createdAt: z.ZodCoercedDate<unknown>;
765
765
  updatedAt: z.ZodCoercedDate<unknown>;
766
766
  }, z.core.$strip>;
767
- type CardTemplateGetOutput = z.infer<typeof CardTemplateGetOutputSchema>;
768
- declare const CardTemplateCreateInputSchema: z.ZodObject<{
767
+ export type CardTemplateGetOutput = z.infer<typeof CardTemplateGetOutputSchema>;
768
+ export declare const CardTemplateCreateInputSchema: z.ZodObject<{
769
769
  id: z.ZodOptional<z.ZodUUID>;
770
770
  notebaseId: z.ZodUUID;
771
771
  name: z.ZodString;
@@ -775,8 +775,8 @@ declare const CardTemplateCreateInputSchema: z.ZodObject<{
775
775
  backPattern: z.ZodString;
776
776
  }, z.core.$strict>], "type">;
777
777
  }, z.core.$strict>;
778
- type CardTemplateCreateInput = z.infer<typeof CardTemplateCreateInputSchema>;
779
- declare const CardTemplateCreateOutputSchema: z.ZodObject<{
778
+ export type CardTemplateCreateInput = z.infer<typeof CardTemplateCreateInputSchema>;
779
+ export declare const CardTemplateCreateOutputSchema: z.ZodObject<{
780
780
  id: z.ZodUUID;
781
781
  notebaseId: z.ZodUUID;
782
782
  name: z.ZodString;
@@ -789,8 +789,8 @@ declare const CardTemplateCreateOutputSchema: z.ZodObject<{
789
789
  updatedAt: z.ZodCoercedDate<unknown>;
790
790
  txid: z.ZodNumber;
791
791
  }, z.core.$strip>;
792
- type CardTemplateCreateOutput = z.infer<typeof CardTemplateCreateOutputSchema>;
793
- declare const CardTemplateUpdateInputSchema: z.ZodObject<{
792
+ export type CardTemplateCreateOutput = z.infer<typeof CardTemplateCreateOutputSchema>;
793
+ export declare const CardTemplateUpdateInputSchema: z.ZodObject<{
794
794
  expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
795
795
  id: z.ZodUUID;
796
796
  name: z.ZodOptional<z.ZodString>;
@@ -800,8 +800,8 @@ declare const CardTemplateUpdateInputSchema: z.ZodObject<{
800
800
  backPattern: z.ZodString;
801
801
  }, z.core.$strict>], "type">>;
802
802
  }, z.core.$strict>;
803
- type CardTemplateUpdateInput = z.infer<typeof CardTemplateUpdateInputSchema>;
804
- declare const CardTemplateUpdateOutputSchema: z.ZodObject<{
803
+ export type CardTemplateUpdateInput = z.infer<typeof CardTemplateUpdateInputSchema>;
804
+ export declare const CardTemplateUpdateOutputSchema: z.ZodObject<{
805
805
  id: z.ZodUUID;
806
806
  notebaseId: z.ZodUUID;
807
807
  name: z.ZodString;
@@ -814,17 +814,17 @@ declare const CardTemplateUpdateOutputSchema: z.ZodObject<{
814
814
  updatedAt: z.ZodCoercedDate<unknown>;
815
815
  txid: z.ZodNumber;
816
816
  }, z.core.$strip>;
817
- type CardTemplateUpdateOutput = z.infer<typeof CardTemplateUpdateOutputSchema>;
818
- declare const CardTemplateDeleteInputSchema: z.ZodObject<{
817
+ export type CardTemplateUpdateOutput = z.infer<typeof CardTemplateUpdateOutputSchema>;
818
+ export declare const CardTemplateDeleteInputSchema: z.ZodObject<{
819
819
  id: z.ZodUUID;
820
820
  }, z.core.$strip>;
821
- type CardTemplateDeleteInput = z.infer<typeof CardTemplateDeleteInputSchema>;
822
- declare const CardTemplateDeleteOutputSchema: z.ZodObject<{
821
+ export type CardTemplateDeleteInput = z.infer<typeof CardTemplateDeleteInputSchema>;
822
+ export declare const CardTemplateDeleteOutputSchema: z.ZodObject<{
823
823
  id: z.ZodUUID;
824
824
  txid: z.ZodNumber;
825
825
  }, z.core.$strip>;
826
- type CardTemplateDeleteOutput = z.infer<typeof CardTemplateDeleteOutputSchema>;
827
- declare const cardSchema: z.ZodObject<{
826
+ export type CardTemplateDeleteOutput = z.infer<typeof CardTemplateDeleteOutputSchema>;
827
+ export declare const cardSchema: z.ZodObject<{
828
828
  notebaseId: z.ZodUUID;
829
829
  notebaseRowId: z.ZodUUID;
830
830
  templateId: z.ZodUUID;
@@ -854,8 +854,8 @@ declare const cardSchema: z.ZodObject<{
854
854
  createdAt: z.ZodCoercedDate<unknown>;
855
855
  updatedAt: z.ZodCoercedDate<unknown>;
856
856
  }, z.core.$strip>;
857
- type Card = z.infer<typeof cardSchema>;
858
- declare const renderedCardSchema: z.ZodObject<{
857
+ export type Card = z.infer<typeof cardSchema>;
858
+ export declare const renderedCardSchema: z.ZodObject<{
859
859
  notebaseId: z.ZodUUID;
860
860
  notebaseRowId: z.ZodUUID;
861
861
  templateId: z.ZodUUID;
@@ -887,8 +887,8 @@ declare const renderedCardSchema: z.ZodObject<{
887
887
  front: z.ZodString;
888
888
  back: z.ZodString;
889
889
  }, z.core.$strip>;
890
- type RenderedCard = z.infer<typeof renderedCardSchema>;
891
- declare const CardListInputSchema: z.ZodObject<{
890
+ export type RenderedCard = z.infer<typeof renderedCardSchema>;
891
+ export declare const CardListInputSchema: z.ZodObject<{
892
892
  limit: z.ZodOptional<z.ZodNumber>;
893
893
  offset: z.ZodOptional<z.ZodNumber>;
894
894
  notebaseId: z.ZodOptional<z.ZodUUID>;
@@ -901,8 +901,8 @@ declare const CardListInputSchema: z.ZodObject<{
901
901
  suspended: "suspended";
902
902
  }>>;
903
903
  }, z.core.$strip>;
904
- type CardListInput = z.infer<typeof CardListInputSchema>;
905
- declare const CardListOutputSchema: z.ZodObject<{
904
+ export type CardListInput = z.infer<typeof CardListInputSchema>;
905
+ export declare const CardListOutputSchema: z.ZodObject<{
906
906
  items: z.ZodArray<z.ZodObject<{
907
907
  notebaseId: z.ZodUUID;
908
908
  notebaseRowId: z.ZodUUID;
@@ -937,12 +937,12 @@ declare const CardListOutputSchema: z.ZodObject<{
937
937
  }, z.core.$strip>>;
938
938
  hasMore: z.ZodBoolean;
939
939
  }, z.core.$strip>;
940
- type CardListOutput = z.infer<typeof CardListOutputSchema>;
941
- declare const CardGetInputSchema: z.ZodObject<{
940
+ export type CardListOutput = z.infer<typeof CardListOutputSchema>;
941
+ export declare const CardGetInputSchema: z.ZodObject<{
942
942
  id: z.ZodUUID;
943
943
  }, z.core.$strip>;
944
- type CardGetInput = z.infer<typeof CardGetInputSchema>;
945
- declare const CardGetOutputSchema: z.ZodObject<{
944
+ export type CardGetInput = z.infer<typeof CardGetInputSchema>;
945
+ export declare const CardGetOutputSchema: z.ZodObject<{
946
946
  notebaseId: z.ZodUUID;
947
947
  notebaseRowId: z.ZodUUID;
948
948
  templateId: z.ZodUUID;
@@ -974,31 +974,31 @@ declare const CardGetOutputSchema: z.ZodObject<{
974
974
  front: z.ZodString;
975
975
  back: z.ZodString;
976
976
  }, z.core.$strip>;
977
- type CardGetOutput = z.infer<typeof CardGetOutputSchema>;
978
- declare const CardGenerateInputSchema: z.ZodObject<{
977
+ export type CardGetOutput = z.infer<typeof CardGetOutputSchema>;
978
+ export declare const CardGenerateInputSchema: z.ZodObject<{
979
979
  notebaseId: z.ZodUUID;
980
980
  templateId: z.ZodOptional<z.ZodUUID>;
981
981
  }, z.core.$strip>;
982
- type CardGenerateInput = z.infer<typeof CardGenerateInputSchema>;
983
- declare const CardGenerateOutputSchema: z.ZodObject<{
982
+ export type CardGenerateInput = z.infer<typeof CardGenerateInputSchema>;
983
+ export declare const CardGenerateOutputSchema: z.ZodObject<{
984
984
  created: z.ZodNumber;
985
985
  txid: z.ZodNumber;
986
986
  }, z.core.$strip>;
987
- type CardGenerateOutput = z.infer<typeof CardGenerateOutputSchema>;
987
+ export type CardGenerateOutput = z.infer<typeof CardGenerateOutputSchema>;
988
988
  //#endregion
989
989
  //#region src/schemas/ebook.d.ts
990
- declare const ebookStatusSchema: z.ZodEnum<{
990
+ export declare const ebookStatusSchema: z.ZodEnum<{
991
991
  pending: "pending";
992
992
  ready: "ready";
993
993
  }>;
994
- type EbookStatus = z.infer<typeof ebookStatusSchema>;
995
- declare const ebookCoverContentTypeSchema: z.ZodEnum<{
994
+ export type EbookStatus = z.infer<typeof ebookStatusSchema>;
995
+ export declare const ebookCoverContentTypeSchema: z.ZodEnum<{
996
996
  "image/jpeg": "image/jpeg";
997
997
  "image/png": "image/png";
998
998
  "image/webp": "image/webp";
999
999
  }>;
1000
- type EbookCoverContentType = z.infer<typeof ebookCoverContentTypeSchema>;
1001
- declare const ebookListItemSchema: z.ZodObject<{
1000
+ export type EbookCoverContentType = z.infer<typeof ebookCoverContentTypeSchema>;
1001
+ export declare const ebookListItemSchema: z.ZodObject<{
1002
1002
  id: z.ZodUUID;
1003
1003
  title: z.ZodString;
1004
1004
  author: z.ZodNullable<z.ZodString>;
@@ -1014,8 +1014,8 @@ declare const ebookListItemSchema: z.ZodObject<{
1014
1014
  createdAt: z.ZodCoercedDate<unknown>;
1015
1015
  updatedAt: z.ZodCoercedDate<unknown>;
1016
1016
  }, z.core.$strict>;
1017
- type EbookListItem = z.infer<typeof ebookListItemSchema>;
1018
- declare const ebookDetailSchema: z.ZodObject<{
1017
+ export type EbookListItem = z.infer<typeof ebookListItemSchema>;
1018
+ export declare const ebookDetailSchema: z.ZodObject<{
1019
1019
  id: z.ZodUUID;
1020
1020
  title: z.ZodString;
1021
1021
  author: z.ZodNullable<z.ZodString>;
@@ -1032,15 +1032,15 @@ declare const ebookDetailSchema: z.ZodObject<{
1032
1032
  updatedAt: z.ZodCoercedDate<unknown>;
1033
1033
  progressCfi: z.ZodNullable<z.ZodString>;
1034
1034
  }, z.core.$strict>;
1035
- type EbookDetail = z.infer<typeof ebookDetailSchema>;
1036
- declare const ebookQuotaSchema: z.ZodObject<{
1035
+ export type EbookDetail = z.infer<typeof ebookDetailSchema>;
1036
+ export declare const ebookQuotaSchema: z.ZodObject<{
1037
1037
  count: z.ZodNumber;
1038
1038
  limit: z.ZodNumber;
1039
1039
  }, z.core.$strict>;
1040
- type EbookQuota = z.infer<typeof ebookQuotaSchema>;
1041
- declare const ebookListInputSchema: z.ZodObject<{}, z.core.$strict>;
1042
- type EbookListInput = z.infer<typeof ebookListInputSchema>;
1043
- declare const ebookListOutputSchema: z.ZodObject<{
1040
+ export type EbookQuota = z.infer<typeof ebookQuotaSchema>;
1041
+ export declare const ebookListInputSchema: z.ZodObject<{}, z.core.$strict>;
1042
+ export type EbookListInput = z.infer<typeof ebookListInputSchema>;
1043
+ export declare const ebookListOutputSchema: z.ZodObject<{
1044
1044
  items: z.ZodArray<z.ZodObject<{
1045
1045
  id: z.ZodUUID;
1046
1046
  title: z.ZodString;
@@ -1062,12 +1062,12 @@ declare const ebookListOutputSchema: z.ZodObject<{
1062
1062
  limit: z.ZodNumber;
1063
1063
  }, z.core.$strict>;
1064
1064
  }, z.core.$strict>;
1065
- type EbookListOutput = z.infer<typeof ebookListOutputSchema>;
1066
- declare const ebookGetInputSchema: z.ZodObject<{
1065
+ export type EbookListOutput = z.infer<typeof ebookListOutputSchema>;
1066
+ export declare const ebookGetInputSchema: z.ZodObject<{
1067
1067
  id: z.ZodUUID;
1068
1068
  }, z.core.$strict>;
1069
- type EbookGetInput = z.infer<typeof ebookGetInputSchema>;
1070
- declare const ebookGetOutputSchema: z.ZodObject<{
1069
+ export type EbookGetInput = z.infer<typeof ebookGetInputSchema>;
1070
+ export declare const ebookGetOutputSchema: z.ZodObject<{
1071
1071
  ebook: z.ZodObject<{
1072
1072
  id: z.ZodUUID;
1073
1073
  title: z.ZodString;
@@ -1086,8 +1086,8 @@ declare const ebookGetOutputSchema: z.ZodObject<{
1086
1086
  progressCfi: z.ZodNullable<z.ZodString>;
1087
1087
  }, z.core.$strict>;
1088
1088
  }, z.core.$strict>;
1089
- type EbookGetOutput = z.infer<typeof ebookGetOutputSchema>;
1090
- declare const ebookRequestUploadInputSchema: z.ZodObject<{
1089
+ export type EbookGetOutput = z.infer<typeof ebookGetOutputSchema>;
1090
+ export declare const ebookRequestUploadInputSchema: z.ZodObject<{
1091
1091
  title: z.ZodString;
1092
1092
  author: z.ZodOptional<z.ZodString>;
1093
1093
  language: z.ZodOptional<z.ZodString>;
@@ -1097,17 +1097,17 @@ declare const ebookRequestUploadInputSchema: z.ZodObject<{
1097
1097
  "image/webp": "image/webp";
1098
1098
  }>>;
1099
1099
  }, z.core.$strict>;
1100
- type EbookRequestUploadInput = z.infer<typeof ebookRequestUploadInputSchema>;
1100
+ export type EbookRequestUploadInput = z.infer<typeof ebookRequestUploadInputSchema>;
1101
1101
  /**
1102
1102
  * S3 POST form policy. `fields` must be appended to the form in iteration order
1103
1103
  * with the file last; S3 ignores anything sent after the `file` part.
1104
1104
  */
1105
- declare const ebookPresignedPostSchema: z.ZodObject<{
1105
+ export declare const ebookPresignedPostSchema: z.ZodObject<{
1106
1106
  url: z.ZodURL;
1107
1107
  fields: z.ZodRecord<z.ZodString, z.ZodString>;
1108
1108
  }, z.core.$strict>;
1109
- type EbookPresignedPost = z.infer<typeof ebookPresignedPostSchema>;
1110
- declare const ebookRequestUploadOutputSchema: z.ZodObject<{
1109
+ export type EbookPresignedPost = z.infer<typeof ebookPresignedPostSchema>;
1110
+ export declare const ebookRequestUploadOutputSchema: z.ZodObject<{
1111
1111
  ebookId: z.ZodUUID;
1112
1112
  upload: z.ZodObject<{
1113
1113
  url: z.ZodURL;
@@ -1119,12 +1119,12 @@ declare const ebookRequestUploadOutputSchema: z.ZodObject<{
1119
1119
  }, z.core.$strict>>;
1120
1120
  expiresAt: z.ZodCoercedDate<unknown>;
1121
1121
  }, z.core.$strict>;
1122
- type EbookRequestUploadOutput = z.infer<typeof ebookRequestUploadOutputSchema>;
1123
- declare const ebookFinalizeUploadInputSchema: z.ZodObject<{
1122
+ export type EbookRequestUploadOutput = z.infer<typeof ebookRequestUploadOutputSchema>;
1123
+ export declare const ebookFinalizeUploadInputSchema: z.ZodObject<{
1124
1124
  ebookId: z.ZodUUID;
1125
1125
  }, z.core.$strict>;
1126
- type EbookFinalizeUploadInput = z.infer<typeof ebookFinalizeUploadInputSchema>;
1127
- declare const ebookFinalizeUploadOutputSchema: z.ZodObject<{
1126
+ export type EbookFinalizeUploadInput = z.infer<typeof ebookFinalizeUploadInputSchema>;
1127
+ export declare const ebookFinalizeUploadOutputSchema: z.ZodObject<{
1128
1128
  ebook: z.ZodObject<{
1129
1129
  id: z.ZodUUID;
1130
1130
  title: z.ZodString;
@@ -1142,43 +1142,43 @@ declare const ebookFinalizeUploadOutputSchema: z.ZodObject<{
1142
1142
  updatedAt: z.ZodCoercedDate<unknown>;
1143
1143
  }, z.core.$strict>;
1144
1144
  }, z.core.$strict>;
1145
- type EbookFinalizeUploadOutput = z.infer<typeof ebookFinalizeUploadOutputSchema>;
1146
- declare const ebookGetDownloadUrlInputSchema: z.ZodObject<{
1145
+ export type EbookFinalizeUploadOutput = z.infer<typeof ebookFinalizeUploadOutputSchema>;
1146
+ export declare const ebookGetDownloadUrlInputSchema: z.ZodObject<{
1147
1147
  id: z.ZodUUID;
1148
1148
  }, z.core.$strict>;
1149
- type EbookGetDownloadUrlInput = z.infer<typeof ebookGetDownloadUrlInputSchema>;
1150
- declare const ebookGetDownloadUrlOutputSchema: z.ZodObject<{
1149
+ export type EbookGetDownloadUrlInput = z.infer<typeof ebookGetDownloadUrlInputSchema>;
1150
+ export declare const ebookGetDownloadUrlOutputSchema: z.ZodObject<{
1151
1151
  url: z.ZodURL;
1152
1152
  expiresAt: z.ZodCoercedDate<unknown>;
1153
1153
  }, z.core.$strict>;
1154
- type EbookGetDownloadUrlOutput = z.infer<typeof ebookGetDownloadUrlOutputSchema>;
1155
- declare const ebookUpdateProgressDataSchema: z.ZodObject<{
1154
+ export type EbookGetDownloadUrlOutput = z.infer<typeof ebookGetDownloadUrlOutputSchema>;
1155
+ export declare const ebookUpdateProgressDataSchema: z.ZodObject<{
1156
1156
  cfi: z.ZodString;
1157
1157
  fraction: z.ZodNumber;
1158
1158
  }, z.core.$strict>;
1159
- type EbookUpdateProgressData = z.infer<typeof ebookUpdateProgressDataSchema>;
1160
- declare const ebookUpdateProgressInputSchema: z.ZodObject<{
1159
+ export type EbookUpdateProgressData = z.infer<typeof ebookUpdateProgressDataSchema>;
1160
+ export declare const ebookUpdateProgressInputSchema: z.ZodObject<{
1161
1161
  cfi: z.ZodString;
1162
1162
  fraction: z.ZodNumber;
1163
1163
  id: z.ZodUUID;
1164
1164
  }, z.core.$strict>;
1165
- type EbookUpdateProgressInput = z.infer<typeof ebookUpdateProgressInputSchema>;
1166
- declare const ebookUpdateProgressOutputSchema: z.ZodObject<{
1165
+ export type EbookUpdateProgressInput = z.infer<typeof ebookUpdateProgressInputSchema>;
1166
+ export declare const ebookUpdateProgressOutputSchema: z.ZodObject<{
1167
1167
  lastReadAt: z.ZodCoercedDate<unknown>;
1168
1168
  }, z.core.$strict>;
1169
- type EbookUpdateProgressOutput = z.infer<typeof ebookUpdateProgressOutputSchema>;
1170
- declare const ebookRenameDataSchema: z.ZodObject<{
1169
+ export type EbookUpdateProgressOutput = z.infer<typeof ebookUpdateProgressOutputSchema>;
1170
+ export declare const ebookRenameDataSchema: z.ZodObject<{
1171
1171
  title: z.ZodString;
1172
1172
  author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
1173
  }, z.core.$strict>;
1174
- type EbookRenameData = z.infer<typeof ebookRenameDataSchema>;
1175
- declare const ebookRenameInputSchema: z.ZodObject<{
1174
+ export type EbookRenameData = z.infer<typeof ebookRenameDataSchema>;
1175
+ export declare const ebookRenameInputSchema: z.ZodObject<{
1176
1176
  title: z.ZodString;
1177
1177
  author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1178
1178
  id: z.ZodUUID;
1179
1179
  }, z.core.$strict>;
1180
- type EbookRenameInput = z.infer<typeof ebookRenameInputSchema>;
1181
- declare const ebookRenameOutputSchema: z.ZodObject<{
1180
+ export type EbookRenameInput = z.infer<typeof ebookRenameInputSchema>;
1181
+ export declare const ebookRenameOutputSchema: z.ZodObject<{
1182
1182
  ebook: z.ZodObject<{
1183
1183
  id: z.ZodUUID;
1184
1184
  title: z.ZodString;
@@ -1196,22 +1196,22 @@ declare const ebookRenameOutputSchema: z.ZodObject<{
1196
1196
  updatedAt: z.ZodCoercedDate<unknown>;
1197
1197
  }, z.core.$strict>;
1198
1198
  }, z.core.$strict>;
1199
- type EbookRenameOutput = z.infer<typeof ebookRenameOutputSchema>;
1200
- declare const ebookDeleteInputSchema: z.ZodObject<{
1199
+ export type EbookRenameOutput = z.infer<typeof ebookRenameOutputSchema>;
1200
+ export declare const ebookDeleteInputSchema: z.ZodObject<{
1201
1201
  id: z.ZodUUID;
1202
1202
  }, z.core.$strict>;
1203
- type EbookDeleteInput = z.infer<typeof ebookDeleteInputSchema>;
1204
- declare const ebookDeleteOutputSchema: z.ZodObject<{
1203
+ export type EbookDeleteInput = z.infer<typeof ebookDeleteInputSchema>;
1204
+ export declare const ebookDeleteOutputSchema: z.ZodObject<{
1205
1205
  id: z.ZodUUID;
1206
1206
  }, z.core.$strict>;
1207
- type EbookDeleteOutput = z.infer<typeof ebookDeleteOutputSchema>;
1207
+ export type EbookDeleteOutput = z.infer<typeof ebookDeleteOutputSchema>;
1208
1208
  //#endregion
1209
1209
  //#region src/schemas/hosted-ai.d.ts
1210
- declare const HostedAiOutputFieldTypeSchema: z.ZodEnum<{
1210
+ export declare const HostedAiOutputFieldTypeSchema: z.ZodEnum<{
1211
1211
  number: "number";
1212
1212
  string: "string";
1213
1213
  }>;
1214
- declare const HostedAiOutputFieldSchema: z.ZodObject<{
1214
+ export declare const HostedAiOutputFieldSchema: z.ZodObject<{
1215
1215
  name: z.ZodString;
1216
1216
  type: z.ZodEnum<{
1217
1217
  number: "number";
@@ -1223,7 +1223,7 @@ declare const HostedAiOutputFieldSchema: z.ZodObject<{
1223
1223
  * plan: which plans may reach which tier is policy (see `access-policy.ts`),
1224
1224
  * not identity, so a future plan can be sold with any tier without a rename.
1225
1225
  */
1226
- declare const HostedAiModelTierSchema: z.ZodEnum<{
1226
+ export declare const HostedAiModelTierSchema: z.ZodEnum<{
1227
1227
  advance: "advance";
1228
1228
  normal: "normal";
1229
1229
  }>;
@@ -1235,7 +1235,7 @@ declare const HostedAiModelTierSchema: z.ZodEnum<{
1235
1235
  * Appended last on purpose: the db pgEnum mirrors this order, and appending
1236
1236
  * keeps drizzle from emitting the ADD VALUE ... BEFORE variant.
1237
1237
  */
1238
- declare const HostedAiFeatureSchema: z.ZodEnum<{
1238
+ export declare const HostedAiFeatureSchema: z.ZodEnum<{
1239
1239
  customAction: "customAction";
1240
1240
  inputTranslation: "inputTranslation";
1241
1241
  languageDetection: "languageDetection";
@@ -1244,8 +1244,8 @@ declare const HostedAiFeatureSchema: z.ZodEnum<{
1244
1244
  selectionTranslation: "selectionTranslation";
1245
1245
  videoSubtitles: "videoSubtitles";
1246
1246
  }>;
1247
- declare const HostedAiRequestIdSchema: z.ZodUUID;
1248
- declare const HostedAiStreamTextInputSchema: z.ZodObject<{
1247
+ export declare const HostedAiRequestIdSchema: z.ZodUUID;
1248
+ export declare const HostedAiStreamTextInputSchema: z.ZodObject<{
1249
1249
  modelTier: z.ZodDefault<z.ZodEnum<{
1250
1250
  advance: "advance";
1251
1251
  normal: "normal";
@@ -1255,7 +1255,7 @@ declare const HostedAiStreamTextInputSchema: z.ZodObject<{
1255
1255
  prompt: z.ZodString;
1256
1256
  temperature: z.ZodOptional<z.ZodNumber>;
1257
1257
  }, z.core.$strict>;
1258
- declare const HostedAiStreamStructuredObjectInputSchema: z.ZodObject<{
1258
+ export declare const HostedAiStreamStructuredObjectInputSchema: z.ZodObject<{
1259
1259
  modelTier: z.ZodDefault<z.ZodEnum<{
1260
1260
  advance: "advance";
1261
1261
  normal: "normal";
@@ -1272,9 +1272,9 @@ declare const HostedAiStreamStructuredObjectInputSchema: z.ZodObject<{
1272
1272
  }, z.core.$strict>>;
1273
1273
  temperature: z.ZodOptional<z.ZodNumber>;
1274
1274
  }, z.core.$strict>;
1275
- declare const HOSTED_AI_NOTE_SUGGESTION_MAX_NOTES = 2;
1276
- declare const HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS = 16;
1277
- declare const HostedAiNoteSuggestionStreamInputSchema: z.ZodObject<{
1275
+ export declare const HOSTED_AI_NOTE_SUGGESTION_MAX_NOTES = 2;
1276
+ export declare const HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS = 16;
1277
+ export declare const HostedAiNoteSuggestionStreamInputSchema: z.ZodObject<{
1278
1278
  modelTier: z.ZodDefault<z.ZodEnum<{
1279
1279
  advance: "advance";
1280
1280
  normal: "normal";
@@ -1292,7 +1292,7 @@ declare const HostedAiNoteSuggestionStreamInputSchema: z.ZodObject<{
1292
1292
  * `.max()` calls from the model-facing copy only — clients still validate
1293
1293
  * against this schema.
1294
1294
  */
1295
- declare const HostedAiNoteSuggestionObjectSchema: z.ZodObject<{
1295
+ export declare const HostedAiNoteSuggestionObjectSchema: z.ZodObject<{
1296
1296
  action: z.ZodObject<{
1297
1297
  createNewDictionaryAction: z.ZodBoolean;
1298
1298
  targetActionId: z.ZodNullable<z.ZodString>;
@@ -1305,7 +1305,7 @@ declare const HostedAiNoteSuggestionObjectSchema: z.ZodObject<{
1305
1305
  }, z.core.$strict>>;
1306
1306
  }, z.core.$strict>>;
1307
1307
  }, z.core.$strict>;
1308
- declare const HostedAiStreamPartSchema: z.ZodObject<{
1308
+ export declare const HostedAiStreamPartSchema: z.ZodObject<{
1309
1309
  type: z.ZodString;
1310
1310
  }, z.core.$loose>;
1311
1311
  /**
@@ -1319,31 +1319,31 @@ declare const HostedAiStreamPartSchema: z.ZodObject<{
1319
1319
  * breaks rendering. `error` is absent on purpose: it is converted into a thrown
1320
1320
  * error before it can be yielded.
1321
1321
  */
1322
- declare const HOSTED_AI_CLIENT_STREAM_PART_TYPES: readonly ["text-delta", "reasoning-start", "reasoning-delta", "reasoning-end", "reasoning-file", "finish"];
1322
+ export declare const HOSTED_AI_CLIENT_STREAM_PART_TYPES: readonly ["text-delta", "reasoning-start", "reasoning-delta", "reasoning-end", "reasoning-file", "finish"];
1323
1323
  /**
1324
1324
  * Status is per-identity, not per-feature: one call reports every feature and
1325
1325
  * every pool, so a client caches a single response instead of one per feature.
1326
1326
  * Non-strict so a client still sending the retired `feature` argument gets a
1327
1327
  * useful response rather than a validation error.
1328
1328
  */
1329
- declare const HostedAiStatusInputSchema: z.ZodObject<{}, z.core.$strip>;
1330
- declare const HostedAiUnavailableReasonSchema: z.ZodEnum<{
1329
+ export declare const HostedAiStatusInputSchema: z.ZodObject<{}, z.core.$strip>;
1330
+ export declare const HostedAiUnavailableReasonSchema: z.ZodEnum<{
1331
1331
  authentication_required: "authentication_required";
1332
1332
  quota_exhausted: "quota_exhausted";
1333
1333
  service_unavailable: "service_unavailable";
1334
1334
  ultra_required: "ultra_required";
1335
1335
  }>;
1336
- declare const HostedAiCreditPolicyIdSchema: z.ZodEnum<{
1336
+ export declare const HostedAiCreditPolicyIdSchema: z.ZodEnum<{
1337
1337
  "custom-action-guest-daily-v1": "custom-action-guest-daily-v1";
1338
1338
  "custom-action-pro-daily-v1": "custom-action-pro-daily-v1";
1339
1339
  "custom-action-user-daily-v1": "custom-action-user-daily-v1";
1340
1340
  "ultra-weekly-v1": "ultra-weekly-v1";
1341
1341
  }>;
1342
- declare const HostedAiCreditPeriodKindSchema: z.ZodEnum<{
1342
+ export declare const HostedAiCreditPeriodKindSchema: z.ZodEnum<{
1343
1343
  daily: "daily";
1344
1344
  weekly: "weekly";
1345
1345
  }>;
1346
- declare const HostedAiQuotaScopeSchema: z.ZodEnum<{
1346
+ export declare const HostedAiQuotaScopeSchema: z.ZodEnum<{
1347
1347
  guest: "guest";
1348
1348
  user: "user";
1349
1349
  }>;
@@ -1360,7 +1360,7 @@ declare const HostedAiQuotaScopeSchema: z.ZodEnum<{
1360
1360
  * prompt). Unknown keys are stripped; the required fields keep drift
1361
1361
  * protection.
1362
1362
  */
1363
- declare const HostedAiRateLimitErrorDataSchema: z.ZodObject<{
1363
+ export declare const HostedAiRateLimitErrorDataSchema: z.ZodObject<{
1364
1364
  retryAfterMs: z.ZodNumber;
1365
1365
  quotaScope: z.ZodEnum<{
1366
1366
  guest: "guest";
@@ -1374,7 +1374,7 @@ declare const HostedAiRateLimitErrorDataSchema: z.ZodObject<{
1374
1374
  * counts settled spend only: including in-flight reservations would make the
1375
1375
  * bar jump forward and then back as each stream settles.
1376
1376
  */
1377
- declare const HostedAiCreditStatusSchema: z.ZodObject<{
1377
+ export declare const HostedAiCreditStatusSchema: z.ZodObject<{
1378
1378
  periodKind: z.ZodEnum<{
1379
1379
  daily: "daily";
1380
1380
  weekly: "weekly";
@@ -1391,7 +1391,7 @@ declare const HostedAiCreditStatusSchema: z.ZodObject<{
1391
1391
  videoSubtitles: "videoSubtitles";
1392
1392
  }>>;
1393
1393
  }, z.core.$strict>;
1394
- declare const HostedAiTierStatusSchema: z.ZodObject<{
1394
+ export declare const HostedAiTierStatusSchema: z.ZodObject<{
1395
1395
  accessAllowed: z.ZodBoolean;
1396
1396
  available: z.ZodBoolean;
1397
1397
  unavailableReason: z.ZodNullable<z.ZodEnum<{
@@ -1403,7 +1403,7 @@ declare const HostedAiTierStatusSchema: z.ZodObject<{
1403
1403
  requiresUltra: z.ZodBoolean;
1404
1404
  modelRevision: z.ZodString;
1405
1405
  }, z.core.$strict>;
1406
- declare const HostedAiFeatureStatusSchema: z.ZodObject<{
1406
+ export declare const HostedAiFeatureStatusSchema: z.ZodObject<{
1407
1407
  normal: z.ZodObject<{
1408
1408
  accessAllowed: z.ZodBoolean;
1409
1409
  available: z.ZodBoolean;
@@ -1429,7 +1429,7 @@ declare const HostedAiFeatureStatusSchema: z.ZodObject<{
1429
1429
  modelRevision: z.ZodString;
1430
1430
  }, z.core.$strict>;
1431
1431
  }, z.core.$strict>;
1432
- declare const HostedAiStatusOutputSchema: z.ZodObject<{
1432
+ export declare const HostedAiStatusOutputSchema: z.ZodObject<{
1433
1433
  credits: z.ZodArray<z.ZodObject<{
1434
1434
  periodKind: z.ZodEnum<{
1435
1435
  daily: "daily";
@@ -1632,28 +1632,28 @@ declare const HostedAiStatusOutputSchema: z.ZodObject<{
1632
1632
  }, z.core.$strict>;
1633
1633
  }, z.core.$strict>;
1634
1634
  }, z.core.$strict>;
1635
- type HostedAiOutputFieldType = z.infer<typeof HostedAiOutputFieldTypeSchema>;
1636
- type HostedAiOutputField = z.infer<typeof HostedAiOutputFieldSchema>;
1637
- type HostedAiModelTier = z.infer<typeof HostedAiModelTierSchema>;
1638
- type HostedAiFeature = z.infer<typeof HostedAiFeatureSchema>;
1639
- type HostedAiStreamTextInput = z.infer<typeof HostedAiStreamTextInputSchema>;
1640
- type HostedAiStreamStructuredObjectInput = z.infer<typeof HostedAiStreamStructuredObjectInputSchema>;
1641
- type HostedAiNoteSuggestionStreamInput = z.infer<typeof HostedAiNoteSuggestionStreamInputSchema>;
1642
- type HostedAiNoteSuggestionObject = z.infer<typeof HostedAiNoteSuggestionObjectSchema>;
1643
- type HostedAiStreamPart = z.infer<typeof HostedAiStreamPartSchema>;
1644
- type HostedAiStatusInput = z.infer<typeof HostedAiStatusInputSchema>;
1645
- type HostedAiUnavailableReason = z.infer<typeof HostedAiUnavailableReasonSchema>;
1646
- type HostedAiCreditPolicyId = z.infer<typeof HostedAiCreditPolicyIdSchema>;
1647
- type HostedAiCreditPeriodKind = z.infer<typeof HostedAiCreditPeriodKindSchema>;
1648
- type HostedAiQuotaScope = z.infer<typeof HostedAiQuotaScopeSchema>;
1649
- type HostedAiRateLimitErrorData = z.infer<typeof HostedAiRateLimitErrorDataSchema>;
1650
- type HostedAiCreditStatus = z.infer<typeof HostedAiCreditStatusSchema>;
1651
- type HostedAiTierStatus = z.infer<typeof HostedAiTierStatusSchema>;
1652
- type HostedAiFeatureStatus = z.infer<typeof HostedAiFeatureStatusSchema>;
1653
- type HostedAiStatusOutput = z.infer<typeof HostedAiStatusOutputSchema>;
1635
+ export type HostedAiOutputFieldType = z.infer<typeof HostedAiOutputFieldTypeSchema>;
1636
+ export type HostedAiOutputField = z.infer<typeof HostedAiOutputFieldSchema>;
1637
+ export type HostedAiModelTier = z.infer<typeof HostedAiModelTierSchema>;
1638
+ export type HostedAiFeature = z.infer<typeof HostedAiFeatureSchema>;
1639
+ export type HostedAiStreamTextInput = z.infer<typeof HostedAiStreamTextInputSchema>;
1640
+ export type HostedAiStreamStructuredObjectInput = z.infer<typeof HostedAiStreamStructuredObjectInputSchema>;
1641
+ export type HostedAiNoteSuggestionStreamInput = z.infer<typeof HostedAiNoteSuggestionStreamInputSchema>;
1642
+ export type HostedAiNoteSuggestionObject = z.infer<typeof HostedAiNoteSuggestionObjectSchema>;
1643
+ export type HostedAiStreamPart = z.infer<typeof HostedAiStreamPartSchema>;
1644
+ export type HostedAiStatusInput = z.infer<typeof HostedAiStatusInputSchema>;
1645
+ export type HostedAiUnavailableReason = z.infer<typeof HostedAiUnavailableReasonSchema>;
1646
+ export type HostedAiCreditPolicyId = z.infer<typeof HostedAiCreditPolicyIdSchema>;
1647
+ export type HostedAiCreditPeriodKind = z.infer<typeof HostedAiCreditPeriodKindSchema>;
1648
+ export type HostedAiQuotaScope = z.infer<typeof HostedAiQuotaScopeSchema>;
1649
+ export type HostedAiRateLimitErrorData = z.infer<typeof HostedAiRateLimitErrorDataSchema>;
1650
+ export type HostedAiCreditStatus = z.infer<typeof HostedAiCreditStatusSchema>;
1651
+ export type HostedAiTierStatus = z.infer<typeof HostedAiTierStatusSchema>;
1652
+ export type HostedAiFeatureStatus = z.infer<typeof HostedAiFeatureStatusSchema>;
1653
+ export type HostedAiStatusOutput = z.infer<typeof HostedAiStatusOutputSchema>;
1654
1654
  //#endregion
1655
1655
  //#region src/schemas/mcp-connection.d.ts
1656
- declare const mcpConnectionSchema: z.ZodObject<{
1656
+ export declare const mcpConnectionSchema: z.ZodObject<{
1657
1657
  clientId: z.ZodString;
1658
1658
  clientName: z.ZodNullable<z.ZodString>;
1659
1659
  scopes: z.ZodArray<z.ZodString>;
@@ -1662,8 +1662,8 @@ declare const mcpConnectionSchema: z.ZodObject<{
1662
1662
  updatedAt: z.ZodNullable<z.ZodDate>;
1663
1663
  lastAuthorizedAt: z.ZodNullable<z.ZodDate>;
1664
1664
  }, z.core.$strict>;
1665
- type McpConnection = z.infer<typeof mcpConnectionSchema>;
1666
- declare const mcpConnectionListOutputSchema: z.ZodArray<z.ZodObject<{
1665
+ export type McpConnection = z.infer<typeof mcpConnectionSchema>;
1666
+ export declare const mcpConnectionListOutputSchema: z.ZodArray<z.ZodObject<{
1667
1667
  clientId: z.ZodString;
1668
1668
  clientName: z.ZodNullable<z.ZodString>;
1669
1669
  scopes: z.ZodArray<z.ZodString>;
@@ -1672,33 +1672,33 @@ declare const mcpConnectionListOutputSchema: z.ZodArray<z.ZodObject<{
1672
1672
  updatedAt: z.ZodNullable<z.ZodDate>;
1673
1673
  lastAuthorizedAt: z.ZodNullable<z.ZodDate>;
1674
1674
  }, z.core.$strict>>;
1675
- declare const mcpConnectionRevokeInputSchema: z.ZodObject<{
1675
+ export declare const mcpConnectionRevokeInputSchema: z.ZodObject<{
1676
1676
  clientId: z.ZodString;
1677
1677
  }, z.core.$strict>;
1678
- type McpConnectionRevokeInput = z.infer<typeof mcpConnectionRevokeInputSchema>;
1679
- declare const mcpConnectionRevokeOutputSchema: z.ZodObject<{
1678
+ export type McpConnectionRevokeInput = z.infer<typeof mcpConnectionRevokeInputSchema>;
1679
+ export declare const mcpConnectionRevokeOutputSchema: z.ZodObject<{
1680
1680
  clientId: z.ZodString;
1681
1681
  }, z.core.$strict>;
1682
1682
  //#endregion
1683
1683
  //#region src/schemas/notebase.d.ts
1684
- declare const NotebaseListInputSchema: z.ZodObject<{}, z.core.$strip>;
1685
- type NotebaseListInput = z.infer<typeof NotebaseListInputSchema>;
1686
- declare const notebaseSummarySchema: z.ZodObject<{
1684
+ export declare const NotebaseListInputSchema: z.ZodObject<{}, z.core.$strip>;
1685
+ export type NotebaseListInput = z.infer<typeof NotebaseListInputSchema>;
1686
+ export declare const notebaseSummarySchema: z.ZodObject<{
1687
1687
  id: z.ZodString;
1688
1688
  name: z.ZodString;
1689
1689
  }, z.core.$strip>;
1690
- type NotebaseSummary = z.infer<typeof notebaseSummarySchema>;
1691
- declare const NotebaseListItemSchema: z.ZodObject<{
1690
+ export type NotebaseSummary = z.infer<typeof notebaseSummarySchema>;
1691
+ export declare const NotebaseListItemSchema: z.ZodObject<{
1692
1692
  id: z.ZodString;
1693
1693
  name: z.ZodString;
1694
1694
  }, z.core.$strip>;
1695
- type NotebaseListItem = z.infer<typeof NotebaseListItemSchema>;
1696
- declare const NotebaseListOutputSchema: z.ZodArray<z.ZodObject<{
1695
+ export type NotebaseListItem = z.infer<typeof NotebaseListItemSchema>;
1696
+ export declare const NotebaseListOutputSchema: z.ZodArray<z.ZodObject<{
1697
1697
  id: z.ZodString;
1698
1698
  name: z.ZodString;
1699
1699
  }, z.core.$strip>>;
1700
- type NotebaseListOutput = z.infer<typeof NotebaseListOutputSchema>;
1701
- declare const notebaseSchema: z.ZodObject<{
1700
+ export type NotebaseListOutput = z.infer<typeof NotebaseListOutputSchema>;
1701
+ export declare const notebaseSchema: z.ZodObject<{
1702
1702
  id: z.ZodString;
1703
1703
  userId: z.ZodString;
1704
1704
  name: z.ZodString;
@@ -1715,8 +1715,8 @@ declare const notebaseSchema: z.ZodObject<{
1715
1715
  createdAt: z.ZodDate;
1716
1716
  updatedAt: z.ZodDate;
1717
1717
  }, z.core.$strip>;
1718
- type Notebase = z.infer<typeof notebaseSchema>;
1719
- declare const notebaseCreateDataSchema: z.ZodObject<{
1718
+ export type Notebase = z.infer<typeof notebaseSchema>;
1719
+ export declare const notebaseCreateDataSchema: z.ZodObject<{
1720
1720
  id: z.ZodOptional<z.ZodUUID>;
1721
1721
  name: z.ZodString;
1722
1722
  options: z.ZodOptional<z.ZodObject<{
@@ -1757,8 +1757,8 @@ declare const notebaseCreateDataSchema: z.ZodObject<{
1757
1757
  }, z.core.$strict>>>;
1758
1758
  }, z.core.$strict>>;
1759
1759
  }, z.core.$strict>;
1760
- type NotebaseCreateData = z.infer<typeof notebaseCreateDataSchema>;
1761
- declare const NotebaseCreateInputSchema: z.ZodObject<{
1760
+ export type NotebaseCreateData = z.infer<typeof notebaseCreateDataSchema>;
1761
+ export declare const NotebaseCreateInputSchema: z.ZodObject<{
1762
1762
  id: z.ZodOptional<z.ZodUUID>;
1763
1763
  name: z.ZodString;
1764
1764
  options: z.ZodOptional<z.ZodObject<{
@@ -1799,8 +1799,8 @@ declare const NotebaseCreateInputSchema: z.ZodObject<{
1799
1799
  }, z.core.$strict>>>;
1800
1800
  }, z.core.$strict>>;
1801
1801
  }, z.core.$strict>;
1802
- type NotebaseCreateInput = z.infer<typeof NotebaseCreateInputSchema>;
1803
- declare const NotebaseCreateOutputSchema: z.ZodObject<{
1802
+ export type NotebaseCreateInput = z.infer<typeof NotebaseCreateInputSchema>;
1803
+ export declare const NotebaseCreateOutputSchema: z.ZodObject<{
1804
1804
  notebase: z.ZodObject<{
1805
1805
  id: z.ZodString;
1806
1806
  userId: z.ZodString;
@@ -1820,23 +1820,23 @@ declare const NotebaseCreateOutputSchema: z.ZodObject<{
1820
1820
  }, z.core.$strip>;
1821
1821
  txid: z.ZodNumber;
1822
1822
  }, z.core.$strip>;
1823
- type NotebaseCreateOutput = z.infer<typeof NotebaseCreateOutputSchema>;
1824
- declare const notebaseUpdateDataSchema: z.ZodObject<{
1823
+ export type NotebaseCreateOutput = z.infer<typeof NotebaseCreateOutputSchema>;
1824
+ export declare const notebaseUpdateDataSchema: z.ZodObject<{
1825
1825
  name: z.ZodOptional<z.ZodString>;
1826
1826
  srsNewPerDay: z.ZodOptional<z.ZodNumber>;
1827
1827
  srsReviewsPerDay: z.ZodOptional<z.ZodNumber>;
1828
1828
  srsDesiredRetention: z.ZodOptional<z.ZodNumber>;
1829
1829
  }, z.core.$strict>;
1830
- type NotebaseUpdateData = z.infer<typeof notebaseUpdateDataSchema>;
1831
- declare const NotebaseUpdateInputSchema: z.ZodObject<{
1830
+ export type NotebaseUpdateData = z.infer<typeof notebaseUpdateDataSchema>;
1831
+ export declare const NotebaseUpdateInputSchema: z.ZodObject<{
1832
1832
  name: z.ZodOptional<z.ZodString>;
1833
1833
  srsNewPerDay: z.ZodOptional<z.ZodNumber>;
1834
1834
  srsReviewsPerDay: z.ZodOptional<z.ZodNumber>;
1835
1835
  srsDesiredRetention: z.ZodOptional<z.ZodNumber>;
1836
1836
  id: z.ZodUUID;
1837
1837
  }, z.core.$strict>;
1838
- type NotebaseUpdateInput = z.infer<typeof NotebaseUpdateInputSchema>;
1839
- declare const NotebaseUpdateOutputSchema: z.ZodObject<{
1838
+ export type NotebaseUpdateInput = z.infer<typeof NotebaseUpdateInputSchema>;
1839
+ export declare const NotebaseUpdateOutputSchema: z.ZodObject<{
1840
1840
  notebase: z.ZodObject<{
1841
1841
  id: z.ZodString;
1842
1842
  userId: z.ZodString;
@@ -1856,37 +1856,38 @@ declare const NotebaseUpdateOutputSchema: z.ZodObject<{
1856
1856
  }, z.core.$strip>;
1857
1857
  txid: z.ZodNumber;
1858
1858
  }, z.core.$strip>;
1859
- type NotebaseUpdateOutput = z.infer<typeof NotebaseUpdateOutputSchema>;
1860
- declare const NotebaseDeleteInputSchema: z.ZodObject<{
1859
+ export type NotebaseUpdateOutput = z.infer<typeof NotebaseUpdateOutputSchema>;
1860
+ export declare const NotebaseDeleteInputSchema: z.ZodObject<{
1861
1861
  id: z.ZodUUID;
1862
1862
  }, z.core.$strip>;
1863
- type NotebaseDeleteInput = z.infer<typeof NotebaseDeleteInputSchema>;
1864
- declare const NotebaseDeleteOutputSchema: z.ZodObject<{
1863
+ export type NotebaseDeleteInput = z.infer<typeof NotebaseDeleteInputSchema>;
1864
+ export declare const NotebaseDeleteOutputSchema: z.ZodObject<{
1865
1865
  id: z.ZodUUID;
1866
1866
  txid: z.ZodNumber;
1867
1867
  }, z.core.$strip>;
1868
- type NotebaseDeleteOutput = z.infer<typeof NotebaseDeleteOutputSchema>;
1869
- declare const NotebaseGetInputSchema: z.ZodObject<{
1868
+ export type NotebaseDeleteOutput = z.infer<typeof NotebaseDeleteOutputSchema>;
1869
+ export declare const NotebaseGetInputSchema: z.ZodObject<{
1870
1870
  id: z.ZodUUID;
1871
1871
  }, z.core.$strip>;
1872
- type NotebaseGetInput = z.infer<typeof NotebaseGetInputSchema>;
1873
- declare const NotebaseGetSummaryInputSchema: z.ZodObject<{
1872
+ export type NotebaseGetInput = z.infer<typeof NotebaseGetInputSchema>;
1873
+ export declare const NotebaseGetSummaryInputSchema: z.ZodObject<{
1874
1874
  id: z.ZodUUID;
1875
1875
  }, z.core.$strip>;
1876
- type NotebaseGetSummaryInput = z.infer<typeof NotebaseGetSummaryInputSchema>;
1877
- declare const NotebaseGetSummaryOutputSchema: z.ZodObject<{
1876
+ export type NotebaseGetSummaryInput = z.infer<typeof NotebaseGetSummaryInputSchema>;
1877
+ export declare const NotebaseGetSummaryOutputSchema: z.ZodObject<{
1878
1878
  id: z.ZodString;
1879
1879
  name: z.ZodString;
1880
1880
  srsNewPerDay: z.ZodNumber;
1881
1881
  srsReviewsPerDay: z.ZodNumber;
1882
1882
  srsDesiredRetention: z.ZodNumber;
1883
+ noteCount: z.ZodNumber;
1883
1884
  }, z.core.$strip>;
1884
- type NotebaseGetSummaryOutput = z.infer<typeof NotebaseGetSummaryOutputSchema>;
1885
- declare const NotebaseGetSchemaInputSchema: z.ZodObject<{
1885
+ export type NotebaseGetSummaryOutput = z.infer<typeof NotebaseGetSummaryOutputSchema>;
1886
+ export declare const NotebaseGetSchemaInputSchema: z.ZodObject<{
1886
1887
  id: z.ZodUUID;
1887
1888
  }, z.core.$strip>;
1888
- type NotebaseGetSchemaInput = z.infer<typeof NotebaseGetSchemaInputSchema>;
1889
- declare const NotebaseGetOutputSchema: z.ZodObject<{
1889
+ export type NotebaseGetSchemaInput = z.infer<typeof NotebaseGetSchemaInputSchema>;
1890
+ export declare const NotebaseGetOutputSchema: z.ZodObject<{
1890
1891
  id: z.ZodString;
1891
1892
  userId: z.ZodString;
1892
1893
  name: z.ZodString;
@@ -1965,8 +1966,8 @@ declare const NotebaseGetOutputSchema: z.ZodObject<{
1965
1966
  updatedAt: z.ZodCoercedDate<unknown>;
1966
1967
  }, z.core.$strip>>;
1967
1968
  }, z.core.$strip>;
1968
- type NotebaseGetOutput = z.infer<typeof NotebaseGetOutputSchema>;
1969
- declare const NotebaseGetSchemaOutputSchema: z.ZodObject<{
1969
+ export type NotebaseGetOutput = z.infer<typeof NotebaseGetOutputSchema>;
1970
+ export declare const NotebaseGetSchemaOutputSchema: z.ZodObject<{
1970
1971
  id: z.ZodString;
1971
1972
  name: z.ZodString;
1972
1973
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -2005,11 +2006,11 @@ declare const NotebaseGetSchemaOutputSchema: z.ZodObject<{
2005
2006
  updatedAt: z.ZodCoercedDate<unknown>;
2006
2007
  }, z.core.$strip>>;
2007
2008
  }, z.core.$strip>;
2008
- type NotebaseGetSchemaOutput = z.infer<typeof NotebaseGetSchemaOutputSchema>;
2009
+ export type NotebaseGetSchemaOutput = z.infer<typeof NotebaseGetSchemaOutputSchema>;
2009
2010
  //#endregion
2010
2011
  //#region src/schemas/notebase-column.d.ts
2011
- declare const notebaseColumnWidthSchema: z.ZodNumber;
2012
- declare const notebaseColumnSchema: z.ZodObject<{
2012
+ export declare const notebaseColumnWidthSchema: z.ZodNumber;
2013
+ export declare const notebaseColumnSchema: z.ZodObject<{
2013
2014
  id: z.ZodString;
2014
2015
  notebaseId: z.ZodString;
2015
2016
  name: z.ZodString;
@@ -2043,8 +2044,8 @@ declare const notebaseColumnSchema: z.ZodObject<{
2043
2044
  createdAt: z.ZodCoercedDate<unknown>;
2044
2045
  updatedAt: z.ZodCoercedDate<unknown>;
2045
2046
  }, z.core.$strip>;
2046
- type NotebaseColumn = z.infer<typeof notebaseColumnSchema>;
2047
- declare const notebaseColumnCreateDataSchema: z.ZodObject<{
2047
+ export type NotebaseColumn = z.infer<typeof notebaseColumnSchema>;
2048
+ export declare const notebaseColumnCreateDataSchema: z.ZodObject<{
2048
2049
  id: z.ZodOptional<z.ZodUUID>;
2049
2050
  name: z.ZodString;
2050
2051
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2071,8 +2072,8 @@ declare const notebaseColumnCreateDataSchema: z.ZodObject<{
2071
2072
  }, z.core.$strip>>>;
2072
2073
  }, z.core.$strip>], "type">;
2073
2074
  }, z.core.$strict>;
2074
- type NotebaseColumnCreateData = z.infer<typeof notebaseColumnCreateDataSchema>;
2075
- declare const notebaseColumnUpdateDataSchema: z.ZodObject<{
2075
+ export type NotebaseColumnCreateData = z.infer<typeof notebaseColumnCreateDataSchema>;
2076
+ export declare const notebaseColumnUpdateDataSchema: z.ZodObject<{
2076
2077
  expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
2077
2078
  name: z.ZodOptional<z.ZodString>;
2078
2079
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2101,8 +2102,8 @@ declare const notebaseColumnUpdateDataSchema: z.ZodObject<{
2101
2102
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2102
2103
  wrap: z.ZodOptional<z.ZodBoolean>;
2103
2104
  }, z.core.$strict>;
2104
- type NotebaseColumnUpdateData = z.infer<typeof notebaseColumnUpdateDataSchema>;
2105
- declare const NotebaseColumnCreateInputSchema: z.ZodObject<{
2105
+ export type NotebaseColumnUpdateData = z.infer<typeof notebaseColumnUpdateDataSchema>;
2106
+ export declare const NotebaseColumnCreateInputSchema: z.ZodObject<{
2106
2107
  notebaseId: z.ZodUUID;
2107
2108
  data: z.ZodObject<{
2108
2109
  id: z.ZodOptional<z.ZodUUID>;
@@ -2132,8 +2133,8 @@ declare const NotebaseColumnCreateInputSchema: z.ZodObject<{
2132
2133
  }, z.core.$strip>], "type">;
2133
2134
  }, z.core.$strict>;
2134
2135
  }, z.core.$strip>;
2135
- type NotebaseColumnCreateInput = z.infer<typeof NotebaseColumnCreateInputSchema>;
2136
- declare const NotebaseColumnCreateOutputSchema: z.ZodObject<{
2136
+ export type NotebaseColumnCreateInput = z.infer<typeof NotebaseColumnCreateInputSchema>;
2137
+ export declare const NotebaseColumnCreateOutputSchema: z.ZodObject<{
2137
2138
  field: z.ZodObject<{
2138
2139
  id: z.ZodString;
2139
2140
  notebaseId: z.ZodString;
@@ -2170,8 +2171,8 @@ declare const NotebaseColumnCreateOutputSchema: z.ZodObject<{
2170
2171
  }, z.core.$strip>;
2171
2172
  txid: z.ZodNumber;
2172
2173
  }, z.core.$strip>;
2173
- type NotebaseColumnCreateOutput = z.infer<typeof NotebaseColumnCreateOutputSchema>;
2174
- declare const NotebaseColumnUpdateInputSchema: z.ZodObject<{
2174
+ export type NotebaseColumnCreateOutput = z.infer<typeof NotebaseColumnCreateOutputSchema>;
2175
+ export declare const NotebaseColumnUpdateInputSchema: z.ZodObject<{
2175
2176
  notebaseColumnId: z.ZodUUID;
2176
2177
  data: z.ZodObject<{
2177
2178
  expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
@@ -2203,8 +2204,8 @@ declare const NotebaseColumnUpdateInputSchema: z.ZodObject<{
2203
2204
  wrap: z.ZodOptional<z.ZodBoolean>;
2204
2205
  }, z.core.$strict>;
2205
2206
  }, z.core.$strip>;
2206
- type NotebaseColumnUpdateInput = z.infer<typeof NotebaseColumnUpdateInputSchema>;
2207
- declare const NotebaseColumnUpdateOutputSchema: z.ZodObject<{
2207
+ export type NotebaseColumnUpdateInput = z.infer<typeof NotebaseColumnUpdateInputSchema>;
2208
+ export declare const NotebaseColumnUpdateOutputSchema: z.ZodObject<{
2208
2209
  field: z.ZodObject<{
2209
2210
  id: z.ZodString;
2210
2211
  notebaseId: z.ZodString;
@@ -2241,29 +2242,29 @@ declare const NotebaseColumnUpdateOutputSchema: z.ZodObject<{
2241
2242
  }, z.core.$strip>;
2242
2243
  txid: z.ZodNumber;
2243
2244
  }, z.core.$strip>;
2244
- type NotebaseColumnUpdateOutput = z.infer<typeof NotebaseColumnUpdateOutputSchema>;
2245
- declare const NotebaseColumnDeleteInputSchema: z.ZodObject<{
2245
+ export type NotebaseColumnUpdateOutput = z.infer<typeof NotebaseColumnUpdateOutputSchema>;
2246
+ export declare const NotebaseColumnDeleteInputSchema: z.ZodObject<{
2246
2247
  notebaseColumnId: z.ZodUUID;
2247
2248
  }, z.core.$strip>;
2248
- type NotebaseColumnDeleteInput = z.infer<typeof NotebaseColumnDeleteInputSchema>;
2249
- declare const NotebaseColumnDeleteOutputSchema: z.ZodObject<{
2249
+ export type NotebaseColumnDeleteInput = z.infer<typeof NotebaseColumnDeleteInputSchema>;
2250
+ export declare const NotebaseColumnDeleteOutputSchema: z.ZodObject<{
2250
2251
  id: z.ZodUUID;
2251
2252
  txid: z.ZodNumber;
2252
2253
  }, z.core.$strip>;
2253
- type NotebaseColumnDeleteOutput = z.infer<typeof NotebaseColumnDeleteOutputSchema>;
2254
- declare const NotebaseColumnReorderInputSchema: z.ZodObject<{
2254
+ export type NotebaseColumnDeleteOutput = z.infer<typeof NotebaseColumnDeleteOutputSchema>;
2255
+ export declare const NotebaseColumnReorderInputSchema: z.ZodObject<{
2255
2256
  notebaseId: z.ZodUUID;
2256
2257
  ids: z.ZodArray<z.ZodUUID>;
2257
2258
  }, z.core.$strip>;
2258
- type NotebaseColumnReorderInput = z.infer<typeof NotebaseColumnReorderInputSchema>;
2259
- declare const NotebaseColumnReorderOutputSchema: z.ZodObject<{
2259
+ export type NotebaseColumnReorderInput = z.infer<typeof NotebaseColumnReorderInputSchema>;
2260
+ export declare const NotebaseColumnReorderOutputSchema: z.ZodObject<{
2260
2261
  txid: z.ZodNumber;
2261
2262
  }, z.core.$strip>;
2262
- type NotebaseColumnReorderOutput = z.infer<typeof NotebaseColumnReorderOutputSchema>;
2263
+ export type NotebaseColumnReorderOutput = z.infer<typeof NotebaseColumnReorderOutputSchema>;
2263
2264
  //#endregion
2264
2265
  //#region src/schemas/notebase-row.d.ts
2265
- declare const notebaseRowCellsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2266
- declare const notebaseRowSchema: z.ZodObject<{
2266
+ export declare const notebaseRowCellsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2267
+ export declare const notebaseRowSchema: z.ZodObject<{
2267
2268
  id: z.ZodString;
2268
2269
  notebaseId: z.ZodString;
2269
2270
  cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -2271,26 +2272,26 @@ declare const notebaseRowSchema: z.ZodObject<{
2271
2272
  createdAt: z.ZodCoercedDate<unknown>;
2272
2273
  updatedAt: z.ZodCoercedDate<unknown>;
2273
2274
  }, z.core.$strip>;
2274
- type NotebaseRow = z.infer<typeof notebaseRowSchema>;
2275
- declare const notebaseRowCreateDataSchema: z.ZodObject<{
2275
+ export type NotebaseRow = z.infer<typeof notebaseRowSchema>;
2276
+ export declare const notebaseRowCreateDataSchema: z.ZodObject<{
2276
2277
  id: z.ZodOptional<z.ZodUUID>;
2277
2278
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2278
2279
  }, z.core.$strict>;
2279
- type NotebaseRowCreateData = z.infer<typeof notebaseRowCreateDataSchema>;
2280
- declare const notebaseRowUpdateDataSchema: z.ZodObject<{
2280
+ export type NotebaseRowCreateData = z.infer<typeof notebaseRowCreateDataSchema>;
2281
+ export declare const notebaseRowUpdateDataSchema: z.ZodObject<{
2281
2282
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2282
2283
  expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
2283
2284
  }, z.core.$strict>;
2284
- type NotebaseRowUpdateData = z.infer<typeof notebaseRowUpdateDataSchema>;
2285
- declare const NotebaseRowCreateInputSchema: z.ZodObject<{
2285
+ export type NotebaseRowUpdateData = z.infer<typeof notebaseRowUpdateDataSchema>;
2286
+ export declare const NotebaseRowCreateInputSchema: z.ZodObject<{
2286
2287
  notebaseId: z.ZodUUID;
2287
2288
  data: z.ZodObject<{
2288
2289
  id: z.ZodOptional<z.ZodUUID>;
2289
2290
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2290
2291
  }, z.core.$strict>;
2291
2292
  }, z.core.$strip>;
2292
- type NotebaseRowCreateInput = z.infer<typeof NotebaseRowCreateInputSchema>;
2293
- declare const NotebaseRowCreateOutputSchema: z.ZodObject<{
2293
+ export type NotebaseRowCreateInput = z.infer<typeof NotebaseRowCreateInputSchema>;
2294
+ export declare const NotebaseRowCreateOutputSchema: z.ZodObject<{
2294
2295
  note: z.ZodObject<{
2295
2296
  id: z.ZodString;
2296
2297
  notebaseId: z.ZodString;
@@ -2301,17 +2302,17 @@ declare const NotebaseRowCreateOutputSchema: z.ZodObject<{
2301
2302
  }, z.core.$strip>;
2302
2303
  txid: z.ZodNumber;
2303
2304
  }, z.core.$strip>;
2304
- type NotebaseRowCreateOutput = z.infer<typeof NotebaseRowCreateOutputSchema>;
2305
- declare const NOTEBASE_ROW_CREATE_MANY_MAX_ROWS = 50;
2306
- declare const NotebaseRowCreateManyInputSchema: z.ZodObject<{
2305
+ export type NotebaseRowCreateOutput = z.infer<typeof NotebaseRowCreateOutputSchema>;
2306
+ export declare const NOTEBASE_ROW_CREATE_MANY_MAX_ROWS = 50;
2307
+ export declare const NotebaseRowCreateManyInputSchema: z.ZodObject<{
2307
2308
  notebaseId: z.ZodUUID;
2308
2309
  rows: z.ZodArray<z.ZodObject<{
2309
2310
  id: z.ZodOptional<z.ZodUUID>;
2310
2311
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2311
2312
  }, z.core.$strict>>;
2312
2313
  }, z.core.$strip>;
2313
- type NotebaseRowCreateManyInput = z.infer<typeof NotebaseRowCreateManyInputSchema>;
2314
- declare const NotebaseRowCreateManyOutputSchema: z.ZodObject<{
2314
+ export type NotebaseRowCreateManyInput = z.infer<typeof NotebaseRowCreateManyInputSchema>;
2315
+ export declare const NotebaseRowCreateManyOutputSchema: z.ZodObject<{
2315
2316
  items: z.ZodArray<z.ZodObject<{
2316
2317
  id: z.ZodString;
2317
2318
  notebaseId: z.ZodString;
@@ -2322,16 +2323,16 @@ declare const NotebaseRowCreateManyOutputSchema: z.ZodObject<{
2322
2323
  }, z.core.$strip>>;
2323
2324
  txid: z.ZodNumber;
2324
2325
  }, z.core.$strip>;
2325
- type NotebaseRowCreateManyOutput = z.infer<typeof NotebaseRowCreateManyOutputSchema>;
2326
- declare const NotebaseRowUpdateInputSchema: z.ZodObject<{
2326
+ export type NotebaseRowCreateManyOutput = z.infer<typeof NotebaseRowCreateManyOutputSchema>;
2327
+ export declare const NotebaseRowUpdateInputSchema: z.ZodObject<{
2327
2328
  notebaseRowId: z.ZodUUID;
2328
2329
  data: z.ZodObject<{
2329
2330
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2330
2331
  expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
2331
2332
  }, z.core.$strict>;
2332
2333
  }, z.core.$strip>;
2333
- type NotebaseRowUpdateInput = z.infer<typeof NotebaseRowUpdateInputSchema>;
2334
- declare const NotebaseRowUpdateOutputSchema: z.ZodObject<{
2334
+ export type NotebaseRowUpdateInput = z.infer<typeof NotebaseRowUpdateInputSchema>;
2335
+ export declare const NotebaseRowUpdateOutputSchema: z.ZodObject<{
2335
2336
  id: z.ZodUUID;
2336
2337
  notebaseId: z.ZodUUID;
2337
2338
  cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -2340,9 +2341,9 @@ declare const NotebaseRowUpdateOutputSchema: z.ZodObject<{
2340
2341
  updatedAt: z.ZodDate;
2341
2342
  txid: z.ZodNumber;
2342
2343
  }, z.core.$strip>;
2343
- type NotebaseRowUpdateOutput = z.infer<typeof NotebaseRowUpdateOutputSchema>;
2344
- declare const NOTEBASE_ROW_UPDATE_MANY_MAX_ROWS = 50;
2345
- declare const NotebaseRowUpdateManyInputSchema: z.ZodObject<{
2344
+ export type NotebaseRowUpdateOutput = z.infer<typeof NotebaseRowUpdateOutputSchema>;
2345
+ export declare const NOTEBASE_ROW_UPDATE_MANY_MAX_ROWS = 50;
2346
+ export declare const NotebaseRowUpdateManyInputSchema: z.ZodObject<{
2346
2347
  notebaseId: z.ZodUUID;
2347
2348
  rows: z.ZodArray<z.ZodObject<{
2348
2349
  id: z.ZodUUID;
@@ -2352,8 +2353,8 @@ declare const NotebaseRowUpdateManyInputSchema: z.ZodObject<{
2352
2353
  }, z.core.$strict>;
2353
2354
  }, z.core.$strip>>;
2354
2355
  }, z.core.$strip>;
2355
- type NotebaseRowUpdateManyInput = z.infer<typeof NotebaseRowUpdateManyInputSchema>;
2356
- declare const NotebaseRowUpdateManyOutputSchema: z.ZodObject<{
2356
+ export type NotebaseRowUpdateManyInput = z.infer<typeof NotebaseRowUpdateManyInputSchema>;
2357
+ export declare const NotebaseRowUpdateManyOutputSchema: z.ZodObject<{
2357
2358
  items: z.ZodArray<z.ZodObject<{
2358
2359
  id: z.ZodString;
2359
2360
  notebaseId: z.ZodString;
@@ -2364,42 +2365,42 @@ declare const NotebaseRowUpdateManyOutputSchema: z.ZodObject<{
2364
2365
  }, z.core.$strip>>;
2365
2366
  txid: z.ZodNumber;
2366
2367
  }, z.core.$strip>;
2367
- type NotebaseRowUpdateManyOutput = z.infer<typeof NotebaseRowUpdateManyOutputSchema>;
2368
- declare const NotebaseRowDeleteInputSchema: z.ZodObject<{
2368
+ export type NotebaseRowUpdateManyOutput = z.infer<typeof NotebaseRowUpdateManyOutputSchema>;
2369
+ export declare const NotebaseRowDeleteInputSchema: z.ZodObject<{
2369
2370
  notebaseRowId: z.ZodUUID;
2370
2371
  }, z.core.$strip>;
2371
- type NotebaseRowDeleteInput = z.infer<typeof NotebaseRowDeleteInputSchema>;
2372
- declare const NotebaseRowDeleteOutputSchema: z.ZodObject<{
2372
+ export type NotebaseRowDeleteInput = z.infer<typeof NotebaseRowDeleteInputSchema>;
2373
+ export declare const NotebaseRowDeleteOutputSchema: z.ZodObject<{
2373
2374
  id: z.ZodUUID;
2374
2375
  txid: z.ZodNumber;
2375
2376
  }, z.core.$strip>;
2376
- type NotebaseRowDeleteOutput = z.infer<typeof NotebaseRowDeleteOutputSchema>;
2377
- declare const NOTEBASE_ROW_DELETE_MANY_MAX_ROWS = 50;
2378
- declare const NotebaseRowDeleteManyInputSchema: z.ZodObject<{
2377
+ export type NotebaseRowDeleteOutput = z.infer<typeof NotebaseRowDeleteOutputSchema>;
2378
+ export declare const NOTEBASE_ROW_DELETE_MANY_MAX_ROWS = 50;
2379
+ export declare const NotebaseRowDeleteManyInputSchema: z.ZodObject<{
2379
2380
  ids: z.ZodArray<z.ZodUUID>;
2380
2381
  }, z.core.$strip>;
2381
- type NotebaseRowDeleteManyInput = z.infer<typeof NotebaseRowDeleteManyInputSchema>;
2382
- declare const NotebaseRowDeleteManyOutputSchema: z.ZodObject<{
2382
+ export type NotebaseRowDeleteManyInput = z.infer<typeof NotebaseRowDeleteManyInputSchema>;
2383
+ export declare const NotebaseRowDeleteManyOutputSchema: z.ZodObject<{
2383
2384
  ids: z.ZodArray<z.ZodUUID>;
2384
2385
  }, z.core.$strip>;
2385
- type NotebaseRowDeleteManyOutput = z.infer<typeof NotebaseRowDeleteManyOutputSchema>;
2386
- declare const NotebaseRowReorderInputSchema: z.ZodObject<{
2386
+ export type NotebaseRowDeleteManyOutput = z.infer<typeof NotebaseRowDeleteManyOutputSchema>;
2387
+ export declare const NotebaseRowReorderInputSchema: z.ZodObject<{
2387
2388
  notebaseId: z.ZodUUID;
2388
2389
  ids: z.ZodArray<z.ZodUUID>;
2389
2390
  }, z.core.$strip>;
2390
- type NotebaseRowReorderInput = z.infer<typeof NotebaseRowReorderInputSchema>;
2391
- declare const NotebaseRowReorderOutputSchema: z.ZodObject<{
2391
+ export type NotebaseRowReorderInput = z.infer<typeof NotebaseRowReorderInputSchema>;
2392
+ export declare const NotebaseRowReorderOutputSchema: z.ZodObject<{
2392
2393
  txid: z.ZodNumber;
2393
2394
  }, z.core.$strip>;
2394
- type NotebaseRowReorderOutput = z.infer<typeof NotebaseRowReorderOutputSchema>;
2395
- declare const NotebaseRowListInputSchema: z.ZodObject<{
2395
+ export type NotebaseRowReorderOutput = z.infer<typeof NotebaseRowReorderOutputSchema>;
2396
+ export declare const NotebaseRowListInputSchema: z.ZodObject<{
2396
2397
  limit: z.ZodOptional<z.ZodNumber>;
2397
2398
  offset: z.ZodOptional<z.ZodNumber>;
2398
2399
  notebaseId: z.ZodOptional<z.ZodUUID>;
2399
2400
  query: z.ZodOptional<z.ZodString>;
2400
2401
  }, z.core.$strip>;
2401
- type NotebaseRowListInput = z.infer<typeof NotebaseRowListInputSchema>;
2402
- declare const NotebaseRowListOutputSchema: z.ZodObject<{
2402
+ export type NotebaseRowListInput = z.infer<typeof NotebaseRowListInputSchema>;
2403
+ export declare const NotebaseRowListOutputSchema: z.ZodObject<{
2403
2404
  items: z.ZodArray<z.ZodObject<{
2404
2405
  id: z.ZodString;
2405
2406
  notebaseId: z.ZodString;
@@ -2410,10 +2411,10 @@ declare const NotebaseRowListOutputSchema: z.ZodObject<{
2410
2411
  }, z.core.$strip>>;
2411
2412
  hasMore: z.ZodBoolean;
2412
2413
  }, z.core.$strip>;
2413
- declare const NotebaseRowGetInputSchema: z.ZodObject<{
2414
+ export declare const NotebaseRowGetInputSchema: z.ZodObject<{
2414
2415
  id: z.ZodUUID;
2415
2416
  }, z.core.$strip>;
2416
- declare const NotebaseRowGetOutputSchema: z.ZodObject<{
2417
+ export declare const NotebaseRowGetOutputSchema: z.ZodObject<{
2417
2418
  id: z.ZodString;
2418
2419
  notebaseId: z.ZodString;
2419
2420
  cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -2423,72 +2424,72 @@ declare const NotebaseRowGetOutputSchema: z.ZodObject<{
2423
2424
  }, z.core.$strip>;
2424
2425
  //#endregion
2425
2426
  //#region src/schemas/notebase-stats.d.ts
2426
- declare const notebaseActivityStatsItemSchema: z.ZodObject<{
2427
+ export declare const notebaseActivityStatsItemSchema: z.ZodObject<{
2427
2428
  date: z.ZodISODate;
2428
2429
  notes: z.ZodNumber;
2429
2430
  }, z.core.$strict>;
2430
- type NotebaseActivityStatsItem = z.infer<typeof notebaseActivityStatsItemSchema>;
2431
- declare const notebaseActivityStatsOutputSchema: z.ZodObject<{
2431
+ export type NotebaseActivityStatsItem = z.infer<typeof notebaseActivityStatsItemSchema>;
2432
+ export declare const notebaseActivityStatsOutputSchema: z.ZodObject<{
2432
2433
  daily: z.ZodArray<z.ZodObject<{
2433
2434
  date: z.ZodISODate;
2434
2435
  notes: z.ZodNumber;
2435
2436
  }, z.core.$strict>>;
2436
2437
  }, z.core.$strict>;
2437
- type NotebaseActivityStatsOutput = z.infer<typeof notebaseActivityStatsOutputSchema>;
2438
- declare const notebaseRowGrowthStatsItemSchema: z.ZodObject<{
2438
+ export type NotebaseActivityStatsOutput = z.infer<typeof notebaseActivityStatsOutputSchema>;
2439
+ export declare const notebaseRowGrowthStatsItemSchema: z.ZodObject<{
2439
2440
  date: z.ZodISODate;
2440
2441
  delta: z.ZodNumber;
2441
2442
  }, z.core.$strict>;
2442
- type NotebaseRowGrowthStatsItem = z.infer<typeof notebaseRowGrowthStatsItemSchema>;
2443
- declare const notebaseRowGrowthStatsOutputSchema: z.ZodObject<{
2443
+ export type NotebaseRowGrowthStatsItem = z.infer<typeof notebaseRowGrowthStatsItemSchema>;
2444
+ export declare const notebaseRowGrowthStatsOutputSchema: z.ZodObject<{
2444
2445
  baseTotal: z.ZodNumber;
2445
2446
  daily: z.ZodArray<z.ZodObject<{
2446
2447
  date: z.ZodISODate;
2447
2448
  delta: z.ZodNumber;
2448
2449
  }, z.core.$strict>>;
2449
2450
  }, z.core.$strict>;
2450
- type NotebaseRowGrowthStatsOutput = z.infer<typeof notebaseRowGrowthStatsOutputSchema>;
2451
+ export type NotebaseRowGrowthStatsOutput = z.infer<typeof notebaseRowGrowthStatsOutputSchema>;
2451
2452
  //#endregion
2452
2453
  //#region src/schemas/notebase-view.d.ts
2453
- declare const notebaseViewTypeSchema: z.ZodEnum<{
2454
+ export declare const notebaseViewTypeSchema: z.ZodEnum<{
2454
2455
  gallery: "gallery";
2455
2456
  kanban: "kanban";
2456
2457
  table: "table";
2457
2458
  }>;
2458
- type NotebaseViewType = z.infer<typeof notebaseViewTypeSchema>;
2459
- declare const notebaseViewConfigSchema: z.ZodObject<{
2459
+ export type NotebaseViewType = z.infer<typeof notebaseViewTypeSchema>;
2460
+ export declare const notebaseViewConfigSchema: z.ZodObject<{
2460
2461
  notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2461
2462
  hiddenNotebaseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2462
2463
  groupByNotebaseColumnId: z.ZodOptional<z.ZodString>;
2463
2464
  }, z.core.$catchall<z.ZodUnknown>>;
2464
- type NotebaseViewConfig = z.infer<typeof notebaseViewConfigSchema>;
2465
- declare const notebaseViewFilterSchema: z.ZodObject<{
2465
+ export type NotebaseViewConfig = z.infer<typeof notebaseViewConfigSchema>;
2466
+ export declare const notebaseViewFilterSchema: z.ZodObject<{
2466
2467
  notebaseColumnId: z.ZodString;
2467
2468
  operator: z.ZodString;
2468
2469
  value: z.ZodUnknown;
2469
2470
  }, z.core.$strict>;
2470
- type NotebaseViewFilter = z.infer<typeof notebaseViewFilterSchema>;
2471
- declare const notebaseViewFiltersSchema: z.ZodArray<z.ZodObject<{
2471
+ export type NotebaseViewFilter = z.infer<typeof notebaseViewFilterSchema>;
2472
+ export declare const notebaseViewFiltersSchema: z.ZodArray<z.ZodObject<{
2472
2473
  notebaseColumnId: z.ZodString;
2473
2474
  operator: z.ZodString;
2474
2475
  value: z.ZodUnknown;
2475
2476
  }, z.core.$strict>>;
2476
- declare const notebaseViewSortSchema: z.ZodObject<{
2477
+ export declare const notebaseViewSortSchema: z.ZodObject<{
2477
2478
  notebaseColumnId: z.ZodString;
2478
2479
  direction: z.ZodEnum<{
2479
2480
  asc: "asc";
2480
2481
  desc: "desc";
2481
2482
  }>;
2482
2483
  }, z.core.$strict>;
2483
- type NotebaseViewSort = z.infer<typeof notebaseViewSortSchema>;
2484
- declare const notebaseViewSortsSchema: z.ZodArray<z.ZodObject<{
2484
+ export type NotebaseViewSort = z.infer<typeof notebaseViewSortSchema>;
2485
+ export declare const notebaseViewSortsSchema: z.ZodArray<z.ZodObject<{
2485
2486
  notebaseColumnId: z.ZodString;
2486
2487
  direction: z.ZodEnum<{
2487
2488
  asc: "asc";
2488
2489
  desc: "desc";
2489
2490
  }>;
2490
2491
  }, z.core.$strict>>;
2491
- declare const notebaseViewCreateDataSchema: z.ZodObject<{
2492
+ export declare const notebaseViewCreateDataSchema: z.ZodObject<{
2492
2493
  id: z.ZodOptional<z.ZodUUID>;
2493
2494
  name: z.ZodString;
2494
2495
  type: z.ZodEnum<{
@@ -2514,8 +2515,8 @@ declare const notebaseViewCreateDataSchema: z.ZodObject<{
2514
2515
  }>;
2515
2516
  }, z.core.$strict>>>;
2516
2517
  }, z.core.$strict>;
2517
- type NotebaseViewCreateData = z.infer<typeof notebaseViewCreateDataSchema>;
2518
- declare const notebaseViewUpdateDataSchema: z.ZodObject<{
2518
+ export type NotebaseViewCreateData = z.infer<typeof notebaseViewCreateDataSchema>;
2519
+ export declare const notebaseViewUpdateDataSchema: z.ZodObject<{
2519
2520
  name: z.ZodOptional<z.ZodString>;
2520
2521
  type: z.ZodOptional<z.ZodEnum<{
2521
2522
  gallery: "gallery";
@@ -2540,8 +2541,8 @@ declare const notebaseViewUpdateDataSchema: z.ZodObject<{
2540
2541
  }>;
2541
2542
  }, z.core.$strict>>>;
2542
2543
  }, z.core.$strict>;
2543
- type NotebaseViewUpdateData = z.infer<typeof notebaseViewUpdateDataSchema>;
2544
- declare const notebaseViewSchema: z.ZodObject<{
2544
+ export type NotebaseViewUpdateData = z.infer<typeof notebaseViewUpdateDataSchema>;
2545
+ export declare const notebaseViewSchema: z.ZodObject<{
2545
2546
  id: z.ZodString;
2546
2547
  notebaseId: z.ZodString;
2547
2548
  name: z.ZodString;
@@ -2561,22 +2562,22 @@ declare const notebaseViewSchema: z.ZodObject<{
2561
2562
  createdAt: z.ZodCoercedDate<unknown>;
2562
2563
  updatedAt: z.ZodCoercedDate<unknown>;
2563
2564
  }, z.core.$strip>;
2564
- type NotebaseView = z.infer<typeof notebaseViewSchema>;
2565
+ export type NotebaseView = z.infer<typeof notebaseViewSchema>;
2565
2566
  //#endregion
2566
2567
  //#region src/schemas/timezone.d.ts
2567
- declare const timezoneSchema: z.ZodString;
2568
- type Timezone = z.infer<typeof timezoneSchema>;
2568
+ export declare const timezoneSchema: z.ZodString;
2569
+ export type Timezone = z.infer<typeof timezoneSchema>;
2569
2570
  //#endregion
2570
2571
  //#region src/schemas/srs.d.ts
2571
- declare const stepSchema: z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>;
2572
- type Step = z.infer<typeof stepSchema>;
2573
- declare const SRS_REVIEW_CLIENT_ID_NAMESPACE = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
2574
- interface SrsReviewClientIdCard {
2572
+ export declare const stepSchema: z.ZodTemplateLiteral<`${number}d` | `${number}h` | `${number}m`>;
2573
+ export type Step = z.infer<typeof stepSchema>;
2574
+ export declare const SRS_REVIEW_CLIENT_ID_NAMESPACE = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
2575
+ export interface SrsReviewClientIdCard {
2575
2576
  id: string;
2576
2577
  lastReviewTime: Date | string | null;
2577
2578
  }
2578
- declare function createSrsReviewClientId(card: SrsReviewClientIdCard): Promise<string>;
2579
- declare const srsReviewInputSchema: z.ZodObject<{
2579
+ export declare function createSrsReviewClientId(card: SrsReviewClientIdCard): Promise<string>;
2580
+ export declare const srsReviewInputSchema: z.ZodObject<{
2580
2581
  cardId: z.ZodUUID;
2581
2582
  id: z.ZodOptional<z.ZodUUID>;
2582
2583
  rating: z.ZodEnum<{
@@ -2588,45 +2589,45 @@ declare const srsReviewInputSchema: z.ZodObject<{
2588
2589
  durationMs: z.ZodNumber;
2589
2590
  timezone: z.ZodString;
2590
2591
  }, z.core.$strict>;
2591
- type SrsReviewInput = z.infer<typeof srsReviewInputSchema>;
2592
- declare const srsRollbackReviewInputSchema: z.ZodObject<{
2592
+ export type SrsReviewInput = z.infer<typeof srsReviewInputSchema>;
2593
+ export declare const srsRollbackReviewInputSchema: z.ZodObject<{
2593
2594
  expectedReviewId: z.ZodOptional<z.ZodUUID>;
2594
2595
  cardId: z.ZodUUID;
2595
2596
  }, z.core.$strict>;
2596
- type SrsRollbackReviewInput = z.infer<typeof srsRollbackReviewInputSchema>;
2597
- declare const srsScheduleStatusStatsSchema: z.ZodRecord<z.ZodEnum<{
2597
+ export type SrsRollbackReviewInput = z.infer<typeof srsRollbackReviewInputSchema>;
2598
+ export declare const srsScheduleStatusStatsSchema: z.ZodRecord<z.ZodEnum<{
2598
2599
  learning: "learning";
2599
2600
  new: "new";
2600
2601
  review: "review";
2601
2602
  }>, z.ZodNumber>;
2602
- type SrsScheduleStatusStats = z.infer<typeof srsScheduleStatusStatsSchema>;
2603
- declare const srsScheduleStatusStatsInputSchema: z.ZodObject<{
2603
+ export type SrsScheduleStatusStats = z.infer<typeof srsScheduleStatusStatsSchema>;
2604
+ export declare const srsScheduleStatusStatsInputSchema: z.ZodObject<{
2604
2605
  notebaseIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
2605
2606
  timezone: z.ZodString;
2606
2607
  }, z.core.$strict>;
2607
- type SrsScheduleStatusStatsInput = z.infer<typeof srsScheduleStatusStatsInputSchema>;
2608
- declare const srsScheduleStatusStatsOutputSchema: z.ZodRecord<z.ZodUUID, z.ZodRecord<z.ZodEnum<{
2608
+ export type SrsScheduleStatusStatsInput = z.infer<typeof srsScheduleStatusStatsInputSchema>;
2609
+ export declare const srsScheduleStatusStatsOutputSchema: z.ZodRecord<z.ZodUUID, z.ZodRecord<z.ZodEnum<{
2609
2610
  learning: "learning";
2610
2611
  new: "new";
2611
2612
  review: "review";
2612
2613
  }>, z.ZodNumber>>;
2613
- type SrsScheduleStatusStatsOutput = z.infer<typeof srsScheduleStatusStatsOutputSchema>;
2614
- declare const srsManualCardStatusInputSchema: z.ZodObject<{
2614
+ export type SrsScheduleStatusStatsOutput = z.infer<typeof srsScheduleStatusStatsOutputSchema>;
2615
+ export declare const srsManualCardStatusInputSchema: z.ZodObject<{
2615
2616
  cardId: z.ZodUUID;
2616
2617
  enabled: z.ZodBoolean;
2617
2618
  }, z.core.$strict>;
2618
- type SrsManualCardStatusInput = z.infer<typeof srsManualCardStatusInputSchema>;
2619
- declare const srsSetCardBuriedInputSchema: z.ZodObject<{
2619
+ export type SrsManualCardStatusInput = z.infer<typeof srsManualCardStatusInputSchema>;
2620
+ export declare const srsSetCardBuriedInputSchema: z.ZodObject<{
2620
2621
  cardId: z.ZodUUID;
2621
2622
  enabled: z.ZodBoolean;
2622
2623
  }, z.core.$strict>;
2623
- type SrsSetCardBuriedInput = SrsManualCardStatusInput;
2624
- declare const srsSetCardSuspendedInputSchema: z.ZodObject<{
2624
+ export type SrsSetCardBuriedInput = SrsManualCardStatusInput;
2625
+ export declare const srsSetCardSuspendedInputSchema: z.ZodObject<{
2625
2626
  cardId: z.ZodUUID;
2626
2627
  enabled: z.ZodBoolean;
2627
2628
  }, z.core.$strict>;
2628
- type SrsSetCardSuspendedInput = SrsManualCardStatusInput;
2629
- declare const srsRevlogSchema: z.ZodObject<{
2629
+ export type SrsSetCardSuspendedInput = SrsManualCardStatusInput;
2630
+ export declare const srsRevlogSchema: z.ZodObject<{
2630
2631
  id: z.ZodUUID;
2631
2632
  notebaseId: z.ZodUUID;
2632
2633
  cardId: z.ZodUUID;
@@ -2693,8 +2694,8 @@ declare const srsRevlogSchema: z.ZodObject<{
2693
2694
  }>>;
2694
2695
  createdAt: z.ZodCoercedDate<unknown>;
2695
2696
  }, z.core.$strip>;
2696
- type SrsRevlog = z.infer<typeof srsRevlogSchema>;
2697
- declare const srsRevlogWithoutSnapshotSchema: z.ZodObject<{
2697
+ export type SrsRevlog = z.infer<typeof srsRevlogSchema>;
2698
+ export declare const srsRevlogWithoutSnapshotSchema: z.ZodObject<{
2698
2699
  id: z.ZodUUID;
2699
2700
  notebaseId: z.ZodUUID;
2700
2701
  cardId: z.ZodUUID;
@@ -2723,15 +2724,15 @@ declare const srsRevlogWithoutSnapshotSchema: z.ZodObject<{
2723
2724
  durationMs: z.ZodNumber;
2724
2725
  createdAt: z.ZodCoercedDate<unknown>;
2725
2726
  }, z.core.$strip>;
2726
- type SrsRevlogWithoutSnapshot = z.infer<typeof srsRevlogWithoutSnapshotSchema>;
2727
- declare const srsListCardRevlogsInputSchema: z.ZodObject<{
2727
+ export type SrsRevlogWithoutSnapshot = z.infer<typeof srsRevlogWithoutSnapshotSchema>;
2728
+ export declare const srsListCardRevlogsInputSchema: z.ZodObject<{
2728
2729
  limit: z.ZodOptional<z.ZodNumber>;
2729
2730
  offset: z.ZodOptional<z.ZodNumber>;
2730
2731
  notebaseId: z.ZodOptional<z.ZodUUID>;
2731
2732
  cardId: z.ZodOptional<z.ZodUUID>;
2732
2733
  }, z.core.$strict>;
2733
- type SrsListCardRevlogsInput = z.infer<typeof srsListCardRevlogsInputSchema>;
2734
- declare const srsListCardRevlogsOutputSchema: z.ZodObject<{
2734
+ export type SrsListCardRevlogsInput = z.infer<typeof srsListCardRevlogsInputSchema>;
2735
+ export declare const srsListCardRevlogsOutputSchema: z.ZodObject<{
2735
2736
  items: z.ZodArray<z.ZodObject<{
2736
2737
  id: z.ZodUUID;
2737
2738
  notebaseId: z.ZodUUID;
@@ -2763,8 +2764,8 @@ declare const srsListCardRevlogsOutputSchema: z.ZodObject<{
2763
2764
  }, z.core.$strip>>;
2764
2765
  hasMore: z.ZodBoolean;
2765
2766
  }, z.core.$strict>;
2766
- type SrsListCardRevlogsOutput = z.infer<typeof srsListCardRevlogsOutputSchema>;
2767
- declare const srsReviewOutputSchema: z.ZodObject<{
2767
+ export type SrsListCardRevlogsOutput = z.infer<typeof srsListCardRevlogsOutputSchema>;
2768
+ export declare const srsReviewOutputSchema: z.ZodObject<{
2768
2769
  card: z.ZodObject<{
2769
2770
  notebaseId: z.ZodUUID;
2770
2771
  notebaseRowId: z.ZodUUID;
@@ -2865,8 +2866,8 @@ declare const srsReviewOutputSchema: z.ZodObject<{
2865
2866
  txid: z.ZodNumber;
2866
2867
  created: z.ZodBoolean;
2867
2868
  }, z.core.$strip>;
2868
- type SrsReviewOutput = z.infer<typeof srsReviewOutputSchema>;
2869
- declare const srsRollbackReviewOutputSchema: z.ZodObject<{
2869
+ export type SrsReviewOutput = z.infer<typeof srsReviewOutputSchema>;
2870
+ export declare const srsRollbackReviewOutputSchema: z.ZodObject<{
2870
2871
  card: z.ZodObject<{
2871
2872
  notebaseId: z.ZodUUID;
2872
2873
  notebaseRowId: z.ZodUUID;
@@ -2900,51 +2901,51 @@ declare const srsRollbackReviewOutputSchema: z.ZodObject<{
2900
2901
  rolledBackRevlogId: z.ZodUUID;
2901
2902
  txid: z.ZodNumber;
2902
2903
  }, z.core.$strip>;
2903
- type SrsRollbackReviewOutput = z.infer<typeof srsRollbackReviewOutputSchema>;
2904
- declare const srsTxidOutputSchema: z.ZodObject<{
2904
+ export type SrsRollbackReviewOutput = z.infer<typeof srsRollbackReviewOutputSchema>;
2905
+ export declare const srsTxidOutputSchema: z.ZodObject<{
2905
2906
  txid: z.ZodNumber;
2906
2907
  }, z.core.$strip>;
2907
- type SrsTxidOutput = z.infer<typeof srsTxidOutputSchema>;
2908
- declare const srsSetCardBuriedOutputSchema: z.ZodObject<{
2908
+ export type SrsTxidOutput = z.infer<typeof srsTxidOutputSchema>;
2909
+ export declare const srsSetCardBuriedOutputSchema: z.ZodObject<{
2909
2910
  txid: z.ZodNumber;
2910
2911
  }, z.core.$strip>;
2911
- type SrsSetCardBuriedOutput = SrsTxidOutput;
2912
- declare const srsSetCardSuspendedOutputSchema: z.ZodObject<{
2912
+ export type SrsSetCardBuriedOutput = SrsTxidOutput;
2913
+ export declare const srsSetCardSuspendedOutputSchema: z.ZodObject<{
2913
2914
  txid: z.ZodNumber;
2914
2915
  }, z.core.$strip>;
2915
- type SrsSetCardSuspendedOutput = SrsTxidOutput;
2916
- declare const srsListUnreadOptimizerResultsInputSchema: z.ZodObject<{}, z.core.$strict>;
2917
- declare const srsOptimizerUnreadResultSchema: z.ZodObject<{
2916
+ export type SrsSetCardSuspendedOutput = SrsTxidOutput;
2917
+ export declare const srsListUnreadOptimizerResultsInputSchema: z.ZodObject<{}, z.core.$strict>;
2918
+ export declare const srsOptimizerUnreadResultSchema: z.ZodObject<{
2918
2919
  runId: z.ZodUUID;
2919
2920
  notebaseName: z.ZodString;
2920
2921
  revlogCount: z.ZodNumber;
2921
2922
  improvement: z.ZodNullable<z.ZodNumber>;
2922
2923
  }, z.core.$strict>;
2923
- type SrsOptimizerUnreadResult = z.infer<typeof srsOptimizerUnreadResultSchema>;
2924
- declare const srsListUnreadOptimizerResultsOutputSchema: z.ZodArray<z.ZodObject<{
2924
+ export type SrsOptimizerUnreadResult = z.infer<typeof srsOptimizerUnreadResultSchema>;
2925
+ export declare const srsListUnreadOptimizerResultsOutputSchema: z.ZodArray<z.ZodObject<{
2925
2926
  runId: z.ZodUUID;
2926
2927
  notebaseName: z.ZodString;
2927
2928
  revlogCount: z.ZodNumber;
2928
2929
  improvement: z.ZodNullable<z.ZodNumber>;
2929
2930
  }, z.core.$strict>>;
2930
- type SrsListUnreadOptimizerResultsOutput = z.infer<typeof srsListUnreadOptimizerResultsOutputSchema>;
2931
- declare const srsAcknowledgeOptimizerResultsInputSchema: z.ZodObject<{
2931
+ export type SrsListUnreadOptimizerResultsOutput = z.infer<typeof srsListUnreadOptimizerResultsOutputSchema>;
2932
+ export declare const srsAcknowledgeOptimizerResultsInputSchema: z.ZodObject<{
2932
2933
  runIds: z.ZodArray<z.ZodUUID>;
2933
2934
  }, z.core.$strict>;
2934
- type SrsAcknowledgeOptimizerResultsInput = z.infer<typeof srsAcknowledgeOptimizerResultsInputSchema>;
2935
- declare const srsAcknowledgeOptimizerResultsOutputSchema: z.ZodObject<{
2935
+ export type SrsAcknowledgeOptimizerResultsInput = z.infer<typeof srsAcknowledgeOptimizerResultsInputSchema>;
2936
+ export declare const srsAcknowledgeOptimizerResultsOutputSchema: z.ZodObject<{
2936
2937
  acknowledgedCount: z.ZodNumber;
2937
2938
  }, z.core.$strict>;
2938
- type SrsAcknowledgeOptimizerResultsOutput = z.infer<typeof srsAcknowledgeOptimizerResultsOutputSchema>;
2939
+ export type SrsAcknowledgeOptimizerResultsOutput = z.infer<typeof srsAcknowledgeOptimizerResultsOutputSchema>;
2939
2940
  //#endregion
2940
2941
  //#region src/schemas/srs-stats.d.ts
2941
- declare const srsActivityStatsItemSchema: z.ZodObject<{
2942
+ export declare const srsActivityStatsItemSchema: z.ZodObject<{
2942
2943
  date: z.ZodISODate;
2943
2944
  answers: z.ZodNumber;
2944
2945
  durationMs: z.ZodNumber;
2945
2946
  }, z.core.$strict>;
2946
- type SrsActivityStatsItem = z.infer<typeof srsActivityStatsItemSchema>;
2947
- declare const srsActivityStatsOutputSchema: z.ZodObject<{
2947
+ export type SrsActivityStatsItem = z.infer<typeof srsActivityStatsItemSchema>;
2948
+ export declare const srsActivityStatsOutputSchema: z.ZodObject<{
2948
2949
  learnedCards: z.ZodNumber;
2949
2950
  daily: z.ZodArray<z.ZodObject<{
2950
2951
  date: z.ZodISODate;
@@ -2952,30 +2953,30 @@ declare const srsActivityStatsOutputSchema: z.ZodObject<{
2952
2953
  durationMs: z.ZodNumber;
2953
2954
  }, z.core.$strict>>;
2954
2955
  }, z.core.$strict>;
2955
- type SrsActivityStatsOutput = z.infer<typeof srsActivityStatsOutputSchema>;
2956
- declare const srsMemoryGrowthStatsItemSchema: z.ZodObject<{
2956
+ export type SrsActivityStatsOutput = z.infer<typeof srsActivityStatsOutputSchema>;
2957
+ export declare const srsMemoryGrowthStatsItemSchema: z.ZodObject<{
2957
2958
  date: z.ZodISODate;
2958
2959
  delta: z.ZodNumber;
2959
2960
  }, z.core.$strict>;
2960
- type SrsMemoryGrowthStatsItem = z.infer<typeof srsMemoryGrowthStatsItemSchema>;
2961
- declare const srsMemoryGrowthStatsOutputSchema: z.ZodObject<{
2961
+ export type SrsMemoryGrowthStatsItem = z.infer<typeof srsMemoryGrowthStatsItemSchema>;
2962
+ export declare const srsMemoryGrowthStatsOutputSchema: z.ZodObject<{
2962
2963
  baseTotal: z.ZodNumber;
2963
2964
  daily: z.ZodArray<z.ZodObject<{
2964
2965
  date: z.ZodISODate;
2965
2966
  delta: z.ZodNumber;
2966
2967
  }, z.core.$strict>>;
2967
2968
  }, z.core.$strict>;
2968
- type SrsMemoryGrowthStatsOutput = z.infer<typeof srsMemoryGrowthStatsOutputSchema>;
2969
+ export type SrsMemoryGrowthStatsOutput = z.infer<typeof srsMemoryGrowthStatsOutputSchema>;
2969
2970
  //#endregion
2970
2971
  //#region src/schemas/stats.d.ts
2971
- declare const statsInputSchema: z.ZodObject<{
2972
+ export declare const statsInputSchema: z.ZodObject<{
2972
2973
  notebaseIds: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodUUID>, z.ZodTransform<string[], string[]>>>;
2973
2974
  from: z.ZodOptional<z.ZodISODate>;
2974
2975
  to: z.ZodISODate;
2975
2976
  timezone: z.ZodString;
2976
2977
  }, z.core.$strict>;
2977
- type StatsInput = z.infer<typeof statsInputSchema>;
2978
- declare const activityStatsOutputSchema: z.ZodObject<{
2978
+ export type StatsInput = z.infer<typeof statsInputSchema>;
2979
+ export declare const activityStatsOutputSchema: z.ZodObject<{
2979
2980
  srs: z.ZodObject<{
2980
2981
  learnedCards: z.ZodNumber;
2981
2982
  daily: z.ZodArray<z.ZodObject<{
@@ -2991,36 +2992,36 @@ declare const activityStatsOutputSchema: z.ZodObject<{
2991
2992
  }, z.core.$strict>>;
2992
2993
  }, z.core.$strict>;
2993
2994
  }, z.core.$strict>;
2994
- type ActivityStatsOutput = z.infer<typeof activityStatsOutputSchema>;
2995
+ export type ActivityStatsOutput = z.infer<typeof activityStatsOutputSchema>;
2995
2996
  //#endregion
2996
2997
  //#region src/schemas/user.d.ts
2997
- declare const userEnsureTimezoneInputSchema: z.ZodObject<{
2998
+ export declare const userEnsureTimezoneInputSchema: z.ZodObject<{
2998
2999
  timezone: z.ZodString;
2999
3000
  }, z.core.$strict>;
3000
- type UserEnsureTimezoneInput = z.infer<typeof userEnsureTimezoneInputSchema>;
3001
- declare const userEnsureTimezoneOutputSchema: z.ZodObject<{
3001
+ export type UserEnsureTimezoneInput = z.infer<typeof userEnsureTimezoneInputSchema>;
3002
+ export declare const userEnsureTimezoneOutputSchema: z.ZodObject<{
3002
3003
  timezone: z.ZodString;
3003
3004
  updated: z.ZodBoolean;
3004
3005
  }, z.core.$strict>;
3005
- type UserEnsureTimezoneOutput = z.infer<typeof userEnsureTimezoneOutputSchema>;
3006
- declare const userUpdateTimezoneInputSchema: z.ZodObject<{
3006
+ export type UserEnsureTimezoneOutput = z.infer<typeof userEnsureTimezoneOutputSchema>;
3007
+ export declare const userUpdateTimezoneInputSchema: z.ZodObject<{
3007
3008
  timezone: z.ZodString;
3008
3009
  }, z.core.$strict>;
3009
- type UserUpdateTimezoneInput = z.infer<typeof userUpdateTimezoneInputSchema>;
3010
- declare const userUpdateTimezoneOutputSchema: z.ZodObject<{
3010
+ export type UserUpdateTimezoneInput = z.infer<typeof userUpdateTimezoneInputSchema>;
3011
+ export declare const userUpdateTimezoneOutputSchema: z.ZodObject<{
3011
3012
  timezone: z.ZodString;
3012
3013
  }, z.core.$strict>;
3013
- type UserUpdateTimezoneOutput = z.infer<typeof userUpdateTimezoneOutputSchema>;
3014
+ export type UserUpdateTimezoneOutput = z.infer<typeof userUpdateTimezoneOutputSchema>;
3014
3015
  //#endregion
3015
3016
  //#region src/schemas/video-transcript.d.ts
3016
- declare const videoTranscriptStatusSchema: z.ZodEnum<{
3017
+ export declare const videoTranscriptStatusSchema: z.ZodEnum<{
3017
3018
  completed: "completed";
3018
3019
  failed: "failed";
3019
3020
  pending: "pending";
3020
3021
  processing: "processing";
3021
3022
  }>;
3022
- type VideoTranscriptStatus = z.infer<typeof videoTranscriptStatusSchema>;
3023
- declare const videoTranscriptResourceSchema: z.ZodObject<{
3023
+ export type VideoTranscriptStatus = z.infer<typeof videoTranscriptStatusSchema>;
3024
+ export declare const videoTranscriptResourceSchema: z.ZodObject<{
3024
3025
  id: z.ZodString;
3025
3026
  platform: z.ZodString;
3026
3027
  videoId: z.ZodString;
@@ -3038,8 +3039,8 @@ declare const videoTranscriptResourceSchema: z.ZodObject<{
3038
3039
  createdAt: z.ZodDate;
3039
3040
  updatedAt: z.ZodDate;
3040
3041
  }, z.core.$strip>;
3041
- type VideoTranscriptResource = z.infer<typeof videoTranscriptResourceSchema>;
3042
- declare const videoTranscriptSubtitlesSchema: z.ZodObject<{
3042
+ export type VideoTranscriptResource = z.infer<typeof videoTranscriptResourceSchema>;
3043
+ export declare const videoTranscriptSubtitlesSchema: z.ZodObject<{
3043
3044
  id: z.ZodString;
3044
3045
  detectedLanguage: z.ZodNullable<z.ZodString>;
3045
3046
  segments: z.ZodArray<z.ZodObject<{
@@ -3048,17 +3049,17 @@ declare const videoTranscriptSubtitlesSchema: z.ZodObject<{
3048
3049
  text: z.ZodString;
3049
3050
  }, z.core.$strip>>;
3050
3051
  }, z.core.$strip>;
3051
- type VideoTranscriptSubtitles = z.infer<typeof videoTranscriptSubtitlesSchema>;
3052
- declare const videoTranscriptCreateInputSchema: z.ZodObject<{
3052
+ export type VideoTranscriptSubtitles = z.infer<typeof videoTranscriptSubtitlesSchema>;
3053
+ export declare const videoTranscriptCreateInputSchema: z.ZodObject<{
3053
3054
  url: z.ZodURL;
3054
3055
  durationSec: z.ZodNumber;
3055
3056
  }, z.core.$strict>;
3056
- type VideoTranscriptCreateInput = z.infer<typeof videoTranscriptCreateInputSchema>;
3057
- declare const videoTranscriptGetInputSchema: z.ZodObject<{
3057
+ export type VideoTranscriptCreateInput = z.infer<typeof videoTranscriptCreateInputSchema>;
3058
+ export declare const videoTranscriptGetInputSchema: z.ZodObject<{
3058
3059
  id: z.ZodUUID;
3059
3060
  }, z.core.$strict>;
3060
- type VideoTranscriptGetInput = z.infer<typeof videoTranscriptGetInputSchema>;
3061
- declare const videoTranscriptUsagePoolSchema: z.ZodObject<{
3061
+ export type VideoTranscriptGetInput = z.infer<typeof videoTranscriptGetInputSchema>;
3062
+ export declare const videoTranscriptUsagePoolSchema: z.ZodObject<{
3062
3063
  id: z.ZodString;
3063
3064
  usedMinutes: z.ZodNumber;
3064
3065
  limitMinutes: z.ZodNumber;
@@ -3066,8 +3067,8 @@ declare const videoTranscriptUsagePoolSchema: z.ZodObject<{
3066
3067
  resetAt: z.ZodNullable<z.ZodISODateTime>;
3067
3068
  expiresAt: z.ZodNullable<z.ZodISODateTime>;
3068
3069
  }, z.core.$strip>;
3069
- type VideoTranscriptUsagePool = z.infer<typeof videoTranscriptUsagePoolSchema>;
3070
- declare const videoTranscriptUsageSchema: z.ZodObject<{
3070
+ export type VideoTranscriptUsagePool = z.infer<typeof videoTranscriptUsagePoolSchema>;
3071
+ export declare const videoTranscriptUsageSchema: z.ZodObject<{
3071
3072
  usedMinutes: z.ZodNumber;
3072
3073
  limitMinutes: z.ZodNumber;
3073
3074
  remainingMinutes: z.ZodNumber;
@@ -3085,27 +3086,27 @@ declare const videoTranscriptUsageSchema: z.ZodObject<{
3085
3086
  expiresAt: z.ZodNullable<z.ZodISODateTime>;
3086
3087
  }, z.core.$strip>>;
3087
3088
  }, z.core.$strip>;
3088
- type VideoTranscriptUsage = z.infer<typeof videoTranscriptUsageSchema>;
3089
+ export type VideoTranscriptUsage = z.infer<typeof videoTranscriptUsageSchema>;
3089
3090
  //#endregion
3090
3091
  //#region src/schemas/pagination.d.ts
3091
- declare const paginationShape: {
3092
+ export declare const paginationShape: {
3092
3093
  limit: z.ZodOptional<z.ZodNumber>;
3093
3094
  offset: z.ZodOptional<z.ZodNumber>;
3094
3095
  };
3095
- declare function pageSchema<T extends z.ZodType>(itemSchema: T): z.ZodObject<{
3096
+ export declare function pageSchema<T extends z.ZodType>(itemSchema: T): z.ZodObject<{
3096
3097
  items: z.ZodArray<T>;
3097
3098
  hasMore: z.ZodBoolean;
3098
3099
  }, z.core.$strip>;
3099
3100
  //#endregion
3100
3101
  //#region src/schemas/resource-mutation.d.ts
3101
- declare const expectedUpdatedAtSchema: z.ZodISODateTime;
3102
- declare const deletionResultSchema: z.ZodObject<{
3102
+ export declare const expectedUpdatedAtSchema: z.ZodISODateTime;
3103
+ export declare const deletionResultSchema: z.ZodObject<{
3103
3104
  id: z.ZodUUID;
3104
3105
  txid: z.ZodNumber;
3105
3106
  }, z.core.$strip>;
3106
3107
  //#endregion
3107
3108
  //#region src/index.d.ts
3108
- declare const contract: {
3109
+ export declare const contract: {
3109
3110
  betaAccess: {
3110
3111
  status: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3111
3112
  featureKey: import("zod").ZodEnum<{
@@ -3919,6 +3920,7 @@ declare const contract: {
3919
3920
  srsNewPerDay: import("zod").ZodNumber;
3920
3921
  srsReviewsPerDay: import("zod").ZodNumber;
3921
3922
  srsDesiredRetention: import("zod").ZodNumber;
3923
+ noteCount: import("zod").ZodNumber;
3922
3924
  }, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "NOTEBASE_NOT_FOUND">>, {
3923
3925
  summary: string;
3924
3926
  description: string;
@@ -4815,7 +4817,7 @@ declare const contract: {
4815
4817
  }, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Pick<import("@orpc/contract").ErrorMap, "VIDEO_TRANSCRIPTION_SUBSCRIPTION_REQUIRED" | "VIDEO_TRANSCRIPT_NOT_FOUND" | "VIDEO_TRANSCRIPT_NOT_READY">>, Record<never, never>>;
4816
4818
  };
4817
4819
  };
4818
- type ORPCRouterClient = ContractRouterClient<typeof contract>;
4820
+ export type ORPCRouterClient = ContractRouterClient<typeof contract>;
4819
4821
  //#endregion
4820
- export { ActivityStatsOutput, type AgentRoute, BetaAccessStatusInput, BetaAccessStatusInputSchema, BetaAccessStatusOutput, BetaAccessStatusOutputSchema, BetaFeatureKey, BetaFeatureKeySchema, BillingAccessSource, BillingCancelScheduledChangeOutput, BillingCheckoutPlan, BillingCreateCheckoutSessionInput, BillingCreateCustomerPortalSessionInput, BillingCurrency, BillingInterval, BillingLocale, BillingPlan, BillingScheduledChange, BillingSessionUrlOutput, BillingStatus, BillingSubscriptionStatus, Card, CardGenerateInput, CardGenerateInputSchema, CardGenerateOutput, CardGenerateOutputSchema, CardGetInput, CardGetInputSchema, CardGetOutput, CardGetOutputSchema, CardListInput, CardListInputSchema, CardListOutput, CardListOutputSchema, type CardState, CardTemplate, CardTemplateCreateInput, CardTemplateCreateInputSchema, CardTemplateCreateOutput, CardTemplateCreateOutputSchema, CardTemplateDeleteInput, CardTemplateDeleteInputSchema, CardTemplateDeleteOutput, CardTemplateDeleteOutputSchema, CardTemplateGetInput, CardTemplateGetInputSchema, CardTemplateGetOutput, CardTemplateGetOutputSchema, CardTemplateInvalidColumnsData, CardTemplateInvalidColumnsDataSchema, CardTemplateListInput, CardTemplateListInputSchema, CardTemplateListOutput, CardTemplateListOutputSchema, CardTemplateUpdateInput, CardTemplateUpdateInputSchema, CardTemplateUpdateOutput, CardTemplateUpdateOutputSchema, CellValidationFailedData, CellValidationFailedDataSchema, CellValidationFailureDetails, CellValidationFailureDetailsSchema, CellValidationFailureReason, CellValidationFailureReasonSchema, EbookCoverContentType, EbookDeleteInput, EbookDeleteOutput, EbookDetail, EbookFinalizeUploadInput, EbookFinalizeUploadOutput, EbookGetDownloadUrlInput, EbookGetDownloadUrlOutput, EbookGetInput, EbookGetOutput, EbookListInput, EbookListItem, EbookListOutput, EbookPresignedPost, EbookQuota, EbookRenameData, EbookRenameInput, EbookRenameOutput, EbookRequestUploadInput, EbookRequestUploadOutput, EbookStatus, EbookUpdateProgressData, EbookUpdateProgressInput, EbookUpdateProgressOutput, HOSTED_AI_CLIENT_STREAM_PART_TYPES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTES, HOSTED_AI_NOTE_SUGGESTION_MAX_NOTE_FIELDS, HostedAiCreditPeriodKind, HostedAiCreditPeriodKindSchema, HostedAiCreditPolicyId, HostedAiCreditPolicyIdSchema, HostedAiCreditStatus, HostedAiCreditStatusSchema, HostedAiFeature, HostedAiFeatureSchema, HostedAiFeatureStatus, HostedAiFeatureStatusSchema, HostedAiModelTier, HostedAiModelTierSchema, HostedAiNoteSuggestionObject, HostedAiNoteSuggestionObjectSchema, HostedAiNoteSuggestionStreamInput, HostedAiNoteSuggestionStreamInputSchema, HostedAiOutputField, HostedAiOutputFieldSchema, HostedAiOutputFieldType, HostedAiOutputFieldTypeSchema, HostedAiQuotaExhaustedDataSchema, HostedAiQuotaScope, HostedAiQuotaScopeSchema, HostedAiRateLimitErrorData, HostedAiRateLimitErrorDataSchema, HostedAiRequestIdSchema, HostedAiStatusInput, HostedAiStatusInputSchema, HostedAiStatusOutput, HostedAiStatusOutputSchema, HostedAiStreamPart, HostedAiStreamPartSchema, HostedAiStreamStructuredObjectInput, HostedAiStreamStructuredObjectInputSchema, HostedAiStreamTextInput, HostedAiStreamTextInputSchema, HostedAiTierRestrictedDataSchema, HostedAiTierStatus, HostedAiTierStatusSchema, HostedAiUnavailableReason, HostedAiUnavailableReasonSchema, MCP_ALLOWED_PLANS, McpConnection, McpConnectionRevokeInput, NOTEBASE_ROW_CREATE_MANY_MAX_ROWS, NOTEBASE_ROW_DELETE_MANY_MAX_ROWS, NOTEBASE_ROW_UPDATE_MANY_MAX_ROWS, Notebase, NotebaseActivityStatsItem, NotebaseActivityStatsOutput, NotebaseColumn, NotebaseColumnCreateData, NotebaseColumnCreateInput, NotebaseColumnCreateInputSchema, NotebaseColumnCreateOutput, NotebaseColumnCreateOutputSchema, NotebaseColumnDeleteInput, NotebaseColumnDeleteInputSchema, NotebaseColumnDeleteOutput, NotebaseColumnDeleteOutputSchema, NotebaseColumnReorderInput, NotebaseColumnReorderInputSchema, NotebaseColumnReorderOutput, NotebaseColumnReorderOutputSchema, NotebaseColumnUpdateData, NotebaseColumnUpdateInput, NotebaseColumnUpdateInputSchema, NotebaseColumnUpdateOutput, NotebaseColumnUpdateOutputSchema, NotebaseCreateData, NotebaseCreateInput, NotebaseCreateInputSchema, NotebaseCreateOutput, NotebaseCreateOutputSchema, NotebaseDeleteInput, NotebaseDeleteInputSchema, NotebaseDeleteOutput, NotebaseDeleteOutputSchema, NotebaseGetInput, NotebaseGetInputSchema, NotebaseGetOutput, NotebaseGetOutputSchema, NotebaseGetSchemaInput, NotebaseGetSchemaInputSchema, NotebaseGetSchemaOutput, NotebaseGetSchemaOutputSchema, NotebaseGetSummaryInput, NotebaseGetSummaryInputSchema, NotebaseGetSummaryOutput, NotebaseGetSummaryOutputSchema, NotebaseListInput, NotebaseListInputSchema, NotebaseListItem, NotebaseListItemSchema, NotebaseListOutput, NotebaseListOutputSchema, NotebaseRow, NotebaseRowCreateData, NotebaseRowCreateInput, NotebaseRowCreateInputSchema, NotebaseRowCreateManyInput, NotebaseRowCreateManyInputSchema, NotebaseRowCreateManyOutput, NotebaseRowCreateManyOutputSchema, NotebaseRowCreateOutput, NotebaseRowCreateOutputSchema, NotebaseRowDeleteInput, NotebaseRowDeleteInputSchema, NotebaseRowDeleteManyInput, NotebaseRowDeleteManyInputSchema, NotebaseRowDeleteManyOutput, NotebaseRowDeleteManyOutputSchema, NotebaseRowDeleteOutput, NotebaseRowDeleteOutputSchema, NotebaseRowGetInputSchema, NotebaseRowGetOutputSchema, NotebaseRowGrowthStatsItem, NotebaseRowGrowthStatsOutput, NotebaseRowListInput, NotebaseRowListInputSchema, NotebaseRowListOutputSchema, NotebaseRowReorderInput, NotebaseRowReorderInputSchema, NotebaseRowReorderOutput, NotebaseRowReorderOutputSchema, NotebaseRowUpdateData, NotebaseRowUpdateInput, NotebaseRowUpdateInputSchema, NotebaseRowUpdateManyInput, NotebaseRowUpdateManyInputSchema, NotebaseRowUpdateManyOutput, NotebaseRowUpdateManyOutputSchema, NotebaseRowUpdateOutput, NotebaseRowUpdateOutputSchema, NotebaseSummary, NotebaseUpdateData, NotebaseUpdateInput, NotebaseUpdateInputSchema, NotebaseUpdateOutput, NotebaseUpdateOutputSchema, NotebaseView, NotebaseViewConfig, NotebaseViewCreateData, NotebaseViewFilter, NotebaseViewSort, NotebaseViewType, NotebaseViewUpdateData, ORPCRouterClient, PUBLIC_APP_ERROR_DEFS, PublicAppErrorCode, PublicAppErrorData, RenderedCard, type ReviewRating, SRS_REVIEW_CLIENT_ID_NAMESPACE, SRS_REVIEW_DURATION_MS_MAX, type ScheduleStatus, type SchedulingParams, SrsAcknowledgeOptimizerResultsInput, SrsAcknowledgeOptimizerResultsOutput, SrsActivityStatsItem, SrsActivityStatsOutput, SrsListCardRevlogsInput, SrsListCardRevlogsOutput, SrsListUnreadOptimizerResultsOutput, SrsManualCardStatusInput, SrsMemoryGrowthStatsItem, SrsMemoryGrowthStatsOutput, SrsOptimizerUnreadResult, SrsReviewClientIdCard, SrsReviewInput, SrsReviewOutput, SrsRevlog, SrsRevlogWithoutSnapshot, SrsRollbackReviewInput, SrsRollbackReviewOutput, SrsScheduleStatusStats, SrsScheduleStatusStatsInput, SrsScheduleStatusStatsOutput, SrsSetCardBuriedInput, SrsSetCardBuriedOutput, SrsSetCardSuspendedInput, SrsSetCardSuspendedOutput, SrsTxidOutput, StatsInput, Step, Timezone, UserEnsureTimezoneInput, UserEnsureTimezoneOutput, UserUpdateTimezoneInput, UserUpdateTimezoneOutput, VideoTranscriptCreateInput, VideoTranscriptGetInput, VideoTranscriptResource, VideoTranscriptStatus, VideoTranscriptSubtitles, VideoTranscriptUsage, VideoTranscriptUsagePool, activityStatsOutputSchema, billingAccessSourceSchema, billingCancelScheduledChangeOutputSchema, billingCheckoutPlanSchema, billingCreateCheckoutSessionInputSchema, billingCreateCustomerPortalSessionInputSchema, billingCurrencySchema, billingIntervalSchema, billingLocaleSchema, billingPlanSchema, billingScheduledChangeSchema, billingSessionUrlOutputSchema, billingStatusSchema, billingSubscriptionStatusSchema, cardSchema, cardStateSchema, cardTemplateSchema, contract, createSrsReviewClientId, defineAgentProcedure, deletionResultSchema, ebookCoverContentTypeSchema, ebookDeleteInputSchema, ebookDeleteOutputSchema, ebookDetailSchema, ebookFinalizeUploadInputSchema, ebookFinalizeUploadOutputSchema, ebookGetDownloadUrlInputSchema, ebookGetDownloadUrlOutputSchema, ebookGetInputSchema, ebookGetOutputSchema, ebookListInputSchema, ebookListItemSchema, ebookListOutputSchema, ebookPresignedPostSchema, ebookQuotaSchema, ebookRenameDataSchema, ebookRenameInputSchema, ebookRenameOutputSchema, ebookRequestUploadInputSchema, ebookRequestUploadOutputSchema, ebookStatusSchema, ebookUpdateProgressDataSchema, ebookUpdateProgressInputSchema, ebookUpdateProgressOutputSchema, expectedUpdatedAtSchema, getPublicErrorDefinition, isPlanAllowed, isPublicAppErrorCode, mcpConnectionListOutputSchema, mcpConnectionRevokeInputSchema, mcpConnectionRevokeOutputSchema, mcpConnectionSchema, notebaseActivityStatsItemSchema, notebaseActivityStatsOutputSchema, notebaseColumnCreateDataSchema, notebaseColumnSchema, notebaseColumnUpdateDataSchema, notebaseColumnWidthSchema, notebaseCreateDataSchema, notebaseRowCellsSchema, notebaseRowCreateDataSchema, notebaseRowGrowthStatsItemSchema, notebaseRowGrowthStatsOutputSchema, notebaseRowSchema, notebaseRowUpdateDataSchema, notebaseSchema, notebaseSummarySchema, notebaseUpdateDataSchema, notebaseViewConfigSchema, notebaseViewCreateDataSchema, notebaseViewFilterSchema, notebaseViewFiltersSchema, notebaseViewSchema, notebaseViewSortSchema, notebaseViewSortsSchema, notebaseViewTypeSchema, notebaseViewUpdateDataSchema, pageSchema, paginationShape, pickPublicErrorMap, renderedCardSchema, reviewRatingSchema, scheduleStatusSchema, schedulingParamsSchema, srsAcknowledgeOptimizerResultsInputSchema, srsAcknowledgeOptimizerResultsOutputSchema, srsActivityStatsItemSchema, srsActivityStatsOutputSchema, srsListCardRevlogsInputSchema, srsListCardRevlogsOutputSchema, srsListUnreadOptimizerResultsInputSchema, srsListUnreadOptimizerResultsOutputSchema, srsManualCardStatusInputSchema, srsMemoryGrowthStatsItemSchema, srsMemoryGrowthStatsOutputSchema, srsOptimizerUnreadResultSchema, srsReviewInputSchema, srsReviewOutputSchema, srsRevlogSchema, srsRevlogWithoutSnapshotSchema, srsRollbackReviewInputSchema, srsRollbackReviewOutputSchema, srsScheduleStatusStatsInputSchema, srsScheduleStatusStatsOutputSchema, srsScheduleStatusStatsSchema, srsSetCardBuriedInputSchema, srsSetCardBuriedOutputSchema, srsSetCardSuspendedInputSchema, srsSetCardSuspendedOutputSchema, srsTxidOutputSchema, statsInputSchema, stepSchema, timezoneSchema, userEnsureTimezoneInputSchema, userEnsureTimezoneOutputSchema, userUpdateTimezoneInputSchema, userUpdateTimezoneOutputSchema, videoTranscriptCreateInputSchema, videoTranscriptGetInputSchema, videoTranscriptResourceSchema, videoTranscriptStatusSchema, videoTranscriptSubtitlesSchema, videoTranscriptUsagePoolSchema, videoTranscriptUsageSchema };
4822
+ export { type AgentRoute, type CardState, type ReviewRating, SRS_REVIEW_DURATION_MS_MAX, type ScheduleStatus, type SchedulingParams, cardStateSchema, reviewRatingSchema, scheduleStatusSchema, schedulingParamsSchema };
4821
4823
  //# sourceMappingURL=index.d.ts.map