@secrecy/trpc-api-types 1.33.0-dev.4 → 1.33.0-feat-custom-tech-plan.2

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 +12 -458
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -707,6 +707,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
707
707
  kind: string;
708
708
  relatedTo: "secrecy" | "secrecy_tech";
709
709
  descriptorId: string;
710
+ isCustomPlan: boolean;
710
711
  };
711
712
  _output_out: {
712
713
  codes: string[];
@@ -714,6 +715,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
714
715
  kind: string;
715
716
  relatedTo: "secrecy" | "secrecy_tech";
716
717
  descriptorId: string;
718
+ isCustomPlan: boolean;
717
719
  };
718
720
  }, unknown>;
719
721
  plans: _trpc_server.BuildProcedure<"query", {
@@ -769,6 +771,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
769
771
  kind: string;
770
772
  relatedTo: "secrecy" | "secrecy_tech";
771
773
  descriptorId: string;
774
+ isCustomPlan: boolean;
772
775
  } & {
773
776
  descriptor: {
774
777
  devsBase: bigint | null;
@@ -801,6 +804,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
801
804
  kind: string;
802
805
  relatedTo: "secrecy" | "secrecy_tech";
803
806
  descriptorId: string;
807
+ isCustomPlan: boolean;
804
808
  } & {
805
809
  descriptor: {
806
810
  devsBase: bigint | null;
@@ -2509,464 +2513,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2509
2513
  })[];
2510
2514
  }, unknown>;
2511
2515
  }>;
