@secrecy/trpc-api-types 1.19.0-dev.1 → 1.19.0-dev.11

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 +1014 -276
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -485,22 +485,62 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
485
485
  _ctx_out: {};
486
486
  _input_in: {} | undefined;
487
487
  _input_out: {} | undefined;
488
- _output_in: {
488
+ _output_in: ({
489
489
  codes: string[];
490
490
  id: string;
491
491
  kind: string;
492
492
  price: _prisma_client_runtime_library.Decimal;
493
493
  relatedTo: "secrecy_tech";
494
494
  descriptorId: string;
495
- }[];
496
- _output_out: {
495
+ } & {
496
+ descriptor: {
497
+ id: string;
498
+ devsBase: bigint | null;
499
+ devsUnit: bigint | null;
500
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
501
+ usersBase: bigint | null;
502
+ usersUnit: bigint | null;
503
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
504
+ perFileSizeBase: bigint | null;
505
+ perFileSizeUnit: bigint | null;
506
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
507
+ bandwidthBase: bigint | null;
508
+ bandwidthUnit: bigint | null;
509
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
510
+ devsMax: bigint | null;
511
+ usersMax: bigint | null;
512
+ perFileSizeMax: bigint | null;
513
+ bandwidthMax: bigint | null;
514
+ };
515
+ })[];
516
+ _output_out: ({
497
517
  codes: string[];
498
518
  id: string;
499
519
  kind: string;
500
520
  price: _prisma_client_runtime_library.Decimal;
501
521
  relatedTo: "secrecy_tech";
502
522
  descriptorId: string;
503
- }[];
523
+ } & {
524
+ descriptor: {
525
+ id: string;
526
+ devsBase: bigint | null;
527
+ devsUnit: bigint | null;
528
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
529
+ usersBase: bigint | null;
530
+ usersUnit: bigint | null;
531
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
532
+ perFileSizeBase: bigint | null;
533
+ perFileSizeUnit: bigint | null;
534
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
535
+ bandwidthBase: bigint | null;
536
+ bandwidthUnit: bigint | null;
537
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
538
+ devsMax: bigint | null;
539
+ usersMax: bigint | null;
540
+ perFileSizeMax: bigint | null;
541
+ bandwidthMax: bigint | null;
542
+ };
543
+ })[];
504
544
  }, unknown>;
