@secrecy/trpc-api-types 1.33.0-feat-custom-tech-plan.1 → 1.33.0-fix-front-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 -4
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -2509,6 +2509,464 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2509
2509
  })[];
2510
2510
  }, unknown>;
2511
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
+ }>;
2512
2970
  cloud: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2513
2971
  ctx: {
2514
2972
  req: {
@@ -16154,7 +16612,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16154
16612
  logo: string | null;
16155
16613
  updatedAt: Date;
16156
16614
  origin: string[];
16157
- isCustomPlan: boolean;
16158
16615
  planId: string | null;
16159
16616
  quotasId: string;
16160
16617
  metricsId: string;
@@ -16237,7 +16694,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16237
16694
  logo: string | null;
16238
16695
  updatedAt: Date;
16239
16696
  origin: string[];
16240
- isCustomPlan: boolean;
16241
16697
  planId: string | null;
16242
16698
  quotasId: string;
16243
16699
  metricsId: string;
@@ -16372,7 +16828,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16372
16828
  logo: string | null;
16373
16829
  updatedAt: Date;
16374
16830
  origin: string[];
16375
- isCustomPlan: boolean;
16376
16831
  planId: string | null;
16377
16832
  quotasId: string;
16378
16833
  metricsId: string;
@@ -16455,7 +16910,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16455
16910
  logo: string | null;
16456
16911
  updatedAt: Date;
16457
16912
  origin: string[];
16458
- isCustomPlan: boolean;
16459
16913
  planId: string | null;
16460
16914
  quotasId: string;
16461
16915
  metricsId: string;
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.1",
3
+ "version": "1.33.0-fix-front-fixes.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"