2512
- care: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2513
- ctx: {
2514
- req: {
2515
- headers: Headers;
2516
- body: ReadableStream<Uint8Array> | null;
2517
- };
2518
- res: {
2519
- headers: Headers;
2520
- };
2521
- session: SecrecySession | null;
2522
- locale: Locales;
2523
- ls: TranslationFunctions;
2524
- };
2525
- meta: object;
2526
- errorShape: {
2527
- message: string;
2528
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2529
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2530
- } | {
2531
- data: {
2532
- zodError: zod.typeToFlattenedError<any, string> | null;
2533
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2534
- httpStatus: number;
2535
- path?: string;
2536
- stack?: string;
2537
- };
2538
- message: string;
2539
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2540
- };
2541
- transformer: typeof superjson.default;
2542
- }>, {
2543
- professional: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2544
- ctx: {
2545
- req: {
2546
- headers: Headers;
2547
- body: ReadableStream<Uint8Array> | null;
2548
- };
2549
- res: {
2550
- headers: Headers;
2551
- };
2552
- session: SecrecySession | null;
2553
- locale: Locales;
2554
- ls: TranslationFunctions;
2555
- };
2556
- meta: object;
2557
- errorShape: {
2558
- message: string;
2559
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2560
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2561
- } | {
2562
- data: {
2563
- zodError: zod.typeToFlattenedError<any, string> | null;
2564
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2565
- httpStatus: number;
2566
- path?: string;
2567
- stack?: string;
2568
- };
2569
- message: string;
2570
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2571
- };
2572
- transformer: typeof superjson.default;
2573
- }>, {
2574
- register: _trpc_server.BuildProcedure<"mutation", {
2575
- _config: _trpc_server.RootConfig<{
2576
- ctx: {
2577
- req: {
2578
- headers: Headers;
2579
- body: ReadableStream<Uint8Array> | null;
2580
- };
2581
- res: {
2582
- headers: Headers;
2583
- };
2584
- session: SecrecySession | null;
2585
- locale: Locales;
2586
- ls: TranslationFunctions;
2587
- };
2588
- meta: object;
2589
- errorShape: {
2590
- message: string;
2591
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2592
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2593
- } | {
2594
- data: {
2595
- zodError: zod.typeToFlattenedError<any, string> | null;
2596
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2597
- httpStatus: number;
2598
- path?: string;
2599
- stack?: string;
2600
- };
2601
- message: string;
2602
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2603
- };
2604
- transformer: typeof superjson.default;
2605
- }>;
2606
- _meta: object;
2607
- _ctx_out: {
2608
- session: SecrecySession;
2609
- req: {
2610
- headers: Headers;
2611
- body: ReadableStream<Uint8Array> | null;
2612
- };
2613
- res: {
2614
- headers: Headers;
2615
- };
2616
- locale: Locales;
2617
- ls: TranslationFunctions;
2618
- };
2619
- _input_in: {
2620
- status: "active" | "inactive" | "retired" | "suspended";
2621
- job: string;
2622
- specialties: string[];
2623
- activePrescriber: boolean;
2624
- internationalPrescriberNumber: string | null;
2625
- institution: string | null;
2626
- rppsNumber: string;
2627
- adeliNumber: string;
2628
- ssNumber: string;
2629
- };
2630
- _input_out: {
2631
- status: "active" | "inactive" | "retired" | "suspended";
2632
- job: string;
2633
- specialties: string[];
2634
- activePrescriber: boolean;
2635
- internationalPrescriberNumber: string | null;
2636
- institution: string | null;
2637
- rppsNumber: string;
2638
- adeliNumber: string;
2639
- ssNumber: string;
2640
- };
2641
- _output_in: {
2642
- status: "active" | "inactive" | "retired" | "suspended";
2643
- job: string;
2644
- specialties: string[];
2645
- } & {
2646
- user: {
2647
- id: string;
2648
- lastname: string;
2649
- firstname: string;
2650
- avatar: string | null;
2651
- isSearchable: boolean;
2652
- };
2653
- };
2654
- _output_out: {
2655
- status: "active" | "inactive" | "retired" | "suspended";
2656
- job: string;
2657
- specialties: string[];
2658
- } & {
2659
- user: {
2660
- id: string;
2661
- lastname: string;
2662
- firstname: string;
2663
- avatar: string | null;
2664
- isSearchable: boolean;
2665
- };
2666
- };
2667
- }, unknown>;
2668
- update: _trpc_server.BuildProcedure<"mutation", {
2669
- _config: _trpc_server.RootConfig<{
2670
- ctx: {
2671
- req: {
2672
- headers: Headers;
2673
- body: ReadableStream<Uint8Array> | null;
2674
- };
2675
- res: {
2676
- headers: Headers;
2677
- };
2678
- session: SecrecySession | null;
2679
- locale: Locales;
2680
- ls: TranslationFunctions;
2681
- };
2682
- meta: object;
2683
- errorShape: {
2684
- message: string;
2685
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2686
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2687
- } | {
2688
- data: {
2689
- zodError: zod.typeToFlattenedError<any, string> | null;
2690
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2691
- httpStatus: number;
2692
- path?: string;
2693
- stack?: string;
2694
- };
2695
- message: string;
2696
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2697
- };
2698
- transformer: typeof superjson.default;
2699
- }>;
2700
- _meta: object;
2701
- _ctx_out: {
2702
- session: SecrecySession;
2703
- req: {
2704
- headers: Headers;
2705
- body: ReadableStream<Uint8Array> | null;
2706
- };
2707
- res: {
2708
- headers: Headers;
2709
- };
2710
- locale: Locales;
2711
- ls: TranslationFunctions;
2712
- };
2713
- _input_in: {
2714
- status: "active" | "inactive" | "retired" | "suspended";
2715
- job: string;
2716
- specialties: string[];
2717
- activePrescriber: boolean;
2718
- internationalPrescriberNumber: string | null;
2719
- institution: string | null;
2720
- rppsNumber: string;
2721
- adeliNumber: string;
2722
- ssNumber: string;
2723
- };
2724
- _input_out: {
2725
- status: "active" | "inactive" | "retired" | "suspended";
2726
- job: string;
2727
- specialties: string[];
2728
- activePrescriber: boolean;
2729
- internationalPrescriberNumber: string | null;
2730
- institution: string | null;
2731
- rppsNumber: string;
2732
- adeliNumber: string;
2733
- ssNumber: string;
2734
- };
2735
- _output_in: {
2736
- status: "active" | "inactive" | "retired" | "suspended";
2737
- job: string;
2738
- specialties: string[];
2739
- } & {
2740
- user: {
2741
- id: string;
2742
- lastname: string;
2743
- firstname: string;
2744
- avatar: string | null;
2745
- isSearchable: boolean;
2746
- };
2747
- };
2748
- _output_out: {
2749
- status: "active" | "inactive" | "retired" | "suspended";
2750
- job: string;
2751
- specialties: string[];
2752
- } & {
2753
- user: {
2754
- id: string;
2755
- lastname: string;
2756
- firstname: string;
2757
- avatar: string | null;
2758
- isSearchable: boolean;
2759
- };
2760
- };
2761
- }, unknown>;
2762
- delete: _trpc_server.BuildProcedure<"mutation", {
2763
- _config: _trpc_server.RootConfig<{
2764
- ctx: {
2765
- req: {
2766
- headers: Headers;
2767
- body: ReadableStream<Uint8Array> | null;
2768
- };
2769
- res: {
2770
- headers: Headers;
2771
- };
2772
- session: SecrecySession | null;
2773
- locale: Locales;
2774
- ls: TranslationFunctions;
2775
- };
2776
- meta: object;
2777
- errorShape: {
2778
- message: string;
2779
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2780
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2781
- } | {
2782
- data: {
2783
- zodError: zod.typeToFlattenedError<any, string> | null;
2784
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2785
- httpStatus: number;
2786
- path?: string;
2787
- stack?: string;
2788
- };
2789
- message: string;
2790
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2791
- };
2792
- transformer: typeof superjson.default;
2793
- }>;
2794
- _meta: object;
2795
- _ctx_out: {
2796
- session: SecrecySession;
2797
- req: {
2798
- headers: Headers;
2799
- body: ReadableStream<Uint8Array> | null;
2800
- };
2801
- res: {
2802
- headers: Headers;
2803
- };
2804
- locale: Locales;
2805
- ls: TranslationFunctions;
2806
- };
2807
- _input_in: {};
2808
- _input_out: {};
2809
- _output_in: {
2810
- success: boolean;
2811
- };
2812
- _output_out: {
2813
- success: boolean;
2814
- };
2815
- }, unknown>;
2816
- get: _trpc_server.BuildProcedure<"query", {
2817
- _config: _trpc_server.RootConfig<{
2818
- ctx: {
2819
- req: {
2820
- headers: Headers;
2821
- body: ReadableStream<Uint8Array> | null;
2822
- };
2823
- res: {
2824
- headers: Headers;
2825
- };
2826
- session: SecrecySession | null;
2827
- locale: Locales;
2828
- ls: TranslationFunctions;
2829
- };
2830
- meta: object;
2831
- errorShape: {
2832
- message: string;
2833
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2834
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2835
- } | {
2836
- data: {
2837
- zodError: zod.typeToFlattenedError<any, string> | null;
2838
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2839
- httpStatus: number;
2840
- path?: string;
2841
- stack?: string;
2842
- };
2843
- message: string;
2844
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2845
- };
2846
- transformer: typeof superjson.default;
2847
- }>;
2848
- _meta: object;
2849
- _ctx_out: {
2850
- session: SecrecySession;
2851
- req: {
2852
- headers: Headers;
2853
- body: ReadableStream<Uint8Array> | null;
2854
- };
2855
- res: {
2856
- headers: Headers;
2857
- };
2858
- locale: Locales;
2859
- ls: TranslationFunctions;
2860
- };
2861
- _input_in: {
2862
- id: string;
2863
- };
2864
- _input_out: {
2865
- id: string;
2866
- };
2867
- _output_in: {
2868
- status: "active" | "inactive" | "retired" | "suspended";
2869
- job: string;
2870
- specialties: string[];
2871
- } & {
2872
- user: {
2873
- id: string;
2874
- lastname: string;
2875
- firstname: string;
2876
- avatar: string | null;
2877
- isSearchable: boolean;
2878
- };
2879
- };
2880
- _output_out: {
2881
- status: "active" | "inactive" | "retired" | "suspended";
2882
- job: string;
2883
- specialties: string[];
2884
- } & {
2885
- user: {
2886
- id: string;
2887
- lastname: string;
2888
- firstname: string;
2889
- avatar: string | null;
2890
- isSearchable: boolean;
2891
- };
2892
- };
2893
- }, unknown>;
2894
- list: _trpc_server.BuildProcedure<"query", {
2895
- _config: _trpc_server.RootConfig<{
2896
- ctx: {
2897
- req: {
2898
- headers: Headers;
2899
- body: ReadableStream<Uint8Array> | null;
2900
- };
2901
- res: {
2902
- headers: Headers;
2903
- };
2904
- session: SecrecySession | null;
2905
- locale: Locales;
2906
- ls: TranslationFunctions;
2907
- };
2908
- meta: object;
2909
- errorShape: {
2910
- message: string;
2911
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2912
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
2913
- } | {
2914
- data: {
2915
- zodError: zod.typeToFlattenedError<any, string> | null;
2916
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2917
- httpStatus: number;
2918
- path?: string;
2919
- stack?: string;
2920
- };
2921
- message: string;
2922
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2923
- };
2924
- transformer: typeof superjson.default;
2925
- }>;
2926
- _meta: object;
2927
- _ctx_out: {
2928
- session: SecrecySession;
2929
- req: {
2930
- headers: Headers;
2931
- body: ReadableStream<Uint8Array> | null;
2932
- };
2933
- res: {
2934
- headers: Headers;
2935
- };
2936
- locale: Locales;
2937
- ls: TranslationFunctions;
2938
- };
2939
- _input_in: {};
2940
- _input_out: {};
2941
- _output_in: ({
2942
- status: "active" | "inactive" | "retired" | "suspended";
2943
- job: string;
2944
- specialties: string[];
2945
- } & {
2946
- user: {
2947
- id: string;
2948
- lastname: string;
2949
- firstname: string;
2950
- avatar: string | null;
2951
- isSearchable: boolean;
2952
- };
2953
- })[];
2954
- _output_out: ({
2955
- status: "active" | "inactive" | "retired" | "suspended";
2956
- job: string;
2957
- specialties: string[];
2958
- } & {
2959
- user: {
2960
- id: string;
2961
- lastname: string;
2962
- firstname: string;
2963
- avatar: string | null;
2964
- isSearchable: boolean;
2965
- };
2966
- })[];
2967
- }, unknown>;
2968
- }>;
2969
- }>;
2970
2516
  cloud: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2971
