@secrecy/trpc-api-types 1.33.0-fix-dashboard-lp-tech-fixes.2 → 1.33.0-fix-dashboard-lp-tech-fixes.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.cts +317 -951
  2. package/package.json +3 -3
package/dist/index.d.cts CHANGED
@@ -706,18 +706,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
706
706
  _input_in: {} | undefined;
707
707
  _input_out: {} | undefined;
708
708
  _output_in: {
709
- codes: string[];
710
709
  id: string;
711
- kind: string;
712
- relatedTo: "secrecy" | "secrecy_tech";
710
+ name: string;
713
711
  descriptorId: string;
712
+ stripePricesId: string | null;
713
+ isCustomPlan?: boolean | undefined;
714
+ canHaveDatabase?: boolean | undefined;
714
715
  };
715
716
  _output_out: {
716
- codes: string[];
717
717
  id: string;
718
- kind: string;
719
- relatedTo: "secrecy" | "secrecy_tech";
718
+ name: string;
720
719
  descriptorId: string;
720
+ isCustomPlan: boolean;
721
+ canHaveDatabase: boolean;
722
+ stripePricesId: string | null;
721
723
  };
722
724
  }, unknown>;
723
725
  plans: _trpc_server.BuildProcedure<"query", {
@@ -754,7 +756,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
754
756
  }>;
755
757
  _meta: object;
756
758
  _ctx_out: {
757
- session: SecrecySession | null;
759
+ session: {
760
+ appId: string;
761
+ appPlanId: string;
762
+ appFakeUserId: string | undefined;
763
+ sessionId: string;
764
+ accountId: string;
765
+ accountInfosId: string;
766
+ accountRole: _prisma_client.AccountRole;
767
+ userId: string;
768
+ userRole: _prisma_client.UserRole;
769
+ userPlan: _prisma_client.PlanKind;
770
+ isCare?: boolean;
771
+ };
758
772
  req: {
759
773
  headers: Headers;
760
774
  body: ReadableStream<Uint8Array> | null;
@@ -765,14 +779,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
765
779
  locale: Locales;
766
780
  ls: TranslationFunctions;
767
781
  };
768
- _input_in: {} | undefined;
769
- _input_out: {} | undefined;
782
+ _input_in: {
783
+ appId?: string | undefined;
784
+ };
785
+ _input_out: {
786
+ appId?: string | undefined;
787
+ };
770
788
  _output_in: ({
771
- codes: string[];
772
789
  id: string;
773
- kind: string;
774
- relatedTo: "secrecy" | "secrecy_tech";
775
- descriptorId: string;
790
+ name: string;
791
+ isCustomPlan?: boolean | undefined;
792
+ canHaveDatabase?: boolean | undefined;
776
793
  } & {
777
794
  descriptor: {
778
795
  devsBase: bigint | null;
@@ -798,13 +815,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
798
815
  };
799
816
  } & {
800
817
  price: number;
818
+ } & {
819
+ isCurrent: boolean;
801
820
  })[];
802
821
  _output_out: ({
803
- codes: string[];
804
822
  id: string;
805
- kind: string;
806
- relatedTo: "secrecy" | "secrecy_tech";
807
- descriptorId: string;
823
+ name: string;
824
+ isCustomPlan: boolean;
825
+ canHaveDatabase: boolean;
808
826
  } & {
809
827
  descriptor: {
810
828
  devsBase: bigint | null;
@@ -830,6 +848,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
830
848
  };
831
849
  } & {
832
850
  price: number;
851
+ } & {
852
+ isCurrent: boolean;
833
853
  })[];
834
854
  }, unknown>;
835
855
  settings: _trpc_server.BuildProcedure<"query", {
@@ -2513,7 +2533,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2513
2533
  })[];
2514
2534
  }, unknown>;
2515
2535
  }>;