505
545
  settings: _trpc_server.BuildProcedure<"query", {
506
546
  _config: _trpc_server.RootConfig<{
@@ -845,7 +885,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
845
885
  _output_in: {
846
886
  id: string;
847
887
  lastname: string;
848
- firstname: string | null;
888
+ firstname: string;
849
889
  avatar: string | null;
850
890
  isSearchable: boolean;
851
891
  } & {
@@ -856,7 +896,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
856
896
  _output_out: {
857
897
  id: string;
858
898
  lastname: string;
859
- firstname: string | null;
899
+ firstname: string;
860
900
  avatar: string | null;
861
901
  isSearchable: boolean;
862
902
  } & {
@@ -1104,7 +1144,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1104
1144
  users: {
1105
1145
  id: string;
1106
1146
  lastname: string;
1107
- firstname: string | null;
1147
+ firstname: string;
1108
1148
  }[];
1109
1149
  loginToken: string;
1110
1150
  };
@@ -1112,7 +1152,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1112
1152
  users: {
1113
1153
  id: string;
1114
1154
  lastname: string;
1115
- firstname: string | null;
1155
+ firstname: string;
1116
1156
  }[];
1117
1157
  loginToken: string;
1118
1158
  };
@@ -1926,14 +1966,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1926
1966
  users: [{
1927
1967
  id: string;
1928
1968
  lastname: string;
1929
- firstname: string | null;
1969
+ firstname: string;
1930
1970
  avatar: string | null;
1931
1971
  isSearchable: boolean;
1932
1972
  }, "admin" | "write" | "read"][];
1933
1973
  createdBy: {
1934
1974
  id: string;
1935
1975
  lastname: string;
1936
- firstname: string | null;
1976
+ firstname: string;
1937
1977
  avatar: string | null;
1938
1978
  isSearchable: boolean;
1939
1979
  };
@@ -1991,14 +2031,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1991
2031
  users: [{
1992
2032
  id: string;
1993
2033
  lastname: string;
1994
- firstname: string | null;
2034
+ firstname: string;
1995
2035
  avatar: string | null;
1996
2036
  isSearchable: boolean;
1997
2037
  }, "admin" | "write" | "read"][];
1998
2038
  createdBy: {
1999
2039
  id: string;
2000
2040
  lastname: string;
2001
- firstname: string | null;
2041
+ firstname: string;
2002
2042
  avatar: string | null;
2003
2043
  isSearchable: boolean;
2004
2044
  };
@@ -2023,14 +2063,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2023
2063
  users: [{
2024
2064
  id: string;
2025
2065
  lastname: string;
2026
- firstname: string | null;
2066
+ firstname: string;
2027
2067
  avatar: string | null;
2028
2068
  isSearchable: boolean;
2029
2069
  }, "admin" | "write" | "read"][];
2030
2070
  createdBy: {
2031
2071
  id: string;
2032
2072
  lastname: string;
2033
- firstname: string | null;
2073
+ firstname: string;
2034
2074
  avatar: string | null;
2035
2075
  isSearchable: boolean;
2036
2076
  };
@@ -2067,14 +2107,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2067
2107
  users: [{
2068
2108
  id: string;
2069
2109
  lastname: string;
2070
- firstname: string | null;
2110
+ firstname: string;
2071
2111
  avatar: string | null;
2072
2112
  isSearchable: boolean;
2073
2113
  }, "admin" | "write" | "read"][];
2074
2114
  createdBy: {
2075
2115
  id: string;
2076
2116
  lastname: string;
2077
- firstname: string | null;
2117
+ firstname: string;
2078
2118
  avatar: string | null;
2079
2119
  isSearchable: boolean;
2080
2120
  };
@@ -2132,14 +2172,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2132
2172
  users: [{
2133
2173
  id: string;
2134
2174
  lastname: string;
2135
- firstname: string | null;
2175
+ firstname: string;
2136
2176
  avatar: string | null;
2137
2177
  isSearchable: boolean;
2138
2178
  }, "admin" | "write" | "read"][];
2139
2179
  createdBy: {
2140
2180
  id: string;
2141
2181
  lastname: string;
2142
- firstname: string | null;
2182
+ firstname: string;
2143
2183
  avatar: string | null;
2144
2184
  isSearchable: boolean;
2145
2185
  };
@@ -2164,14 +2204,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2164
2204
  users: [{
2165
2205
  id: string;
2166
2206
  lastname: string;
2167
- firstname: string | null;
2207
+ firstname: string;
2168
2208
  avatar: string | null;
2169
2209
  isSearchable: boolean;
2170
2210
  }, "admin" | "write" | "read"][];
2171
2211
  createdBy: {
2172
2212
  id: string;
2173
2213
  lastname: string;
2174
- firstname: string | null;
2214
+ firstname: string;
2175
2215
  avatar: string | null;
2176
2216
  isSearchable: boolean;
2177
2217
  };
@@ -2634,14 +2674,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2634
2674
  users: [{
2635
2675
  id: string;
2636
2676
  lastname: string;
2637
- firstname: string | null;
2677
+ firstname: string;
2638
2678
  avatar: string | null;
2639
2679
  isSearchable: boolean;
2640
2680
  }, "admin" | "write" | "read"][];
2641
2681
  createdBy: {
2642
2682
  id: string;
2643
2683
  lastname: string;
2644
- firstname: string | null;
2684
+ firstname: string;
2645
2685
  avatar: string | null;
2646
2686
  isSearchable: boolean;
2647
2687
  };
@@ -2699,14 +2739,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2699
2739
  users: [{
2700
2740
  id: string;
2701
2741
  lastname: string;
2702
- firstname: string | null;
2742
+ firstname: string;
2703
2743
  avatar: string | null;
2704
2744
  isSearchable: boolean;
2705
2745
  }, "admin" | "write" | "read"][];
2706
2746
  createdBy: {
2707
2747
  id: string;
2708
2748
  lastname: string;
2709
- firstname: string | null;
2749
+ firstname: string;
2710
2750
  avatar: string | null;
2711
2751
  isSearchable: boolean;
2712
2752
  };
@@ -2731,14 +2771,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2731
2771
  users: [{
2732
2772
  id: string;
2733
2773
  lastname: string;
2734
- firstname: string | null;
2774
+ firstname: string;
2735
2775
  avatar: string | null;
2736
2776
  isSearchable: boolean;
2737
2777
  }, "admin" | "write" | "read"][];
2738
2778
  createdBy: {
2739
2779
  id: string;
2740
2780
  lastname: string;
2741
- firstname: string | null;
2781
+ firstname: string;
2742
2782
  avatar: string | null;
2743
2783
  isSearchable: boolean;
2744
2784
  };
@@ -2775,14 +2815,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2775
2815
  users: [{
2776
2816
  id: string;
2777
2817
  lastname: string;
2778
- firstname: string | null;
2818
+ firstname: string;
2779
2819
  avatar: string | null;
2780
2820
  isSearchable: boolean;
2781
2821
  }, "admin" | "write" | "read"][];
2782
2822
  createdBy: {
2783
2823
  id: string;
2784
2824
  lastname: string;
2785
- firstname: string | null;
2825
+ firstname: string;
2786
2826
  avatar: string | null;
2787
2827
  isSearchable: boolean;
2788
2828
  };
@@ -2840,14 +2880,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2840
2880
  users: [{
2841
2881
  id: string;
2842
2882
  lastname: string;
2843
- firstname: string | null;
2883
+ firstname: string;
2844
2884
  avatar: string | null;
2845
2885
  isSearchable: boolean;
2846
2886
  }, "admin" | "write" | "read"][];
2847
2887
  createdBy: {
2848
2888
  id: string;
2849
2889
  lastname: string;
2850
- firstname: string | null;
2890
+ firstname: string;
2851
2891
  avatar: string | null;
2852
2892
  isSearchable: boolean;
2853
2893
  };
@@ -2872,14 +2912,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2872
2912
  users: [{
2873
2913
  id: string;
2874
2914
  lastname: string;
2875
- firstname: string | null;
2915
+ firstname: string;
2876
2916
  avatar: string | null;
2877
2917
  isSearchable: boolean;
2878
2918
  }, "admin" | "write" | "read"][];
2879
2919
  createdBy: {
2880
2920
  id: string;
2881
2921
  lastname: string;
2882
- firstname: string | null;
2922
+ firstname: string;
2883
2923
  avatar: string | null;
2884
2924
  isSearchable: boolean;
2885
2925
  };
@@ -3174,14 +3214,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3174
3214
  users: [{
3175
3215
  id: string;
3176
3216
  lastname: string;
3177
- firstname: string | null;
3217
+ firstname: string;
3178
3218
  avatar: string | null;
3179
3219
  isSearchable: boolean;
3180
3220
  }, "admin" | "write" | "read"][];
3181
3221
  createdBy: {
3182
3222
  id: string;
3183
3223
  lastname: string;
3184
- firstname: string | null;
3224
+ firstname: string;
3185
3225
  avatar: string | null;
3186
3226
  isSearchable: boolean;
3187
3227
  };
@@ -3239,14 +3279,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3239
3279
  users: [{
3240
3280
  id: string;
3241
3281
  lastname: string;
3242
- firstname: string | null;
3282
+ firstname: string;
3243
3283
  avatar: string | null;
3244
3284
  isSearchable: boolean;
3245
3285
  }, "admin" | "write" | "read"][];
3246
3286
  createdBy: {
3247
3287
  id: string;
3248
3288
  lastname: string;
3249
- firstname: string | null;
3289
+ firstname: string;
3250
3290
  avatar: string | null;
3251
3291
  isSearchable: boolean;
3252
3292
  };
@@ -3271,14 +3311,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3271
3311
  users: [{
3272
3312
  id: string;
3273
3313
  lastname: string;
3274
- firstname: string | null;
3314
+ firstname: string;
3275
3315
  avatar: string | null;
3276
3316
  isSearchable: boolean;
3277
3317
  }, "admin" | "write" | "read"][];
3278
3318
  createdBy: {
3279
3319
  id: string;
3280
3320
  lastname: string;
3281
- firstname: string | null;
3321
+ firstname: string;
3282
3322
  avatar: string | null;
3283
3323
  isSearchable: boolean;
3284
3324
  };
@@ -3315,14 +3355,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3315
3355
  users: [{
3316
3356
  id: string;
3317
3357
  lastname: string;
3318
- firstname: string | null;
3358
+ firstname: string;
3319
3359
  avatar: string | null;
3320
3360
  isSearchable: boolean;
3321
3361
  }, "admin" | "write" | "read"][];
3322
3362
  createdBy: {
3323
3363
  id: string;
3324
3364
  lastname: string;
3325
- firstname: string | null;
3365
+ firstname: string;
3326
3366
  avatar: string | null;
3327
3367
  isSearchable: boolean;
3328
3368
  };
@@ -3380,14 +3420,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3380
3420
  users: [{
3381
3421
  id: string;
3382
3422
  lastname: string;
3383
- firstname: string | null;
3423
+ firstname: string;
3384
3424
  avatar: string | null;
3385
3425
  isSearchable: boolean;
3386
3426
  }, "admin" | "write" | "read"][];
3387
3427
  createdBy: {
3388
3428
  id: string;
3389
3429
  lastname: string;
3390
- firstname: string | null;
3430
+ firstname: string;
3391
3431
  avatar: string | null;
3392
3432
  isSearchable: boolean;
3393
3433
  };
@@ -3412,14 +3452,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3412
3452
  users: [{
3413
3453
  id: string;
3414
3454
  lastname: string;
3415
- firstname: string | null;
3455
+ firstname: string;
3416
3456
  avatar: string | null;
3417
3457
  isSearchable: boolean;
3418
3458
  }, "admin" | "write" | "read"][];
3419
3459
  createdBy: {
3420
3460
  id: string;
3421
3461
  lastname: string;
3422
- firstname: string | null;
3462
+ firstname: string;
3423
3463
  avatar: string | null;
3424
3464
  isSearchable: boolean;
3425
3465
  };
@@ -3800,14 +3840,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3800
3840
  users: [{
3801
3841
  id: string;
3802
3842
  lastname: string;
3803
- firstname: string | null;
3843
+ firstname: string;
3804
3844
  avatar: string | null;
3805
3845
  isSearchable: boolean;
3806
3846
  }, "admin" | "write" | "read"][];
3807
3847
  createdBy: {
3808
3848
  id: string;
3809
3849
  lastname: string;
3810
- firstname: string | null;
3850
+ firstname: string;
3811
3851
  avatar: string | null;
3812
3852
  isSearchable: boolean;
3813
3853
  };
@@ -3837,14 +3877,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3837
3877
  users: [{
3838
3878
  id: string;
3839
3879
  lastname: string;
3840
- firstname: string | null;
3880
+ firstname: string;
3841
3881
  avatar: string | null;
3842
3882
  isSearchable: boolean;
3843
3883
  }, "admin" | "write" | "read"][];
3844
3884
  createdBy: {
3845
3885
  id: string;
3846
3886
  lastname: string;
3847
- firstname: string | null;
3887
+ firstname: string;
3848
3888
  avatar: string | null;
3849
3889
  isSearchable: boolean;
3850
3890
  };
@@ -3906,14 +3946,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3906
3946
  users: [{
3907
3947
  id: string;
3908
3948
  lastname: string;
3909
- firstname: string | null;
3949
+ firstname: string;
3910
3950
  avatar: string | null;
3911
3951
  isSearchable: boolean;
3912
3952
  }, "admin" | "write" | "read"][];
3913
3953
  createdBy: {
3914
3954
  id: string;
3915
3955
  lastname: string;
3916
- firstname: string | null;
3956
+ firstname: string;
3917
3957
  avatar: string | null;
3918
3958
  isSearchable: boolean;
3919
3959
  };
@@ -3971,14 +4011,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3971
4011
  users: [{
3972
4012
  id: string;
3973
4013
  lastname: string;
3974
- firstname: string | null;
4014
+ firstname: string;
3975
4015
  avatar: string | null;
3976
4016
  isSearchable: boolean;
3977
4017
  }, "admin" | "write" | "read"][];
3978
4018
  createdBy: {
3979
4019
  id: string;
3980
4020
  lastname: string;
3981
- firstname: string | null;
4021
+ firstname: string;
3982
4022
  avatar: string | null;
3983
4023
  isSearchable: boolean;
3984
4024
  };
@@ -4003,14 +4043,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4003
4043
  users: [{
4004
4044
  id: string;
4005
4045
  lastname: string;
4006
- firstname: string | null;
4046
+ firstname: string;
4007
4047
  avatar: string | null;
4008
4048
  isSearchable: boolean;
4009
4049
  }, "admin" | "write" | "read"][];
4010
4050
  createdBy: {
4011
4051
  id: string;
4012
4052
  lastname: string;
4013
- firstname: string | null;
4053
+ firstname: string;
4014
4054
  avatar: string | null;
4015
4055
  isSearchable: boolean;
4016
4056
  };
@@ -4047,14 +4087,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4047
4087
  users: [{
4048
4088
  id: string;
4049
4089
  lastname: string;
4050
- firstname: string | null;
4090
+ firstname: string;
4051
4091
  avatar: string | null;
4052
4092
  isSearchable: boolean;
4053
4093
  }, "admin" | "write" | "read"][];
4054
4094
  createdBy: {
4055
4095
  id: string;
4056
4096
  lastname: string;
4057
- firstname: string | null;
4097
+ firstname: string;
4058
4098
  avatar: string | null;
4059
4099
  isSearchable: boolean;
4060
4100
  };
@@ -4112,14 +4152,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4112
4152
  users: [{
4113
4153
  id: string;
4114
4154
  lastname: string;
4115
- firstname: string | null;
4155
+ firstname: string;
4116
4156
  avatar: string | null;
4117
4157
  isSearchable: boolean;
4118
4158
  }, "admin" | "write" | "read"][];
4119
4159
  createdBy: {
4120
4160
  id: string;
4121
4161
  lastname: string;
4122
- firstname: string | null;
4162
+ firstname: string;
4123
4163
  avatar: string | null;
4124
4164
  isSearchable: boolean;
4125
4165
  };
@@ -4144,14 +4184,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4144
4184
  users: [{
4145
4185
  id: string;
4146
4186
  lastname: string;
4147
- firstname: string | null;
4187
+ firstname: string;
4148
4188
  avatar: string | null;
4149
4189
  isSearchable: boolean;
4150
4190
  }, "admin" | "write" | "read"][];
4151
4191
  createdBy: {
4152
4192
  id: string;
4153
4193
  lastname: string;
4154
- firstname: string | null;
4194
+ firstname: string;
4155
4195
  avatar: string | null;
4156
4196
  isSearchable: boolean;
4157
4197
  };
@@ -4252,14 +4292,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4252
4292
  users: [{
4253
4293
  id: string;
4254
4294
  lastname: string;
4255
- firstname: string | null;
4295
+ firstname: string;
4256
4296
  avatar: string | null;
4257
4297
  isSearchable: boolean;
4258
4298
  }, "admin" | "write" | "read"][];
4259
4299
  createdBy: {
4260
4300
  id: string;
4261
4301
  lastname: string;
4262
- firstname: string | null;
4302
+ firstname: string;
4263
4303
  avatar: string | null;
4264
4304
  isSearchable: boolean;
4265
4305
  };
@@ -4284,14 +4324,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4284
4324
  users: [{
4285
4325
  id: string;
4286
4326
  lastname: string;
4287
- firstname: string | null;
4327
+ firstname: string;
4288
4328
  avatar: string | null;
4289
4329
  isSearchable: boolean;
4290
4330
  }, "admin" | "write" | "read"][];
4291
4331
  createdBy: {
4292
4332
  id: string;
4293
4333
  lastname: string;
4294
- firstname: string | null;
4334
+ firstname: string;
4295
4335
  avatar: string | null;
4296
4336
  isSearchable: boolean;
4297
4337
  };
@@ -4346,14 +4386,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4346
4386
  users: [{
4347
4387
  id: string;
4348
4388
  lastname: string;
4349
- firstname: string | null;
4389
+ firstname: string;
4350
4390
  avatar: string | null;
4351
4391
  isSearchable: boolean;
4352
4392
  }, "admin" | "write" | "read"][];
4353
4393
  createdBy: {
4354
4394
  id: string;
4355
4395
  lastname: string;
4356
- firstname: string | null;
4396
+ firstname: string;
4357
4397
  avatar: string | null;
4358
4398
  isSearchable: boolean;
4359
4399
  };
@@ -4378,14 +4418,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4378
4418
  users: [{
4379
4419
  id: string;
4380
4420
  lastname: string;
4381
- firstname: string | null;
4421
+ firstname: string;
4382
4422
  avatar: string | null;
4383
4423
  isSearchable: boolean;
4384
4424
  }, "admin" | "write" | "read"][];
4385
4425
  createdBy: {
4386
4426
  id: string;
4387
4427
  lastname: string;
4388
- firstname: string | null;
4428
+ firstname: string;
4389
4429
  avatar: string | null;
4390
4430
  isSearchable: boolean;
4391
4431
  };
@@ -4436,14 +4476,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4436
4476
  users: [{
4437
4477
  id: string;
4438
4478
  lastname: string;
4439
- firstname: string | null;
4479
+ firstname: string;
4440
4480
  avatar: string | null;
4441
4481
  isSearchable: boolean;
4442
4482
  }, "admin" | "write" | "read"][];
4443
4483
  createdBy: {
4444
4484
  id: string;
4445
4485
  lastname: string;
4446
- firstname: string | null;
4486
+ firstname: string;
4447
4487
  avatar: string | null;
4448
4488
  isSearchable: boolean;
4449
4489
  };
@@ -4468,14 +4508,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4468
4508
  users: [{
4469
4509
  id: string;
4470
4510
  lastname: string;
4471
- firstname: string | null;
4511
+ firstname: string;
4472
4512
  avatar: string | null;
4473
4513
  isSearchable: boolean;
4474
4514
  }, "admin" | "write" | "read"][];
4475
4515
  createdBy: {
4476
4516
  id: string;
4477
4517
  lastname: string;
4478
- firstname: string | null;
4518
+ firstname: string;
4479
4519
  avatar: string | null;
4480
4520
  isSearchable: boolean;
4481
4521
  };
@@ -4554,7 +4594,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4554
4594
  id: string;
4555
4595
  key: string;
4556
4596
  }[];
4557
- nameKey: string;
4597
+ nameKey: string | null;
4558
4598
  }[];
4559
4599
  rights: "admin" | "write" | "read";
4560
4600
  };
@@ -4566,7 +4606,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4566
4606
  id: string;
4567
4607
  key: string;
4568
4608
  }[];
4569
- nameKey: string;
4609
+ nameKey: string | null;
4570
4610
  }[];
4571
4611
  rights: "admin" | "write" | "read";
4572
4612
  };
@@ -4664,14 +4704,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4664
4704
  users: [{
4665
4705
  id: string;
4666
4706
  lastname: string;
4667
- firstname: string | null;
4707
+ firstname: string;
4668
4708
  avatar: string | null;
4669
4709
  isSearchable: boolean;
4670
4710
  }, "admin" | "write" | "read"][];
