@secrecy/trpc-api-types 1.33.0-feat-unencrypted-data.4 → 1.33.0-feat-billing-by-app-or-user.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/index.d.cts +124 -44
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -378,6 +378,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
378
378
|
totalStorageSizeBase: bigint | null;
|
|
379
379
|
totalStorageSizeUnit: bigint | null;
|
|
380
380
|
totalStorageSizePrice: number | null;
|
|
381
|
+
baseQuotasId: string;
|
|
381
382
|
};
|
|
382
383
|
_output_out: {
|
|
383
384
|
id: string;
|
|
@@ -401,6 +402,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
401
402
|
totalStorageSizeBase: bigint | null;
|
|
402
403
|
totalStorageSizeUnit: bigint | null;
|
|
403
404
|
totalStorageSizePrice: number | null;
|
|
405
|
+
baseQuotasId: string;
|
|
404
406
|
};
|
|
405
407
|
}, unknown>;
|
|
406
408
|
notification: _trpc_server.BuildProcedure<"query", {
|
|
@@ -470,16 +472,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
470
472
|
_input_out: {} | undefined;
|
|
471
473
|
_output_in: {
|
|
472
474
|
id: string;
|
|
475
|
+
quotasId: string;
|
|
473
476
|
name: string;
|
|
474
|
-
descriptorId: string;
|
|
475
477
|
stripePricesId: string | null;
|
|
476
478
|
isCustomPlan?: boolean | undefined;
|
|
477
479
|
canHaveDatabase?: boolean | undefined;
|
|
478
480
|
};
|
|
479
481
|
_output_out: {
|
|
480
482
|
id: string;
|
|
483
|
+
quotasId: string;
|
|
481
484
|
name: string;
|
|
482
|
-
descriptorId: string;
|
|
483
485
|
isCustomPlan: boolean;
|
|
484
486
|
canHaveDatabase: boolean;
|
|
485
487
|
stripePricesId: string | null;
|
|
@@ -520,27 +522,40 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
520
522
|
isCustomPlan?: boolean | undefined;
|
|
521
523
|
canHaveDatabase?: boolean | undefined;
|
|
522
524
|
} & {
|
|
523
|
-
|
|
525
|
+
quotas: {
|
|
526
|
+
users: bigint | null;
|
|
527
|
+
totalStorageSize: bigint | null;
|
|
528
|
+
devs: bigint | null;
|
|
524
529
|
devsBase: bigint | null;
|
|
525
530
|
devsUnit: bigint | null;
|
|
526
531
|
devsPrice: number | null;
|
|
527
532
|
usersBase: bigint | null;
|
|
528
533
|
usersUnit: bigint | null;
|
|
529
534
|
usersPrice: number | null;
|
|
535
|
+
perDataSize: bigint | null;
|
|
530
536
|
perDataSizeBase: bigint | null;
|
|
531
537
|
perDataSizeUnit: bigint | null;
|
|
532
538
|
perDataSizePrice: number | null;
|
|
539
|
+
bandwidth: bigint | null;
|
|
533
540
|
bandwidthBase: bigint | null;
|
|
534
541
|
bandwidthUnit: bigint | null;
|
|
535
542
|
bandwidthPrice: number | null;
|
|
536
543
|
totalStorageSizeBase: bigint | null;
|
|
537
544
|
totalStorageSizeUnit: bigint | null;
|
|
538
545
|
totalStorageSizePrice: number | null;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
546
|
+
baseQuotasId: string;
|
|
547
|
+
} & {
|
|
548
|
+
baseQuotas: {
|
|
549
|
+
uploadCount: bigint | null;
|
|
550
|
+
downloadCount: bigint | null;
|
|
551
|
+
totalDataCount: bigint | null;
|
|
552
|
+
totalStorageSize: bigint | null;
|
|
553
|
+
perDataSize: bigint | null;
|
|
554
|
+
downloadBandwidth: bigint | null;
|
|
555
|
+
uploadBandwidth: bigint | null;
|
|
556
|
+
receivedMailsId: string;
|
|
557
|
+
sentMailsId: string;
|
|
558
|
+
};
|
|
544
559
|
};
|
|
545
560
|
} & {
|
|
546
561
|
price: number;
|
|
@@ -553,27 +568,40 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
553
568
|
isCustomPlan: boolean;
|
|
554
569
|
canHaveDatabase: boolean;
|
|
555
570
|
} & {
|
|
556
|
-
|
|
571
|
+
quotas: {
|
|
572
|
+
users: bigint | null;
|
|
573
|
+
totalStorageSize: bigint | null;
|
|
574
|
+
devs: bigint | null;
|
|
557
575
|
devsBase: bigint | null;
|
|
558
576
|
devsUnit: bigint | null;
|
|
559
577
|
devsPrice: number | null;
|
|
560
578
|
usersBase: bigint | null;
|
|
561
579
|
usersUnit: bigint | null;
|
|
562
580
|
usersPrice: number | null;
|
|
581
|
+
perDataSize: bigint | null;
|
|
563
582
|
perDataSizeBase: bigint | null;
|
|
564
583
|
perDataSizeUnit: bigint | null;
|
|
565
584
|
perDataSizePrice: number | null;
|
|
585
|
+
bandwidth: bigint | null;
|
|
566
586
|
bandwidthBase: bigint | null;
|
|
567
587
|
bandwidthUnit: bigint | null;
|
|
568
588
|
bandwidthPrice: number | null;
|
|
569
589
|
totalStorageSizeBase: bigint | null;
|
|
570
590
|
totalStorageSizeUnit: bigint | null;
|
|
571
591
|
totalStorageSizePrice: number | null;
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
592
|
+
baseQuotasId: string;
|
|
593
|
+
} & {
|
|
594
|
+
baseQuotas: {
|
|
595
|
+
uploadCount: bigint | null;
|
|
596
|
+
downloadCount: bigint | null;
|
|
597
|
+
totalDataCount: bigint | null;
|
|
598
|
+
totalStorageSize: bigint | null;
|
|
599
|
+
perDataSize: bigint | null;
|
|
600
|
+
downloadBandwidth: bigint | null;
|
|
601
|
+
uploadBandwidth: bigint | null;
|
|
602
|
+
receivedMailsId: string;
|
|
603
|
+
sentMailsId: string;
|
|
604
|
+
};
|
|
577
605
|
};
|
|
578
606
|
} & {
|
|
579
607
|
price: number;
|
|
@@ -2926,7 +2954,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2926
2954
|
_input_in: {
|
|
2927
2955
|
users: {
|
|
2928
2956
|
id: string;
|
|
2929
|
-
key: string;
|
|
2957
|
+
key: string | null;
|
|
2930
2958
|
}[];
|
|
2931
2959
|
dataId: string;
|
|
2932
2960
|
nodeId: string;
|
|
@@ -2934,7 +2962,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2934
2962
|
_input_out: {
|
|
2935
2963
|
users: {
|
|
2936
2964
|
id: string;
|
|
2937
|
-
key: string;
|
|
2965
|
+
key: string | null;
|
|
2938
2966
|
}[];
|
|
2939
2967
|
dataId: string;
|
|
2940
2968
|
nodeId: string;
|
|
@@ -11351,31 +11379,45 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11351
11379
|
isCustomPlan?: boolean | undefined;
|
|
11352
11380
|
canHaveDatabase?: boolean | undefined;
|
|
11353
11381
|
} & {
|
|
11354
|
-
|
|
11382
|
+
quotas: {
|
|
11383
|
+
users: bigint | null;
|
|
11384
|
+
totalStorageSize: bigint | null;
|
|
11385
|
+
devs: bigint | null;
|
|
11355
11386
|
devsBase: bigint | null;
|
|
11356
11387
|
devsUnit: bigint | null;
|
|
11357
11388
|
devsPrice: number | null;
|
|
11358
11389
|
usersBase: bigint | null;
|
|
11359
11390
|
usersUnit: bigint | null;
|
|
11360
11391
|
usersPrice: number | null;
|
|
11392
|
+
perDataSize: bigint | null;
|
|
11361
11393
|
perDataSizeBase: bigint | null;
|
|
11362
11394
|
perDataSizeUnit: bigint | null;
|
|
11363
11395
|
perDataSizePrice: number | null;
|
|
11396
|
+
bandwidth: bigint | null;
|
|
11364
11397
|
bandwidthBase: bigint | null;
|
|
11365
11398
|
bandwidthUnit: bigint | null;
|
|
11366
11399
|
bandwidthPrice: number | null;
|
|
11367
11400
|
totalStorageSizeBase: bigint | null;
|
|
11368
11401
|
totalStorageSizeUnit: bigint | null;
|
|
11369
11402
|
totalStorageSizePrice: number | null;
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
|
|
11373
|
-
|
|
11374
|
-
|
|
11403
|
+
baseQuotasId: string;
|
|
11404
|
+
} & {
|
|
11405
|
+
baseQuotas: {
|
|
11406
|
+
uploadCount: bigint | null;
|
|
11407
|
+
downloadCount: bigint | null;
|
|
11408
|
+
totalDataCount: bigint | null;
|
|
11409
|
+
totalStorageSize: bigint | null;
|
|
11410
|
+
perDataSize: bigint | null;
|
|
11411
|
+
downloadBandwidth: bigint | null;
|
|
11412
|
+
uploadBandwidth: bigint | null;
|
|
11413
|
+
receivedMailsId: string;
|
|
11414
|
+
sentMailsId: string;
|
|
11415
|
+
};
|
|
11375
11416
|
};
|
|
11376
11417
|
};
|
|
11377
11418
|
id: string;
|
|
11378
11419
|
createdAt: Date;
|
|
11420
|
+
quotasId: string;
|
|
11379
11421
|
ownerId: string;
|
|
11380
11422
|
blocked: boolean;
|
|
11381
11423
|
name: string;
|
|
@@ -11385,7 +11427,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11385
11427
|
origin: string[];
|
|
11386
11428
|
planId: string | null;
|
|
11387
11429
|
lastMetricsReset: Date;
|
|
11388
|
-
quotasId: string;
|
|
11389
11430
|
owner: {
|
|
11390
11431
|
user: {
|
|
11391
11432
|
id: string;
|
|
@@ -11409,31 +11450,45 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11409
11450
|
isCustomPlan: boolean;
|
|
11410
11451
|
canHaveDatabase: boolean;
|
|
11411
11452
|
} & {
|
|
11412
|
-
|
|
11453
|
+
quotas: {
|
|
11454
|
+
users: bigint | null;
|
|
11455
|
+
totalStorageSize: bigint | null;
|
|
11456
|
+
devs: bigint | null;
|
|
11413
11457
|
devsBase: bigint | null;
|
|
11414
11458
|
devsUnit: bigint | null;
|
|
11415
11459
|
devsPrice: number | null;
|
|
11416
11460
|
usersBase: bigint | null;
|
|
11417
11461
|
usersUnit: bigint | null;
|
|
11418
11462
|
usersPrice: number | null;
|
|
11463
|
+
perDataSize: bigint | null;
|
|
11419
11464
|
perDataSizeBase: bigint | null;
|
|
11420
11465
|
perDataSizeUnit: bigint | null;
|
|
11421
11466
|
perDataSizePrice: number | null;
|
|
11467
|
+
bandwidth: bigint | null;
|
|
11422
11468
|
bandwidthBase: bigint | null;
|
|
11423
11469
|
bandwidthUnit: bigint | null;
|
|
11424
11470
|
bandwidthPrice: number | null;
|
|
11425
11471
|
totalStorageSizeBase: bigint | null;
|
|
11426
11472
|
totalStorageSizeUnit: bigint | null;
|
|
11427
11473
|
totalStorageSizePrice: number | null;
|
|
11428
|
-
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
|
|
11474
|
+
baseQuotasId: string;
|
|
11475
|
+
} & {
|
|
11476
|
+
baseQuotas: {
|
|
11477
|
+
uploadCount: bigint | null;
|
|
11478
|
+
downloadCount: bigint | null;
|
|
11479
|
+
totalDataCount: bigint | null;
|
|
11480
|
+
totalStorageSize: bigint | null;
|
|
11481
|
+
perDataSize: bigint | null;
|
|
11482
|
+
downloadBandwidth: bigint | null;
|
|
11483
|
+
uploadBandwidth: bigint | null;
|
|
11484
|
+
receivedMailsId: string;
|
|
11485
|
+
sentMailsId: string;
|
|
11486
|
+
};
|
|
11433
11487
|
};
|
|
11434
11488
|
};
|
|
11435
11489
|
id: string;
|
|
11436
11490
|
createdAt: Date;
|
|
11491
|
+
quotasId: string;
|
|
11437
11492
|
ownerId: string;
|
|
11438
11493
|
blocked: boolean;
|
|
11439
11494
|
name: string;
|
|
@@ -11443,7 +11498,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11443
11498
|
origin: string[];
|
|
11444
11499
|
planId: string | null;
|
|
11445
11500
|
lastMetricsReset: Date;
|
|
11446
|
-
quotasId: string;
|
|
11447
11501
|
owner: {
|
|
11448
11502
|
user: {
|
|
11449
11503
|
id: string;
|
|
@@ -11497,31 +11551,45 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11497
11551
|
isCustomPlan?: boolean | undefined;
|
|
11498
11552
|
canHaveDatabase?: boolean | undefined;
|
|
11499
11553
|
} & {
|
|
11500
|
-
|
|
11554
|
+
quotas: {
|
|
11555
|
+
users: bigint | null;
|
|
11556
|
+
totalStorageSize: bigint | null;
|
|
11557
|
+
devs: bigint | null;
|
|
11501
11558
|
devsBase: bigint | null;
|
|
11502
11559
|
devsUnit: bigint | null;
|
|
11503
11560
|
devsPrice: number | null;
|
|
11504
11561
|
usersBase: bigint | null;
|
|
11505
11562
|
usersUnit: bigint | null;
|
|
11506
11563
|
usersPrice: number | null;
|
|
11564
|
+
perDataSize: bigint | null;
|
|
11507
11565
|
perDataSizeBase: bigint | null;
|
|
11508
11566
|
perDataSizeUnit: bigint | null;
|
|
11509
11567
|
perDataSizePrice: number | null;
|
|
11568
|
+
bandwidth: bigint | null;
|
|
11510
11569
|
bandwidthBase: bigint | null;
|
|
11511
11570
|
bandwidthUnit: bigint | null;
|
|
11512
11571
|
bandwidthPrice: number | null;
|
|
11513
11572
|
totalStorageSizeBase: bigint | null;
|
|
11514
11573
|
totalStorageSizeUnit: bigint | null;
|
|
11515
11574
|
totalStorageSizePrice: number | null;
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11519
|
-
|
|
11520
|
-
|
|
11575
|
+
baseQuotasId: string;
|
|
11576
|
+
} & {
|
|
11577
|
+
baseQuotas: {
|
|
11578
|
+
uploadCount: bigint | null;
|
|
11579
|
+
downloadCount: bigint | null;
|
|
11580
|
+
totalDataCount: bigint | null;
|
|
11581
|
+
totalStorageSize: bigint | null;
|
|
11582
|
+
perDataSize: bigint | null;
|
|
11583
|
+
downloadBandwidth: bigint | null;
|
|
11584
|
+
uploadBandwidth: bigint | null;
|
|
11585
|
+
receivedMailsId: string;
|
|
11586
|
+
sentMailsId: string;
|
|
11587
|
+
};
|
|
11521
11588
|
};
|
|
11522
11589
|
};
|
|
11523
11590
|
id: string;
|
|
11524
11591
|
createdAt: Date;
|
|
11592
|
+
quotasId: string;
|
|
11525
11593
|
ownerId: string;
|
|
11526
11594
|
blocked: boolean;
|
|
11527
11595
|
name: string;
|
|
@@ -11531,7 +11599,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11531
11599
|
origin: string[];
|
|
11532
11600
|
planId: string | null;
|
|
11533
11601
|
lastMetricsReset: Date;
|
|
11534
|
-
quotasId: string;
|
|
11535
11602
|
owner: {
|
|
11536
11603
|
user: {
|
|
11537
11604
|
id: string;
|
|
@@ -11555,31 +11622,45 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11555
11622
|
isCustomPlan: boolean;
|
|
11556
11623
|
canHaveDatabase: boolean;
|
|
11557
11624
|
} & {
|
|
11558
|
-
|
|
11625
|
+
quotas: {
|
|
11626
|
+
users: bigint | null;
|
|
11627
|
+
totalStorageSize: bigint | null;
|
|
11628
|
+
devs: bigint | null;
|
|
11559
11629
|
devsBase: bigint | null;
|
|
11560
11630
|
devsUnit: bigint | null;
|
|
11561
11631
|
devsPrice: number | null;
|
|
11562
11632
|
usersBase: bigint | null;
|
|
11563
11633
|
usersUnit: bigint | null;
|
|
11564
11634
|
usersPrice: number | null;
|
|
11635
|
+
perDataSize: bigint | null;
|
|
11565
11636
|
perDataSizeBase: bigint | null;
|
|
11566
11637
|
perDataSizeUnit: bigint | null;
|
|
11567
11638
|
perDataSizePrice: number | null;
|
|
11639
|
+
bandwidth: bigint | null;
|
|
11568
11640
|
bandwidthBase: bigint | null;
|
|
11569
11641
|
bandwidthUnit: bigint | null;
|
|
11570
11642
|
bandwidthPrice: number | null;
|
|
11571
11643
|
totalStorageSizeBase: bigint | null;
|
|
11572
11644
|
totalStorageSizeUnit: bigint | null;
|
|
11573
11645
|
totalStorageSizePrice: number | null;
|
|
11574
|
-
|
|
11575
|
-
|
|
11576
|
-
|
|
11577
|
-
|
|
11578
|
-
|
|
11646
|
+
baseQuotasId: string;
|
|
11647
|
+
} & {
|
|
11648
|
+
baseQuotas: {
|
|
11649
|
+
uploadCount: bigint | null;
|
|
11650
|
+
downloadCount: bigint | null;
|
|
11651
|
+
totalDataCount: bigint | null;
|
|
11652
|
+
totalStorageSize: bigint | null;
|
|
11653
|
+
perDataSize: bigint | null;
|
|
11654
|
+
downloadBandwidth: bigint | null;
|
|
11655
|
+
uploadBandwidth: bigint | null;
|
|
11656
|
+
receivedMailsId: string;
|
|
11657
|
+
sentMailsId: string;
|
|
11658
|
+
};
|
|
11579
11659
|
};
|
|
11580
11660
|
};
|
|
11581
11661
|
id: string;
|
|
11582
11662
|
createdAt: Date;
|
|
11663
|
+
quotasId: string;
|
|
11583
11664
|
ownerId: string;
|
|
11584
11665
|
blocked: boolean;
|
|
11585
11666
|
name: string;
|
|
@@ -11589,7 +11670,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11589
11670
|
origin: string[];
|
|
11590
11671
|
planId: string | null;
|
|
11591
11672
|
lastMetricsReset: Date;
|
|
11592
|
-
quotasId: string;
|
|
11593
11673
|
owner: {
|
|
11594
11674
|
user: {
|
|
11595
11675
|
id: string;
|