@secrecy/trpc-api-types 1.33.0-feat-custom-tech-plan.2 → 1.33.0-fix-dashboard-lp-tech-fixes.1

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 +458 -12
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -707,7 +707,6 @@ 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;
711
710
  };
712
711
  _output_out: {
713
712
  codes: string[];
@@ -715,7 +714,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
715
714
  kind: string;
716
715
  relatedTo: "secrecy" | "secrecy_tech";
717
716
  descriptorId: string;
718
- isCustomPlan: boolean;
719
717
  };
720
718
  }, unknown>;
721
719
  plans: _trpc_server.BuildProcedure<"query", {
@@ -771,7 +769,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
771
769
  kind: string;
772
770
  relatedTo: "secrecy" | "secrecy_tech";
773
771
  descriptorId: string;
774
- isCustomPlan: boolean;
775
772
  } & {
776
773
  descriptor: {
777
774
  devsBase: bigint | null;
@@ -804,7 +801,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
804
801
  kind: string;
805
802
  relatedTo: "secrecy" | "secrecy_tech";
806
803
  descriptorId: string;
807
- isCustomPlan: boolean;
808
804
  } & {
809
805
  descriptor: {
810
806
  devsBase: bigint | null;
@@ -2513,6 +2509,464 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2513
2509
  })[];
2514
2510
  }, unknown>;
2515
2511
  }>;
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
+ }>;
2516
2970
  cloud: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2517
2971
  ctx: {
2518
2972
  req: {
@@ -16122,7 +16576,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16122
16576
  kind: string;
16123
16577
  relatedTo: "secrecy" | "secrecy_tech";
16124
16578
  descriptorId: string;
16125
- isCustomPlan: boolean;
16126
16579
  } & {
16127
16580
  descriptor: {
16128
16581
  devsBase: bigint | null;
@@ -16173,7 +16626,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16173
16626
  kind: string;
16174
16627
  relatedTo: "secrecy" | "secrecy_tech";
16175
16628
  descriptorId: string;
16176
- isCustomPlan: boolean;
16177
16629
  } & {
16178
16630
  descriptor: {
16179
16631
  devsBase: bigint | null;
@@ -16206,7 +16658,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16206
16658
  kind: string;
16207
16659
  relatedTo: "secrecy" | "secrecy_tech";
16208
16660
  descriptorId: string;
16209
- isCustomPlan: boolean;
16210
16661
  } & {
16211
16662
  descriptor: {
16212
16663
  devsBase: bigint | null;
@@ -16257,7 +16708,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16257
16708
  kind: string;
16258
16709
  relatedTo: "secrecy" | "secrecy_tech";
16259
16710
  descriptorId: string;
16260
- isCustomPlan: boolean;
16261
16711
  } & {
16262
16712
  descriptor: {
16263
16713
  devsBase: bigint | null;
@@ -16342,7 +16792,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16342
16792
  kind: string;
16343
16793
  relatedTo: "secrecy" | "secrecy_tech";
16344
16794
  descriptorId: string;
16345
- isCustomPlan: boolean;
16346
16795
  } & {
16347
16796
  descriptor: {
16348
16797
  devsBase: bigint | null;
@@ -16393,7 +16842,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16393
16842
  kind: string;
16394
16843
  relatedTo: "secrecy" | "secrecy_tech";
16395
16844
  descriptorId: string;
16396
- isCustomPlan: boolean;
16397
16845
  } & {
16398
16846
  descriptor: {
16399
16847
  devsBase: bigint | null;
@@ -16426,7 +16874,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16426
16874
  kind: string;
16427
16875
  relatedTo: "secrecy" | "secrecy_tech";
16428
16876
  descriptorId: string;
16429
- isCustomPlan: boolean;
16430
16877
  } & {
16431
16878
  descriptor: {
16432
16879
  devsBase: bigint | null;
@@ -16477,7 +16924,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16477
16924
  kind: string;
16478
16925
  relatedTo: "secrecy" | "secrecy_tech";
16479
16926
  descriptorId: string;
16480
- isCustomPlan: boolean;
16481
16927
  } & {
16482
16928
  descriptor: {
16483
16929
  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-feat-custom-tech-plan.2",
3
+ "version": "1.33.0-fix-dashboard-lp-tech-fixes.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"