4671
4711
  createdBy: {
4672
4712
  id: string;
4673
4713
  lastname: string;
4674
- firstname: string | null;
4714
+ firstname: string;
4675
4715
  avatar: string | null;
4676
4716
  isSearchable: boolean;
4677
4717
  };
@@ -4729,14 +4769,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4729
4769
  users: [{
4730
4770
  id: string;
4731
4771
  lastname: string;
4732
- firstname: string | null;
4772
+ firstname: string;
4733
4773
  avatar: string | null;
4734
4774
  isSearchable: boolean;
4735
4775
  }, "admin" | "write" | "read"][];
4736
4776
  createdBy: {
4737
4777
  id: string;
4738
4778
  lastname: string;
4739
- firstname: string | null;
4779
+ firstname: string;
4740
4780
  avatar: string | null;
4741
4781
  isSearchable: boolean;
4742
4782
  };
@@ -4761,14 +4801,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4761
4801
  users: [{
4762
4802
  id: string;
4763
4803
  lastname: string;
4764
- firstname: string | null;
4804
+ firstname: string;
4765
4805
  avatar: string | null;
4766
4806
  isSearchable: boolean;
4767
4807
  }, "admin" | "write" | "read"][];
4768
4808
  createdBy: {
4769
4809
  id: string;
4770
4810
  lastname: string;
4771
- firstname: string | null;
4811
+ firstname: string;
4772
4812
  avatar: string | null;
4773
4813
  isSearchable: boolean;
4774
4814
  };
@@ -4805,14 +4845,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4805
4845
  users: [{
4806
4846
  id: string;
4807
4847
  lastname: string;
4808
- firstname: string | null;
4848
+ firstname: string;
4809
4849
  avatar: string | null;
4810
4850
  isSearchable: boolean;
4811
4851
  }, "admin" | "write" | "read"][];
4812
4852
  createdBy: {
4813
4853
  id: string;
4814
4854
  lastname: string;
4815
- firstname: string | null;
4855
+ firstname: string;
4816
4856
  avatar: string | null;
4817
4857
  isSearchable: boolean;
4818
4858
  };
@@ -4870,14 +4910,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4870
4910
  users: [{
4871
4911
  id: string;
4872
4912
  lastname: string;
4873
- firstname: string | null;
4913
+ firstname: string;
4874
4914
  avatar: string | null;
4875
4915
  isSearchable: boolean;
4876
4916
  }, "admin" | "write" | "read"][];
4877
4917
  createdBy: {
4878
4918
  id: string;
4879
4919
  lastname: string;
4880
- firstname: string | null;
4920
+ firstname: string;
4881
4921
  avatar: string | null;
4882
4922
  isSearchable: boolean;
4883
4923
  };
@@ -4902,14 +4942,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4902
4942
  users: [{
4903
4943
  id: string;
4904
4944
  lastname: string;
4905
- firstname: string | null;
4945
+ firstname: string;
4906
4946
  avatar: string | null;
4907
4947
  isSearchable: boolean;
4908
4948
  }, "admin" | "write" | "read"][];
4909
4949
  createdBy: {
4910
4950
  id: string;
4911
4951
  lastname: string;
4912
- firstname: string | null;
4952
+ firstname: string;
4913
4953
  avatar: string | null;
4914
4954
  isSearchable: boolean;
4915
4955
  };
@@ -4982,14 +5022,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4982
5022
  _output_in: {
4983
5023
  id: string;
4984
5024
  lastname: string;
4985
- firstname: string | null;
5025
+ firstname: string;
4986
5026
  avatar: string | null;
4987
5027
  isSearchable: boolean;
4988
5028
  }[];
4989
5029
  _output_out: {
4990
5030
  id: string;
4991
5031
  lastname: string;
4992
- firstname: string | null;
5032
+ firstname: string;
4993
5033
  avatar: string | null;
4994
5034
  isSearchable: boolean;
4995
5035
  }[];
@@ -5022,14 +5062,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5022
5062
  _output_in: {
5023
5063
  id: string;
5024
5064
  lastname: string;
5025
- firstname: string | null;
5065
+ firstname: string;
5026
5066
  avatar: string | null;
5027
5067
  isSearchable: boolean;
5028
5068
  }[];
5029
5069
  _output_out: {
5030
5070
  id: string;
5031
5071
  lastname: string;
5032
- firstname: string | null;
5072
+ firstname: string;
5033
5073
  avatar: string | null;
5034
5074
  isSearchable: boolean;
5035
5075
  }[];
@@ -5062,14 +5102,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5062
5102
  _output_in: {
5063
5103
  id: string;
5064
5104
  lastname: string;
5065
- firstname: string | null;
5105
+ firstname: string;
5066
5106
  avatar: string | null;
5067
5107
  isSearchable: boolean;
5068
5108
  }[];
5069
5109
  _output_out: {
5070
5110
  id: string;
5071
5111
  lastname: string;
5072
- firstname: string | null;
5112
+ firstname: string;
5073
5113
  avatar: string | null;
5074
5114
  isSearchable: boolean;
5075
5115
  }[];
@@ -5923,14 +5963,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5923
5963
  _input_in: {
5924
5964
  appId?: string | undefined;
5925
5965
  } & {
5926
- regionId?: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2" | undefined;
5927
5966
  pgVersion?: 16 | 15 | 14 | undefined;
5967
+ regionId?: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2" | undefined;
5928
5968
  };
5929
5969
  _input_out: {
5930
5970
  appId?: string | undefined;
5931
5971
  } & {
5932
- regionId: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2";
5933
5972
  pgVersion: 16 | 15 | 14;
5973
+ regionId: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2";
5934
5974
  };
5935
5975
  _output_in: {
5936
5976
  isCreated: boolean;
@@ -5939,6 +5979,64 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5939
5979
  isCreated: boolean;
5940
5980
  };
5941
5981
  }, unknown>;
5982
+ delete: _trpc_server.BuildProcedure<"mutation", {
5983
+ _config: _trpc_server.RootConfig<{
5984
+ ctx: {};
5985
+ meta: object;
5986
+ errorShape: {
5987
+ message: string;
5988
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
5989
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
5990
+ } | {
5991
+ data: {
5992
+ zodError: zod.typeToFlattenedError<any, string> | null;
5993
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
5994
+ httpStatus: number;
5995
+ path?: string | undefined;
5996
+ stack?: string | undefined;
5997
+ };
5998
+ message: string;
5999
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
6000
+ };
6001
+ transformer: typeof superjson.default;
6002
+ }>;
6003
+ _meta: object;
6004
+ _ctx_out: {
6005
+ session: {
6006
+ appId: string;
6007
+ appPlanId: string | null;
6008
+ appFakeUserId: string | undefined;
6009
+ sessionId: string;
6010
+ accountId: string;
6011
+ accountInfosId: string;
6012
+ accountRole: _prisma_client.$Enums.AccountRole;
6013
+ userId: string;
6014
+ userRole: _prisma_client.$Enums.UserRole;
6015
+ userPlan: _prisma_client.$Enums.PlanKind;
6016
+ isCare?: boolean | undefined;
6017
+ };
6018
+ req: {
6019
+ headers: Headers;
6020
+ };
6021
+ res: {
6022
+ headers: Headers;
6023
+ };
6024
+ locale: Locales;
6025
+ ls: TranslationFunctions;
6026
+ };
6027
+ _input_in: {
6028
+ appId?: string | undefined;
6029
+ } & {};
6030
+ _input_out: {
6031
+ appId?: string | undefined;
6032
+ } & {};
6033
+ _output_in: {
6034
+ isDeleted: boolean;
6035
+ };
6036
+ _output_out: {
6037
+ isDeleted: boolean;
6038
+ };
6039
+ }, unknown>;
5942
6040
  hasProject: _trpc_server.BuildProcedure<"query", {
5943
6041
  _config: _trpc_server.RootConfig<{
5944
6042
  ctx: {};
@@ -6243,7 +6341,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6243
6341
  branchLogicalSizeLimitBytes: number;
6244
6342
  };
6245
6343
  }, unknown>;
