@secrecy/lib 1.62.0-feat-node-sharing.12 → 1.62.1-feat-orgs.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types/client.d.ts
CHANGED
|
@@ -176,14 +176,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
176
176
|
maxCount: bigint | null;
|
|
177
177
|
maxDataCount: bigint | null;
|
|
178
178
|
};
|
|
179
|
-
received: {
|
|
180
|
-
count: bigint;
|
|
181
|
-
dataCount: bigint;
|
|
182
|
-
dataSize: bigint;
|
|
183
|
-
maxDataSize: bigint | null;
|
|
184
|
-
maxCount: bigint | null;
|
|
185
|
-
maxDataCount: bigint | null;
|
|
186
|
-
};
|
|
187
179
|
};
|
|
188
180
|
cloud: {
|
|
189
181
|
count: bigint;
|
|
@@ -210,14 +202,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
210
202
|
maxCount: bigint | null;
|
|
211
203
|
maxDataCount: bigint | null;
|
|
212
204
|
};
|
|
213
|
-
received: {
|
|
214
|
-
count: bigint;
|
|
215
|
-
dataCount: bigint;
|
|
216
|
-
dataSize: bigint;
|
|
217
|
-
maxDataSize: bigint | null;
|
|
218
|
-
maxCount: bigint | null;
|
|
219
|
-
maxDataCount: bigint | null;
|
|
220
|
-
};
|
|
221
205
|
};
|
|
222
206
|
cloud: {
|
|
223
207
|
count: bigint;
|
|
@@ -281,7 +265,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
281
265
|
accountRole: _prisma_client.AccountRole;
|
|
282
266
|
userId: string;
|
|
283
267
|
userRole: _prisma_client.UserRole;
|
|
284
|
-
|
|
268
|
+
org: {
|
|
269
|
+
id: string;
|
|
270
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
271
|
+
role: _prisma_client.OrganizationRole;
|
|
272
|
+
};
|
|
285
273
|
};
|
|
286
274
|
req: {
|
|
287
275
|
headers: Headers;
|
|
@@ -361,7 +349,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
361
349
|
accountRole: _prisma_client.AccountRole;
|
|
362
350
|
userId: string;
|
|
363
351
|
userRole: _prisma_client.UserRole;
|
|
364
|
-
|
|
352
|
+
org: {
|
|
353
|
+
id: string;
|
|
354
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
355
|
+
role: _prisma_client.OrganizationRole;
|
|
356
|
+
};
|
|
365
357
|
};
|
|
366
358
|
req: {
|
|
367
359
|
headers: Headers;
|
|
@@ -380,8 +372,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
380
372
|
} | undefined;
|
|
381
373
|
_output_in: {
|
|
382
374
|
id: string;
|
|
383
|
-
totalStorageSize: bigint | null;
|
|
384
|
-
perDataSize: bigint | null;
|
|
385
375
|
devs: bigint | null;
|
|
386
376
|
devsBase: bigint | null;
|
|
387
377
|
devsUnit: bigint | null;
|
|
@@ -390,6 +380,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
390
380
|
usersBase: bigint | null;
|
|
391
381
|
usersUnit: bigint | null;
|
|
392
382
|
usersPrice: number | null;
|
|
383
|
+
perDataSize: bigint | null;
|
|
393
384
|
perDataSizeBase: bigint | null;
|
|
394
385
|
perDataSizeUnit: bigint | null;
|
|
395
386
|
perDataSizePrice: number | null;
|
|
@@ -397,6 +388,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
397
388
|
bandwidthBase: bigint | null;
|
|
398
389
|
bandwidthUnit: bigint | null;
|
|
399
390
|
bandwidthPrice: number | null;
|
|
391
|
+
totalStorageSize: bigint | null;
|
|
400
392
|
totalStorageSizeBase: bigint | null;
|
|
401
393
|
totalStorageSizeUnit: bigint | null;
|
|
402
394
|
totalStorageSizePrice: number | null;
|
|
@@ -404,8 +396,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
404
396
|
};
|
|
405
397
|
_output_out: {
|
|
406
398
|
id: string;
|
|
407
|
-
totalStorageSize: bigint | null;
|
|
408
|
-
perDataSize: bigint | null;
|
|
409
399
|
devs: bigint | null;
|
|
410
400
|
devsBase: bigint | null;
|
|
411
401
|
devsUnit: bigint | null;
|
|
@@ -414,6 +404,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
414
404
|
usersBase: bigint | null;
|
|
415
405
|
usersUnit: bigint | null;
|
|
416
406
|
usersPrice: number | null;
|
|
407
|
+
perDataSize: bigint | null;
|
|
417
408
|
perDataSizeBase: bigint | null;
|
|
418
409
|
perDataSizeUnit: bigint | null;
|
|
419
410
|
perDataSizePrice: number | null;
|
|
@@ -421,6 +412,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
421
412
|
bandwidthBase: bigint | null;
|
|
422
413
|
bandwidthUnit: bigint | null;
|
|
423
414
|
bandwidthPrice: number | null;
|
|
415
|
+
totalStorageSize: bigint | null;
|
|
424
416
|
totalStorageSizeBase: bigint | null;
|
|
425
417
|
totalStorageSizeUnit: bigint | null;
|
|
426
418
|
totalStorageSizePrice: number | null;
|
|
@@ -559,7 +551,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
559
551
|
accountRole: _prisma_client.AccountRole;
|
|
560
552
|
userId: string;
|
|
561
553
|
userRole: _prisma_client.UserRole;
|
|
562
|
-
|
|
554
|
+
org: {
|
|
555
|
+
id: string;
|
|
556
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
557
|
+
role: _prisma_client.OrganizationRole;
|
|
558
|
+
};
|
|
563
559
|
};
|
|
564
560
|
req: {
|
|
565
561
|
headers: Headers;
|
|
@@ -583,8 +579,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
583
579
|
canHaveDatabase?: boolean | undefined;
|
|
584
580
|
} & {
|
|
585
581
|
quotas: {
|
|
586
|
-
totalStorageSize: bigint | null;
|
|
587
|
-
perDataSize: bigint | null;
|
|
588
582
|
devs: bigint | null;
|
|
589
583
|
devsBase: bigint | null;
|
|
590
584
|
devsUnit: bigint | null;
|
|
@@ -593,6 +587,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
593
587
|
usersBase: bigint | null;
|
|
594
588
|
usersUnit: bigint | null;
|
|
595
589
|
usersPrice: number | null;
|
|
590
|
+
perDataSize: bigint | null;
|
|
596
591
|
perDataSizeBase: bigint | null;
|
|
597
592
|
perDataSizeUnit: bigint | null;
|
|
598
593
|
perDataSizePrice: number | null;
|
|
@@ -600,20 +595,20 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
600
595
|
bandwidthBase: bigint | null;
|
|
601
596
|
bandwidthUnit: bigint | null;
|
|
602
597
|
bandwidthPrice: number | null;
|
|
598
|
+
totalStorageSize: bigint | null;
|
|
603
599
|
totalStorageSizeBase: bigint | null;
|
|
604
600
|
totalStorageSizeUnit: bigint | null;
|
|
605
601
|
totalStorageSizePrice: number | null;
|
|
606
602
|
baseQuotasId: string;
|
|
607
603
|
} & {
|
|
608
604
|
baseQuotas: {
|
|
605
|
+
perDataSize: bigint | null;
|
|
606
|
+
totalStorageSize: bigint | null;
|
|
609
607
|
downloadBandwidth: bigint | null;
|
|
610
608
|
downloadCount: bigint | null;
|
|
611
609
|
uploadBandwidth: bigint | null;
|
|
612
610
|
uploadCount: bigint | null;
|
|
613
611
|
totalDataCount: bigint | null;
|
|
614
|
-
totalStorageSize: bigint | null;
|
|
615
|
-
perDataSize: bigint | null;
|
|
616
|
-
receivedMailsId: string;
|
|
617
612
|
sentMailsId: string;
|
|
618
613
|
};
|
|
619
614
|
};
|
|
@@ -629,8 +624,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
629
624
|
canHaveDatabase: boolean;
|
|
630
625
|
} & {
|
|
631
626
|
quotas: {
|
|
632
|
-
totalStorageSize: bigint | null;
|
|
633
|
-
perDataSize: bigint | null;
|
|
634
627
|
devs: bigint | null;
|
|
635
628
|
devsBase: bigint | null;
|
|
636
629
|
devsUnit: bigint | null;
|
|
@@ -639,6 +632,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
639
632
|
usersBase: bigint | null;
|
|
640
633
|
usersUnit: bigint | null;
|
|
641
634
|
usersPrice: number | null;
|
|
635
|
+
perDataSize: bigint | null;
|
|
642
636
|
perDataSizeBase: bigint | null;
|
|
643
637
|
perDataSizeUnit: bigint | null;
|
|
644
638
|
perDataSizePrice: number | null;
|
|
@@ -646,20 +640,20 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
646
640
|
bandwidthBase: bigint | null;
|
|
647
641
|
bandwidthUnit: bigint | null;
|
|
648
642
|
bandwidthPrice: number | null;
|
|
643
|
+
totalStorageSize: bigint | null;
|
|
649
644
|
totalStorageSizeBase: bigint | null;
|
|
650
645
|
totalStorageSizeUnit: bigint | null;
|
|
651
646
|
totalStorageSizePrice: number | null;
|
|
652
647
|
baseQuotasId: string;
|
|
653
648
|
} & {
|
|
654
649
|
baseQuotas: {
|
|
650
|
+
perDataSize: bigint | null;
|
|
651
|
+
totalStorageSize: bigint | null;
|
|
655
652
|
downloadBandwidth: bigint | null;
|
|
656
653
|
downloadCount: bigint | null;
|
|
657
654
|
uploadBandwidth: bigint | null;
|
|
658
655
|
uploadCount: bigint | null;
|
|
659
656
|
totalDataCount: bigint | null;
|
|
660
|
-
totalStorageSize: bigint | null;
|
|
661
|
-
perDataSize: bigint | null;
|
|
662
|
-
receivedMailsId: string;
|
|
663
657
|
sentMailsId: string;
|
|
664
658
|
};
|
|
665
659
|
};
|
|
@@ -909,7 +903,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
909
903
|
accountRole: _prisma_client.AccountRole;
|
|
910
904
|
userId: string;
|
|
911
905
|
userRole: _prisma_client.UserRole;
|
|
912
|
-
|
|
906
|
+
org: {
|
|
907
|
+
id: string;
|
|
908
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
909
|
+
role: _prisma_client.OrganizationRole;
|
|
910
|
+
};
|
|
913
911
|
};
|
|
914
912
|
req: {
|
|
915
913
|
headers: Headers;
|
|
@@ -1262,34 +1260,26 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
1262
1260
|
kind: "free" | "basic" | "advanced" | "pro";
|
|
1263
1261
|
};
|
|
1264
1262
|
_output_in: {
|
|
1263
|
+
name: string;
|
|
1265
1264
|
id: string;
|
|
1266
|
-
|
|
1267
|
-
firstname: string;
|
|
1268
|
-
avatar: string | null;
|
|
1269
|
-
isSearchable: boolean;
|
|
1270
|
-
} & {
|
|
1265
|
+
ownerId: string;
|
|
1271
1266
|
createdAt: Date;
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
};
|
|
1267
|
+
planId: string;
|
|
1268
|
+
stripeSubId: string | null;
|
|
1269
|
+
stripeSubPaidUntil: Date | null;
|
|
1270
|
+
quotasId: string;
|
|
1271
|
+
billingProfileStripeCustomerId: string | null;
|
|
1278
1272
|
};
|
|
1279
1273
|
_output_out: {
|
|
1274
|
+
name: string;
|
|
1280
1275
|
id: string;
|
|
1281
|
-
|
|
1282
|
-
firstname: string;
|
|
1283
|
-
avatar: string | null;
|
|
1284
|
-
isSearchable: boolean;
|
|
1285
|
-
} & {
|
|
1276
|
+
ownerId: string;
|
|
1286
1277
|
createdAt: Date;
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
};
|
|
1278
|
+
planId: string;
|
|
1279
|
+
stripeSubId: string | null;
|
|
1280
|
+
stripeSubPaidUntil: Date | null;
|
|
1281
|
+
quotasId: string;
|
|
1282
|
+
billingProfileStripeCustomerId: string | null;
|
|
1293
1283
|
};
|
|
1294
1284
|
}, unknown>>;
|
|
1295
1285
|
};
|
|
@@ -2019,11 +2009,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2019
2009
|
_output_in: ({
|
|
2020
2010
|
id: string;
|
|
2021
2011
|
lang: "fr" | "en";
|
|
2022
|
-
body: string;
|
|
2023
2012
|
title: string;
|
|
2024
2013
|
status: "draft" | "published";
|
|
2025
2014
|
summary: string;
|
|
2026
2015
|
date: Date;
|
|
2016
|
+
body: string;
|
|
2027
2017
|
tags: string[];
|
|
2028
2018
|
author: string;
|
|
2029
2019
|
image: string;
|
|
@@ -2038,11 +2028,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2038
2028
|
_output_out: ({
|
|
2039
2029
|
id: string;
|
|
2040
2030
|
lang: "fr" | "en";
|
|
2041
|
-
body: string;
|
|
2042
2031
|
title: string;
|
|
2043
2032
|
status: "draft" | "published";
|
|
2044
2033
|
summary: string;
|
|
2045
2034
|
date: Date;
|
|
2035
|
+
body: string;
|
|
2046
2036
|
tags: string[];
|
|
2047
2037
|
author: string;
|
|
2048
2038
|
image: string;
|
|
@@ -2089,11 +2079,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2089
2079
|
_output_in: {
|
|
2090
2080
|
id: string;
|
|
2091
2081
|
lang: "fr" | "en";
|
|
2092
|
-
body: string;
|
|
2093
2082
|
title: string;
|
|
2094
2083
|
status: "draft" | "published";
|
|
2095
2084
|
summary: string;
|
|
2096
2085
|
date: Date;
|
|
2086
|
+
body: string;
|
|
2097
2087
|
tags: string[];
|
|
2098
2088
|
author: string;
|
|
2099
2089
|
image: string;
|
|
@@ -2108,11 +2098,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2108
2098
|
_output_out: {
|
|
2109
2099
|
id: string;
|
|
2110
2100
|
lang: "fr" | "en";
|
|
2111
|
-
body: string;
|
|
2112
2101
|
title: string;
|
|
2113
2102
|
status: "draft" | "published";
|
|
2114
2103
|
summary: string;
|
|
2115
2104
|
date: Date;
|
|
2105
|
+
body: string;
|
|
2116
2106
|
tags: string[];
|
|
2117
2107
|
author: string;
|
|
2118
2108
|
image: string;
|
|
@@ -2202,9 +2192,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2202
2192
|
createdAt: Date;
|
|
2203
2193
|
storageType: "s3" | "cold" | "lite";
|
|
2204
2194
|
size: bigint;
|
|
2195
|
+
createdByUserId: string;
|
|
2196
|
+
createdByAppId: string;
|
|
2197
|
+
createdByOrgId: string;
|
|
2205
2198
|
md5: string;
|
|
2206
|
-
userAppUserId: string;
|
|
2207
|
-
userAppAppId: string;
|
|
2208
2199
|
sizeEncrypted: bigint | null;
|
|
2209
2200
|
md5Encrypted: string | null;
|
|
2210
2201
|
mime: string | null;
|
|
@@ -2221,9 +2212,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2221
2212
|
createdAt: Date;
|
|
2222
2213
|
storageType: "s3" | "cold" | "lite";
|
|
2223
2214
|
size: bigint;
|
|
2215
|
+
createdByUserId: string;
|
|
2216
|
+
createdByAppId: string;
|
|
2217
|
+
createdByOrgId: string;
|
|
2224
2218
|
md5: string;
|
|
2225
|
-
userAppUserId: string;
|
|
2226
|
-
userAppAppId: string;
|
|
2227
2219
|
sizeEncrypted: bigint | null;
|
|
2228
2220
|
md5Encrypted: string | null;
|
|
2229
2221
|
mime: string | null;
|
|
@@ -2353,9 +2345,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2353
2345
|
createdAt: Date;
|
|
2354
2346
|
storageType: "s3" | "cold" | "lite";
|
|
2355
2347
|
size: bigint;
|
|
2348
|
+
createdByUserId: string;
|
|
2349
|
+
createdByAppId: string;
|
|
2350
|
+
createdByOrgId: string;
|
|
2356
2351
|
md5: string;
|
|
2357
|
-
userAppUserId: string;
|
|
2358
|
-
userAppAppId: string;
|
|
2359
2352
|
sizeEncrypted: bigint | null;
|
|
2360
2353
|
md5Encrypted: string | null;
|
|
2361
2354
|
mime: string | null;
|
|
@@ -2372,9 +2365,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2372
2365
|
createdAt: Date;
|
|
2373
2366
|
storageType: "s3" | "cold" | "lite";
|
|
2374
2367
|
size: bigint;
|
|
2368
|
+
createdByUserId: string;
|
|
2369
|
+
createdByAppId: string;
|
|
2370
|
+
createdByOrgId: string;
|
|
2375
2371
|
md5: string;
|
|
2376
|
-
userAppUserId: string;
|
|
2377
|
-
userAppAppId: string;
|
|
2378
2372
|
sizeEncrypted: bigint | null;
|
|
2379
2373
|
md5Encrypted: string | null;
|
|
2380
2374
|
mime: string | null;
|
|
@@ -2543,9 +2537,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2543
2537
|
createdAt: Date;
|
|
2544
2538
|
storageType: "s3" | "cold" | "lite";
|
|
2545
2539
|
size: bigint;
|
|
2540
|
+
createdByUserId: string;
|
|
2541
|
+
createdByAppId: string;
|
|
2542
|
+
createdByOrgId: string;
|
|
2546
2543
|
md5: string;
|
|
2547
|
-
userAppUserId: string;
|
|
2548
|
-
userAppAppId: string;
|
|
2549
2544
|
sizeEncrypted: bigint | null;
|
|
2550
2545
|
md5Encrypted: string | null;
|
|
2551
2546
|
mime: string | null;
|
|
@@ -2562,9 +2557,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2562
2557
|
createdAt: Date;
|
|
2563
2558
|
storageType: "s3" | "cold" | "lite";
|
|
2564
2559
|
size: bigint;
|
|
2560
|
+
createdByUserId: string;
|
|
2561
|
+
createdByAppId: string;
|
|
2562
|
+
createdByOrgId: string;
|
|
2565
2563
|
md5: string;
|
|
2566
|
-
userAppUserId: string;
|
|
2567
|
-
userAppAppId: string;
|
|
2568
2564
|
sizeEncrypted: bigint | null;
|
|
2569
2565
|
md5Encrypted: string | null;
|
|
2570
2566
|
mime: string | null;
|
|
@@ -2610,8 +2606,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2610
2606
|
};
|
|
2611
2607
|
_output_in: {
|
|
2612
2608
|
id: string;
|
|
2613
|
-
type: "received_mail";
|
|
2614
2609
|
key: string | null;
|
|
2610
|
+
type: "received_mail";
|
|
2615
2611
|
storageType: "s3" | "cold" | "lite";
|
|
2616
2612
|
size: bigint;
|
|
2617
2613
|
md5: string;
|
|
@@ -2628,8 +2624,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2628
2624
|
maybeContent: Buffer | null;
|
|
2629
2625
|
} | {
|
|
2630
2626
|
id: string;
|
|
2631
|
-
type: "sent_mail";
|
|
2632
2627
|
key: string | null;
|
|
2628
|
+
type: "sent_mail";
|
|
2633
2629
|
storageType: "s3" | "cold" | "lite";
|
|
2634
2630
|
size: bigint;
|
|
2635
2631
|
md5: string;
|
|
@@ -2645,8 +2641,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2645
2641
|
maybeContent: Buffer | null;
|
|
2646
2642
|
} | {
|
|
2647
2643
|
id: string;
|
|
2648
|
-
type: "cloud";
|
|
2649
2644
|
key: string | null;
|
|
2645
|
+
type: "cloud";
|
|
2650
2646
|
storageType: "s3" | "cold";
|
|
2651
2647
|
size: bigint;
|
|
2652
2648
|
md5: string;
|
|
@@ -2662,8 +2658,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2662
2658
|
publicKey: string;
|
|
2663
2659
|
} | {
|
|
2664
2660
|
id: string;
|
|
2665
|
-
type: "lite";
|
|
2666
2661
|
key: string | null;
|
|
2662
|
+
type: "lite";
|
|
2667
2663
|
storageType: "lite";
|
|
2668
2664
|
size: bigint;
|
|
2669
2665
|
md5: string;
|
|
@@ -2676,8 +2672,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2676
2672
|
};
|
|
2677
2673
|
_output_out: {
|
|
2678
2674
|
id: string;
|
|
2679
|
-
type: "received_mail";
|
|
2680
2675
|
key: string | null;
|
|
2676
|
+
type: "received_mail";
|
|
2681
2677
|
storageType: "s3" | "cold" | "lite";
|
|
2682
2678
|
size: bigint;
|
|
2683
2679
|
md5: string;
|
|
@@ -2694,8 +2690,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2694
2690
|
maybeContent: Buffer | null;
|
|
2695
2691
|
} | {
|
|
2696
2692
|
id: string;
|
|
2697
|
-
type: "sent_mail";
|
|
2698
2693
|
key: string | null;
|
|
2694
|
+
type: "sent_mail";
|
|
2699
2695
|
storageType: "s3" | "cold" | "lite";
|
|
2700
2696
|
size: bigint;
|
|
2701
2697
|
md5: string;
|
|
@@ -2711,8 +2707,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2711
2707
|
maybeContent: Buffer | null;
|
|
2712
2708
|
} | {
|
|
2713
2709
|
id: string;
|
|
2714
|
-
type: "cloud";
|
|
2715
2710
|
key: string | null;
|
|
2711
|
+
type: "cloud";
|
|
2716
2712
|
storageType: "s3" | "cold";
|
|
2717
2713
|
size: bigint;
|
|
2718
2714
|
md5: string;
|
|
@@ -2728,8 +2724,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2728
2724
|
publicKey: string;
|
|
2729
2725
|
} | {
|
|
2730
2726
|
id: string;
|
|
2731
|
-
type: "lite";
|
|
2732
2727
|
key: string | null;
|
|
2728
|
+
type: "lite";
|
|
2733
2729
|
storageType: "lite";
|
|
2734
2730
|
size: bigint;
|
|
2735
2731
|
md5: string;
|
|
@@ -2774,8 +2770,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2774
2770
|
};
|
|
2775
2771
|
_output_in: ({
|
|
2776
2772
|
id: string;
|
|
2777
|
-
type: "received_mail";
|
|
2778
2773
|
key: string | null;
|
|
2774
|
+
type: "received_mail";
|
|
2779
2775
|
storageType: "s3" | "cold" | "lite";
|
|
2780
2776
|
size: bigint;
|
|
2781
2777
|
md5: string;
|
|
@@ -2792,8 +2788,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2792
2788
|
maybeContent: Buffer | null;
|
|
2793
2789
|
} | {
|
|
2794
2790
|
id: string;
|
|
2795
|
-
type: "sent_mail";
|
|
2796
2791
|
key: string | null;
|
|
2792
|
+
type: "sent_mail";
|
|
2797
2793
|
storageType: "s3" | "cold" | "lite";
|
|
2798
2794
|
size: bigint;
|
|
2799
2795
|
md5: string;
|
|
@@ -2809,8 +2805,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2809
2805
|
maybeContent: Buffer | null;
|
|
2810
2806
|
} | {
|
|
2811
2807
|
id: string;
|
|
2812
|
-
type: "cloud";
|
|
2813
2808
|
key: string | null;
|
|
2809
|
+
type: "cloud";
|
|
2814
2810
|
storageType: "s3" | "cold";
|
|
2815
2811
|
size: bigint;
|
|
2816
2812
|
md5: string;
|
|
@@ -2826,8 +2822,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2826
2822
|
publicKey: string;
|
|
2827
2823
|
} | {
|
|
2828
2824
|
id: string;
|
|
2829
|
-
type: "lite";
|
|
2830
2825
|
key: string | null;
|
|
2826
|
+
type: "lite";
|
|
2831
2827
|
storageType: "lite";
|
|
2832
2828
|
size: bigint;
|
|
2833
2829
|
md5: string;
|
|
@@ -2840,8 +2836,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2840
2836
|
})[];
|
|
2841
2837
|
_output_out: ({
|
|
2842
2838
|
id: string;
|
|
2843
|
-
type: "received_mail";
|
|
2844
2839
|
key: string | null;
|
|
2840
|
+
type: "received_mail";
|
|
2845
2841
|
storageType: "s3" | "cold" | "lite";
|
|
2846
2842
|
size: bigint;
|
|
2847
2843
|
md5: string;
|
|
@@ -2858,8 +2854,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2858
2854
|
maybeContent: Buffer | null;
|
|
2859
2855
|
} | {
|
|
2860
2856
|
id: string;
|
|
2861
|
-
type: "sent_mail";
|
|
2862
2857
|
key: string | null;
|
|
2858
|
+
type: "sent_mail";
|
|
2863
2859
|
storageType: "s3" | "cold" | "lite";
|
|
2864
2860
|
size: bigint;
|
|
2865
2861
|
md5: string;
|
|
@@ -2875,8 +2871,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2875
2871
|
maybeContent: Buffer | null;
|
|
2876
2872
|
} | {
|
|
2877
2873
|
id: string;
|
|
2878
|
-
type: "cloud";
|
|
2879
2874
|
key: string | null;
|
|
2875
|
+
type: "cloud";
|
|
2880
2876
|
storageType: "s3" | "cold";
|
|
2881
2877
|
size: bigint;
|
|
2882
2878
|
md5: string;
|
|
@@ -2892,8 +2888,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
2892
2888
|
publicKey: string;
|
|
2893
2889
|
} | {
|
|
2894
2890
|
id: string;
|
|
2895
|
-
type: "lite";
|
|
2896
2891
|
key: string | null;
|
|
2892
|
+
type: "lite";
|
|
2897
2893
|
storageType: "lite";
|
|
2898
2894
|
size: bigint;
|
|
2899
2895
|
md5: string;
|
|
@@ -3064,9 +3060,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3064
3060
|
createdAt: Date;
|
|
3065
3061
|
storageType: "s3" | "cold" | "lite";
|
|
3066
3062
|
size: bigint;
|
|
3063
|
+
createdByUserId: string;
|
|
3064
|
+
createdByAppId: string;
|
|
3065
|
+
createdByOrgId: string;
|
|
3067
3066
|
md5: string;
|
|
3068
|
-
userAppUserId: string;
|
|
3069
|
-
userAppAppId: string;
|
|
3070
3067
|
sizeEncrypted: bigint | null;
|
|
3071
3068
|
md5Encrypted: string | null;
|
|
3072
3069
|
mime: string | null;
|
|
@@ -3083,9 +3080,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3083
3080
|
createdAt: Date;
|
|
3084
3081
|
storageType: "s3" | "cold" | "lite";
|
|
3085
3082
|
size: bigint;
|
|
3083
|
+
createdByUserId: string;
|
|
3084
|
+
createdByAppId: string;
|
|
3085
|
+
createdByOrgId: string;
|
|
3086
3086
|
md5: string;
|
|
3087
|
-
userAppUserId: string;
|
|
3088
|
-
userAppAppId: string;
|
|
3089
3087
|
sizeEncrypted: bigint | null;
|
|
3090
3088
|
md5Encrypted: string | null;
|
|
3091
3089
|
mime: string | null;
|
|
@@ -3215,9 +3213,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3215
3213
|
createdAt: Date;
|
|
3216
3214
|
storageType: "s3" | "cold" | "lite";
|
|
3217
3215
|
size: bigint;
|
|
3216
|
+
createdByUserId: string;
|
|
3217
|
+
createdByAppId: string;
|
|
3218
|
+
createdByOrgId: string;
|
|
3218
3219
|
md5: string;
|
|
3219
|
-
userAppUserId: string;
|
|
3220
|
-
userAppAppId: string;
|
|
3221
3220
|
sizeEncrypted: bigint | null;
|
|
3222
3221
|
md5Encrypted: string | null;
|
|
3223
3222
|
mime: string | null;
|
|
@@ -3234,9 +3233,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3234
3233
|
createdAt: Date;
|
|
3235
3234
|
storageType: "s3" | "cold" | "lite";
|
|
3236
3235
|
size: bigint;
|
|
3236
|
+
createdByUserId: string;
|
|
3237
|
+
createdByAppId: string;
|
|
3238
|
+
createdByOrgId: string;
|
|
3237
3239
|
md5: string;
|
|
3238
|
-
userAppUserId: string;
|
|
3239
|
-
userAppAppId: string;
|
|
3240
3240
|
sizeEncrypted: bigint | null;
|
|
3241
3241
|
md5Encrypted: string | null;
|
|
3242
3242
|
mime: string | null;
|
|
@@ -3605,8 +3605,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3605
3605
|
_meta: object;
|
|
3606
3606
|
_ctx_out: {};
|
|
3607
3607
|
_input_in: {
|
|
3608
|
-
type: "encrypted";
|
|
3609
3608
|
key: string;
|
|
3609
|
+
type: "encrypted";
|
|
3610
3610
|
size: bigint;
|
|
3611
3611
|
md5: string;
|
|
3612
3612
|
sizeEncrypted: bigint;
|
|
@@ -3621,8 +3621,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3621
3621
|
ext?: string | undefined;
|
|
3622
3622
|
};
|
|
3623
3623
|
_input_out: {
|
|
3624
|
-
type: "encrypted";
|
|
3625
3624
|
key: string;
|
|
3625
|
+
type: "encrypted";
|
|
3626
3626
|
size: bigint;
|
|
3627
3627
|
md5: string;
|
|
3628
3628
|
sizeEncrypted: bigint;
|
|
@@ -3691,8 +3691,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3691
3691
|
_meta: object;
|
|
3692
3692
|
_ctx_out: {};
|
|
3693
3693
|
_input_in: {
|
|
3694
|
-
type: "encrypted";
|
|
3695
3694
|
key: string;
|
|
3695
|
+
type: "encrypted";
|
|
3696
3696
|
size: bigint;
|
|
3697
3697
|
md5: string;
|
|
3698
3698
|
sizeEncrypted: bigint;
|
|
@@ -3707,8 +3707,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3707
3707
|
ext?: string | undefined;
|
|
3708
3708
|
};
|
|
3709
3709
|
_input_out: {
|
|
3710
|
-
type: "encrypted";
|
|
3711
3710
|
key: string;
|
|
3711
|
+
type: "encrypted";
|
|
3712
3712
|
size: bigint;
|
|
3713
3713
|
md5: string;
|
|
3714
3714
|
sizeEncrypted: bigint;
|
|
@@ -3777,8 +3777,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3777
3777
|
_meta: object;
|
|
3778
3778
|
_ctx_out: {};
|
|
3779
3779
|
_input_in: {
|
|
3780
|
-
type: "encrypted";
|
|
3781
3780
|
key: string;
|
|
3781
|
+
type: "encrypted";
|
|
3782
3782
|
size: bigint;
|
|
3783
3783
|
md5: string;
|
|
3784
3784
|
sizeEncrypted: bigint;
|
|
@@ -3795,8 +3795,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
3795
3795
|
ext?: string | undefined;
|
|
3796
3796
|
};
|
|
3797
3797
|
_input_out: {
|
|
3798
|
-
type: "encrypted";
|
|
3799
3798
|
key: string;
|
|
3799
|
+
type: "encrypted";
|
|
3800
3800
|
size: bigint;
|
|
3801
3801
|
md5: string;
|
|
3802
3802
|
sizeEncrypted: bigint;
|
|
@@ -4288,9 +4288,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
4288
4288
|
createdAt: Date;
|
|
4289
4289
|
storageType: "s3" | "cold" | "lite";
|
|
4290
4290
|
size: bigint;
|
|
4291
|
+
createdByUserId: string;
|
|
4292
|
+
createdByAppId: string;
|
|
4293
|
+
createdByOrgId: string;
|
|
4291
4294
|
md5: string;
|
|
4292
|
-
userAppUserId: string;
|
|
4293
|
-
userAppAppId: string;
|
|
4294
4295
|
sizeEncrypted: bigint | null;
|
|
4295
4296
|
md5Encrypted: string | null;
|
|
4296
4297
|
mime: string | null;
|
|
@@ -4307,9 +4308,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
4307
4308
|
createdAt: Date;
|
|
4308
4309
|
storageType: "s3" | "cold" | "lite";
|
|
4309
4310
|
size: bigint;
|
|
4311
|
+
createdByUserId: string;
|
|
4312
|
+
createdByAppId: string;
|
|
4313
|
+
createdByOrgId: string;
|
|
4310
4314
|
md5: string;
|
|
4311
|
-
userAppUserId: string;
|
|
4312
|
-
userAppAppId: string;
|
|
4313
4315
|
sizeEncrypted: bigint | null;
|
|
4314
4316
|
md5Encrypted: string | null;
|
|
4315
4317
|
mime: string | null;
|
|
@@ -4439,9 +4441,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
4439
4441
|
createdAt: Date;
|
|
4440
4442
|
storageType: "s3" | "cold" | "lite";
|
|
4441
4443
|
size: bigint;
|
|
4444
|
+
createdByUserId: string;
|
|
4445
|
+
createdByAppId: string;
|
|
4446
|
+
createdByOrgId: string;
|
|
4442
4447
|
md5: string;
|
|
4443
|
-
userAppUserId: string;
|
|
4444
|
-
userAppAppId: string;
|
|
4445
4448
|
sizeEncrypted: bigint | null;
|
|
4446
4449
|
md5Encrypted: string | null;
|
|
4447
4450
|
mime: string | null;
|
|
@@ -4458,9 +4461,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
4458
4461
|
createdAt: Date;
|
|
4459
4462
|
storageType: "s3" | "cold" | "lite";
|
|
4460
4463
|
size: bigint;
|
|
4464
|
+
createdByUserId: string;
|
|
4465
|
+
createdByAppId: string;
|
|
4466
|
+
createdByOrgId: string;
|
|
4461
4467
|
md5: string;
|
|
4462
|
-
userAppUserId: string;
|
|
4463
|
-
userAppAppId: string;
|
|
4464
4468
|
sizeEncrypted: bigint | null;
|
|
4465
4469
|
md5Encrypted: string | null;
|
|
4466
4470
|
mime: string | null;
|
|
@@ -4861,6 +4865,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
4861
4865
|
id: string;
|
|
4862
4866
|
};
|
|
4863
4867
|
_output_in: {
|
|
4868
|
+
createdAt: Date;
|
|
4864
4869
|
rights: "admin" | "write" | "read";
|
|
4865
4870
|
nameKey: string | null;
|
|
4866
4871
|
isRoot: boolean;
|
|
@@ -4871,6 +4876,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
4871
4876
|
userAppAppId: string;
|
|
4872
4877
|
};
|
|
4873
4878
|
_output_out: {
|
|
4879
|
+
createdAt: Date;
|
|
4874
4880
|
rights: "admin" | "write" | "read";
|
|
4875
4881
|
nameKey: string | null;
|
|
4876
4882
|
isRoot: boolean;
|
|
@@ -5108,9 +5114,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
5108
5114
|
createdAt: Date;
|
|
5109
5115
|
storageType: "s3" | "cold" | "lite";
|
|
5110
5116
|
size: bigint;
|
|
5117
|
+
createdByUserId: string;
|
|
5118
|
+
createdByAppId: string;
|
|
5119
|
+
createdByOrgId: string;
|
|
5111
5120
|
md5: string;
|
|
5112
|
-
userAppUserId: string;
|
|
5113
|
-
userAppAppId: string;
|
|
5114
5121
|
sizeEncrypted: bigint | null;
|
|
5115
5122
|
md5Encrypted: string | null;
|
|
5116
5123
|
mime: string | null;
|
|
@@ -5127,9 +5134,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
5127
5134
|
createdAt: Date;
|
|
5128
5135
|
storageType: "s3" | "cold" | "lite";
|
|
5129
5136
|
size: bigint;
|
|
5137
|
+
createdByUserId: string;
|
|
5138
|
+
createdByAppId: string;
|
|
5139
|
+
createdByOrgId: string;
|
|
5130
5140
|
md5: string;
|
|
5131
|
-
userAppUserId: string;
|
|
5132
|
-
userAppAppId: string;
|
|
5133
5141
|
sizeEncrypted: bigint | null;
|
|
5134
5142
|
md5Encrypted: string | null;
|
|
5135
5143
|
mime: string | null;
|
|
@@ -5259,9 +5267,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
5259
5267
|
createdAt: Date;
|
|
5260
5268
|
storageType: "s3" | "cold" | "lite";
|
|
5261
5269
|
size: bigint;
|
|
5270
|
+
createdByUserId: string;
|
|
5271
|
+
createdByAppId: string;
|
|
5272
|
+
createdByOrgId: string;
|
|
5262
5273
|
md5: string;
|
|
5263
|
-
userAppUserId: string;
|
|
5264
|
-
userAppAppId: string;
|
|
5265
5274
|
sizeEncrypted: bigint | null;
|
|
5266
5275
|
md5Encrypted: string | null;
|
|
5267
5276
|
mime: string | null;
|
|
@@ -5278,9 +5287,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
5278
5287
|
createdAt: Date;
|
|
5279
5288
|
storageType: "s3" | "cold" | "lite";
|
|
5280
5289
|
size: bigint;
|
|
5290
|
+
createdByUserId: string;
|
|
5291
|
+
createdByAppId: string;
|
|
5292
|
+
createdByOrgId: string;
|
|
5281
5293
|
md5: string;
|
|
5282
|
-
userAppUserId: string;
|
|
5283
|
-
userAppAppId: string;
|
|
5284
5294
|
sizeEncrypted: bigint | null;
|
|
5285
5295
|
md5Encrypted: string | null;
|
|
5286
5296
|
mime: string | null;
|
|
@@ -6032,9 +6042,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
6032
6042
|
createdAt: Date;
|
|
6033
6043
|
storageType: "s3" | "cold" | "lite";
|
|
6034
6044
|
size: bigint;
|
|
6045
|
+
createdByUserId: string;
|
|
6046
|
+
createdByAppId: string;
|
|
6047
|
+
createdByOrgId: string;
|
|
6035
6048
|
md5: string;
|
|
6036
|
-
userAppUserId: string;
|
|
6037
|
-
userAppAppId: string;
|
|
6038
6049
|
sizeEncrypted: bigint | null;
|
|
6039
6050
|
md5Encrypted: string | null;
|
|
6040
6051
|
mime: string | null;
|
|
@@ -6051,9 +6062,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
6051
6062
|
createdAt: Date;
|
|
6052
6063
|
storageType: "s3" | "cold" | "lite";
|
|
6053
6064
|
size: bigint;
|
|
6065
|
+
createdByUserId: string;
|
|
6066
|
+
createdByAppId: string;
|
|
6067
|
+
createdByOrgId: string;
|
|
6054
6068
|
md5: string;
|
|
6055
|
-
userAppUserId: string;
|
|
6056
|
-
userAppAppId: string;
|
|
6057
6069
|
sizeEncrypted: bigint | null;
|
|
6058
6070
|
md5Encrypted: string | null;
|
|
6059
6071
|
mime: string | null;
|
|
@@ -6183,9 +6195,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
6183
6195
|
createdAt: Date;
|
|
6184
6196
|
storageType: "s3" | "cold" | "lite";
|
|
6185
6197
|
size: bigint;
|
|
6198
|
+
createdByUserId: string;
|
|
6199
|
+
createdByAppId: string;
|
|
6200
|
+
createdByOrgId: string;
|
|
6186
6201
|
md5: string;
|
|
6187
|
-
userAppUserId: string;
|
|
6188
|
-
userAppAppId: string;
|
|
6189
6202
|
sizeEncrypted: bigint | null;
|
|
6190
6203
|
md5Encrypted: string | null;
|
|
6191
6204
|
mime: string | null;
|
|
@@ -6202,9 +6215,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
6202
6215
|
createdAt: Date;
|
|
6203
6216
|
storageType: "s3" | "cold" | "lite";
|
|
6204
6217
|
size: bigint;
|
|
6218
|
+
createdByUserId: string;
|
|
6219
|
+
createdByAppId: string;
|
|
6220
|
+
createdByOrgId: string;
|
|
6205
6221
|
md5: string;
|
|
6206
|
-
userAppUserId: string;
|
|
6207
|
-
userAppAppId: string;
|
|
6208
6222
|
sizeEncrypted: bigint | null;
|
|
6209
6223
|
md5Encrypted: string | null;
|
|
6210
6224
|
mime: string | null;
|
|
@@ -6938,7 +6952,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
6938
6952
|
accountRole: _prisma_client.AccountRole;
|
|
6939
6953
|
userId: string;
|
|
6940
6954
|
userRole: _prisma_client.UserRole;
|
|
6941
|
-
|
|
6955
|
+
org: {
|
|
6956
|
+
id: string;
|
|
6957
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
6958
|
+
role: _prisma_client.OrganizationRole;
|
|
6959
|
+
};
|
|
6942
6960
|
};
|
|
6943
6961
|
req: {
|
|
6944
6962
|
headers: Headers;
|
|
@@ -7020,7 +7038,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7020
7038
|
accountRole: _prisma_client.AccountRole;
|
|
7021
7039
|
userId: string;
|
|
7022
7040
|
userRole: _prisma_client.UserRole;
|
|
7023
|
-
|
|
7041
|
+
org: {
|
|
7042
|
+
id: string;
|
|
7043
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7044
|
+
role: _prisma_client.OrganizationRole;
|
|
7045
|
+
};
|
|
7024
7046
|
};
|
|
7025
7047
|
req: {
|
|
7026
7048
|
headers: Headers;
|
|
@@ -7096,7 +7118,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7096
7118
|
accountRole: _prisma_client.AccountRole;
|
|
7097
7119
|
userId: string;
|
|
7098
7120
|
userRole: _prisma_client.UserRole;
|
|
7099
|
-
|
|
7121
|
+
org: {
|
|
7122
|
+
id: string;
|
|
7123
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7124
|
+
role: _prisma_client.OrganizationRole;
|
|
7125
|
+
};
|
|
7100
7126
|
};
|
|
7101
7127
|
req: {
|
|
7102
7128
|
headers: Headers;
|
|
@@ -7178,7 +7204,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7178
7204
|
accountRole: _prisma_client.AccountRole;
|
|
7179
7205
|
userId: string;
|
|
7180
7206
|
userRole: _prisma_client.UserRole;
|
|
7181
|
-
|
|
7207
|
+
org: {
|
|
7208
|
+
id: string;
|
|
7209
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7210
|
+
role: _prisma_client.OrganizationRole;
|
|
7211
|
+
};
|
|
7182
7212
|
};
|
|
7183
7213
|
req: {
|
|
7184
7214
|
headers: Headers;
|
|
@@ -7258,7 +7288,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7258
7288
|
accountRole: _prisma_client.AccountRole;
|
|
7259
7289
|
userId: string;
|
|
7260
7290
|
userRole: _prisma_client.UserRole;
|
|
7261
|
-
|
|
7291
|
+
org: {
|
|
7292
|
+
id: string;
|
|
7293
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7294
|
+
role: _prisma_client.OrganizationRole;
|
|
7295
|
+
};
|
|
7262
7296
|
};
|
|
7263
7297
|
req: {
|
|
7264
7298
|
headers: Headers;
|
|
@@ -7336,7 +7370,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7336
7370
|
accountRole: _prisma_client.AccountRole;
|
|
7337
7371
|
userId: string;
|
|
7338
7372
|
userRole: _prisma_client.UserRole;
|
|
7339
|
-
|
|
7373
|
+
org: {
|
|
7374
|
+
id: string;
|
|
7375
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7376
|
+
role: _prisma_client.OrganizationRole;
|
|
7377
|
+
};
|
|
7340
7378
|
};
|
|
7341
7379
|
req: {
|
|
7342
7380
|
headers: Headers;
|
|
@@ -7412,7 +7450,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7412
7450
|
accountRole: _prisma_client.AccountRole;
|
|
7413
7451
|
userId: string;
|
|
7414
7452
|
userRole: _prisma_client.UserRole;
|
|
7415
|
-
|
|
7453
|
+
org: {
|
|
7454
|
+
id: string;
|
|
7455
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7456
|
+
role: _prisma_client.OrganizationRole;
|
|
7457
|
+
};
|
|
7416
7458
|
};
|
|
7417
7459
|
req: {
|
|
7418
7460
|
headers: Headers;
|
|
@@ -7482,7 +7524,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7482
7524
|
accountRole: _prisma_client.AccountRole;
|
|
7483
7525
|
userId: string;
|
|
7484
7526
|
userRole: _prisma_client.UserRole;
|
|
7485
|
-
|
|
7527
|
+
org: {
|
|
7528
|
+
id: string;
|
|
7529
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7530
|
+
role: _prisma_client.OrganizationRole;
|
|
7531
|
+
};
|
|
7486
7532
|
};
|
|
7487
7533
|
req: {
|
|
7488
7534
|
headers: Headers;
|
|
@@ -7552,7 +7598,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7552
7598
|
accountRole: _prisma_client.AccountRole;
|
|
7553
7599
|
userId: string;
|
|
7554
7600
|
userRole: _prisma_client.UserRole;
|
|
7555
|
-
|
|
7601
|
+
org: {
|
|
7602
|
+
id: string;
|
|
7603
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7604
|
+
role: _prisma_client.OrganizationRole;
|
|
7605
|
+
};
|
|
7556
7606
|
};
|
|
7557
7607
|
req: {
|
|
7558
7608
|
headers: Headers;
|
|
@@ -7646,7 +7696,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7646
7696
|
accountRole: _prisma_client.AccountRole;
|
|
7647
7697
|
userId: string;
|
|
7648
7698
|
userRole: _prisma_client.UserRole;
|
|
7649
|
-
|
|
7699
|
+
org: {
|
|
7700
|
+
id: string;
|
|
7701
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7702
|
+
role: _prisma_client.OrganizationRole;
|
|
7703
|
+
};
|
|
7650
7704
|
};
|
|
7651
7705
|
req: {
|
|
7652
7706
|
headers: Headers;
|
|
@@ -7752,7 +7806,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7752
7806
|
accountRole: _prisma_client.AccountRole;
|
|
7753
7807
|
userId: string;
|
|
7754
7808
|
userRole: _prisma_client.UserRole;
|
|
7755
|
-
|
|
7809
|
+
org: {
|
|
7810
|
+
id: string;
|
|
7811
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7812
|
+
role: _prisma_client.OrganizationRole;
|
|
7813
|
+
};
|
|
7756
7814
|
};
|
|
7757
7815
|
req: {
|
|
7758
7816
|
headers: Headers;
|
|
@@ -7834,7 +7892,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
7834
7892
|
accountRole: _prisma_client.AccountRole;
|
|
7835
7893
|
userId: string;
|
|
7836
7894
|
userRole: _prisma_client.UserRole;
|
|
7837
|
-
|
|
7895
|
+
org: {
|
|
7896
|
+
id: string;
|
|
7897
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
7898
|
+
role: _prisma_client.OrganizationRole;
|
|
7899
|
+
};
|
|
7838
7900
|
};
|
|
7839
7901
|
req: {
|
|
7840
7902
|
headers: Headers;
|
|
@@ -8006,7 +8068,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8006
8068
|
accountRole: _prisma_client.AccountRole;
|
|
8007
8069
|
userId: string;
|
|
8008
8070
|
userRole: _prisma_client.UserRole;
|
|
8009
|
-
|
|
8071
|
+
org: {
|
|
8072
|
+
id: string;
|
|
8073
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8074
|
+
role: _prisma_client.OrganizationRole;
|
|
8075
|
+
};
|
|
8010
8076
|
};
|
|
8011
8077
|
req: {
|
|
8012
8078
|
headers: Headers;
|
|
@@ -8084,7 +8150,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8084
8150
|
accountRole: _prisma_client.AccountRole;
|
|
8085
8151
|
userId: string;
|
|
8086
8152
|
userRole: _prisma_client.UserRole;
|
|
8087
|
-
|
|
8153
|
+
org: {
|
|
8154
|
+
id: string;
|
|
8155
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8156
|
+
role: _prisma_client.OrganizationRole;
|
|
8157
|
+
};
|
|
8088
8158
|
};
|
|
8089
8159
|
req: {
|
|
8090
8160
|
headers: Headers;
|
|
@@ -8304,7 +8374,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8304
8374
|
accountRole: _prisma_client.AccountRole;
|
|
8305
8375
|
userId: string;
|
|
8306
8376
|
userRole: _prisma_client.UserRole;
|
|
8307
|
-
|
|
8377
|
+
org: {
|
|
8378
|
+
id: string;
|
|
8379
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8380
|
+
role: _prisma_client.OrganizationRole;
|
|
8381
|
+
};
|
|
8308
8382
|
};
|
|
8309
8383
|
req: {
|
|
8310
8384
|
headers: Headers;
|
|
@@ -8388,7 +8462,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8388
8462
|
accountRole: _prisma_client.AccountRole;
|
|
8389
8463
|
userId: string;
|
|
8390
8464
|
userRole: _prisma_client.UserRole;
|
|
8391
|
-
|
|
8465
|
+
org: {
|
|
8466
|
+
id: string;
|
|
8467
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8468
|
+
role: _prisma_client.OrganizationRole;
|
|
8469
|
+
};
|
|
8392
8470
|
};
|
|
8393
8471
|
req: {
|
|
8394
8472
|
headers: Headers;
|
|
@@ -8462,7 +8540,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8462
8540
|
accountRole: _prisma_client.AccountRole;
|
|
8463
8541
|
userId: string;
|
|
8464
8542
|
userRole: _prisma_client.UserRole;
|
|
8465
|
-
|
|
8543
|
+
org: {
|
|
8544
|
+
id: string;
|
|
8545
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8546
|
+
role: _prisma_client.OrganizationRole;
|
|
8547
|
+
};
|
|
8466
8548
|
};
|
|
8467
8549
|
req: {
|
|
8468
8550
|
headers: Headers;
|
|
@@ -8544,7 +8626,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8544
8626
|
accountRole: _prisma_client.AccountRole;
|
|
8545
8627
|
userId: string;
|
|
8546
8628
|
userRole: _prisma_client.UserRole;
|
|
8547
|
-
|
|
8629
|
+
org: {
|
|
8630
|
+
id: string;
|
|
8631
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8632
|
+
role: _prisma_client.OrganizationRole;
|
|
8633
|
+
};
|
|
8548
8634
|
};
|
|
8549
8635
|
req: {
|
|
8550
8636
|
headers: Headers;
|
|
@@ -8634,7 +8720,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8634
8720
|
accountRole: _prisma_client.AccountRole;
|
|
8635
8721
|
userId: string;
|
|
8636
8722
|
userRole: _prisma_client.UserRole;
|
|
8637
|
-
|
|
8723
|
+
org: {
|
|
8724
|
+
id: string;
|
|
8725
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8726
|
+
role: _prisma_client.OrganizationRole;
|
|
8727
|
+
};
|
|
8638
8728
|
};
|
|
8639
8729
|
req: {
|
|
8640
8730
|
headers: Headers;
|
|
@@ -8720,7 +8810,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8720
8810
|
accountRole: _prisma_client.AccountRole;
|
|
8721
8811
|
userId: string;
|
|
8722
8812
|
userRole: _prisma_client.UserRole;
|
|
8723
|
-
|
|
8813
|
+
org: {
|
|
8814
|
+
id: string;
|
|
8815
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8816
|
+
role: _prisma_client.OrganizationRole;
|
|
8817
|
+
};
|
|
8724
8818
|
};
|
|
8725
8819
|
req: {
|
|
8726
8820
|
headers: Headers;
|
|
@@ -8798,7 +8892,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8798
8892
|
accountRole: _prisma_client.AccountRole;
|
|
8799
8893
|
userId: string;
|
|
8800
8894
|
userRole: _prisma_client.UserRole;
|
|
8801
|
-
|
|
8895
|
+
org: {
|
|
8896
|
+
id: string;
|
|
8897
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8898
|
+
role: _prisma_client.OrganizationRole;
|
|
8899
|
+
};
|
|
8802
8900
|
};
|
|
8803
8901
|
req: {
|
|
8804
8902
|
headers: Headers;
|
|
@@ -8880,7 +8978,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8880
8978
|
accountRole: _prisma_client.AccountRole;
|
|
8881
8979
|
userId: string;
|
|
8882
8980
|
userRole: _prisma_client.UserRole;
|
|
8883
|
-
|
|
8981
|
+
org: {
|
|
8982
|
+
id: string;
|
|
8983
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
8984
|
+
role: _prisma_client.OrganizationRole;
|
|
8985
|
+
};
|
|
8884
8986
|
};
|
|
8885
8987
|
req: {
|
|
8886
8988
|
headers: Headers;
|
|
@@ -8964,7 +9066,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
8964
9066
|
accountRole: _prisma_client.AccountRole;
|
|
8965
9067
|
userId: string;
|
|
8966
9068
|
userRole: _prisma_client.UserRole;
|
|
8967
|
-
|
|
9069
|
+
org: {
|
|
9070
|
+
id: string;
|
|
9071
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9072
|
+
role: _prisma_client.OrganizationRole;
|
|
9073
|
+
};
|
|
8968
9074
|
};
|
|
8969
9075
|
req: {
|
|
8970
9076
|
headers: Headers;
|
|
@@ -9048,7 +9154,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9048
9154
|
accountRole: _prisma_client.AccountRole;
|
|
9049
9155
|
userId: string;
|
|
9050
9156
|
userRole: _prisma_client.UserRole;
|
|
9051
|
-
|
|
9157
|
+
org: {
|
|
9158
|
+
id: string;
|
|
9159
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9160
|
+
role: _prisma_client.OrganizationRole;
|
|
9161
|
+
};
|
|
9052
9162
|
};
|
|
9053
9163
|
req: {
|
|
9054
9164
|
headers: Headers;
|
|
@@ -9130,7 +9240,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9130
9240
|
accountRole: _prisma_client.AccountRole;
|
|
9131
9241
|
userId: string;
|
|
9132
9242
|
userRole: _prisma_client.UserRole;
|
|
9133
|
-
|
|
9243
|
+
org: {
|
|
9244
|
+
id: string;
|
|
9245
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9246
|
+
role: _prisma_client.OrganizationRole;
|
|
9247
|
+
};
|
|
9134
9248
|
};
|
|
9135
9249
|
req: {
|
|
9136
9250
|
headers: Headers;
|
|
@@ -9206,7 +9320,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9206
9320
|
accountRole: _prisma_client.AccountRole;
|
|
9207
9321
|
userId: string;
|
|
9208
9322
|
userRole: _prisma_client.UserRole;
|
|
9209
|
-
|
|
9323
|
+
org: {
|
|
9324
|
+
id: string;
|
|
9325
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9326
|
+
role: _prisma_client.OrganizationRole;
|
|
9327
|
+
};
|
|
9210
9328
|
};
|
|
9211
9329
|
req: {
|
|
9212
9330
|
headers: Headers;
|
|
@@ -9288,7 +9406,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9288
9406
|
accountRole: _prisma_client.AccountRole;
|
|
9289
9407
|
userId: string;
|
|
9290
9408
|
userRole: _prisma_client.UserRole;
|
|
9291
|
-
|
|
9409
|
+
org: {
|
|
9410
|
+
id: string;
|
|
9411
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9412
|
+
role: _prisma_client.OrganizationRole;
|
|
9413
|
+
};
|
|
9292
9414
|
};
|
|
9293
9415
|
req: {
|
|
9294
9416
|
headers: Headers;
|
|
@@ -9368,7 +9490,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9368
9490
|
accountRole: _prisma_client.AccountRole;
|
|
9369
9491
|
userId: string;
|
|
9370
9492
|
userRole: _prisma_client.UserRole;
|
|
9371
|
-
|
|
9493
|
+
org: {
|
|
9494
|
+
id: string;
|
|
9495
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9496
|
+
role: _prisma_client.OrganizationRole;
|
|
9497
|
+
};
|
|
9372
9498
|
};
|
|
9373
9499
|
req: {
|
|
9374
9500
|
headers: Headers;
|
|
@@ -9456,7 +9582,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9456
9582
|
accountRole: _prisma_client.AccountRole;
|
|
9457
9583
|
userId: string;
|
|
9458
9584
|
userRole: _prisma_client.UserRole;
|
|
9459
|
-
|
|
9585
|
+
org: {
|
|
9586
|
+
id: string;
|
|
9587
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9588
|
+
role: _prisma_client.OrganizationRole;
|
|
9589
|
+
};
|
|
9460
9590
|
};
|
|
9461
9591
|
req: {
|
|
9462
9592
|
headers: Headers;
|
|
@@ -9574,7 +9704,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9574
9704
|
accountRole: _prisma_client.AccountRole;
|
|
9575
9705
|
userId: string;
|
|
9576
9706
|
userRole: _prisma_client.UserRole;
|
|
9577
|
-
|
|
9707
|
+
org: {
|
|
9708
|
+
id: string;
|
|
9709
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9710
|
+
role: _prisma_client.OrganizationRole;
|
|
9711
|
+
};
|
|
9578
9712
|
};
|
|
9579
9713
|
req: {
|
|
9580
9714
|
headers: Headers;
|
|
@@ -9648,7 +9782,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9648
9782
|
accountRole: _prisma_client.AccountRole;
|
|
9649
9783
|
userId: string;
|
|
9650
9784
|
userRole: _prisma_client.UserRole;
|
|
9651
|
-
|
|
9785
|
+
org: {
|
|
9786
|
+
id: string;
|
|
9787
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9788
|
+
role: _prisma_client.OrganizationRole;
|
|
9789
|
+
};
|
|
9652
9790
|
};
|
|
9653
9791
|
req: {
|
|
9654
9792
|
headers: Headers;
|
|
@@ -9760,7 +9898,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9760
9898
|
accountRole: _prisma_client.AccountRole;
|
|
9761
9899
|
userId: string;
|
|
9762
9900
|
userRole: _prisma_client.UserRole;
|
|
9763
|
-
|
|
9901
|
+
org: {
|
|
9902
|
+
id: string;
|
|
9903
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
9904
|
+
role: _prisma_client.OrganizationRole;
|
|
9905
|
+
};
|
|
9764
9906
|
};
|
|
9765
9907
|
req: {
|
|
9766
9908
|
headers: Headers;
|
|
@@ -9872,7 +10014,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9872
10014
|
accountRole: _prisma_client.AccountRole;
|
|
9873
10015
|
userId: string;
|
|
9874
10016
|
userRole: _prisma_client.UserRole;
|
|
9875
|
-
|
|
10017
|
+
org: {
|
|
10018
|
+
id: string;
|
|
10019
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
10020
|
+
role: _prisma_client.OrganizationRole;
|
|
10021
|
+
};
|
|
9876
10022
|
};
|
|
9877
10023
|
req: {
|
|
9878
10024
|
headers: Headers;
|
|
@@ -9980,7 +10126,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
9980
10126
|
accountRole: _prisma_client.AccountRole;
|
|
9981
10127
|
userId: string;
|
|
9982
10128
|
userRole: _prisma_client.UserRole;
|
|
9983
|
-
|
|
10129
|
+
org: {
|
|
10130
|
+
id: string;
|
|
10131
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
10132
|
+
role: _prisma_client.OrganizationRole;
|
|
10133
|
+
};
|
|
9984
10134
|
};
|
|
9985
10135
|
req: {
|
|
9986
10136
|
headers: Headers;
|
|
@@ -10092,7 +10242,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
10092
10242
|
accountRole: _prisma_client.AccountRole;
|
|
10093
10243
|
userId: string;
|
|
10094
10244
|
userRole: _prisma_client.UserRole;
|
|
10095
|
-
|
|
10245
|
+
org: {
|
|
10246
|
+
id: string;
|
|
10247
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
10248
|
+
role: _prisma_client.OrganizationRole;
|
|
10249
|
+
};
|
|
10096
10250
|
};
|
|
10097
10251
|
req: {
|
|
10098
10252
|
headers: Headers;
|
|
@@ -10204,7 +10358,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
10204
10358
|
accountRole: _prisma_client.AccountRole;
|
|
10205
10359
|
userId: string;
|
|
10206
10360
|
userRole: _prisma_client.UserRole;
|
|
10207
|
-
|
|
10361
|
+
org: {
|
|
10362
|
+
id: string;
|
|
10363
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
10364
|
+
role: _prisma_client.OrganizationRole;
|
|
10365
|
+
};
|
|
10208
10366
|
};
|
|
10209
10367
|
req: {
|
|
10210
10368
|
headers: Headers;
|
|
@@ -10316,7 +10474,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
10316
10474
|
accountRole: _prisma_client.AccountRole;
|
|
10317
10475
|
userId: string;
|
|
10318
10476
|
userRole: _prisma_client.UserRole;
|
|
10319
|
-
|
|
10477
|
+
org: {
|
|
10478
|
+
id: string;
|
|
10479
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
10480
|
+
role: _prisma_client.OrganizationRole;
|
|
10481
|
+
};
|
|
10320
10482
|
};
|
|
10321
10483
|
req: {
|
|
10322
10484
|
headers: Headers;
|
|
@@ -10476,10 +10638,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
10476
10638
|
id: string;
|
|
10477
10639
|
createdAt: Date;
|
|
10478
10640
|
deletedAt: Date | null;
|
|
10641
|
+
type: "received" | "sent";
|
|
10479
10642
|
subject: string;
|
|
10480
10643
|
body: string;
|
|
10481
10644
|
openedAt: Date | null;
|
|
10482
|
-
type: "sent" | "received";
|
|
10483
10645
|
} & {
|
|
10484
10646
|
mailIntegrity: {
|
|
10485
10647
|
id: string;
|
|
@@ -10534,10 +10696,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
10534
10696
|
id: string;
|
|
10535
10697
|
createdAt: Date;
|
|
10536
10698
|
deletedAt: Date | null;
|
|
10699
|
+
type: "received" | "sent";
|
|
10537
10700
|
subject: string;
|
|
10538
10701
|
body: string;
|
|
10539
10702
|
openedAt: Date | null;
|
|
10540
|
-
type: "sent" | "received";
|
|
10541
10703
|
} & {
|
|
10542
10704
|
mailIntegrity: {
|
|
10543
10705
|
id: string;
|
|
@@ -10646,10 +10808,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
10646
10808
|
id: string;
|
|
10647
10809
|
createdAt: Date;
|
|
10648
10810
|
deletedAt: Date | null;
|
|
10811
|
+
type: "received" | "sent";
|
|
10649
10812
|
subject: string;
|
|
10650
10813
|
body: string;
|
|
10651
10814
|
openedAt: Date | null;
|
|
10652
|
-
type: "sent" | "received";
|
|
10653
10815
|
} & {
|
|
10654
10816
|
mailIntegrity: {
|
|
10655
10817
|
id: string;
|
|
@@ -10704,10 +10866,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
10704
10866
|
id: string;
|
|
10705
10867
|
createdAt: Date;
|
|
10706
10868
|
deletedAt: Date | null;
|
|
10869
|
+
type: "received" | "sent";
|
|
10707
10870
|
subject: string;
|
|
10708
10871
|
body: string;
|
|
10709
10872
|
openedAt: Date | null;
|
|
10710
|
-
type: "sent" | "received";
|
|
10711
10873
|
} & {
|
|
10712
10874
|
mailIntegrity: {
|
|
10713
10875
|
id: string;
|
|
@@ -10899,19 +11061,19 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
10899
11061
|
_meta: object;
|
|
10900
11062
|
_ctx_out: {};
|
|
10901
11063
|
_input_in: {
|
|
10902
|
-
type: "
|
|
11064
|
+
type: "received" | "sent";
|
|
10903
11065
|
};
|
|
10904
11066
|
_input_out: {
|
|
10905
|
-
type: "
|
|
11067
|
+
type: "received" | "sent";
|
|
10906
11068
|
};
|
|
10907
11069
|
_output_in: ({
|
|
10908
11070
|
id: string;
|
|
10909
11071
|
createdAt: Date;
|
|
10910
11072
|
deletedAt: Date | null;
|
|
11073
|
+
type: "received" | "sent";
|
|
10911
11074
|
subject: string;
|
|
10912
11075
|
body: string;
|
|
10913
11076
|
openedAt: Date | null;
|
|
10914
|
-
type: "sent" | "received";
|
|
10915
11077
|
} & {
|
|
10916
11078
|
mailIntegrity: {
|
|
10917
11079
|
id: string;
|
|
@@ -10966,10 +11128,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
10966
11128
|
id: string;
|
|
10967
11129
|
createdAt: Date;
|
|
10968
11130
|
deletedAt: Date | null;
|
|
11131
|
+
type: "received" | "sent";
|
|
10969
11132
|
subject: string;
|
|
10970
11133
|
body: string;
|
|
10971
11134
|
openedAt: Date | null;
|
|
10972
|
-
type: "sent" | "received";
|
|
10973
11135
|
} & {
|
|
10974
11136
|
mailIntegrity: {
|
|
10975
11137
|
id: string;
|
|
@@ -11058,10 +11220,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11058
11220
|
id: string;
|
|
11059
11221
|
createdAt: Date;
|
|
11060
11222
|
deletedAt: Date | null;
|
|
11223
|
+
type: "received" | "sent";
|
|
11061
11224
|
subject: string;
|
|
11062
11225
|
body: string;
|
|
11063
11226
|
openedAt: Date | null;
|
|
11064
|
-
type: "sent" | "received";
|
|
11065
11227
|
} & {
|
|
11066
11228
|
mailIntegrity: {
|
|
11067
11229
|
id: string;
|
|
@@ -11116,10 +11278,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11116
11278
|
id: string;
|
|
11117
11279
|
createdAt: Date;
|
|
11118
11280
|
deletedAt: Date | null;
|
|
11281
|
+
type: "received" | "sent";
|
|
11119
11282
|
subject: string;
|
|
11120
11283
|
body: string;
|
|
11121
11284
|
openedAt: Date | null;
|
|
11122
|
-
type: "sent" | "received";
|
|
11123
11285
|
} & {
|
|
11124
11286
|
mailIntegrity: {
|
|
11125
11287
|
id: string;
|
|
@@ -11280,10 +11442,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11280
11442
|
id: string;
|
|
11281
11443
|
createdAt: Date;
|
|
11282
11444
|
deletedAt: Date | null;
|
|
11445
|
+
type: "received" | "sent";
|
|
11283
11446
|
subject: string;
|
|
11284
11447
|
body: string;
|
|
11285
11448
|
openedAt: Date | null;
|
|
11286
|
-
type: "sent" | "received";
|
|
11287
11449
|
} & {
|
|
11288
11450
|
mailIntegrity: {
|
|
11289
11451
|
id: string;
|
|
@@ -11338,10 +11500,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11338
11500
|
id: string;
|
|
11339
11501
|
createdAt: Date;
|
|
11340
11502
|
deletedAt: Date | null;
|
|
11503
|
+
type: "received" | "sent";
|
|
11341
11504
|
subject: string;
|
|
11342
11505
|
body: string;
|
|
11343
11506
|
openedAt: Date | null;
|
|
11344
|
-
type: "sent" | "received";
|
|
11345
11507
|
} & {
|
|
11346
11508
|
mailIntegrity: {
|
|
11347
11509
|
id: string;
|
|
@@ -11477,7 +11639,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11477
11639
|
accountRole: _prisma_client.AccountRole;
|
|
11478
11640
|
userId: string;
|
|
11479
11641
|
userRole: _prisma_client.UserRole;
|
|
11480
|
-
|
|
11642
|
+
org: {
|
|
11643
|
+
id: string;
|
|
11644
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
11645
|
+
role: _prisma_client.OrganizationRole;
|
|
11646
|
+
};
|
|
11481
11647
|
};
|
|
11482
11648
|
req: {
|
|
11483
11649
|
headers: Headers;
|
|
@@ -11666,10 +11832,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11666
11832
|
id: string;
|
|
11667
11833
|
createdAt: Date;
|
|
11668
11834
|
deletedAt: Date | null;
|
|
11835
|
+
type: "received" | "sent";
|
|
11669
11836
|
subject: string;
|
|
11670
11837
|
body: string;
|
|
11671
11838
|
openedAt: Date | null;
|
|
11672
|
-
type: "sent" | "received";
|
|
11673
11839
|
} & {
|
|
11674
11840
|
mailIntegrity: {
|
|
11675
11841
|
id: string;
|
|
@@ -11724,10 +11890,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11724
11890
|
id: string;
|
|
11725
11891
|
createdAt: Date;
|
|
11726
11892
|
deletedAt: Date | null;
|
|
11893
|
+
type: "received" | "sent";
|
|
11727
11894
|
subject: string;
|
|
11728
11895
|
body: string;
|
|
11729
11896
|
openedAt: Date | null;
|
|
11730
|
-
type: "sent" | "received";
|
|
11731
11897
|
} & {
|
|
11732
11898
|
mailIntegrity: {
|
|
11733
11899
|
id: string;
|
|
@@ -11875,11 +12041,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11875
12041
|
_input_in: {
|
|
11876
12042
|
id: string;
|
|
11877
12043
|
} & {
|
|
11878
|
-
subject: string | null;
|
|
11879
|
-
body: string | null;
|
|
11880
12044
|
hashKey: string | null;
|
|
11881
12045
|
hash: string | null;
|
|
11882
12046
|
replyToId: string | null;
|
|
12047
|
+
subject: string | null;
|
|
12048
|
+
body: string | null;
|
|
11883
12049
|
recipients: string[] | null;
|
|
11884
12050
|
senderFiles: {
|
|
11885
12051
|
name: string;
|
|
@@ -11889,11 +12055,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11889
12055
|
_input_out: {
|
|
11890
12056
|
id: string;
|
|
11891
12057
|
} & {
|
|
11892
|
-
subject: string | null;
|
|
11893
|
-
body: string | null;
|
|
11894
12058
|
hashKey: string | null;
|
|
11895
12059
|
hash: string | null;
|
|
11896
12060
|
replyToId: string | null;
|
|
12061
|
+
subject: string | null;
|
|
12062
|
+
body: string | null;
|
|
11897
12063
|
recipients: string[] | null;
|
|
11898
12064
|
senderFiles: {
|
|
11899
12065
|
name: string;
|
|
@@ -11904,10 +12070,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11904
12070
|
id: string;
|
|
11905
12071
|
createdAt: Date;
|
|
11906
12072
|
deletedAt: Date | null;
|
|
12073
|
+
type: "received" | "sent";
|
|
11907
12074
|
subject: string;
|
|
11908
12075
|
body: string;
|
|
11909
12076
|
openedAt: Date | null;
|
|
11910
|
-
type: "sent" | "received";
|
|
11911
12077
|
} & {
|
|
11912
12078
|
mailIntegrity: {
|
|
11913
12079
|
id: string;
|
|
@@ -11962,10 +12128,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
11962
12128
|
id: string;
|
|
11963
12129
|
createdAt: Date;
|
|
11964
12130
|
deletedAt: Date | null;
|
|
12131
|
+
type: "received" | "sent";
|
|
11965
12132
|
subject: string;
|
|
11966
12133
|
body: string;
|
|
11967
12134
|
openedAt: Date | null;
|
|
11968
|
-
type: "sent" | "received";
|
|
11969
12135
|
} & {
|
|
11970
12136
|
mailIntegrity: {
|
|
11971
12137
|
id: string;
|
|
@@ -12165,8 +12331,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
12165
12331
|
_meta: object;
|
|
12166
12332
|
_ctx_out: {};
|
|
12167
12333
|
_input_in: {
|
|
12168
|
-
subject: string;
|
|
12169
12334
|
message: string;
|
|
12335
|
+
subject: string;
|
|
12170
12336
|
email?: string | null | undefined;
|
|
12171
12337
|
screenshot?: string | null | undefined;
|
|
12172
12338
|
logs?: any[][] | null | undefined;
|
|
@@ -12174,8 +12340,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
12174
12340
|
logsError?: any[][] | null | undefined;
|
|
12175
12341
|
};
|
|
12176
12342
|
_input_out: {
|
|
12177
|
-
subject: string;
|
|
12178
12343
|
message: string;
|
|
12344
|
+
subject: string;
|
|
12179
12345
|
email?: string | null | undefined;
|
|
12180
12346
|
screenshot?: string | null | undefined;
|
|
12181
12347
|
logs?: any[][] | null | undefined;
|
|
@@ -12311,8 +12477,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
12311
12477
|
}, unknown>>;
|
|
12312
12478
|
};
|
|
12313
12479
|
};
|
|
12314
|
-
|
|
12315
|
-
|
|
12480
|
+
org: {
|
|
12481
|
+
byId: {
|
|
12316
12482
|
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
12317
12483
|
_config: import("@trpc/server").RootConfig<{
|
|
12318
12484
|
ctx: {};
|
|
@@ -12336,40 +12502,655 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
12336
12502
|
}>;
|
|
12337
12503
|
_meta: object;
|
|
12338
12504
|
_ctx_out: {};
|
|
12339
|
-
_input_in: {
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12505
|
+
_input_in: {
|
|
12506
|
+
id: string;
|
|
12507
|
+
};
|
|
12508
|
+
_input_out: {
|
|
12509
|
+
id: string;
|
|
12510
|
+
};
|
|
12511
|
+
_output_in: {
|
|
12512
|
+
name: string;
|
|
12343
12513
|
id: string;
|
|
12514
|
+
ownerId: string;
|
|
12515
|
+
createdAt: Date;
|
|
12516
|
+
planId: string;
|
|
12517
|
+
stripeSubId: string | null;
|
|
12518
|
+
stripeSubPaidUntil: Date | null;
|
|
12344
12519
|
quotasId: string;
|
|
12345
|
-
|
|
12346
|
-
}
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
|
|
12354
|
-
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12520
|
+
billingProfileStripeCustomerId: string | null;
|
|
12521
|
+
};
|
|
12522
|
+
_output_out: {
|
|
12523
|
+
name: string;
|
|
12524
|
+
id: string;
|
|
12525
|
+
ownerId: string;
|
|
12526
|
+
createdAt: Date;
|
|
12527
|
+
planId: string;
|
|
12528
|
+
stripeSubId: string | null;
|
|
12529
|
+
stripeSubPaidUntil: Date | null;
|
|
12530
|
+
quotasId: string;
|
|
12531
|
+
billingProfileStripeCustomerId: string | null;
|
|
12532
|
+
};
|
|
12533
|
+
}, unknown>>;
|
|
12534
|
+
};
|
|
12535
|
+
cancelSubscription: {
|
|
12536
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
12537
|
+
_config: import("@trpc/server").RootConfig<{
|
|
12538
|
+
ctx: {};
|
|
12539
|
+
meta: object;
|
|
12540
|
+
errorShape: {
|
|
12541
|
+
message: string;
|
|
12542
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12543
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
12544
|
+
} | {
|
|
12545
|
+
data: {
|
|
12546
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
12547
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
12548
|
+
httpStatus: number;
|
|
12549
|
+
path?: string;
|
|
12550
|
+
stack?: string;
|
|
12551
|
+
};
|
|
12552
|
+
message: string;
|
|
12553
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12554
|
+
};
|
|
12555
|
+
transformer: typeof superjson;
|
|
12556
|
+
}>;
|
|
12557
|
+
_meta: object;
|
|
12558
|
+
_ctx_out: {};
|
|
12559
|
+
_input_in: {
|
|
12560
|
+
prorate: boolean;
|
|
12561
|
+
};
|
|
12562
|
+
_input_out: {
|
|
12563
|
+
prorate: boolean;
|
|
12564
|
+
};
|
|
12565
|
+
_output_in: {
|
|
12566
|
+
isCancelled: boolean;
|
|
12567
|
+
};
|
|
12568
|
+
_output_out: {
|
|
12569
|
+
isCancelled: boolean;
|
|
12570
|
+
};
|
|
12571
|
+
}, unknown>>;
|
|
12572
|
+
};
|
|
12573
|
+
createSubscription: {
|
|
12574
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
12575
|
+
_config: import("@trpc/server").RootConfig<{
|
|
12576
|
+
ctx: {};
|
|
12577
|
+
meta: object;
|
|
12578
|
+
errorShape: {
|
|
12579
|
+
message: string;
|
|
12580
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12581
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
12582
|
+
} | {
|
|
12583
|
+
data: {
|
|
12584
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
12585
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
12586
|
+
httpStatus: number;
|
|
12587
|
+
path?: string;
|
|
12588
|
+
stack?: string;
|
|
12589
|
+
};
|
|
12590
|
+
message: string;
|
|
12591
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12592
|
+
};
|
|
12593
|
+
transformer: typeof superjson;
|
|
12594
|
+
}>;
|
|
12595
|
+
_meta: object;
|
|
12596
|
+
_ctx_out: {};
|
|
12597
|
+
_input_in: {
|
|
12598
|
+
planCode: "user_basic_month" | "user_basic_year" | "user_advanced_month" | "user_advanced_year" | "user_pro_month" | "user_pro_year";
|
|
12599
|
+
};
|
|
12600
|
+
_input_out: {
|
|
12601
|
+
planCode: "user_basic_month" | "user_basic_year" | "user_advanced_month" | "user_advanced_year" | "user_pro_month" | "user_pro_year";
|
|
12602
|
+
};
|
|
12603
|
+
_output_in: {
|
|
12604
|
+
url: string | null;
|
|
12605
|
+
};
|
|
12606
|
+
_output_out: {
|
|
12607
|
+
url: string | null;
|
|
12608
|
+
};
|
|
12609
|
+
}, unknown>>;
|
|
12610
|
+
};
|
|
12611
|
+
delete: {
|
|
12612
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
12613
|
+
_config: import("@trpc/server").RootConfig<{
|
|
12614
|
+
ctx: {};
|
|
12615
|
+
meta: object;
|
|
12616
|
+
errorShape: {
|
|
12617
|
+
message: string;
|
|
12618
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12619
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
12620
|
+
} | {
|
|
12621
|
+
data: {
|
|
12622
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
12623
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
12624
|
+
httpStatus: number;
|
|
12625
|
+
path?: string;
|
|
12626
|
+
stack?: string;
|
|
12627
|
+
};
|
|
12628
|
+
message: string;
|
|
12629
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12630
|
+
};
|
|
12631
|
+
transformer: typeof superjson;
|
|
12632
|
+
}>;
|
|
12633
|
+
_meta: object;
|
|
12634
|
+
_ctx_out: {};
|
|
12635
|
+
_input_in: {
|
|
12636
|
+
id: string;
|
|
12637
|
+
};
|
|
12638
|
+
_input_out: {
|
|
12639
|
+
id: string;
|
|
12640
|
+
};
|
|
12641
|
+
_output_in: {
|
|
12642
|
+
name: string;
|
|
12643
|
+
id: string;
|
|
12644
|
+
ownerId: string;
|
|
12645
|
+
createdAt: Date;
|
|
12646
|
+
planId: string;
|
|
12647
|
+
stripeSubId: string | null;
|
|
12648
|
+
stripeSubPaidUntil: Date | null;
|
|
12649
|
+
quotasId: string;
|
|
12650
|
+
billingProfileStripeCustomerId: string | null;
|
|
12651
|
+
};
|
|
12652
|
+
_output_out: {
|
|
12653
|
+
name: string;
|
|
12654
|
+
id: string;
|
|
12655
|
+
ownerId: string;
|
|
12656
|
+
createdAt: Date;
|
|
12657
|
+
planId: string;
|
|
12658
|
+
stripeSubId: string | null;
|
|
12659
|
+
stripeSubPaidUntil: Date | null;
|
|
12660
|
+
quotasId: string;
|
|
12661
|
+
billingProfileStripeCustomerId: string | null;
|
|
12662
|
+
};
|
|
12663
|
+
}, unknown>>;
|
|
12664
|
+
};
|
|
12665
|
+
getSubscription: {
|
|
12666
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
12667
|
+
_config: import("@trpc/server").RootConfig<{
|
|
12668
|
+
ctx: {};
|
|
12669
|
+
meta: object;
|
|
12670
|
+
errorShape: {
|
|
12671
|
+
message: string;
|
|
12672
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12673
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
12674
|
+
} | {
|
|
12675
|
+
data: {
|
|
12676
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
12677
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
12678
|
+
httpStatus: number;
|
|
12679
|
+
path?: string;
|
|
12680
|
+
stack?: string;
|
|
12681
|
+
};
|
|
12682
|
+
message: string;
|
|
12683
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12684
|
+
};
|
|
12685
|
+
transformer: typeof superjson;
|
|
12686
|
+
}>;
|
|
12687
|
+
_meta: object;
|
|
12688
|
+
_ctx_out: {};
|
|
12689
|
+
_input_in: {} | undefined;
|
|
12690
|
+
_input_out: {} | undefined;
|
|
12691
|
+
_output_in: {
|
|
12692
|
+
subscription: {
|
|
12693
|
+
id: string;
|
|
12694
|
+
currency: string;
|
|
12695
|
+
description: string | null;
|
|
12696
|
+
status: "canceled" | "past_due" | "active" | "incomplete" | "incomplete_expired" | "paused" | "trialing" | "unpaid";
|
|
12697
|
+
billingCycleAnchor: number;
|
|
12698
|
+
cancelAt: number | null;
|
|
12699
|
+
cancelAtPeriodEnd: boolean;
|
|
12700
|
+
canceledAt: number | null;
|
|
12701
|
+
created: number;
|
|
12702
|
+
currentPeriodEnd: number;
|
|
12703
|
+
currentPeriodStart: number;
|
|
12704
|
+
daysUntilDue: number | null;
|
|
12705
|
+
startDate: number;
|
|
12706
|
+
endedAt: number | null;
|
|
12707
|
+
trialEnd: number | null;
|
|
12708
|
+
trialStart: number | null;
|
|
12709
|
+
} | null;
|
|
12710
|
+
};
|
|
12711
|
+
_output_out: {
|
|
12712
|
+
subscription: {
|
|
12713
|
+
id: string;
|
|
12714
|
+
currency: string;
|
|
12715
|
+
description: string | null;
|
|
12716
|
+
status: "canceled" | "past_due" | "active" | "incomplete" | "incomplete_expired" | "paused" | "trialing" | "unpaid";
|
|
12717
|
+
billingCycleAnchor: number;
|
|
12718
|
+
cancelAt: number | null;
|
|
12719
|
+
cancelAtPeriodEnd: boolean;
|
|
12720
|
+
canceledAt: number | null;
|
|
12721
|
+
created: number;
|
|
12722
|
+
currentPeriodEnd: number;
|
|
12723
|
+
currentPeriodStart: number;
|
|
12724
|
+
daysUntilDue: number | null;
|
|
12725
|
+
startDate: number;
|
|
12726
|
+
endedAt: number | null;
|
|
12727
|
+
trialEnd: number | null;
|
|
12728
|
+
trialStart: number | null;
|
|
12729
|
+
} | null;
|
|
12730
|
+
};
|
|
12731
|
+
}, unknown>>;
|
|
12732
|
+
};
|
|
12733
|
+
limits: {
|
|
12734
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
12735
|
+
_config: import("@trpc/server").RootConfig<{
|
|
12736
|
+
ctx: {};
|
|
12737
|
+
meta: object;
|
|
12738
|
+
errorShape: {
|
|
12739
|
+
message: string;
|
|
12740
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12741
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
12742
|
+
} | {
|
|
12743
|
+
data: {
|
|
12744
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
12745
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
12746
|
+
httpStatus: number;
|
|
12747
|
+
path?: string;
|
|
12748
|
+
stack?: string;
|
|
12749
|
+
};
|
|
12750
|
+
message: string;
|
|
12751
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12752
|
+
};
|
|
12753
|
+
transformer: typeof superjson;
|
|
12754
|
+
}>;
|
|
12755
|
+
_meta: object;
|
|
12756
|
+
_ctx_out: {};
|
|
12757
|
+
_input_in: {
|
|
12758
|
+
id: string;
|
|
12759
|
+
appId: string;
|
|
12760
|
+
};
|
|
12761
|
+
_input_out: {
|
|
12762
|
+
id: string;
|
|
12763
|
+
appId: string;
|
|
12764
|
+
};
|
|
12765
|
+
_output_in: {
|
|
12766
|
+
quotas: {
|
|
12767
|
+
perDataSize: bigint | null;
|
|
12768
|
+
totalStorageSize: bigint | null;
|
|
12769
|
+
downloadCount: bigint | null;
|
|
12770
|
+
uploadCount: bigint | null;
|
|
12771
|
+
totalDataCount: bigint | null;
|
|
12772
|
+
bandwith: bigint | null;
|
|
12773
|
+
};
|
|
12774
|
+
appId: string;
|
|
12775
|
+
orgId: string;
|
|
12776
|
+
settings: {
|
|
12777
|
+
perDataSizeLimit: bigint | null;
|
|
12778
|
+
bandwidthLimit: bigint | null;
|
|
12779
|
+
totalStorageSizeLimit: bigint | null;
|
|
12780
|
+
payForUsers: boolean;
|
|
12781
|
+
};
|
|
12782
|
+
metrics: {
|
|
12783
|
+
downloadBandwidth: bigint;
|
|
12784
|
+
downloadCount: bigint;
|
|
12785
|
+
uploadBandwidth: bigint;
|
|
12786
|
+
uploadCount: bigint;
|
|
12787
|
+
};
|
|
12788
|
+
type: "app";
|
|
12789
|
+
} | {
|
|
12790
|
+
quotas: {};
|
|
12791
|
+
appId: string;
|
|
12792
|
+
orgId: string;
|
|
12793
|
+
settings: {
|
|
12794
|
+
perDataSizeLimit: bigint | null;
|
|
12795
|
+
bandwidthLimit: bigint | null;
|
|
12796
|
+
totalStorageSizeLimit: bigint | null;
|
|
12797
|
+
payForUsers: boolean;
|
|
12798
|
+
};
|
|
12799
|
+
metrics: {
|
|
12800
|
+
downloadBandwidth: bigint;
|
|
12801
|
+
downloadCount: bigint;
|
|
12802
|
+
uploadBandwidth: bigint;
|
|
12803
|
+
uploadCount: bigint;
|
|
12804
|
+
};
|
|
12805
|
+
type: "org";
|
|
12806
|
+
userLimitedQuotas: {} | null;
|
|
12807
|
+
};
|
|
12808
|
+
_output_out: {
|
|
12809
|
+
quotas: {
|
|
12810
|
+
perDataSize: bigint | null;
|
|
12811
|
+
totalStorageSize: bigint | null;
|
|
12812
|
+
downloadCount: bigint | null;
|
|
12813
|
+
uploadCount: bigint | null;
|
|
12814
|
+
totalDataCount: bigint | null;
|
|
12815
|
+
bandwith: bigint | null;
|
|
12816
|
+
};
|
|
12817
|
+
appId: string;
|
|
12818
|
+
orgId: string;
|
|
12819
|
+
settings: {
|
|
12820
|
+
perDataSizeLimit: bigint | null;
|
|
12821
|
+
bandwidthLimit: bigint | null;
|
|
12822
|
+
totalStorageSizeLimit: bigint | null;
|
|
12823
|
+
payForUsers: boolean;
|
|
12824
|
+
};
|
|
12825
|
+
metrics: {
|
|
12826
|
+
downloadBandwidth: bigint;
|
|
12827
|
+
downloadCount: bigint;
|
|
12828
|
+
uploadBandwidth: bigint;
|
|
12829
|
+
uploadCount: bigint;
|
|
12830
|
+
};
|
|
12831
|
+
type: "app";
|
|
12832
|
+
} | {
|
|
12833
|
+
quotas: {};
|
|
12834
|
+
appId: string;
|
|
12835
|
+
orgId: string;
|
|
12836
|
+
settings: {
|
|
12837
|
+
perDataSizeLimit: bigint | null;
|
|
12838
|
+
bandwidthLimit: bigint | null;
|
|
12839
|
+
totalStorageSizeLimit: bigint | null;
|
|
12840
|
+
payForUsers: boolean;
|
|
12841
|
+
};
|
|
12842
|
+
metrics: {
|
|
12843
|
+
downloadBandwidth: bigint;
|
|
12844
|
+
downloadCount: bigint;
|
|
12845
|
+
uploadBandwidth: bigint;
|
|
12846
|
+
uploadCount: bigint;
|
|
12847
|
+
};
|
|
12848
|
+
type: "org";
|
|
12849
|
+
userLimitedQuotas: {} | null;
|
|
12850
|
+
};
|
|
12851
|
+
}, unknown>>;
|
|
12852
|
+
};
|
|
12853
|
+
mine: {
|
|
12854
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
12855
|
+
_config: import("@trpc/server").RootConfig<{
|
|
12856
|
+
ctx: {};
|
|
12857
|
+
meta: object;
|
|
12858
|
+
errorShape: {
|
|
12859
|
+
message: string;
|
|
12860
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12861
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
12862
|
+
} | {
|
|
12863
|
+
data: {
|
|
12864
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
12865
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
12866
|
+
httpStatus: number;
|
|
12867
|
+
path?: string;
|
|
12868
|
+
stack?: string;
|
|
12869
|
+
};
|
|
12870
|
+
message: string;
|
|
12871
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12872
|
+
};
|
|
12873
|
+
transformer: typeof superjson;
|
|
12874
|
+
}>;
|
|
12875
|
+
_meta: object;
|
|
12876
|
+
_ctx_out: {};
|
|
12877
|
+
_input_in: {};
|
|
12878
|
+
_input_out: {};
|
|
12879
|
+
_output_in: {
|
|
12880
|
+
name: string;
|
|
12881
|
+
id: string;
|
|
12882
|
+
ownerId: string;
|
|
12883
|
+
createdAt: Date;
|
|
12884
|
+
planId: string;
|
|
12885
|
+
stripeSubId: string | null;
|
|
12886
|
+
stripeSubPaidUntil: Date | null;
|
|
12887
|
+
quotasId: string;
|
|
12888
|
+
billingProfileStripeCustomerId: string | null;
|
|
12889
|
+
}[];
|
|
12890
|
+
_output_out: {
|
|
12891
|
+
name: string;
|
|
12892
|
+
id: string;
|
|
12893
|
+
ownerId: string;
|
|
12894
|
+
createdAt: Date;
|
|
12895
|
+
planId: string;
|
|
12896
|
+
stripeSubId: string | null;
|
|
12897
|
+
stripeSubPaidUntil: Date | null;
|
|
12898
|
+
quotasId: string;
|
|
12899
|
+
billingProfileStripeCustomerId: string | null;
|
|
12900
|
+
}[];
|
|
12901
|
+
}, unknown>>;
|
|
12902
|
+
};
|
|
12903
|
+
removeUser: {
|
|
12904
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
12905
|
+
_config: import("@trpc/server").RootConfig<{
|
|
12906
|
+
ctx: {};
|
|
12907
|
+
meta: object;
|
|
12908
|
+
errorShape: {
|
|
12909
|
+
message: string;
|
|
12910
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12911
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
12912
|
+
} | {
|
|
12913
|
+
data: {
|
|
12914
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
12915
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
12916
|
+
httpStatus: number;
|
|
12917
|
+
path?: string;
|
|
12918
|
+
stack?: string;
|
|
12919
|
+
};
|
|
12920
|
+
message: string;
|
|
12921
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12922
|
+
};
|
|
12923
|
+
transformer: typeof superjson;
|
|
12924
|
+
}>;
|
|
12925
|
+
_meta: object;
|
|
12926
|
+
_ctx_out: {};
|
|
12927
|
+
_input_in: {
|
|
12928
|
+
id: string;
|
|
12929
|
+
userId: string;
|
|
12930
|
+
};
|
|
12931
|
+
_input_out: {
|
|
12932
|
+
id: string;
|
|
12933
|
+
userId: string;
|
|
12934
|
+
};
|
|
12935
|
+
_output_in: {
|
|
12936
|
+
isRemoved: boolean;
|
|
12937
|
+
};
|
|
12938
|
+
_output_out: {
|
|
12939
|
+
isRemoved: boolean;
|
|
12940
|
+
};
|
|
12941
|
+
}, unknown>>;
|
|
12942
|
+
};
|
|
12943
|
+
transferOwnership: {
|
|
12944
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
12945
|
+
_config: import("@trpc/server").RootConfig<{
|
|
12946
|
+
ctx: {};
|
|
12947
|
+
meta: object;
|
|
12948
|
+
errorShape: {
|
|
12949
|
+
message: string;
|
|
12950
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12951
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
12952
|
+
} | {
|
|
12953
|
+
data: {
|
|
12954
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
12955
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
12956
|
+
httpStatus: number;
|
|
12957
|
+
path?: string;
|
|
12958
|
+
stack?: string;
|
|
12959
|
+
};
|
|
12960
|
+
message: string;
|
|
12961
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
12962
|
+
};
|
|
12963
|
+
transformer: typeof superjson;
|
|
12964
|
+
}>;
|
|
12965
|
+
_meta: object;
|
|
12966
|
+
_ctx_out: {};
|
|
12967
|
+
_input_in: {
|
|
12968
|
+
id: string;
|
|
12969
|
+
userId: string;
|
|
12970
|
+
};
|
|
12971
|
+
_input_out: {
|
|
12972
|
+
id: string;
|
|
12973
|
+
userId: string;
|
|
12974
|
+
};
|
|
12975
|
+
_output_in: {
|
|
12976
|
+
name: string;
|
|
12977
|
+
id: string;
|
|
12978
|
+
ownerId: string;
|
|
12979
|
+
createdAt: Date;
|
|
12980
|
+
planId: string;
|
|
12981
|
+
stripeSubId: string | null;
|
|
12982
|
+
stripeSubPaidUntil: Date | null;
|
|
12983
|
+
quotasId: string;
|
|
12984
|
+
billingProfileStripeCustomerId: string | null;
|
|
12985
|
+
};
|
|
12986
|
+
_output_out: {
|
|
12987
|
+
name: string;
|
|
12988
|
+
id: string;
|
|
12989
|
+
ownerId: string;
|
|
12990
|
+
createdAt: Date;
|
|
12991
|
+
planId: string;
|
|
12992
|
+
stripeSubId: string | null;
|
|
12993
|
+
stripeSubPaidUntil: Date | null;
|
|
12994
|
+
quotasId: string;
|
|
12995
|
+
billingProfileStripeCustomerId: string | null;
|
|
12996
|
+
};
|
|
12997
|
+
}, unknown>>;
|
|
12998
|
+
};
|
|
12999
|
+
updateRole: {
|
|
13000
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
13001
|
+
_config: import("@trpc/server").RootConfig<{
|
|
13002
|
+
ctx: {};
|
|
13003
|
+
meta: object;
|
|
13004
|
+
errorShape: {
|
|
13005
|
+
message: string;
|
|
13006
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
13007
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
13008
|
+
} | {
|
|
13009
|
+
data: {
|
|
13010
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
13011
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
13012
|
+
httpStatus: number;
|
|
13013
|
+
path?: string;
|
|
13014
|
+
stack?: string;
|
|
13015
|
+
};
|
|
13016
|
+
message: string;
|
|
13017
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
13018
|
+
};
|
|
13019
|
+
transformer: typeof superjson;
|
|
13020
|
+
}>;
|
|
13021
|
+
_meta: object;
|
|
13022
|
+
_ctx_out: {};
|
|
13023
|
+
_input_in: {
|
|
13024
|
+
id: string;
|
|
13025
|
+
role: "user" | "admin";
|
|
13026
|
+
userId: string;
|
|
13027
|
+
};
|
|
13028
|
+
_input_out: {
|
|
13029
|
+
id: string;
|
|
13030
|
+
role: "user" | "admin";
|
|
13031
|
+
userId: string;
|
|
13032
|
+
};
|
|
13033
|
+
_output_in: {
|
|
13034
|
+
createdAt: Date;
|
|
13035
|
+
role: "user" | "admin";
|
|
13036
|
+
userId: string;
|
|
13037
|
+
orgId: string;
|
|
13038
|
+
};
|
|
13039
|
+
_output_out: {
|
|
13040
|
+
createdAt: Date;
|
|
13041
|
+
role: "user" | "admin";
|
|
13042
|
+
userId: string;
|
|
13043
|
+
orgId: string;
|
|
13044
|
+
};
|
|
13045
|
+
}, unknown>>;
|
|
13046
|
+
};
|
|
13047
|
+
update: {
|
|
13048
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
13049
|
+
_config: import("@trpc/server").RootConfig<{
|
|
13050
|
+
ctx: {};
|
|
13051
|
+
meta: object;
|
|
13052
|
+
errorShape: {
|
|
13053
|
+
message: string;
|
|
13054
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
13055
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
13056
|
+
} | {
|
|
13057
|
+
data: {
|
|
13058
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
13059
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
13060
|
+
httpStatus: number;
|
|
13061
|
+
path?: string;
|
|
13062
|
+
stack?: string;
|
|
13063
|
+
};
|
|
13064
|
+
message: string;
|
|
13065
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
13066
|
+
};
|
|
13067
|
+
transformer: typeof superjson;
|
|
13068
|
+
}>;
|
|
13069
|
+
_meta: object;
|
|
13070
|
+
_ctx_out: {};
|
|
13071
|
+
_input_in: {
|
|
13072
|
+
name: string;
|
|
13073
|
+
id: string;
|
|
13074
|
+
};
|
|
13075
|
+
_input_out: {
|
|
13076
|
+
name: string;
|
|
13077
|
+
id: string;
|
|
13078
|
+
};
|
|
13079
|
+
_output_in: {
|
|
13080
|
+
name: string;
|
|
13081
|
+
id: string;
|
|
13082
|
+
ownerId: string;
|
|
13083
|
+
createdAt: Date;
|
|
13084
|
+
planId: string;
|
|
13085
|
+
stripeSubId: string | null;
|
|
13086
|
+
stripeSubPaidUntil: Date | null;
|
|
13087
|
+
quotasId: string;
|
|
13088
|
+
billingProfileStripeCustomerId: string | null;
|
|
13089
|
+
};
|
|
13090
|
+
_output_out: {
|
|
13091
|
+
name: string;
|
|
13092
|
+
id: string;
|
|
13093
|
+
ownerId: string;
|
|
13094
|
+
createdAt: Date;
|
|
13095
|
+
planId: string;
|
|
13096
|
+
stripeSubId: string | null;
|
|
13097
|
+
stripeSubPaidUntil: Date | null;
|
|
13098
|
+
quotasId: string;
|
|
13099
|
+
billingProfileStripeCustomerId: string | null;
|
|
13100
|
+
};
|
|
13101
|
+
}, unknown>>;
|
|
13102
|
+
};
|
|
13103
|
+
};
|
|
13104
|
+
plan: {
|
|
13105
|
+
all: {
|
|
13106
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
13107
|
+
_config: import("@trpc/server").RootConfig<{
|
|
13108
|
+
ctx: {};
|
|
13109
|
+
meta: object;
|
|
13110
|
+
errorShape: {
|
|
13111
|
+
message: string;
|
|
13112
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
13113
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
13114
|
+
} | {
|
|
13115
|
+
data: {
|
|
13116
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
13117
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
13118
|
+
httpStatus: number;
|
|
13119
|
+
path?: string;
|
|
13120
|
+
stack?: string;
|
|
13121
|
+
};
|
|
13122
|
+
message: string;
|
|
13123
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
13124
|
+
};
|
|
13125
|
+
transformer: typeof superjson;
|
|
13126
|
+
}>;
|
|
13127
|
+
_meta: object;
|
|
13128
|
+
_ctx_out: {};
|
|
13129
|
+
_input_in: {};
|
|
13130
|
+
_input_out: {};
|
|
13131
|
+
_output_in: ({
|
|
13132
|
+
codes: string[];
|
|
13133
|
+
id: string;
|
|
13134
|
+
quotasId: string;
|
|
13135
|
+
kind: "free" | "basic" | "advanced" | "pro";
|
|
13136
|
+
} & {
|
|
13137
|
+
quotas: {
|
|
13138
|
+
perDataSize: bigint | null;
|
|
13139
|
+
totalStorageSize: bigint | null;
|
|
13140
|
+
downloadBandwidth: bigint | null;
|
|
13141
|
+
downloadCount: bigint | null;
|
|
13142
|
+
uploadBandwidth: bigint | null;
|
|
13143
|
+
uploadCount: bigint | null;
|
|
13144
|
+
totalDataCount: bigint | null;
|
|
13145
|
+
} & {
|
|
13146
|
+
sentMails: {
|
|
13147
|
+
count: bigint | null;
|
|
13148
|
+
perDataSize: bigint | null;
|
|
13149
|
+
totalStorageSize: bigint | null;
|
|
13150
|
+
totalDataCount: bigint | null;
|
|
13151
|
+
totalCount: bigint | null;
|
|
13152
|
+
dataCount: bigint | null;
|
|
13153
|
+
dataSize: bigint | null;
|
|
12373
13154
|
};
|
|
12374
13155
|
};
|
|
12375
13156
|
} & {
|
|
@@ -12385,28 +13166,19 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
12385
13166
|
kind: "free" | "basic" | "advanced" | "pro";
|
|
12386
13167
|
} & {
|
|
12387
13168
|
quotas: {
|
|
13169
|
+
perDataSize: bigint | null;
|
|
13170
|
+
totalStorageSize: bigint | null;
|
|
12388
13171
|
downloadBandwidth: bigint | null;
|
|
12389
13172
|
downloadCount: bigint | null;
|
|
12390
13173
|
uploadBandwidth: bigint | null;
|
|
12391
13174
|
uploadCount: bigint | null;
|
|
12392
13175
|
totalDataCount: bigint | null;
|
|
12393
|
-
totalStorageSize: bigint | null;
|
|
12394
|
-
perDataSize: bigint | null;
|
|
12395
13176
|
} & {
|
|
12396
13177
|
sentMails: {
|
|
12397
13178
|
count: bigint | null;
|
|
12398
|
-
totalDataCount: bigint | null;
|
|
12399
|
-
totalStorageSize: bigint | null;
|
|
12400
13179
|
perDataSize: bigint | null;
|
|
12401
|
-
totalCount: bigint | null;
|
|
12402
|
-
dataCount: bigint | null;
|
|
12403
|
-
dataSize: bigint | null;
|
|
12404
|
-
};
|
|
12405
|
-
receivedMails: {
|
|
12406
|
-
count: bigint | null;
|
|
12407
|
-
totalDataCount: bigint | null;
|
|
12408
13180
|
totalStorageSize: bigint | null;
|
|
12409
|
-
|
|
13181
|
+
totalDataCount: bigint | null;
|
|
12410
13182
|
totalCount: bigint | null;
|
|
12411
13183
|
dataCount: bigint | null;
|
|
12412
13184
|
dataSize: bigint | null;
|
|
@@ -12663,6 +13435,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
12663
13435
|
_input_in: {
|
|
12664
13436
|
appUrl: string;
|
|
12665
13437
|
appId?: string | undefined;
|
|
13438
|
+
orgId?: string | undefined;
|
|
12666
13439
|
scopes?: {
|
|
12667
13440
|
email: boolean;
|
|
12668
13441
|
} | undefined;
|
|
@@ -12670,6 +13443,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
12670
13443
|
_input_out: {
|
|
12671
13444
|
appUrl: string;
|
|
12672
13445
|
appId?: string | undefined;
|
|
13446
|
+
orgId?: string | undefined;
|
|
12673
13447
|
scopes?: {
|
|
12674
13448
|
email: boolean;
|
|
12675
13449
|
} | undefined;
|
|
@@ -13391,7 +14165,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
13391
14165
|
accountRole: _prisma_client.AccountRole;
|
|
13392
14166
|
userId: string;
|
|
13393
14167
|
userRole: _prisma_client.UserRole;
|
|
13394
|
-
|
|
14168
|
+
org: {
|
|
14169
|
+
id: string;
|
|
14170
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
14171
|
+
role: _prisma_client.OrganizationRole;
|
|
14172
|
+
};
|
|
13395
14173
|
};
|
|
13396
14174
|
req: {
|
|
13397
14175
|
headers: Headers;
|
|
@@ -13415,10 +14193,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
13415
14193
|
currency: string;
|
|
13416
14194
|
total: number;
|
|
13417
14195
|
paid: boolean;
|
|
14196
|
+
created: number;
|
|
13418
14197
|
amountDue: number;
|
|
13419
14198
|
amountPaid: number;
|
|
13420
14199
|
amountRemaining: number;
|
|
13421
|
-
created: number;
|
|
13422
14200
|
accountCountry: string | null;
|
|
13423
14201
|
accountName: string | null;
|
|
13424
14202
|
applicationFeeAmount: number | null;
|
|
@@ -13436,10 +14214,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
13436
14214
|
currency: string;
|
|
13437
14215
|
total: number;
|
|
13438
14216
|
paid: boolean;
|
|
14217
|
+
created: number;
|
|
13439
14218
|
amountDue: number;
|
|
13440
14219
|
amountPaid: number;
|
|
13441
14220
|
amountRemaining: number;
|
|
13442
|
-
created: number;
|
|
13443
14221
|
accountCountry: string | null;
|
|
13444
14222
|
accountName: string | null;
|
|
13445
14223
|
applicationFeeAmount: number | null;
|
|
@@ -13499,7 +14277,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
13499
14277
|
accountRole: _prisma_client.AccountRole;
|
|
13500
14278
|
userId: string;
|
|
13501
14279
|
userRole: _prisma_client.UserRole;
|
|
13502
|
-
|
|
14280
|
+
org: {
|
|
14281
|
+
id: string;
|
|
14282
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
14283
|
+
role: _prisma_client.OrganizationRole;
|
|
14284
|
+
};
|
|
13503
14285
|
};
|
|
13504
14286
|
req: {
|
|
13505
14287
|
headers: Headers;
|
|
@@ -13521,10 +14303,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
13521
14303
|
currency: string;
|
|
13522
14304
|
total: number;
|
|
13523
14305
|
paid: boolean;
|
|
14306
|
+
created: number;
|
|
13524
14307
|
amountDue: number;
|
|
13525
14308
|
amountPaid: number;
|
|
13526
14309
|
amountRemaining: number;
|
|
13527
|
-
created: number;
|
|
13528
14310
|
accountCountry: string | null;
|
|
13529
14311
|
accountName: string | null;
|
|
13530
14312
|
applicationFeeAmount: number | null;
|
|
@@ -13542,10 +14324,10 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
13542
14324
|
currency: string;
|
|
13543
14325
|
total: number;
|
|
13544
14326
|
paid: boolean;
|
|
14327
|
+
created: number;
|
|
13545
14328
|
amountDue: number;
|
|
13546
14329
|
amountPaid: number;
|
|
13547
14330
|
amountRemaining: number;
|
|
13548
|
-
created: number;
|
|
13549
14331
|
accountCountry: string | null;
|
|
13550
14332
|
accountName: string | null;
|
|
13551
14333
|
applicationFeeAmount: number | null;
|
|
@@ -14131,7 +14913,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14131
14913
|
accountRole: _prisma_client.AccountRole;
|
|
14132
14914
|
userId: string;
|
|
14133
14915
|
userRole: _prisma_client.UserRole;
|
|
14134
|
-
|
|
14916
|
+
org: {
|
|
14917
|
+
id: string;
|
|
14918
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
14919
|
+
role: _prisma_client.OrganizationRole;
|
|
14920
|
+
};
|
|
14135
14921
|
};
|
|
14136
14922
|
req: {
|
|
14137
14923
|
headers: Headers;
|
|
@@ -14205,7 +14991,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14205
14991
|
accountRole: _prisma_client.AccountRole;
|
|
14206
14992
|
userId: string;
|
|
14207
14993
|
userRole: _prisma_client.UserRole;
|
|
14208
|
-
|
|
14994
|
+
org: {
|
|
14995
|
+
id: string;
|
|
14996
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
14997
|
+
role: _prisma_client.OrganizationRole;
|
|
14998
|
+
};
|
|
14209
14999
|
};
|
|
14210
15000
|
req: {
|
|
14211
15001
|
headers: Headers;
|
|
@@ -14223,6 +15013,18 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14223
15013
|
appId: string;
|
|
14224
15014
|
};
|
|
14225
15015
|
_output_in: {
|
|
15016
|
+
name: string;
|
|
15017
|
+
id: string;
|
|
15018
|
+
ownerId: string;
|
|
15019
|
+
blocked: boolean;
|
|
15020
|
+
color: string | null;
|
|
15021
|
+
logo: string | null;
|
|
15022
|
+
createdAt: Date;
|
|
15023
|
+
updatedAt: Date;
|
|
15024
|
+
origin: string[];
|
|
15025
|
+
planId: string | null;
|
|
15026
|
+
lastMetricsReset: Date;
|
|
15027
|
+
quotasId: string;
|
|
14226
15028
|
plan: {
|
|
14227
15029
|
name: string;
|
|
14228
15030
|
id: string;
|
|
@@ -14230,8 +15032,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14230
15032
|
canHaveDatabase?: boolean | undefined;
|
|
14231
15033
|
} & {
|
|
14232
15034
|
quotas: {
|
|
14233
|
-
totalStorageSize: bigint | null;
|
|
14234
|
-
perDataSize: bigint | null;
|
|
14235
15035
|
devs: bigint | null;
|
|
14236
15036
|
devsBase: bigint | null;
|
|
14237
15037
|
devsUnit: bigint | null;
|
|
@@ -14240,6 +15040,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14240
15040
|
usersBase: bigint | null;
|
|
14241
15041
|
usersUnit: bigint | null;
|
|
14242
15042
|
usersPrice: number | null;
|
|
15043
|
+
perDataSize: bigint | null;
|
|
14243
15044
|
perDataSizeBase: bigint | null;
|
|
14244
15045
|
perDataSizeUnit: bigint | null;
|
|
14245
15046
|
perDataSizePrice: number | null;
|
|
@@ -14247,36 +15048,24 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14247
15048
|
bandwidthBase: bigint | null;
|
|
14248
15049
|
bandwidthUnit: bigint | null;
|
|
14249
15050
|
bandwidthPrice: number | null;
|
|
15051
|
+
totalStorageSize: bigint | null;
|
|
14250
15052
|
totalStorageSizeBase: bigint | null;
|
|
14251
15053
|
totalStorageSizeUnit: bigint | null;
|
|
14252
15054
|
totalStorageSizePrice: number | null;
|
|
14253
15055
|
baseQuotasId: string;
|
|
14254
15056
|
} & {
|
|
14255
15057
|
baseQuotas: {
|
|
15058
|
+
perDataSize: bigint | null;
|
|
15059
|
+
totalStorageSize: bigint | null;
|
|
14256
15060
|
downloadBandwidth: bigint | null;
|
|
14257
15061
|
downloadCount: bigint | null;
|
|
14258
15062
|
uploadBandwidth: bigint | null;
|
|
14259
15063
|
uploadCount: bigint | null;
|
|
14260
15064
|
totalDataCount: bigint | null;
|
|
14261
|
-
totalStorageSize: bigint | null;
|
|
14262
|
-
perDataSize: bigint | null;
|
|
14263
|
-
receivedMailsId: string;
|
|
14264
15065
|
sentMailsId: string;
|
|
14265
15066
|
};
|
|
14266
15067
|
};
|
|
14267
15068
|
};
|
|
14268
|
-
name: string;
|
|
14269
|
-
id: string;
|
|
14270
|
-
ownerId: string;
|
|
14271
|
-
blocked: boolean;
|
|
14272
|
-
color: string | null;
|
|
14273
|
-
logo: string | null;
|
|
14274
|
-
createdAt: Date;
|
|
14275
|
-
updatedAt: Date;
|
|
14276
|
-
origin: string[];
|
|
14277
|
-
planId: string | null;
|
|
14278
|
-
lastMetricsReset: Date;
|
|
14279
|
-
quotasId: string;
|
|
14280
15069
|
owner: {
|
|
14281
15070
|
user: {
|
|
14282
15071
|
id: string;
|
|
@@ -14294,6 +15083,18 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14294
15083
|
usersCount: number;
|
|
14295
15084
|
};
|
|
14296
15085
|
_output_out: {
|
|
15086
|
+
name: string;
|
|
15087
|
+
id: string;
|
|
15088
|
+
ownerId: string;
|
|
15089
|
+
blocked: boolean;
|
|
15090
|
+
color: string | null;
|
|
15091
|
+
logo: string | null;
|
|
15092
|
+
createdAt: Date;
|
|
15093
|
+
updatedAt: Date;
|
|
15094
|
+
origin: string[];
|
|
15095
|
+
planId: string | null;
|
|
15096
|
+
lastMetricsReset: Date;
|
|
15097
|
+
quotasId: string;
|
|
14297
15098
|
plan: {
|
|
14298
15099
|
name: string;
|
|
14299
15100
|
id: string;
|
|
@@ -14301,8 +15102,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14301
15102
|
canHaveDatabase: boolean;
|
|
14302
15103
|
} & {
|
|
14303
15104
|
quotas: {
|
|
14304
|
-
totalStorageSize: bigint | null;
|
|
14305
|
-
perDataSize: bigint | null;
|
|
14306
15105
|
devs: bigint | null;
|
|
14307
15106
|
devsBase: bigint | null;
|
|
14308
15107
|
devsUnit: bigint | null;
|
|
@@ -14311,6 +15110,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14311
15110
|
usersBase: bigint | null;
|
|
14312
15111
|
usersUnit: bigint | null;
|
|
14313
15112
|
usersPrice: number | null;
|
|
15113
|
+
perDataSize: bigint | null;
|
|
14314
15114
|
perDataSizeBase: bigint | null;
|
|
14315
15115
|
perDataSizeUnit: bigint | null;
|
|
14316
15116
|
perDataSizePrice: number | null;
|
|
@@ -14318,36 +15118,24 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14318
15118
|
bandwidthBase: bigint | null;
|
|
14319
15119
|
bandwidthUnit: bigint | null;
|
|
14320
15120
|
bandwidthPrice: number | null;
|
|
15121
|
+
totalStorageSize: bigint | null;
|
|
14321
15122
|
totalStorageSizeBase: bigint | null;
|
|
14322
15123
|
totalStorageSizeUnit: bigint | null;
|
|
14323
15124
|
totalStorageSizePrice: number | null;
|
|
14324
15125
|
baseQuotasId: string;
|
|
14325
15126
|
} & {
|
|
14326
15127
|
baseQuotas: {
|
|
15128
|
+
perDataSize: bigint | null;
|
|
15129
|
+
totalStorageSize: bigint | null;
|
|
14327
15130
|
downloadBandwidth: bigint | null;
|
|
14328
15131
|
downloadCount: bigint | null;
|
|
14329
15132
|
uploadBandwidth: bigint | null;
|
|
14330
15133
|
uploadCount: bigint | null;
|
|
14331
15134
|
totalDataCount: bigint | null;
|
|
14332
|
-
totalStorageSize: bigint | null;
|
|
14333
|
-
perDataSize: bigint | null;
|
|
14334
|
-
receivedMailsId: string;
|
|
14335
15135
|
sentMailsId: string;
|
|
14336
15136
|
};
|
|
14337
15137
|
};
|
|
14338
15138
|
};
|
|
14339
|
-
name: string;
|
|
14340
|
-
id: string;
|
|
14341
|
-
ownerId: string;
|
|
14342
|
-
blocked: boolean;
|
|
14343
|
-
color: string | null;
|
|
14344
|
-
logo: string | null;
|
|
14345
|
-
createdAt: Date;
|
|
14346
|
-
updatedAt: Date;
|
|
14347
|
-
origin: string[];
|
|
14348
|
-
planId: string | null;
|
|
14349
|
-
lastMetricsReset: Date;
|
|
14350
|
-
quotasId: string;
|
|
14351
15139
|
owner: {
|
|
14352
15140
|
user: {
|
|
14353
15141
|
id: string;
|
|
@@ -14397,6 +15185,18 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14397
15185
|
sortBy: "updatedAt" | "users" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
14398
15186
|
};
|
|
14399
15187
|
_output_in: {
|
|
15188
|
+
name: string;
|
|
15189
|
+
id: string;
|
|
15190
|
+
ownerId: string;
|
|
15191
|
+
blocked: boolean;
|
|
15192
|
+
color: string | null;
|
|
15193
|
+
logo: string | null;
|
|
15194
|
+
createdAt: Date;
|
|
15195
|
+
updatedAt: Date;
|
|
15196
|
+
origin: string[];
|
|
15197
|
+
planId: string | null;
|
|
15198
|
+
lastMetricsReset: Date;
|
|
15199
|
+
quotasId: string;
|
|
14400
15200
|
plan: {
|
|
14401
15201
|
name: string;
|
|
14402
15202
|
id: string;
|
|
@@ -14404,8 +15204,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14404
15204
|
canHaveDatabase?: boolean | undefined;
|
|
14405
15205
|
} & {
|
|
14406
15206
|
quotas: {
|
|
14407
|
-
totalStorageSize: bigint | null;
|
|
14408
|
-
perDataSize: bigint | null;
|
|
14409
15207
|
devs: bigint | null;
|
|
14410
15208
|
devsBase: bigint | null;
|
|
14411
15209
|
devsUnit: bigint | null;
|
|
@@ -14414,6 +15212,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14414
15212
|
usersBase: bigint | null;
|
|
14415
15213
|
usersUnit: bigint | null;
|
|
14416
15214
|
usersPrice: number | null;
|
|
15215
|
+
perDataSize: bigint | null;
|
|
14417
15216
|
perDataSizeBase: bigint | null;
|
|
14418
15217
|
perDataSizeUnit: bigint | null;
|
|
14419
15218
|
perDataSizePrice: number | null;
|
|
@@ -14421,36 +15220,24 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14421
15220
|
bandwidthBase: bigint | null;
|
|
14422
15221
|
bandwidthUnit: bigint | null;
|
|
14423
15222
|
bandwidthPrice: number | null;
|
|
15223
|
+
totalStorageSize: bigint | null;
|
|
14424
15224
|
totalStorageSizeBase: bigint | null;
|
|
14425
15225
|
totalStorageSizeUnit: bigint | null;
|
|
14426
15226
|
totalStorageSizePrice: number | null;
|
|
14427
15227
|
baseQuotasId: string;
|
|
14428
15228
|
} & {
|
|
14429
15229
|
baseQuotas: {
|
|
15230
|
+
perDataSize: bigint | null;
|
|
15231
|
+
totalStorageSize: bigint | null;
|
|
14430
15232
|
downloadBandwidth: bigint | null;
|
|
14431
15233
|
downloadCount: bigint | null;
|
|
14432
15234
|
uploadBandwidth: bigint | null;
|
|
14433
15235
|
uploadCount: bigint | null;
|
|
14434
15236
|
totalDataCount: bigint | null;
|
|
14435
|
-
totalStorageSize: bigint | null;
|
|
14436
|
-
perDataSize: bigint | null;
|
|
14437
|
-
receivedMailsId: string;
|
|
14438
15237
|
sentMailsId: string;
|
|
14439
15238
|
};
|
|
14440
15239
|
};
|
|
14441
15240
|
};
|
|
14442
|
-
name: string;
|
|
14443
|
-
id: string;
|
|
14444
|
-
ownerId: string;
|
|
14445
|
-
blocked: boolean;
|
|
14446
|
-
color: string | null;
|
|
14447
|
-
logo: string | null;
|
|
14448
|
-
createdAt: Date;
|
|
14449
|
-
updatedAt: Date;
|
|
14450
|
-
origin: string[];
|
|
14451
|
-
planId: string | null;
|
|
14452
|
-
lastMetricsReset: Date;
|
|
14453
|
-
quotasId: string;
|
|
14454
15241
|
owner: {
|
|
14455
15242
|
user: {
|
|
14456
15243
|
id: string;
|
|
@@ -14468,6 +15255,18 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14468
15255
|
usersCount: number;
|
|
14469
15256
|
}[];
|
|
14470
15257
|
_output_out: {
|
|
15258
|
+
name: string;
|
|
15259
|
+
id: string;
|
|
15260
|
+
ownerId: string;
|
|
15261
|
+
blocked: boolean;
|
|
15262
|
+
color: string | null;
|
|
15263
|
+
logo: string | null;
|
|
15264
|
+
createdAt: Date;
|
|
15265
|
+
updatedAt: Date;
|
|
15266
|
+
origin: string[];
|
|
15267
|
+
planId: string | null;
|
|
15268
|
+
lastMetricsReset: Date;
|
|
15269
|
+
quotasId: string;
|
|
14471
15270
|
plan: {
|
|
14472
15271
|
name: string;
|
|
14473
15272
|
id: string;
|
|
@@ -14475,8 +15274,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14475
15274
|
canHaveDatabase: boolean;
|
|
14476
15275
|
} & {
|
|
14477
15276
|
quotas: {
|
|
14478
|
-
totalStorageSize: bigint | null;
|
|
14479
|
-
perDataSize: bigint | null;
|
|
14480
15277
|
devs: bigint | null;
|
|
14481
15278
|
devsBase: bigint | null;
|
|
14482
15279
|
devsUnit: bigint | null;
|
|
@@ -14485,6 +15282,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14485
15282
|
usersBase: bigint | null;
|
|
14486
15283
|
usersUnit: bigint | null;
|
|
14487
15284
|
usersPrice: number | null;
|
|
15285
|
+
perDataSize: bigint | null;
|
|
14488
15286
|
perDataSizeBase: bigint | null;
|
|
14489
15287
|
perDataSizeUnit: bigint | null;
|
|
14490
15288
|
perDataSizePrice: number | null;
|
|
@@ -14492,36 +15290,24 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14492
15290
|
bandwidthBase: bigint | null;
|
|
14493
15291
|
bandwidthUnit: bigint | null;
|
|
14494
15292
|
bandwidthPrice: number | null;
|
|
15293
|
+
totalStorageSize: bigint | null;
|
|
14495
15294
|
totalStorageSizeBase: bigint | null;
|
|
14496
15295
|
totalStorageSizeUnit: bigint | null;
|
|
14497
15296
|
totalStorageSizePrice: number | null;
|
|
14498
15297
|
baseQuotasId: string;
|
|
14499
15298
|
} & {
|
|
14500
15299
|
baseQuotas: {
|
|
15300
|
+
perDataSize: bigint | null;
|
|
15301
|
+
totalStorageSize: bigint | null;
|
|
14501
15302
|
downloadBandwidth: bigint | null;
|
|
14502
15303
|
downloadCount: bigint | null;
|
|
14503
15304
|
uploadBandwidth: bigint | null;
|
|
14504
15305
|
uploadCount: bigint | null;
|
|
14505
15306
|
totalDataCount: bigint | null;
|
|
14506
|
-
totalStorageSize: bigint | null;
|
|
14507
|
-
perDataSize: bigint | null;
|
|
14508
|
-
receivedMailsId: string;
|
|
14509
15307
|
sentMailsId: string;
|
|
14510
15308
|
};
|
|
14511
15309
|
};
|
|
14512
15310
|
};
|
|
14513
|
-
name: string;
|
|
14514
|
-
id: string;
|
|
14515
|
-
ownerId: string;
|
|
14516
|
-
blocked: boolean;
|
|
14517
|
-
color: string | null;
|
|
14518
|
-
logo: string | null;
|
|
14519
|
-
createdAt: Date;
|
|
14520
|
-
updatedAt: Date;
|
|
14521
|
-
origin: string[];
|
|
14522
|
-
planId: string | null;
|
|
14523
|
-
lastMetricsReset: Date;
|
|
14524
|
-
quotasId: string;
|
|
14525
15311
|
owner: {
|
|
14526
15312
|
user: {
|
|
14527
15313
|
id: string;
|
|
@@ -14637,7 +15423,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14637
15423
|
accountRole: _prisma_client.AccountRole;
|
|
14638
15424
|
userId: string;
|
|
14639
15425
|
userRole: _prisma_client.UserRole;
|
|
14640
|
-
|
|
15426
|
+
org: {
|
|
15427
|
+
id: string;
|
|
15428
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
15429
|
+
role: _prisma_client.OrganizationRole;
|
|
15430
|
+
};
|
|
14641
15431
|
};
|
|
14642
15432
|
req: {
|
|
14643
15433
|
headers: Headers;
|
|
@@ -14707,7 +15497,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14707
15497
|
accountRole: _prisma_client.AccountRole;
|
|
14708
15498
|
userId: string;
|
|
14709
15499
|
userRole: _prisma_client.UserRole;
|
|
14710
|
-
|
|
15500
|
+
org: {
|
|
15501
|
+
id: string;
|
|
15502
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
15503
|
+
role: _prisma_client.OrganizationRole;
|
|
15504
|
+
};
|
|
14711
15505
|
};
|
|
14712
15506
|
req: {
|
|
14713
15507
|
headers: Headers;
|
|
@@ -14779,7 +15573,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14779
15573
|
accountRole: _prisma_client.AccountRole;
|
|
14780
15574
|
userId: string;
|
|
14781
15575
|
userRole: _prisma_client.UserRole;
|
|
14782
|
-
|
|
15576
|
+
org: {
|
|
15577
|
+
id: string;
|
|
15578
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
15579
|
+
role: _prisma_client.OrganizationRole;
|
|
15580
|
+
};
|
|
14783
15581
|
};
|
|
14784
15582
|
req: {
|
|
14785
15583
|
headers: Headers;
|
|
@@ -14893,7 +15691,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
14893
15691
|
accountRole: _prisma_client.AccountRole;
|
|
14894
15692
|
userId: string;
|
|
14895
15693
|
userRole: _prisma_client.UserRole;
|
|
14896
|
-
|
|
15694
|
+
org: {
|
|
15695
|
+
id: string;
|
|
15696
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
15697
|
+
role: _prisma_client.OrganizationRole;
|
|
15698
|
+
};
|
|
14897
15699
|
};
|
|
14898
15700
|
req: {
|
|
14899
15701
|
headers: Headers;
|
|
@@ -15049,7 +15851,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15049
15851
|
accountRole: _prisma_client.AccountRole;
|
|
15050
15852
|
userId: string;
|
|
15051
15853
|
userRole: _prisma_client.UserRole;
|
|
15052
|
-
|
|
15854
|
+
org: {
|
|
15855
|
+
id: string;
|
|
15856
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
15857
|
+
role: _prisma_client.OrganizationRole;
|
|
15858
|
+
};
|
|
15053
15859
|
};
|
|
15054
15860
|
req: {
|
|
15055
15861
|
headers: Headers;
|
|
@@ -15121,7 +15927,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15121
15927
|
accountRole: _prisma_client.AccountRole;
|
|
15122
15928
|
userId: string;
|
|
15123
15929
|
userRole: _prisma_client.UserRole;
|
|
15124
|
-
|
|
15930
|
+
org: {
|
|
15931
|
+
id: string;
|
|
15932
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
15933
|
+
role: _prisma_client.OrganizationRole;
|
|
15934
|
+
};
|
|
15125
15935
|
};
|
|
15126
15936
|
req: {
|
|
15127
15937
|
headers: Headers;
|
|
@@ -15197,7 +16007,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15197
16007
|
accountRole: _prisma_client.AccountRole;
|
|
15198
16008
|
userId: string;
|
|
15199
16009
|
userRole: _prisma_client.UserRole;
|
|
15200
|
-
|
|
16010
|
+
org: {
|
|
16011
|
+
id: string;
|
|
16012
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
16013
|
+
role: _prisma_client.OrganizationRole;
|
|
16014
|
+
};
|
|
15201
16015
|
};
|
|
15202
16016
|
req: {
|
|
15203
16017
|
headers: Headers;
|
|
@@ -15264,7 +16078,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15264
16078
|
accountRole: _prisma_client.AccountRole;
|
|
15265
16079
|
userId: string;
|
|
15266
16080
|
userRole: _prisma_client.UserRole;
|
|
15267
|
-
|
|
16081
|
+
org: {
|
|
16082
|
+
id: string;
|
|
16083
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
16084
|
+
role: _prisma_client.OrganizationRole;
|
|
16085
|
+
};
|
|
15268
16086
|
};
|
|
15269
16087
|
req: {
|
|
15270
16088
|
headers: Headers;
|
|
@@ -15336,7 +16154,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15336
16154
|
accountRole: _prisma_client.AccountRole;
|
|
15337
16155
|
userId: string;
|
|
15338
16156
|
userRole: _prisma_client.UserRole;
|
|
15339
|
-
|
|
16157
|
+
org: {
|
|
16158
|
+
id: string;
|
|
16159
|
+
plan: _prisma_client.OrganizationPlanKind;
|
|
16160
|
+
role: _prisma_client.OrganizationRole;
|
|
16161
|
+
};
|
|
15340
16162
|
};
|
|
15341
16163
|
req: {
|
|
15342
16164
|
headers: Headers;
|
|
@@ -15648,8 +16470,9 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15648
16470
|
_output_in: {
|
|
15649
16471
|
id: string;
|
|
15650
16472
|
createdAt: Date;
|
|
15651
|
-
accountId: string;
|
|
15652
16473
|
userId: string;
|
|
16474
|
+
orgId: string;
|
|
16475
|
+
accountId: string;
|
|
15653
16476
|
lastActivity: Date | null;
|
|
15654
16477
|
userAgent: string | null;
|
|
15655
16478
|
ip: string | null;
|
|
@@ -15658,8 +16481,9 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15658
16481
|
appSessions: ({
|
|
15659
16482
|
id: string;
|
|
15660
16483
|
createdAt: Date;
|
|
15661
|
-
|
|
15662
|
-
|
|
16484
|
+
userAppOrgUserId: string;
|
|
16485
|
+
userAppOrgAppId: string;
|
|
16486
|
+
userAppOrgOrgId: string;
|
|
15663
16487
|
userSessionId: string;
|
|
15664
16488
|
lastActivity: Date | null;
|
|
15665
16489
|
userAgent: string | null;
|
|
@@ -15675,8 +16499,9 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15675
16499
|
_output_out: {
|
|
15676
16500
|
id: string;
|
|
15677
16501
|
createdAt: Date;
|
|
15678
|
-
accountId: string;
|
|
15679
16502
|
userId: string;
|
|
16503
|
+
orgId: string;
|
|
16504
|
+
accountId: string;
|
|
15680
16505
|
lastActivity: Date | null;
|
|
15681
16506
|
userAgent: string | null;
|
|
15682
16507
|
ip: string | null;
|
|
@@ -15685,8 +16510,9 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15685
16510
|
appSessions: ({
|
|
15686
16511
|
id: string;
|
|
15687
16512
|
createdAt: Date;
|
|
15688
|
-
|
|
15689
|
-
|
|
16513
|
+
userAppOrgUserId: string;
|
|
16514
|
+
userAppOrgAppId: string;
|
|
16515
|
+
userAppOrgOrgId: string;
|
|
15690
16516
|
userSessionId: string;
|
|
15691
16517
|
lastActivity: Date | null;
|
|
15692
16518
|
userAgent: string | null;
|
|
@@ -15739,150 +16565,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
15739
16565
|
};
|
|
15740
16566
|
}, unknown>>;
|
|
15741
16567
|
};
|
|
15742
|
-
createSubscription: {
|
|
15743
|
-
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
15744
|
-
_config: import("@trpc/server").RootConfig<{
|
|
15745
|
-
ctx: {};
|
|
15746
|
-
meta: object;
|
|
15747
|
-
errorShape: {
|
|
15748
|
-
message: string;
|
|
15749
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
15750
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
15751
|
-
} | {
|
|
15752
|
-
data: {
|
|
15753
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
15754
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
15755
|
-
httpStatus: number;
|
|
15756
|
-
path?: string;
|
|
15757
|
-
stack?: string;
|
|
15758
|
-
};
|
|
15759
|
-
message: string;
|
|
15760
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
15761
|
-
};
|
|
15762
|
-
transformer: typeof superjson;
|
|
15763
|
-
}>;
|
|
15764
|
-
_meta: object;
|
|
15765
|
-
_ctx_out: {};
|
|
15766
|
-
_input_in: {
|
|
15767
|
-
planCode: "user_basic_month" | "user_basic_year" | "user_advanced_month" | "user_advanced_year" | "user_pro_month" | "user_pro_year";
|
|
15768
|
-
};
|
|
15769
|
-
_input_out: {
|
|
15770
|
-
planCode: "user_basic_month" | "user_basic_year" | "user_advanced_month" | "user_advanced_year" | "user_pro_month" | "user_pro_year";
|
|
15771
|
-
};
|
|
15772
|
-
_output_in: {
|
|
15773
|
-
url: string | null;
|
|
15774
|
-
};
|
|
15775
|
-
_output_out: {
|
|
15776
|
-
url: string | null;
|
|
15777
|
-
};
|
|
15778
|
-
}, unknown>>;
|
|
15779
|
-
};
|
|
15780
|
-
cancelSubscription: {
|
|
15781
|
-
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
15782
|
-
_config: import("@trpc/server").RootConfig<{
|
|
15783
|
-
ctx: {};
|
|
15784
|
-
meta: object;
|
|
15785
|
-
errorShape: {
|
|
15786
|
-
message: string;
|
|
15787
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
15788
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
15789
|
-
} | {
|
|
15790
|
-
data: {
|
|
15791
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
15792
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
15793
|
-
httpStatus: number;
|
|
15794
|
-
path?: string;
|
|
15795
|
-
stack?: string;
|
|
15796
|
-
};
|
|
15797
|
-
message: string;
|
|
15798
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
15799
|
-
};
|
|
15800
|
-
transformer: typeof superjson;
|
|
15801
|
-
}>;
|
|
15802
|
-
_meta: object;
|
|
15803
|
-
_ctx_out: {};
|
|
15804
|
-
_input_in: {
|
|
15805
|
-
prorate: boolean;
|
|
15806
|
-
};
|
|
15807
|
-
_input_out: {
|
|
15808
|
-
prorate: boolean;
|
|
15809
|
-
};
|
|
15810
|
-
_output_in: {
|
|
15811
|
-
isCancelled: boolean;
|
|
15812
|
-
};
|
|
15813
|
-
_output_out: {
|
|
15814
|
-
isCancelled: boolean;
|
|
15815
|
-
};
|
|
15816
|
-
}, unknown>>;
|
|
15817
|
-
};
|
|
15818
|
-
getSubscription: {
|
|
15819
|
-
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
15820
|
-
_config: import("@trpc/server").RootConfig<{
|
|
15821
|
-
ctx: {};
|
|
15822
|
-
meta: object;
|
|
15823
|
-
errorShape: {
|
|
15824
|
-
message: string;
|
|
15825
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
15826
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
15827
|
-
} | {
|
|
15828
|
-
data: {
|
|
15829
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
15830
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
15831
|
-
httpStatus: number;
|
|
15832
|
-
path?: string;
|
|
15833
|
-
stack?: string;
|
|
15834
|
-
};
|
|
15835
|
-
message: string;
|
|
15836
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
15837
|
-
};
|
|
15838
|
-
transformer: typeof superjson;
|
|
15839
|
-
}>;
|
|
15840
|
-
_meta: object;
|
|
15841
|
-
_ctx_out: {};
|
|
15842
|
-
_input_in: {} | undefined;
|
|
15843
|
-
_input_out: {} | undefined;
|
|
15844
|
-
_output_in: {
|
|
15845
|
-
subscription: {
|
|
15846
|
-
id: string;
|
|
15847
|
-
currency: string;
|
|
15848
|
-
description: string | null;
|
|
15849
|
-
status: "canceled" | "past_due" | "active" | "incomplete" | "incomplete_expired" | "paused" | "trialing" | "unpaid";
|
|
15850
|
-
created: number;
|
|
15851
|
-
billingCycleAnchor: number;
|
|
15852
|
-
cancelAt: number | null;
|
|
15853
|
-
cancelAtPeriodEnd: boolean;
|
|
15854
|
-
canceledAt: number | null;
|
|
15855
|
-
currentPeriodEnd: number;
|
|
15856
|
-
currentPeriodStart: number;
|
|
15857
|
-
daysUntilDue: number | null;
|
|
15858
|
-
startDate: number;
|
|
15859
|
-
endedAt: number | null;
|
|
15860
|
-
trialEnd: number | null;
|
|
15861
|
-
trialStart: number | null;
|
|
15862
|
-
} | null;
|
|
15863
|
-
};
|
|
15864
|
-
_output_out: {
|
|
15865
|
-
subscription: {
|
|
15866
|
-
id: string;
|
|
15867
|
-
currency: string;
|
|
15868
|
-
description: string | null;
|
|
15869
|
-
status: "canceled" | "past_due" | "active" | "incomplete" | "incomplete_expired" | "paused" | "trialing" | "unpaid";
|
|
15870
|
-
created: number;
|
|
15871
|
-
billingCycleAnchor: number;
|
|
15872
|
-
cancelAt: number | null;
|
|
15873
|
-
cancelAtPeriodEnd: boolean;
|
|
15874
|
-
canceledAt: number | null;
|
|
15875
|
-
currentPeriodEnd: number;
|
|
15876
|
-
currentPeriodStart: number;
|
|
15877
|
-
daysUntilDue: number | null;
|
|
15878
|
-
startDate: number;
|
|
15879
|
-
endedAt: number | null;
|
|
15880
|
-
trialEnd: number | null;
|
|
15881
|
-
trialStart: number | null;
|
|
15882
|
-
} | null;
|
|
15883
|
-
};
|
|
15884
|
-
}, unknown>>;
|
|
15885
|
-
};
|
|
15886
16568
|
updateProfile: {
|
|
15887
16569
|
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
15888
16570
|
_config: import("@trpc/server").RootConfig<{
|