2516
- care: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2536
+ cloud: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2517
2537
  ctx: {
2518
2538
  req: {
2519
2539
  headers: Headers;
@@ -2544,8 +2564,41 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2544
2564
  };
2545
2565
  transformer: typeof superjson.default;
2546
2566
  }>, {
2547
- professional: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2548
- ctx: {
2567
+ addDataToHistory: _trpc_server.BuildProcedure<"mutation", {
2568
+ _config: _trpc_server.RootConfig<{
2569
+ ctx: {
2570
+ req: {
2571
+ headers: Headers;
2572
+ body: ReadableStream<Uint8Array> | null;
2573
+ };
2574
+ res: {
2575
+ headers: Headers;
2576
+ };
2577
+ session: SecrecySession | null;
2578
+ locale: Locales;
2579
+ ls: TranslationFunctions;
2580
+ };
2581
+ meta: object;
2582
+ errorShape: {
2583
+ message: string;
2584
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2585
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
2586
+ } | {
2587
+ data: {
2588
+ zodError: zod.typeToFlattenedError<any, string> | null;
2589
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2590
+ httpStatus: number;
2591
+ path?: string;
2592
+ stack?: string;
2593
+ };
2594
+ message: string;
2595
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2596
+ };
2597
+ transformer: typeof superjson.default;
2598
+ }>;
2599
+ _meta: object;
2600
+ _ctx_out: {
2601
+ session: SecrecySessionWithApp;
2549
2602
  req: {
2550
2603
  headers: Headers;
2551
2604
  body: ReadableStream<Uint8Array> | null;
@@ -2553,628 +2606,137 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2553
2606
  res: {
2554
2607
  headers: Headers;
2555
2608
  };
2556
- session: SecrecySession | null;
2557
2609
  locale: Locales;
2558
2610
  ls: TranslationFunctions;
2559
2611
  };
2560
- meta: object;
2561
- errorShape: {
2562
- message: string;
2563
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2564
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2565
- } | {
2566
- data: {
2567
- zodError: zod.typeToFlattenedError<any, string> | null;
2568
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2569
- httpStatus: number;
2570
- path?: string;
2571
- stack?: string;
2572
- };
2573
- message: string;
2574
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2612
+ _input_in: {
2613
+ dataId: string;
2614
+ nodeId: string;
2575
2615
  };
2576
- transformer: typeof superjson.default;
2577
- }>, {
2578
- register: _trpc_server.BuildProcedure<"mutation", {
2579
- _config: _trpc_server.RootConfig<{
2580
- ctx: {
2581
- req: {
2582
- headers: Headers;
2583
- body: ReadableStream<Uint8Array> | null;
2584
- };
2585
- res: {
2586
- headers: Headers;
2587
- };
2588
- session: SecrecySession | null;
2589
- locale: Locales;
2590
- ls: TranslationFunctions;
2591
- };
2592
- meta: object;
2593
- errorShape: {
2594
- message: string;
2595
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2596
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2597
- } | {
2598
- data: {
2599
- zodError: zod.typeToFlattenedError<any, string> | null;
2600
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2601
- httpStatus: number;
2602
- path?: string;
2603
- stack?: string;
2604
- };
2605
- message: string;
2606
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2607
- };
2608
- transformer: typeof superjson.default;
2609
- }>;
2610
- _meta: object;
2611
- _ctx_out: {
2612
- session: SecrecySession;
2613
- req: {
2614
- headers: Headers;
2615
- body: ReadableStream<Uint8Array> | null;
2616
- };
2617
- res: {
2618
- headers: Headers;
2619
- };
2620
- locale: Locales;
2621
- ls: TranslationFunctions;
2616
+ _input_out: {
2617
+ dataId: string;
2618
+ nodeId: string;
2619
+ };
2620
+ _output_in: {
2621
+ id: string;
2622
+ createdAt: Date;
2623
+ deletedAt: Date | null;
2624
+ name: string;
2625
+ updatedAt: Date;
2626
+ type: "FILE" | "FOLDER";
2627
+ parentId: string | null;
2628
+ isFavorite: boolean;
2629
+ currentDataId: string | null;
2630
+ } & {
2631
+ users: [{
2632
+ id: string;
2633
+ lastname: string;
2634
+ firstname: string;
2635
+ avatar: string | null;
2636
+ isSearchable: boolean;
2637
+ }, "admin" | "write" | "read"][];
2638
+ createdBy: {
2639
+ id: string;
2640
+ lastname: string;
2641
+ firstname: string;
2642
+ avatar: string | null;
2643
+ isSearchable: boolean;
2622
2644
  };
2623
- _input_in: {
2624
- status: "active" | "inactive" | "retired" | "suspended";
2625
- job: string;
2626
- specialties: string[];
2627
- activePrescriber: boolean;
2628
- internationalPrescriberNumber: string | null;
2629
- institution: string | null;
2630
- rppsNumber: string;
2631
- adeliNumber: string;
2632
- ssNumber: string;
2645
+ access: {
2646
+ rights: "admin" | "write" | "read";
2647
+ nameKey: string | null;
2648
+ isRoot: boolean;
2649
+ sharedByPubKey: string;
2633
2650
  };
2634
- _input_out: {
2635
- status: "active" | "inactive" | "retired" | "suspended";
2636
- job: string;
2637
- specialties: string[];
2638
- activePrescriber: boolean;
2639
- internationalPrescriberNumber: string | null;
2640
- institution: string | null;
2641
- rppsNumber: string;
2642
- adeliNumber: string;
2643
- ssNumber: string;
2651
+ } & {
2652
+ sizes: {
2653
+ size: bigint;
2654
+ sizeBefore: bigint;
2644
2655
  };
2645
- _output_in: {
2646
- status: "active" | "inactive" | "retired" | "suspended";
2647
- job: string;
2648
- specialties: string[];
2656
+ } & {
2657
+ current: {
2658
+ id: string;
2659
+ createdAt: Date;
2660
+ size: bigint;
2661
+ md5: string;
2662
+ storageType: "s3" | "lite";
2663
+ sizeBefore: bigint;
2664
+ md5Encrypted: string;
2665
+ userAppUserId: string;
2666
+ userAppAppId: string;
2667
+ validatedAt: Date | null;
2668
+ access: {
2669
+ key: string;
2670
+ sharedByPubKey: string;
2671
+ };
2672
+ } | null;
2673
+ history: {
2674
+ id: string;
2675
+ createdAt: Date;
2676
+ size: bigint;
2677
+ md5: string;
2678
+ storageType: "s3" | "lite";
2679
+ sizeBefore: bigint;
2680
+ md5Encrypted: string;
2681
+ userAppUserId: string;
2682
+ userAppAppId: string;
2683
+ validatedAt: Date | null;
2684
+ access: {
2685
+ key: string;
2686
+ sharedByPubKey: string;
2687
+ };
2688
+ }[];
2689
+ parent: ({
2690
+ id: string;
2691
+ createdAt: Date;
2692
+ deletedAt: Date | null;
2693
+ name: string;
2694
+ updatedAt: Date;
2695
+ type: "FILE" | "FOLDER";
2696
+ parentId: string | null;
2697
+ isFavorite: boolean;
2698
+ currentDataId: string | null;
2649
2699
  } & {
2650
- user: {
2700
+ users: [{
2701
+ id: string;
2702
+ lastname: string;
2703
+ firstname: string;
2704
+ avatar: string | null;
2705
+ isSearchable: boolean;
2706
+ }, "admin" | "write" | "read"][];
2707
+ createdBy: {
2651
2708
  id: string;
2652
2709
  lastname: string;
2653
2710
  firstname: string;
2654
2711
  avatar: string | null;
2655
2712
  isSearchable: boolean;
2656
2713
  };
2657
- };
2658
- _output_out: {
2659
- status: "active" | "inactive" | "retired" | "suspended";
2660
- job: string;
2661
- specialties: string[];
2714
+ access: {
2715
+ rights: "admin" | "write" | "read";
2716
+ nameKey: string | null;
2717
+ isRoot: boolean;
2718
+ sharedByPubKey: string;
2719
+ };
2720
+ }) | null;
2721
+ children: ({
2722
+ id: string;
2723
+ createdAt: Date;
2724
+ deletedAt: Date | null;
2725
+ name: string;
2726
+ updatedAt: Date;
2727
+ type: "FILE" | "FOLDER";
2728
+ parentId: string | null;
2729
+ isFavorite: boolean;
2730
+ currentDataId: string | null;
2662
2731
  } & {
2663
- user: {
2664
- id: string;
2665
- lastname: string;
2666
- firstname: string;
2667
- avatar: string | null;
2668
- isSearchable: boolean;
2669
- };
2670
- };
2671
- }, unknown>;
2672
- update: _trpc_server.BuildProcedure<"mutation", {
2673
- _config: _trpc_server.RootConfig<{
2674
- ctx: {
2675
- req: {
2676
- headers: Headers;
2677
- body: ReadableStream<Uint8Array> | null;
2678
- };
2679
- res: {
2680
- headers: Headers;
2681
- };
2682
- session: SecrecySession | null;
2683
- locale: Locales;
2684
- ls: TranslationFunctions;
2685
- };
2686
- meta: object;
2687
- errorShape: {
2688
- message: string;
2689
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2690
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2691
- } | {
2692
- data: {
2693
- zodError: zod.typeToFlattenedError<any, string> | null;
2694
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2695
- httpStatus: number;
2696
- path?: string;
2697
- stack?: string;
2698
- };
2699
- message: string;
2700
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2701
- };
2702
- transformer: typeof superjson.default;
2703
- }>;
2704
- _meta: object;
2705
- _ctx_out: {
2706
- session: SecrecySession;
2707
- req: {
2708
- headers: Headers;
2709
- body: ReadableStream<Uint8Array> | null;
2710
- };
2711
- res: {
2712
- headers: Headers;
2713
- };
2714
- locale: Locales;
2715
- ls: TranslationFunctions;
2716
- };
2717
- _input_in: {
2718
- status: "active" | "inactive" | "retired" | "suspended";
2719
- job: string;
2720
- specialties: string[];
2721
- activePrescriber: boolean;
2722
- internationalPrescriberNumber: string | null;
2723
- institution: string | null;
2724
- rppsNumber: string;
2725
- adeliNumber: string;
2726
- ssNumber: string;
2727
- };
2728
- _input_out: {
2729
- status: "active" | "inactive" | "retired" | "suspended";
2730
- job: string;
2731
- specialties: string[];
2732
- activePrescriber: boolean;
2733
- internationalPrescriberNumber: string | null;
2734
- institution: string | null;
2735
- rppsNumber: string;
2736
- adeliNumber: string;
2737
- ssNumber: string;
2738
- };
2739
- _output_in: {
2740
- status: "active" | "inactive" | "retired" | "suspended";
2741
- job: string;
2742
- specialties: string[];
2743
- } & {
2744
- user: {
2745
- id: string;
2746
- lastname: string;
2747
- firstname: string;
2748
- avatar: string | null;
2749
- isSearchable: boolean;
2750
- };
2751
- };
2752
- _output_out: {
2753
- status: "active" | "inactive" | "retired" | "suspended";
2754
- job: string;
2755
- specialties: string[];
2756
- } & {
2757
- user: {
2758
- id: string;
2759
- lastname: string;
2760
- firstname: string;
2761
- avatar: string | null;
2762
- isSearchable: boolean;
2763
- };
2764
- };
2765
- }, unknown>;
2766
- delete: _trpc_server.BuildProcedure<"mutation", {
2767
- _config: _trpc_server.RootConfig<{
2768
- ctx: {
2769
- req: {
2770
- headers: Headers;
2771
- body: ReadableStream<Uint8Array> | null;
2772
- };
2773
- res: {
2774
- headers: Headers;
2775
- };
2776
- session: SecrecySession | null;
2777
- locale: Locales;
2778
- ls: TranslationFunctions;
2779
- };
2780
- meta: object;
2781
- errorShape: {
2782
- message: string;
2783
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2784
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2785
- } | {
2786
- data: {
2787
- zodError: zod.typeToFlattenedError<any, string> | null;
2788
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2789
- httpStatus: number;
2790
- path?: string;
2791
- stack?: string;
2792
- };
2793
- message: string;
2794
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2795
- };
2796
- transformer: typeof superjson.default;
2797
- }>;
2798
- _meta: object;
2799
- _ctx_out: {
2800
- session: SecrecySession;
2801
- req: {
2802
- headers: Headers;
2803
- body: ReadableStream<Uint8Array> | null;
2804
- };
2805
- res: {
2806
- headers: Headers;
2807
- };
2808
- locale: Locales;
2809
- ls: TranslationFunctions;
2810
- };
2811
- _input_in: {};
2812
- _input_out: {};
2813
- _output_in: {
2814
- success: boolean;
2815
- };
2816
- _output_out: {
2817
- success: boolean;
2818
- };
2819
- }, unknown>;
2820
- get: _trpc_server.BuildProcedure<"query", {
2821
- _config: _trpc_server.RootConfig<{
2822
- ctx: {
2823
- req: {
2824
- headers: Headers;
2825
- body: ReadableStream<Uint8Array> | null;
2826
- };
2827
- res: {
2828
- headers: Headers;
2829
- };
2830
- session: SecrecySession | null;
2831
- locale: Locales;
2832
- ls: TranslationFunctions;
2833
- };
2834
- meta: object;
2835
- errorShape: {
2836
- message: string;
2837
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2838
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2839
- } | {
2840
- data: {
2841
- zodError: zod.typeToFlattenedError<any, string> | null;
2842
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2843
- httpStatus: number;
2844
- path?: string;
2845
- stack?: string;
2846
- };
2847
- message: string;
2848
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2849
- };
2850
- transformer: typeof superjson.default;
2851
- }>;
2852
- _meta: object;
2853
- _ctx_out: {
2854
- session: SecrecySession;
2855
- req: {
2856
- headers: Headers;
2857
- body: ReadableStream<Uint8Array> | null;
2858
- };
2859
- res: {
2860
- headers: Headers;
2861
- };
2862
- locale: Locales;
2863
- ls: TranslationFunctions;
2864
- };
2865
- _input_in: {
2866
- id: string;
2867
- };
2868
- _input_out: {
2869
- id: string;
2870
- };
2871
- _output_in: {
2872
- status: "active" | "inactive" | "retired" | "suspended";
2873
- job: string;
2874
- specialties: string[];
2875
- } & {
2876
- user: {
2877
- id: string;
2878
- lastname: string;
2879
- firstname: string;
2880
- avatar: string | null;
2881
- isSearchable: boolean;
2882
- };
2883
- };
2884
- _output_out: {
2885
- status: "active" | "inactive" | "retired" | "suspended";
2886
- job: string;
2887
- specialties: string[];
2888
- } & {
2889
- user: {
2890
- id: string;
2891
- lastname: string;
2892
- firstname: string;
2893
- avatar: string | null;
2894
- isSearchable: boolean;
2895
- };
2896
- };
2897
- }, unknown>;
2898
- list: _trpc_server.BuildProcedure<"query", {
2899
- _config: _trpc_server.RootConfig<{
2900
- ctx: {
2901
- req: {
2902
- headers: Headers;
2903
- body: ReadableStream<Uint8Array> | null;
2904
- };
2905
- res: {
2906
- headers: Headers;
2907
- };
2908
- session: SecrecySession | null;
2909
- locale: Locales;
2910
- ls: TranslationFunctions;
2911
- };
2912
- meta: object;
2913
- errorShape: {
2914
- message: string;
2915
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2916
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2917
- } | {
2918
- data: {
2919
- zodError: zod.typeToFlattenedError<any, string> | null;
2920
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2921
- httpStatus: number;
2922
- path?: string;
2923
- stack?: string;
2924
- };
2925
- message: string;
2926
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2927
- };
2928
- transformer: typeof superjson.default;
2929
- }>;
2930
- _meta: object;
2931
- _ctx_out: {
2932
- session: SecrecySession;
2933
- req: {
2934
- headers: Headers;
2935
- body: ReadableStream<Uint8Array> | null;
2936
- };
2937
- res: {
2938
- headers: Headers;
2939
- };
2940
- locale: Locales;
2941
- ls: TranslationFunctions;
2942
- };
2943
- _input_in: {};
2944
- _input_out: {};
2945
- _output_in: ({
2946
- status: "active" | "inactive" | "retired" | "suspended";
2947
- job: string;
2948
- specialties: string[];
2949
- } & {
2950
- user: {
2951
- id: string;
2952
- lastname: string;
2953
- firstname: string;
2954
- avatar: string | null;
2955
- isSearchable: boolean;
2956
- };
2957
- })[];
2958
- _output_out: ({
2959
- status: "active" | "inactive" | "retired" | "suspended";
2960
- job: string;
2961
- specialties: string[];
2962
- } & {
2963
- user: {
2964
- id: string;
2965
- lastname: string;
2966
- firstname: string;
2967
- avatar: string | null;
2968
- isSearchable: boolean;
2969
- };
2970
- })[];
2971
- }, unknown>;
2972
- }>;
2973
- }>;
2974
- cloud: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2975
- ctx: {
2976
- req: {
2977
- headers: Headers;
2978
- body: ReadableStream<Uint8Array> | null;
2979
- };
2980
- res: {
2981
- headers: Headers;
2982
- };
2983
- session: SecrecySession | null;
2984
- locale: Locales;
2985
- ls: TranslationFunctions;
2986
- };
2987
- meta: object;
2988
- errorShape: {
2989
- message: string;
2990
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2991
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2992
- } | {
2993
- data: {
2994
- zodError: zod.typeToFlattenedError<any, string> | null;
2995
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2996
- httpStatus: number;
2997
- path?: string;
2998
- stack?: string;
2999
- };
3000
- message: string;
3001
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
3002
- };
3003
- transformer: typeof superjson.default;
3004
- }>, {
3005
- addDataToHistory: _trpc_server.BuildProcedure<"mutation", {
3006
- _config: _trpc_server.RootConfig<{
3007
- ctx: {
3008
- req: {
3009
- headers: Headers;
3010
- body: ReadableStream<Uint8Array> | null;
3011
- };
3012
- res: {
3013
- headers: Headers;
3014
- };
3015
- session: SecrecySession | null;
3016
- locale: Locales;
3017
- ls: TranslationFunctions;
3018
- };
3019
- meta: object;
3020
- errorShape: {
3021
- message: string;
3022
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
3023
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
3024
- } | {
3025
- data: {
3026
- zodError: zod.typeToFlattenedError<any, string> | null;
3027
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
3028
- httpStatus: number;
3029
- path?: string;
3030
- stack?: string;
3031
- };
3032
- message: string;
3033
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
3034
- };
3035
- transformer: typeof superjson.default;
3036
- }>;
3037
- _meta: object;
3038
- _ctx_out: {
3039
- session: SecrecySessionWithApp;
3040
- req: {
3041
- headers: Headers;
3042
- body: ReadableStream<Uint8Array> | null;
3043
- };
3044
- res: {
3045
- headers: Headers;
3046
- };
3047
- locale: Locales;
3048
- ls: TranslationFunctions;
3049
- };
3050
- _input_in: {
3051
- dataId: string;
3052
- nodeId: string;
3053
- };
3054
- _input_out: {
3055
- dataId: string;
3056
- nodeId: string;
3057
- };
3058
- _output_in: {
3059
- id: string;
3060
- createdAt: Date;
3061
- deletedAt: Date | null;
3062
- name: string;
3063
- updatedAt: Date;
3064
- type: "FILE" | "FOLDER";
3065
- parentId: string | null;
3066
- isFavorite: boolean;
3067
- currentDataId: string | null;
3068
- } & {
3069
- users: [{
3070
- id: string;
3071
- lastname: string;
3072
- firstname: string;
3073
- avatar: string | null;
3074
- isSearchable: boolean;
3075
- }, "admin" | "write" | "read"][];
3076
- createdBy: {
3077
- id: string;
3078
- lastname: string;
3079
- firstname: string;
3080
- avatar: string | null;
3081
- isSearchable: boolean;
3082
- };
3083
- access: {
3084
- rights: "admin" | "write" | "read";
3085
- nameKey: string | null;
3086
- isRoot: boolean;
3087
- sharedByPubKey: string;
3088
- };
3089
- } & {
3090
- sizes: {
3091
- size: bigint;
3092
- sizeBefore: bigint;
3093
- };
3094
- } & {
3095
- current: {
3096
- id: string;
3097
- createdAt: Date;
3098
- size: bigint;
3099
- md5: string;
3100
- storageType: "s3" | "lite";
3101
- sizeBefore: bigint;
3102
- md5Encrypted: string;
3103
- userAppUserId: string;
3104
- userAppAppId: string;
3105
- validatedAt: Date | null;
3106
- access: {
3107
- key: string;
3108
- sharedByPubKey: string;
3109
- };
3110
- } | null;
3111
- history: {
3112
- id: string;
3113
- createdAt: Date;
3114
- size: bigint;
3115
- md5: string;
3116
- storageType: "s3" | "lite";
3117
- sizeBefore: bigint;
3118
- md5Encrypted: string;
3119
- userAppUserId: string;
3120
- userAppAppId: string;
3121
- validatedAt: Date | null;
3122
- access: {
3123
- key: string;
3124
- sharedByPubKey: string;
3125
- };
3126
- }[];
3127
- parent: ({
3128
- id: string;
3129
- createdAt: Date;
3130
- deletedAt: Date | null;
3131
- name: string;
3132
- updatedAt: Date;
3133
- type: "FILE" | "FOLDER";
3134
- parentId: string | null;
3135
- isFavorite: boolean;
3136
- currentDataId: string | null;
3137
- } & {
3138
- users: [{
3139
- id: string;
3140
- lastname: string;
3141
- firstname: string;
3142
- avatar: string | null;
3143
- isSearchable: boolean;
3144
- }, "admin" | "write" | "read"][];
3145
- createdBy: {
3146
- id: string;
3147
- lastname: string;
3148
- firstname: string;
3149
- avatar: string | null;
3150
- isSearchable: boolean;
3151
- };
3152
- access: {
3153
- rights: "admin" | "write" | "read";
3154
- nameKey: string | null;
3155
- isRoot: boolean;
3156
- sharedByPubKey: string;
3157
- };
3158
- }) | null;
3159
- children: ({
3160
- id: string;
3161
- createdAt: Date;
3162
- deletedAt: Date | null;
3163
- name: string;
3164
- updatedAt: Date;
3165
- type: "FILE" | "FOLDER";
3166
- parentId: string | null;
3167
- isFavorite: boolean;
3168
- currentDataId: string | null;
3169
- } & {
3170
- users: [{
3171
- id: string;
3172
- lastname: string;
3173
- firstname: string;
3174
- avatar: string | null;
3175
- isSearchable: boolean;
3176
- }, "admin" | "write" | "read"][];
3177
- createdBy: {
2732
+ users: [{
2733
+ id: string;
2734
+ lastname: string;
2735
+ firstname: string;
2736
+ avatar: string | null;
2737
+ isSearchable: boolean;
2738
+ }, "admin" | "write" | "read"][];
2739
+ createdBy: {
3178
2740
  id: string;
3179
2741
  lastname: string;
3180
2742
  firstname: string;
@@ -16575,11 +16137,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16575
16137
  };
16576
16138
  _output_in: {
16577
16139
  plan: {
16578
- codes: string[];
16579
16140
  id: string;
16580
- kind: string;
16581
- relatedTo: "secrecy" | "secrecy_tech";
16582
- descriptorId: string;
16141
+ name: string;
16142
+ isCustomPlan?: boolean | undefined;
16143
+ canHaveDatabase?: boolean | undefined;
16583
16144
  } & {
16584
16145
  descriptor: {
16585
16146
  devsBase: bigint | null;
@@ -16624,44 +16185,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16624
16185
  id: string;
16625
16186
  } | null;
16626
16187
  };
16627
- plans: ({
16628
- codes: string[];
16629
- id: string;
16630
- kind: string;
16631
- relatedTo: "secrecy" | "secrecy_tech";
16632
- descriptorId: string;
16633
- } & {
16634
- descriptor: {
16635
- devsBase: bigint | null;
16636
- devsUnit: bigint | null;
16637
- devsPrice: number | null;
16638
- usersBase: bigint | null;
16639
- usersUnit: bigint | null;
16640
- usersPrice: number | null;
16641
- perDataSizeBase: bigint | null;
16642
- perDataSizeUnit: bigint | null;
16643
- perDataSizePrice: number | null;
16644
- bandwidthBase: bigint | null;
16645
- bandwidthUnit: bigint | null;
16646
- bandwidthPrice: number | null;
16647
- totalStorageSizeBase: bigint | null;
16648
- totalStorageSizeUnit: bigint | null;
16649
- totalStorageSizePrice: number | null;
16650
- devsMax: bigint | null;
16651
- usersMax: bigint | null;
16652
- perDataSizeMax: bigint | null;
16653
- bandwidthMax: bigint | null;
16654
- totalStorageSizeMax: bigint | null;
16655
- };
16656
- })[];
16657
16188
  };
16658
16189
  _output_out: {
16659
16190
  plan: {
16660
- codes: string[];
16661
16191
  id: string;
16662
- kind: string;
16663
- relatedTo: "secrecy" | "secrecy_tech";
16664
- descriptorId: string;
16192
+ name: string;
16193
+ isCustomPlan: boolean;
16194
+ canHaveDatabase: boolean;
16665
16195
  } & {
16666
16196
  descriptor: {
16667
16197
  devsBase: bigint | null;
@@ -16706,36 +16236,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16706
16236
  id: string;
16707
16237
  } | null;
16708
16238
  };
16709
- plans: ({
16710
- codes: string[];
16711
- id: string;
16712
- kind: string;
16713
- relatedTo: "secrecy" | "secrecy_tech";
16714
- descriptorId: string;
16715
- } & {
16716
- descriptor: {
16717
- devsBase: bigint | null;
16718
- devsUnit: bigint | null;
16719
- devsPrice: number | null;
16720
- usersBase: bigint | null;
16721
- usersUnit: bigint | null;
16722
- usersPrice: number | null;
16723
- perDataSizeBase: bigint | null;
16724
- perDataSizeUnit: bigint | null;
16725
- perDataSizePrice: number | null;
16726
- bandwidthBase: bigint | null;
16727
- bandwidthUnit: bigint | null;
16728
- bandwidthPrice: number | null;
16729
- totalStorageSizeBase: bigint | null;
16730
- totalStorageSizeUnit: bigint | null;
16731
- totalStorageSizePrice: number | null;
16732
- devsMax: bigint | null;
16733
- usersMax: bigint | null;
16734
- perDataSizeMax: bigint | null;
16735
- bandwidthMax: bigint | null;
16736
- totalStorageSizeMax: bigint | null;
16737
- };
16738
- })[];
16739
16239
  };
16740
16240
  }, unknown>;
16741
16241
  applications: _trpc_server.BuildProcedure<"query", {
@@ -16768,116 +16268,33 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16768
16268
  message: string;
16769
16269
  code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
16770
16270
  };
16771
- transformer: typeof superjson.default;
16772
- }>;
16773
- _meta: object;
16774
- _ctx_out: {
16775
- session: SecrecySession;
16776
- req: {
16777
- headers: Headers;
16778
- body: ReadableStream<Uint8Array> | null;
16779
- };
16780
- res: {
16781
- headers: Headers;
16782
- };
16783
- locale: Locales;
16784
- ls: TranslationFunctions;
16785
- };
16786
- _input_in: {
16787
- sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
16788
- };
16789
- _input_out: {
16790
- sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
16791
- };
16792
- _output_in: {
16793
- plan: {
16794
- codes: string[];
16795
- id: string;
16796
- kind: string;
16797
- relatedTo: "secrecy" | "secrecy_tech";
16798
- descriptorId: string;
16799
- } & {
16800
- descriptor: {
16801
- devsBase: bigint | null;
16802
- devsUnit: bigint | null;
16803
- devsPrice: number | null;
16804
- usersBase: bigint | null;
16805
- usersUnit: bigint | null;
16806
- usersPrice: number | null;
16807
- perDataSizeBase: bigint | null;
16808
- perDataSizeUnit: bigint | null;
16809
- perDataSizePrice: number | null;
16810
- bandwidthBase: bigint | null;
16811
- bandwidthUnit: bigint | null;
16812
- bandwidthPrice: number | null;
16813
- totalStorageSizeBase: bigint | null;
16814
- totalStorageSizeUnit: bigint | null;
16815
- totalStorageSizePrice: number | null;
16816
- devsMax: bigint | null;
16817
- usersMax: bigint | null;
16818
- perDataSizeMax: bigint | null;
16819
- bandwidthMax: bigint | null;
16820
- totalStorageSizeMax: bigint | null;
16821
- };
16822
- };
16823
- id: string;
16824
- createdAt: Date;
16825
- users: {
16826
- userId: string;
16827
- }[];
16828
- ownerId: string;
16829
- blocked: boolean;
16830
- name: string;
16831
- color: string | null;
16832
- logo: string | null;
16833
- updatedAt: Date;
16834
- origin: string[];
16835
- planId: string | null;
16836
- quotasId: string;
16837
- metricsId: string;
16838
- owner: {
16839
- user: {
16840
- id: string;
16841
- } | null;
16842
- };
16843
- plans: ({
16844
- codes: string[];
16845
- id: string;
16846
- kind: string;
16847
- relatedTo: "secrecy" | "secrecy_tech";
16848
- descriptorId: string;
16849
- } & {
16850
- descriptor: {
16851
- devsBase: bigint | null;
16852
- devsUnit: bigint | null;
16853
- devsPrice: number | null;
16854
- usersBase: bigint | null;
16855
- usersUnit: bigint | null;
16856
- usersPrice: number | null;
16857
- perDataSizeBase: bigint | null;
16858
- perDataSizeUnit: bigint | null;
16859
- perDataSizePrice: number | null;
16860
- bandwidthBase: bigint | null;
16861
- bandwidthUnit: bigint | null;
16862
- bandwidthPrice: number | null;
16863
- totalStorageSizeBase: bigint | null;
16864
- totalStorageSizeUnit: bigint | null;
16865
- totalStorageSizePrice: number | null;
16866
- devsMax: bigint | null;
16867
- usersMax: bigint | null;
16868
- perDataSizeMax: bigint | null;
16869
- bandwidthMax: bigint | null;
16870
- totalStorageSizeMax: bigint | null;
16871
- };
16872
- })[];
16873
- }[];
16874
- _output_out: {
16271
+ transformer: typeof superjson.default;
16272
+ }>;
16273
+ _meta: object;
16274
+ _ctx_out: {
16275
+ session: SecrecySession;
16276
+ req: {
16277
+ headers: Headers;
16278
+ body: ReadableStream<Uint8Array> | null;
16279
+ };
16280
+ res: {
16281
+ headers: Headers;
16282
+ };
16283
+ locale: Locales;
16284
+ ls: TranslationFunctions;
16285
+ };
16286
+ _input_in: {
16287
+ sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
16288
+ };
16289
+ _input_out: {
16290
+ sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
16291
+ };
16292
+ _output_in: {
16875
16293
  plan: {
16876
- codes: string[];
16877
16294
  id: string;
16878
- kind: string;
16879
- relatedTo: "secrecy" | "secrecy_tech";
16880
- descriptorId: string;
16295
+ name: string;
16296
+ isCustomPlan?: boolean | undefined;
16297
+ canHaveDatabase?: boolean | undefined;
16881
16298
  } & {
16882
16299
  descriptor: {
16883
16300
  devsBase: bigint | null;
@@ -16922,12 +16339,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16922
16339
  id: string;
16923
16340
  } | null;
16924
16341
  };
16925
- plans: ({
16926
- codes: string[];
16342
+ }[];
16343
+ _output_out: {
16344
+ plan: {
16927
16345
  id: string;
16928
- kind: string;
16929
- relatedTo: "secrecy" | "secrecy_tech";
16930
- descriptorId: string;
16346
+ name: string;
16347
+ isCustomPlan: boolean;
16348
+ canHaveDatabase: boolean;
16931
16349
  } & {
16932
16350
  descriptor: {
16933
16351
  devsBase: bigint | null;
@@ -16951,80 +16369,28 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16951
16369
  bandwidthMax: bigint | null;
16952
16370
  totalStorageSizeMax: bigint | null;
16953
16371
  };
16954
- })[];
16955
- }[];
16956
- }, unknown>;
16957
- cancelSubscription: _trpc_server.BuildProcedure<"mutation", {
16958
- _config: _trpc_server.RootConfig<{
16959
- ctx: {
16960
- req: {
16961
- headers: Headers;
16962
- body: ReadableStream<Uint8Array> | null;
16963
- };
16964
- res: {
16965
- headers: Headers;
16966
- };
16967
- session: SecrecySession | null;
16968
- locale: Locales;
16969
- ls: TranslationFunctions;
16970
- };
16971
- meta: object;
16972
- errorShape: {
16973
- message: string;
16974
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
16975
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
16976
- } | {
16977
- data: {
16978
- zodError: zod.typeToFlattenedError<any, string> | null;
16979
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
16980
- httpStatus: number;
16981
- path?: string;
16982
- stack?: string;
16983
- };
16984
- message: string;
16985
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
16986
16372
  };
16987
- transformer: typeof superjson.default;
16988
- }>;
16989
- _meta: object;
16990
- _ctx_out: {
16991
- session: {
16992
- appId: string;
16993
- appPlanId: string;
16994
- appFakeUserId: string | undefined;
16995
- sessionId: string;
16996
- accountId: string;
16997
- accountInfosId: string;
16998
- accountRole: _prisma_client.AccountRole;
16373
+ id: string;
16374
+ createdAt: Date;
16375
+ users: {
16999
16376
  userId: string;
17000
- userRole: _prisma_client.UserRole;
17001
- userPlan: _prisma_client.PlanKind;
17002
- isCare?: boolean;
17003
- };
17004
- req: {
17005
- headers: Headers;
17006
- body: ReadableStream<Uint8Array> | null;
17007
- };
17008
- res: {
17009
- headers: Headers;
16377
+ }[];
16378
+ ownerId: string;
16379
+ blocked: boolean;
16380
+ name: string;
16381
+ color: string | null;
16382
+ logo: string | null;
16383
+ updatedAt: Date;
16384
+ origin: string[];
16385
+ planId: string | null;
16386
+ quotasId: string;
16387
+ metricsId: string;
16388
+ owner: {
16389
+ user: {
16390
+ id: string;
16391
+ } | null;
17010
16392
  };
17011
- locale: Locales;
17012
- ls: TranslationFunctions;
17013
- };
17014
- _input_in: {
17015
- appId: string;
17016
- prorate: boolean;
17017
- };
17018
- _input_out: {
17019
- appId: string;
17020
- prorate: boolean;
17021
- };
17022
- _output_in: {
17023
- isCancelled: boolean;
17024
- };
17025
- _output_out: {
17026
- isCancelled: boolean;
17027
- };
16393
+ }[];
17028
16394
  }, unknown>;
17029
16395
  createApplication: _trpc_server.BuildProcedure<"mutation", {
17030
16396
  _config: _trpc_server.RootConfig<{
@@ -17098,78 +16464,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
17098
16464
  id: string;
17099
16465
  };
17100
16466
  }, unknown>;
17101
- createSubscription: _trpc_server.BuildProcedure<"mutation", {
17102
- _config: _trpc_server.RootConfig<{
17103
- ctx: {
17104
- req: {
17105
- headers: Headers;
17106
- body: ReadableStream<Uint8Array> | null;
17107
- };
17108
- res: {
17109
- headers: Headers;
17110
- };
17111
- session: SecrecySession | null;
17112
- locale: Locales;
17113
- ls: TranslationFunctions;
17114
- };
17115
- meta: object;
17116
- errorShape: {
17117
- message: string;
17118
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
17119
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
17120
- } | {
17121
- data: {
17122
- zodError: zod.typeToFlattenedError<any, string> | null;
17123
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
17124
- httpStatus: number;
17125
- path?: string;
17126
- stack?: string;
17127
- };
17128
- message: string;
17129
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
17130
- };
17131
- transformer: typeof superjson.default;
17132
- }>;
17133
- _meta: object;
17134
- _ctx_out: {
17135
- session: {
17136
- appId: string;
17137
- appPlanId: string;
17138
- appFakeUserId: string | undefined;
17139
- sessionId: string;
17140
- accountId: string;
17141
- accountInfosId: string;
17142
- accountRole: _prisma_client.AccountRole;
17143
- userId: string;
17144
- userRole: _prisma_client.UserRole;
17145
- userPlan: _prisma_client.PlanKind;
17146
- isCare?: boolean;
17147
- };
17148
- req: {
17149
- headers: Headers;
17150
- body: ReadableStream<Uint8Array> | null;
17151
- };
17152
- res: {
17153
- headers: Headers;
17154
- };
17155
- locale: Locales;
17156
- ls: TranslationFunctions;
17157
- };
17158
- _input_in: {
17159
- appId: string;
17160
- planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
17161
- };
17162
- _input_out: {
17163
- appId: string;
17164
- planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
17165
- };
17166
- _output_in: {
17167
- url: string | null;
17168
- };
17169
- _output_out: {
17170
- url: string | null;
17171
- };
17172
- }, unknown>;
17173
16467
  deleteApplication: _trpc_server.BuildProcedure<"mutation", {
17174
16468
  _config: _trpc_server.RootConfig<{
17175
16469
  ctx: {
@@ -17896,6 +17190,78 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
17896
17190
  isUpdated: boolean;
17897
17191
  };
17898
17192
  }, unknown>;
17193
+ switchPlan: _trpc_server.BuildProcedure<"mutation", {
17194
+ _config: _trpc_server.RootConfig<{
17195
+ ctx: {
17196
+ req: {
17197
+ headers: Headers;
17198
+ body: ReadableStream<Uint8Array> | null;
17199
+ };
17200
+ res: {
17201
+ headers: Headers;
17202
+ };
17203
+ session: SecrecySession | null;
17204
+ locale: Locales;
17205
+ ls: TranslationFunctions;
17206
+ };
17207
+ meta: object;
17208
+ errorShape: {
17209
+ message: string;
17210
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
17211
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
17212
+ } | {
17213
+ data: {
17214
+ zodError: zod.typeToFlattenedError<any, string> | null;
17215
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
17216
+ httpStatus: number;
17217
+ path?: string;
17218
+ stack?: string;
17219
+ };
17220
+ message: string;
17221
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
17222
+ };
17223
+ transformer: typeof superjson.default;
17224
+ }>;
17225
+ _meta: object;
17226
+ _ctx_out: {
17227
+ session: {
17228
+ appId: string;
17229
+ appPlanId: string;
17230
+ appFakeUserId: string | undefined;
17231
+ sessionId: string;
17232
+ accountId: string;
17233
+ accountInfosId: string;
17234
+ accountRole: _prisma_client.AccountRole;
17235
+ userId: string;
17236
+ userRole: _prisma_client.UserRole;
17237
+ userPlan: _prisma_client.PlanKind;
17238
+ isCare?: boolean;
17239
+ };
17240
+ req: {
17241
+ headers: Headers;
17242
+ body: ReadableStream<Uint8Array> | null;
17243
+ };
17244
+ res: {
17245
+ headers: Headers;
17246
+ };
17247
+ locale: Locales;
17248
+ ls: TranslationFunctions;
17249
+ };
17250
+ _input_in: {
17251
+ appId: string;
17252
+ planName: string;
17253
+ };
17254
+ _input_out: {
17255
+ appId: string;
17256
+ planName: string;
17257
+ };
17258
+ _output_in: {
17259
+ url: string | null;
17260
+ };
17261
+ _output_out: {
17262
+ url: string | null;
17263
+ };
17264
+ }, unknown>;
17899
17265
  }>;
17900
17266
  user: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
17901
17267
  ctx: {