6246
- quotas: _trpc_server.BuildProcedure<"query", {
6344
+ details: _trpc_server.BuildProcedure<"query", {
6247
6345
  _config: _trpc_server.RootConfig<{
6248
6346
  ctx: {};
6249
6347
  meta: object;
@@ -6295,42 +6393,115 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6295
6393
  appId?: string | undefined;
6296
6394
  } & {};
6297
6395
  _output_in: {
6298
- activeTimeSeconds?: number | undefined;
6299
- computeTimeSeconds?: number | undefined;
6300
- writtenDataBytes?: number | undefined;
6301
- dataTransferBytes?: number | undefined;
6302
- logicalSizeBytes?: number | undefined;
6396
+ id: string;
6397
+ name: string;
6398
+ } & {
6399
+ createdAt: string;
6400
+ ownerId: string;
6401
+ updatedAt: string;
6402
+ activeTimeSeconds: number;
6403
+ computeTimeSeconds: number;
6404
+ writtenDataBytes: number;
6405
+ dataTransferBytes: number;
6406
+ dataStorageBytesHour: number;
6407
+ branchLogicalSizeLimit: number;
6408
+ branchLogicalSizeLimitBytes: number;
6409
+ comsumptionPeriodStart: string;
6410
+ comsumptionPeriodEnd: string;
6411
+ creationSource: string;
6412
+ historyRetentionSeconds: number;
6413
+ pgVersion: number;
6414
+ platformId: string;
6415
+ provisioner: "k8s-pod" | "k8s-neonvm";
6416
+ proxyHost: string;
6417
+ regionId: string;
6418
+ storePasswords: boolean;
6419
+ settings?: {
6420
+ allowedIps?: {
6421
+ primarBranchOnly: boolean;
6422
+ ips?: string[] | undefined;
6423
+ } | undefined;
6424
+ quota?: {
6425
+ activeTimeSeconds?: number | undefined;
6426
+ computeTimeSeconds?: number | undefined;
6427
+ writtenDataBytes?: number | undefined;
6428
+ dataTransferBytes?: number | undefined;
6429
+ logicalSizeBytes?: number | undefined;
6430
+ } | undefined;
6431
+ enableLogicalReplication?: boolean | undefined;
6432
+ } | undefined;
6433
+ owner?: {
6434
+ email: string;
6435
+ branchesLimit: number;
6436
+ subscriptionType: "free" | "pro" | "UNKNOWN" | "direct_sales" | "aws_marketplace" | "free_v2" | "launch" | "scale";
6437
+ } | undefined;
6438
+ computeLastActiveAt?: string | undefined;
6439
+ defaultEndpointSettings?: {
6440
+ autoScalingLimitMinCu?: number | undefined;
6441
+ autoScalingLimitMaxCu?: number | undefined;
6442
+ suspendTimeoutSeconds?: number | undefined;
6443
+ pgSettings?: Record<string, string> | undefined;
6444
+ pgBouncerSettings?: Record<string, string> | undefined;
6445
+ } | undefined;
6446
+ maintenanceStartAt?: string | undefined;
6447
+ syntheticStorageSize?: number | undefined;
6303
6448
  };
6304
6449
  _output_out: {
6305
- activeTimeSeconds?: number | undefined;
6306
- computeTimeSeconds?: number | undefined;
6307
- writtenDataBytes?: number | undefined;
6308
- dataTransferBytes?: number | undefined;
6309
- logicalSizeBytes?: number | undefined;
6450
+ id: string;
6451
+ name: string;
6452
+ } & {
6453
+ createdAt: string;
6454
+ ownerId: string;
6455
+ updatedAt: string;
6456
+ activeTimeSeconds: number;
6457
+ computeTimeSeconds: number;
6458
+ writtenDataBytes: number;
6459
+ dataTransferBytes: number;
6460
+ dataStorageBytesHour: number;
6461
+ branchLogicalSizeLimit: number;
6462
+ branchLogicalSizeLimitBytes: number;
6463
+ comsumptionPeriodStart: string;
6464
+ comsumptionPeriodEnd: string;
6465
+ creationSource: string;
6466
+ historyRetentionSeconds: number;
6467
+ pgVersion: number;
6468
+ platformId: string;
6469
+ provisioner: "k8s-pod" | "k8s-neonvm";
6470
+ proxyHost: string;
6471
+ regionId: string;
6472
+ storePasswords: boolean;
6473
+ settings?: {
6474
+ allowedIps?: {
6475
+ primarBranchOnly: boolean;
6476
+ ips?: string[] | undefined;
6477
+ } | undefined;
6478
+ quota?: {
6479
+ activeTimeSeconds?: number | undefined;
6480
+ computeTimeSeconds?: number | undefined;
6481
+ writtenDataBytes?: number | undefined;
6482
+ dataTransferBytes?: number | undefined;
6483
+ logicalSizeBytes?: number | undefined;
6484
+ } | undefined;
6485
+ enableLogicalReplication?: boolean | undefined;
6486
+ } | undefined;
6487
+ owner?: {
6488
+ email: string;
6489
+ branchesLimit: number;
6490
+ subscriptionType: "free" | "pro" | "UNKNOWN" | "direct_sales" | "aws_marketplace" | "free_v2" | "launch" | "scale";
6491
+ } | undefined;
6492
+ computeLastActiveAt?: string | undefined;
6493
+ defaultEndpointSettings?: {
6494
+ autoScalingLimitMinCu?: number | undefined;
6495
+ autoScalingLimitMaxCu?: number | undefined;
6496
+ suspendTimeoutSeconds?: number | undefined;
6497
+ pgSettings?: Record<string, string> | undefined;
6498
+ pgBouncerSettings?: Record<string, string> | undefined;
6499
+ } | undefined;
6500
+ maintenanceStartAt?: string | undefined;
6501
+ syntheticStorageSize?: number | undefined;
6310
6502
  };
6311
6503
  }, unknown>;
6312
- }>;
6313
- branch: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
6314
- ctx: {};
6315
- meta: object;
6316
- errorShape: {
6317
- message: string;
6318
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
6319
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
6320
- } | {
6321
- data: {
6322
- zodError: zod.typeToFlattenedError<any, string> | null;
6323
- code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
6324
- httpStatus: number;
6325
- path?: string | undefined;
6326
- stack?: string | undefined;
6327
- };
6328
- message: string;
6329
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
6330
- };
6331
- transformer: typeof superjson.default;
6332
- }>, {
6333
- create: _trpc_server.BuildProcedure<"mutation", {
6504
+ quotas: _trpc_server.BuildProcedure<"query", {
6334
6505
  _config: _trpc_server.RootConfig<{
6335
6506
  ctx: {};
6336
6507
  meta: object;
@@ -6377,32 +6548,26 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6377
6548
  };
6378
6549
  _input_in: {
6379
6550
  appId?: string | undefined;
6380
- } & {
6381
- name: string;
6382
- parentId?: string | undefined;
6383
- };
6551
+ } & {};
6384
6552
  _input_out: {
6385
6553
  appId?: string | undefined;
6386
- } & {
6387
- name: string;
6388
- parentId?: string | undefined;
6389
- };
6554
+ } & {};
6390
6555
  _output_in: {
6391
- id: string;
6392
- name: string;
6393
- currentState: "init" | "ready";
6394
- isPrimary: boolean;
6395
- parentId?: string | undefined;
6556
+ activeTimeSeconds?: number | undefined;
6557
+ computeTimeSeconds?: number | undefined;
6558
+ writtenDataBytes?: number | undefined;
6559
+ dataTransferBytes?: number | undefined;
6560
+ logicalSizeBytes?: number | undefined;
6396
6561
  };
6397
6562
  _output_out: {
6398
- id: string;
6399
- name: string;
6400
- currentState: "init" | "ready";
6401
- isPrimary: boolean;
6402
- parentId?: string | undefined;
6563
+ activeTimeSeconds?: number | undefined;
6564
+ computeTimeSeconds?: number | undefined;
6565
+ writtenDataBytes?: number | undefined;
6566
+ dataTransferBytes?: number | undefined;
6567
+ logicalSizeBytes?: number | undefined;
6403
6568
  };
6404
6569
  }, unknown>;
