@secrecy/trpc-api-types 1.41.0-fix-reset-billing.16 → 1.41.0-fix-reset-billing.18
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.ts +106 -73
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -103,9 +103,13 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
103
103
|
transformer: true;
|
|
104
104
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
105
105
|
limits: _trpc_server.TRPCQueryProcedure<{
|
|
106
|
-
input:
|
|
106
|
+
input: {
|
|
107
|
+
paidByApp?: boolean | undefined;
|
|
108
|
+
};
|
|
107
109
|
output: {
|
|
108
110
|
metrics: {
|
|
111
|
+
lastReset: Date;
|
|
112
|
+
hasDatabase: boolean;
|
|
109
113
|
devsCount: bigint;
|
|
110
114
|
usersCount: bigint;
|
|
111
115
|
storageCount: bigint;
|
|
@@ -135,14 +139,22 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
135
139
|
metrics: _trpc_server.TRPCQueryProcedure<{
|
|
136
140
|
input: {
|
|
137
141
|
appId?: string | undefined;
|
|
142
|
+
paidByApp?: boolean | undefined;
|
|
138
143
|
};
|
|
139
144
|
output: {
|
|
145
|
+
lastReset: Date;
|
|
140
146
|
hasDatabase: boolean;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
147
|
+
devsCount: bigint;
|
|
148
|
+
usersCount: bigint;
|
|
149
|
+
storageCount: bigint;
|
|
150
|
+
storageSize: bigint;
|
|
151
|
+
downloadBandwidth: bigint;
|
|
152
|
+
uploadBandwidth: bigint;
|
|
153
|
+
downloadCount: bigint;
|
|
154
|
+
uploadCount: bigint;
|
|
155
|
+
sentMailsCount: bigint;
|
|
156
|
+
sentMailsDataCount: bigint;
|
|
157
|
+
sentMailsDataSize: bigint;
|
|
146
158
|
};
|
|
147
159
|
meta: any;
|
|
148
160
|
}>;
|
|
@@ -5448,12 +5460,14 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5448
5460
|
}[];
|
|
5449
5461
|
meta: any;
|
|
5450
5462
|
}>;
|
|
5451
|
-
|
|
5463
|
+
limits: _trpc_server.TRPCQueryProcedure<{
|
|
5452
5464
|
input: {
|
|
5453
5465
|
orgId: string;
|
|
5466
|
+
paidByApp?: boolean | undefined;
|
|
5454
5467
|
};
|
|
5455
5468
|
output: {
|
|
5456
5469
|
metrics: {
|
|
5470
|
+
membersCount: bigint;
|
|
5457
5471
|
downloadBandwidth: bigint;
|
|
5458
5472
|
downloadCount: bigint;
|
|
5459
5473
|
uploadBandwidth: bigint;
|
|
@@ -5485,6 +5499,25 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5485
5499
|
};
|
|
5486
5500
|
meta: any;
|
|
5487
5501
|
}>;
|
|
5502
|
+
metrics: _trpc_server.TRPCQueryProcedure<{
|
|
5503
|
+
input: {
|
|
5504
|
+
orgId: string;
|
|
5505
|
+
paidByApp?: boolean | undefined;
|
|
5506
|
+
};
|
|
5507
|
+
output: {
|
|
5508
|
+
membersCount: bigint;
|
|
5509
|
+
downloadBandwidth: bigint;
|
|
5510
|
+
downloadCount: bigint;
|
|
5511
|
+
uploadBandwidth: bigint;
|
|
5512
|
+
uploadCount: bigint;
|
|
5513
|
+
sentMailCount: bigint;
|
|
5514
|
+
sentMailDataCount: bigint;
|
|
5515
|
+
sentMailDataSize: bigint;
|
|
5516
|
+
totalDataSize: bigint;
|
|
5517
|
+
totalDataCount: bigint;
|
|
5518
|
+
};
|
|
5519
|
+
meta: any;
|
|
5520
|
+
}>;
|
|
5488
5521
|
plans: _trpc_server.TRPCQueryProcedure<{
|
|
5489
5522
|
input: Record<string, never>;
|
|
5490
5523
|
output: {
|
|
@@ -5591,72 +5624,6 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5591
5624
|
};
|
|
5592
5625
|
meta: any;
|
|
5593
5626
|
}>;
|
|
5594
|
-
userContextLimits: _trpc_server.TRPCQueryProcedure<{
|
|
5595
|
-
input: {
|
|
5596
|
-
orgId: string;
|
|
5597
|
-
appId: string;
|
|
5598
|
-
};
|
|
5599
|
-
output: {
|
|
5600
|
-
type: "app";
|
|
5601
|
-
appId: string;
|
|
5602
|
-
orgId: string;
|
|
5603
|
-
settings: {
|
|
5604
|
-
paidByApp: boolean;
|
|
5605
|
-
bandwidthLimit: bigint | null;
|
|
5606
|
-
perDataSizeLimit: bigint | null;
|
|
5607
|
-
totalStorageSizeLimit: bigint | null;
|
|
5608
|
-
};
|
|
5609
|
-
quotas: {
|
|
5610
|
-
bandwith: bigint | null;
|
|
5611
|
-
uploadCount: bigint | null;
|
|
5612
|
-
downloadCount: bigint | null;
|
|
5613
|
-
totalDataCount: bigint | null;
|
|
5614
|
-
perDataSize: bigint | null;
|
|
5615
|
-
totalStorageSize: bigint | null;
|
|
5616
|
-
};
|
|
5617
|
-
metrics: {
|
|
5618
|
-
uploadCount: bigint;
|
|
5619
|
-
uploadBandwidth: bigint;
|
|
5620
|
-
downloadBandwidth: bigint;
|
|
5621
|
-
downloadCount: bigint;
|
|
5622
|
-
};
|
|
5623
|
-
} | {
|
|
5624
|
-
type: "org";
|
|
5625
|
-
appId: string;
|
|
5626
|
-
orgId: string;
|
|
5627
|
-
settings: {
|
|
5628
|
-
paidByApp: boolean;
|
|
5629
|
-
bandwidthLimit: bigint | null;
|
|
5630
|
-
perDataSizeLimit: bigint | null;
|
|
5631
|
-
totalStorageSizeLimit: bigint | null;
|
|
5632
|
-
};
|
|
5633
|
-
quotas: {
|
|
5634
|
-
uploadBandwidth: bigint | null;
|
|
5635
|
-
uploadCount: bigint | null;
|
|
5636
|
-
perDataSize: bigint | null;
|
|
5637
|
-
totalStorageSize: bigint | null;
|
|
5638
|
-
totalDataCount: bigint | null;
|
|
5639
|
-
downloadBandwidth: bigint | null;
|
|
5640
|
-
downloadCount: bigint | null;
|
|
5641
|
-
};
|
|
5642
|
-
userLimitedQuotas: {
|
|
5643
|
-
uploadBandwidth: bigint | null;
|
|
5644
|
-
uploadCount: bigint | null;
|
|
5645
|
-
perDataSize: bigint | null;
|
|
5646
|
-
totalStorageSize: bigint | null;
|
|
5647
|
-
totalDataCount: bigint | null;
|
|
5648
|
-
downloadBandwidth: bigint | null;
|
|
5649
|
-
downloadCount: bigint | null;
|
|
5650
|
-
} | null;
|
|
5651
|
-
metrics: {
|
|
5652
|
-
uploadCount: bigint;
|
|
5653
|
-
uploadBandwidth: bigint;
|
|
5654
|
-
downloadBandwidth: bigint;
|
|
5655
|
-
downloadCount: bigint;
|
|
5656
|
-
};
|
|
5657
|
-
};
|
|
5658
|
-
meta: any;
|
|
5659
|
-
}>;
|
|
5660
5627
|
addMember: _trpc_server.TRPCMutationProcedure<{
|
|
5661
5628
|
input: {
|
|
5662
5629
|
orgId: string;
|
|
@@ -6666,6 +6633,72 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6666
6633
|
};
|
|
6667
6634
|
meta: any;
|
|
6668
6635
|
}>;
|
|
6636
|
+
limits: _trpc_server.TRPCQueryProcedure<{
|
|
6637
|
+
input: {
|
|
6638
|
+
orgId: string;
|
|
6639
|
+
appId: string;
|
|
6640
|
+
};
|
|
6641
|
+
output: {
|
|
6642
|
+
type: "app";
|
|
6643
|
+
appId: string;
|
|
6644
|
+
orgId: string;
|
|
6645
|
+
settings: {
|
|
6646
|
+
paidByApp: boolean;
|
|
6647
|
+
bandwidthLimit: bigint | null;
|
|
6648
|
+
perDataSizeLimit: bigint | null;
|
|
6649
|
+
totalStorageSizeLimit: bigint | null;
|
|
6650
|
+
};
|
|
6651
|
+
quotas: {
|
|
6652
|
+
bandwith: bigint | null;
|
|
6653
|
+
uploadCount: bigint | null;
|
|
6654
|
+
downloadCount: bigint | null;
|
|
6655
|
+
totalDataCount: bigint | null;
|
|
6656
|
+
perDataSize: bigint | null;
|
|
6657
|
+
totalStorageSize: bigint | null;
|
|
6658
|
+
};
|
|
6659
|
+
metrics: {
|
|
6660
|
+
uploadCount: bigint;
|
|
6661
|
+
uploadBandwidth: bigint;
|
|
6662
|
+
downloadBandwidth: bigint;
|
|
6663
|
+
downloadCount: bigint;
|
|
6664
|
+
};
|
|
6665
|
+
} | {
|
|
6666
|
+
type: "org";
|
|
6667
|
+
appId: string;
|
|
6668
|
+
orgId: string;
|
|
6669
|
+
settings: {
|
|
6670
|
+
paidByApp: boolean;
|
|
6671
|
+
bandwidthLimit: bigint | null;
|
|
6672
|
+
perDataSizeLimit: bigint | null;
|
|
6673
|
+
totalStorageSizeLimit: bigint | null;
|
|
6674
|
+
};
|
|
6675
|
+
quotas: {
|
|
6676
|
+
uploadBandwidth: bigint | null;
|
|
6677
|
+
uploadCount: bigint | null;
|
|
6678
|
+
perDataSize: bigint | null;
|
|
6679
|
+
totalStorageSize: bigint | null;
|
|
6680
|
+
totalDataCount: bigint | null;
|
|
6681
|
+
downloadBandwidth: bigint | null;
|
|
6682
|
+
downloadCount: bigint | null;
|
|
6683
|
+
};
|
|
6684
|
+
userLimitedQuotas: {
|
|
6685
|
+
uploadBandwidth: bigint | null;
|
|
6686
|
+
uploadCount: bigint | null;
|
|
6687
|
+
perDataSize: bigint | null;
|
|
6688
|
+
totalStorageSize: bigint | null;
|
|
6689
|
+
totalDataCount: bigint | null;
|
|
6690
|
+
downloadBandwidth: bigint | null;
|
|
6691
|
+
downloadCount: bigint | null;
|
|
6692
|
+
} | null;
|
|
6693
|
+
metrics: {
|
|
6694
|
+
uploadCount: bigint;
|
|
6695
|
+
uploadBandwidth: bigint;
|
|
6696
|
+
downloadBandwidth: bigint;
|
|
6697
|
+
downloadCount: bigint;
|
|
6698
|
+
};
|
|
6699
|
+
};
|
|
6700
|
+
meta: any;
|
|
6701
|
+
}>;
|
|
6669
6702
|
}>>;
|
|
6670
6703
|
identity: _trpc_server.TRPCBuiltRouter<{
|
|
6671
6704
|
ctx: any;
|