2517
  ctx: {
2972
2518
  req: {
@@ -16576,6 +16122,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16576
16122
  kind: string;
16577
16123
  relatedTo: "secrecy" | "secrecy_tech";
16578
16124
  descriptorId: string;
16125
+ isCustomPlan: boolean;
16579
16126
  } & {
16580
16127
  descriptor: {
16581
16128
  devsBase: bigint | null;
@@ -16626,6 +16173,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16626
16173
  kind: string;
16627
16174
  relatedTo: "secrecy" | "secrecy_tech";
16628
16175
  descriptorId: string;
16176
+ isCustomPlan: boolean;
16629
16177
  } & {
16630
16178
  descriptor: {
16631
16179
  devsBase: bigint | null;
@@ -16658,6 +16206,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16658
16206
  kind: string;
16659
16207
  relatedTo: "secrecy" | "secrecy_tech";
16660
16208
  descriptorId: string;
16209
+ isCustomPlan: boolean;
16661
16210
  } & {
16662
16211
  descriptor: {
16663
16212
  devsBase: bigint | null;
@@ -16708,6 +16257,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16708
16257
  kind: string;
16709
16258
  relatedTo: "secrecy" | "secrecy_tech";
16710
16259
  descriptorId: string;
16260
+ isCustomPlan: boolean;
16711
16261
  } & {
16712
16262
  descriptor: {
16713
16263
  devsBase: bigint | null;
@@ -16792,6 +16342,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16792
16342
  kind: string;
16793
16343
  relatedTo: "secrecy" | "secrecy_tech";
16794
16344
  descriptorId: string;
16345
+ isCustomPlan: boolean;
16795
16346
  } & {
16796
16347
  descriptor: {
16797
16348
  devsBase: bigint | null;
@@ -16842,6 +16393,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16842
16393
  kind: string;
16843
16394
  relatedTo: "secrecy" | "secrecy_tech";
16844
16395
  descriptorId: string;
16396
+ isCustomPlan: boolean;
16845
16397
  } & {
16846
16398
  descriptor: {
16847
16399
  devsBase: bigint | null;
@@ -16874,6 +16426,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16874
16426
  kind: string;
16875
16427
  relatedTo: "secrecy" | "secrecy_tech";
16876
16428
  descriptorId: string;
16429
+ isCustomPlan: boolean;
16877
16430
  } & {
16878
16431
  descriptor: {
16879
16432
  devsBase: bigint | null;
@@ -16924,6 +16477,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16924
16477
  kind: string;
16925
16478
  relatedTo: "secrecy" | "secrecy_tech";
16926
16479
  descriptorId: string;
16480
+ isCustomPlan: boolean;
16927
16481
  } & {
16928
16482
  descriptor: {
16929
16483
  devsBase: bigint | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-dev.4",
3
+ "version": "1.33.0-feat-custom-tech-plan.2",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"