6405
- delete: _trpc_server.BuildProcedure<"mutation", {
6570
+ update: _trpc_server.BuildProcedure<"mutation", {
6406
6571
  _config: _trpc_server.RootConfig<{
6407
6572
  ctx: {};
6408
6573
  meta: object;
@@ -6450,22 +6615,321 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6450
6615
  _input_in: {
6451
6616
  appId?: string | undefined;
6452
6617
  } & {
6453
- branchId: string;
6618
+ settings: {
6619
+ allowedIps: {
6620
+ primarBranchOnly: boolean;
6621
+ ips?: string[] | undefined;
6622
+ };
6623
+ quota: {
6624
+ activeTimeSeconds?: number | undefined;
6625
+ computeTimeSeconds?: number | undefined;
6626
+ writtenDataBytes?: number | undefined;
6627
+ dataTransferBytes?: number | undefined;
6628
+ logicalSizeBytes?: number | undefined;
6629
+ };
6630
+ enableLogicalReplication: boolean;
6631
+ };
6632
+ defaultEndpointSettings?: {
6633
+ suspendTimeoutSeconds?: number | undefined;
6634
+ pgSettings?: Record<string, string> | undefined;
6635
+ pgBouncerSettings?: Record<string, string> | undefined;
6636
+ autoscalingLimitMaxCu?: number | undefined;
6637
+ autoscalingLimitMinCu?: number | undefined;
6638
+ } | undefined;
6639
+ historyRetentionSeconds?: number | undefined;
6454
6640
  };
6455
6641
  _input_out: {
6456
6642
  appId?: string | undefined;
6457
6643
  } & {
6458
- branchId: string;
6644
+ settings: {
6645
+ allowedIps: {
6646
+ primarBranchOnly: boolean;
6647
+ ips?: string[] | undefined;
6648
+ };
6649
+ quota: {
6650
+ activeTimeSeconds?: number | undefined;
6651
+ computeTimeSeconds?: number | undefined;
6652
+ writtenDataBytes?: number | undefined;
6653
+ dataTransferBytes?: number | undefined;
6654
+ logicalSizeBytes?: number | undefined;
6655
+ };
6656
+ enableLogicalReplication: boolean;
6657
+ };
6658
+ defaultEndpointSettings?: {
6659
+ suspendTimeoutSeconds?: number | undefined;
6660
+ pgSettings?: Record<string, string> | undefined;
6661
+ pgBouncerSettings?: Record<string, string> | undefined;
6662
+ autoscalingLimitMaxCu?: number | undefined;
6663
+ autoscalingLimitMinCu?: number | undefined;
6664
+ } | undefined;
6665
+ historyRetentionSeconds?: number | undefined;
6459
6666
  };
6460
6667
  _output_in: {
6461
- isDeleted: boolean;
6668
+ id: string;
6669
+ name: string;
6670
+ } & {
6671
+ createdAt: string;
6672
+ ownerId: string;
6673
+ updatedAt: string;
6674
+ activeTimeSeconds: number;
6675
+ computeTimeSeconds: number;
6676
+ writtenDataBytes: number;
6677
+ dataTransferBytes: number;
6678
+ dataStorageBytesHour: number;
6679
+ branchLogicalSizeLimit: number;
6680
+ branchLogicalSizeLimitBytes: number;
6681
+ comsumptionPeriodStart: string;
6682
+ comsumptionPeriodEnd: string;
6683
+ creationSource: string;
6684
+ historyRetentionSeconds: number;
6685
+ pgVersion: number;
6686
+ platformId: string;
6687
+ provisioner: "k8s-pod" | "k8s-neonvm";
6688
+ proxyHost: string;
6689
+ regionId: string;
6690
+ storePasswords: boolean;
6691
+ settings?: {
6692
+ allowedIps?: {
6693
+ primarBranchOnly: boolean;
6694
+ ips?: string[] | undefined;
6695
+ } | undefined;
6696
+ quota?: {
6697
+ activeTimeSeconds?: number | undefined;
6698
+ computeTimeSeconds?: number | undefined;
6699
+ writtenDataBytes?: number | undefined;
6700
+ dataTransferBytes?: number | undefined;
6701
+ logicalSizeBytes?: number | undefined;
6702
+ } | undefined;
6703
+ enableLogicalReplication?: boolean | undefined;
6704
+ } | undefined;
6705
+ owner?: {
6706
+ email: string;
6707
+ branchesLimit: number;
6708
+ subscriptionType: "free" | "pro" | "UNKNOWN" | "direct_sales" | "aws_marketplace" | "free_v2" | "launch" | "scale";
6709
+ } | undefined;
6710
+ computeLastActiveAt?: string | undefined;
6711
+ defaultEndpointSettings?: {
6712
+ autoScalingLimitMinCu?: number | undefined;
6713
+ autoScalingLimitMaxCu?: number | undefined;
6714
+ suspendTimeoutSeconds?: number | undefined;
6715
+ pgSettings?: Record<string, string> | undefined;
6716
+ pgBouncerSettings?: Record<string, string> | undefined;
6717
+ } | undefined;
6718
+ maintenanceStartAt?: string | undefined;
6719
+ syntheticStorageSize?: number | undefined;
6462
6720
  };
6463
6721
  _output_out: {
6464
- isDeleted: boolean;
6465
- };
6466
- }, unknown>;
6467
- get: _trpc_server.BuildProcedure<"query", {
6468
- _config: _trpc_server.RootConfig<{
6722
+ id: string;
6723
+ name: string;
6724
+ } & {
6725
+ createdAt: string;
6726
+ ownerId: string;
6727
+ updatedAt: string;
6728
+ activeTimeSeconds: number;
6729
+ computeTimeSeconds: number;
6730
+ writtenDataBytes: number;
6731
+ dataTransferBytes: number;
6732
+ dataStorageBytesHour: number;
6733
+ branchLogicalSizeLimit: number;
6734
+ branchLogicalSizeLimitBytes: number;
6735
+ comsumptionPeriodStart: string;
6736
+ comsumptionPeriodEnd: string;
6737
+ creationSource: string;
6738
+ historyRetentionSeconds: number;
6739
+ pgVersion: number;
6740
+ platformId: string;
6741
+ provisioner: "k8s-pod" | "k8s-neonvm";
6742
+ proxyHost: string;
6743
+ regionId: string;
6744
+ storePasswords: boolean;
6745
+ settings?: {
6746
+ allowedIps?: {
6747
+ primarBranchOnly: boolean;
6748
+ ips?: string[] | undefined;
6749
+ } | undefined;
6750
+ quota?: {
6751
+ activeTimeSeconds?: number | undefined;
6752
+ computeTimeSeconds?: number | undefined;
6753
+ writtenDataBytes?: number | undefined;
6754
+ dataTransferBytes?: number | undefined;
6755
+ logicalSizeBytes?: number | undefined;
6756
+ } | undefined;
6757
+ enableLogicalReplication?: boolean | undefined;
6758
+ } | undefined;
6759
+ owner?: {
6760
+ email: string;
6761
+ branchesLimit: number;
6762
+ subscriptionType: "free" | "pro" | "UNKNOWN" | "direct_sales" | "aws_marketplace" | "free_v2" | "launch" | "scale";
6763
+ } | undefined;
6764
+ computeLastActiveAt?: string | undefined;
6765
+ defaultEndpointSettings?: {
6766
+ autoScalingLimitMinCu?: number | undefined;
6767
+ autoScalingLimitMaxCu?: number | undefined;
6768
+ suspendTimeoutSeconds?: number | undefined;
6769
+ pgSettings?: Record<string, string> | undefined;
6770
+ pgBouncerSettings?: Record<string, string> | undefined;
6771
+ } | undefined;
6772
+ maintenanceStartAt?: string | undefined;
6773
+ syntheticStorageSize?: number | undefined;
6774
+ };
6775
+ }, unknown>;
6776
+ }>;
6777
+ branch: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
6778
+ ctx: {};
6779
+ meta: object;
6780
+ errorShape: {
6781
+ message: string;
6782
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
6783
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
6784
+ } | {
6785
+ data: {
6786
+ zodError: zod.typeToFlattenedError<any, string> | null;
6787
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
6788
+ httpStatus: number;
6789
+ path?: string | undefined;
6790
+ stack?: string | undefined;
6791
+ };
6792
+ message: string;
6793
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
6794
+ };
6795
+ transformer: typeof superjson.default;
6796
+ }>, {
6797
+ create: _trpc_server.BuildProcedure<"mutation", {
6798
+ _config: _trpc_server.RootConfig<{
6799
+ ctx: {};
6800
+ meta: object;
6801
+ errorShape: {
6802
+ message: string;
6803
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
6804
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
6805
+ } | {
6806
+ data: {
6807
+ zodError: zod.typeToFlattenedError<any, string> | null;
6808
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
6809
+ httpStatus: number;
6810
+ path?: string | undefined;
6811
+ stack?: string | undefined;
6812
+ };
6813
+ message: string;
6814
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
6815
+ };
6816
+ transformer: typeof superjson.default;
6817
+ }>;
6818
+ _meta: object;
6819
+ _ctx_out: {
6820
+ session: {
6821
+ appId: string;
6822
+ appPlanId: string | null;
6823
+ appFakeUserId: string | undefined;
6824
+ sessionId: string;
6825
+ accountId: string;
6826
+ accountInfosId: string;
6827
+ accountRole: _prisma_client.$Enums.AccountRole;
6828
+ userId: string;
6829
+ userRole: _prisma_client.$Enums.UserRole;
6830
+ userPlan: _prisma_client.$Enums.PlanKind;
6831
+ isCare?: boolean | undefined;
6832
+ };
6833
+ req: {
6834
+ headers: Headers;
6835
+ };
6836
+ res: {
6837
+ headers: Headers;
6838
+ };
6839
+ locale: Locales;
6840
+ ls: TranslationFunctions;
6841
+ };
6842
+ _input_in: {
6843
+ appId?: string | undefined;
6844
+ } & {
6845
+ name: string;
6846
+ parentId?: string | undefined;
6847
+ };
6848
+ _input_out: {
6849
+ appId?: string | undefined;
6850
+ } & {
6851
+ name: string;
6852
+ parentId?: string | undefined;
6853
+ };
6854
+ _output_in: {
6855
+ id: string;
6856
+ name: string;
6857
+ currentState: "init" | "ready";
6858
+ isPrimary: boolean;
6859
+ parentId?: string | undefined;
6860
+ };
6861
+ _output_out: {
6862
+ id: string;
6863
+ name: string;
6864
+ currentState: "init" | "ready";
6865
+ isPrimary: boolean;
6866
+ parentId?: string | undefined;
6867
+ };
6868
+ }, unknown>;
6869
+ delete: _trpc_server.BuildProcedure<"mutation", {
6870
+ _config: _trpc_server.RootConfig<{
6871
+ ctx: {};
6872
+ meta: object;
6873
+ errorShape: {
6874
+ message: string;
6875
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
6876
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
6877
+ } | {
6878
+ data: {
6879
+ zodError: zod.typeToFlattenedError<any, string> | null;
6880
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
6881
+ httpStatus: number;
6882
+ path?: string | undefined;
6883
+ stack?: string | undefined;
6884
+ };
6885
+ message: string;
6886
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
6887
+ };
6888
+ transformer: typeof superjson.default;
6889
+ }>;
6890
+ _meta: object;
6891
+ _ctx_out: {
6892
+ session: {
6893
+ appId: string;
6894
+ appPlanId: string | null;
6895
+ appFakeUserId: string | undefined;
6896
+ sessionId: string;
6897
+ accountId: string;
6898
+ accountInfosId: string;
6899
+ accountRole: _prisma_client.$Enums.AccountRole;
6900
+ userId: string;
6901
+ userRole: _prisma_client.$Enums.UserRole;
6902
+ userPlan: _prisma_client.$Enums.PlanKind;
6903
+ isCare?: boolean | undefined;
6904
+ };
6905
+ req: {
6906
+ headers: Headers;
6907
+ };
6908
+ res: {
6909
+ headers: Headers;
6910
+ };
6911
+ locale: Locales;
6912
+ ls: TranslationFunctions;
6913
+ };
6914
+ _input_in: {
6915
+ appId?: string | undefined;
6916
+ } & {
6917
+ branchId: string;
6918
+ };
6919
+ _input_out: {
6920
+ appId?: string | undefined;
6921
+ } & {
6922
+ branchId: string;
6923
+ };
6924
+ _output_in: {
6925
+ isDeleted: boolean;
6926
+ };
6927
+ _output_out: {
6928
+ isDeleted: boolean;
6929
+ };
6930
+ }, unknown>;
6931
+ get: _trpc_server.BuildProcedure<"query", {
6932
+ _config: _trpc_server.RootConfig<{
6469
6933
  ctx: {};
6470
6934
  meta: object;
6471
6935
  errorShape: {
@@ -7408,16 +7872,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7408
7872
  type: _neondatabase_api_client.EndpointType;
7409
7873
  host: string;
7410
7874
  branchId: string;
7411
- currentState: _neondatabase_api_client.EndpointState;
7412
- regionId: string;
7875
+ suspendTimeoutSeconds: number;
7413
7876
  creationSource: string;
7877
+ provisioner: _neondatabase_api_client.Provisioner;
7878
+ proxyHost: string;
7879
+ regionId: string;
7880
+ currentState: _neondatabase_api_client.EndpointState;
7414
7881
  disabled: boolean;
7415
7882
  passwordlessAccess: boolean;
7416
7883
  poolerEnabled: boolean;
7417
7884
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7418
- provisioner: _neondatabase_api_client.Provisioner;
7419
- proxyHost: string;
7420
- suspendTimeoutSeconds: number;
7421
7885
  autoscalingLimitMinCU: number;
7422
7886
  autoscalingLimitMaxCU: number;
7423
7887
  lastActive?: string | undefined;
@@ -7430,16 +7894,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7430
7894
  type: _neondatabase_api_client.EndpointType;
7431
7895
  host: string;
7432
7896
  branchId: string;
7433
- currentState: _neondatabase_api_client.EndpointState;
7434
- regionId: string;
7897
+ suspendTimeoutSeconds: number;
7435
7898
  creationSource: string;
7899
+ provisioner: _neondatabase_api_client.Provisioner;
7900
+ proxyHost: string;
7901
+ regionId: string;
7902
+ currentState: _neondatabase_api_client.EndpointState;
7436
7903
  disabled: boolean;
7437
7904
  passwordlessAccess: boolean;
7438
7905
  poolerEnabled: boolean;
7439
7906
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7440
- provisioner: _neondatabase_api_client.Provisioner;
7441
- proxyHost: string;
7442
- suspendTimeoutSeconds: number;
7443
7907
  autoscalingLimitMinCU: number;
7444
7908
  autoscalingLimitMaxCU: number;
7445
7909
  lastActive?: string | undefined;
@@ -7570,16 +8034,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7570
8034
  type: _neondatabase_api_client.EndpointType;
7571
8035
  host: string;
7572
8036
  branchId: string;
7573
- currentState: _neondatabase_api_client.EndpointState;
7574
- regionId: string;
8037
+ suspendTimeoutSeconds: number;
7575
8038
  creationSource: string;
8039
+ provisioner: _neondatabase_api_client.Provisioner;
8040
+ proxyHost: string;
8041
+ regionId: string;
8042
+ currentState: _neondatabase_api_client.EndpointState;
7576
8043
  disabled: boolean;
7577
8044
  passwordlessAccess: boolean;
7578
8045
  poolerEnabled: boolean;
7579
8046
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7580
- provisioner: _neondatabase_api_client.Provisioner;
7581
- proxyHost: string;
7582
- suspendTimeoutSeconds: number;
7583
8047
  autoscalingLimitMinCU: number;
7584
8048
  autoscalingLimitMaxCU: number;
7585
8049
  lastActive?: string | undefined;
@@ -7592,16 +8056,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7592
8056
  type: _neondatabase_api_client.EndpointType;
7593
8057
  host: string;
7594
8058
  branchId: string;
7595
- currentState: _neondatabase_api_client.EndpointState;
7596
- regionId: string;
8059
+ suspendTimeoutSeconds: number;
7597
8060
  creationSource: string;
8061
+ provisioner: _neondatabase_api_client.Provisioner;
8062
+ proxyHost: string;
8063
+ regionId: string;
8064
+ currentState: _neondatabase_api_client.EndpointState;
7598
8065
  disabled: boolean;
7599
8066
  passwordlessAccess: boolean;
7600
8067
  poolerEnabled: boolean;
7601
8068
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7602
- provisioner: _neondatabase_api_client.Provisioner;
7603
- proxyHost: string;
7604
- suspendTimeoutSeconds: number;
7605
8069
  autoscalingLimitMinCU: number;
7606
8070
  autoscalingLimitMaxCU: number;
7607
8071
  lastActive?: string | undefined;
@@ -7670,16 +8134,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7670
8134
  type: _neondatabase_api_client.EndpointType;
7671
8135
  host: string;
7672
8136
  branchId: string;
7673
- currentState: _neondatabase_api_client.EndpointState;
7674
- regionId: string;
8137
+ suspendTimeoutSeconds: number;
7675
8138
  creationSource: string;
8139
+ provisioner: _neondatabase_api_client.Provisioner;
8140
+ proxyHost: string;
8141
+ regionId: string;
8142
+ currentState: _neondatabase_api_client.EndpointState;
7676
8143
  disabled: boolean;
7677
8144
  passwordlessAccess: boolean;
7678
8145
  poolerEnabled: boolean;
7679
8146
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7680
- provisioner: _neondatabase_api_client.Provisioner;
7681
- proxyHost: string;
7682
- suspendTimeoutSeconds: number;
7683
8147
  autoscalingLimitMinCU: number;
7684
8148
  autoscalingLimitMaxCU: number;
7685
8149
  lastActive?: string | undefined;
@@ -7692,23 +8156,119 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7692
8156
  type: _neondatabase_api_client.EndpointType;
7693
8157
  host: string;
7694
8158
  branchId: string;
8159
+ suspendTimeoutSeconds: number;
8160
+ creationSource: string;
8161
+ provisioner: _neondatabase_api_client.Provisioner;
8162
+ proxyHost: string;
8163
+ regionId: string;
7695
8164
  currentState: _neondatabase_api_client.EndpointState;
8165
+ disabled: boolean;
8166
+ passwordlessAccess: boolean;
8167
+ poolerEnabled: boolean;
8168
+ poolerMode: _neondatabase_api_client.EndpointPoolerMode;
8169
+ autoscalingLimitMinCU: number;
8170
+ autoscalingLimitMaxCU: number;
8171
+ lastActive?: string | undefined;
8172
+ pendingState?: _neondatabase_api_client.EndpointState | undefined;
8173
+ };
8174
+ }, unknown>;
8175
+ getProjectEndpoints: _trpc_server.BuildProcedure<"query", {
8176
+ _config: _trpc_server.RootConfig<{
8177
+ ctx: {};
8178
+ meta: object;
8179
+ errorShape: {
8180
+ message: string;
8181
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
8182
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
8183
+ } | {
8184
+ data: {
8185
+ zodError: zod.typeToFlattenedError<any, string> | null;
8186
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
8187
+ httpStatus: number;
8188
+ path?: string | undefined;
8189
+ stack?: string | undefined;
8190
+ };
8191
+ message: string;
8192
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
8193
+ };
8194
+ transformer: typeof superjson.default;
8195
+ }>;
8196
+ _meta: object;
8197
+ _ctx_out: {
8198
+ session: {
8199
+ appId: string;
8200
+ appPlanId: string | null;
8201
+ appFakeUserId: string | undefined;
8202
+ sessionId: string;
8203
+ accountId: string;
8204
+ accountInfosId: string;
8205
+ accountRole: _prisma_client.$Enums.AccountRole;
8206
+ userId: string;
8207
+ userRole: _prisma_client.$Enums.UserRole;
8208
+ userPlan: _prisma_client.$Enums.PlanKind;
8209
+ isCare?: boolean | undefined;
8210
+ };
8211
+ req: {
8212
+ headers: Headers;
8213
+ };
8214
+ res: {
8215
+ headers: Headers;
8216
+ };
8217
+ locale: Locales;
8218
+ ls: TranslationFunctions;
8219
+ };
8220
+ _input_in: {
8221
+ appId?: string | undefined;
8222
+ } & {};
8223
+ _input_out: {
8224
+ appId?: string | undefined;
8225
+ } & {};
8226
+ _output_in: {
8227
+ id: string;
8228
+ createdAt: string;
8229
+ updatedAt: string;
8230
+ type: _neondatabase_api_client.EndpointType;
8231
+ host: string;
8232
+ branchId: string;
8233
+ suspendTimeoutSeconds: number;
8234
+ creationSource: string;
8235
+ provisioner: _neondatabase_api_client.Provisioner;
8236
+ proxyHost: string;
7696
8237
  regionId: string;
8238
+ currentState: _neondatabase_api_client.EndpointState;
8239
+ disabled: boolean;
8240
+ passwordlessAccess: boolean;
8241
+ poolerEnabled: boolean;
8242
+ poolerMode: _neondatabase_api_client.EndpointPoolerMode;
8243
+ autoscalingLimitMinCU: number;
8244
+ autoscalingLimitMaxCU: number;
8245
+ lastActive?: string | undefined;
8246
+ pendingState?: _neondatabase_api_client.EndpointState | undefined;
8247
+ }[];
8248
+ _output_out: {
8249
+ id: string;
8250
+ createdAt: string;
8251
+ updatedAt: string;
8252
+ type: _neondatabase_api_client.EndpointType;
8253
+ host: string;
8254
+ branchId: string;
8255
+ suspendTimeoutSeconds: number;
7697
8256
  creationSource: string;
8257
+ provisioner: _neondatabase_api_client.Provisioner;
8258
+ proxyHost: string;
8259
+ regionId: string;
8260
+ currentState: _neondatabase_api_client.EndpointState;
7698
8261
  disabled: boolean;
7699
8262
  passwordlessAccess: boolean;
7700
8263
  poolerEnabled: boolean;
7701
8264
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7702
- provisioner: _neondatabase_api_client.Provisioner;
7703
- proxyHost: string;
7704
- suspendTimeoutSeconds: number;
7705
8265
  autoscalingLimitMinCU: number;
7706
8266
  autoscalingLimitMaxCU: number;
7707
8267
  lastActive?: string | undefined;
7708
8268
  pendingState?: _neondatabase_api_client.EndpointState | undefined;
7709
- };
8269
+ }[];
7710
8270
  }, unknown>;
7711
- getProjectEndpoints: _trpc_server.BuildProcedure<"query", {
8271
+ restart: _trpc_server.BuildProcedure<"mutation", {
7712
8272
  _config: _trpc_server.RootConfig<{
7713
8273
  ctx: {};
7714
8274
  meta: object;
@@ -7755,10 +8315,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7755
8315
  };
7756
8316
  _input_in: {
7757
8317
  appId?: string | undefined;
7758
- } & {};
8318
+ } & {
8319
+ endpointId: string;
8320
+ };
7759
8321
  _input_out: {
7760
8322
  appId?: string | undefined;
7761
- } & {};
8323
+ } & {
8324
+ endpointId: string;
8325
+ };
7762
8326
  _output_in: {
7763
8327
  id: string;
7764
8328
  createdAt: string;
@@ -7766,21 +8330,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7766
8330
  type: _neondatabase_api_client.EndpointType;
7767
8331
  host: string;
7768
8332
  branchId: string;
7769
- currentState: _neondatabase_api_client.EndpointState;
7770
- regionId: string;
8333
+ suspendTimeoutSeconds: number;
7771
8334
  creationSource: string;
8335
+ provisioner: _neondatabase_api_client.Provisioner;
8336
+ proxyHost: string;
8337
+ regionId: string;
8338
+ currentState: _neondatabase_api_client.EndpointState;
7772
8339
  disabled: boolean;
7773
8340
  passwordlessAccess: boolean;
7774
8341
  poolerEnabled: boolean;
7775
8342
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7776
- provisioner: _neondatabase_api_client.Provisioner;
7777
- proxyHost: string;
7778
- suspendTimeoutSeconds: number;
7779
8343
  autoscalingLimitMinCU: number;
7780
8344
  autoscalingLimitMaxCU: number;
7781
8345
  lastActive?: string | undefined;
7782
8346
  pendingState?: _neondatabase_api_client.EndpointState | undefined;
7783
- }[];
8347
+ };
7784
8348
  _output_out: {
7785
8349
  id: string;
7786
8350
  createdAt: string;
@@ -7788,21 +8352,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7788
8352
  type: _neondatabase_api_client.EndpointType;
7789
8353
  host: string;
7790
8354
  branchId: string;
7791
- currentState: _neondatabase_api_client.EndpointState;
7792
- regionId: string;
8355
+ suspendTimeoutSeconds: number;
7793
8356
  creationSource: string;
8357
+ provisioner: _neondatabase_api_client.Provisioner;
8358
+ proxyHost: string;
8359
+ regionId: string;
8360
+ currentState: _neondatabase_api_client.EndpointState;
7794
8361
  disabled: boolean;
7795
8362
  passwordlessAccess: boolean;
7796
8363
  poolerEnabled: boolean;
7797
8364
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7798
- provisioner: _neondatabase_api_client.Provisioner;
7799
- proxyHost: string;
7800
- suspendTimeoutSeconds: number;
7801
8365
  autoscalingLimitMinCU: number;
7802
8366
  autoscalingLimitMaxCU: number;
7803
8367
  lastActive?: string | undefined;
7804
8368
  pendingState?: _neondatabase_api_client.EndpointState | undefined;
7805
- }[];
8369
+ };
7806
8370
  }, unknown>;
