@secrecy/trpc-api-types 1.41.0-fix-reset-billing.27 → 1.41.0-fix-create-folder-permissions.3
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 +399 -127
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
106
106
|
input: {
|
|
107
107
|
appId?: string | null | undefined;
|
|
108
108
|
paidByApp?: boolean | undefined;
|
|
109
|
+
userIds?: string[] | undefined;
|
|
109
110
|
};
|
|
110
111
|
output: {
|
|
111
112
|
metrics: {
|
|
@@ -113,27 +114,72 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
113
114
|
hasDatabase: boolean;
|
|
114
115
|
devsCount: bigint;
|
|
115
116
|
usersCount: bigint;
|
|
116
|
-
|
|
117
|
-
|
|
117
|
+
} & {
|
|
118
|
+
totalDataCount: bigint;
|
|
119
|
+
totalDataSize: bigint;
|
|
118
120
|
downloadBandwidth: bigint;
|
|
119
|
-
uploadBandwidth: bigint;
|
|
120
121
|
downloadCount: bigint;
|
|
122
|
+
uploadBandwidth: bigint;
|
|
121
123
|
uploadCount: bigint;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
sentMailCount: bigint;
|
|
125
|
+
sentMailDataCount: bigint;
|
|
126
|
+
sentMailDataSize: bigint;
|
|
125
127
|
};
|
|
126
128
|
quotas: {
|
|
127
129
|
devsCount: bigint | null;
|
|
128
130
|
usersCount: bigint | null;
|
|
129
131
|
bandwidth: bigint | null;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
totalDataSize: bigint | null;
|
|
133
|
+
totalDataCount: bigint | null;
|
|
132
134
|
perDataSize: bigint | null;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
uploadCount: bigint | null;
|
|
136
|
+
downloadCount: bigint | null;
|
|
137
|
+
sentMails: {
|
|
138
|
+
count: bigint | null;
|
|
139
|
+
perDataSize: bigint | null;
|
|
140
|
+
totalStorageSize: bigint | null;
|
|
141
|
+
totalDataCount: bigint | null;
|
|
142
|
+
dataCount: bigint | null;
|
|
143
|
+
dataSize: bigint | null;
|
|
144
|
+
totalCount: bigint | null;
|
|
145
|
+
};
|
|
136
146
|
};
|
|
147
|
+
object: "application-limits";
|
|
148
|
+
} | {
|
|
149
|
+
lastReset: Date;
|
|
150
|
+
details: {
|
|
151
|
+
userId: string;
|
|
152
|
+
metrics: {
|
|
153
|
+
totalDataCount: bigint;
|
|
154
|
+
totalDataSize: bigint;
|
|
155
|
+
downloadBandwidth: bigint;
|
|
156
|
+
downloadCount: bigint;
|
|
157
|
+
uploadBandwidth: bigint;
|
|
158
|
+
uploadCount: bigint;
|
|
159
|
+
sentMailCount: bigint;
|
|
160
|
+
sentMailDataCount: bigint;
|
|
161
|
+
sentMailDataSize: bigint;
|
|
162
|
+
};
|
|
163
|
+
quotas: {
|
|
164
|
+
totalDataSize: bigint | null;
|
|
165
|
+
totalDataCount: bigint | null;
|
|
166
|
+
uploadBandwidth: bigint | null;
|
|
167
|
+
downloadBandwidth: bigint | null;
|
|
168
|
+
perDataSize: bigint | null;
|
|
169
|
+
uploadCount: bigint | null;
|
|
170
|
+
downloadCount: bigint | null;
|
|
171
|
+
sentMails: {
|
|
172
|
+
count: bigint | null;
|
|
173
|
+
perDataSize: bigint | null;
|
|
174
|
+
totalStorageSize: bigint | null;
|
|
175
|
+
totalDataCount: bigint | null;
|
|
176
|
+
dataCount: bigint | null;
|
|
177
|
+
dataSize: bigint | null;
|
|
178
|
+
totalCount: bigint | null;
|
|
179
|
+
} | null;
|
|
180
|
+
} | null;
|
|
181
|
+
}[];
|
|
182
|
+
object: "application-limits-details";
|
|
137
183
|
};
|
|
138
184
|
meta: any;
|
|
139
185
|
}>;
|
|
@@ -141,21 +187,38 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
141
187
|
input: {
|
|
142
188
|
appId?: string | undefined;
|
|
143
189
|
paidByApp?: boolean | undefined;
|
|
190
|
+
userIds?: string[] | undefined;
|
|
144
191
|
};
|
|
145
|
-
output: {
|
|
192
|
+
output: ({
|
|
146
193
|
lastReset: Date;
|
|
147
194
|
hasDatabase: boolean;
|
|
148
195
|
devsCount: bigint;
|
|
149
196
|
usersCount: bigint;
|
|
150
|
-
|
|
151
|
-
|
|
197
|
+
} & {
|
|
198
|
+
totalDataCount: bigint;
|
|
199
|
+
totalDataSize: bigint;
|
|
152
200
|
downloadBandwidth: bigint;
|
|
153
|
-
uploadBandwidth: bigint;
|
|
154
201
|
downloadCount: bigint;
|
|
202
|
+
uploadBandwidth: bigint;
|
|
155
203
|
uploadCount: bigint;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
204
|
+
sentMailCount: bigint;
|
|
205
|
+
sentMailDataCount: bigint;
|
|
206
|
+
sentMailDataSize: bigint;
|
|
207
|
+
}) | {
|
|
208
|
+
lastReset: Date;
|
|
209
|
+
details: ({
|
|
210
|
+
userId: string;
|
|
211
|
+
} & {
|
|
212
|
+
totalDataCount: bigint;
|
|
213
|
+
totalDataSize: bigint;
|
|
214
|
+
downloadBandwidth: bigint;
|
|
215
|
+
downloadCount: bigint;
|
|
216
|
+
uploadBandwidth: bigint;
|
|
217
|
+
uploadCount: bigint;
|
|
218
|
+
sentMailCount: bigint;
|
|
219
|
+
sentMailDataCount: bigint;
|
|
220
|
+
sentMailDataSize: bigint;
|
|
221
|
+
})[];
|
|
159
222
|
};
|
|
160
223
|
meta: any;
|
|
161
224
|
}>;
|
|
@@ -248,11 +311,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
248
311
|
baseQuotas: {
|
|
249
312
|
perDataSize: bigint | null;
|
|
250
313
|
totalStorageSize: bigint | null;
|
|
314
|
+
totalDataCount: bigint | null;
|
|
251
315
|
downloadBandwidth: bigint | null;
|
|
252
|
-
uploadBandwidth: bigint | null;
|
|
253
316
|
downloadCount: bigint | null;
|
|
317
|
+
uploadBandwidth: bigint | null;
|
|
254
318
|
uploadCount: bigint | null;
|
|
255
|
-
totalDataCount: bigint | null;
|
|
256
319
|
sentMailsId: string;
|
|
257
320
|
};
|
|
258
321
|
};
|
|
@@ -273,6 +336,35 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
273
336
|
};
|
|
274
337
|
meta: any;
|
|
275
338
|
}>;
|
|
339
|
+
setUsersLimits: _trpc_server.TRPCMutationProcedure<{
|
|
340
|
+
input: {
|
|
341
|
+
appId?: string | undefined;
|
|
342
|
+
users: ({
|
|
343
|
+
userId: string;
|
|
344
|
+
} & {
|
|
345
|
+
totalDataSize?: bigint | null | undefined;
|
|
346
|
+
totalDataCount?: bigint | null | undefined;
|
|
347
|
+
uploadBandwidth?: bigint | null | undefined;
|
|
348
|
+
downloadBandwidth?: bigint | null | undefined;
|
|
349
|
+
perDataSize?: bigint | null | undefined;
|
|
350
|
+
uploadCount?: bigint | null | undefined;
|
|
351
|
+
downloadCount?: bigint | null | undefined;
|
|
352
|
+
sentMails?: {
|
|
353
|
+
count: bigint | null;
|
|
354
|
+
perDataSize: bigint | null;
|
|
355
|
+
totalStorageSize: bigint | null;
|
|
356
|
+
totalDataCount: bigint | null;
|
|
357
|
+
dataCount: bigint | null;
|
|
358
|
+
dataSize: bigint | null;
|
|
359
|
+
totalCount: bigint | null;
|
|
360
|
+
} | null | undefined;
|
|
361
|
+
})[];
|
|
362
|
+
};
|
|
363
|
+
output: {
|
|
364
|
+
isUpdated: boolean;
|
|
365
|
+
};
|
|
366
|
+
meta: any;
|
|
367
|
+
}>;
|
|
276
368
|
updateNotification: _trpc_server.TRPCMutationProcedure<{
|
|
277
369
|
input: {
|
|
278
370
|
mail?: boolean | undefined;
|
|
@@ -1002,6 +1094,10 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1002
1094
|
appId?: string | null | undefined;
|
|
1003
1095
|
dataId: string;
|
|
1004
1096
|
nodeId: string;
|
|
1097
|
+
encryptedAccesses: {
|
|
1098
|
+
pubKey: string;
|
|
1099
|
+
key: string | null;
|
|
1100
|
+
}[];
|
|
1005
1101
|
};
|
|
1006
1102
|
output: {
|
|
1007
1103
|
id: string;
|
|
@@ -1020,15 +1116,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1020
1116
|
appId: string;
|
|
1021
1117
|
};
|
|
1022
1118
|
accesses: {
|
|
1119
|
+
id: string;
|
|
1120
|
+
type: "ROOT" | "INHERITED";
|
|
1121
|
+
identityPubKey: string;
|
|
1122
|
+
sharedByPubKey: string;
|
|
1023
1123
|
rights: "delete" | "read" | "write";
|
|
1024
1124
|
nameKey: string | null;
|
|
1025
|
-
isRoot: boolean;
|
|
1026
1125
|
addAccess: "delete" | "read" | "write" | null;
|
|
1027
1126
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
1028
1127
|
delAccess: "delete" | "read" | "write" | null;
|
|
1029
1128
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
1030
|
-
|
|
1031
|
-
|
|
1129
|
+
rootAccess: {
|
|
1130
|
+
type: "ROOT" | "INHERITED";
|
|
1131
|
+
sharedByPubKey: string;
|
|
1132
|
+
} | null;
|
|
1032
1133
|
}[];
|
|
1033
1134
|
permissions: {
|
|
1034
1135
|
rights: "delete" | "read" | "write";
|
|
@@ -1069,15 +1170,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1069
1170
|
appId: string;
|
|
1070
1171
|
};
|
|
1071
1172
|
accesses: {
|
|
1173
|
+
id: string;
|
|
1174
|
+
type: "ROOT" | "INHERITED";
|
|
1175
|
+
identityPubKey: string;
|
|
1176
|
+
sharedByPubKey: string;
|
|
1072
1177
|
rights: "delete" | "read" | "write";
|
|
1073
1178
|
nameKey: string | null;
|
|
1074
|
-
isRoot: boolean;
|
|
1075
1179
|
addAccess: "delete" | "read" | "write" | null;
|
|
1076
1180
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
1077
1181
|
delAccess: "delete" | "read" | "write" | null;
|
|
1078
1182
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
1079
|
-
|
|
1080
|
-
|
|
1183
|
+
rootAccess: {
|
|
1184
|
+
type: "ROOT" | "INHERITED";
|
|
1185
|
+
sharedByPubKey: string;
|
|
1186
|
+
} | null;
|
|
1081
1187
|
}[];
|
|
1082
1188
|
permissions: {
|
|
1083
1189
|
rights: "delete" | "read" | "write";
|
|
@@ -1113,15 +1219,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1113
1219
|
appId: string;
|
|
1114
1220
|
};
|
|
1115
1221
|
accesses: {
|
|
1222
|
+
id: string;
|
|
1223
|
+
type: "ROOT" | "INHERITED";
|
|
1224
|
+
identityPubKey: string;
|
|
1225
|
+
sharedByPubKey: string;
|
|
1116
1226
|
rights: "delete" | "read" | "write";
|
|
1117
1227
|
nameKey: string | null;
|
|
1118
|
-
isRoot: boolean;
|
|
1119
1228
|
addAccess: "delete" | "read" | "write" | null;
|
|
1120
1229
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
1121
1230
|
delAccess: "delete" | "read" | "write" | null;
|
|
1122
1231
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
1123
|
-
|
|
1124
|
-
|
|
1232
|
+
rootAccess: {
|
|
1233
|
+
type: "ROOT" | "INHERITED";
|
|
1234
|
+
sharedByPubKey: string;
|
|
1235
|
+
} | null;
|
|
1125
1236
|
}[];
|
|
1126
1237
|
permissions: {
|
|
1127
1238
|
rights: "delete" | "read" | "write";
|
|
@@ -1422,9 +1533,12 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1422
1533
|
appId?: string | null | undefined;
|
|
1423
1534
|
dataId: string;
|
|
1424
1535
|
nodeId: string | null;
|
|
1425
|
-
key: string | null;
|
|
1426
1536
|
fileName: string;
|
|
1427
|
-
|
|
1537
|
+
encryptedAccesses: {
|
|
1538
|
+
pubKey: string;
|
|
1539
|
+
key: string | null;
|
|
1540
|
+
nameKey: string;
|
|
1541
|
+
}[];
|
|
1428
1542
|
};
|
|
1429
1543
|
output: {
|
|
1430
1544
|
id: string;
|
|
@@ -1443,15 +1557,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1443
1557
|
appId: string;
|
|
1444
1558
|
};
|
|
1445
1559
|
accesses: {
|
|
1560
|
+
id: string;
|
|
1561
|
+
type: "ROOT" | "INHERITED";
|
|
1562
|
+
identityPubKey: string;
|
|
1563
|
+
sharedByPubKey: string;
|
|
1446
1564
|
rights: "delete" | "read" | "write";
|
|
1447
1565
|
nameKey: string | null;
|
|
1448
|
-
isRoot: boolean;
|
|
1449
1566
|
addAccess: "delete" | "read" | "write" | null;
|
|
1450
1567
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
1451
1568
|
delAccess: "delete" | "read" | "write" | null;
|
|
1452
1569
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
1453
|
-
|
|
1454
|
-
|
|
1570
|
+
rootAccess: {
|
|
1571
|
+
type: "ROOT" | "INHERITED";
|
|
1572
|
+
sharedByPubKey: string;
|
|
1573
|
+
} | null;
|
|
1455
1574
|
}[];
|
|
1456
1575
|
permissions: {
|
|
1457
1576
|
rights: "delete" | "read" | "write";
|
|
@@ -1492,15 +1611,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1492
1611
|
appId: string;
|
|
1493
1612
|
};
|
|
1494
1613
|
accesses: {
|
|
1614
|
+
id: string;
|
|
1615
|
+
type: "ROOT" | "INHERITED";
|
|
1616
|
+
identityPubKey: string;
|
|
1617
|
+
sharedByPubKey: string;
|
|
1495
1618
|
rights: "delete" | "read" | "write";
|
|
1496
1619
|
nameKey: string | null;
|
|
1497
|
-
isRoot: boolean;
|
|
1498
1620
|
addAccess: "delete" | "read" | "write" | null;
|
|
1499
1621
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
1500
1622
|
delAccess: "delete" | "read" | "write" | null;
|
|
1501
1623
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
1502
|
-
|
|
1503
|
-
|
|
1624
|
+
rootAccess: {
|
|
1625
|
+
type: "ROOT" | "INHERITED";
|
|
1626
|
+
sharedByPubKey: string;
|
|
1627
|
+
} | null;
|
|
1504
1628
|
}[];
|
|
1505
1629
|
permissions: {
|
|
1506
1630
|
rights: "delete" | "read" | "write";
|
|
@@ -1536,15 +1660,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1536
1660
|
appId: string;
|
|
1537
1661
|
};
|
|
1538
1662
|
accesses: {
|
|
1663
|
+
id: string;
|
|
1664
|
+
type: "ROOT" | "INHERITED";
|
|
1665
|
+
identityPubKey: string;
|
|
1666
|
+
sharedByPubKey: string;
|
|
1539
1667
|
rights: "delete" | "read" | "write";
|
|
1540
1668
|
nameKey: string | null;
|
|
1541
|
-
isRoot: boolean;
|
|
1542
1669
|
addAccess: "delete" | "read" | "write" | null;
|
|
1543
1670
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
1544
1671
|
delAccess: "delete" | "read" | "write" | null;
|
|
1545
1672
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
1546
|
-
|
|
1547
|
-
|
|
1673
|
+
rootAccess: {
|
|
1674
|
+
type: "ROOT" | "INHERITED";
|
|
1675
|
+
sharedByPubKey: string;
|
|
1676
|
+
} | null;
|
|
1548
1677
|
}[];
|
|
1549
1678
|
permissions: {
|
|
1550
1679
|
rights: "delete" | "read" | "write";
|
|
@@ -1678,6 +1807,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1678
1807
|
access: {
|
|
1679
1808
|
identityPubKey: string;
|
|
1680
1809
|
sharedByPubKey: string;
|
|
1810
|
+
rootAccessSharedByPubKey: string;
|
|
1681
1811
|
nameKey: string;
|
|
1682
1812
|
};
|
|
1683
1813
|
history: {
|
|
@@ -1711,6 +1841,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1711
1841
|
};
|
|
1712
1842
|
output: {
|
|
1713
1843
|
isShared: boolean;
|
|
1844
|
+
missingPubKeys: string[];
|
|
1714
1845
|
};
|
|
1715
1846
|
meta: any;
|
|
1716
1847
|
}>;
|
|
@@ -2017,9 +2148,12 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2017
2148
|
input: {
|
|
2018
2149
|
fromIdentityPubKey?: string | null | undefined;
|
|
2019
2150
|
appId?: string | null | undefined;
|
|
2020
|
-
nameKey: string | null;
|
|
2021
2151
|
name: string;
|
|
2022
2152
|
parentId: string | null;
|
|
2153
|
+
encryptedAccesses: {
|
|
2154
|
+
pubKey: string;
|
|
2155
|
+
nameKey: string;
|
|
2156
|
+
}[];
|
|
2023
2157
|
};
|
|
2024
2158
|
output: {
|
|
2025
2159
|
id: string;
|
|
@@ -2038,15 +2172,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2038
2172
|
appId: string;
|
|
2039
2173
|
};
|
|
2040
2174
|
accesses: {
|
|
2175
|
+
id: string;
|
|
2176
|
+
type: "ROOT" | "INHERITED";
|
|
2177
|
+
identityPubKey: string;
|
|
2178
|
+
sharedByPubKey: string;
|
|
2041
2179
|
rights: "delete" | "read" | "write";
|
|
2042
2180
|
nameKey: string | null;
|
|
2043
|
-
isRoot: boolean;
|
|
2044
2181
|
addAccess: "delete" | "read" | "write" | null;
|
|
2045
2182
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2046
2183
|
delAccess: "delete" | "read" | "write" | null;
|
|
2047
2184
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2048
|
-
|
|
2049
|
-
|
|
2185
|
+
rootAccess: {
|
|
2186
|
+
type: "ROOT" | "INHERITED";
|
|
2187
|
+
sharedByPubKey: string;
|
|
2188
|
+
} | null;
|
|
2050
2189
|
}[];
|
|
2051
2190
|
permissions: {
|
|
2052
2191
|
rights: "delete" | "read" | "write";
|
|
@@ -2087,15 +2226,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2087
2226
|
appId: string;
|
|
2088
2227
|
};
|
|
2089
2228
|
accesses: {
|
|
2229
|
+
id: string;
|
|
2230
|
+
type: "ROOT" | "INHERITED";
|
|
2231
|
+
identityPubKey: string;
|
|
2232
|
+
sharedByPubKey: string;
|
|
2090
2233
|
rights: "delete" | "read" | "write";
|
|
2091
2234
|
nameKey: string | null;
|
|
2092
|
-
isRoot: boolean;
|
|
2093
2235
|
addAccess: "delete" | "read" | "write" | null;
|
|
2094
2236
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2095
2237
|
delAccess: "delete" | "read" | "write" | null;
|
|
2096
2238
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2097
|
-
|
|
2098
|
-
|
|
2239
|
+
rootAccess: {
|
|
2240
|
+
type: "ROOT" | "INHERITED";
|
|
2241
|
+
sharedByPubKey: string;
|
|
2242
|
+
} | null;
|
|
2099
2243
|
}[];
|
|
2100
2244
|
permissions: {
|
|
2101
2245
|
rights: "delete" | "read" | "write";
|
|
@@ -2131,15 +2275,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2131
2275
|
appId: string;
|
|
2132
2276
|
};
|
|
2133
2277
|
accesses: {
|
|
2278
|
+
id: string;
|
|
2279
|
+
type: "ROOT" | "INHERITED";
|
|
2280
|
+
identityPubKey: string;
|
|
2281
|
+
sharedByPubKey: string;
|
|
2134
2282
|
rights: "delete" | "read" | "write";
|
|
2135
2283
|
nameKey: string | null;
|
|
2136
|
-
isRoot: boolean;
|
|
2137
2284
|
addAccess: "delete" | "read" | "write" | null;
|
|
2138
2285
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2139
2286
|
delAccess: "delete" | "read" | "write" | null;
|
|
2140
2287
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2141
|
-
|
|
2142
|
-
|
|
2288
|
+
rootAccess: {
|
|
2289
|
+
type: "ROOT" | "INHERITED";
|
|
2290
|
+
sharedByPubKey: string;
|
|
2291
|
+
} | null;
|
|
2143
2292
|
}[];
|
|
2144
2293
|
permissions: {
|
|
2145
2294
|
rights: "delete" | "read" | "write";
|
|
@@ -2234,6 +2383,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2234
2383
|
appId?: string | null | undefined;
|
|
2235
2384
|
nodeId: string;
|
|
2236
2385
|
destPubKey: string;
|
|
2386
|
+
rootAccessSharedByPubKey?: string | undefined;
|
|
2237
2387
|
};
|
|
2238
2388
|
output: {
|
|
2239
2389
|
isDeleted: boolean;
|
|
@@ -2308,9 +2458,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2308
2458
|
output: {
|
|
2309
2459
|
id: string;
|
|
2310
2460
|
nodeId: string;
|
|
2461
|
+
type: "ROOT" | "INHERITED";
|
|
2462
|
+
origin: "OWNED" | "SHARED";
|
|
2463
|
+
rootAccessId: string | null;
|
|
2311
2464
|
rights: "delete" | "read" | "write";
|
|
2312
2465
|
nameKey: string | null;
|
|
2313
|
-
isRoot: boolean;
|
|
2314
2466
|
createdAt: Date;
|
|
2315
2467
|
addAccess: "delete" | "read" | "write" | null;
|
|
2316
2468
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
@@ -2362,15 +2514,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2362
2514
|
appId: string;
|
|
2363
2515
|
};
|
|
2364
2516
|
accesses: {
|
|
2517
|
+
id: string;
|
|
2518
|
+
type: "ROOT" | "INHERITED";
|
|
2519
|
+
identityPubKey: string;
|
|
2520
|
+
sharedByPubKey: string;
|
|
2365
2521
|
rights: "delete" | "read" | "write";
|
|
2366
2522
|
nameKey: string | null;
|
|
2367
|
-
isRoot: boolean;
|
|
2368
2523
|
addAccess: "delete" | "read" | "write" | null;
|
|
2369
2524
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2370
2525
|
delAccess: "delete" | "read" | "write" | null;
|
|
2371
2526
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2372
|
-
|
|
2373
|
-
|
|
2527
|
+
rootAccess: {
|
|
2528
|
+
type: "ROOT" | "INHERITED";
|
|
2529
|
+
sharedByPubKey: string;
|
|
2530
|
+
} | null;
|
|
2374
2531
|
}[];
|
|
2375
2532
|
permissions: {
|
|
2376
2533
|
rights: "delete" | "read" | "write";
|
|
@@ -2421,15 +2578,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2421
2578
|
appId: string;
|
|
2422
2579
|
};
|
|
2423
2580
|
accesses: {
|
|
2581
|
+
id: string;
|
|
2582
|
+
type: "ROOT" | "INHERITED";
|
|
2583
|
+
identityPubKey: string;
|
|
2584
|
+
sharedByPubKey: string;
|
|
2424
2585
|
rights: "delete" | "read" | "write";
|
|
2425
2586
|
nameKey: string | null;
|
|
2426
|
-
isRoot: boolean;
|
|
2427
2587
|
addAccess: "delete" | "read" | "write" | null;
|
|
2428
2588
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2429
2589
|
delAccess: "delete" | "read" | "write" | null;
|
|
2430
2590
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2431
|
-
|
|
2432
|
-
|
|
2591
|
+
rootAccess: {
|
|
2592
|
+
type: "ROOT" | "INHERITED";
|
|
2593
|
+
sharedByPubKey: string;
|
|
2594
|
+
} | null;
|
|
2433
2595
|
}[];
|
|
2434
2596
|
permissions: {
|
|
2435
2597
|
rights: "delete" | "read" | "write";
|
|
@@ -2481,15 +2643,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2481
2643
|
appId: string;
|
|
2482
2644
|
};
|
|
2483
2645
|
accesses: {
|
|
2646
|
+
id: string;
|
|
2647
|
+
type: "ROOT" | "INHERITED";
|
|
2648
|
+
identityPubKey: string;
|
|
2649
|
+
sharedByPubKey: string;
|
|
2484
2650
|
rights: "delete" | "read" | "write";
|
|
2485
2651
|
nameKey: string | null;
|
|
2486
|
-
isRoot: boolean;
|
|
2487
2652
|
addAccess: "delete" | "read" | "write" | null;
|
|
2488
2653
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2489
2654
|
delAccess: "delete" | "read" | "write" | null;
|
|
2490
2655
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2491
|
-
|
|
2492
|
-
|
|
2656
|
+
rootAccess: {
|
|
2657
|
+
type: "ROOT" | "INHERITED";
|
|
2658
|
+
sharedByPubKey: string;
|
|
2659
|
+
} | null;
|
|
2493
2660
|
}[];
|
|
2494
2661
|
permissions: {
|
|
2495
2662
|
rights: "delete" | "read" | "write";
|
|
@@ -2530,15 +2697,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2530
2697
|
appId: string;
|
|
2531
2698
|
};
|
|
2532
2699
|
accesses: {
|
|
2700
|
+
id: string;
|
|
2701
|
+
type: "ROOT" | "INHERITED";
|
|
2702
|
+
identityPubKey: string;
|
|
2703
|
+
sharedByPubKey: string;
|
|
2533
2704
|
rights: "delete" | "read" | "write";
|
|
2534
2705
|
nameKey: string | null;
|
|
2535
|
-
isRoot: boolean;
|
|
2536
2706
|
addAccess: "delete" | "read" | "write" | null;
|
|
2537
2707
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2538
2708
|
delAccess: "delete" | "read" | "write" | null;
|
|
2539
2709
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2540
|
-
|
|
2541
|
-
|
|
2710
|
+
rootAccess: {
|
|
2711
|
+
type: "ROOT" | "INHERITED";
|
|
2712
|
+
sharedByPubKey: string;
|
|
2713
|
+
} | null;
|
|
2542
2714
|
}[];
|
|
2543
2715
|
permissions: {
|
|
2544
2716
|
rights: "delete" | "read" | "write";
|
|
@@ -2574,15 +2746,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2574
2746
|
appId: string;
|
|
2575
2747
|
};
|
|
2576
2748
|
accesses: {
|
|
2749
|
+
id: string;
|
|
2750
|
+
type: "ROOT" | "INHERITED";
|
|
2751
|
+
identityPubKey: string;
|
|
2752
|
+
sharedByPubKey: string;
|
|
2577
2753
|
rights: "delete" | "read" | "write";
|
|
2578
2754
|
nameKey: string | null;
|
|
2579
|
-
isRoot: boolean;
|
|
2580
2755
|
addAccess: "delete" | "read" | "write" | null;
|
|
2581
2756
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2582
2757
|
delAccess: "delete" | "read" | "write" | null;
|
|
2583
2758
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2584
|
-
|
|
2585
|
-
|
|
2759
|
+
rootAccess: {
|
|
2760
|
+
type: "ROOT" | "INHERITED";
|
|
2761
|
+
sharedByPubKey: string;
|
|
2762
|
+
} | null;
|
|
2586
2763
|
}[];
|
|
2587
2764
|
permissions: {
|
|
2588
2765
|
rights: "delete" | "read" | "write";
|
|
@@ -2685,15 +2862,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2685
2862
|
appId: string;
|
|
2686
2863
|
};
|
|
2687
2864
|
accesses: {
|
|
2865
|
+
id: string;
|
|
2866
|
+
type: "ROOT" | "INHERITED";
|
|
2867
|
+
identityPubKey: string;
|
|
2868
|
+
sharedByPubKey: string;
|
|
2688
2869
|
rights: "delete" | "read" | "write";
|
|
2689
2870
|
nameKey: string | null;
|
|
2690
|
-
isRoot: boolean;
|
|
2691
2871
|
addAccess: "delete" | "read" | "write" | null;
|
|
2692
2872
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2693
2873
|
delAccess: "delete" | "read" | "write" | null;
|
|
2694
2874
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2695
|
-
|
|
2696
|
-
|
|
2875
|
+
rootAccess: {
|
|
2876
|
+
type: "ROOT" | "INHERITED";
|
|
2877
|
+
sharedByPubKey: string;
|
|
2878
|
+
} | null;
|
|
2697
2879
|
}[];
|
|
2698
2880
|
permissions: {
|
|
2699
2881
|
rights: "delete" | "read" | "write";
|
|
@@ -2734,15 +2916,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2734
2916
|
appId: string;
|
|
2735
2917
|
};
|
|
2736
2918
|
accesses: {
|
|
2919
|
+
id: string;
|
|
2920
|
+
type: "ROOT" | "INHERITED";
|
|
2921
|
+
identityPubKey: string;
|
|
2922
|
+
sharedByPubKey: string;
|
|
2737
2923
|
rights: "delete" | "read" | "write";
|
|
2738
2924
|
nameKey: string | null;
|
|
2739
|
-
isRoot: boolean;
|
|
2740
2925
|
addAccess: "delete" | "read" | "write" | null;
|
|
2741
2926
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2742
2927
|
delAccess: "delete" | "read" | "write" | null;
|
|
2743
2928
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2744
|
-
|
|
2745
|
-
|
|
2929
|
+
rootAccess: {
|
|
2930
|
+
type: "ROOT" | "INHERITED";
|
|
2931
|
+
sharedByPubKey: string;
|
|
2932
|
+
} | null;
|
|
2746
2933
|
}[];
|
|
2747
2934
|
permissions: {
|
|
2748
2935
|
rights: "delete" | "read" | "write";
|
|
@@ -2778,15 +2965,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2778
2965
|
appId: string;
|
|
2779
2966
|
};
|
|
2780
2967
|
accesses: {
|
|
2968
|
+
id: string;
|
|
2969
|
+
type: "ROOT" | "INHERITED";
|
|
2970
|
+
identityPubKey: string;
|
|
2971
|
+
sharedByPubKey: string;
|
|
2781
2972
|
rights: "delete" | "read" | "write";
|
|
2782
2973
|
nameKey: string | null;
|
|
2783
|
-
isRoot: boolean;
|
|
2784
2974
|
addAccess: "delete" | "read" | "write" | null;
|
|
2785
2975
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2786
2976
|
delAccess: "delete" | "read" | "write" | null;
|
|
2787
2977
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2788
|
-
|
|
2789
|
-
|
|
2978
|
+
rootAccess: {
|
|
2979
|
+
type: "ROOT" | "INHERITED";
|
|
2980
|
+
sharedByPubKey: string;
|
|
2981
|
+
} | null;
|
|
2790
2982
|
}[];
|
|
2791
2983
|
permissions: {
|
|
2792
2984
|
rights: "delete" | "read" | "write";
|
|
@@ -2926,15 +3118,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2926
3118
|
appId: string;
|
|
2927
3119
|
};
|
|
2928
3120
|
accesses: {
|
|
3121
|
+
id: string;
|
|
3122
|
+
type: "ROOT" | "INHERITED";
|
|
3123
|
+
identityPubKey: string;
|
|
3124
|
+
sharedByPubKey: string;
|
|
2929
3125
|
rights: "delete" | "read" | "write";
|
|
2930
3126
|
nameKey: string | null;
|
|
2931
|
-
isRoot: boolean;
|
|
2932
3127
|
addAccess: "delete" | "read" | "write" | null;
|
|
2933
3128
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2934
3129
|
delAccess: "delete" | "read" | "write" | null;
|
|
2935
3130
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2936
|
-
|
|
2937
|
-
|
|
3131
|
+
rootAccess: {
|
|
3132
|
+
type: "ROOT" | "INHERITED";
|
|
3133
|
+
sharedByPubKey: string;
|
|
3134
|
+
} | null;
|
|
2938
3135
|
}[];
|
|
2939
3136
|
permissions: {
|
|
2940
3137
|
rights: "delete" | "read" | "write";
|
|
@@ -2978,15 +3175,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2978
3175
|
appId: string;
|
|
2979
3176
|
};
|
|
2980
3177
|
accesses: {
|
|
3178
|
+
id: string;
|
|
3179
|
+
type: "ROOT" | "INHERITED";
|
|
3180
|
+
identityPubKey: string;
|
|
3181
|
+
sharedByPubKey: string;
|
|
2981
3182
|
rights: "delete" | "read" | "write";
|
|
2982
3183
|
nameKey: string | null;
|
|
2983
|
-
isRoot: boolean;
|
|
2984
3184
|
addAccess: "delete" | "read" | "write" | null;
|
|
2985
3185
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2986
3186
|
delAccess: "delete" | "read" | "write" | null;
|
|
2987
3187
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2988
|
-
|
|
2989
|
-
|
|
3188
|
+
rootAccess: {
|
|
3189
|
+
type: "ROOT" | "INHERITED";
|
|
3190
|
+
sharedByPubKey: string;
|
|
3191
|
+
} | null;
|
|
2990
3192
|
}[];
|
|
2991
3193
|
permissions: {
|
|
2992
3194
|
rights: "delete" | "read" | "write";
|
|
@@ -3029,15 +3231,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3029
3231
|
appId: string;
|
|
3030
3232
|
};
|
|
3031
3233
|
accesses: {
|
|
3234
|
+
id: string;
|
|
3235
|
+
type: "ROOT" | "INHERITED";
|
|
3236
|
+
identityPubKey: string;
|
|
3237
|
+
sharedByPubKey: string;
|
|
3032
3238
|
rights: "delete" | "read" | "write";
|
|
3033
3239
|
nameKey: string | null;
|
|
3034
|
-
isRoot: boolean;
|
|
3035
3240
|
addAccess: "delete" | "read" | "write" | null;
|
|
3036
3241
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
3037
3242
|
delAccess: "delete" | "read" | "write" | null;
|
|
3038
3243
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
3039
|
-
|
|
3040
|
-
|
|
3244
|
+
rootAccess: {
|
|
3245
|
+
type: "ROOT" | "INHERITED";
|
|
3246
|
+
sharedByPubKey: string;
|
|
3247
|
+
} | null;
|
|
3041
3248
|
}[];
|
|
3042
3249
|
permissions: {
|
|
3043
3250
|
rights: "delete" | "read" | "write";
|
|
@@ -3215,15 +3422,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3215
3422
|
appId: string;
|
|
3216
3423
|
};
|
|
3217
3424
|
accesses: {
|
|
3425
|
+
id: string;
|
|
3426
|
+
type: "ROOT" | "INHERITED";
|
|
3427
|
+
identityPubKey: string;
|
|
3428
|
+
sharedByPubKey: string;
|
|
3218
3429
|
rights: "delete" | "read" | "write";
|
|
3219
3430
|
nameKey: string | null;
|
|
3220
|
-
isRoot: boolean;
|
|
3221
3431
|
addAccess: "delete" | "read" | "write" | null;
|
|
3222
3432
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
3223
3433
|
delAccess: "delete" | "read" | "write" | null;
|
|
3224
3434
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
3225
|
-
|
|
3226
|
-
|
|
3435
|
+
rootAccess: {
|
|
3436
|
+
type: "ROOT" | "INHERITED";
|
|
3437
|
+
sharedByPubKey: string;
|
|
3438
|
+
} | null;
|
|
3227
3439
|
}[];
|
|
3228
3440
|
permissions: {
|
|
3229
3441
|
rights: "delete" | "read" | "write";
|
|
@@ -3264,15 +3476,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3264
3476
|
appId: string;
|
|
3265
3477
|
};
|
|
3266
3478
|
accesses: {
|
|
3479
|
+
id: string;
|
|
3480
|
+
type: "ROOT" | "INHERITED";
|
|
3481
|
+
identityPubKey: string;
|
|
3482
|
+
sharedByPubKey: string;
|
|
3267
3483
|
rights: "delete" | "read" | "write";
|
|
3268
3484
|
nameKey: string | null;
|
|
3269
|
-
isRoot: boolean;
|
|
3270
3485
|
addAccess: "delete" | "read" | "write" | null;
|
|
3271
3486
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
3272
3487
|
delAccess: "delete" | "read" | "write" | null;
|
|
3273
3488
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
3274
|
-
|
|
3275
|
-
|
|
3489
|
+
rootAccess: {
|
|
3490
|
+
type: "ROOT" | "INHERITED";
|
|
3491
|
+
sharedByPubKey: string;
|
|
3492
|
+
} | null;
|
|
3276
3493
|
}[];
|
|
3277
3494
|
permissions: {
|
|
3278
3495
|
rights: "delete" | "read" | "write";
|
|
@@ -3308,15 +3525,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3308
3525
|
appId: string;
|
|
3309
3526
|
};
|
|
3310
3527
|
accesses: {
|
|
3528
|
+
id: string;
|
|
3529
|
+
type: "ROOT" | "INHERITED";
|
|
3530
|
+
identityPubKey: string;
|
|
3531
|
+
sharedByPubKey: string;
|
|
3311
3532
|
rights: "delete" | "read" | "write";
|
|
3312
3533
|
nameKey: string | null;
|
|
3313
|
-
isRoot: boolean;
|
|
3314
3534
|
addAccess: "delete" | "read" | "write" | null;
|
|
3315
3535
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
3316
3536
|
delAccess: "delete" | "read" | "write" | null;
|
|
3317
3537
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
3318
|
-
|
|
3319
|
-
|
|
3538
|
+
rootAccess: {
|
|
3539
|
+
type: "ROOT" | "INHERITED";
|
|
3540
|
+
sharedByPubKey: string;
|
|
3541
|
+
} | null;
|
|
3320
3542
|
}[];
|
|
3321
3543
|
permissions: {
|
|
3322
3544
|
rights: "delete" | "read" | "write";
|
|
@@ -3399,7 +3621,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3399
3621
|
fromIdentityPubKey?: string | null | undefined;
|
|
3400
3622
|
appId?: string | null | undefined;
|
|
3401
3623
|
nodeId: string;
|
|
3402
|
-
|
|
3624
|
+
sharedByPubKey?: string | undefined;
|
|
3625
|
+
fromPubKey?: string | undefined;
|
|
3403
3626
|
};
|
|
3404
3627
|
output: {
|
|
3405
3628
|
isDeleted: boolean;
|
|
@@ -5245,6 +5468,27 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5245
5468
|
company: string;
|
|
5246
5469
|
createdAt: Date;
|
|
5247
5470
|
coveredAt: Date | null;
|
|
5471
|
+
message: string | null;
|
|
5472
|
+
};
|
|
5473
|
+
meta: any;
|
|
5474
|
+
}>;
|
|
5475
|
+
contactUs: _trpc_server.TRPCMutationProcedure<{
|
|
5476
|
+
input: {
|
|
5477
|
+
firstname: string;
|
|
5478
|
+
lastname: string;
|
|
5479
|
+
email: string;
|
|
5480
|
+
company: string;
|
|
5481
|
+
message: string;
|
|
5482
|
+
};
|
|
5483
|
+
output: {
|
|
5484
|
+
id: string;
|
|
5485
|
+
email: string;
|
|
5486
|
+
firstname: string;
|
|
5487
|
+
lastname: string;
|
|
5488
|
+
company: string;
|
|
5489
|
+
createdAt: Date;
|
|
5490
|
+
coveredAt: Date | null;
|
|
5491
|
+
message: string | null;
|
|
5248
5492
|
};
|
|
5249
5493
|
meta: any;
|
|
5250
5494
|
}>;
|
|
@@ -5465,10 +5709,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5465
5709
|
input: {
|
|
5466
5710
|
orgId: string;
|
|
5467
5711
|
paidByApp?: boolean | undefined;
|
|
5712
|
+
userIds?: string[] | undefined;
|
|
5468
5713
|
};
|
|
5469
5714
|
output: {
|
|
5470
5715
|
metrics: {
|
|
5716
|
+
lastReset: Date;
|
|
5471
5717
|
membersCount: bigint;
|
|
5718
|
+
} & {
|
|
5719
|
+
totalDataCount: bigint;
|
|
5720
|
+
totalDataSize: bigint;
|
|
5472
5721
|
downloadBandwidth: bigint;
|
|
5473
5722
|
downloadCount: bigint;
|
|
5474
5723
|
uploadBandwidth: bigint;
|
|
@@ -5476,8 +5725,6 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5476
5725
|
sentMailCount: bigint;
|
|
5477
5726
|
sentMailDataCount: bigint;
|
|
5478
5727
|
sentMailDataSize: bigint;
|
|
5479
|
-
totalDataSize: bigint;
|
|
5480
|
-
totalDataCount: bigint;
|
|
5481
5728
|
};
|
|
5482
5729
|
quotas: {
|
|
5483
5730
|
downloadBandwidth: bigint | null;
|
|
@@ -5485,16 +5732,16 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5485
5732
|
uploadBandwidth: bigint | null;
|
|
5486
5733
|
uploadCount: bigint | null;
|
|
5487
5734
|
totalDataCount: bigint | null;
|
|
5488
|
-
|
|
5735
|
+
totalDataSize: bigint | null;
|
|
5489
5736
|
perDataSize: bigint | null;
|
|
5490
5737
|
sentMails: {
|
|
5491
5738
|
count: bigint | null;
|
|
5492
|
-
totalCount: bigint | null;
|
|
5493
5739
|
perDataSize: bigint | null;
|
|
5740
|
+
totalStorageSize: bigint | null;
|
|
5741
|
+
totalDataCount: bigint | null;
|
|
5494
5742
|
dataCount: bigint | null;
|
|
5495
5743
|
dataSize: bigint | null;
|
|
5496
|
-
|
|
5497
|
-
totalStorageSize: bigint | null;
|
|
5744
|
+
totalCount: bigint | null;
|
|
5498
5745
|
};
|
|
5499
5746
|
};
|
|
5500
5747
|
};
|
|
@@ -5504,9 +5751,14 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5504
5751
|
input: {
|
|
5505
5752
|
orgId: string;
|
|
5506
5753
|
paidByApp?: boolean | undefined;
|
|
5754
|
+
userIds?: string[] | undefined;
|
|
5507
5755
|
};
|
|
5508
|
-
output: {
|
|
5756
|
+
output: ({
|
|
5757
|
+
lastReset: Date;
|
|
5509
5758
|
membersCount: bigint;
|
|
5759
|
+
} & {
|
|
5760
|
+
totalDataCount: bigint;
|
|
5761
|
+
totalDataSize: bigint;
|
|
5510
5762
|
downloadBandwidth: bigint;
|
|
5511
5763
|
downloadCount: bigint;
|
|
5512
5764
|
uploadBandwidth: bigint;
|
|
@@ -5514,8 +5766,19 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5514
5766
|
sentMailCount: bigint;
|
|
5515
5767
|
sentMailDataCount: bigint;
|
|
5516
5768
|
sentMailDataSize: bigint;
|
|
5517
|
-
|
|
5518
|
-
|
|
5769
|
+
}) | {
|
|
5770
|
+
lastReset: Date;
|
|
5771
|
+
details: {
|
|
5772
|
+
totalDataCount: bigint;
|
|
5773
|
+
totalDataSize: bigint;
|
|
5774
|
+
downloadBandwidth: bigint;
|
|
5775
|
+
downloadCount: bigint;
|
|
5776
|
+
uploadBandwidth: bigint;
|
|
5777
|
+
uploadCount: bigint;
|
|
5778
|
+
sentMailCount: bigint;
|
|
5779
|
+
sentMailDataCount: bigint;
|
|
5780
|
+
sentMailDataSize: bigint;
|
|
5781
|
+
}[];
|
|
5519
5782
|
};
|
|
5520
5783
|
meta: any;
|
|
5521
5784
|
}>;
|
|
@@ -5530,19 +5793,19 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5530
5793
|
quotas: {
|
|
5531
5794
|
perDataSize: bigint | null;
|
|
5532
5795
|
totalStorageSize: bigint | null;
|
|
5796
|
+
totalDataCount: bigint | null;
|
|
5533
5797
|
downloadBandwidth: bigint | null;
|
|
5534
|
-
uploadBandwidth: bigint | null;
|
|
5535
5798
|
downloadCount: bigint | null;
|
|
5799
|
+
uploadBandwidth: bigint | null;
|
|
5536
5800
|
uploadCount: bigint | null;
|
|
5537
|
-
totalDataCount: bigint | null;
|
|
5538
5801
|
sentMails: {
|
|
5539
5802
|
count: bigint | null;
|
|
5540
5803
|
perDataSize: bigint | null;
|
|
5541
5804
|
totalStorageSize: bigint | null;
|
|
5542
5805
|
totalDataCount: bigint | null;
|
|
5543
|
-
totalCount: bigint | null;
|
|
5544
5806
|
dataCount: bigint | null;
|
|
5545
5807
|
dataSize: bigint | null;
|
|
5808
|
+
totalCount: bigint | null;
|
|
5546
5809
|
};
|
|
5547
5810
|
};
|
|
5548
5811
|
price: number;
|
|
@@ -6171,11 +6434,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6171
6434
|
baseQuotas: {
|
|
6172
6435
|
perDataSize: bigint | null;
|
|
6173
6436
|
totalStorageSize: bigint | null;
|
|
6437
|
+
totalDataCount: bigint | null;
|
|
6174
6438
|
downloadBandwidth: bigint | null;
|
|
6175
|
-
uploadBandwidth: bigint | null;
|
|
6176
6439
|
downloadCount: bigint | null;
|
|
6440
|
+
uploadBandwidth: bigint | null;
|
|
6177
6441
|
uploadCount: bigint | null;
|
|
6178
|
-
totalDataCount: bigint | null;
|
|
6179
6442
|
sentMailsId: string;
|
|
6180
6443
|
};
|
|
6181
6444
|
};
|
|
@@ -6249,11 +6512,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6249
6512
|
baseQuotas: {
|
|
6250
6513
|
perDataSize: bigint | null;
|
|
6251
6514
|
totalStorageSize: bigint | null;
|
|
6515
|
+
totalDataCount: bigint | null;
|
|
6252
6516
|
downloadBandwidth: bigint | null;
|
|
6253
|
-
uploadBandwidth: bigint | null;
|
|
6254
6517
|
downloadCount: bigint | null;
|
|
6518
|
+
uploadBandwidth: bigint | null;
|
|
6255
6519
|
uploadCount: bigint | null;
|
|
6256
|
-
totalDataCount: bigint | null;
|
|
6257
6520
|
sentMailsId: string;
|
|
6258
6521
|
};
|
|
6259
6522
|
};
|
|
@@ -6455,6 +6718,16 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6455
6718
|
};
|
|
6456
6719
|
meta: any;
|
|
6457
6720
|
}>;
|
|
6721
|
+
updatePaidByApp: _trpc_server.TRPCMutationProcedure<{
|
|
6722
|
+
input: {
|
|
6723
|
+
appId: string;
|
|
6724
|
+
payForUsers: boolean;
|
|
6725
|
+
};
|
|
6726
|
+
output: {
|
|
6727
|
+
isUpdated: boolean;
|
|
6728
|
+
};
|
|
6729
|
+
meta: any;
|
|
6730
|
+
}>;
|
|
6458
6731
|
}>>;
|
|
6459
6732
|
user: _trpc_server.TRPCBuiltRouter<{
|
|
6460
6733
|
ctx: any;
|
|
@@ -6649,20 +6922,25 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6649
6922
|
perDataSizeLimit: bigint | null;
|
|
6650
6923
|
totalStorageSizeLimit: bigint | null;
|
|
6651
6924
|
};
|
|
6652
|
-
quotas:
|
|
6653
|
-
bandwith: bigint | null;
|
|
6654
|
-
uploadCount: bigint | null;
|
|
6655
|
-
downloadCount: bigint | null;
|
|
6656
|
-
totalDataCount: bigint | null;
|
|
6657
|
-
perDataSize: bigint | null;
|
|
6658
|
-
totalStorageSize: bigint | null;
|
|
6659
|
-
};
|
|
6925
|
+
quotas: null;
|
|
6660
6926
|
metrics: {
|
|
6661
6927
|
uploadCount: bigint;
|
|
6662
6928
|
uploadBandwidth: bigint;
|
|
6663
6929
|
downloadBandwidth: bigint;
|
|
6664
6930
|
downloadCount: bigint;
|
|
6931
|
+
sentMailCount: bigint;
|
|
6932
|
+
sentMailDataCount: bigint;
|
|
6933
|
+
sentMailDataSize: bigint;
|
|
6665
6934
|
};
|
|
6935
|
+
userLimitedQuotas: {
|
|
6936
|
+
uploadBandwidth: bigint | null;
|
|
6937
|
+
uploadCount: bigint | null;
|
|
6938
|
+
perDataSize: bigint | null;
|
|
6939
|
+
totalStorageSize: bigint | null;
|
|
6940
|
+
totalDataCount: bigint | null;
|
|
6941
|
+
downloadBandwidth: bigint | null;
|
|
6942
|
+
downloadCount: bigint | null;
|
|
6943
|
+
} | null;
|
|
6666
6944
|
} | {
|
|
6667
6945
|
type: "org";
|
|
6668
6946
|
appId: string;
|
|
@@ -6682,20 +6960,14 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6682
6960
|
downloadBandwidth: bigint | null;
|
|
6683
6961
|
downloadCount: bigint | null;
|
|
6684
6962
|
};
|
|
6685
|
-
userLimitedQuotas: {
|
|
6686
|
-
uploadBandwidth: bigint | null;
|
|
6687
|
-
uploadCount: bigint | null;
|
|
6688
|
-
perDataSize: bigint | null;
|
|
6689
|
-
totalStorageSize: bigint | null;
|
|
6690
|
-
totalDataCount: bigint | null;
|
|
6691
|
-
downloadBandwidth: bigint | null;
|
|
6692
|
-
downloadCount: bigint | null;
|
|
6693
|
-
} | null;
|
|
6694
6963
|
metrics: {
|
|
6695
6964
|
uploadCount: bigint;
|
|
6696
6965
|
uploadBandwidth: bigint;
|
|
6697
6966
|
downloadBandwidth: bigint;
|
|
6698
6967
|
downloadCount: bigint;
|
|
6968
|
+
sentMailCount: bigint;
|
|
6969
|
+
sentMailDataCount: bigint;
|
|
6970
|
+
sentMailDataSize: bigint;
|
|
6699
6971
|
};
|
|
6700
6972
|
};
|
|
6701
6973
|
meta: any;
|