@ledgerhq/revault-api 1.84.0 → 1.86.0
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/lib/{app-lib-Dp0IWsmF.d.mts → app-lib-CdmEGeOS.d.mts} +8211 -10292
- package/lib/{internal → entrypoints/internal-api}/app-lib.d.mts +1528 -1488
- package/lib/fakes.d.mts +1 -1
- package/lib/index.d.mts +2 -2
- package/lib/index.mjs +73 -55
- package/lib/index.mjs.map +1 -1
- package/package.json +4 -4
- /package/lib/{internal → entrypoints/internal-api}/app-lib.mjs +0 -0
|
@@ -1,6 +1,1390 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $a as LesWalletRegistrationReport, Ao as HsmHostingMode, Co as GateAccountType, Cr as SendOnlyTransactionData, Do as GateUserType, Ei as HsmCertificate, Eo as GateReviewConfigType, F as RuntimeApiCapabilities, Go as ReviewConfigType, Ho as RequestType$1, Ia as SortOrder, J as ActivityTracer, Ja as WebhookDeliveryStats, Jo as UserRole, Ko as UserDeviceType, Lo as PsdModel, No as OnboardedUserRole, Oo as GateWhitelistType, P as TrpcMeta, Po as OnboardingStep, Qa as LesWalletRegistrableSummary, Ro as ReportStatus$1, So as EventAction$1, To as GatePolicyType, Tr as TransactionData, Wo as RevaultMode, Xo as WebhookStatus$1, Ya as RequestView, Yo as WebhookRetryStrategy$1, Zo as WhitelistType, _i as RequestListFilters, _o as AdminPermission$1, aa as HsmComparator, co as ExtendedPrismaClient, da as AccountWorkspaceScope, et as RequestReview, gi as WhitelistSortBy, go as AddressDerivationMode, hi as Note, ho as ActivationStatus$1, jo as MaintenanceMode, ko as GateWorkspaceRuleType, la as HsmWorkspaceComparison, lo as BackofficePermission, mo as AccountType$1, no as BackofficeClaims, po as AccountGovernanceType, qo as UserRegistrationState, rt as VaultRequestResponse, so as zOidcConfig, to as LesWalletRegistrationScope, ua as AccountAssetFilter, vi as startOnboarding, wo as GateGroupType, xo as ClaimedRole, yo as AuditLogType, zo as ReportType$1 } from "../../app-lib-CdmEGeOS.mjs";
|
|
2
2
|
import z from "zod";
|
|
3
|
+
import { Account, AllowedAction, Prisma, PrismaClient, ReviewConfig, VaultRequestReview, Workspace } from "@/generated/prisma/client";
|
|
3
4
|
import "trpc-to-openapi";
|
|
5
|
+
//#region src/core/rebac/relationship-tuples.d.ts
|
|
6
|
+
declare const RELATIONSHIP_OBJECT_TYPES: {
|
|
7
|
+
readonly account: "account";
|
|
8
|
+
readonly entity: "entity";
|
|
9
|
+
readonly group: "group";
|
|
10
|
+
readonly policy: "policy";
|
|
11
|
+
readonly portfolio: "portfolio";
|
|
12
|
+
readonly tradelinkCustodian: "tradelink-custodian";
|
|
13
|
+
readonly tradelinkEntity: "tradelink-entity";
|
|
14
|
+
readonly tradelinkPledge: "tradelink-pledge";
|
|
15
|
+
readonly user: "user";
|
|
16
|
+
readonly whitelist: "whitelist";
|
|
17
|
+
readonly workspace: "workspace";
|
|
18
|
+
readonly workspaceRule: "workspace-rule";
|
|
19
|
+
};
|
|
20
|
+
type RelationshipObjectType = (typeof RELATIONSHIP_OBJECT_TYPES)[keyof typeof RELATIONSHIP_OBJECT_TYPES];
|
|
21
|
+
declare const RELATIONSHIP_RELATIONS: {
|
|
22
|
+
readonly entity: "entity";
|
|
23
|
+
readonly member: "member";
|
|
24
|
+
readonly policy: "policy";
|
|
25
|
+
readonly portfolio: "portfolio";
|
|
26
|
+
readonly reader: "reader";
|
|
27
|
+
readonly tradelinkAssetManager: "tradelink:asset-manager";
|
|
28
|
+
readonly tradelinkCustodian: "tradelink:custodian";
|
|
29
|
+
readonly tradelinkExchange: "tradelink:exchange";
|
|
30
|
+
readonly tradelinkRepledgeExchange: "tradelink:repledge-exchange";
|
|
31
|
+
};
|
|
32
|
+
declare const DIRECT_SUBJECT_RELATION = "";
|
|
33
|
+
type OperatorRelation = `operator:${AllowedAction}`;
|
|
34
|
+
type RelationshipRelation = (typeof RELATIONSHIP_RELATIONS)[keyof typeof RELATIONSHIP_RELATIONS] | OperatorRelation;
|
|
35
|
+
type RelationshipSubjectRelation = typeof DIRECT_SUBJECT_RELATION | typeof RELATIONSHIP_RELATIONS.member;
|
|
36
|
+
/**
|
|
37
|
+
* Authorization-graph fact in Zanzibar/ReBAC vocabulary:
|
|
38
|
+
*
|
|
39
|
+
* object#relation@subject
|
|
40
|
+
*
|
|
41
|
+
* plus Revault source attribution for deterministic source replacement:
|
|
42
|
+
*
|
|
43
|
+
* object#relation@subject [source]
|
|
44
|
+
*
|
|
45
|
+
* This is not a TypeScript tuple (`[A, B]`). The persisted table stores each component in a
|
|
46
|
+
* dedicated string column so rows can be indexed, rebuilt, and compared deterministically.
|
|
47
|
+
*/
|
|
48
|
+
type RelationshipTuple = {
|
|
49
|
+
workspaceName: string;
|
|
50
|
+
objectType: RelationshipObjectType;
|
|
51
|
+
objectId: string;
|
|
52
|
+
relation: RelationshipRelation;
|
|
53
|
+
subjectType: RelationshipObjectType;
|
|
54
|
+
subjectId: string;
|
|
55
|
+
subjectRelation: RelationshipSubjectRelation;
|
|
56
|
+
sourceType: RelationshipObjectType;
|
|
57
|
+
sourceId: string;
|
|
58
|
+
};
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/core/relationships/inspection.d.ts
|
|
61
|
+
type RelationshipShapeCount = {
|
|
62
|
+
objectType: string;
|
|
63
|
+
relation: string;
|
|
64
|
+
subjectType: string;
|
|
65
|
+
subjectRelation: string;
|
|
66
|
+
count: number;
|
|
67
|
+
};
|
|
68
|
+
type RelationshipSourceTypeCount = {
|
|
69
|
+
sourceType: string;
|
|
70
|
+
count: number;
|
|
71
|
+
};
|
|
72
|
+
type RelationshipHealth = {
|
|
73
|
+
workspaceName: string;
|
|
74
|
+
currentTupleCount: number;
|
|
75
|
+
sourceTypeCounts: RelationshipSourceTypeCount[];
|
|
76
|
+
shapeCounts: RelationshipShapeCount[];
|
|
77
|
+
};
|
|
78
|
+
type RelationshipDriftCheck = {
|
|
79
|
+
workspaceName: string;
|
|
80
|
+
expectedTupleCount: number;
|
|
81
|
+
actualTupleCount: number;
|
|
82
|
+
missingTupleCount: number;
|
|
83
|
+
extraTupleCount: number;
|
|
84
|
+
missingSamples: RelationshipTuple[];
|
|
85
|
+
extraSamples: RelationshipTuple[];
|
|
86
|
+
buildDurationMs: number;
|
|
87
|
+
readDurationMs: number;
|
|
88
|
+
compareDurationMs: number;
|
|
89
|
+
totalDurationMs: number;
|
|
90
|
+
};
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region src/core/runtime/internal-capabilities.d.ts
|
|
93
|
+
/**
|
|
94
|
+
* Least-privilege split (ADR-0022): capabilities that must never be reachable from the *public*
|
|
95
|
+
* HTTP context live here, not in {@link createApiCoreCapabilities}. Only the internal-API transport
|
|
96
|
+
* (backoffice) mounts them, so a public procedure's `ctx.core` cannot see — or type-resolve — the
|
|
97
|
+
* administration surface. New non-public internal capabilities belong in this bucket too.
|
|
98
|
+
*/
|
|
99
|
+
declare const createInternalCapabilities: (prisma: ExtendedPrismaClient) => {
|
|
100
|
+
accounts: {
|
|
101
|
+
list: (input: ({
|
|
102
|
+
page: number;
|
|
103
|
+
pageSize: number;
|
|
104
|
+
} & {
|
|
105
|
+
sortOrder: SortOrder;
|
|
106
|
+
}) & {
|
|
107
|
+
workspace: AccountWorkspaceScope;
|
|
108
|
+
status?: ActivationStatus$1;
|
|
109
|
+
id?: string;
|
|
110
|
+
name?: string;
|
|
111
|
+
governanceType?: AccountGovernanceType;
|
|
112
|
+
asset?: AccountAssetFilter;
|
|
113
|
+
support?: "standalone" | "legacy";
|
|
114
|
+
accountType?: AccountType$1;
|
|
115
|
+
index?: number;
|
|
116
|
+
policyIds?: string[];
|
|
117
|
+
entityIds?: string[];
|
|
118
|
+
userIds?: string[];
|
|
119
|
+
groupIds?: string[];
|
|
120
|
+
lesWalletRegistrable?: boolean;
|
|
121
|
+
addressBackfillable?: boolean;
|
|
122
|
+
gateSynced?: boolean;
|
|
123
|
+
sortBy: "name" | "currency" | "index" | "createdAt" | "updatedAt";
|
|
124
|
+
}) => Promise<{
|
|
125
|
+
page: number;
|
|
126
|
+
next: number | null;
|
|
127
|
+
prev: number | null;
|
|
128
|
+
pageSize: number;
|
|
129
|
+
total: number;
|
|
130
|
+
results: {
|
|
131
|
+
id: string;
|
|
132
|
+
workspaceName: string;
|
|
133
|
+
gateId: number;
|
|
134
|
+
name: string;
|
|
135
|
+
asset: {
|
|
136
|
+
network: string;
|
|
137
|
+
contractAddress: string | null;
|
|
138
|
+
tokenIdentifier: string | null;
|
|
139
|
+
};
|
|
140
|
+
accountTypeFields: {
|
|
141
|
+
type: "BITCOIN_LIKE";
|
|
142
|
+
xpub: string;
|
|
143
|
+
addressDerivationMode: "NEW" | "STATIC";
|
|
144
|
+
} | {
|
|
145
|
+
type: "CANTON_LIKE";
|
|
146
|
+
address: string | null;
|
|
147
|
+
} | {
|
|
148
|
+
type: "CARDANO_LIKE";
|
|
149
|
+
address: string | null;
|
|
150
|
+
} | {
|
|
151
|
+
type: "ETHEREUM_LIKE";
|
|
152
|
+
address: string | null;
|
|
153
|
+
} | {
|
|
154
|
+
type: "GENERIC_LIKE";
|
|
155
|
+
} | {
|
|
156
|
+
type: "HEDERA_LIKE";
|
|
157
|
+
address: string | null;
|
|
158
|
+
isActivated: boolean;
|
|
159
|
+
} | {
|
|
160
|
+
type: "POLKADOT_LIKE";
|
|
161
|
+
address: string | null;
|
|
162
|
+
} | {
|
|
163
|
+
type: "RIPPLE_LIKE";
|
|
164
|
+
address: string | null;
|
|
165
|
+
} | {
|
|
166
|
+
type: "SOLANA_LIKE";
|
|
167
|
+
address: string | null;
|
|
168
|
+
} | {
|
|
169
|
+
type: "STELLAR_LIKE";
|
|
170
|
+
address: string | null;
|
|
171
|
+
} | {
|
|
172
|
+
type: "SUI_LIKE";
|
|
173
|
+
address: string | null;
|
|
174
|
+
} | {
|
|
175
|
+
type: "TEZOS_LIKE";
|
|
176
|
+
address: string | null;
|
|
177
|
+
} | {
|
|
178
|
+
type: "TRON_LIKE";
|
|
179
|
+
address: string | null;
|
|
180
|
+
} | {
|
|
181
|
+
type: "RAW_SIGNING";
|
|
182
|
+
};
|
|
183
|
+
index: number;
|
|
184
|
+
derivationPath: string;
|
|
185
|
+
lesWalletId: string | null;
|
|
186
|
+
hsmId: string;
|
|
187
|
+
status: "ACTIVE" | "INACTIVE";
|
|
188
|
+
createdAt: Date;
|
|
189
|
+
updatedAt: Date;
|
|
190
|
+
governance: {
|
|
191
|
+
type: "CLASSIC";
|
|
192
|
+
policyId: string;
|
|
193
|
+
} | {
|
|
194
|
+
type: "RAW_SIGNING";
|
|
195
|
+
policyId: string;
|
|
196
|
+
} | {
|
|
197
|
+
type: "TRADELINK";
|
|
198
|
+
assetManagerId: string;
|
|
199
|
+
exchangeConfigs: {
|
|
200
|
+
exchangeId: string;
|
|
201
|
+
repledgeAuthorized: boolean;
|
|
202
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
203
|
+
}[];
|
|
204
|
+
};
|
|
205
|
+
}[];
|
|
206
|
+
}>;
|
|
207
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__AccountClient<({
|
|
208
|
+
classicGovernanceMixin: {
|
|
209
|
+
id: number;
|
|
210
|
+
accountId: string;
|
|
211
|
+
policyId: string;
|
|
212
|
+
} | null;
|
|
213
|
+
tradelinkGovernanceMixin: {
|
|
214
|
+
id: number;
|
|
215
|
+
accountId: string;
|
|
216
|
+
assetManagerId: string;
|
|
217
|
+
status: ActivationStatus$1;
|
|
218
|
+
exchangeConfigs: import("@prisma/client/runtime/client").JsonValue;
|
|
219
|
+
} | null;
|
|
220
|
+
} & {
|
|
221
|
+
id: string;
|
|
222
|
+
workspaceName: string;
|
|
223
|
+
name: string;
|
|
224
|
+
status: ActivationStatus$1;
|
|
225
|
+
governanceType: AccountGovernanceType;
|
|
226
|
+
type: AccountType$1;
|
|
227
|
+
currency: string;
|
|
228
|
+
index: number;
|
|
229
|
+
contractAddress: string | null;
|
|
230
|
+
tokenIdentifier: string | null;
|
|
231
|
+
derivationPath: string;
|
|
232
|
+
bitcoinAddressDerivationMode: AddressDerivationMode | null;
|
|
233
|
+
hsmId: string;
|
|
234
|
+
hsmXpub: string;
|
|
235
|
+
hsmChainCode: string | null;
|
|
236
|
+
address: string | null;
|
|
237
|
+
xpub: string | null;
|
|
238
|
+
lesWalletId: string | null;
|
|
239
|
+
gateType: GateAccountType | null;
|
|
240
|
+
gateId: number;
|
|
241
|
+
syncId: string;
|
|
242
|
+
createdAt: Date;
|
|
243
|
+
updatedAt: Date;
|
|
244
|
+
}) | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
245
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
246
|
+
}>;
|
|
247
|
+
lesWalletRegistrableSummary: (scope: LesWalletRegistrationScope) => Promise<LesWalletRegistrableSummary>;
|
|
248
|
+
registerOnLesWallet: (actor: BackofficeClaims, requiredPermission: "workspace:edit", input: {
|
|
249
|
+
scope: LesWalletRegistrationScope;
|
|
250
|
+
limit: number;
|
|
251
|
+
}) => Promise<LesWalletRegistrationReport>;
|
|
252
|
+
};
|
|
253
|
+
users: {
|
|
254
|
+
list: (input: ({
|
|
255
|
+
page: number;
|
|
256
|
+
pageSize: number;
|
|
257
|
+
} & {
|
|
258
|
+
sortOrder: SortOrder;
|
|
259
|
+
}) & {
|
|
260
|
+
workspaceName?: string | string[];
|
|
261
|
+
role?: UserRole;
|
|
262
|
+
deviceType?: UserDeviceType;
|
|
263
|
+
status?: ActivationStatus$1;
|
|
264
|
+
id?: string;
|
|
265
|
+
name?: string;
|
|
266
|
+
ids?: string[];
|
|
267
|
+
sortBy: "name" | "role" | "status" | "createdAt" | "updatedAt";
|
|
268
|
+
}) => Promise<{
|
|
269
|
+
page: number;
|
|
270
|
+
next: number | null;
|
|
271
|
+
prev: number | null;
|
|
272
|
+
pageSize: number;
|
|
273
|
+
total: number;
|
|
274
|
+
results: {
|
|
275
|
+
id: string;
|
|
276
|
+
workspaceName: string;
|
|
277
|
+
name: string;
|
|
278
|
+
authUserId: string | null;
|
|
279
|
+
pubKey: string;
|
|
280
|
+
deviceType: UserDeviceType;
|
|
281
|
+
deviceUserId: string | null;
|
|
282
|
+
hsmId: string | null;
|
|
283
|
+
u2fKeyHandle: string | null;
|
|
284
|
+
u2fPubKey: string | null;
|
|
285
|
+
legacyViewAll: boolean;
|
|
286
|
+
role: UserRole;
|
|
287
|
+
status: ActivationStatus$1;
|
|
288
|
+
isSuspended: boolean;
|
|
289
|
+
gateType: GateUserType | null;
|
|
290
|
+
gateId: number;
|
|
291
|
+
syncId: string;
|
|
292
|
+
createdAt: Date;
|
|
293
|
+
updatedAt: Date;
|
|
294
|
+
}[];
|
|
295
|
+
}>;
|
|
296
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__UserClient<{
|
|
297
|
+
id: string;
|
|
298
|
+
workspaceName: string;
|
|
299
|
+
name: string;
|
|
300
|
+
authUserId: string | null;
|
|
301
|
+
pubKey: string;
|
|
302
|
+
deviceType: UserDeviceType;
|
|
303
|
+
deviceUserId: string | null;
|
|
304
|
+
hsmId: string | null;
|
|
305
|
+
u2fKeyHandle: string | null;
|
|
306
|
+
u2fPubKey: string | null;
|
|
307
|
+
legacyViewAll: boolean;
|
|
308
|
+
role: UserRole;
|
|
309
|
+
status: ActivationStatus$1;
|
|
310
|
+
isSuspended: boolean;
|
|
311
|
+
gateType: GateUserType | null;
|
|
312
|
+
gateId: number;
|
|
313
|
+
syncId: string;
|
|
314
|
+
createdAt: Date;
|
|
315
|
+
updatedAt: Date;
|
|
316
|
+
} | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
317
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
318
|
+
}>;
|
|
319
|
+
};
|
|
320
|
+
userRegistrations: {
|
|
321
|
+
list: (input: ({
|
|
322
|
+
page: number;
|
|
323
|
+
pageSize: number;
|
|
324
|
+
} & {
|
|
325
|
+
sortOrder: SortOrder;
|
|
326
|
+
}) & {
|
|
327
|
+
workspaceName?: string | string[];
|
|
328
|
+
role?: "ADMIN" | "OPERATOR";
|
|
329
|
+
state?: UserRegistrationState;
|
|
330
|
+
sortBy: "name" | "role" | "state";
|
|
331
|
+
}) => Promise<{
|
|
332
|
+
page: number;
|
|
333
|
+
next: number | null;
|
|
334
|
+
prev: number | null;
|
|
335
|
+
pageSize: number;
|
|
336
|
+
total: number;
|
|
337
|
+
results: {
|
|
338
|
+
id: string;
|
|
339
|
+
workspaceName: string;
|
|
340
|
+
name: string;
|
|
341
|
+
role: UserRole;
|
|
342
|
+
psdModel: PsdModel;
|
|
343
|
+
deviceUserId: string;
|
|
344
|
+
invitedById: string;
|
|
345
|
+
pubKey: string | null;
|
|
346
|
+
challenge: import("@prisma/client/runtime/client").JsonValue;
|
|
347
|
+
u2fKeyHandle: string | null;
|
|
348
|
+
u2fPubKey: string | null;
|
|
349
|
+
state: UserRegistrationState;
|
|
350
|
+
createdAt: Date;
|
|
351
|
+
updatedAt: Date;
|
|
352
|
+
}[];
|
|
353
|
+
}>;
|
|
354
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__UserRegistrationClient<{
|
|
355
|
+
id: string;
|
|
356
|
+
workspaceName: string;
|
|
357
|
+
name: string;
|
|
358
|
+
role: UserRole;
|
|
359
|
+
psdModel: PsdModel;
|
|
360
|
+
deviceUserId: string;
|
|
361
|
+
invitedById: string;
|
|
362
|
+
pubKey: string | null;
|
|
363
|
+
challenge: import("@prisma/client/runtime/client").JsonValue;
|
|
364
|
+
u2fKeyHandle: string | null;
|
|
365
|
+
u2fPubKey: string | null;
|
|
366
|
+
state: UserRegistrationState;
|
|
367
|
+
createdAt: Date;
|
|
368
|
+
updatedAt: Date;
|
|
369
|
+
} | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
370
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
371
|
+
}>;
|
|
372
|
+
};
|
|
373
|
+
groups: {
|
|
374
|
+
list: (input: ({
|
|
375
|
+
page: number;
|
|
376
|
+
pageSize: number;
|
|
377
|
+
} & {
|
|
378
|
+
sortOrder: SortOrder;
|
|
379
|
+
}) & {
|
|
380
|
+
workspaceName?: string | string[];
|
|
381
|
+
status?: ActivationStatus$1;
|
|
382
|
+
id?: string;
|
|
383
|
+
name?: string;
|
|
384
|
+
sortBy: "name" | "status" | "createdAt" | "updatedAt";
|
|
385
|
+
}) => Promise<{
|
|
386
|
+
page: number;
|
|
387
|
+
next: number | null;
|
|
388
|
+
prev: number | null;
|
|
389
|
+
pageSize: number;
|
|
390
|
+
total: number;
|
|
391
|
+
results: ({
|
|
392
|
+
members: {
|
|
393
|
+
id: string;
|
|
394
|
+
workspaceName: string;
|
|
395
|
+
name: string;
|
|
396
|
+
authUserId: string | null;
|
|
397
|
+
pubKey: string;
|
|
398
|
+
deviceType: UserDeviceType;
|
|
399
|
+
deviceUserId: string | null;
|
|
400
|
+
hsmId: string | null;
|
|
401
|
+
u2fKeyHandle: string | null;
|
|
402
|
+
u2fPubKey: string | null;
|
|
403
|
+
legacyViewAll: boolean;
|
|
404
|
+
role: UserRole;
|
|
405
|
+
status: ActivationStatus$1;
|
|
406
|
+
isSuspended: boolean;
|
|
407
|
+
gateType: GateUserType | null;
|
|
408
|
+
gateId: number;
|
|
409
|
+
syncId: string;
|
|
410
|
+
createdAt: Date;
|
|
411
|
+
updatedAt: Date;
|
|
412
|
+
}[];
|
|
413
|
+
} & {
|
|
414
|
+
id: string;
|
|
415
|
+
workspaceName: string;
|
|
416
|
+
name: string;
|
|
417
|
+
description: string | null;
|
|
418
|
+
hsmId: string;
|
|
419
|
+
status: ActivationStatus$1;
|
|
420
|
+
gateType: GateGroupType | null;
|
|
421
|
+
gateId: number;
|
|
422
|
+
syncId: string;
|
|
423
|
+
createdAt: Date;
|
|
424
|
+
updatedAt: Date;
|
|
425
|
+
})[];
|
|
426
|
+
}>;
|
|
427
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__GroupClient<({
|
|
428
|
+
members: {
|
|
429
|
+
id: string;
|
|
430
|
+
workspaceName: string;
|
|
431
|
+
name: string;
|
|
432
|
+
authUserId: string | null;
|
|
433
|
+
pubKey: string;
|
|
434
|
+
deviceType: UserDeviceType;
|
|
435
|
+
deviceUserId: string | null;
|
|
436
|
+
hsmId: string | null;
|
|
437
|
+
u2fKeyHandle: string | null;
|
|
438
|
+
u2fPubKey: string | null;
|
|
439
|
+
legacyViewAll: boolean;
|
|
440
|
+
role: UserRole;
|
|
441
|
+
status: ActivationStatus$1;
|
|
442
|
+
isSuspended: boolean;
|
|
443
|
+
gateType: GateUserType | null;
|
|
444
|
+
gateId: number;
|
|
445
|
+
syncId: string;
|
|
446
|
+
createdAt: Date;
|
|
447
|
+
updatedAt: Date;
|
|
448
|
+
}[];
|
|
449
|
+
} & {
|
|
450
|
+
id: string;
|
|
451
|
+
workspaceName: string;
|
|
452
|
+
name: string;
|
|
453
|
+
description: string | null;
|
|
454
|
+
hsmId: string;
|
|
455
|
+
status: ActivationStatus$1;
|
|
456
|
+
gateType: GateGroupType | null;
|
|
457
|
+
gateId: number;
|
|
458
|
+
syncId: string;
|
|
459
|
+
createdAt: Date;
|
|
460
|
+
updatedAt: Date;
|
|
461
|
+
}) | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
462
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
463
|
+
}>;
|
|
464
|
+
};
|
|
465
|
+
policies: {
|
|
466
|
+
list: (input: ({
|
|
467
|
+
page: number;
|
|
468
|
+
pageSize: number;
|
|
469
|
+
} & {
|
|
470
|
+
sortOrder: SortOrder;
|
|
471
|
+
}) & {
|
|
472
|
+
workspaceName?: string | string[];
|
|
473
|
+
name?: string;
|
|
474
|
+
isPrivate: boolean;
|
|
475
|
+
currency?: string;
|
|
476
|
+
currencyLess?: boolean;
|
|
477
|
+
sortBy: "name" | "createdAt" | "updatedAt";
|
|
478
|
+
}) => Promise<{
|
|
479
|
+
page: number;
|
|
480
|
+
next: number | null;
|
|
481
|
+
prev: number | null;
|
|
482
|
+
pageSize: number;
|
|
483
|
+
total: number;
|
|
484
|
+
results: ({
|
|
485
|
+
reviewConfigs: ({
|
|
486
|
+
groups: ({
|
|
487
|
+
members: {
|
|
488
|
+
id: string;
|
|
489
|
+
workspaceName: string;
|
|
490
|
+
name: string;
|
|
491
|
+
authUserId: string | null;
|
|
492
|
+
pubKey: string;
|
|
493
|
+
deviceType: UserDeviceType;
|
|
494
|
+
deviceUserId: string | null;
|
|
495
|
+
hsmId: string | null;
|
|
496
|
+
u2fKeyHandle: string | null;
|
|
497
|
+
u2fPubKey: string | null;
|
|
498
|
+
legacyViewAll: boolean;
|
|
499
|
+
role: UserRole;
|
|
500
|
+
status: ActivationStatus$1;
|
|
501
|
+
isSuspended: boolean;
|
|
502
|
+
gateType: GateUserType | null;
|
|
503
|
+
gateId: number;
|
|
504
|
+
syncId: string;
|
|
505
|
+
createdAt: Date;
|
|
506
|
+
updatedAt: Date;
|
|
507
|
+
}[];
|
|
508
|
+
} & {
|
|
509
|
+
id: string;
|
|
510
|
+
workspaceName: string;
|
|
511
|
+
name: string;
|
|
512
|
+
description: string | null;
|
|
513
|
+
hsmId: string;
|
|
514
|
+
status: ActivationStatus$1;
|
|
515
|
+
gateType: GateGroupType | null;
|
|
516
|
+
gateId: number;
|
|
517
|
+
syncId: string;
|
|
518
|
+
createdAt: Date;
|
|
519
|
+
updatedAt: Date;
|
|
520
|
+
})[];
|
|
521
|
+
users: {
|
|
522
|
+
id: string;
|
|
523
|
+
workspaceName: string;
|
|
524
|
+
name: string;
|
|
525
|
+
authUserId: string | null;
|
|
526
|
+
pubKey: string;
|
|
527
|
+
deviceType: UserDeviceType;
|
|
528
|
+
deviceUserId: string | null;
|
|
529
|
+
hsmId: string | null;
|
|
530
|
+
u2fKeyHandle: string | null;
|
|
531
|
+
u2fPubKey: string | null;
|
|
532
|
+
legacyViewAll: boolean;
|
|
533
|
+
role: UserRole;
|
|
534
|
+
status: ActivationStatus$1;
|
|
535
|
+
isSuspended: boolean;
|
|
536
|
+
gateType: GateUserType | null;
|
|
537
|
+
gateId: number;
|
|
538
|
+
syncId: string;
|
|
539
|
+
createdAt: Date;
|
|
540
|
+
updatedAt: Date;
|
|
541
|
+
}[];
|
|
542
|
+
} & {
|
|
543
|
+
id: string;
|
|
544
|
+
workspaceName: string;
|
|
545
|
+
type: ReviewConfigType;
|
|
546
|
+
steps: import("@prisma/client/runtime/client").JsonValue;
|
|
547
|
+
ownerPolicyId: string | null;
|
|
548
|
+
gateType: GateReviewConfigType | null;
|
|
549
|
+
gateId: number;
|
|
550
|
+
syncId: string;
|
|
551
|
+
})[];
|
|
552
|
+
whitelists: ({
|
|
553
|
+
addresses: {
|
|
554
|
+
id: string;
|
|
555
|
+
whitelistId: string;
|
|
556
|
+
name: string;
|
|
557
|
+
currency: string;
|
|
558
|
+
address: string;
|
|
559
|
+
destinationTag: string | null;
|
|
560
|
+
}[];
|
|
561
|
+
} & {
|
|
562
|
+
id: string;
|
|
563
|
+
workspaceName: string;
|
|
564
|
+
name: string;
|
|
565
|
+
description: string | null;
|
|
566
|
+
hsmId: string;
|
|
567
|
+
type: WhitelistType;
|
|
568
|
+
status: ActivationStatus$1;
|
|
569
|
+
gateType: GateWhitelistType | null;
|
|
570
|
+
gateId: number;
|
|
571
|
+
syncId: string;
|
|
572
|
+
createdAt: Date;
|
|
573
|
+
updatedAt: Date;
|
|
574
|
+
})[];
|
|
575
|
+
} & {
|
|
576
|
+
id: string;
|
|
577
|
+
workspaceName: string;
|
|
578
|
+
name: string;
|
|
579
|
+
description: string | null;
|
|
580
|
+
currency: string | null;
|
|
581
|
+
contractAddress: string | null;
|
|
582
|
+
tokenIdentifier: string | null;
|
|
583
|
+
isPrivate: boolean;
|
|
584
|
+
hsmId: string | null;
|
|
585
|
+
rulesJsonArray: import("@prisma/client/runtime/client").JsonValue;
|
|
586
|
+
status: ActivationStatus$1;
|
|
587
|
+
gateType: GatePolicyType | null;
|
|
588
|
+
gateId: number;
|
|
589
|
+
syncId: string;
|
|
590
|
+
createdAt: Date;
|
|
591
|
+
updatedAt: Date;
|
|
592
|
+
})[];
|
|
593
|
+
}>;
|
|
594
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__PolicyClient<({
|
|
595
|
+
reviewConfigs: ({
|
|
596
|
+
groups: ({
|
|
597
|
+
members: {
|
|
598
|
+
id: string;
|
|
599
|
+
workspaceName: string;
|
|
600
|
+
name: string;
|
|
601
|
+
authUserId: string | null;
|
|
602
|
+
pubKey: string;
|
|
603
|
+
deviceType: UserDeviceType;
|
|
604
|
+
deviceUserId: string | null;
|
|
605
|
+
hsmId: string | null;
|
|
606
|
+
u2fKeyHandle: string | null;
|
|
607
|
+
u2fPubKey: string | null;
|
|
608
|
+
legacyViewAll: boolean;
|
|
609
|
+
role: UserRole;
|
|
610
|
+
status: ActivationStatus$1;
|
|
611
|
+
isSuspended: boolean;
|
|
612
|
+
gateType: GateUserType | null;
|
|
613
|
+
gateId: number;
|
|
614
|
+
syncId: string;
|
|
615
|
+
createdAt: Date;
|
|
616
|
+
updatedAt: Date;
|
|
617
|
+
}[];
|
|
618
|
+
} & {
|
|
619
|
+
id: string;
|
|
620
|
+
workspaceName: string;
|
|
621
|
+
name: string;
|
|
622
|
+
description: string | null;
|
|
623
|
+
hsmId: string;
|
|
624
|
+
status: ActivationStatus$1;
|
|
625
|
+
gateType: GateGroupType | null;
|
|
626
|
+
gateId: number;
|
|
627
|
+
syncId: string;
|
|
628
|
+
createdAt: Date;
|
|
629
|
+
updatedAt: Date;
|
|
630
|
+
})[];
|
|
631
|
+
users: {
|
|
632
|
+
id: string;
|
|
633
|
+
workspaceName: string;
|
|
634
|
+
name: string;
|
|
635
|
+
authUserId: string | null;
|
|
636
|
+
pubKey: string;
|
|
637
|
+
deviceType: UserDeviceType;
|
|
638
|
+
deviceUserId: string | null;
|
|
639
|
+
hsmId: string | null;
|
|
640
|
+
u2fKeyHandle: string | null;
|
|
641
|
+
u2fPubKey: string | null;
|
|
642
|
+
legacyViewAll: boolean;
|
|
643
|
+
role: UserRole;
|
|
644
|
+
status: ActivationStatus$1;
|
|
645
|
+
isSuspended: boolean;
|
|
646
|
+
gateType: GateUserType | null;
|
|
647
|
+
gateId: number;
|
|
648
|
+
syncId: string;
|
|
649
|
+
createdAt: Date;
|
|
650
|
+
updatedAt: Date;
|
|
651
|
+
}[];
|
|
652
|
+
} & {
|
|
653
|
+
id: string;
|
|
654
|
+
workspaceName: string;
|
|
655
|
+
type: ReviewConfigType;
|
|
656
|
+
steps: import("@prisma/client/runtime/client").JsonValue;
|
|
657
|
+
ownerPolicyId: string | null;
|
|
658
|
+
gateType: GateReviewConfigType | null;
|
|
659
|
+
gateId: number;
|
|
660
|
+
syncId: string;
|
|
661
|
+
})[];
|
|
662
|
+
whitelists: ({
|
|
663
|
+
addresses: {
|
|
664
|
+
id: string;
|
|
665
|
+
whitelistId: string;
|
|
666
|
+
name: string;
|
|
667
|
+
currency: string;
|
|
668
|
+
address: string;
|
|
669
|
+
destinationTag: string | null;
|
|
670
|
+
}[];
|
|
671
|
+
} & {
|
|
672
|
+
id: string;
|
|
673
|
+
workspaceName: string;
|
|
674
|
+
name: string;
|
|
675
|
+
description: string | null;
|
|
676
|
+
hsmId: string;
|
|
677
|
+
type: WhitelistType;
|
|
678
|
+
status: ActivationStatus$1;
|
|
679
|
+
gateType: GateWhitelistType | null;
|
|
680
|
+
gateId: number;
|
|
681
|
+
syncId: string;
|
|
682
|
+
createdAt: Date;
|
|
683
|
+
updatedAt: Date;
|
|
684
|
+
})[];
|
|
685
|
+
} & {
|
|
686
|
+
id: string;
|
|
687
|
+
workspaceName: string;
|
|
688
|
+
name: string;
|
|
689
|
+
description: string | null;
|
|
690
|
+
currency: string | null;
|
|
691
|
+
contractAddress: string | null;
|
|
692
|
+
tokenIdentifier: string | null;
|
|
693
|
+
isPrivate: boolean;
|
|
694
|
+
hsmId: string | null;
|
|
695
|
+
rulesJsonArray: import("@prisma/client/runtime/client").JsonValue;
|
|
696
|
+
status: ActivationStatus$1;
|
|
697
|
+
gateType: GatePolicyType | null;
|
|
698
|
+
gateId: number;
|
|
699
|
+
syncId: string;
|
|
700
|
+
createdAt: Date;
|
|
701
|
+
updatedAt: Date;
|
|
702
|
+
}) | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
703
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
704
|
+
}>;
|
|
705
|
+
};
|
|
706
|
+
whitelists: {
|
|
707
|
+
list: (input: ({
|
|
708
|
+
page: number;
|
|
709
|
+
pageSize: number;
|
|
710
|
+
} & {
|
|
711
|
+
sortOrder: SortOrder;
|
|
712
|
+
}) & {
|
|
713
|
+
workspaceName?: string | string[];
|
|
714
|
+
status?: ActivationStatus$1;
|
|
715
|
+
id?: string;
|
|
716
|
+
name?: string;
|
|
717
|
+
address?: string;
|
|
718
|
+
currency?: string;
|
|
719
|
+
sortBy: WhitelistSortBy;
|
|
720
|
+
}) => Promise<{
|
|
721
|
+
page: number;
|
|
722
|
+
next: number | null;
|
|
723
|
+
prev: number | null;
|
|
724
|
+
pageSize: number;
|
|
725
|
+
total: number;
|
|
726
|
+
results: ({
|
|
727
|
+
addresses: {
|
|
728
|
+
id: string;
|
|
729
|
+
whitelistId: string;
|
|
730
|
+
name: string;
|
|
731
|
+
currency: string;
|
|
732
|
+
address: string;
|
|
733
|
+
destinationTag: string | null;
|
|
734
|
+
}[];
|
|
735
|
+
} & {
|
|
736
|
+
id: string;
|
|
737
|
+
workspaceName: string;
|
|
738
|
+
name: string;
|
|
739
|
+
description: string | null;
|
|
740
|
+
hsmId: string;
|
|
741
|
+
type: WhitelistType;
|
|
742
|
+
status: ActivationStatus$1;
|
|
743
|
+
gateType: GateWhitelistType | null;
|
|
744
|
+
gateId: number;
|
|
745
|
+
syncId: string;
|
|
746
|
+
createdAt: Date;
|
|
747
|
+
updatedAt: Date;
|
|
748
|
+
})[];
|
|
749
|
+
}>;
|
|
750
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__WhitelistClient<({
|
|
751
|
+
addresses: {
|
|
752
|
+
id: string;
|
|
753
|
+
whitelistId: string;
|
|
754
|
+
name: string;
|
|
755
|
+
currency: string;
|
|
756
|
+
address: string;
|
|
757
|
+
destinationTag: string | null;
|
|
758
|
+
}[];
|
|
759
|
+
} & {
|
|
760
|
+
id: string;
|
|
761
|
+
workspaceName: string;
|
|
762
|
+
name: string;
|
|
763
|
+
description: string | null;
|
|
764
|
+
hsmId: string;
|
|
765
|
+
type: WhitelistType;
|
|
766
|
+
status: ActivationStatus$1;
|
|
767
|
+
gateType: GateWhitelistType | null;
|
|
768
|
+
gateId: number;
|
|
769
|
+
syncId: string;
|
|
770
|
+
createdAt: Date;
|
|
771
|
+
updatedAt: Date;
|
|
772
|
+
}) | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
773
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
774
|
+
}>;
|
|
775
|
+
};
|
|
776
|
+
reports: {
|
|
777
|
+
list: (input: ({
|
|
778
|
+
page: number;
|
|
779
|
+
pageSize: number;
|
|
780
|
+
} & {
|
|
781
|
+
sortOrder: SortOrder;
|
|
782
|
+
}) & {
|
|
783
|
+
workspaceName?: string | string[];
|
|
784
|
+
type?: ReportType$1;
|
|
785
|
+
status?: ReportStatus$1;
|
|
786
|
+
createdBy?: string;
|
|
787
|
+
sortBy: "createdAt" | "updatedAt" | "expiresAt";
|
|
788
|
+
}) => Promise<{
|
|
789
|
+
page: number;
|
|
790
|
+
next: number | null;
|
|
791
|
+
prev: number | null;
|
|
792
|
+
pageSize: number;
|
|
793
|
+
total: number;
|
|
794
|
+
results: {
|
|
795
|
+
id: string;
|
|
796
|
+
workspaceName: string;
|
|
797
|
+
type: ReportType$1;
|
|
798
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
|
799
|
+
status: ReportStatus$1;
|
|
800
|
+
s3Region: string | null;
|
|
801
|
+
s3Bucket: string | null;
|
|
802
|
+
s3Key: string | null;
|
|
803
|
+
errorMessage: string | null;
|
|
804
|
+
generationTaskId: string | null;
|
|
805
|
+
createdById: string;
|
|
806
|
+
expiresAt: Date;
|
|
807
|
+
createdAt: Date;
|
|
808
|
+
updatedAt: Date;
|
|
809
|
+
}[];
|
|
810
|
+
}>;
|
|
811
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__VaultReportClient<{
|
|
812
|
+
id: string;
|
|
813
|
+
workspaceName: string;
|
|
814
|
+
type: ReportType$1;
|
|
815
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
|
816
|
+
status: ReportStatus$1;
|
|
817
|
+
s3Region: string | null;
|
|
818
|
+
s3Bucket: string | null;
|
|
819
|
+
s3Key: string | null;
|
|
820
|
+
errorMessage: string | null;
|
|
821
|
+
generationTaskId: string | null;
|
|
822
|
+
createdById: string;
|
|
823
|
+
expiresAt: Date;
|
|
824
|
+
createdAt: Date;
|
|
825
|
+
updatedAt: Date;
|
|
826
|
+
} | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
827
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
828
|
+
}>;
|
|
829
|
+
};
|
|
830
|
+
auditLogs: {
|
|
831
|
+
list: (input: ({
|
|
832
|
+
page: number;
|
|
833
|
+
pageSize: number;
|
|
834
|
+
} & {
|
|
835
|
+
sortOrder: SortOrder;
|
|
836
|
+
}) & {
|
|
837
|
+
workspaceName?: string | string[];
|
|
838
|
+
type?: AuditLogType;
|
|
839
|
+
fromDate?: Date;
|
|
840
|
+
toDate?: Date;
|
|
841
|
+
sortBy: "createdAt" | "type";
|
|
842
|
+
}) => Promise<{
|
|
843
|
+
page: number;
|
|
844
|
+
next: number | null;
|
|
845
|
+
prev: number | null;
|
|
846
|
+
pageSize: number;
|
|
847
|
+
total: number;
|
|
848
|
+
results: {
|
|
849
|
+
id: string;
|
|
850
|
+
workspaceName: string | null;
|
|
851
|
+
type: AuditLogType;
|
|
852
|
+
payload: import("@prisma/client/runtime/client").JsonValue;
|
|
853
|
+
createdAt: Date;
|
|
854
|
+
}[];
|
|
855
|
+
}>;
|
|
856
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__AuditLogClient<{
|
|
857
|
+
id: string;
|
|
858
|
+
workspaceName: string | null;
|
|
859
|
+
type: AuditLogType;
|
|
860
|
+
payload: import("@prisma/client/runtime/client").JsonValue;
|
|
861
|
+
createdAt: Date;
|
|
862
|
+
} | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
863
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
864
|
+
}>;
|
|
865
|
+
};
|
|
866
|
+
workspaceRules: {
|
|
867
|
+
list: (input: ({
|
|
868
|
+
page: number;
|
|
869
|
+
pageSize: number;
|
|
870
|
+
} & {
|
|
871
|
+
sortOrder: SortOrder;
|
|
872
|
+
}) & {
|
|
873
|
+
workspaceName?: string | string[];
|
|
874
|
+
permission?: AdminPermission$1;
|
|
875
|
+
sortBy: "permission" | "createdAt" | "updatedAt";
|
|
876
|
+
}) => Promise<{
|
|
877
|
+
page: number;
|
|
878
|
+
next: number | null;
|
|
879
|
+
prev: number | null;
|
|
880
|
+
pageSize: number;
|
|
881
|
+
total: number;
|
|
882
|
+
results: ({
|
|
883
|
+
reviewConfig: {
|
|
884
|
+
id: string;
|
|
885
|
+
workspaceName: string;
|
|
886
|
+
type: ReviewConfigType;
|
|
887
|
+
steps: import("@prisma/client/runtime/client").JsonValue;
|
|
888
|
+
ownerPolicyId: string | null;
|
|
889
|
+
gateType: GateReviewConfigType | null;
|
|
890
|
+
gateId: number;
|
|
891
|
+
syncId: string;
|
|
892
|
+
};
|
|
893
|
+
} & {
|
|
894
|
+
id: string;
|
|
895
|
+
workspaceName: string;
|
|
896
|
+
permission: AdminPermission$1;
|
|
897
|
+
reviewConfigId: string;
|
|
898
|
+
gateType: GateWorkspaceRuleType | null;
|
|
899
|
+
gateId: number;
|
|
900
|
+
syncId: string;
|
|
901
|
+
createdAt: Date;
|
|
902
|
+
updatedAt: Date;
|
|
903
|
+
})[];
|
|
904
|
+
}>;
|
|
905
|
+
};
|
|
906
|
+
workspaces: {
|
|
907
|
+
list: (input: ({
|
|
908
|
+
page: number;
|
|
909
|
+
pageSize: number;
|
|
910
|
+
} & {
|
|
911
|
+
sortOrder: SortOrder;
|
|
912
|
+
}) & {
|
|
913
|
+
name?: string | string[];
|
|
914
|
+
mode?: RevaultMode;
|
|
915
|
+
status?: ActivationStatus$1;
|
|
916
|
+
sortBy: "name" | "createdAt" | "updatedAt";
|
|
917
|
+
}) => Promise<{
|
|
918
|
+
page: number;
|
|
919
|
+
next: number | null;
|
|
920
|
+
prev: number | null;
|
|
921
|
+
pageSize: number;
|
|
922
|
+
total: number;
|
|
923
|
+
results: {
|
|
924
|
+
id: string;
|
|
925
|
+
name: string;
|
|
926
|
+
compartmentId: number;
|
|
927
|
+
targetHsmName: string;
|
|
928
|
+
mode: RevaultMode;
|
|
929
|
+
hsmHostingMode: HsmHostingMode;
|
|
930
|
+
status: ActivationStatus$1;
|
|
931
|
+
maintenanceMode: MaintenanceMode;
|
|
932
|
+
createdAt: Date;
|
|
933
|
+
updatedAt: Date;
|
|
934
|
+
pkiRootCaFetched: boolean;
|
|
935
|
+
oidcConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
936
|
+
}[];
|
|
937
|
+
}>;
|
|
938
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__WorkspaceClient<{
|
|
939
|
+
id: string;
|
|
940
|
+
name: string;
|
|
941
|
+
compartmentId: number;
|
|
942
|
+
targetHsmName: string;
|
|
943
|
+
mode: RevaultMode;
|
|
944
|
+
hsmHostingMode: HsmHostingMode;
|
|
945
|
+
status: ActivationStatus$1;
|
|
946
|
+
maintenanceMode: MaintenanceMode;
|
|
947
|
+
createdAt: Date;
|
|
948
|
+
updatedAt: Date;
|
|
949
|
+
pkiRootCaFetched: boolean;
|
|
950
|
+
oidcConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
951
|
+
} | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
952
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
953
|
+
}>;
|
|
954
|
+
edit: (actor: BackofficeClaims, requiredPermission: "workspace:edit", input: {
|
|
955
|
+
name: string;
|
|
956
|
+
mode?: RevaultMode;
|
|
957
|
+
maintenanceMode?: MaintenanceMode;
|
|
958
|
+
oidcConfig?: import("@/generated/prisma/internal/prismaNamespace").InputJsonValue | null;
|
|
959
|
+
hsmProxyName?: string;
|
|
960
|
+
}) => Promise<{
|
|
961
|
+
id: string;
|
|
962
|
+
name: string;
|
|
963
|
+
compartmentId: number;
|
|
964
|
+
targetHsmName: string;
|
|
965
|
+
mode: RevaultMode;
|
|
966
|
+
hsmHostingMode: HsmHostingMode;
|
|
967
|
+
status: ActivationStatus$1;
|
|
968
|
+
maintenanceMode: MaintenanceMode;
|
|
969
|
+
createdAt: Date;
|
|
970
|
+
updatedAt: Date;
|
|
971
|
+
pkiRootCaFetched: boolean;
|
|
972
|
+
oidcConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
973
|
+
}>;
|
|
974
|
+
setMaintenanceMode: (actor: BackofficeClaims, requiredPermission: "workspace:edit", input: {
|
|
975
|
+
workspaceNames: string[];
|
|
976
|
+
maintenanceMode: MaintenanceMode;
|
|
977
|
+
}) => Promise<{
|
|
978
|
+
maintenanceMode: MaintenanceMode;
|
|
979
|
+
totalCount: number;
|
|
980
|
+
changedCount: number;
|
|
981
|
+
}>;
|
|
982
|
+
};
|
|
983
|
+
onboardings: {
|
|
984
|
+
list: (input: ({
|
|
985
|
+
page: number;
|
|
986
|
+
pageSize: number;
|
|
987
|
+
} & {
|
|
988
|
+
sortOrder: SortOrder;
|
|
989
|
+
}) & {
|
|
990
|
+
workspaceName?: string | string[];
|
|
991
|
+
step?: OnboardingStep | OnboardingStep[];
|
|
992
|
+
hsmHostingMode?: HsmHostingMode;
|
|
993
|
+
sortBy: "workspaceName" | "step" | "createdAt" | "completedAt";
|
|
994
|
+
}) => Promise<{
|
|
995
|
+
page: number;
|
|
996
|
+
next: number | null;
|
|
997
|
+
prev: number | null;
|
|
998
|
+
pageSize: number;
|
|
999
|
+
total: number;
|
|
1000
|
+
results: ({
|
|
1001
|
+
claimedDevices: {
|
|
1002
|
+
id: string;
|
|
1003
|
+
onboardingId: string;
|
|
1004
|
+
pubKey: string;
|
|
1005
|
+
deviceUserId: string;
|
|
1006
|
+
deviceName: string;
|
|
1007
|
+
role: ClaimedRole;
|
|
1008
|
+
claimedAt: Date;
|
|
1009
|
+
}[];
|
|
1010
|
+
users: ({
|
|
1011
|
+
reviewByMasterAdmin: {
|
|
1012
|
+
id: string;
|
|
1013
|
+
reviewerId: string;
|
|
1014
|
+
challenge: import("@prisma/client/runtime/client").JsonValue;
|
|
1015
|
+
signature: string | null;
|
|
1016
|
+
} | null;
|
|
1017
|
+
reviewBySharedOwner: {
|
|
1018
|
+
id: string;
|
|
1019
|
+
reviewerId: string;
|
|
1020
|
+
seedChallenge: import("@prisma/client/runtime/client").JsonValue;
|
|
1021
|
+
seedFragment: import("@prisma/client/runtime/client").JsonValue;
|
|
1022
|
+
} | null;
|
|
1023
|
+
reviewOfExternalSigners: {
|
|
1024
|
+
id: string;
|
|
1025
|
+
reviewerId: string;
|
|
1026
|
+
challenge: import("@prisma/client/runtime/client").JsonValue;
|
|
1027
|
+
signature: string | null;
|
|
1028
|
+
} | null;
|
|
1029
|
+
} & {
|
|
1030
|
+
id: string;
|
|
1031
|
+
onboardingId: string;
|
|
1032
|
+
name: string;
|
|
1033
|
+
role: OnboardedUserRole;
|
|
1034
|
+
psdModel: PsdModel;
|
|
1035
|
+
pubKey: string;
|
|
1036
|
+
deviceUserId: string;
|
|
1037
|
+
u2fKeyHandle: string | null;
|
|
1038
|
+
u2fPubKey: string | null;
|
|
1039
|
+
registrationChallenge: import("@prisma/client/runtime/client").JsonValue;
|
|
1040
|
+
registrationResponse: import("@prisma/client/runtime/client").JsonValue;
|
|
1041
|
+
createdAt: Date;
|
|
1042
|
+
})[];
|
|
1043
|
+
wrappingKey: ({
|
|
1044
|
+
fragments: {
|
|
1045
|
+
id: string;
|
|
1046
|
+
wrappingKeyId: string;
|
|
1047
|
+
pubKey: string;
|
|
1048
|
+
ephemeralPubKey: string;
|
|
1049
|
+
ephemeralCertificate: import("@prisma/client/runtime/client").JsonValue;
|
|
1050
|
+
blob: string;
|
|
1051
|
+
}[];
|
|
1052
|
+
} & {
|
|
1053
|
+
id: string;
|
|
1054
|
+
onboardingId: string;
|
|
1055
|
+
ephemeralPubKey: string;
|
|
1056
|
+
ephemeralCertificate: import("@prisma/client/runtime/client").JsonValue;
|
|
1057
|
+
}) | null;
|
|
1058
|
+
} & {
|
|
1059
|
+
id: string;
|
|
1060
|
+
workspaceName: string;
|
|
1061
|
+
mode: RevaultMode;
|
|
1062
|
+
compartmentId: number;
|
|
1063
|
+
targetHsmName: string;
|
|
1064
|
+
hsmHostingMode: HsmHostingMode;
|
|
1065
|
+
step: OnboardingStep;
|
|
1066
|
+
isLocked: boolean;
|
|
1067
|
+
createdAt: Date;
|
|
1068
|
+
completedAt: Date | null;
|
|
1069
|
+
})[];
|
|
1070
|
+
}>;
|
|
1071
|
+
find: (id: string) => import("@/generated/prisma/models").Prisma__OnboardingClient<({
|
|
1072
|
+
claimedDevices: {
|
|
1073
|
+
id: string;
|
|
1074
|
+
onboardingId: string;
|
|
1075
|
+
pubKey: string;
|
|
1076
|
+
deviceUserId: string;
|
|
1077
|
+
deviceName: string;
|
|
1078
|
+
role: ClaimedRole;
|
|
1079
|
+
claimedAt: Date;
|
|
1080
|
+
}[];
|
|
1081
|
+
users: ({
|
|
1082
|
+
reviewByMasterAdmin: {
|
|
1083
|
+
id: string;
|
|
1084
|
+
reviewerId: string;
|
|
1085
|
+
challenge: import("@prisma/client/runtime/client").JsonValue;
|
|
1086
|
+
signature: string | null;
|
|
1087
|
+
} | null;
|
|
1088
|
+
reviewBySharedOwner: {
|
|
1089
|
+
id: string;
|
|
1090
|
+
reviewerId: string;
|
|
1091
|
+
seedChallenge: import("@prisma/client/runtime/client").JsonValue;
|
|
1092
|
+
seedFragment: import("@prisma/client/runtime/client").JsonValue;
|
|
1093
|
+
} | null;
|
|
1094
|
+
reviewOfExternalSigners: {
|
|
1095
|
+
id: string;
|
|
1096
|
+
reviewerId: string;
|
|
1097
|
+
challenge: import("@prisma/client/runtime/client").JsonValue;
|
|
1098
|
+
signature: string | null;
|
|
1099
|
+
} | null;
|
|
1100
|
+
} & {
|
|
1101
|
+
id: string;
|
|
1102
|
+
onboardingId: string;
|
|
1103
|
+
name: string;
|
|
1104
|
+
role: OnboardedUserRole;
|
|
1105
|
+
psdModel: PsdModel;
|
|
1106
|
+
pubKey: string;
|
|
1107
|
+
deviceUserId: string;
|
|
1108
|
+
u2fKeyHandle: string | null;
|
|
1109
|
+
u2fPubKey: string | null;
|
|
1110
|
+
registrationChallenge: import("@prisma/client/runtime/client").JsonValue;
|
|
1111
|
+
registrationResponse: import("@prisma/client/runtime/client").JsonValue;
|
|
1112
|
+
createdAt: Date;
|
|
1113
|
+
})[];
|
|
1114
|
+
wrappingKey: ({
|
|
1115
|
+
fragments: {
|
|
1116
|
+
id: string;
|
|
1117
|
+
wrappingKeyId: string;
|
|
1118
|
+
pubKey: string;
|
|
1119
|
+
ephemeralPubKey: string;
|
|
1120
|
+
ephemeralCertificate: import("@prisma/client/runtime/client").JsonValue;
|
|
1121
|
+
blob: string;
|
|
1122
|
+
}[];
|
|
1123
|
+
} & {
|
|
1124
|
+
id: string;
|
|
1125
|
+
onboardingId: string;
|
|
1126
|
+
ephemeralPubKey: string;
|
|
1127
|
+
ephemeralCertificate: import("@prisma/client/runtime/client").JsonValue;
|
|
1128
|
+
}) | null;
|
|
1129
|
+
} & {
|
|
1130
|
+
id: string;
|
|
1131
|
+
workspaceName: string;
|
|
1132
|
+
mode: RevaultMode;
|
|
1133
|
+
compartmentId: number;
|
|
1134
|
+
targetHsmName: string;
|
|
1135
|
+
hsmHostingMode: HsmHostingMode;
|
|
1136
|
+
step: OnboardingStep;
|
|
1137
|
+
isLocked: boolean;
|
|
1138
|
+
createdAt: Date;
|
|
1139
|
+
completedAt: Date | null;
|
|
1140
|
+
}) | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
1141
|
+
omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
|
|
1142
|
+
}>;
|
|
1143
|
+
create: (actor: BackofficeClaims, requiredPermission: "onboarding:create", input: Parameters<typeof startOnboarding>[1]) => Promise<{
|
|
1144
|
+
id: string;
|
|
1145
|
+
workspaceName: string;
|
|
1146
|
+
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
1147
|
+
step: "COMPLETED" | "PENDING_DEVICE_CLAIMS" | "PENDING_EXTERNAL_SIGNERS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION_INIT" | "PENDING_REVIEW_BY_MASTER_ADMINS" | "PENDING_SEED_PROVISIONING" | "PENDING_SHARED_OWNERS_REGISTRATION" | "PENDING_SHARED_OWNERS_REGISTRATION_INIT" | "PENDING_WORKSPACE_INITIALIZATION" | "PENDING_WRAPPING_KEY_PROVISIONING";
|
|
1148
|
+
claimedDevices: {
|
|
1149
|
+
pubKey: string;
|
|
1150
|
+
deviceUserId: string;
|
|
1151
|
+
deviceName: string;
|
|
1152
|
+
role: "MASTER_ADMIN" | "SHARED_OWNER" | "WRAPPING_KEY_OWNER";
|
|
1153
|
+
}[];
|
|
1154
|
+
wrappingKey: {
|
|
1155
|
+
ephemeralPubKey: string;
|
|
1156
|
+
ephemeralCertificate: HsmCertificate;
|
|
1157
|
+
fragments: {
|
|
1158
|
+
pubKey: string;
|
|
1159
|
+
ephemeralPubKey: string;
|
|
1160
|
+
ephemeralCertificate: HsmCertificate;
|
|
1161
|
+
blob: string;
|
|
1162
|
+
}[];
|
|
1163
|
+
} | null;
|
|
1164
|
+
masterAdmins: {
|
|
1165
|
+
name: string;
|
|
1166
|
+
psdModel: "STAX";
|
|
1167
|
+
pubKey: string;
|
|
1168
|
+
registrationChallenge: {
|
|
1169
|
+
challenge: string;
|
|
1170
|
+
ephemeralPublicKey: string;
|
|
1171
|
+
ephemeralPublicKeyAttestation: HsmCertificate;
|
|
1172
|
+
handshake: string;
|
|
1173
|
+
handshakeAttestation: HsmCertificate;
|
|
1174
|
+
u2fRegisterData: string;
|
|
1175
|
+
ciphertext: string;
|
|
1176
|
+
requestId: string;
|
|
1177
|
+
};
|
|
1178
|
+
registrationResponse: {
|
|
1179
|
+
certificate: HsmCertificate;
|
|
1180
|
+
u2fRegister: string;
|
|
1181
|
+
u2fKeyHandle: string;
|
|
1182
|
+
registerData: string;
|
|
1183
|
+
validationKey: string;
|
|
1184
|
+
pairingPayload: string;
|
|
1185
|
+
} | null;
|
|
1186
|
+
role: "MASTER_ADMIN";
|
|
1187
|
+
review: {
|
|
1188
|
+
challenge: {
|
|
1189
|
+
challengeType: "PSD";
|
|
1190
|
+
wActions: string[];
|
|
1191
|
+
handshake: string;
|
|
1192
|
+
handshakeAttestation: HsmCertificate;
|
|
1193
|
+
partitionId: string;
|
|
1194
|
+
};
|
|
1195
|
+
signature: string | null;
|
|
1196
|
+
} | null;
|
|
1197
|
+
reviewOfExternalSigners: {
|
|
1198
|
+
challenge: {
|
|
1199
|
+
challengeType: "PSD";
|
|
1200
|
+
wActions: string[];
|
|
1201
|
+
handshake: string;
|
|
1202
|
+
handshakeAttestation: HsmCertificate;
|
|
1203
|
+
partitionId: string;
|
|
1204
|
+
};
|
|
1205
|
+
signature: string | null;
|
|
1206
|
+
} | null;
|
|
1207
|
+
}[];
|
|
1208
|
+
sharedOwners: {
|
|
1209
|
+
name: string;
|
|
1210
|
+
psdModel: "STAX";
|
|
1211
|
+
pubKey: string;
|
|
1212
|
+
registrationChallenge: {
|
|
1213
|
+
challenge: string;
|
|
1214
|
+
ephemeralPublicKey: string;
|
|
1215
|
+
ephemeralPublicKeyAttestation: HsmCertificate;
|
|
1216
|
+
handshake: string;
|
|
1217
|
+
handshakeAttestation: HsmCertificate;
|
|
1218
|
+
u2fRegisterData: string;
|
|
1219
|
+
ciphertext: string;
|
|
1220
|
+
requestId: string;
|
|
1221
|
+
};
|
|
1222
|
+
registrationResponse: {
|
|
1223
|
+
certificate: HsmCertificate;
|
|
1224
|
+
u2fRegister: string;
|
|
1225
|
+
u2fKeyHandle: string;
|
|
1226
|
+
registerData: string;
|
|
1227
|
+
validationKey: string;
|
|
1228
|
+
pairingPayload: string;
|
|
1229
|
+
} | null;
|
|
1230
|
+
role: "SHARED_OWNER";
|
|
1231
|
+
review: {
|
|
1232
|
+
seedChallenge: {
|
|
1233
|
+
challengeType: "PSD";
|
|
1234
|
+
wActions: string[];
|
|
1235
|
+
handshake: string;
|
|
1236
|
+
handshakeAttestation: HsmCertificate;
|
|
1237
|
+
partitionId: string;
|
|
1238
|
+
kkHandshake: string;
|
|
1239
|
+
kkHandshakeAttestation: HsmCertificate;
|
|
1240
|
+
ephemeralPublicKey: string;
|
|
1241
|
+
certificate: HsmCertificate;
|
|
1242
|
+
blob: string;
|
|
1243
|
+
};
|
|
1244
|
+
seedFragment: {
|
|
1245
|
+
approverBlob: string;
|
|
1246
|
+
challengeResponse: string;
|
|
1247
|
+
handshake: string;
|
|
1248
|
+
handshakeAttestation: HsmCertificate;
|
|
1249
|
+
} | null;
|
|
1250
|
+
} | null;
|
|
1251
|
+
}[];
|
|
1252
|
+
createdAt: Date;
|
|
1253
|
+
completedAt: Date | null;
|
|
1254
|
+
}>;
|
|
1255
|
+
};
|
|
1256
|
+
requests: {
|
|
1257
|
+
list: (filters: Omit<RequestListFilters, "visibility">) => Promise<{
|
|
1258
|
+
page: number;
|
|
1259
|
+
next: number | null;
|
|
1260
|
+
prev: number | null;
|
|
1261
|
+
pageSize: number;
|
|
1262
|
+
total: number;
|
|
1263
|
+
results: RequestView[];
|
|
1264
|
+
}>;
|
|
1265
|
+
find: (id: string) => Promise<RequestView | null>;
|
|
1266
|
+
restart: (actor: BackofficeClaims, requiredPermission: "request:restart", id: string) => Promise<void>;
|
|
1267
|
+
expire: (actor: BackofficeClaims, requiredPermission: "request:expire", id: string) => Promise<void>;
|
|
1268
|
+
};
|
|
1269
|
+
webhooks: {
|
|
1270
|
+
list: (input: ({
|
|
1271
|
+
page: number;
|
|
1272
|
+
pageSize: number;
|
|
1273
|
+
} & {
|
|
1274
|
+
sortOrder: SortOrder;
|
|
1275
|
+
}) & {
|
|
1276
|
+
workspaceName?: string | string[];
|
|
1277
|
+
status?: WebhookStatus$1;
|
|
1278
|
+
search?: string;
|
|
1279
|
+
statsWindowDays: number;
|
|
1280
|
+
}) => Promise<{
|
|
1281
|
+
page: {
|
|
1282
|
+
page: number;
|
|
1283
|
+
next: number | null;
|
|
1284
|
+
prev: number | null;
|
|
1285
|
+
pageSize: number;
|
|
1286
|
+
total: number;
|
|
1287
|
+
results: ({
|
|
1288
|
+
rules: {
|
|
1289
|
+
id: string;
|
|
1290
|
+
webhookId: string;
|
|
1291
|
+
actions: EventAction$1[];
|
|
1292
|
+
requestTypes: RequestType$1[];
|
|
1293
|
+
createdAt: Date;
|
|
1294
|
+
}[];
|
|
1295
|
+
scopeUsers: {
|
|
1296
|
+
id: string;
|
|
1297
|
+
workspaceName: string;
|
|
1298
|
+
name: string;
|
|
1299
|
+
authUserId: string | null;
|
|
1300
|
+
pubKey: string;
|
|
1301
|
+
deviceType: UserDeviceType;
|
|
1302
|
+
deviceUserId: string | null;
|
|
1303
|
+
hsmId: string | null;
|
|
1304
|
+
u2fKeyHandle: string | null;
|
|
1305
|
+
u2fPubKey: string | null;
|
|
1306
|
+
legacyViewAll: boolean;
|
|
1307
|
+
role: UserRole;
|
|
1308
|
+
status: ActivationStatus$1;
|
|
1309
|
+
isSuspended: boolean;
|
|
1310
|
+
gateType: GateUserType | null;
|
|
1311
|
+
gateId: number;
|
|
1312
|
+
syncId: string;
|
|
1313
|
+
createdAt: Date;
|
|
1314
|
+
updatedAt: Date;
|
|
1315
|
+
}[];
|
|
1316
|
+
} & {
|
|
1317
|
+
id: string;
|
|
1318
|
+
workspaceName: string;
|
|
1319
|
+
name: string;
|
|
1320
|
+
description: string | null;
|
|
1321
|
+
url: string;
|
|
1322
|
+
status: WebhookStatus$1;
|
|
1323
|
+
retryStrategy: WebhookRetryStrategy$1;
|
|
1324
|
+
maxRetries: number;
|
|
1325
|
+
initialIntervalMs: number;
|
|
1326
|
+
consecutiveFailures: number;
|
|
1327
|
+
brokenSince: Date | null;
|
|
1328
|
+
createdAt: Date;
|
|
1329
|
+
updatedAt: Date;
|
|
1330
|
+
})[];
|
|
1331
|
+
};
|
|
1332
|
+
stats: Map<string, WebhookDeliveryStats>;
|
|
1333
|
+
}>;
|
|
1334
|
+
};
|
|
1335
|
+
hsm: {
|
|
1336
|
+
compareWorkspace: (input: {
|
|
1337
|
+
workspaceName: string;
|
|
1338
|
+
comparator: HsmComparator;
|
|
1339
|
+
}) => Promise<HsmWorkspaceComparison>;
|
|
1340
|
+
};
|
|
1341
|
+
relationships: {
|
|
1342
|
+
dryRun: (input: {
|
|
1343
|
+
workspaceName: string;
|
|
1344
|
+
shapeLimit: number;
|
|
1345
|
+
}) => Promise<{
|
|
1346
|
+
workspaceName: string;
|
|
1347
|
+
dryRun: true;
|
|
1348
|
+
rawTupleCount: number;
|
|
1349
|
+
uniqueTupleCount: number;
|
|
1350
|
+
duplicateTupleCount: number;
|
|
1351
|
+
buildDurationMs: number;
|
|
1352
|
+
shapeCounts: RelationshipShapeCount[];
|
|
1353
|
+
}>;
|
|
1354
|
+
materialize: (actor: BackofficeClaims, requiredPermission: "workspace:edit", input: {
|
|
1355
|
+
workspaceName: string;
|
|
1356
|
+
confirm: string;
|
|
1357
|
+
}) => Promise<{
|
|
1358
|
+
rawTupleCount: number;
|
|
1359
|
+
uniqueTupleCount: number;
|
|
1360
|
+
currentTupleCount: number;
|
|
1361
|
+
buildDurationMs: number;
|
|
1362
|
+
writeDurationMs: number;
|
|
1363
|
+
totalDurationMs: number;
|
|
1364
|
+
workspaceName: string;
|
|
1365
|
+
}>;
|
|
1366
|
+
health: (input: {
|
|
1367
|
+
workspaceName: string;
|
|
1368
|
+
shapeLimit: number;
|
|
1369
|
+
}) => Promise<RelationshipHealth>;
|
|
1370
|
+
driftCheck: (input: {
|
|
1371
|
+
workspaceName: string;
|
|
1372
|
+
sampleLimit: number;
|
|
1373
|
+
}) => Promise<RelationshipDriftCheck>;
|
|
1374
|
+
};
|
|
1375
|
+
};
|
|
1376
|
+
interface RuntimeInternalCapabilities extends ReturnType<typeof createInternalCapabilities> {}
|
|
1377
|
+
/**
|
|
1378
|
+
* Request capability provider for the *internal* HTTP context: the full public provider plus the
|
|
1379
|
+
* administration bucket, exposed at `ctx.core.administration`. Its {@link forReadOnlyRequest}
|
|
1380
|
+
* rebinds the *entire* internal set (public + admin) onto the write-rejecting Prisma extension, so
|
|
1381
|
+
* a read-only (backoffice impersonation, ADR-0012) session cannot mutate through any capability.
|
|
1382
|
+
*/
|
|
1383
|
+
interface RuntimeInternalApiCapabilityProvider extends RuntimeApiCapabilities {
|
|
1384
|
+
administration: RuntimeInternalCapabilities;
|
|
1385
|
+
forReadOnlyRequest: () => RuntimeInternalApiCapabilityProvider;
|
|
1386
|
+
}
|
|
1387
|
+
//#endregion
|
|
4
1388
|
//#region src/core/workspaces/schemas.d.ts
|
|
5
1389
|
declare const zWorkspaceName: z.ZodString;
|
|
6
1390
|
//#endregion
|
|
@@ -13,7 +1397,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
13
1397
|
debugAuthToken?: string;
|
|
14
1398
|
rootAuthToken?: string;
|
|
15
1399
|
backofficeRequiredPermission?: BackofficePermission;
|
|
16
|
-
prisma: ExtendedPrismaClient;
|
|
17
1400
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
18
1401
|
user: {
|
|
19
1402
|
id: string;
|
|
@@ -28,7 +1411,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28
1411
|
u2fPubKey: string | null;
|
|
29
1412
|
legacyViewAll: boolean;
|
|
30
1413
|
role: UserRole;
|
|
31
|
-
status: ActivationStatus;
|
|
1414
|
+
status: ActivationStatus$1;
|
|
32
1415
|
isSuspended: boolean;
|
|
33
1416
|
gateType: GateUserType | null;
|
|
34
1417
|
gateId: number;
|
|
@@ -39,28 +1422,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
39
1422
|
authorization: string | null;
|
|
40
1423
|
readOnly: boolean;
|
|
41
1424
|
activityTracer: ActivityTracer;
|
|
42
|
-
core:
|
|
1425
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
43
1426
|
};
|
|
44
|
-
meta:
|
|
45
|
-
[x: string]: unknown;
|
|
46
|
-
} & {
|
|
47
|
-
openapi?: {
|
|
48
|
-
enabled?: boolean;
|
|
49
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
50
|
-
path: `/${string}`;
|
|
51
|
-
operationId?: string;
|
|
52
|
-
summary?: string;
|
|
53
|
-
description?: string;
|
|
54
|
-
protect?: boolean;
|
|
55
|
-
tags?: string[];
|
|
56
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
57
|
-
deprecated?: boolean;
|
|
58
|
-
requestHeaders?: import("zod").ZodObject;
|
|
59
|
-
responseHeaders?: import("zod").ZodObject;
|
|
60
|
-
successDescription?: string;
|
|
61
|
-
errorResponses?: number[] | Record<number, string>;
|
|
62
|
-
};
|
|
63
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1427
|
+
meta: TrpcMeta;
|
|
64
1428
|
errorShape: {
|
|
65
1429
|
message: string;
|
|
66
1430
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -83,7 +1447,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
83
1447
|
debugAuthToken?: string;
|
|
84
1448
|
rootAuthToken?: string;
|
|
85
1449
|
backofficeRequiredPermission?: BackofficePermission;
|
|
86
|
-
prisma: ExtendedPrismaClient;
|
|
87
1450
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
88
1451
|
user: {
|
|
89
1452
|
id: string;
|
|
@@ -98,7 +1461,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
98
1461
|
u2fPubKey: string | null;
|
|
99
1462
|
legacyViewAll: boolean;
|
|
100
1463
|
role: UserRole;
|
|
101
|
-
status: ActivationStatus;
|
|
1464
|
+
status: ActivationStatus$1;
|
|
102
1465
|
isSuspended: boolean;
|
|
103
1466
|
gateType: GateUserType | null;
|
|
104
1467
|
gateId: number;
|
|
@@ -109,28 +1472,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
109
1472
|
authorization: string | null;
|
|
110
1473
|
readOnly: boolean;
|
|
111
1474
|
activityTracer: ActivityTracer;
|
|
112
|
-
core:
|
|
1475
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
113
1476
|
};
|
|
114
|
-
meta:
|
|
115
|
-
[x: string]: unknown;
|
|
116
|
-
} & {
|
|
117
|
-
openapi?: {
|
|
118
|
-
enabled?: boolean;
|
|
119
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
120
|
-
path: `/${string}`;
|
|
121
|
-
operationId?: string;
|
|
122
|
-
summary?: string;
|
|
123
|
-
description?: string;
|
|
124
|
-
protect?: boolean;
|
|
125
|
-
tags?: string[];
|
|
126
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
127
|
-
deprecated?: boolean;
|
|
128
|
-
requestHeaders?: import("zod").ZodObject;
|
|
129
|
-
responseHeaders?: import("zod").ZodObject;
|
|
130
|
-
successDescription?: string;
|
|
131
|
-
errorResponses?: number[] | Record<number, string>;
|
|
132
|
-
};
|
|
133
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1477
|
+
meta: TrpcMeta;
|
|
134
1478
|
errorShape: {
|
|
135
1479
|
message: string;
|
|
136
1480
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -152,26 +1496,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
152
1496
|
groups: string[];
|
|
153
1497
|
permissions: ("backoffice:read" | "impersonation:list" | "impersonation:request" | "impersonation:revoke" | "onboarding:create" | "request:expire" | "request:restart" | "workspace:edit")[];
|
|
154
1498
|
};
|
|
155
|
-
meta:
|
|
156
|
-
[x: string]: unknown;
|
|
157
|
-
} & {
|
|
158
|
-
openapi?: {
|
|
159
|
-
enabled?: boolean;
|
|
160
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
161
|
-
path: `/${string}`;
|
|
162
|
-
operationId?: string;
|
|
163
|
-
summary?: string;
|
|
164
|
-
description?: string;
|
|
165
|
-
protect?: boolean;
|
|
166
|
-
tags?: string[];
|
|
167
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
168
|
-
deprecated?: boolean;
|
|
169
|
-
requestHeaders?: import("zod").ZodObject;
|
|
170
|
-
responseHeaders?: import("zod").ZodObject;
|
|
171
|
-
successDescription?: string;
|
|
172
|
-
errorResponses?: number[] | Record<number, string>;
|
|
173
|
-
};
|
|
174
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1499
|
+
meta: TrpcMeta;
|
|
175
1500
|
}>;
|
|
176
1501
|
workspaces: import("@trpc/server").TRPCBuiltRouter<{
|
|
177
1502
|
ctx: {
|
|
@@ -181,7 +1506,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
181
1506
|
debugAuthToken?: string;
|
|
182
1507
|
rootAuthToken?: string;
|
|
183
1508
|
backofficeRequiredPermission?: BackofficePermission;
|
|
184
|
-
prisma: ExtendedPrismaClient;
|
|
185
1509
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
186
1510
|
user: {
|
|
187
1511
|
id: string;
|
|
@@ -196,7 +1520,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
196
1520
|
u2fPubKey: string | null;
|
|
197
1521
|
legacyViewAll: boolean;
|
|
198
1522
|
role: UserRole;
|
|
199
|
-
status: ActivationStatus;
|
|
1523
|
+
status: ActivationStatus$1;
|
|
200
1524
|
isSuspended: boolean;
|
|
201
1525
|
gateType: GateUserType | null;
|
|
202
1526
|
gateId: number;
|
|
@@ -207,28 +1531,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
207
1531
|
authorization: string | null;
|
|
208
1532
|
readOnly: boolean;
|
|
209
1533
|
activityTracer: ActivityTracer;
|
|
210
|
-
core:
|
|
1534
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
211
1535
|
};
|
|
212
|
-
meta:
|
|
213
|
-
[x: string]: unknown;
|
|
214
|
-
} & {
|
|
215
|
-
openapi?: {
|
|
216
|
-
enabled?: boolean;
|
|
217
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
218
|
-
path: `/${string}`;
|
|
219
|
-
operationId?: string;
|
|
220
|
-
summary?: string;
|
|
221
|
-
description?: string;
|
|
222
|
-
protect?: boolean;
|
|
223
|
-
tags?: string[];
|
|
224
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
225
|
-
deprecated?: boolean;
|
|
226
|
-
requestHeaders?: import("zod").ZodObject;
|
|
227
|
-
responseHeaders?: import("zod").ZodObject;
|
|
228
|
-
successDescription?: string;
|
|
229
|
-
errorResponses?: number[] | Record<number, string>;
|
|
230
|
-
};
|
|
231
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1536
|
+
meta: TrpcMeta;
|
|
232
1537
|
errorShape: {
|
|
233
1538
|
message: string;
|
|
234
1539
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -269,31 +1574,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
269
1574
|
createdAt: Date;
|
|
270
1575
|
updatedAt: Date;
|
|
271
1576
|
} & {
|
|
272
|
-
status: ActivationStatus;
|
|
1577
|
+
status: ActivationStatus$1;
|
|
273
1578
|
maintenanceMode: MaintenanceMode;
|
|
274
1579
|
oidcConfig: import("zod").output<typeof zOidcConfig> | null;
|
|
275
1580
|
})[];
|
|
276
1581
|
};
|
|
277
|
-
meta:
|
|
278
|
-
[x: string]: unknown;
|
|
279
|
-
} & {
|
|
280
|
-
openapi?: {
|
|
281
|
-
enabled?: boolean;
|
|
282
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
283
|
-
path: `/${string}`;
|
|
284
|
-
operationId?: string;
|
|
285
|
-
summary?: string;
|
|
286
|
-
description?: string;
|
|
287
|
-
protect?: boolean;
|
|
288
|
-
tags?: string[];
|
|
289
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
290
|
-
deprecated?: boolean;
|
|
291
|
-
requestHeaders?: import("zod").ZodObject;
|
|
292
|
-
responseHeaders?: import("zod").ZodObject;
|
|
293
|
-
successDescription?: string;
|
|
294
|
-
errorResponses?: number[] | Record<number, string>;
|
|
295
|
-
};
|
|
296
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1582
|
+
meta: TrpcMeta;
|
|
297
1583
|
}>;
|
|
298
1584
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
299
1585
|
input: {
|
|
@@ -317,26 +1603,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
317
1603
|
realm: string;
|
|
318
1604
|
} | null;
|
|
319
1605
|
};
|
|
320
|
-
meta:
|
|
321
|
-
[x: string]: unknown;
|
|
322
|
-
} & {
|
|
323
|
-
openapi?: {
|
|
324
|
-
enabled?: boolean;
|
|
325
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
326
|
-
path: `/${string}`;
|
|
327
|
-
operationId?: string;
|
|
328
|
-
summary?: string;
|
|
329
|
-
description?: string;
|
|
330
|
-
protect?: boolean;
|
|
331
|
-
tags?: string[];
|
|
332
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
333
|
-
deprecated?: boolean;
|
|
334
|
-
requestHeaders?: import("zod").ZodObject;
|
|
335
|
-
responseHeaders?: import("zod").ZodObject;
|
|
336
|
-
successDescription?: string;
|
|
337
|
-
errorResponses?: number[] | Record<number, string>;
|
|
338
|
-
};
|
|
339
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1606
|
+
meta: TrpcMeta;
|
|
340
1607
|
}>;
|
|
341
1608
|
setMaintenanceMode: import("@trpc/server").TRPCMutationProcedure<{
|
|
342
1609
|
input: {
|
|
@@ -349,26 +1616,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
349
1616
|
totalCount: number;
|
|
350
1617
|
changedCount: number;
|
|
351
1618
|
};
|
|
352
|
-
meta:
|
|
353
|
-
[x: string]: unknown;
|
|
354
|
-
} & {
|
|
355
|
-
openapi?: {
|
|
356
|
-
enabled?: boolean;
|
|
357
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
358
|
-
path: `/${string}`;
|
|
359
|
-
operationId?: string;
|
|
360
|
-
summary?: string;
|
|
361
|
-
description?: string;
|
|
362
|
-
protect?: boolean;
|
|
363
|
-
tags?: string[];
|
|
364
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
365
|
-
deprecated?: boolean;
|
|
366
|
-
requestHeaders?: import("zod").ZodObject;
|
|
367
|
-
responseHeaders?: import("zod").ZodObject;
|
|
368
|
-
successDescription?: string;
|
|
369
|
-
errorResponses?: number[] | Record<number, string>;
|
|
370
|
-
};
|
|
371
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1619
|
+
meta: TrpcMeta;
|
|
372
1620
|
}>;
|
|
373
1621
|
edit: import("@trpc/server").TRPCMutationProcedure<{
|
|
374
1622
|
input: {
|
|
@@ -400,26 +1648,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
400
1648
|
realm: string;
|
|
401
1649
|
} | null;
|
|
402
1650
|
};
|
|
403
|
-
meta:
|
|
404
|
-
[x: string]: unknown;
|
|
405
|
-
} & {
|
|
406
|
-
openapi?: {
|
|
407
|
-
enabled?: boolean;
|
|
408
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
409
|
-
path: `/${string}`;
|
|
410
|
-
operationId?: string;
|
|
411
|
-
summary?: string;
|
|
412
|
-
description?: string;
|
|
413
|
-
protect?: boolean;
|
|
414
|
-
tags?: string[];
|
|
415
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
416
|
-
deprecated?: boolean;
|
|
417
|
-
requestHeaders?: import("zod").ZodObject;
|
|
418
|
-
responseHeaders?: import("zod").ZodObject;
|
|
419
|
-
successDescription?: string;
|
|
420
|
-
errorResponses?: number[] | Record<number, string>;
|
|
421
|
-
};
|
|
422
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1651
|
+
meta: TrpcMeta;
|
|
423
1652
|
}>;
|
|
424
1653
|
}>>;
|
|
425
1654
|
onboardings: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -430,7 +1659,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
430
1659
|
debugAuthToken?: string;
|
|
431
1660
|
rootAuthToken?: string;
|
|
432
1661
|
backofficeRequiredPermission?: BackofficePermission;
|
|
433
|
-
prisma: ExtendedPrismaClient;
|
|
434
1662
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
435
1663
|
user: {
|
|
436
1664
|
id: string;
|
|
@@ -445,7 +1673,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
445
1673
|
u2fPubKey: string | null;
|
|
446
1674
|
legacyViewAll: boolean;
|
|
447
1675
|
role: UserRole;
|
|
448
|
-
status: ActivationStatus;
|
|
1676
|
+
status: ActivationStatus$1;
|
|
449
1677
|
isSuspended: boolean;
|
|
450
1678
|
gateType: GateUserType | null;
|
|
451
1679
|
gateId: number;
|
|
@@ -456,28 +1684,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
456
1684
|
authorization: string | null;
|
|
457
1685
|
readOnly: boolean;
|
|
458
1686
|
activityTracer: ActivityTracer;
|
|
459
|
-
core:
|
|
1687
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
460
1688
|
};
|
|
461
|
-
meta:
|
|
462
|
-
[x: string]: unknown;
|
|
463
|
-
} & {
|
|
464
|
-
openapi?: {
|
|
465
|
-
enabled?: boolean;
|
|
466
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
467
|
-
path: `/${string}`;
|
|
468
|
-
operationId?: string;
|
|
469
|
-
summary?: string;
|
|
470
|
-
description?: string;
|
|
471
|
-
protect?: boolean;
|
|
472
|
-
tags?: string[];
|
|
473
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
474
|
-
deprecated?: boolean;
|
|
475
|
-
requestHeaders?: import("zod").ZodObject;
|
|
476
|
-
responseHeaders?: import("zod").ZodObject;
|
|
477
|
-
successDescription?: string;
|
|
478
|
-
errorResponses?: number[] | Record<number, string>;
|
|
479
|
-
};
|
|
480
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1689
|
+
meta: TrpcMeta;
|
|
481
1690
|
errorShape: {
|
|
482
1691
|
message: string;
|
|
483
1692
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -513,7 +1722,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
513
1722
|
workspaceName: string;
|
|
514
1723
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
515
1724
|
step: "COMPLETED" | "PENDING_DEVICE_CLAIMS" | "PENDING_EXTERNAL_SIGNERS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION_INIT" | "PENDING_REVIEW_BY_MASTER_ADMINS" | "PENDING_SEED_PROVISIONING" | "PENDING_SHARED_OWNERS_REGISTRATION" | "PENDING_SHARED_OWNERS_REGISTRATION_INIT" | "PENDING_WORKSPACE_INITIALIZATION" | "PENDING_WRAPPING_KEY_PROVISIONING";
|
|
516
|
-
skipWrappingKey: boolean;
|
|
517
1725
|
claimedDevices: {
|
|
518
1726
|
pubKey: string;
|
|
519
1727
|
deviceUserId: string;
|
|
@@ -626,26 +1834,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
626
1834
|
targetHsmName: string;
|
|
627
1835
|
})[];
|
|
628
1836
|
};
|
|
629
|
-
meta:
|
|
630
|
-
[x: string]: unknown;
|
|
631
|
-
} & {
|
|
632
|
-
openapi?: {
|
|
633
|
-
enabled?: boolean;
|
|
634
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
635
|
-
path: `/${string}`;
|
|
636
|
-
operationId?: string;
|
|
637
|
-
summary?: string;
|
|
638
|
-
description?: string;
|
|
639
|
-
protect?: boolean;
|
|
640
|
-
tags?: string[];
|
|
641
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
642
|
-
deprecated?: boolean;
|
|
643
|
-
requestHeaders?: import("zod").ZodObject;
|
|
644
|
-
responseHeaders?: import("zod").ZodObject;
|
|
645
|
-
successDescription?: string;
|
|
646
|
-
errorResponses?: number[] | Record<number, string>;
|
|
647
|
-
};
|
|
648
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1837
|
+
meta: TrpcMeta;
|
|
649
1838
|
}>;
|
|
650
1839
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
651
1840
|
input: {
|
|
@@ -656,7 +1845,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
656
1845
|
workspaceName: string;
|
|
657
1846
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
658
1847
|
step: "COMPLETED" | "PENDING_DEVICE_CLAIMS" | "PENDING_EXTERNAL_SIGNERS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION_INIT" | "PENDING_REVIEW_BY_MASTER_ADMINS" | "PENDING_SEED_PROVISIONING" | "PENDING_SHARED_OWNERS_REGISTRATION" | "PENDING_SHARED_OWNERS_REGISTRATION_INIT" | "PENDING_WORKSPACE_INITIALIZATION" | "PENDING_WRAPPING_KEY_PROVISIONING";
|
|
659
|
-
skipWrappingKey: boolean;
|
|
660
1848
|
claimedDevices: {
|
|
661
1849
|
pubKey: string;
|
|
662
1850
|
deviceUserId: string;
|
|
@@ -768,26 +1956,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
768
1956
|
compartmentId: number;
|
|
769
1957
|
targetHsmName: string;
|
|
770
1958
|
};
|
|
771
|
-
meta:
|
|
772
|
-
[x: string]: unknown;
|
|
773
|
-
} & {
|
|
774
|
-
openapi?: {
|
|
775
|
-
enabled?: boolean;
|
|
776
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
777
|
-
path: `/${string}`;
|
|
778
|
-
operationId?: string;
|
|
779
|
-
summary?: string;
|
|
780
|
-
description?: string;
|
|
781
|
-
protect?: boolean;
|
|
782
|
-
tags?: string[];
|
|
783
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
784
|
-
deprecated?: boolean;
|
|
785
|
-
requestHeaders?: import("zod").ZodObject;
|
|
786
|
-
responseHeaders?: import("zod").ZodObject;
|
|
787
|
-
successDescription?: string;
|
|
788
|
-
errorResponses?: number[] | Record<number, string>;
|
|
789
|
-
};
|
|
790
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1959
|
+
meta: TrpcMeta;
|
|
791
1960
|
}>;
|
|
792
1961
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
793
1962
|
input: {
|
|
@@ -802,7 +1971,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
802
1971
|
workspaceName: string;
|
|
803
1972
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
804
1973
|
step: "COMPLETED" | "PENDING_DEVICE_CLAIMS" | "PENDING_EXTERNAL_SIGNERS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION_INIT" | "PENDING_REVIEW_BY_MASTER_ADMINS" | "PENDING_SEED_PROVISIONING" | "PENDING_SHARED_OWNERS_REGISTRATION" | "PENDING_SHARED_OWNERS_REGISTRATION_INIT" | "PENDING_WORKSPACE_INITIALIZATION" | "PENDING_WRAPPING_KEY_PROVISIONING";
|
|
805
|
-
skipWrappingKey: boolean;
|
|
806
1974
|
claimedDevices: {
|
|
807
1975
|
pubKey: string;
|
|
808
1976
|
deviceUserId: string;
|
|
@@ -910,26 +2078,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
910
2078
|
createdAt: Date;
|
|
911
2079
|
completedAt: Date | null;
|
|
912
2080
|
};
|
|
913
|
-
meta:
|
|
914
|
-
[x: string]: unknown;
|
|
915
|
-
} & {
|
|
916
|
-
openapi?: {
|
|
917
|
-
enabled?: boolean;
|
|
918
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
919
|
-
path: `/${string}`;
|
|
920
|
-
operationId?: string;
|
|
921
|
-
summary?: string;
|
|
922
|
-
description?: string;
|
|
923
|
-
protect?: boolean;
|
|
924
|
-
tags?: string[];
|
|
925
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
926
|
-
deprecated?: boolean;
|
|
927
|
-
requestHeaders?: import("zod").ZodObject;
|
|
928
|
-
responseHeaders?: import("zod").ZodObject;
|
|
929
|
-
successDescription?: string;
|
|
930
|
-
errorResponses?: number[] | Record<number, string>;
|
|
931
|
-
};
|
|
932
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2081
|
+
meta: TrpcMeta;
|
|
933
2082
|
}>;
|
|
934
2083
|
}>>;
|
|
935
2084
|
impersonations: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -940,7 +2089,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
940
2089
|
debugAuthToken?: string;
|
|
941
2090
|
rootAuthToken?: string;
|
|
942
2091
|
backofficeRequiredPermission?: BackofficePermission;
|
|
943
|
-
prisma: ExtendedPrismaClient;
|
|
944
2092
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
945
2093
|
user: {
|
|
946
2094
|
id: string;
|
|
@@ -955,7 +2103,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
955
2103
|
u2fPubKey: string | null;
|
|
956
2104
|
legacyViewAll: boolean;
|
|
957
2105
|
role: UserRole;
|
|
958
|
-
status: ActivationStatus;
|
|
2106
|
+
status: ActivationStatus$1;
|
|
959
2107
|
isSuspended: boolean;
|
|
960
2108
|
gateType: GateUserType | null;
|
|
961
2109
|
gateId: number;
|
|
@@ -966,28 +2114,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
966
2114
|
authorization: string | null;
|
|
967
2115
|
readOnly: boolean;
|
|
968
2116
|
activityTracer: ActivityTracer;
|
|
969
|
-
core:
|
|
2117
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
970
2118
|
};
|
|
971
|
-
meta:
|
|
972
|
-
[x: string]: unknown;
|
|
973
|
-
} & {
|
|
974
|
-
openapi?: {
|
|
975
|
-
enabled?: boolean;
|
|
976
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
977
|
-
path: `/${string}`;
|
|
978
|
-
operationId?: string;
|
|
979
|
-
summary?: string;
|
|
980
|
-
description?: string;
|
|
981
|
-
protect?: boolean;
|
|
982
|
-
tags?: string[];
|
|
983
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
984
|
-
deprecated?: boolean;
|
|
985
|
-
requestHeaders?: import("zod").ZodObject;
|
|
986
|
-
responseHeaders?: import("zod").ZodObject;
|
|
987
|
-
successDescription?: string;
|
|
988
|
-
errorResponses?: number[] | Record<number, string>;
|
|
989
|
-
};
|
|
990
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2119
|
+
meta: TrpcMeta;
|
|
991
2120
|
errorShape: {
|
|
992
2121
|
message: string;
|
|
993
2122
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -1011,52 +2140,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1011
2140
|
code: string;
|
|
1012
2141
|
impersonationId: string;
|
|
1013
2142
|
};
|
|
1014
|
-
meta:
|
|
1015
|
-
[x: string]: unknown;
|
|
1016
|
-
} & {
|
|
1017
|
-
openapi?: {
|
|
1018
|
-
enabled?: boolean;
|
|
1019
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1020
|
-
path: `/${string}`;
|
|
1021
|
-
operationId?: string;
|
|
1022
|
-
summary?: string;
|
|
1023
|
-
description?: string;
|
|
1024
|
-
protect?: boolean;
|
|
1025
|
-
tags?: string[];
|
|
1026
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1027
|
-
deprecated?: boolean;
|
|
1028
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1029
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1030
|
-
successDescription?: string;
|
|
1031
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1032
|
-
};
|
|
1033
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2143
|
+
meta: TrpcMeta;
|
|
1034
2144
|
}>;
|
|
1035
2145
|
revoke: import("@trpc/server").TRPCMutationProcedure<{
|
|
1036
2146
|
input: {
|
|
1037
2147
|
impersonationId: string;
|
|
1038
2148
|
};
|
|
1039
2149
|
output: void;
|
|
1040
|
-
meta:
|
|
1041
|
-
[x: string]: unknown;
|
|
1042
|
-
} & {
|
|
1043
|
-
openapi?: {
|
|
1044
|
-
enabled?: boolean;
|
|
1045
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1046
|
-
path: `/${string}`;
|
|
1047
|
-
operationId?: string;
|
|
1048
|
-
summary?: string;
|
|
1049
|
-
description?: string;
|
|
1050
|
-
protect?: boolean;
|
|
1051
|
-
tags?: string[];
|
|
1052
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1053
|
-
deprecated?: boolean;
|
|
1054
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1055
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1056
|
-
successDescription?: string;
|
|
1057
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1058
|
-
};
|
|
1059
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2150
|
+
meta: TrpcMeta;
|
|
1060
2151
|
}>;
|
|
1061
2152
|
listActive: import("@trpc/server").TRPCQueryProcedure<{
|
|
1062
2153
|
input: {
|
|
@@ -1072,26 +2163,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1072
2163
|
startedAt: Date;
|
|
1073
2164
|
expiresAt: Date;
|
|
1074
2165
|
}[];
|
|
1075
|
-
meta:
|
|
1076
|
-
[x: string]: unknown;
|
|
1077
|
-
} & {
|
|
1078
|
-
openapi?: {
|
|
1079
|
-
enabled?: boolean;
|
|
1080
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1081
|
-
path: `/${string}`;
|
|
1082
|
-
operationId?: string;
|
|
1083
|
-
summary?: string;
|
|
1084
|
-
description?: string;
|
|
1085
|
-
protect?: boolean;
|
|
1086
|
-
tags?: string[];
|
|
1087
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1088
|
-
deprecated?: boolean;
|
|
1089
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1090
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1091
|
-
successDescription?: string;
|
|
1092
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1093
|
-
};
|
|
1094
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2166
|
+
meta: TrpcMeta;
|
|
1095
2167
|
}>;
|
|
1096
2168
|
}>>;
|
|
1097
2169
|
users: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -1102,7 +2174,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1102
2174
|
debugAuthToken?: string;
|
|
1103
2175
|
rootAuthToken?: string;
|
|
1104
2176
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1105
|
-
prisma: ExtendedPrismaClient;
|
|
1106
2177
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1107
2178
|
user: {
|
|
1108
2179
|
id: string;
|
|
@@ -1117,7 +2188,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1117
2188
|
u2fPubKey: string | null;
|
|
1118
2189
|
legacyViewAll: boolean;
|
|
1119
2190
|
role: UserRole;
|
|
1120
|
-
status: ActivationStatus;
|
|
2191
|
+
status: ActivationStatus$1;
|
|
1121
2192
|
isSuspended: boolean;
|
|
1122
2193
|
gateType: GateUserType | null;
|
|
1123
2194
|
gateId: number;
|
|
@@ -1128,28 +2199,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1128
2199
|
authorization: string | null;
|
|
1129
2200
|
readOnly: boolean;
|
|
1130
2201
|
activityTracer: ActivityTracer;
|
|
1131
|
-
core:
|
|
2202
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
1132
2203
|
};
|
|
1133
|
-
meta:
|
|
1134
|
-
[x: string]: unknown;
|
|
1135
|
-
} & {
|
|
1136
|
-
openapi?: {
|
|
1137
|
-
enabled?: boolean;
|
|
1138
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1139
|
-
path: `/${string}`;
|
|
1140
|
-
operationId?: string;
|
|
1141
|
-
summary?: string;
|
|
1142
|
-
description?: string;
|
|
1143
|
-
protect?: boolean;
|
|
1144
|
-
tags?: string[];
|
|
1145
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1146
|
-
deprecated?: boolean;
|
|
1147
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1148
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1149
|
-
successDescription?: string;
|
|
1150
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1151
|
-
};
|
|
1152
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2204
|
+
meta: TrpcMeta;
|
|
1153
2205
|
errorShape: {
|
|
1154
2206
|
message: string;
|
|
1155
2207
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -1200,26 +2252,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1200
2252
|
updatedAt: Date;
|
|
1201
2253
|
}[];
|
|
1202
2254
|
};
|
|
1203
|
-
meta:
|
|
1204
|
-
[x: string]: unknown;
|
|
1205
|
-
} & {
|
|
1206
|
-
openapi?: {
|
|
1207
|
-
enabled?: boolean;
|
|
1208
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1209
|
-
path: `/${string}`;
|
|
1210
|
-
operationId?: string;
|
|
1211
|
-
summary?: string;
|
|
1212
|
-
description?: string;
|
|
1213
|
-
protect?: boolean;
|
|
1214
|
-
tags?: string[];
|
|
1215
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1216
|
-
deprecated?: boolean;
|
|
1217
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1218
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1219
|
-
successDescription?: string;
|
|
1220
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1221
|
-
};
|
|
1222
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2255
|
+
meta: TrpcMeta;
|
|
1223
2256
|
}>;
|
|
1224
2257
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
1225
2258
|
input: {
|
|
@@ -1240,26 +2273,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1240
2273
|
createdAt: Date;
|
|
1241
2274
|
updatedAt: Date;
|
|
1242
2275
|
};
|
|
1243
|
-
meta:
|
|
1244
|
-
[x: string]: unknown;
|
|
1245
|
-
} & {
|
|
1246
|
-
openapi?: {
|
|
1247
|
-
enabled?: boolean;
|
|
1248
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1249
|
-
path: `/${string}`;
|
|
1250
|
-
operationId?: string;
|
|
1251
|
-
summary?: string;
|
|
1252
|
-
description?: string;
|
|
1253
|
-
protect?: boolean;
|
|
1254
|
-
tags?: string[];
|
|
1255
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1256
|
-
deprecated?: boolean;
|
|
1257
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1258
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1259
|
-
successDescription?: string;
|
|
1260
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1261
|
-
};
|
|
1262
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2276
|
+
meta: TrpcMeta;
|
|
1263
2277
|
}>;
|
|
1264
2278
|
}>>;
|
|
1265
2279
|
userRegistrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -1270,7 +2284,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1270
2284
|
debugAuthToken?: string;
|
|
1271
2285
|
rootAuthToken?: string;
|
|
1272
2286
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1273
|
-
prisma: ExtendedPrismaClient;
|
|
1274
2287
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1275
2288
|
user: {
|
|
1276
2289
|
id: string;
|
|
@@ -1285,7 +2298,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1285
2298
|
u2fPubKey: string | null;
|
|
1286
2299
|
legacyViewAll: boolean;
|
|
1287
2300
|
role: UserRole;
|
|
1288
|
-
status: ActivationStatus;
|
|
2301
|
+
status: ActivationStatus$1;
|
|
1289
2302
|
isSuspended: boolean;
|
|
1290
2303
|
gateType: GateUserType | null;
|
|
1291
2304
|
gateId: number;
|
|
@@ -1296,28 +2309,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1296
2309
|
authorization: string | null;
|
|
1297
2310
|
readOnly: boolean;
|
|
1298
2311
|
activityTracer: ActivityTracer;
|
|
1299
|
-
core:
|
|
2312
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
1300
2313
|
};
|
|
1301
|
-
meta:
|
|
1302
|
-
[x: string]: unknown;
|
|
1303
|
-
} & {
|
|
1304
|
-
openapi?: {
|
|
1305
|
-
enabled?: boolean;
|
|
1306
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1307
|
-
path: `/${string}`;
|
|
1308
|
-
operationId?: string;
|
|
1309
|
-
summary?: string;
|
|
1310
|
-
description?: string;
|
|
1311
|
-
protect?: boolean;
|
|
1312
|
-
tags?: string[];
|
|
1313
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1314
|
-
deprecated?: boolean;
|
|
1315
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1316
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1317
|
-
successDescription?: string;
|
|
1318
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1319
|
-
};
|
|
1320
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2314
|
+
meta: TrpcMeta;
|
|
1321
2315
|
errorShape: {
|
|
1322
2316
|
message: string;
|
|
1323
2317
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -1358,26 +2352,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1358
2352
|
state: "COMPLETED" | "CONSUMED" | "INITIAL" | "PENDING";
|
|
1359
2353
|
}[];
|
|
1360
2354
|
};
|
|
1361
|
-
meta:
|
|
1362
|
-
[x: string]: unknown;
|
|
1363
|
-
} & {
|
|
1364
|
-
openapi?: {
|
|
1365
|
-
enabled?: boolean;
|
|
1366
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1367
|
-
path: `/${string}`;
|
|
1368
|
-
operationId?: string;
|
|
1369
|
-
summary?: string;
|
|
1370
|
-
description?: string;
|
|
1371
|
-
protect?: boolean;
|
|
1372
|
-
tags?: string[];
|
|
1373
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1374
|
-
deprecated?: boolean;
|
|
1375
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1376
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1377
|
-
successDescription?: string;
|
|
1378
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1379
|
-
};
|
|
1380
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2355
|
+
meta: TrpcMeta;
|
|
1381
2356
|
}>;
|
|
1382
2357
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
1383
2358
|
input: {
|
|
@@ -1392,26 +2367,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1392
2367
|
workspaceName: string;
|
|
1393
2368
|
state: "COMPLETED" | "CONSUMED" | "INITIAL" | "PENDING";
|
|
1394
2369
|
};
|
|
1395
|
-
meta:
|
|
1396
|
-
[x: string]: unknown;
|
|
1397
|
-
} & {
|
|
1398
|
-
openapi?: {
|
|
1399
|
-
enabled?: boolean;
|
|
1400
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1401
|
-
path: `/${string}`;
|
|
1402
|
-
operationId?: string;
|
|
1403
|
-
summary?: string;
|
|
1404
|
-
description?: string;
|
|
1405
|
-
protect?: boolean;
|
|
1406
|
-
tags?: string[];
|
|
1407
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1408
|
-
deprecated?: boolean;
|
|
1409
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1410
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1411
|
-
successDescription?: string;
|
|
1412
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1413
|
-
};
|
|
1414
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2370
|
+
meta: TrpcMeta;
|
|
1415
2371
|
}>;
|
|
1416
2372
|
}>>;
|
|
1417
2373
|
accounts: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -1422,7 +2378,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1422
2378
|
debugAuthToken?: string;
|
|
1423
2379
|
rootAuthToken?: string;
|
|
1424
2380
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1425
|
-
prisma: ExtendedPrismaClient;
|
|
1426
2381
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1427
2382
|
user: {
|
|
1428
2383
|
id: string;
|
|
@@ -1437,7 +2392,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1437
2392
|
u2fPubKey: string | null;
|
|
1438
2393
|
legacyViewAll: boolean;
|
|
1439
2394
|
role: UserRole;
|
|
1440
|
-
status: ActivationStatus;
|
|
2395
|
+
status: ActivationStatus$1;
|
|
1441
2396
|
isSuspended: boolean;
|
|
1442
2397
|
gateType: GateUserType | null;
|
|
1443
2398
|
gateId: number;
|
|
@@ -1448,28 +2403,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1448
2403
|
authorization: string | null;
|
|
1449
2404
|
readOnly: boolean;
|
|
1450
2405
|
activityTracer: ActivityTracer;
|
|
1451
|
-
core:
|
|
2406
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
1452
2407
|
};
|
|
1453
|
-
meta:
|
|
1454
|
-
[x: string]: unknown;
|
|
1455
|
-
} & {
|
|
1456
|
-
openapi?: {
|
|
1457
|
-
enabled?: boolean;
|
|
1458
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1459
|
-
path: `/${string}`;
|
|
1460
|
-
operationId?: string;
|
|
1461
|
-
summary?: string;
|
|
1462
|
-
description?: string;
|
|
1463
|
-
protect?: boolean;
|
|
1464
|
-
tags?: string[];
|
|
1465
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1466
|
-
deprecated?: boolean;
|
|
1467
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1468
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1469
|
-
successDescription?: string;
|
|
1470
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1471
|
-
};
|
|
1472
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2408
|
+
meta: TrpcMeta;
|
|
1473
2409
|
errorShape: {
|
|
1474
2410
|
message: string;
|
|
1475
2411
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -1491,32 +2427,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1491
2427
|
name: string;
|
|
1492
2428
|
ticker?: string | undefined;
|
|
1493
2429
|
}[];
|
|
1494
|
-
meta:
|
|
1495
|
-
[x: string]: unknown;
|
|
1496
|
-
} & {
|
|
1497
|
-
openapi?: {
|
|
1498
|
-
enabled?: boolean;
|
|
1499
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1500
|
-
path: `/${string}`;
|
|
1501
|
-
operationId?: string;
|
|
1502
|
-
summary?: string;
|
|
1503
|
-
description?: string;
|
|
1504
|
-
protect?: boolean;
|
|
1505
|
-
tags?: string[];
|
|
1506
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1507
|
-
deprecated?: boolean;
|
|
1508
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1509
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1510
|
-
successDescription?: string;
|
|
1511
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1512
|
-
};
|
|
1513
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2430
|
+
meta: TrpcMeta;
|
|
1514
2431
|
}>;
|
|
1515
2432
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
1516
2433
|
input: {
|
|
1517
2434
|
page?: number | undefined;
|
|
1518
2435
|
pageSize?: number | undefined;
|
|
1519
2436
|
workspaceName?: string | string[] | undefined;
|
|
2437
|
+
workspaceNames?: string[] | undefined;
|
|
1520
2438
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1521
2439
|
id?: string | undefined;
|
|
1522
2440
|
name?: string | undefined;
|
|
@@ -1527,6 +2445,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1527
2445
|
index?: number | undefined;
|
|
1528
2446
|
contractAddress?: string | null | undefined;
|
|
1529
2447
|
support?: "legacy" | "standalone" | undefined;
|
|
2448
|
+
lesWalletRegistrable?: boolean | undefined;
|
|
2449
|
+
addressBackfillable?: boolean | undefined;
|
|
2450
|
+
gateSynced?: boolean | undefined;
|
|
1530
2451
|
type?: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE" | undefined;
|
|
1531
2452
|
policyIds?: string[] | undefined;
|
|
1532
2453
|
entityIds?: string[] | undefined;
|
|
@@ -1617,26 +2538,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1617
2538
|
hsmId: string;
|
|
1618
2539
|
})[];
|
|
1619
2540
|
};
|
|
1620
|
-
meta:
|
|
1621
|
-
[x: string]: unknown;
|
|
1622
|
-
} & {
|
|
1623
|
-
openapi?: {
|
|
1624
|
-
enabled?: boolean;
|
|
1625
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1626
|
-
path: `/${string}`;
|
|
1627
|
-
operationId?: string;
|
|
1628
|
-
summary?: string;
|
|
1629
|
-
description?: string;
|
|
1630
|
-
protect?: boolean;
|
|
1631
|
-
tags?: string[];
|
|
1632
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1633
|
-
deprecated?: boolean;
|
|
1634
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1635
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1636
|
-
successDescription?: string;
|
|
1637
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1638
|
-
};
|
|
1639
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2541
|
+
meta: TrpcMeta;
|
|
1640
2542
|
}>;
|
|
1641
2543
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
1642
2544
|
input: {
|
|
@@ -1718,26 +2620,32 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1718
2620
|
lesWalletId: string | null;
|
|
1719
2621
|
hsmId: string;
|
|
1720
2622
|
};
|
|
1721
|
-
meta:
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
2623
|
+
meta: TrpcMeta;
|
|
2624
|
+
}>;
|
|
2625
|
+
lesWalletRegistrableSummary: import("@trpc/server").TRPCQueryProcedure<{
|
|
2626
|
+
input: {
|
|
2627
|
+
workspaceNames?: string[] | undefined;
|
|
2628
|
+
currencies?: string[] | undefined;
|
|
2629
|
+
target?: "ADDRESS" | "LES_WALLET_ID" | undefined;
|
|
2630
|
+
};
|
|
2631
|
+
output: {
|
|
2632
|
+
total: number;
|
|
2633
|
+
byCurrency: {
|
|
2634
|
+
currency: string;
|
|
2635
|
+
count: number;
|
|
2636
|
+
}[];
|
|
2637
|
+
};
|
|
2638
|
+
meta: TrpcMeta;
|
|
2639
|
+
}>;
|
|
2640
|
+
registerOnLesWallet: import("@trpc/server").TRPCMutationProcedure<{
|
|
2641
|
+
input: {
|
|
2642
|
+
workspaceNames?: string[] | undefined;
|
|
2643
|
+
currencies?: string[] | undefined;
|
|
2644
|
+
target?: "ADDRESS" | "LES_WALLET_ID" | undefined;
|
|
2645
|
+
limit: number;
|
|
2646
|
+
};
|
|
2647
|
+
output: LesWalletRegistrationReport;
|
|
2648
|
+
meta: TrpcMeta;
|
|
1741
2649
|
}>;
|
|
1742
2650
|
}>>;
|
|
1743
2651
|
groups: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -1748,7 +2656,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1748
2656
|
debugAuthToken?: string;
|
|
1749
2657
|
rootAuthToken?: string;
|
|
1750
2658
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1751
|
-
prisma: ExtendedPrismaClient;
|
|
1752
2659
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1753
2660
|
user: {
|
|
1754
2661
|
id: string;
|
|
@@ -1763,7 +2670,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1763
2670
|
u2fPubKey: string | null;
|
|
1764
2671
|
legacyViewAll: boolean;
|
|
1765
2672
|
role: UserRole;
|
|
1766
|
-
status: ActivationStatus;
|
|
2673
|
+
status: ActivationStatus$1;
|
|
1767
2674
|
isSuspended: boolean;
|
|
1768
2675
|
gateType: GateUserType | null;
|
|
1769
2676
|
gateId: number;
|
|
@@ -1774,28 +2681,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1774
2681
|
authorization: string | null;
|
|
1775
2682
|
readOnly: boolean;
|
|
1776
2683
|
activityTracer: ActivityTracer;
|
|
1777
|
-
core:
|
|
2684
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
1778
2685
|
};
|
|
1779
|
-
meta:
|
|
1780
|
-
[x: string]: unknown;
|
|
1781
|
-
} & {
|
|
1782
|
-
openapi?: {
|
|
1783
|
-
enabled?: boolean;
|
|
1784
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1785
|
-
path: `/${string}`;
|
|
1786
|
-
operationId?: string;
|
|
1787
|
-
summary?: string;
|
|
1788
|
-
description?: string;
|
|
1789
|
-
protect?: boolean;
|
|
1790
|
-
tags?: string[];
|
|
1791
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1792
|
-
deprecated?: boolean;
|
|
1793
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1794
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1795
|
-
successDescription?: string;
|
|
1796
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1797
|
-
};
|
|
1798
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2686
|
+
meta: TrpcMeta;
|
|
1799
2687
|
errorShape: {
|
|
1800
2688
|
message: string;
|
|
1801
2689
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -1855,26 +2743,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1855
2743
|
hsmId: string;
|
|
1856
2744
|
})[];
|
|
1857
2745
|
};
|
|
1858
|
-
meta:
|
|
1859
|
-
[x: string]: unknown;
|
|
1860
|
-
} & {
|
|
1861
|
-
openapi?: {
|
|
1862
|
-
enabled?: boolean;
|
|
1863
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1864
|
-
path: `/${string}`;
|
|
1865
|
-
operationId?: string;
|
|
1866
|
-
summary?: string;
|
|
1867
|
-
description?: string;
|
|
1868
|
-
protect?: boolean;
|
|
1869
|
-
tags?: string[];
|
|
1870
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1871
|
-
deprecated?: boolean;
|
|
1872
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1873
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1874
|
-
successDescription?: string;
|
|
1875
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1876
|
-
};
|
|
1877
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2746
|
+
meta: TrpcMeta;
|
|
1878
2747
|
}>;
|
|
1879
2748
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
1880
2749
|
input: {
|
|
@@ -1907,26 +2776,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1907
2776
|
workspaceName: string;
|
|
1908
2777
|
hsmId: string;
|
|
1909
2778
|
};
|
|
1910
|
-
meta:
|
|
1911
|
-
[x: string]: unknown;
|
|
1912
|
-
} & {
|
|
1913
|
-
openapi?: {
|
|
1914
|
-
enabled?: boolean;
|
|
1915
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1916
|
-
path: `/${string}`;
|
|
1917
|
-
operationId?: string;
|
|
1918
|
-
summary?: string;
|
|
1919
|
-
description?: string;
|
|
1920
|
-
protect?: boolean;
|
|
1921
|
-
tags?: string[];
|
|
1922
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1923
|
-
deprecated?: boolean;
|
|
1924
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1925
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1926
|
-
successDescription?: string;
|
|
1927
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1928
|
-
};
|
|
1929
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2779
|
+
meta: TrpcMeta;
|
|
1930
2780
|
}>;
|
|
1931
2781
|
}>>;
|
|
1932
2782
|
whitelists: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -1937,7 +2787,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1937
2787
|
debugAuthToken?: string;
|
|
1938
2788
|
rootAuthToken?: string;
|
|
1939
2789
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1940
|
-
prisma: ExtendedPrismaClient;
|
|
1941
2790
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1942
2791
|
user: {
|
|
1943
2792
|
id: string;
|
|
@@ -1952,7 +2801,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1952
2801
|
u2fPubKey: string | null;
|
|
1953
2802
|
legacyViewAll: boolean;
|
|
1954
2803
|
role: UserRole;
|
|
1955
|
-
status: ActivationStatus;
|
|
2804
|
+
status: ActivationStatus$1;
|
|
1956
2805
|
isSuspended: boolean;
|
|
1957
2806
|
gateType: GateUserType | null;
|
|
1958
2807
|
gateId: number;
|
|
@@ -1963,28 +2812,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1963
2812
|
authorization: string | null;
|
|
1964
2813
|
readOnly: boolean;
|
|
1965
2814
|
activityTracer: ActivityTracer;
|
|
1966
|
-
core:
|
|
2815
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
1967
2816
|
};
|
|
1968
|
-
meta:
|
|
1969
|
-
[x: string]: unknown;
|
|
1970
|
-
} & {
|
|
1971
|
-
openapi?: {
|
|
1972
|
-
enabled?: boolean;
|
|
1973
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
1974
|
-
path: `/${string}`;
|
|
1975
|
-
operationId?: string;
|
|
1976
|
-
summary?: string;
|
|
1977
|
-
description?: string;
|
|
1978
|
-
protect?: boolean;
|
|
1979
|
-
tags?: string[];
|
|
1980
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
1981
|
-
deprecated?: boolean;
|
|
1982
|
-
requestHeaders?: import("zod").ZodObject;
|
|
1983
|
-
responseHeaders?: import("zod").ZodObject;
|
|
1984
|
-
successDescription?: string;
|
|
1985
|
-
errorResponses?: number[] | Record<number, string>;
|
|
1986
|
-
};
|
|
1987
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2817
|
+
meta: TrpcMeta;
|
|
1988
2818
|
errorShape: {
|
|
1989
2819
|
message: string;
|
|
1990
2820
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -2039,26 +2869,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2039
2869
|
hsmId: string;
|
|
2040
2870
|
})[];
|
|
2041
2871
|
};
|
|
2042
|
-
meta:
|
|
2043
|
-
[x: string]: unknown;
|
|
2044
|
-
} & {
|
|
2045
|
-
openapi?: {
|
|
2046
|
-
enabled?: boolean;
|
|
2047
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2048
|
-
path: `/${string}`;
|
|
2049
|
-
operationId?: string;
|
|
2050
|
-
summary?: string;
|
|
2051
|
-
description?: string;
|
|
2052
|
-
protect?: boolean;
|
|
2053
|
-
tags?: string[];
|
|
2054
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2055
|
-
deprecated?: boolean;
|
|
2056
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2057
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2058
|
-
successDescription?: string;
|
|
2059
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2060
|
-
};
|
|
2061
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2872
|
+
meta: TrpcMeta;
|
|
2062
2873
|
}>;
|
|
2063
2874
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2064
2875
|
input: {
|
|
@@ -2084,26 +2895,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2084
2895
|
workspaceName: string;
|
|
2085
2896
|
hsmId: string;
|
|
2086
2897
|
};
|
|
2087
|
-
meta:
|
|
2088
|
-
[x: string]: unknown;
|
|
2089
|
-
} & {
|
|
2090
|
-
openapi?: {
|
|
2091
|
-
enabled?: boolean;
|
|
2092
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2093
|
-
path: `/${string}`;
|
|
2094
|
-
operationId?: string;
|
|
2095
|
-
summary?: string;
|
|
2096
|
-
description?: string;
|
|
2097
|
-
protect?: boolean;
|
|
2098
|
-
tags?: string[];
|
|
2099
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2100
|
-
deprecated?: boolean;
|
|
2101
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2102
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2103
|
-
successDescription?: string;
|
|
2104
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2105
|
-
};
|
|
2106
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2898
|
+
meta: TrpcMeta;
|
|
2107
2899
|
}>;
|
|
2108
2900
|
}>>;
|
|
2109
2901
|
webhooks: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -2114,7 +2906,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2114
2906
|
debugAuthToken?: string;
|
|
2115
2907
|
rootAuthToken?: string;
|
|
2116
2908
|
backofficeRequiredPermission?: BackofficePermission;
|
|
2117
|
-
prisma: ExtendedPrismaClient;
|
|
2118
2909
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2119
2910
|
user: {
|
|
2120
2911
|
id: string;
|
|
@@ -2129,7 +2920,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2129
2920
|
u2fPubKey: string | null;
|
|
2130
2921
|
legacyViewAll: boolean;
|
|
2131
2922
|
role: UserRole;
|
|
2132
|
-
status: ActivationStatus;
|
|
2923
|
+
status: ActivationStatus$1;
|
|
2133
2924
|
isSuspended: boolean;
|
|
2134
2925
|
gateType: GateUserType | null;
|
|
2135
2926
|
gateId: number;
|
|
@@ -2140,28 +2931,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2140
2931
|
authorization: string | null;
|
|
2141
2932
|
readOnly: boolean;
|
|
2142
2933
|
activityTracer: ActivityTracer;
|
|
2143
|
-
core:
|
|
2934
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
2144
2935
|
};
|
|
2145
|
-
meta:
|
|
2146
|
-
[x: string]: unknown;
|
|
2147
|
-
} & {
|
|
2148
|
-
openapi?: {
|
|
2149
|
-
enabled?: boolean;
|
|
2150
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2151
|
-
path: `/${string}`;
|
|
2152
|
-
operationId?: string;
|
|
2153
|
-
summary?: string;
|
|
2154
|
-
description?: string;
|
|
2155
|
-
protect?: boolean;
|
|
2156
|
-
tags?: string[];
|
|
2157
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2158
|
-
deprecated?: boolean;
|
|
2159
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2160
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2161
|
-
successDescription?: string;
|
|
2162
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2163
|
-
};
|
|
2164
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2936
|
+
meta: TrpcMeta;
|
|
2165
2937
|
errorShape: {
|
|
2166
2938
|
message: string;
|
|
2167
2939
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -2220,26 +2992,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2220
2992
|
workspaceName: string;
|
|
2221
2993
|
}[];
|
|
2222
2994
|
};
|
|
2223
|
-
meta:
|
|
2224
|
-
[x: string]: unknown;
|
|
2225
|
-
} & {
|
|
2226
|
-
openapi?: {
|
|
2227
|
-
enabled?: boolean;
|
|
2228
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2229
|
-
path: `/${string}`;
|
|
2230
|
-
operationId?: string;
|
|
2231
|
-
summary?: string;
|
|
2232
|
-
description?: string;
|
|
2233
|
-
protect?: boolean;
|
|
2234
|
-
tags?: string[];
|
|
2235
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2236
|
-
deprecated?: boolean;
|
|
2237
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2238
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2239
|
-
successDescription?: string;
|
|
2240
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2241
|
-
};
|
|
2242
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2995
|
+
meta: TrpcMeta;
|
|
2243
2996
|
}>;
|
|
2244
2997
|
}>>;
|
|
2245
2998
|
policies: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -2250,7 +3003,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2250
3003
|
debugAuthToken?: string;
|
|
2251
3004
|
rootAuthToken?: string;
|
|
2252
3005
|
backofficeRequiredPermission?: BackofficePermission;
|
|
2253
|
-
prisma: ExtendedPrismaClient;
|
|
2254
3006
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2255
3007
|
user: {
|
|
2256
3008
|
id: string;
|
|
@@ -2265,7 +3017,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2265
3017
|
u2fPubKey: string | null;
|
|
2266
3018
|
legacyViewAll: boolean;
|
|
2267
3019
|
role: UserRole;
|
|
2268
|
-
status: ActivationStatus;
|
|
3020
|
+
status: ActivationStatus$1;
|
|
2269
3021
|
isSuspended: boolean;
|
|
2270
3022
|
gateType: GateUserType | null;
|
|
2271
3023
|
gateId: number;
|
|
@@ -2276,28 +3028,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2276
3028
|
authorization: string | null;
|
|
2277
3029
|
readOnly: boolean;
|
|
2278
3030
|
activityTracer: ActivityTracer;
|
|
2279
|
-
core:
|
|
3031
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
2280
3032
|
};
|
|
2281
|
-
meta:
|
|
2282
|
-
[x: string]: unknown;
|
|
2283
|
-
} & {
|
|
2284
|
-
openapi?: {
|
|
2285
|
-
enabled?: boolean;
|
|
2286
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2287
|
-
path: `/${string}`;
|
|
2288
|
-
operationId?: string;
|
|
2289
|
-
summary?: string;
|
|
2290
|
-
description?: string;
|
|
2291
|
-
protect?: boolean;
|
|
2292
|
-
tags?: string[];
|
|
2293
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2294
|
-
deprecated?: boolean;
|
|
2295
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2296
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2297
|
-
successDescription?: string;
|
|
2298
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2299
|
-
};
|
|
2300
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3033
|
+
meta: TrpcMeta;
|
|
2301
3034
|
errorShape: {
|
|
2302
3035
|
message: string;
|
|
2303
3036
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -2390,26 +3123,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2390
3123
|
workspaceName: string;
|
|
2391
3124
|
hsmId: string | null;
|
|
2392
3125
|
} | null;
|
|
2393
|
-
meta:
|
|
2394
|
-
[x: string]: unknown;
|
|
2395
|
-
} & {
|
|
2396
|
-
openapi?: {
|
|
2397
|
-
enabled?: boolean;
|
|
2398
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2399
|
-
path: `/${string}`;
|
|
2400
|
-
operationId?: string;
|
|
2401
|
-
summary?: string;
|
|
2402
|
-
description?: string;
|
|
2403
|
-
protect?: boolean;
|
|
2404
|
-
tags?: string[];
|
|
2405
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2406
|
-
deprecated?: boolean;
|
|
2407
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2408
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2409
|
-
successDescription?: string;
|
|
2410
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2411
|
-
};
|
|
2412
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3126
|
+
meta: TrpcMeta;
|
|
2413
3127
|
}>;
|
|
2414
3128
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
2415
3129
|
input: {
|
|
@@ -2529,26 +3243,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2529
3243
|
hsmId: string | null;
|
|
2530
3244
|
})[];
|
|
2531
3245
|
};
|
|
2532
|
-
meta:
|
|
2533
|
-
[x: string]: unknown;
|
|
2534
|
-
} & {
|
|
2535
|
-
openapi?: {
|
|
2536
|
-
enabled?: boolean;
|
|
2537
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2538
|
-
path: `/${string}`;
|
|
2539
|
-
operationId?: string;
|
|
2540
|
-
summary?: string;
|
|
2541
|
-
description?: string;
|
|
2542
|
-
protect?: boolean;
|
|
2543
|
-
tags?: string[];
|
|
2544
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2545
|
-
deprecated?: boolean;
|
|
2546
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2547
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2548
|
-
successDescription?: string;
|
|
2549
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2550
|
-
};
|
|
2551
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3246
|
+
meta: TrpcMeta;
|
|
2552
3247
|
}>;
|
|
2553
3248
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2554
3249
|
input: {
|
|
@@ -2628,26 +3323,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2628
3323
|
workspaceName: string;
|
|
2629
3324
|
hsmId: string | null;
|
|
2630
3325
|
};
|
|
2631
|
-
meta:
|
|
2632
|
-
[x: string]: unknown;
|
|
2633
|
-
} & {
|
|
2634
|
-
openapi?: {
|
|
2635
|
-
enabled?: boolean;
|
|
2636
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2637
|
-
path: `/${string}`;
|
|
2638
|
-
operationId?: string;
|
|
2639
|
-
summary?: string;
|
|
2640
|
-
description?: string;
|
|
2641
|
-
protect?: boolean;
|
|
2642
|
-
tags?: string[];
|
|
2643
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2644
|
-
deprecated?: boolean;
|
|
2645
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2646
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2647
|
-
successDescription?: string;
|
|
2648
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2649
|
-
};
|
|
2650
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3326
|
+
meta: TrpcMeta;
|
|
2651
3327
|
}>;
|
|
2652
3328
|
}>>;
|
|
2653
3329
|
workspaceRules: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -2658,7 +3334,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2658
3334
|
debugAuthToken?: string;
|
|
2659
3335
|
rootAuthToken?: string;
|
|
2660
3336
|
backofficeRequiredPermission?: BackofficePermission;
|
|
2661
|
-
prisma: ExtendedPrismaClient;
|
|
2662
3337
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2663
3338
|
user: {
|
|
2664
3339
|
id: string;
|
|
@@ -2673,7 +3348,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2673
3348
|
u2fPubKey: string | null;
|
|
2674
3349
|
legacyViewAll: boolean;
|
|
2675
3350
|
role: UserRole;
|
|
2676
|
-
status: ActivationStatus;
|
|
3351
|
+
status: ActivationStatus$1;
|
|
2677
3352
|
isSuspended: boolean;
|
|
2678
3353
|
gateType: GateUserType | null;
|
|
2679
3354
|
gateId: number;
|
|
@@ -2684,28 +3359,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2684
3359
|
authorization: string | null;
|
|
2685
3360
|
readOnly: boolean;
|
|
2686
3361
|
activityTracer: ActivityTracer;
|
|
2687
|
-
core:
|
|
3362
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
2688
3363
|
};
|
|
2689
|
-
meta:
|
|
2690
|
-
[x: string]: unknown;
|
|
2691
|
-
} & {
|
|
2692
|
-
openapi?: {
|
|
2693
|
-
enabled?: boolean;
|
|
2694
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2695
|
-
path: `/${string}`;
|
|
2696
|
-
operationId?: string;
|
|
2697
|
-
summary?: string;
|
|
2698
|
-
description?: string;
|
|
2699
|
-
protect?: boolean;
|
|
2700
|
-
tags?: string[];
|
|
2701
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2702
|
-
deprecated?: boolean;
|
|
2703
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2704
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2705
|
-
successDescription?: string;
|
|
2706
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2707
|
-
};
|
|
2708
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3364
|
+
meta: TrpcMeta;
|
|
2709
3365
|
errorShape: {
|
|
2710
3366
|
message: string;
|
|
2711
3367
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -2745,26 +3401,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2745
3401
|
workspaceName: import("zod").output<typeof zWorkspaceName>;
|
|
2746
3402
|
})[];
|
|
2747
3403
|
};
|
|
2748
|
-
meta:
|
|
2749
|
-
[x: string]: unknown;
|
|
2750
|
-
} & {
|
|
2751
|
-
openapi?: {
|
|
2752
|
-
enabled?: boolean;
|
|
2753
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2754
|
-
path: `/${string}`;
|
|
2755
|
-
operationId?: string;
|
|
2756
|
-
summary?: string;
|
|
2757
|
-
description?: string;
|
|
2758
|
-
protect?: boolean;
|
|
2759
|
-
tags?: string[];
|
|
2760
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2761
|
-
deprecated?: boolean;
|
|
2762
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2763
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2764
|
-
successDescription?: string;
|
|
2765
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2766
|
-
};
|
|
2767
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3404
|
+
meta: TrpcMeta;
|
|
2768
3405
|
}>;
|
|
2769
3406
|
}>>;
|
|
2770
3407
|
reports: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -2775,7 +3412,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2775
3412
|
debugAuthToken?: string;
|
|
2776
3413
|
rootAuthToken?: string;
|
|
2777
3414
|
backofficeRequiredPermission?: BackofficePermission;
|
|
2778
|
-
prisma: ExtendedPrismaClient;
|
|
2779
3415
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2780
3416
|
user: {
|
|
2781
3417
|
id: string;
|
|
@@ -2790,7 +3426,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2790
3426
|
u2fPubKey: string | null;
|
|
2791
3427
|
legacyViewAll: boolean;
|
|
2792
3428
|
role: UserRole;
|
|
2793
|
-
status: ActivationStatus;
|
|
3429
|
+
status: ActivationStatus$1;
|
|
2794
3430
|
isSuspended: boolean;
|
|
2795
3431
|
gateType: GateUserType | null;
|
|
2796
3432
|
gateId: number;
|
|
@@ -2801,28 +3437,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2801
3437
|
authorization: string | null;
|
|
2802
3438
|
readOnly: boolean;
|
|
2803
3439
|
activityTracer: ActivityTracer;
|
|
2804
|
-
core:
|
|
3440
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
2805
3441
|
};
|
|
2806
|
-
meta:
|
|
2807
|
-
[x: string]: unknown;
|
|
2808
|
-
} & {
|
|
2809
|
-
openapi?: {
|
|
2810
|
-
enabled?: boolean;
|
|
2811
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2812
|
-
path: `/${string}`;
|
|
2813
|
-
operationId?: string;
|
|
2814
|
-
summary?: string;
|
|
2815
|
-
description?: string;
|
|
2816
|
-
protect?: boolean;
|
|
2817
|
-
tags?: string[];
|
|
2818
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2819
|
-
deprecated?: boolean;
|
|
2820
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2821
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2822
|
-
successDescription?: string;
|
|
2823
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2824
|
-
};
|
|
2825
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3442
|
+
meta: TrpcMeta;
|
|
2826
3443
|
errorShape: {
|
|
2827
3444
|
message: string;
|
|
2828
3445
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -2890,26 +3507,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2890
3507
|
workspaceName: import("zod").output<typeof zWorkspaceName>;
|
|
2891
3508
|
})[];
|
|
2892
3509
|
};
|
|
2893
|
-
meta:
|
|
2894
|
-
[x: string]: unknown;
|
|
2895
|
-
} & {
|
|
2896
|
-
openapi?: {
|
|
2897
|
-
enabled?: boolean;
|
|
2898
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2899
|
-
path: `/${string}`;
|
|
2900
|
-
operationId?: string;
|
|
2901
|
-
summary?: string;
|
|
2902
|
-
description?: string;
|
|
2903
|
-
protect?: boolean;
|
|
2904
|
-
tags?: string[];
|
|
2905
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2906
|
-
deprecated?: boolean;
|
|
2907
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2908
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2909
|
-
successDescription?: string;
|
|
2910
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2911
|
-
};
|
|
2912
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3510
|
+
meta: TrpcMeta;
|
|
2913
3511
|
}>;
|
|
2914
3512
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2915
3513
|
input: {
|
|
@@ -2950,26 +3548,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2950
3548
|
})) & {
|
|
2951
3549
|
workspaceName: string;
|
|
2952
3550
|
};
|
|
2953
|
-
meta:
|
|
2954
|
-
[x: string]: unknown;
|
|
2955
|
-
} & {
|
|
2956
|
-
openapi?: {
|
|
2957
|
-
enabled?: boolean;
|
|
2958
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2959
|
-
path: `/${string}`;
|
|
2960
|
-
operationId?: string;
|
|
2961
|
-
summary?: string;
|
|
2962
|
-
description?: string;
|
|
2963
|
-
protect?: boolean;
|
|
2964
|
-
tags?: string[];
|
|
2965
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2966
|
-
deprecated?: boolean;
|
|
2967
|
-
requestHeaders?: import("zod").ZodObject;
|
|
2968
|
-
responseHeaders?: import("zod").ZodObject;
|
|
2969
|
-
successDescription?: string;
|
|
2970
|
-
errorResponses?: number[] | Record<number, string>;
|
|
2971
|
-
};
|
|
2972
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3551
|
+
meta: TrpcMeta;
|
|
2973
3552
|
}>;
|
|
2974
3553
|
}>>;
|
|
2975
3554
|
requests: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -2980,7 +3559,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2980
3559
|
debugAuthToken?: string;
|
|
2981
3560
|
rootAuthToken?: string;
|
|
2982
3561
|
backofficeRequiredPermission?: BackofficePermission;
|
|
2983
|
-
prisma: ExtendedPrismaClient;
|
|
2984
3562
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2985
3563
|
user: {
|
|
2986
3564
|
id: string;
|
|
@@ -2995,7 +3573,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2995
3573
|
u2fPubKey: string | null;
|
|
2996
3574
|
legacyViewAll: boolean;
|
|
2997
3575
|
role: UserRole;
|
|
2998
|
-
status: ActivationStatus;
|
|
3576
|
+
status: ActivationStatus$1;
|
|
2999
3577
|
isSuspended: boolean;
|
|
3000
3578
|
gateType: GateUserType | null;
|
|
3001
3579
|
gateId: number;
|
|
@@ -3006,28 +3584,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3006
3584
|
authorization: string | null;
|
|
3007
3585
|
readOnly: boolean;
|
|
3008
3586
|
activityTracer: ActivityTracer;
|
|
3009
|
-
core:
|
|
3587
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
3010
3588
|
};
|
|
3011
|
-
meta:
|
|
3012
|
-
[x: string]: unknown;
|
|
3013
|
-
} & {
|
|
3014
|
-
openapi?: {
|
|
3015
|
-
enabled?: boolean;
|
|
3016
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
3017
|
-
path: `/${string}`;
|
|
3018
|
-
operationId?: string;
|
|
3019
|
-
summary?: string;
|
|
3020
|
-
description?: string;
|
|
3021
|
-
protect?: boolean;
|
|
3022
|
-
tags?: string[];
|
|
3023
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
3024
|
-
deprecated?: boolean;
|
|
3025
|
-
requestHeaders?: import("zod").ZodObject;
|
|
3026
|
-
responseHeaders?: import("zod").ZodObject;
|
|
3027
|
-
successDescription?: string;
|
|
3028
|
-
errorResponses?: number[] | Record<number, string>;
|
|
3029
|
-
};
|
|
3030
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3589
|
+
meta: TrpcMeta;
|
|
3031
3590
|
errorShape: {
|
|
3032
3591
|
message: string;
|
|
3033
3592
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -3069,26 +3628,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3069
3628
|
workspaceName: import("zod").output<typeof zWorkspaceName>;
|
|
3070
3629
|
})[];
|
|
3071
3630
|
};
|
|
3072
|
-
meta:
|
|
3073
|
-
[x: string]: unknown;
|
|
3074
|
-
} & {
|
|
3075
|
-
openapi?: {
|
|
3076
|
-
enabled?: boolean;
|
|
3077
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
3078
|
-
path: `/${string}`;
|
|
3079
|
-
operationId?: string;
|
|
3080
|
-
summary?: string;
|
|
3081
|
-
description?: string;
|
|
3082
|
-
protect?: boolean;
|
|
3083
|
-
tags?: string[];
|
|
3084
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
3085
|
-
deprecated?: boolean;
|
|
3086
|
-
requestHeaders?: import("zod").ZodObject;
|
|
3087
|
-
responseHeaders?: import("zod").ZodObject;
|
|
3088
|
-
successDescription?: string;
|
|
3089
|
-
errorResponses?: number[] | Record<number, string>;
|
|
3090
|
-
};
|
|
3091
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
3631
|
+
meta: TrpcMeta;
|
|
3092
3632
|
}>;
|
|
3093
3633
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
3094
3634
|
input: {
|
|
@@ -4679,78 +5219,21 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4679
5219
|
}) & {
|
|
4680
5220
|
workspaceName: string;
|
|
4681
5221
|
};
|
|
4682
|
-
meta:
|
|
4683
|
-
[x: string]: unknown;
|
|
4684
|
-
} & {
|
|
4685
|
-
openapi?: {
|
|
4686
|
-
enabled?: boolean;
|
|
4687
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
4688
|
-
path: `/${string}`;
|
|
4689
|
-
operationId?: string;
|
|
4690
|
-
summary?: string;
|
|
4691
|
-
description?: string;
|
|
4692
|
-
protect?: boolean;
|
|
4693
|
-
tags?: string[];
|
|
4694
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
4695
|
-
deprecated?: boolean;
|
|
4696
|
-
requestHeaders?: import("zod").ZodObject;
|
|
4697
|
-
responseHeaders?: import("zod").ZodObject;
|
|
4698
|
-
successDescription?: string;
|
|
4699
|
-
errorResponses?: number[] | Record<number, string>;
|
|
4700
|
-
};
|
|
4701
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5222
|
+
meta: TrpcMeta;
|
|
4702
5223
|
}>;
|
|
4703
5224
|
restart: import("@trpc/server").TRPCMutationProcedure<{
|
|
4704
5225
|
input: {
|
|
4705
5226
|
id: string;
|
|
4706
5227
|
};
|
|
4707
5228
|
output: void;
|
|
4708
|
-
meta:
|
|
4709
|
-
[x: string]: unknown;
|
|
4710
|
-
} & {
|
|
4711
|
-
openapi?: {
|
|
4712
|
-
enabled?: boolean;
|
|
4713
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
4714
|
-
path: `/${string}`;
|
|
4715
|
-
operationId?: string;
|
|
4716
|
-
summary?: string;
|
|
4717
|
-
description?: string;
|
|
4718
|
-
protect?: boolean;
|
|
4719
|
-
tags?: string[];
|
|
4720
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
4721
|
-
deprecated?: boolean;
|
|
4722
|
-
requestHeaders?: import("zod").ZodObject;
|
|
4723
|
-
responseHeaders?: import("zod").ZodObject;
|
|
4724
|
-
successDescription?: string;
|
|
4725
|
-
errorResponses?: number[] | Record<number, string>;
|
|
4726
|
-
};
|
|
4727
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5229
|
+
meta: TrpcMeta;
|
|
4728
5230
|
}>;
|
|
4729
5231
|
expire: import("@trpc/server").TRPCMutationProcedure<{
|
|
4730
5232
|
input: {
|
|
4731
5233
|
id: string;
|
|
4732
5234
|
};
|
|
4733
5235
|
output: void;
|
|
4734
|
-
meta:
|
|
4735
|
-
[x: string]: unknown;
|
|
4736
|
-
} & {
|
|
4737
|
-
openapi?: {
|
|
4738
|
-
enabled?: boolean;
|
|
4739
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
4740
|
-
path: `/${string}`;
|
|
4741
|
-
operationId?: string;
|
|
4742
|
-
summary?: string;
|
|
4743
|
-
description?: string;
|
|
4744
|
-
protect?: boolean;
|
|
4745
|
-
tags?: string[];
|
|
4746
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
4747
|
-
deprecated?: boolean;
|
|
4748
|
-
requestHeaders?: import("zod").ZodObject;
|
|
4749
|
-
responseHeaders?: import("zod").ZodObject;
|
|
4750
|
-
successDescription?: string;
|
|
4751
|
-
errorResponses?: number[] | Record<number, string>;
|
|
4752
|
-
};
|
|
4753
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5236
|
+
meta: TrpcMeta;
|
|
4754
5237
|
}>;
|
|
4755
5238
|
}>>;
|
|
4756
5239
|
relationships: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -4761,7 +5244,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4761
5244
|
debugAuthToken?: string;
|
|
4762
5245
|
rootAuthToken?: string;
|
|
4763
5246
|
backofficeRequiredPermission?: BackofficePermission;
|
|
4764
|
-
prisma: ExtendedPrismaClient;
|
|
4765
5247
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
4766
5248
|
user: {
|
|
4767
5249
|
id: string;
|
|
@@ -4776,7 +5258,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4776
5258
|
u2fPubKey: string | null;
|
|
4777
5259
|
legacyViewAll: boolean;
|
|
4778
5260
|
role: UserRole;
|
|
4779
|
-
status: ActivationStatus;
|
|
5261
|
+
status: ActivationStatus$1;
|
|
4780
5262
|
isSuspended: boolean;
|
|
4781
5263
|
gateType: GateUserType | null;
|
|
4782
5264
|
gateId: number;
|
|
@@ -4787,28 +5269,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4787
5269
|
authorization: string | null;
|
|
4788
5270
|
readOnly: boolean;
|
|
4789
5271
|
activityTracer: ActivityTracer;
|
|
4790
|
-
core:
|
|
5272
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
4791
5273
|
};
|
|
4792
|
-
meta:
|
|
4793
|
-
[x: string]: unknown;
|
|
4794
|
-
} & {
|
|
4795
|
-
openapi?: {
|
|
4796
|
-
enabled?: boolean;
|
|
4797
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
4798
|
-
path: `/${string}`;
|
|
4799
|
-
operationId?: string;
|
|
4800
|
-
summary?: string;
|
|
4801
|
-
description?: string;
|
|
4802
|
-
protect?: boolean;
|
|
4803
|
-
tags?: string[];
|
|
4804
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
4805
|
-
deprecated?: boolean;
|
|
4806
|
-
requestHeaders?: import("zod").ZodObject;
|
|
4807
|
-
responseHeaders?: import("zod").ZodObject;
|
|
4808
|
-
successDescription?: string;
|
|
4809
|
-
errorResponses?: number[] | Record<number, string>;
|
|
4810
|
-
};
|
|
4811
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5274
|
+
meta: TrpcMeta;
|
|
4812
5275
|
errorShape: {
|
|
4813
5276
|
message: string;
|
|
4814
5277
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -4843,26 +5306,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4843
5306
|
count: number;
|
|
4844
5307
|
}[];
|
|
4845
5308
|
};
|
|
4846
|
-
meta:
|
|
4847
|
-
[x: string]: unknown;
|
|
4848
|
-
} & {
|
|
4849
|
-
openapi?: {
|
|
4850
|
-
enabled?: boolean;
|
|
4851
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
4852
|
-
path: `/${string}`;
|
|
4853
|
-
operationId?: string;
|
|
4854
|
-
summary?: string;
|
|
4855
|
-
description?: string;
|
|
4856
|
-
protect?: boolean;
|
|
4857
|
-
tags?: string[];
|
|
4858
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
4859
|
-
deprecated?: boolean;
|
|
4860
|
-
requestHeaders?: import("zod").ZodObject;
|
|
4861
|
-
responseHeaders?: import("zod").ZodObject;
|
|
4862
|
-
successDescription?: string;
|
|
4863
|
-
errorResponses?: number[] | Record<number, string>;
|
|
4864
|
-
};
|
|
4865
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5309
|
+
meta: TrpcMeta;
|
|
4866
5310
|
}>;
|
|
4867
5311
|
materialize: import("@trpc/server").TRPCMutationProcedure<{
|
|
4868
5312
|
input: {
|
|
@@ -4878,26 +5322,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4878
5322
|
writeDurationMs: number;
|
|
4879
5323
|
totalDurationMs: number;
|
|
4880
5324
|
};
|
|
4881
|
-
meta:
|
|
4882
|
-
[x: string]: unknown;
|
|
4883
|
-
} & {
|
|
4884
|
-
openapi?: {
|
|
4885
|
-
enabled?: boolean;
|
|
4886
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
4887
|
-
path: `/${string}`;
|
|
4888
|
-
operationId?: string;
|
|
4889
|
-
summary?: string;
|
|
4890
|
-
description?: string;
|
|
4891
|
-
protect?: boolean;
|
|
4892
|
-
tags?: string[];
|
|
4893
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
4894
|
-
deprecated?: boolean;
|
|
4895
|
-
requestHeaders?: import("zod").ZodObject;
|
|
4896
|
-
responseHeaders?: import("zod").ZodObject;
|
|
4897
|
-
successDescription?: string;
|
|
4898
|
-
errorResponses?: number[] | Record<number, string>;
|
|
4899
|
-
};
|
|
4900
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5325
|
+
meta: TrpcMeta;
|
|
4901
5326
|
}>;
|
|
4902
5327
|
health: import("@trpc/server").TRPCQueryProcedure<{
|
|
4903
5328
|
input: {
|
|
@@ -4919,26 +5344,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4919
5344
|
count: number;
|
|
4920
5345
|
}[];
|
|
4921
5346
|
};
|
|
4922
|
-
meta:
|
|
4923
|
-
[x: string]: unknown;
|
|
4924
|
-
} & {
|
|
4925
|
-
openapi?: {
|
|
4926
|
-
enabled?: boolean;
|
|
4927
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
4928
|
-
path: `/${string}`;
|
|
4929
|
-
operationId?: string;
|
|
4930
|
-
summary?: string;
|
|
4931
|
-
description?: string;
|
|
4932
|
-
protect?: boolean;
|
|
4933
|
-
tags?: string[];
|
|
4934
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
4935
|
-
deprecated?: boolean;
|
|
4936
|
-
requestHeaders?: import("zod").ZodObject;
|
|
4937
|
-
responseHeaders?: import("zod").ZodObject;
|
|
4938
|
-
successDescription?: string;
|
|
4939
|
-
errorResponses?: number[] | Record<number, string>;
|
|
4940
|
-
};
|
|
4941
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5347
|
+
meta: TrpcMeta;
|
|
4942
5348
|
}>;
|
|
4943
5349
|
driftCheck: import("@trpc/server").TRPCQueryProcedure<{
|
|
4944
5350
|
input: {
|
|
@@ -4978,26 +5384,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4978
5384
|
compareDurationMs: number;
|
|
4979
5385
|
totalDurationMs: number;
|
|
4980
5386
|
};
|
|
4981
|
-
meta:
|
|
4982
|
-
[x: string]: unknown;
|
|
4983
|
-
} & {
|
|
4984
|
-
openapi?: {
|
|
4985
|
-
enabled?: boolean;
|
|
4986
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
4987
|
-
path: `/${string}`;
|
|
4988
|
-
operationId?: string;
|
|
4989
|
-
summary?: string;
|
|
4990
|
-
description?: string;
|
|
4991
|
-
protect?: boolean;
|
|
4992
|
-
tags?: string[];
|
|
4993
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
4994
|
-
deprecated?: boolean;
|
|
4995
|
-
requestHeaders?: import("zod").ZodObject;
|
|
4996
|
-
responseHeaders?: import("zod").ZodObject;
|
|
4997
|
-
successDescription?: string;
|
|
4998
|
-
errorResponses?: number[] | Record<number, string>;
|
|
4999
|
-
};
|
|
5000
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5387
|
+
meta: TrpcMeta;
|
|
5001
5388
|
}>;
|
|
5002
5389
|
}>>;
|
|
5003
5390
|
auditLogs: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -5008,7 +5395,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5008
5395
|
debugAuthToken?: string;
|
|
5009
5396
|
rootAuthToken?: string;
|
|
5010
5397
|
backofficeRequiredPermission?: BackofficePermission;
|
|
5011
|
-
prisma: ExtendedPrismaClient;
|
|
5012
5398
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
5013
5399
|
user: {
|
|
5014
5400
|
id: string;
|
|
@@ -5023,7 +5409,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5023
5409
|
u2fPubKey: string | null;
|
|
5024
5410
|
legacyViewAll: boolean;
|
|
5025
5411
|
role: UserRole;
|
|
5026
|
-
status: ActivationStatus;
|
|
5412
|
+
status: ActivationStatus$1;
|
|
5027
5413
|
isSuspended: boolean;
|
|
5028
5414
|
gateType: GateUserType | null;
|
|
5029
5415
|
gateId: number;
|
|
@@ -5034,28 +5420,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5034
5420
|
authorization: string | null;
|
|
5035
5421
|
readOnly: boolean;
|
|
5036
5422
|
activityTracer: ActivityTracer;
|
|
5037
|
-
core:
|
|
5423
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
5038
5424
|
};
|
|
5039
|
-
meta:
|
|
5040
|
-
[x: string]: unknown;
|
|
5041
|
-
} & {
|
|
5042
|
-
openapi?: {
|
|
5043
|
-
enabled?: boolean;
|
|
5044
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5045
|
-
path: `/${string}`;
|
|
5046
|
-
operationId?: string;
|
|
5047
|
-
summary?: string;
|
|
5048
|
-
description?: string;
|
|
5049
|
-
protect?: boolean;
|
|
5050
|
-
tags?: string[];
|
|
5051
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5052
|
-
deprecated?: boolean;
|
|
5053
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5054
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5055
|
-
successDescription?: string;
|
|
5056
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5057
|
-
};
|
|
5058
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5425
|
+
meta: TrpcMeta;
|
|
5059
5426
|
errorShape: {
|
|
5060
5427
|
message: string;
|
|
5061
5428
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -5095,26 +5462,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5095
5462
|
createdAt: Date;
|
|
5096
5463
|
}[];
|
|
5097
5464
|
};
|
|
5098
|
-
meta:
|
|
5099
|
-
[x: string]: unknown;
|
|
5100
|
-
} & {
|
|
5101
|
-
openapi?: {
|
|
5102
|
-
enabled?: boolean;
|
|
5103
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5104
|
-
path: `/${string}`;
|
|
5105
|
-
operationId?: string;
|
|
5106
|
-
summary?: string;
|
|
5107
|
-
description?: string;
|
|
5108
|
-
protect?: boolean;
|
|
5109
|
-
tags?: string[];
|
|
5110
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5111
|
-
deprecated?: boolean;
|
|
5112
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5113
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5114
|
-
successDescription?: string;
|
|
5115
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5116
|
-
};
|
|
5117
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5465
|
+
meta: TrpcMeta;
|
|
5118
5466
|
}>;
|
|
5119
5467
|
findById: import("@trpc/server").TRPCQueryProcedure<{
|
|
5120
5468
|
input: {
|
|
@@ -5127,26 +5475,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5127
5475
|
payload: unknown;
|
|
5128
5476
|
createdAt: Date;
|
|
5129
5477
|
};
|
|
5130
|
-
meta:
|
|
5131
|
-
[x: string]: unknown;
|
|
5132
|
-
} & {
|
|
5133
|
-
openapi?: {
|
|
5134
|
-
enabled?: boolean;
|
|
5135
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5136
|
-
path: `/${string}`;
|
|
5137
|
-
operationId?: string;
|
|
5138
|
-
summary?: string;
|
|
5139
|
-
description?: string;
|
|
5140
|
-
protect?: boolean;
|
|
5141
|
-
tags?: string[];
|
|
5142
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5143
|
-
deprecated?: boolean;
|
|
5144
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5145
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5146
|
-
successDescription?: string;
|
|
5147
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5148
|
-
};
|
|
5149
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5478
|
+
meta: TrpcMeta;
|
|
5150
5479
|
}>;
|
|
5151
5480
|
}>>;
|
|
5152
5481
|
auditTrail: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -5157,7 +5486,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5157
5486
|
debugAuthToken?: string;
|
|
5158
5487
|
rootAuthToken?: string;
|
|
5159
5488
|
backofficeRequiredPermission?: BackofficePermission;
|
|
5160
|
-
prisma: ExtendedPrismaClient;
|
|
5161
5489
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
5162
5490
|
user: {
|
|
5163
5491
|
id: string;
|
|
@@ -5172,7 +5500,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5172
5500
|
u2fPubKey: string | null;
|
|
5173
5501
|
legacyViewAll: boolean;
|
|
5174
5502
|
role: UserRole;
|
|
5175
|
-
status: ActivationStatus;
|
|
5503
|
+
status: ActivationStatus$1;
|
|
5176
5504
|
isSuspended: boolean;
|
|
5177
5505
|
gateType: GateUserType | null;
|
|
5178
5506
|
gateId: number;
|
|
@@ -5183,28 +5511,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5183
5511
|
authorization: string | null;
|
|
5184
5512
|
readOnly: boolean;
|
|
5185
5513
|
activityTracer: ActivityTracer;
|
|
5186
|
-
core:
|
|
5514
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
5187
5515
|
};
|
|
5188
|
-
meta:
|
|
5189
|
-
[x: string]: unknown;
|
|
5190
|
-
} & {
|
|
5191
|
-
openapi?: {
|
|
5192
|
-
enabled?: boolean;
|
|
5193
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5194
|
-
path: `/${string}`;
|
|
5195
|
-
operationId?: string;
|
|
5196
|
-
summary?: string;
|
|
5197
|
-
description?: string;
|
|
5198
|
-
protect?: boolean;
|
|
5199
|
-
tags?: string[];
|
|
5200
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5201
|
-
deprecated?: boolean;
|
|
5202
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5203
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5204
|
-
successDescription?: string;
|
|
5205
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5206
|
-
};
|
|
5207
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5516
|
+
meta: TrpcMeta;
|
|
5208
5517
|
errorShape: {
|
|
5209
5518
|
message: string;
|
|
5210
5519
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -5241,26 +5550,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5241
5550
|
hasMore: boolean;
|
|
5242
5551
|
capped: boolean;
|
|
5243
5552
|
};
|
|
5244
|
-
meta:
|
|
5245
|
-
[x: string]: unknown;
|
|
5246
|
-
} & {
|
|
5247
|
-
openapi?: {
|
|
5248
|
-
enabled?: boolean;
|
|
5249
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5250
|
-
path: `/${string}`;
|
|
5251
|
-
operationId?: string;
|
|
5252
|
-
summary?: string;
|
|
5253
|
-
description?: string;
|
|
5254
|
-
protect?: boolean;
|
|
5255
|
-
tags?: string[];
|
|
5256
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5257
|
-
deprecated?: boolean;
|
|
5258
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5259
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5260
|
-
successDescription?: string;
|
|
5261
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5262
|
-
};
|
|
5263
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5553
|
+
meta: TrpcMeta;
|
|
5264
5554
|
}>;
|
|
5265
5555
|
requestFailures: import("@trpc/server").TRPCQueryProcedure<{
|
|
5266
5556
|
input: {
|
|
@@ -5280,26 +5570,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5280
5570
|
hasMore: boolean;
|
|
5281
5571
|
capped: boolean;
|
|
5282
5572
|
};
|
|
5283
|
-
meta:
|
|
5284
|
-
[x: string]: unknown;
|
|
5285
|
-
} & {
|
|
5286
|
-
openapi?: {
|
|
5287
|
-
enabled?: boolean;
|
|
5288
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5289
|
-
path: `/${string}`;
|
|
5290
|
-
operationId?: string;
|
|
5291
|
-
summary?: string;
|
|
5292
|
-
description?: string;
|
|
5293
|
-
protect?: boolean;
|
|
5294
|
-
tags?: string[];
|
|
5295
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5296
|
-
deprecated?: boolean;
|
|
5297
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5298
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5299
|
-
successDescription?: string;
|
|
5300
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5301
|
-
};
|
|
5302
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5573
|
+
meta: TrpcMeta;
|
|
5303
5574
|
}>;
|
|
5304
5575
|
getEvent: import("@trpc/server").TRPCQueryProcedure<{
|
|
5305
5576
|
input: {
|
|
@@ -5313,26 +5584,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5313
5584
|
contentType: string;
|
|
5314
5585
|
decoded: boolean;
|
|
5315
5586
|
};
|
|
5316
|
-
meta:
|
|
5317
|
-
[x: string]: unknown;
|
|
5318
|
-
} & {
|
|
5319
|
-
openapi?: {
|
|
5320
|
-
enabled?: boolean;
|
|
5321
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5322
|
-
path: `/${string}`;
|
|
5323
|
-
operationId?: string;
|
|
5324
|
-
summary?: string;
|
|
5325
|
-
description?: string;
|
|
5326
|
-
protect?: boolean;
|
|
5327
|
-
tags?: string[];
|
|
5328
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5329
|
-
deprecated?: boolean;
|
|
5330
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5331
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5332
|
-
successDescription?: string;
|
|
5333
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5334
|
-
};
|
|
5335
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5587
|
+
meta: TrpcMeta;
|
|
5336
5588
|
}>;
|
|
5337
5589
|
}>>;
|
|
5338
5590
|
hsmRequests: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -5343,7 +5595,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5343
5595
|
debugAuthToken?: string;
|
|
5344
5596
|
rootAuthToken?: string;
|
|
5345
5597
|
backofficeRequiredPermission?: BackofficePermission;
|
|
5346
|
-
prisma: ExtendedPrismaClient;
|
|
5347
5598
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
5348
5599
|
user: {
|
|
5349
5600
|
id: string;
|
|
@@ -5358,7 +5609,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5358
5609
|
u2fPubKey: string | null;
|
|
5359
5610
|
legacyViewAll: boolean;
|
|
5360
5611
|
role: UserRole;
|
|
5361
|
-
status: ActivationStatus;
|
|
5612
|
+
status: ActivationStatus$1;
|
|
5362
5613
|
isSuspended: boolean;
|
|
5363
5614
|
gateType: GateUserType | null;
|
|
5364
5615
|
gateId: number;
|
|
@@ -5369,28 +5620,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5369
5620
|
authorization: string | null;
|
|
5370
5621
|
readOnly: boolean;
|
|
5371
5622
|
activityTracer: ActivityTracer;
|
|
5372
|
-
core:
|
|
5623
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
5373
5624
|
};
|
|
5374
|
-
meta:
|
|
5375
|
-
[x: string]: unknown;
|
|
5376
|
-
} & {
|
|
5377
|
-
openapi?: {
|
|
5378
|
-
enabled?: boolean;
|
|
5379
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5380
|
-
path: `/${string}`;
|
|
5381
|
-
operationId?: string;
|
|
5382
|
-
summary?: string;
|
|
5383
|
-
description?: string;
|
|
5384
|
-
protect?: boolean;
|
|
5385
|
-
tags?: string[];
|
|
5386
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5387
|
-
deprecated?: boolean;
|
|
5388
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5389
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5390
|
-
successDescription?: string;
|
|
5391
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5392
|
-
};
|
|
5393
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5625
|
+
meta: TrpcMeta;
|
|
5394
5626
|
errorShape: {
|
|
5395
5627
|
message: string;
|
|
5396
5628
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -5416,26 +5648,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5416
5648
|
total_objects: number;
|
|
5417
5649
|
objects_report: Record<string, number>;
|
|
5418
5650
|
};
|
|
5419
|
-
meta:
|
|
5420
|
-
[x: string]: unknown;
|
|
5421
|
-
} & {
|
|
5422
|
-
openapi?: {
|
|
5423
|
-
enabled?: boolean;
|
|
5424
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5425
|
-
path: `/${string}`;
|
|
5426
|
-
operationId?: string;
|
|
5427
|
-
summary?: string;
|
|
5428
|
-
description?: string;
|
|
5429
|
-
protect?: boolean;
|
|
5430
|
-
tags?: string[];
|
|
5431
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5432
|
-
deprecated?: boolean;
|
|
5433
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5434
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5435
|
-
successDescription?: string;
|
|
5436
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5437
|
-
};
|
|
5438
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5651
|
+
meta: TrpcMeta;
|
|
5439
5652
|
}>;
|
|
5440
5653
|
objectsInfo: import("@trpc/server").TRPCQueryProcedure<{
|
|
5441
5654
|
input: {
|
|
@@ -5469,26 +5682,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5469
5682
|
}[];
|
|
5470
5683
|
objects_missing_merkle_tree_id: string[];
|
|
5471
5684
|
};
|
|
5472
|
-
meta:
|
|
5473
|
-
[x: string]: unknown;
|
|
5474
|
-
} & {
|
|
5475
|
-
openapi?: {
|
|
5476
|
-
enabled?: boolean;
|
|
5477
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5478
|
-
path: `/${string}`;
|
|
5479
|
-
operationId?: string;
|
|
5480
|
-
summary?: string;
|
|
5481
|
-
description?: string;
|
|
5482
|
-
protect?: boolean;
|
|
5483
|
-
tags?: string[];
|
|
5484
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5485
|
-
deprecated?: boolean;
|
|
5486
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5487
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5488
|
-
successDescription?: string;
|
|
5489
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5490
|
-
};
|
|
5491
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5685
|
+
meta: TrpcMeta;
|
|
5492
5686
|
}>;
|
|
5493
5687
|
objectsContent: import("@trpc/server").TRPCQueryProcedure<{
|
|
5494
5688
|
input: {
|
|
@@ -5505,26 +5699,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5505
5699
|
object_contents: unknown[];
|
|
5506
5700
|
objects_missing_merkle_tree_id: string[];
|
|
5507
5701
|
};
|
|
5508
|
-
meta:
|
|
5509
|
-
[x: string]: unknown;
|
|
5510
|
-
} & {
|
|
5511
|
-
openapi?: {
|
|
5512
|
-
enabled?: boolean;
|
|
5513
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5514
|
-
path: `/${string}`;
|
|
5515
|
-
operationId?: string;
|
|
5516
|
-
summary?: string;
|
|
5517
|
-
description?: string;
|
|
5518
|
-
protect?: boolean;
|
|
5519
|
-
tags?: string[];
|
|
5520
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5521
|
-
deprecated?: boolean;
|
|
5522
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5523
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5524
|
-
successDescription?: string;
|
|
5525
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5526
|
-
};
|
|
5527
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5702
|
+
meta: TrpcMeta;
|
|
5528
5703
|
}>;
|
|
5529
5704
|
compareWithHsm: import("@trpc/server").TRPCQueryProcedure<{
|
|
5530
5705
|
input: {
|
|
@@ -5532,26 +5707,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5532
5707
|
comparator: "whitelists" | "workspace-name";
|
|
5533
5708
|
};
|
|
5534
5709
|
output: HsmWorkspaceComparison;
|
|
5535
|
-
meta:
|
|
5536
|
-
[x: string]: unknown;
|
|
5537
|
-
} & {
|
|
5538
|
-
openapi?: {
|
|
5539
|
-
enabled?: boolean;
|
|
5540
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5541
|
-
path: `/${string}`;
|
|
5542
|
-
operationId?: string;
|
|
5543
|
-
summary?: string;
|
|
5544
|
-
description?: string;
|
|
5545
|
-
protect?: boolean;
|
|
5546
|
-
tags?: string[];
|
|
5547
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5548
|
-
deprecated?: boolean;
|
|
5549
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5550
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5551
|
-
successDescription?: string;
|
|
5552
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5553
|
-
};
|
|
5554
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5710
|
+
meta: TrpcMeta;
|
|
5555
5711
|
}>;
|
|
5556
5712
|
}>>;
|
|
5557
5713
|
}>>;
|
|
@@ -5563,7 +5719,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5563
5719
|
debugAuthToken?: string;
|
|
5564
5720
|
rootAuthToken?: string;
|
|
5565
5721
|
backofficeRequiredPermission?: BackofficePermission;
|
|
5566
|
-
prisma: ExtendedPrismaClient;
|
|
5567
5722
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
5568
5723
|
user: {
|
|
5569
5724
|
id: string;
|
|
@@ -5578,7 +5733,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5578
5733
|
u2fPubKey: string | null;
|
|
5579
5734
|
legacyViewAll: boolean;
|
|
5580
5735
|
role: UserRole;
|
|
5581
|
-
status: ActivationStatus;
|
|
5736
|
+
status: ActivationStatus$1;
|
|
5582
5737
|
isSuspended: boolean;
|
|
5583
5738
|
gateType: GateUserType | null;
|
|
5584
5739
|
gateId: number;
|
|
@@ -5589,28 +5744,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5589
5744
|
authorization: string | null;
|
|
5590
5745
|
readOnly: boolean;
|
|
5591
5746
|
activityTracer: ActivityTracer;
|
|
5592
|
-
core:
|
|
5747
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
5593
5748
|
};
|
|
5594
|
-
meta:
|
|
5595
|
-
[x: string]: unknown;
|
|
5596
|
-
} & {
|
|
5597
|
-
openapi?: {
|
|
5598
|
-
enabled?: boolean;
|
|
5599
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5600
|
-
path: `/${string}`;
|
|
5601
|
-
operationId?: string;
|
|
5602
|
-
summary?: string;
|
|
5603
|
-
description?: string;
|
|
5604
|
-
protect?: boolean;
|
|
5605
|
-
tags?: string[];
|
|
5606
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5607
|
-
deprecated?: boolean;
|
|
5608
|
-
requestHeaders?: import("zod").ZodObject;
|
|
5609
|
-
responseHeaders?: import("zod").ZodObject;
|
|
5610
|
-
successDescription?: string;
|
|
5611
|
-
errorResponses?: number[] | Record<number, string>;
|
|
5612
|
-
};
|
|
5613
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5749
|
+
meta: TrpcMeta;
|
|
5614
5750
|
errorShape: {
|
|
5615
5751
|
message: string;
|
|
5616
5752
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -7225,26 +7361,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7225
7361
|
}[] | undefined;
|
|
7226
7362
|
})[];
|
|
7227
7363
|
};
|
|
7228
|
-
meta:
|
|
7229
|
-
[x: string]: unknown;
|
|
7230
|
-
} & {
|
|
7231
|
-
openapi?: {
|
|
7232
|
-
enabled?: boolean;
|
|
7233
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
7234
|
-
path: `/${string}`;
|
|
7235
|
-
operationId?: string;
|
|
7236
|
-
summary?: string;
|
|
7237
|
-
description?: string;
|
|
7238
|
-
protect?: boolean;
|
|
7239
|
-
tags?: string[];
|
|
7240
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
7241
|
-
deprecated?: boolean;
|
|
7242
|
-
requestHeaders?: import("zod").ZodObject;
|
|
7243
|
-
responseHeaders?: import("zod").ZodObject;
|
|
7244
|
-
successDescription?: string;
|
|
7245
|
-
errorResponses?: number[] | Record<number, string>;
|
|
7246
|
-
};
|
|
7247
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
7364
|
+
meta: TrpcMeta;
|
|
7248
7365
|
}>;
|
|
7249
7366
|
updateReportTaskResult: import("@trpc/server").TRPCMutationProcedure<{
|
|
7250
7367
|
input: {
|
|
@@ -7264,26 +7381,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7264
7381
|
generationTaskId: string;
|
|
7265
7382
|
status: "COMPLETED" | "DELETED" | "FAILED" | "INITIAL" | "PURGED" | "SCHEDULED";
|
|
7266
7383
|
};
|
|
7267
|
-
meta:
|
|
7268
|
-
[x: string]: unknown;
|
|
7269
|
-
} & {
|
|
7270
|
-
openapi?: {
|
|
7271
|
-
enabled?: boolean;
|
|
7272
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
7273
|
-
path: `/${string}`;
|
|
7274
|
-
operationId?: string;
|
|
7275
|
-
summary?: string;
|
|
7276
|
-
description?: string;
|
|
7277
|
-
protect?: boolean;
|
|
7278
|
-
tags?: string[];
|
|
7279
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
7280
|
-
deprecated?: boolean;
|
|
7281
|
-
requestHeaders?: import("zod").ZodObject;
|
|
7282
|
-
responseHeaders?: import("zod").ZodObject;
|
|
7283
|
-
successDescription?: string;
|
|
7284
|
-
errorResponses?: number[] | Record<number, string>;
|
|
7285
|
-
};
|
|
7286
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
7384
|
+
meta: TrpcMeta;
|
|
7287
7385
|
}>;
|
|
7288
7386
|
}>>;
|
|
7289
7387
|
workspaces: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -7294,7 +7392,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7294
7392
|
debugAuthToken?: string;
|
|
7295
7393
|
rootAuthToken?: string;
|
|
7296
7394
|
backofficeRequiredPermission?: BackofficePermission;
|
|
7297
|
-
prisma: ExtendedPrismaClient;
|
|
7298
7395
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
7299
7396
|
user: {
|
|
7300
7397
|
id: string;
|
|
@@ -7309,7 +7406,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7309
7406
|
u2fPubKey: string | null;
|
|
7310
7407
|
legacyViewAll: boolean;
|
|
7311
7408
|
role: UserRole;
|
|
7312
|
-
status: ActivationStatus;
|
|
7409
|
+
status: ActivationStatus$1;
|
|
7313
7410
|
isSuspended: boolean;
|
|
7314
7411
|
gateType: GateUserType | null;
|
|
7315
7412
|
gateId: number;
|
|
@@ -7320,28 +7417,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7320
7417
|
authorization: string | null;
|
|
7321
7418
|
readOnly: boolean;
|
|
7322
7419
|
activityTracer: ActivityTracer;
|
|
7323
|
-
core:
|
|
7420
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
7324
7421
|
};
|
|
7325
|
-
meta:
|
|
7326
|
-
[x: string]: unknown;
|
|
7327
|
-
} & {
|
|
7328
|
-
openapi?: {
|
|
7329
|
-
enabled?: boolean;
|
|
7330
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
7331
|
-
path: `/${string}`;
|
|
7332
|
-
operationId?: string;
|
|
7333
|
-
summary?: string;
|
|
7334
|
-
description?: string;
|
|
7335
|
-
protect?: boolean;
|
|
7336
|
-
tags?: string[];
|
|
7337
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
7338
|
-
deprecated?: boolean;
|
|
7339
|
-
requestHeaders?: import("zod").ZodObject;
|
|
7340
|
-
responseHeaders?: import("zod").ZodObject;
|
|
7341
|
-
successDescription?: string;
|
|
7342
|
-
errorResponses?: number[] | Record<number, string>;
|
|
7343
|
-
};
|
|
7344
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
7422
|
+
meta: TrpcMeta;
|
|
7345
7423
|
errorShape: {
|
|
7346
7424
|
message: string;
|
|
7347
7425
|
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
@@ -7365,26 +7443,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7365
7443
|
createdAt: Date;
|
|
7366
7444
|
updatedAt: Date;
|
|
7367
7445
|
}[];
|
|
7368
|
-
meta:
|
|
7369
|
-
[x: string]: unknown;
|
|
7370
|
-
} & {
|
|
7371
|
-
openapi?: {
|
|
7372
|
-
enabled?: boolean;
|
|
7373
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
7374
|
-
path: `/${string}`;
|
|
7375
|
-
operationId?: string;
|
|
7376
|
-
summary?: string;
|
|
7377
|
-
description?: string;
|
|
7378
|
-
protect?: boolean;
|
|
7379
|
-
tags?: string[];
|
|
7380
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
7381
|
-
deprecated?: boolean;
|
|
7382
|
-
requestHeaders?: import("zod").ZodObject;
|
|
7383
|
-
responseHeaders?: import("zod").ZodObject;
|
|
7384
|
-
successDescription?: string;
|
|
7385
|
-
errorResponses?: number[] | Record<number, string>;
|
|
7386
|
-
};
|
|
7387
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
7446
|
+
meta: TrpcMeta;
|
|
7388
7447
|
}>;
|
|
7389
7448
|
findByName: import("@trpc/server").TRPCQueryProcedure<{
|
|
7390
7449
|
input: {
|
|
@@ -7397,26 +7456,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7397
7456
|
createdAt: Date;
|
|
7398
7457
|
updatedAt: Date;
|
|
7399
7458
|
};
|
|
7400
|
-
meta:
|
|
7401
|
-
[x: string]: unknown;
|
|
7402
|
-
} & {
|
|
7403
|
-
openapi?: {
|
|
7404
|
-
enabled?: boolean;
|
|
7405
|
-
method: import("trpc-to-openapi").OpenApiMethod;
|
|
7406
|
-
path: `/${string}`;
|
|
7407
|
-
operationId?: string;
|
|
7408
|
-
summary?: string;
|
|
7409
|
-
description?: string;
|
|
7410
|
-
protect?: boolean;
|
|
7411
|
-
tags?: string[];
|
|
7412
|
-
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
7413
|
-
deprecated?: boolean;
|
|
7414
|
-
requestHeaders?: import("zod").ZodObject;
|
|
7415
|
-
responseHeaders?: import("zod").ZodObject;
|
|
7416
|
-
successDescription?: string;
|
|
7417
|
-
errorResponses?: number[] | Record<number, string>;
|
|
7418
|
-
};
|
|
7419
|
-
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
7459
|
+
meta: TrpcMeta;
|
|
7420
7460
|
}>;
|
|
7421
7461
|
}>>;
|
|
7422
7462
|
}>>;
|