7807
8371
  start: _trpc_server.BuildProcedure<"mutation", {
7808
8372
  _config: _trpc_server.RootConfig<{
@@ -7866,16 +8430,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7866
8430
  type: _neondatabase_api_client.EndpointType;
7867
8431
  host: string;
7868
8432
  branchId: string;
7869
- currentState: _neondatabase_api_client.EndpointState;
7870
- regionId: string;
8433
+ suspendTimeoutSeconds: number;
7871
8434
  creationSource: string;
8435
+ provisioner: _neondatabase_api_client.Provisioner;
8436
+ proxyHost: string;
8437
+ regionId: string;
8438
+ currentState: _neondatabase_api_client.EndpointState;
7872
8439
  disabled: boolean;
7873
8440
  passwordlessAccess: boolean;
7874
8441
  poolerEnabled: boolean;
7875
8442
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7876
- provisioner: _neondatabase_api_client.Provisioner;
7877
- proxyHost: string;
7878
- suspendTimeoutSeconds: number;
7879
8443
  autoscalingLimitMinCU: number;
7880
8444
  autoscalingLimitMaxCU: number;
7881
8445
  lastActive?: string | undefined;
@@ -7888,16 +8452,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7888
8452
  type: _neondatabase_api_client.EndpointType;
7889
8453
  host: string;
7890
8454
  branchId: string;
7891
- currentState: _neondatabase_api_client.EndpointState;
7892
- regionId: string;
8455
+ suspendTimeoutSeconds: number;
7893
8456
  creationSource: string;
8457
+ provisioner: _neondatabase_api_client.Provisioner;
8458
+ proxyHost: string;
8459
+ regionId: string;
8460
+ currentState: _neondatabase_api_client.EndpointState;
7894
8461
  disabled: boolean;
7895
8462
  passwordlessAccess: boolean;
7896
8463
  poolerEnabled: boolean;
7897
8464
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7898
- provisioner: _neondatabase_api_client.Provisioner;
7899
- proxyHost: string;
7900
- suspendTimeoutSeconds: number;
7901
8465
  autoscalingLimitMinCU: number;
7902
8466
  autoscalingLimitMaxCU: number;
7903
8467
  lastActive?: string | undefined;
@@ -7966,16 +8530,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7966
8530
  type: _neondatabase_api_client.EndpointType;
7967
8531
  host: string;
7968
8532
  branchId: string;
7969
- currentState: _neondatabase_api_client.EndpointState;
7970
- regionId: string;
8533
+ suspendTimeoutSeconds: number;
7971
8534
  creationSource: string;
8535
+ provisioner: _neondatabase_api_client.Provisioner;
8536
+ proxyHost: string;
8537
+ regionId: string;
8538
+ currentState: _neondatabase_api_client.EndpointState;
7972
8539
  disabled: boolean;
7973
8540
  passwordlessAccess: boolean;
7974
8541
  poolerEnabled: boolean;
7975
8542
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7976
- provisioner: _neondatabase_api_client.Provisioner;
7977
- proxyHost: string;
7978
- suspendTimeoutSeconds: number;
7979
8543
  autoscalingLimitMinCU: number;
7980
8544
  autoscalingLimitMaxCU: number;
7981
8545
  lastActive?: string | undefined;
@@ -7988,16 +8552,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7988
8552
  type: _neondatabase_api_client.EndpointType;
7989
8553
  host: string;
7990
8554
  branchId: string;
7991
- currentState: _neondatabase_api_client.EndpointState;
7992
- regionId: string;
8555
+ suspendTimeoutSeconds: number;
7993
8556
  creationSource: string;
8557
+ provisioner: _neondatabase_api_client.Provisioner;
8558
+ proxyHost: string;
8559
+ regionId: string;
8560
+ currentState: _neondatabase_api_client.EndpointState;
7994
8561
  disabled: boolean;
7995
8562
  passwordlessAccess: boolean;
7996
8563
  poolerEnabled: boolean;
7997
8564
  poolerMode: _neondatabase_api_client.EndpointPoolerMode;
7998
- provisioner: _neondatabase_api_client.Provisioner;
7999
- proxyHost: string;
8000
- suspendTimeoutSeconds: number;
8001
8565
  autoscalingLimitMinCU: number;
8002
8566
  autoscalingLimitMaxCU: number;
8003
8567
  lastActive?: string | undefined;
@@ -8054,9 +8618,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8054
8618
  } & {
8055
8619
  endpointId: string;
8056
8620
  } & {
8621
+ suspendTimeoutSeconds?: number | undefined;
8057
8622
  disabled?: boolean | undefined;
8058
8623
  passwordlessAccess?: boolean | undefined;
8059
- suspendTimeoutSeconds?: number | undefined;
8060
8624
  autoscalingLimitMinCU?: number | undefined;
8061
8625
  autoscalingLimitMaxCU?: number | undefined;
8062
8626
  };
@@ -8065,17 +8629,55 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8065
8629
  } & {
8066
8630
  endpointId: string;
8067
8631
  } & {
8632
+ suspendTimeoutSeconds?: number | undefined;
8068
8633
  disabled?: boolean | undefined;
8069
8634
  passwordlessAccess?: boolean | undefined;
8070
- suspendTimeoutSeconds?: number | undefined;
8071
8635
  autoscalingLimitMinCU?: number | undefined;
8072
8636
  autoscalingLimitMaxCU?: number | undefined;
8073
8637
  };
8074
8638
  _output_in: {
8075
- isUpdated: boolean;
8639
+ id: string;
8640
+ createdAt: string;
8641
+ updatedAt: string;
8642
+ type: _neondatabase_api_client.EndpointType;
8643
+ host: string;
8644
+ branchId: string;
8645
+ suspendTimeoutSeconds: number;
8646
+ creationSource: string;
8647
+ provisioner: _neondatabase_api_client.Provisioner;
8648
+ proxyHost: string;
8649
+ regionId: string;
8650
+ currentState: _neondatabase_api_client.EndpointState;
8651
+ disabled: boolean;
8652
+ passwordlessAccess: boolean;
8653
+ poolerEnabled: boolean;
8654
+ poolerMode: _neondatabase_api_client.EndpointPoolerMode;
8655
+ autoscalingLimitMinCU: number;
8656
+ autoscalingLimitMaxCU: number;
8657
+ lastActive?: string | undefined;
8658
+ pendingState?: _neondatabase_api_client.EndpointState | undefined;
8076
8659
  };
8077
8660
  _output_out: {
8078
- isUpdated: boolean;
8661
+ id: string;
8662
+ createdAt: string;
8663
+ updatedAt: string;
8664
+ type: _neondatabase_api_client.EndpointType;
8665
+ host: string;
8666
+ branchId: string;
8667
+ suspendTimeoutSeconds: number;
8668
+ creationSource: string;
8669
+ provisioner: _neondatabase_api_client.Provisioner;
8670
+ proxyHost: string;
8671
+ regionId: string;
8672
+ currentState: _neondatabase_api_client.EndpointState;
8673
+ disabled: boolean;
8674
+ passwordlessAccess: boolean;
8675
+ poolerEnabled: boolean;
8676
+ poolerMode: _neondatabase_api_client.EndpointPoolerMode;
8677
+ autoscalingLimitMinCU: number;
8678
+ autoscalingLimitMaxCU: number;
8679
+ lastActive?: string | undefined;
8680
+ pendingState?: _neondatabase_api_client.EndpointState | undefined;
8079
8681
  };
8080
8682
  }, unknown>;
8081
8683
  }>;
@@ -8209,7 +8811,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8209
8811
  recipients: {
8210
8812
  id: string;
8211
8813
  lastname: string;
8212
- firstname: string | null;
8814
+ firstname: string;
8213
8815
  avatar: string | null;
8214
8816
  isSearchable: boolean;
8215
8817
  }[];
@@ -8227,7 +8829,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8227
8829
  recipients: {
8228
8830
  id: string;
8229
8831
  lastname: string;
8230
- firstname: string | null;
8832
+ firstname: string;
8231
8833
  avatar: string | null;
8232
8834
  isSearchable: boolean;
8233
8835
  }[];
@@ -8238,7 +8840,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8238
8840
  sender: {
8239
8841
  id: string;
8240
8842
  lastname: string;
8241
- firstname: string | null;
8843
+ firstname: string;
8242
8844
  avatar: string | null;
8243
8845
  isSearchable: boolean;
8244
8846
  };
@@ -8267,7 +8869,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8267
8869
  recipients: {
8268
8870
  id: string;
8269
8871
  lastname: string;
8270
- firstname: string | null;
8872
+ firstname: string;
8271
8873
  avatar: string | null;
8272
8874
  isSearchable: boolean;
8273
8875
  }[];
@@ -8285,7 +8887,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8285
8887
  recipients: {
8286
8888
  id: string;
8287
8889
  lastname: string;
8288
- firstname: string | null;
8890
+ firstname: string;
8289
8891
  avatar: string | null;
8290
8892
  isSearchable: boolean;
8291
8893
  }[];
@@ -8296,7 +8898,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8296
8898
  sender: {
8297
8899
  id: string;
8298
8900
  lastname: string;
8299
- firstname: string | null;
8901
+ firstname: string;
8300
8902
  avatar: string | null;
8301
8903
  isSearchable: boolean;
8302
8904
  };
@@ -8377,7 +8979,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8377
8979
  recipients: {
8378
8980
  id: string;
8379
8981
  lastname: string;
8380
- firstname: string | null;
8982
+ firstname: string;
8381
8983
  avatar: string | null;
8382
8984
  isSearchable: boolean;
8383
8985
  }[];
@@ -8395,7 +8997,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8395
8997
  recipients: {
8396
8998
  id: string;
8397
8999
  lastname: string;
8398
- firstname: string | null;
9000
+ firstname: string;
8399
9001
  avatar: string | null;
8400
9002
  isSearchable: boolean;
8401
9003
  }[];
@@ -8406,7 +9008,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8406
9008
  sender: {
8407
9009
  id: string;
8408
9010
  lastname: string;
8409
- firstname: string | null;
9011
+ firstname: string;
8410
9012
  avatar: string | null;
8411
9013
  isSearchable: boolean;
8412
9014
  };
@@ -8435,7 +9037,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8435
9037
  recipients: {
8436
9038
  id: string;
8437
9039
  lastname: string;
8438
- firstname: string | null;
9040
+ firstname: string;
8439
9041
  avatar: string | null;
8440
9042
  isSearchable: boolean;
8441
9043
  }[];
@@ -8453,7 +9055,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8453
9055
  recipients: {
8454
9056
  id: string;
8455
9057
  lastname: string;
8456
- firstname: string | null;
9058
+ firstname: string;
8457
9059
  avatar: string | null;
8458
9060
  isSearchable: boolean;
8459
9061
  }[];
@@ -8464,7 +9066,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8464
9066
  sender: {
8465
9067
  id: string;
8466
9068
  lastname: string;
8467
- firstname: string | null;
9069
+ firstname: string;
8468
9070
  avatar: string | null;
8469
9071
  isSearchable: boolean;
8470
9072
  };
@@ -8631,7 +9233,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8631
9233
  recipients: {
8632
9234
  id: string;
8633
9235
  lastname: string;
8634
- firstname: string | null;
9236
+ firstname: string;
8635
9237
  avatar: string | null;
8636
9238
  isSearchable: boolean;
8637
9239
  }[];
@@ -8649,7 +9251,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8649
9251
  recipients: {
8650
9252
  id: string;
8651
9253
  lastname: string;
8652
- firstname: string | null;
9254
+ firstname: string;
8653
9255
  avatar: string | null;
8654
9256
  isSearchable: boolean;
8655
9257
  }[];
@@ -8660,7 +9262,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8660
9262
  sender: {
8661
9263
  id: string;
8662
9264
  lastname: string;
8663
- firstname: string | null;
9265
+ firstname: string;
8664
9266
  avatar: string | null;
8665
9267
  isSearchable: boolean;
8666
9268
  };
@@ -8689,7 +9291,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8689
9291
  recipients: {
8690
9292
  id: string;
8691
9293
  lastname: string;
8692
- firstname: string | null;
9294
+ firstname: string;
8693
9295
  avatar: string | null;
8694
9296
  isSearchable: boolean;
8695
9297
  }[];
@@ -8707,7 +9309,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8707
9309
  recipients: {
8708
9310
  id: string;
8709
9311
  lastname: string;
8710
- firstname: string | null;
9312
+ firstname: string;
8711
9313
  avatar: string | null;
8712
9314
  isSearchable: boolean;
8713
9315
  }[];
@@ -8718,7 +9320,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8718
9320
  sender: {
8719
9321
  id: string;
8720
9322
  lastname: string;
8721
- firstname: string | null;
9323
+ firstname: string;
8722
9324
  avatar: string | null;
8723
9325
  isSearchable: boolean;
8724
9326
  };
@@ -8773,7 +9375,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8773
9375
  recipients: {
8774
9376
  id: string;
8775
9377
  lastname: string;
8776
- firstname: string | null;
9378
+ firstname: string;
8777
9379
  avatar: string | null;
8778
9380
  isSearchable: boolean;
8779
9381
  }[];
@@ -8791,7 +9393,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8791
9393
  recipients: {
8792
9394
  id: string;
8793
9395
  lastname: string;
8794
- firstname: string | null;
9396
+ firstname: string;
8795
9397
  avatar: string | null;
8796
9398
  isSearchable: boolean;
8797
9399
  }[];
@@ -8802,7 +9404,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8802
9404
  sender: {
8803
9405
  id: string;
8804
9406
  lastname: string;
8805
- firstname: string | null;
9407
+ firstname: string;
8806
9408
  avatar: string | null;
8807
9409
  isSearchable: boolean;
8808
9410
  };
@@ -8831,7 +9433,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8831
9433
  recipients: {
8832
9434
  id: string;
8833
9435
  lastname: string;
8834
- firstname: string | null;
9436
+ firstname: string;
8835
9437
  avatar: string | null;
8836
9438
  isSearchable: boolean;
8837
9439
  }[];
@@ -8849,7 +9451,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8849
9451
  recipients: {
8850
9452
  id: string;
8851
9453
  lastname: string;
8852
- firstname: string | null;
9454
+ firstname: string;
8853
9455
  avatar: string | null;
8854
9456
  isSearchable: boolean;
8855
9457
  }[];
@@ -8860,7 +9462,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8860
9462
  sender: {
8861
9463
  id: string;
8862
9464
  lastname: string;
8863
- firstname: string | null;
9465
+ firstname: string;
8864
9466
  avatar: string | null;
8865
9467
  isSearchable: boolean;
8866
9468
  };
@@ -8983,7 +9585,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8983
9585
  recipients: {
8984
9586
  id: string;
8985
9587
  lastname: string;
8986
- firstname: string | null;
9588
+ firstname: string;
8987
9589
  avatar: string | null;
8988
9590
  isSearchable: boolean;
8989
9591
  }[];
@@ -9001,7 +9603,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9001
9603
  recipients: {
9002
9604
  id: string;
9003
9605
  lastname: string;
9004
- firstname: string | null;
9606
+ firstname: string;
9005
9607
  avatar: string | null;
9006
9608
  isSearchable: boolean;
9007
9609
  }[];
@@ -9012,7 +9614,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9012
9614
  sender: {
9013
9615
  id: string;
9014
9616
  lastname: string;
9015
- firstname: string | null;
9617
+ firstname: string;
9016
9618
  avatar: string | null;
9017
9619
  isSearchable: boolean;
9018
9620
  };
@@ -9041,7 +9643,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9041
9643
  recipients: {
9042
9644
  id: string;
9043
9645
  lastname: string;
9044
- firstname: string | null;
9646
+ firstname: string;
9045
9647
  avatar: string | null;
9046
9648
  isSearchable: boolean;
9047
9649
  }[];
@@ -9059,7 +9661,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9059
9661
  recipients: {
9060
9662
  id: string;
9061
9663
  lastname: string;
9062
- firstname: string | null;
9664
+ firstname: string;
9063
9665
  avatar: string | null;
9064
9666
  isSearchable: boolean;
9065
9667
  }[];
@@ -9070,7 +9672,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9070
9672
  sender: {
9071
9673
  id: string;
9072
9674
  lastname: string;
9073
- firstname: string | null;
9675
+ firstname: string;
9074
9676
  avatar: string | null;
9075
9677
  isSearchable: boolean;
9076
9678
  };
@@ -9343,7 +9945,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9343
9945
  recipients: {
9344
9946
  id: string;
9345
9947
  lastname: string;
9346
- firstname: string | null;
9948
+ firstname: string;
9347
9949
  avatar: string | null;
9348
9950
  isSearchable: boolean;
9349
9951
  }[];
@@ -9361,7 +9963,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9361
9963
  recipients: {
9362
9964
  id: string;
9363
9965
  lastname: string;
9364
- firstname: string | null;
9966
+ firstname: string;
9365
9967
  avatar: string | null;
9366
9968
  isSearchable: boolean;
9367
9969
  }[];
@@ -9372,7 +9974,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9372
9974
  sender: {
9373
9975
  id: string;
9374
9976
  lastname: string;
9375
- firstname: string | null;
9977
+ firstname: string;
9376
9978
  avatar: string | null;
9377
9979
  isSearchable: boolean;
9378
9980
  };
@@ -9401,7 +10003,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9401
10003
  recipients: {
9402
10004
  id: string;
9403
10005
  lastname: string;
9404
- firstname: string | null;
10006
+ firstname: string;
9405
10007
  avatar: string | null;
9406
10008
  isSearchable: boolean;
9407
10009
  }[];
@@ -9419,7 +10021,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9419
10021
  recipients: {
9420
10022
  id: string;
9421
10023
  lastname: string;
9422
- firstname: string | null;
10024
+ firstname: string;
9423
10025
  avatar: string | null;
9424
10026
  isSearchable: boolean;
9425
10027
  }[];
@@ -9430,7 +10032,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9430
10032
  sender: {
9431
10033
  id: string;
9432
10034
  lastname: string;
9433
- firstname: string | null;
10035
+ firstname: string;
9434
10036
  avatar: string | null;
9435
10037
  isSearchable: boolean;
9436
10038
  };
@@ -9575,7 +10177,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9575
10177
  recipients: {
9576
10178
  id: string;
9577
10179
  lastname: string;
9578
- firstname: string | null;
10180
+ firstname: string;
9579
10181
  avatar: string | null;
9580
10182
  isSearchable: boolean;
9581
10183
  }[];
@@ -9593,7 +10195,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9593
10195
  recipients: {
9594
10196
  id: string;
9595
10197
  lastname: string;
9596
- firstname: string | null;
10198
+ firstname: string;
9597
10199
  avatar: string | null;
9598
10200
  isSearchable: boolean;
9599
10201
  }[];
@@ -9604,7 +10206,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9604
10206
  sender: {
9605
10207
  id: string;
9606
10208
  lastname: string;
9607
- firstname: string | null;
10209
+ firstname: string;
9608
10210
  avatar: string | null;
9609
10211
  isSearchable: boolean;
9610
10212
  };
@@ -9633,7 +10235,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9633
10235
  recipients: {
9634
10236
  id: string;
9635
10237
  lastname: string;
9636
- firstname: string | null;
10238
+ firstname: string;
9637
10239
  avatar: string | null;
9638
10240
  isSearchable: boolean;
9639
10241
  }[];
@@ -9651,7 +10253,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9651
10253
  recipients: {
9652
10254
  id: string;
9653
10255
  lastname: string;
9654
- firstname: string | null;
10256
+ firstname: string;
9655
10257
  avatar: string | null;
9656
10258
  isSearchable: boolean;
9657
10259
  }[];
@@ -9662,7 +10264,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9662
10264
  sender: {
9663
10265
  id: string;
9664
10266
  lastname: string;
9665
- firstname: string | null;
10267
+ firstname: string;
9666
10268
  avatar: string | null;
9667
10269
  isSearchable: boolean;
9668
10270
  };
@@ -9702,7 +10304,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9702
10304
  sender: {
9703
10305
  id: string;
9704
10306
  lastname: string;
9705
- firstname: string | null;
10307
+ firstname: string;
9706
10308
  avatar: string | null;
9707
10309
  isSearchable: boolean;
9708
10310
  };
@@ -9710,7 +10312,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9710
10312
  recipients: {
9711
10313
  id: string;
9712
10314
  lastname: string;
9713
- firstname: string | null;
10315
+ firstname: string;
9714
10316
  avatar: string | null;
9715
10317
  isSearchable: boolean;
9716
10318
  }[];
@@ -9725,7 +10327,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9725
10327
  sender: {
9726
10328
  id: string;
9727
10329
  lastname: string;
9728
- firstname: string | null;
10330
+ firstname: string;
9729
10331
  avatar: string | null;
9730
10332
  isSearchable: boolean;
9731
10333
  };
@@ -9733,7 +10335,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9733
10335
  recipients: {
9734
10336
  id: string;
9735
10337
  lastname: string;
9736
- firstname: string | null;
10338
+ firstname: string;
9737
10339
  avatar: string | null;
9738
10340
  isSearchable: boolean;
9739
10341
  }[];
@@ -9882,6 +10484,60 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9882
10484
  serverTime: number;
9883
10485
  };
9884
10486
  }, unknown>;
10487
+ bookADemo: _trpc_server.BuildProcedure<"mutation", {
10488
+ _config: _trpc_server.RootConfig<{
10489
+ ctx: {};
10490
+ meta: object;
10491
+ errorShape: {
10492
+ message: string;
10493
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
10494
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
10495
+ } | {
10496
+ data: {
10497
+ zodError: zod.typeToFlattenedError<any, string> | null;
10498
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
10499
+ httpStatus: number;
10500
+ path?: string | undefined;
10501
+ stack?: string | undefined;
10502
+ };
10503
+ message: string;
10504
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
10505
+ };
10506
+ transformer: typeof superjson.default;
10507
+ }>;
10508
+ _meta: object;
10509
+ _ctx_out: {};
10510
+ _input_in: {
10511
+ email: string;
10512
+ lastname: string;
10513
+ firstname: string;
10514
+ company: string;
10515
+ };
10516
+ _input_out: {
10517
+ email: string;
10518
+ lastname: string;
10519
+ firstname: string;
10520
+ company: string;
10521
+ };
10522
+ _output_in: {
10523
+ email: string;
10524
+ id: string;
10525
+ createdAt: Date;
10526
+ lastname: string;
10527
+ firstname: string;
10528
+ company: string;
10529
+ coveredAt: Date | null;
10530
+ };
10531
+ _output_out: {
10532
+ email: string;
10533
+ id: string;
10534
+ createdAt: Date;
10535
+ lastname: string;
10536
+ firstname: string;
10537
+ company: string;
10538
+ coveredAt: Date | null;
10539
+ };
10540
+ }, unknown>;
9885
10541
  }>;
9886
10542
  plan: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
9887
10543
  ctx: {};
@@ -12227,6 +12883,88 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12227
12883
  role: "developer" | "admin";
12228
12884
  }[];
12229
12885
  }, unknown>;
12886
+ plans: _trpc_server.BuildProcedure<"query", {
12887
+ _config: _trpc_server.RootConfig<{
12888
+ ctx: {};
12889
+ meta: object;
12890
+ errorShape: {
12891
+ message: string;
12892
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
12893
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
12894
+ } | {
12895
+ data: {
12896
+ zodError: zod.typeToFlattenedError<any, string> | null;
12897
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
12898
+ httpStatus: number;
12899
+ path?: string | undefined;
12900
+ stack?: string | undefined;
12901
+ };
12902
+ message: string;
12903
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
12904
+ };
12905
+ transformer: typeof superjson.default;
12906
+ }>;
12907
+ _meta: object;
12908
+ _ctx_out: {};
12909
+ _input_in: {} | undefined;
12910
+ _input_out: {} | undefined;
12911
+ _output_in: ({
12912
+ codes: string[];
12913
+ id: string;
12914
+ kind: string;
12915
+ price: _prisma_client_runtime_library.Decimal;
12916
+ relatedTo: "secrecy_tech";
12917
+ descriptorId: string;
12918
+ } & {
12919
+ descriptor: {
12920
+ id: string;
12921
+ devsBase: bigint | null;
12922
+ devsUnit: bigint | null;
12923
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
12924
+ usersBase: bigint | null;
12925
+ usersUnit: bigint | null;
12926
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
12927
+ perFileSizeBase: bigint | null;
12928
+ perFileSizeUnit: bigint | null;
12929
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
12930
+ bandwidthBase: bigint | null;
12931
+ bandwidthUnit: bigint | null;
12932
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
12933
+ devsMax: bigint | null;
12934
+ usersMax: bigint | null;
12935
+ perFileSizeMax: bigint | null;
12936
+ bandwidthMax: bigint | null;
12937
+ };
12938
+ })[];
12939
+ _output_out: ({
12940
+ codes: string[];
12941
+ id: string;
12942
+ kind: string;
12943
+ price: _prisma_client_runtime_library.Decimal;
12944
+ relatedTo: "secrecy_tech";
12945
+ descriptorId: string;
12946
+ } & {
12947
+ descriptor: {
12948
+ id: string;
12949
+ devsBase: bigint | null;
12950
+ devsUnit: bigint | null;
12951
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
12952
+ usersBase: bigint | null;
12953
+ usersUnit: bigint | null;
12954
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
12955
+ perFileSizeBase: bigint | null;
12956
+ perFileSizeUnit: bigint | null;
12957
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
12958
+ bandwidthBase: bigint | null;
12959
+ bandwidthUnit: bigint | null;
12960
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
12961
+ devsMax: bigint | null;
12962
+ usersMax: bigint | null;
12963
+ perFileSizeMax: bigint | null;
12964
+ bandwidthMax: bigint | null;
12965
+ };
12966
+ })[];
12967
+ }, unknown>;
12230
12968
  setOrigins: _trpc_server.BuildProcedure<"mutation", {
12231
12969
  _config: _trpc_server.RootConfig<{
12232
12970
  ctx: {};
@@ -12526,14 +13264,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12526
13264
  _output_in: {
12527
13265
  id: string;
12528
13266
  lastname: string;
12529
- firstname: string | null;
13267
+ firstname: string;
12530
13268
  avatar: string | null;
12531
13269
  isSearchable: boolean;
12532
13270
  };
12533
13271
  _output_out: {
12534
13272
  id: string;
12535
13273
  lastname: string;
12536
- firstname: string | null;
13274
+ firstname: string;
12537
13275
  avatar: string | null;
12538
13276
  isSearchable: boolean;
12539
13277
  };
@@ -12570,14 +13308,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12570
13308
  _output_in: {
12571
13309
  id: string;
12572
13310
  lastname: string;
12573
- firstname: string | null;
13311
+ firstname: string;
12574
13312
  avatar: string | null;
12575
13313
  isSearchable: boolean;
12576
13314
  }[];
12577
13315
  _output_out: {
12578
13316
  id: string;
12579
13317
  lastname: string;
12580
- firstname: string | null;
13318
+ firstname: string;
12581
13319
  avatar: string | null;
12582
13320
  isSearchable: boolean;
12583
13321
  }[];
@@ -12710,7 +13448,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12710
13448
  _output_in: {
12711
13449
  id: string;
12712
13450
  lastname: string;
12713
- firstname: string | null;
13451
+ firstname: string;
12714
13452
  avatar: string | null;
12715
13453
  isSearchable: boolean;
12716
13454
  } & {
@@ -12735,7 +13473,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12735
13473
  _output_out: {
12736
13474
  id: string;
12737
13475
  lastname: string;
12738
- firstname: string | null;
13476
+ firstname: string;
12739
13477
  avatar: string | null;
12740
13478
  isSearchable: boolean;
12741
13479
  } & {
@@ -12832,7 +13570,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12832
13570
  _output_in: {
12833
13571
  id: string;
12834
13572
  lastname: string;
12835
- firstname: string | null;
13573
+ firstname: string;
12836
13574
  avatar: string | null;
12837
13575
  isSearchable: boolean;
12838
13576
  } & {
@@ -12843,7 +13581,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12843
13581
  _output_out: {
12844
13582
  id: string;
12845
13583
  lastname: string;
12846
- firstname: string | null;
13584
+ firstname: string;
12847
13585
  avatar: string | null;
12848
13586
  isSearchable: boolean;
12849
13587
  } & {