@ledgerhq/revault-api 1.85.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.
@@ -1,6 +1,1390 @@
1
- import { Er as zOidcConfig, F as RuntimeInternalApiCapabilityProvider, I as RateLimitMetricsMeta, P as BackofficePermissionMeta, Sa as SendOnlyTransactionData, Tn as UserRole, X as BackofficePermission, Y as ActivityTracer, ai as HsmCertificate, bo as HsmWorkspaceComparison, cn as GateUserType, it as VaultRequestResponse, nn as ActivationStatus, po as Note, tt as RequestReview, un as MaintenanceMode, wa as TransactionData, wn as UserDeviceType } from "../app-lib-D-2gZGYR.mjs";
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
@@ -27,7 +1411,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
27
1411
  u2fPubKey: string | null;
28
1412
  legacyViewAll: boolean;
29
1413
  role: UserRole;
30
- status: ActivationStatus;
1414
+ status: ActivationStatus$1;
31
1415
  isSuspended: boolean;
32
1416
  gateType: GateUserType | null;
33
1417
  gateId: number;
@@ -40,26 +1424,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
40
1424
  activityTracer: ActivityTracer;
41
1425
  core: RuntimeInternalApiCapabilityProvider;
42
1426
  };
43
- meta: {
44
- [x: string]: unknown;
45
- } & {
46
- openapi?: {
47
- enabled?: boolean;
48
- method: import("trpc-to-openapi").OpenApiMethod;
49
- path: `/${string}`;
50
- operationId?: string;
51
- summary?: string;
52
- description?: string;
53
- protect?: boolean;
54
- tags?: string[];
55
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
56
- deprecated?: boolean;
57
- requestHeaders?: import("zod").ZodObject;
58
- responseHeaders?: import("zod").ZodObject;
59
- successDescription?: string;
60
- errorResponses?: number[] | Record<number, string>;
61
- };
62
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1427
+ meta: TrpcMeta;
63
1428
  errorShape: {
64
1429
  message: string;
65
1430
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -96,7 +1461,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
96
1461
  u2fPubKey: string | null;
97
1462
  legacyViewAll: boolean;
98
1463
  role: UserRole;
99
- status: ActivationStatus;
1464
+ status: ActivationStatus$1;
100
1465
  isSuspended: boolean;
101
1466
  gateType: GateUserType | null;
102
1467
  gateId: number;
@@ -109,26 +1474,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
109
1474
  activityTracer: ActivityTracer;
110
1475
  core: RuntimeInternalApiCapabilityProvider;
111
1476
  };
112
- meta: {
113
- [x: string]: unknown;
114
- } & {
115
- openapi?: {
116
- enabled?: boolean;
117
- method: import("trpc-to-openapi").OpenApiMethod;
118
- path: `/${string}`;
119
- operationId?: string;
120
- summary?: string;
121
- description?: string;
122
- protect?: boolean;
123
- tags?: string[];
124
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
125
- deprecated?: boolean;
126
- requestHeaders?: import("zod").ZodObject;
127
- responseHeaders?: import("zod").ZodObject;
128
- successDescription?: string;
129
- errorResponses?: number[] | Record<number, string>;
130
- };
131
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1477
+ meta: TrpcMeta;
132
1478
  errorShape: {
133
1479
  message: string;
134
1480
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -150,26 +1496,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
150
1496
  groups: string[];
151
1497
  permissions: ("backoffice:read" | "impersonation:list" | "impersonation:request" | "impersonation:revoke" | "onboarding:create" | "request:expire" | "request:restart" | "workspace:edit")[];
152
1498
  };
153
- meta: {
154
- [x: string]: unknown;
155
- } & {
156
- openapi?: {
157
- enabled?: boolean;
158
- method: import("trpc-to-openapi").OpenApiMethod;
159
- path: `/${string}`;
160
- operationId?: string;
161
- summary?: string;
162
- description?: string;
163
- protect?: boolean;
164
- tags?: string[];
165
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
166
- deprecated?: boolean;
167
- requestHeaders?: import("zod").ZodObject;
168
- responseHeaders?: import("zod").ZodObject;
169
- successDescription?: string;
170
- errorResponses?: number[] | Record<number, string>;
171
- };
172
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1499
+ meta: TrpcMeta;
173
1500
  }>;
174
1501
  workspaces: import("@trpc/server").TRPCBuiltRouter<{
175
1502
  ctx: {
@@ -193,7 +1520,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
193
1520
  u2fPubKey: string | null;
194
1521
  legacyViewAll: boolean;
195
1522
  role: UserRole;
196
- status: ActivationStatus;
1523
+ status: ActivationStatus$1;
197
1524
  isSuspended: boolean;
198
1525
  gateType: GateUserType | null;
199
1526
  gateId: number;
@@ -206,26 +1533,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
206
1533
  activityTracer: ActivityTracer;
207
1534
  core: RuntimeInternalApiCapabilityProvider;
208
1535
  };
209
- meta: {
210
- [x: string]: unknown;
211
- } & {
212
- openapi?: {
213
- enabled?: boolean;
214
- method: import("trpc-to-openapi").OpenApiMethod;
215
- path: `/${string}`;
216
- operationId?: string;
217
- summary?: string;
218
- description?: string;
219
- protect?: boolean;
220
- tags?: string[];
221
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
222
- deprecated?: boolean;
223
- requestHeaders?: import("zod").ZodObject;
224
- responseHeaders?: import("zod").ZodObject;
225
- successDescription?: string;
226
- errorResponses?: number[] | Record<number, string>;
227
- };
228
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1536
+ meta: TrpcMeta;
229
1537
  errorShape: {
230
1538
  message: string;
231
1539
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -266,31 +1574,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
266
1574
  createdAt: Date;
267
1575
  updatedAt: Date;
268
1576
  } & {
269
- status: ActivationStatus;
1577
+ status: ActivationStatus$1;
270
1578
  maintenanceMode: MaintenanceMode;
271
1579
  oidcConfig: import("zod").output<typeof zOidcConfig> | null;
272
1580
  })[];
273
1581
  };
274
- meta: {
275
- [x: string]: unknown;
276
- } & {
277
- openapi?: {
278
- enabled?: boolean;
279
- method: import("trpc-to-openapi").OpenApiMethod;
280
- path: `/${string}`;
281
- operationId?: string;
282
- summary?: string;
283
- description?: string;
284
- protect?: boolean;
285
- tags?: string[];
286
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
287
- deprecated?: boolean;
288
- requestHeaders?: import("zod").ZodObject;
289
- responseHeaders?: import("zod").ZodObject;
290
- successDescription?: string;
291
- errorResponses?: number[] | Record<number, string>;
292
- };
293
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1582
+ meta: TrpcMeta;
294
1583
  }>;
295
1584
  findById: import("@trpc/server").TRPCQueryProcedure<{
296
1585
  input: {
@@ -314,26 +1603,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
314
1603
  realm: string;
315
1604
  } | null;
316
1605
  };
317
- meta: {
318
- [x: string]: unknown;
319
- } & {
320
- openapi?: {
321
- enabled?: boolean;
322
- method: import("trpc-to-openapi").OpenApiMethod;
323
- path: `/${string}`;
324
- operationId?: string;
325
- summary?: string;
326
- description?: string;
327
- protect?: boolean;
328
- tags?: string[];
329
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
330
- deprecated?: boolean;
331
- requestHeaders?: import("zod").ZodObject;
332
- responseHeaders?: import("zod").ZodObject;
333
- successDescription?: string;
334
- errorResponses?: number[] | Record<number, string>;
335
- };
336
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1606
+ meta: TrpcMeta;
337
1607
  }>;
338
1608
  setMaintenanceMode: import("@trpc/server").TRPCMutationProcedure<{
339
1609
  input: {
@@ -346,26 +1616,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
346
1616
  totalCount: number;
347
1617
  changedCount: number;
348
1618
  };
349
- meta: {
350
- [x: string]: unknown;
351
- } & {
352
- openapi?: {
353
- enabled?: boolean;
354
- method: import("trpc-to-openapi").OpenApiMethod;
355
- path: `/${string}`;
356
- operationId?: string;
357
- summary?: string;
358
- description?: string;
359
- protect?: boolean;
360
- tags?: string[];
361
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
362
- deprecated?: boolean;
363
- requestHeaders?: import("zod").ZodObject;
364
- responseHeaders?: import("zod").ZodObject;
365
- successDescription?: string;
366
- errorResponses?: number[] | Record<number, string>;
367
- };
368
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1619
+ meta: TrpcMeta;
369
1620
  }>;
370
1621
  edit: import("@trpc/server").TRPCMutationProcedure<{
371
1622
  input: {
@@ -397,26 +1648,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
397
1648
  realm: string;
398
1649
  } | null;
399
1650
  };
400
- meta: {
401
- [x: string]: unknown;
402
- } & {
403
- openapi?: {
404
- enabled?: boolean;
405
- method: import("trpc-to-openapi").OpenApiMethod;
406
- path: `/${string}`;
407
- operationId?: string;
408
- summary?: string;
409
- description?: string;
410
- protect?: boolean;
411
- tags?: string[];
412
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
413
- deprecated?: boolean;
414
- requestHeaders?: import("zod").ZodObject;
415
- responseHeaders?: import("zod").ZodObject;
416
- successDescription?: string;
417
- errorResponses?: number[] | Record<number, string>;
418
- };
419
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1651
+ meta: TrpcMeta;
420
1652
  }>;
421
1653
  }>>;
422
1654
  onboardings: import("@trpc/server").TRPCBuiltRouter<{
@@ -441,7 +1673,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
441
1673
  u2fPubKey: string | null;
442
1674
  legacyViewAll: boolean;
443
1675
  role: UserRole;
444
- status: ActivationStatus;
1676
+ status: ActivationStatus$1;
445
1677
  isSuspended: boolean;
446
1678
  gateType: GateUserType | null;
447
1679
  gateId: number;
@@ -454,26 +1686,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
454
1686
  activityTracer: ActivityTracer;
455
1687
  core: RuntimeInternalApiCapabilityProvider;
456
1688
  };
457
- meta: {
458
- [x: string]: unknown;
459
- } & {
460
- openapi?: {
461
- enabled?: boolean;
462
- method: import("trpc-to-openapi").OpenApiMethod;
463
- path: `/${string}`;
464
- operationId?: string;
465
- summary?: string;
466
- description?: string;
467
- protect?: boolean;
468
- tags?: string[];
469
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
470
- deprecated?: boolean;
471
- requestHeaders?: import("zod").ZodObject;
472
- responseHeaders?: import("zod").ZodObject;
473
- successDescription?: string;
474
- errorResponses?: number[] | Record<number, string>;
475
- };
476
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1689
+ meta: TrpcMeta;
477
1690
  errorShape: {
478
1691
  message: string;
479
1692
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -621,26 +1834,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
621
1834
  targetHsmName: string;
622
1835
  })[];
623
1836
  };
624
- meta: {
625
- [x: string]: unknown;
626
- } & {
627
- openapi?: {
628
- enabled?: boolean;
629
- method: import("trpc-to-openapi").OpenApiMethod;
630
- path: `/${string}`;
631
- operationId?: string;
632
- summary?: string;
633
- description?: string;
634
- protect?: boolean;
635
- tags?: string[];
636
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
637
- deprecated?: boolean;
638
- requestHeaders?: import("zod").ZodObject;
639
- responseHeaders?: import("zod").ZodObject;
640
- successDescription?: string;
641
- errorResponses?: number[] | Record<number, string>;
642
- };
643
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1837
+ meta: TrpcMeta;
644
1838
  }>;
645
1839
  findById: import("@trpc/server").TRPCQueryProcedure<{
646
1840
  input: {
@@ -762,26 +1956,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
762
1956
  compartmentId: number;
763
1957
  targetHsmName: string;
764
1958
  };
765
- meta: {
766
- [x: string]: unknown;
767
- } & {
768
- openapi?: {
769
- enabled?: boolean;
770
- method: import("trpc-to-openapi").OpenApiMethod;
771
- path: `/${string}`;
772
- operationId?: string;
773
- summary?: string;
774
- description?: string;
775
- protect?: boolean;
776
- tags?: string[];
777
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
778
- deprecated?: boolean;
779
- requestHeaders?: import("zod").ZodObject;
780
- responseHeaders?: import("zod").ZodObject;
781
- successDescription?: string;
782
- errorResponses?: number[] | Record<number, string>;
783
- };
784
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
1959
+ meta: TrpcMeta;
785
1960
  }>;
786
1961
  create: import("@trpc/server").TRPCMutationProcedure<{
787
1962
  input: {
@@ -903,26 +2078,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
903
2078
  createdAt: Date;
904
2079
  completedAt: Date | null;
905
2080
  };
906
- meta: {
907
- [x: string]: unknown;
908
- } & {
909
- openapi?: {
910
- enabled?: boolean;
911
- method: import("trpc-to-openapi").OpenApiMethod;
912
- path: `/${string}`;
913
- operationId?: string;
914
- summary?: string;
915
- description?: string;
916
- protect?: boolean;
917
- tags?: string[];
918
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
919
- deprecated?: boolean;
920
- requestHeaders?: import("zod").ZodObject;
921
- responseHeaders?: import("zod").ZodObject;
922
- successDescription?: string;
923
- errorResponses?: number[] | Record<number, string>;
924
- };
925
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2081
+ meta: TrpcMeta;
926
2082
  }>;
927
2083
  }>>;
928
2084
  impersonations: import("@trpc/server").TRPCBuiltRouter<{
@@ -947,7 +2103,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
947
2103
  u2fPubKey: string | null;
948
2104
  legacyViewAll: boolean;
949
2105
  role: UserRole;
950
- status: ActivationStatus;
2106
+ status: ActivationStatus$1;
951
2107
  isSuspended: boolean;
952
2108
  gateType: GateUserType | null;
953
2109
  gateId: number;
@@ -960,26 +2116,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
960
2116
  activityTracer: ActivityTracer;
961
2117
  core: RuntimeInternalApiCapabilityProvider;
962
2118
  };
963
- meta: {
964
- [x: string]: unknown;
965
- } & {
966
- openapi?: {
967
- enabled?: boolean;
968
- method: import("trpc-to-openapi").OpenApiMethod;
969
- path: `/${string}`;
970
- operationId?: string;
971
- summary?: string;
972
- description?: string;
973
- protect?: boolean;
974
- tags?: string[];
975
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
976
- deprecated?: boolean;
977
- requestHeaders?: import("zod").ZodObject;
978
- responseHeaders?: import("zod").ZodObject;
979
- successDescription?: string;
980
- errorResponses?: number[] | Record<number, string>;
981
- };
982
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2119
+ meta: TrpcMeta;
983
2120
  errorShape: {
984
2121
  message: string;
985
2122
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -1003,52 +2140,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1003
2140
  code: string;
1004
2141
  impersonationId: string;
1005
2142
  };
1006
- meta: {
1007
- [x: string]: unknown;
1008
- } & {
1009
- openapi?: {
1010
- enabled?: boolean;
1011
- method: import("trpc-to-openapi").OpenApiMethod;
1012
- path: `/${string}`;
1013
- operationId?: string;
1014
- summary?: string;
1015
- description?: string;
1016
- protect?: boolean;
1017
- tags?: string[];
1018
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1019
- deprecated?: boolean;
1020
- requestHeaders?: import("zod").ZodObject;
1021
- responseHeaders?: import("zod").ZodObject;
1022
- successDescription?: string;
1023
- errorResponses?: number[] | Record<number, string>;
1024
- };
1025
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2143
+ meta: TrpcMeta;
1026
2144
  }>;
1027
2145
  revoke: import("@trpc/server").TRPCMutationProcedure<{
1028
2146
  input: {
1029
2147
  impersonationId: string;
1030
2148
  };
1031
2149
  output: void;
1032
- meta: {
1033
- [x: string]: unknown;
1034
- } & {
1035
- openapi?: {
1036
- enabled?: boolean;
1037
- method: import("trpc-to-openapi").OpenApiMethod;
1038
- path: `/${string}`;
1039
- operationId?: string;
1040
- summary?: string;
1041
- description?: string;
1042
- protect?: boolean;
1043
- tags?: string[];
1044
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1045
- deprecated?: boolean;
1046
- requestHeaders?: import("zod").ZodObject;
1047
- responseHeaders?: import("zod").ZodObject;
1048
- successDescription?: string;
1049
- errorResponses?: number[] | Record<number, string>;
1050
- };
1051
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2150
+ meta: TrpcMeta;
1052
2151
  }>;
1053
2152
  listActive: import("@trpc/server").TRPCQueryProcedure<{
1054
2153
  input: {
@@ -1064,26 +2163,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1064
2163
  startedAt: Date;
1065
2164
  expiresAt: Date;
1066
2165
  }[];
1067
- meta: {
1068
- [x: string]: unknown;
1069
- } & {
1070
- openapi?: {
1071
- enabled?: boolean;
1072
- method: import("trpc-to-openapi").OpenApiMethod;
1073
- path: `/${string}`;
1074
- operationId?: string;
1075
- summary?: string;
1076
- description?: string;
1077
- protect?: boolean;
1078
- tags?: string[];
1079
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1080
- deprecated?: boolean;
1081
- requestHeaders?: import("zod").ZodObject;
1082
- responseHeaders?: import("zod").ZodObject;
1083
- successDescription?: string;
1084
- errorResponses?: number[] | Record<number, string>;
1085
- };
1086
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2166
+ meta: TrpcMeta;
1087
2167
  }>;
1088
2168
  }>>;
1089
2169
  users: import("@trpc/server").TRPCBuiltRouter<{
@@ -1108,7 +2188,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1108
2188
  u2fPubKey: string | null;
1109
2189
  legacyViewAll: boolean;
1110
2190
  role: UserRole;
1111
- status: ActivationStatus;
2191
+ status: ActivationStatus$1;
1112
2192
  isSuspended: boolean;
1113
2193
  gateType: GateUserType | null;
1114
2194
  gateId: number;
@@ -1121,26 +2201,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1121
2201
  activityTracer: ActivityTracer;
1122
2202
  core: RuntimeInternalApiCapabilityProvider;
1123
2203
  };
1124
- meta: {
1125
- [x: string]: unknown;
1126
- } & {
1127
- openapi?: {
1128
- enabled?: boolean;
1129
- method: import("trpc-to-openapi").OpenApiMethod;
1130
- path: `/${string}`;
1131
- operationId?: string;
1132
- summary?: string;
1133
- description?: string;
1134
- protect?: boolean;
1135
- tags?: string[];
1136
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1137
- deprecated?: boolean;
1138
- requestHeaders?: import("zod").ZodObject;
1139
- responseHeaders?: import("zod").ZodObject;
1140
- successDescription?: string;
1141
- errorResponses?: number[] | Record<number, string>;
1142
- };
1143
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2204
+ meta: TrpcMeta;
1144
2205
  errorShape: {
1145
2206
  message: string;
1146
2207
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -1191,26 +2252,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1191
2252
  updatedAt: Date;
1192
2253
  }[];
1193
2254
  };
1194
- meta: {
1195
- [x: string]: unknown;
1196
- } & {
1197
- openapi?: {
1198
- enabled?: boolean;
1199
- method: import("trpc-to-openapi").OpenApiMethod;
1200
- path: `/${string}`;
1201
- operationId?: string;
1202
- summary?: string;
1203
- description?: string;
1204
- protect?: boolean;
1205
- tags?: string[];
1206
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1207
- deprecated?: boolean;
1208
- requestHeaders?: import("zod").ZodObject;
1209
- responseHeaders?: import("zod").ZodObject;
1210
- successDescription?: string;
1211
- errorResponses?: number[] | Record<number, string>;
1212
- };
1213
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2255
+ meta: TrpcMeta;
1214
2256
  }>;
1215
2257
  findById: import("@trpc/server").TRPCQueryProcedure<{
1216
2258
  input: {
@@ -1231,26 +2273,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1231
2273
  createdAt: Date;
1232
2274
  updatedAt: Date;
1233
2275
  };
1234
- meta: {
1235
- [x: string]: unknown;
1236
- } & {
1237
- openapi?: {
1238
- enabled?: boolean;
1239
- method: import("trpc-to-openapi").OpenApiMethod;
1240
- path: `/${string}`;
1241
- operationId?: string;
1242
- summary?: string;
1243
- description?: string;
1244
- protect?: boolean;
1245
- tags?: string[];
1246
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1247
- deprecated?: boolean;
1248
- requestHeaders?: import("zod").ZodObject;
1249
- responseHeaders?: import("zod").ZodObject;
1250
- successDescription?: string;
1251
- errorResponses?: number[] | Record<number, string>;
1252
- };
1253
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2276
+ meta: TrpcMeta;
1254
2277
  }>;
1255
2278
  }>>;
1256
2279
  userRegistrations: import("@trpc/server").TRPCBuiltRouter<{
@@ -1275,7 +2298,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1275
2298
  u2fPubKey: string | null;
1276
2299
  legacyViewAll: boolean;
1277
2300
  role: UserRole;
1278
- status: ActivationStatus;
2301
+ status: ActivationStatus$1;
1279
2302
  isSuspended: boolean;
1280
2303
  gateType: GateUserType | null;
1281
2304
  gateId: number;
@@ -1288,26 +2311,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1288
2311
  activityTracer: ActivityTracer;
1289
2312
  core: RuntimeInternalApiCapabilityProvider;
1290
2313
  };
1291
- meta: {
1292
- [x: string]: unknown;
1293
- } & {
1294
- openapi?: {
1295
- enabled?: boolean;
1296
- method: import("trpc-to-openapi").OpenApiMethod;
1297
- path: `/${string}`;
1298
- operationId?: string;
1299
- summary?: string;
1300
- description?: string;
1301
- protect?: boolean;
1302
- tags?: string[];
1303
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1304
- deprecated?: boolean;
1305
- requestHeaders?: import("zod").ZodObject;
1306
- responseHeaders?: import("zod").ZodObject;
1307
- successDescription?: string;
1308
- errorResponses?: number[] | Record<number, string>;
1309
- };
1310
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2314
+ meta: TrpcMeta;
1311
2315
  errorShape: {
1312
2316
  message: string;
1313
2317
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -1348,26 +2352,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1348
2352
  state: "COMPLETED" | "CONSUMED" | "INITIAL" | "PENDING";
1349
2353
  }[];
1350
2354
  };
1351
- meta: {
1352
- [x: string]: unknown;
1353
- } & {
1354
- openapi?: {
1355
- enabled?: boolean;
1356
- method: import("trpc-to-openapi").OpenApiMethod;
1357
- path: `/${string}`;
1358
- operationId?: string;
1359
- summary?: string;
1360
- description?: string;
1361
- protect?: boolean;
1362
- tags?: string[];
1363
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1364
- deprecated?: boolean;
1365
- requestHeaders?: import("zod").ZodObject;
1366
- responseHeaders?: import("zod").ZodObject;
1367
- successDescription?: string;
1368
- errorResponses?: number[] | Record<number, string>;
1369
- };
1370
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2355
+ meta: TrpcMeta;
1371
2356
  }>;
1372
2357
  findById: import("@trpc/server").TRPCQueryProcedure<{
1373
2358
  input: {
@@ -1382,26 +2367,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1382
2367
  workspaceName: string;
1383
2368
  state: "COMPLETED" | "CONSUMED" | "INITIAL" | "PENDING";
1384
2369
  };
1385
- meta: {
1386
- [x: string]: unknown;
1387
- } & {
1388
- openapi?: {
1389
- enabled?: boolean;
1390
- method: import("trpc-to-openapi").OpenApiMethod;
1391
- path: `/${string}`;
1392
- operationId?: string;
1393
- summary?: string;
1394
- description?: string;
1395
- protect?: boolean;
1396
- tags?: string[];
1397
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1398
- deprecated?: boolean;
1399
- requestHeaders?: import("zod").ZodObject;
1400
- responseHeaders?: import("zod").ZodObject;
1401
- successDescription?: string;
1402
- errorResponses?: number[] | Record<number, string>;
1403
- };
1404
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2370
+ meta: TrpcMeta;
1405
2371
  }>;
1406
2372
  }>>;
1407
2373
  accounts: import("@trpc/server").TRPCBuiltRouter<{
@@ -1426,7 +2392,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1426
2392
  u2fPubKey: string | null;
1427
2393
  legacyViewAll: boolean;
1428
2394
  role: UserRole;
1429
- status: ActivationStatus;
2395
+ status: ActivationStatus$1;
1430
2396
  isSuspended: boolean;
1431
2397
  gateType: GateUserType | null;
1432
2398
  gateId: number;
@@ -1439,26 +2405,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1439
2405
  activityTracer: ActivityTracer;
1440
2406
  core: RuntimeInternalApiCapabilityProvider;
1441
2407
  };
1442
- meta: {
1443
- [x: string]: unknown;
1444
- } & {
1445
- openapi?: {
1446
- enabled?: boolean;
1447
- method: import("trpc-to-openapi").OpenApiMethod;
1448
- path: `/${string}`;
1449
- operationId?: string;
1450
- summary?: string;
1451
- description?: string;
1452
- protect?: boolean;
1453
- tags?: string[];
1454
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1455
- deprecated?: boolean;
1456
- requestHeaders?: import("zod").ZodObject;
1457
- responseHeaders?: import("zod").ZodObject;
1458
- successDescription?: string;
1459
- errorResponses?: number[] | Record<number, string>;
1460
- };
1461
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2408
+ meta: TrpcMeta;
1462
2409
  errorShape: {
1463
2410
  message: string;
1464
2411
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -1480,32 +2427,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1480
2427
  name: string;
1481
2428
  ticker?: string | undefined;
1482
2429
  }[];
1483
- meta: {
1484
- [x: string]: unknown;
1485
- } & {
1486
- openapi?: {
1487
- enabled?: boolean;
1488
- method: import("trpc-to-openapi").OpenApiMethod;
1489
- path: `/${string}`;
1490
- operationId?: string;
1491
- summary?: string;
1492
- description?: string;
1493
- protect?: boolean;
1494
- tags?: string[];
1495
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1496
- deprecated?: boolean;
1497
- requestHeaders?: import("zod").ZodObject;
1498
- responseHeaders?: import("zod").ZodObject;
1499
- successDescription?: string;
1500
- errorResponses?: number[] | Record<number, string>;
1501
- };
1502
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2430
+ meta: TrpcMeta;
1503
2431
  }>;
1504
2432
  list: import("@trpc/server").TRPCQueryProcedure<{
1505
2433
  input: {
1506
2434
  page?: number | undefined;
1507
2435
  pageSize?: number | undefined;
1508
2436
  workspaceName?: string | string[] | undefined;
2437
+ workspaceNames?: string[] | undefined;
1509
2438
  status?: "ACTIVE" | "INACTIVE" | undefined;
1510
2439
  id?: string | undefined;
1511
2440
  name?: string | undefined;
@@ -1516,6 +2445,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1516
2445
  index?: number | undefined;
1517
2446
  contractAddress?: string | null | undefined;
1518
2447
  support?: "legacy" | "standalone" | undefined;
2448
+ lesWalletRegistrable?: boolean | undefined;
2449
+ addressBackfillable?: boolean | undefined;
2450
+ gateSynced?: boolean | undefined;
1519
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;
1520
2452
  policyIds?: string[] | undefined;
1521
2453
  entityIds?: string[] | undefined;
@@ -1606,26 +2538,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1606
2538
  hsmId: string;
1607
2539
  })[];
1608
2540
  };
1609
- meta: {
1610
- [x: string]: unknown;
1611
- } & {
1612
- openapi?: {
1613
- enabled?: boolean;
1614
- method: import("trpc-to-openapi").OpenApiMethod;
1615
- path: `/${string}`;
1616
- operationId?: string;
1617
- summary?: string;
1618
- description?: string;
1619
- protect?: boolean;
1620
- tags?: string[];
1621
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1622
- deprecated?: boolean;
1623
- requestHeaders?: import("zod").ZodObject;
1624
- responseHeaders?: import("zod").ZodObject;
1625
- successDescription?: string;
1626
- errorResponses?: number[] | Record<number, string>;
1627
- };
1628
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2541
+ meta: TrpcMeta;
1629
2542
  }>;
1630
2543
  findById: import("@trpc/server").TRPCQueryProcedure<{
1631
2544
  input: {
@@ -1707,26 +2620,32 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1707
2620
  lesWalletId: string | null;
1708
2621
  hsmId: string;
1709
2622
  };
1710
- meta: {
1711
- [x: string]: unknown;
1712
- } & {
1713
- openapi?: {
1714
- enabled?: boolean;
1715
- method: import("trpc-to-openapi").OpenApiMethod;
1716
- path: `/${string}`;
1717
- operationId?: string;
1718
- summary?: string;
1719
- description?: string;
1720
- protect?: boolean;
1721
- tags?: string[];
1722
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1723
- deprecated?: boolean;
1724
- requestHeaders?: import("zod").ZodObject;
1725
- responseHeaders?: import("zod").ZodObject;
1726
- successDescription?: string;
1727
- errorResponses?: number[] | Record<number, string>;
1728
- };
1729
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
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;
1730
2649
  }>;
1731
2650
  }>>;
1732
2651
  groups: import("@trpc/server").TRPCBuiltRouter<{
@@ -1751,7 +2670,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1751
2670
  u2fPubKey: string | null;
1752
2671
  legacyViewAll: boolean;
1753
2672
  role: UserRole;
1754
- status: ActivationStatus;
2673
+ status: ActivationStatus$1;
1755
2674
  isSuspended: boolean;
1756
2675
  gateType: GateUserType | null;
1757
2676
  gateId: number;
@@ -1764,26 +2683,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1764
2683
  activityTracer: ActivityTracer;
1765
2684
  core: RuntimeInternalApiCapabilityProvider;
1766
2685
  };
1767
- meta: {
1768
- [x: string]: unknown;
1769
- } & {
1770
- openapi?: {
1771
- enabled?: boolean;
1772
- method: import("trpc-to-openapi").OpenApiMethod;
1773
- path: `/${string}`;
1774
- operationId?: string;
1775
- summary?: string;
1776
- description?: string;
1777
- protect?: boolean;
1778
- tags?: string[];
1779
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1780
- deprecated?: boolean;
1781
- requestHeaders?: import("zod").ZodObject;
1782
- responseHeaders?: import("zod").ZodObject;
1783
- successDescription?: string;
1784
- errorResponses?: number[] | Record<number, string>;
1785
- };
1786
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2686
+ meta: TrpcMeta;
1787
2687
  errorShape: {
1788
2688
  message: string;
1789
2689
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -1843,26 +2743,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1843
2743
  hsmId: string;
1844
2744
  })[];
1845
2745
  };
1846
- meta: {
1847
- [x: string]: unknown;
1848
- } & {
1849
- openapi?: {
1850
- enabled?: boolean;
1851
- method: import("trpc-to-openapi").OpenApiMethod;
1852
- path: `/${string}`;
1853
- operationId?: string;
1854
- summary?: string;
1855
- description?: string;
1856
- protect?: boolean;
1857
- tags?: string[];
1858
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1859
- deprecated?: boolean;
1860
- requestHeaders?: import("zod").ZodObject;
1861
- responseHeaders?: import("zod").ZodObject;
1862
- successDescription?: string;
1863
- errorResponses?: number[] | Record<number, string>;
1864
- };
1865
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2746
+ meta: TrpcMeta;
1866
2747
  }>;
1867
2748
  findById: import("@trpc/server").TRPCQueryProcedure<{
1868
2749
  input: {
@@ -1895,26 +2776,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1895
2776
  workspaceName: string;
1896
2777
  hsmId: string;
1897
2778
  };
1898
- meta: {
1899
- [x: string]: unknown;
1900
- } & {
1901
- openapi?: {
1902
- enabled?: boolean;
1903
- method: import("trpc-to-openapi").OpenApiMethod;
1904
- path: `/${string}`;
1905
- operationId?: string;
1906
- summary?: string;
1907
- description?: string;
1908
- protect?: boolean;
1909
- tags?: string[];
1910
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1911
- deprecated?: boolean;
1912
- requestHeaders?: import("zod").ZodObject;
1913
- responseHeaders?: import("zod").ZodObject;
1914
- successDescription?: string;
1915
- errorResponses?: number[] | Record<number, string>;
1916
- };
1917
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2779
+ meta: TrpcMeta;
1918
2780
  }>;
1919
2781
  }>>;
1920
2782
  whitelists: import("@trpc/server").TRPCBuiltRouter<{
@@ -1939,7 +2801,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1939
2801
  u2fPubKey: string | null;
1940
2802
  legacyViewAll: boolean;
1941
2803
  role: UserRole;
1942
- status: ActivationStatus;
2804
+ status: ActivationStatus$1;
1943
2805
  isSuspended: boolean;
1944
2806
  gateType: GateUserType | null;
1945
2807
  gateId: number;
@@ -1952,26 +2814,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
1952
2814
  activityTracer: ActivityTracer;
1953
2815
  core: RuntimeInternalApiCapabilityProvider;
1954
2816
  };
1955
- meta: {
1956
- [x: string]: unknown;
1957
- } & {
1958
- openapi?: {
1959
- enabled?: boolean;
1960
- method: import("trpc-to-openapi").OpenApiMethod;
1961
- path: `/${string}`;
1962
- operationId?: string;
1963
- summary?: string;
1964
- description?: string;
1965
- protect?: boolean;
1966
- tags?: string[];
1967
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
1968
- deprecated?: boolean;
1969
- requestHeaders?: import("zod").ZodObject;
1970
- responseHeaders?: import("zod").ZodObject;
1971
- successDescription?: string;
1972
- errorResponses?: number[] | Record<number, string>;
1973
- };
1974
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2817
+ meta: TrpcMeta;
1975
2818
  errorShape: {
1976
2819
  message: string;
1977
2820
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -2026,26 +2869,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2026
2869
  hsmId: string;
2027
2870
  })[];
2028
2871
  };
2029
- meta: {
2030
- [x: string]: unknown;
2031
- } & {
2032
- openapi?: {
2033
- enabled?: boolean;
2034
- method: import("trpc-to-openapi").OpenApiMethod;
2035
- path: `/${string}`;
2036
- operationId?: string;
2037
- summary?: string;
2038
- description?: string;
2039
- protect?: boolean;
2040
- tags?: string[];
2041
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2042
- deprecated?: boolean;
2043
- requestHeaders?: import("zod").ZodObject;
2044
- responseHeaders?: import("zod").ZodObject;
2045
- successDescription?: string;
2046
- errorResponses?: number[] | Record<number, string>;
2047
- };
2048
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2872
+ meta: TrpcMeta;
2049
2873
  }>;
2050
2874
  findById: import("@trpc/server").TRPCQueryProcedure<{
2051
2875
  input: {
@@ -2071,26 +2895,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2071
2895
  workspaceName: string;
2072
2896
  hsmId: string;
2073
2897
  };
2074
- meta: {
2075
- [x: string]: unknown;
2076
- } & {
2077
- openapi?: {
2078
- enabled?: boolean;
2079
- method: import("trpc-to-openapi").OpenApiMethod;
2080
- path: `/${string}`;
2081
- operationId?: string;
2082
- summary?: string;
2083
- description?: string;
2084
- protect?: boolean;
2085
- tags?: string[];
2086
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2087
- deprecated?: boolean;
2088
- requestHeaders?: import("zod").ZodObject;
2089
- responseHeaders?: import("zod").ZodObject;
2090
- successDescription?: string;
2091
- errorResponses?: number[] | Record<number, string>;
2092
- };
2093
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2898
+ meta: TrpcMeta;
2094
2899
  }>;
2095
2900
  }>>;
2096
2901
  webhooks: import("@trpc/server").TRPCBuiltRouter<{
@@ -2115,7 +2920,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2115
2920
  u2fPubKey: string | null;
2116
2921
  legacyViewAll: boolean;
2117
2922
  role: UserRole;
2118
- status: ActivationStatus;
2923
+ status: ActivationStatus$1;
2119
2924
  isSuspended: boolean;
2120
2925
  gateType: GateUserType | null;
2121
2926
  gateId: number;
@@ -2128,26 +2933,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2128
2933
  activityTracer: ActivityTracer;
2129
2934
  core: RuntimeInternalApiCapabilityProvider;
2130
2935
  };
2131
- meta: {
2132
- [x: string]: unknown;
2133
- } & {
2134
- openapi?: {
2135
- enabled?: boolean;
2136
- method: import("trpc-to-openapi").OpenApiMethod;
2137
- path: `/${string}`;
2138
- operationId?: string;
2139
- summary?: string;
2140
- description?: string;
2141
- protect?: boolean;
2142
- tags?: string[];
2143
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2144
- deprecated?: boolean;
2145
- requestHeaders?: import("zod").ZodObject;
2146
- responseHeaders?: import("zod").ZodObject;
2147
- successDescription?: string;
2148
- errorResponses?: number[] | Record<number, string>;
2149
- };
2150
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2936
+ meta: TrpcMeta;
2151
2937
  errorShape: {
2152
2938
  message: string;
2153
2939
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -2206,26 +2992,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2206
2992
  workspaceName: string;
2207
2993
  }[];
2208
2994
  };
2209
- meta: {
2210
- [x: string]: unknown;
2211
- } & {
2212
- openapi?: {
2213
- enabled?: boolean;
2214
- method: import("trpc-to-openapi").OpenApiMethod;
2215
- path: `/${string}`;
2216
- operationId?: string;
2217
- summary?: string;
2218
- description?: string;
2219
- protect?: boolean;
2220
- tags?: string[];
2221
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2222
- deprecated?: boolean;
2223
- requestHeaders?: import("zod").ZodObject;
2224
- responseHeaders?: import("zod").ZodObject;
2225
- successDescription?: string;
2226
- errorResponses?: number[] | Record<number, string>;
2227
- };
2228
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
2995
+ meta: TrpcMeta;
2229
2996
  }>;
2230
2997
  }>>;
2231
2998
  policies: import("@trpc/server").TRPCBuiltRouter<{
@@ -2250,7 +3017,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2250
3017
  u2fPubKey: string | null;
2251
3018
  legacyViewAll: boolean;
2252
3019
  role: UserRole;
2253
- status: ActivationStatus;
3020
+ status: ActivationStatus$1;
2254
3021
  isSuspended: boolean;
2255
3022
  gateType: GateUserType | null;
2256
3023
  gateId: number;
@@ -2263,26 +3030,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2263
3030
  activityTracer: ActivityTracer;
2264
3031
  core: RuntimeInternalApiCapabilityProvider;
2265
3032
  };
2266
- meta: {
2267
- [x: string]: unknown;
2268
- } & {
2269
- openapi?: {
2270
- enabled?: boolean;
2271
- method: import("trpc-to-openapi").OpenApiMethod;
2272
- path: `/${string}`;
2273
- operationId?: string;
2274
- summary?: string;
2275
- description?: string;
2276
- protect?: boolean;
2277
- tags?: string[];
2278
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2279
- deprecated?: boolean;
2280
- requestHeaders?: import("zod").ZodObject;
2281
- responseHeaders?: import("zod").ZodObject;
2282
- successDescription?: string;
2283
- errorResponses?: number[] | Record<number, string>;
2284
- };
2285
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3033
+ meta: TrpcMeta;
2286
3034
  errorShape: {
2287
3035
  message: string;
2288
3036
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -2375,26 +3123,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2375
3123
  workspaceName: string;
2376
3124
  hsmId: string | null;
2377
3125
  } | null;
2378
- meta: {
2379
- [x: string]: unknown;
2380
- } & {
2381
- openapi?: {
2382
- enabled?: boolean;
2383
- method: import("trpc-to-openapi").OpenApiMethod;
2384
- path: `/${string}`;
2385
- operationId?: string;
2386
- summary?: string;
2387
- description?: string;
2388
- protect?: boolean;
2389
- tags?: string[];
2390
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2391
- deprecated?: boolean;
2392
- requestHeaders?: import("zod").ZodObject;
2393
- responseHeaders?: import("zod").ZodObject;
2394
- successDescription?: string;
2395
- errorResponses?: number[] | Record<number, string>;
2396
- };
2397
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3126
+ meta: TrpcMeta;
2398
3127
  }>;
2399
3128
  list: import("@trpc/server").TRPCQueryProcedure<{
2400
3129
  input: {
@@ -2514,26 +3243,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2514
3243
  hsmId: string | null;
2515
3244
  })[];
2516
3245
  };
2517
- meta: {
2518
- [x: string]: unknown;
2519
- } & {
2520
- openapi?: {
2521
- enabled?: boolean;
2522
- method: import("trpc-to-openapi").OpenApiMethod;
2523
- path: `/${string}`;
2524
- operationId?: string;
2525
- summary?: string;
2526
- description?: string;
2527
- protect?: boolean;
2528
- tags?: string[];
2529
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2530
- deprecated?: boolean;
2531
- requestHeaders?: import("zod").ZodObject;
2532
- responseHeaders?: import("zod").ZodObject;
2533
- successDescription?: string;
2534
- errorResponses?: number[] | Record<number, string>;
2535
- };
2536
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3246
+ meta: TrpcMeta;
2537
3247
  }>;
2538
3248
  findById: import("@trpc/server").TRPCQueryProcedure<{
2539
3249
  input: {
@@ -2613,26 +3323,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2613
3323
  workspaceName: string;
2614
3324
  hsmId: string | null;
2615
3325
  };
2616
- meta: {
2617
- [x: string]: unknown;
2618
- } & {
2619
- openapi?: {
2620
- enabled?: boolean;
2621
- method: import("trpc-to-openapi").OpenApiMethod;
2622
- path: `/${string}`;
2623
- operationId?: string;
2624
- summary?: string;
2625
- description?: string;
2626
- protect?: boolean;
2627
- tags?: string[];
2628
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2629
- deprecated?: boolean;
2630
- requestHeaders?: import("zod").ZodObject;
2631
- responseHeaders?: import("zod").ZodObject;
2632
- successDescription?: string;
2633
- errorResponses?: number[] | Record<number, string>;
2634
- };
2635
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3326
+ meta: TrpcMeta;
2636
3327
  }>;
2637
3328
  }>>;
2638
3329
  workspaceRules: import("@trpc/server").TRPCBuiltRouter<{
@@ -2657,7 +3348,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2657
3348
  u2fPubKey: string | null;
2658
3349
  legacyViewAll: boolean;
2659
3350
  role: UserRole;
2660
- status: ActivationStatus;
3351
+ status: ActivationStatus$1;
2661
3352
  isSuspended: boolean;
2662
3353
  gateType: GateUserType | null;
2663
3354
  gateId: number;
@@ -2670,26 +3361,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2670
3361
  activityTracer: ActivityTracer;
2671
3362
  core: RuntimeInternalApiCapabilityProvider;
2672
3363
  };
2673
- meta: {
2674
- [x: string]: unknown;
2675
- } & {
2676
- openapi?: {
2677
- enabled?: boolean;
2678
- method: import("trpc-to-openapi").OpenApiMethod;
2679
- path: `/${string}`;
2680
- operationId?: string;
2681
- summary?: string;
2682
- description?: string;
2683
- protect?: boolean;
2684
- tags?: string[];
2685
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2686
- deprecated?: boolean;
2687
- requestHeaders?: import("zod").ZodObject;
2688
- responseHeaders?: import("zod").ZodObject;
2689
- successDescription?: string;
2690
- errorResponses?: number[] | Record<number, string>;
2691
- };
2692
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3364
+ meta: TrpcMeta;
2693
3365
  errorShape: {
2694
3366
  message: string;
2695
3367
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -2729,26 +3401,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2729
3401
  workspaceName: import("zod").output<typeof zWorkspaceName>;
2730
3402
  })[];
2731
3403
  };
2732
- meta: {
2733
- [x: string]: unknown;
2734
- } & {
2735
- openapi?: {
2736
- enabled?: boolean;
2737
- method: import("trpc-to-openapi").OpenApiMethod;
2738
- path: `/${string}`;
2739
- operationId?: string;
2740
- summary?: string;
2741
- description?: string;
2742
- protect?: boolean;
2743
- tags?: string[];
2744
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2745
- deprecated?: boolean;
2746
- requestHeaders?: import("zod").ZodObject;
2747
- responseHeaders?: import("zod").ZodObject;
2748
- successDescription?: string;
2749
- errorResponses?: number[] | Record<number, string>;
2750
- };
2751
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3404
+ meta: TrpcMeta;
2752
3405
  }>;
2753
3406
  }>>;
2754
3407
  reports: import("@trpc/server").TRPCBuiltRouter<{
@@ -2773,7 +3426,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2773
3426
  u2fPubKey: string | null;
2774
3427
  legacyViewAll: boolean;
2775
3428
  role: UserRole;
2776
- status: ActivationStatus;
3429
+ status: ActivationStatus$1;
2777
3430
  isSuspended: boolean;
2778
3431
  gateType: GateUserType | null;
2779
3432
  gateId: number;
@@ -2786,26 +3439,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2786
3439
  activityTracer: ActivityTracer;
2787
3440
  core: RuntimeInternalApiCapabilityProvider;
2788
3441
  };
2789
- meta: {
2790
- [x: string]: unknown;
2791
- } & {
2792
- openapi?: {
2793
- enabled?: boolean;
2794
- method: import("trpc-to-openapi").OpenApiMethod;
2795
- path: `/${string}`;
2796
- operationId?: string;
2797
- summary?: string;
2798
- description?: string;
2799
- protect?: boolean;
2800
- tags?: string[];
2801
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2802
- deprecated?: boolean;
2803
- requestHeaders?: import("zod").ZodObject;
2804
- responseHeaders?: import("zod").ZodObject;
2805
- successDescription?: string;
2806
- errorResponses?: number[] | Record<number, string>;
2807
- };
2808
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3442
+ meta: TrpcMeta;
2809
3443
  errorShape: {
2810
3444
  message: string;
2811
3445
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -2873,26 +3507,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2873
3507
  workspaceName: import("zod").output<typeof zWorkspaceName>;
2874
3508
  })[];
2875
3509
  };
2876
- meta: {
2877
- [x: string]: unknown;
2878
- } & {
2879
- openapi?: {
2880
- enabled?: boolean;
2881
- method: import("trpc-to-openapi").OpenApiMethod;
2882
- path: `/${string}`;
2883
- operationId?: string;
2884
- summary?: string;
2885
- description?: string;
2886
- protect?: boolean;
2887
- tags?: string[];
2888
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2889
- deprecated?: boolean;
2890
- requestHeaders?: import("zod").ZodObject;
2891
- responseHeaders?: import("zod").ZodObject;
2892
- successDescription?: string;
2893
- errorResponses?: number[] | Record<number, string>;
2894
- };
2895
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3510
+ meta: TrpcMeta;
2896
3511
  }>;
2897
3512
  findById: import("@trpc/server").TRPCQueryProcedure<{
2898
3513
  input: {
@@ -2933,26 +3548,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2933
3548
  })) & {
2934
3549
  workspaceName: string;
2935
3550
  };
2936
- meta: {
2937
- [x: string]: unknown;
2938
- } & {
2939
- openapi?: {
2940
- enabled?: boolean;
2941
- method: import("trpc-to-openapi").OpenApiMethod;
2942
- path: `/${string}`;
2943
- operationId?: string;
2944
- summary?: string;
2945
- description?: string;
2946
- protect?: boolean;
2947
- tags?: string[];
2948
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
2949
- deprecated?: boolean;
2950
- requestHeaders?: import("zod").ZodObject;
2951
- responseHeaders?: import("zod").ZodObject;
2952
- successDescription?: string;
2953
- errorResponses?: number[] | Record<number, string>;
2954
- };
2955
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3551
+ meta: TrpcMeta;
2956
3552
  }>;
2957
3553
  }>>;
2958
3554
  requests: import("@trpc/server").TRPCBuiltRouter<{
@@ -2977,7 +3573,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2977
3573
  u2fPubKey: string | null;
2978
3574
  legacyViewAll: boolean;
2979
3575
  role: UserRole;
2980
- status: ActivationStatus;
3576
+ status: ActivationStatus$1;
2981
3577
  isSuspended: boolean;
2982
3578
  gateType: GateUserType | null;
2983
3579
  gateId: number;
@@ -2990,26 +3586,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
2990
3586
  activityTracer: ActivityTracer;
2991
3587
  core: RuntimeInternalApiCapabilityProvider;
2992
3588
  };
2993
- meta: {
2994
- [x: string]: unknown;
2995
- } & {
2996
- openapi?: {
2997
- enabled?: boolean;
2998
- method: import("trpc-to-openapi").OpenApiMethod;
2999
- path: `/${string}`;
3000
- operationId?: string;
3001
- summary?: string;
3002
- description?: string;
3003
- protect?: boolean;
3004
- tags?: string[];
3005
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
3006
- deprecated?: boolean;
3007
- requestHeaders?: import("zod").ZodObject;
3008
- responseHeaders?: import("zod").ZodObject;
3009
- successDescription?: string;
3010
- errorResponses?: number[] | Record<number, string>;
3011
- };
3012
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3589
+ meta: TrpcMeta;
3013
3590
  errorShape: {
3014
3591
  message: string;
3015
3592
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -3051,26 +3628,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
3051
3628
  workspaceName: import("zod").output<typeof zWorkspaceName>;
3052
3629
  })[];
3053
3630
  };
3054
- meta: {
3055
- [x: string]: unknown;
3056
- } & {
3057
- openapi?: {
3058
- enabled?: boolean;
3059
- method: import("trpc-to-openapi").OpenApiMethod;
3060
- path: `/${string}`;
3061
- operationId?: string;
3062
- summary?: string;
3063
- description?: string;
3064
- protect?: boolean;
3065
- tags?: string[];
3066
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
3067
- deprecated?: boolean;
3068
- requestHeaders?: import("zod").ZodObject;
3069
- responseHeaders?: import("zod").ZodObject;
3070
- successDescription?: string;
3071
- errorResponses?: number[] | Record<number, string>;
3072
- };
3073
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
3631
+ meta: TrpcMeta;
3074
3632
  }>;
3075
3633
  findById: import("@trpc/server").TRPCQueryProcedure<{
3076
3634
  input: {
@@ -4661,78 +5219,21 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
4661
5219
  }) & {
4662
5220
  workspaceName: string;
4663
5221
  };
4664
- meta: {
4665
- [x: string]: unknown;
4666
- } & {
4667
- openapi?: {
4668
- enabled?: boolean;
4669
- method: import("trpc-to-openapi").OpenApiMethod;
4670
- path: `/${string}`;
4671
- operationId?: string;
4672
- summary?: string;
4673
- description?: string;
4674
- protect?: boolean;
4675
- tags?: string[];
4676
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
4677
- deprecated?: boolean;
4678
- requestHeaders?: import("zod").ZodObject;
4679
- responseHeaders?: import("zod").ZodObject;
4680
- successDescription?: string;
4681
- errorResponses?: number[] | Record<number, string>;
4682
- };
4683
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5222
+ meta: TrpcMeta;
4684
5223
  }>;
4685
5224
  restart: import("@trpc/server").TRPCMutationProcedure<{
4686
5225
  input: {
4687
5226
  id: string;
4688
5227
  };
4689
5228
  output: void;
4690
- meta: {
4691
- [x: string]: unknown;
4692
- } & {
4693
- openapi?: {
4694
- enabled?: boolean;
4695
- method: import("trpc-to-openapi").OpenApiMethod;
4696
- path: `/${string}`;
4697
- operationId?: string;
4698
- summary?: string;
4699
- description?: string;
4700
- protect?: boolean;
4701
- tags?: string[];
4702
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
4703
- deprecated?: boolean;
4704
- requestHeaders?: import("zod").ZodObject;
4705
- responseHeaders?: import("zod").ZodObject;
4706
- successDescription?: string;
4707
- errorResponses?: number[] | Record<number, string>;
4708
- };
4709
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5229
+ meta: TrpcMeta;
4710
5230
  }>;
4711
5231
  expire: import("@trpc/server").TRPCMutationProcedure<{
4712
5232
  input: {
4713
5233
  id: string;
4714
5234
  };
4715
5235
  output: void;
4716
- meta: {
4717
- [x: string]: unknown;
4718
- } & {
4719
- openapi?: {
4720
- enabled?: boolean;
4721
- method: import("trpc-to-openapi").OpenApiMethod;
4722
- path: `/${string}`;
4723
- operationId?: string;
4724
- summary?: string;
4725
- description?: string;
4726
- protect?: boolean;
4727
- tags?: string[];
4728
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
4729
- deprecated?: boolean;
4730
- requestHeaders?: import("zod").ZodObject;
4731
- responseHeaders?: import("zod").ZodObject;
4732
- successDescription?: string;
4733
- errorResponses?: number[] | Record<number, string>;
4734
- };
4735
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5236
+ meta: TrpcMeta;
4736
5237
  }>;
4737
5238
  }>>;
4738
5239
  relationships: import("@trpc/server").TRPCBuiltRouter<{
@@ -4757,7 +5258,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
4757
5258
  u2fPubKey: string | null;
4758
5259
  legacyViewAll: boolean;
4759
5260
  role: UserRole;
4760
- status: ActivationStatus;
5261
+ status: ActivationStatus$1;
4761
5262
  isSuspended: boolean;
4762
5263
  gateType: GateUserType | null;
4763
5264
  gateId: number;
@@ -4770,26 +5271,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
4770
5271
  activityTracer: ActivityTracer;
4771
5272
  core: RuntimeInternalApiCapabilityProvider;
4772
5273
  };
4773
- meta: {
4774
- [x: string]: unknown;
4775
- } & {
4776
- openapi?: {
4777
- enabled?: boolean;
4778
- method: import("trpc-to-openapi").OpenApiMethod;
4779
- path: `/${string}`;
4780
- operationId?: string;
4781
- summary?: string;
4782
- description?: string;
4783
- protect?: boolean;
4784
- tags?: string[];
4785
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
4786
- deprecated?: boolean;
4787
- requestHeaders?: import("zod").ZodObject;
4788
- responseHeaders?: import("zod").ZodObject;
4789
- successDescription?: string;
4790
- errorResponses?: number[] | Record<number, string>;
4791
- };
4792
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5274
+ meta: TrpcMeta;
4793
5275
  errorShape: {
4794
5276
  message: string;
4795
5277
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -4824,26 +5306,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
4824
5306
  count: number;
4825
5307
  }[];
4826
5308
  };
4827
- meta: {
4828
- [x: string]: unknown;
4829
- } & {
4830
- openapi?: {
4831
- enabled?: boolean;
4832
- method: import("trpc-to-openapi").OpenApiMethod;
4833
- path: `/${string}`;
4834
- operationId?: string;
4835
- summary?: string;
4836
- description?: string;
4837
- protect?: boolean;
4838
- tags?: string[];
4839
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
4840
- deprecated?: boolean;
4841
- requestHeaders?: import("zod").ZodObject;
4842
- responseHeaders?: import("zod").ZodObject;
4843
- successDescription?: string;
4844
- errorResponses?: number[] | Record<number, string>;
4845
- };
4846
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5309
+ meta: TrpcMeta;
4847
5310
  }>;
4848
5311
  materialize: import("@trpc/server").TRPCMutationProcedure<{
4849
5312
  input: {
@@ -4859,26 +5322,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
4859
5322
  writeDurationMs: number;
4860
5323
  totalDurationMs: number;
4861
5324
  };
4862
- meta: {
4863
- [x: string]: unknown;
4864
- } & {
4865
- openapi?: {
4866
- enabled?: boolean;
4867
- method: import("trpc-to-openapi").OpenApiMethod;
4868
- path: `/${string}`;
4869
- operationId?: string;
4870
- summary?: string;
4871
- description?: string;
4872
- protect?: boolean;
4873
- tags?: string[];
4874
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
4875
- deprecated?: boolean;
4876
- requestHeaders?: import("zod").ZodObject;
4877
- responseHeaders?: import("zod").ZodObject;
4878
- successDescription?: string;
4879
- errorResponses?: number[] | Record<number, string>;
4880
- };
4881
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5325
+ meta: TrpcMeta;
4882
5326
  }>;
4883
5327
  health: import("@trpc/server").TRPCQueryProcedure<{
4884
5328
  input: {
@@ -4900,26 +5344,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
4900
5344
  count: number;
4901
5345
  }[];
4902
5346
  };
4903
- meta: {
4904
- [x: string]: unknown;
4905
- } & {
4906
- openapi?: {
4907
- enabled?: boolean;
4908
- method: import("trpc-to-openapi").OpenApiMethod;
4909
- path: `/${string}`;
4910
- operationId?: string;
4911
- summary?: string;
4912
- description?: string;
4913
- protect?: boolean;
4914
- tags?: string[];
4915
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
4916
- deprecated?: boolean;
4917
- requestHeaders?: import("zod").ZodObject;
4918
- responseHeaders?: import("zod").ZodObject;
4919
- successDescription?: string;
4920
- errorResponses?: number[] | Record<number, string>;
4921
- };
4922
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5347
+ meta: TrpcMeta;
4923
5348
  }>;
4924
5349
  driftCheck: import("@trpc/server").TRPCQueryProcedure<{
4925
5350
  input: {
@@ -4959,26 +5384,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
4959
5384
  compareDurationMs: number;
4960
5385
  totalDurationMs: number;
4961
5386
  };
4962
- meta: {
4963
- [x: string]: unknown;
4964
- } & {
4965
- openapi?: {
4966
- enabled?: boolean;
4967
- method: import("trpc-to-openapi").OpenApiMethod;
4968
- path: `/${string}`;
4969
- operationId?: string;
4970
- summary?: string;
4971
- description?: string;
4972
- protect?: boolean;
4973
- tags?: string[];
4974
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
4975
- deprecated?: boolean;
4976
- requestHeaders?: import("zod").ZodObject;
4977
- responseHeaders?: import("zod").ZodObject;
4978
- successDescription?: string;
4979
- errorResponses?: number[] | Record<number, string>;
4980
- };
4981
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5387
+ meta: TrpcMeta;
4982
5388
  }>;
4983
5389
  }>>;
4984
5390
  auditLogs: import("@trpc/server").TRPCBuiltRouter<{
@@ -5003,7 +5409,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5003
5409
  u2fPubKey: string | null;
5004
5410
  legacyViewAll: boolean;
5005
5411
  role: UserRole;
5006
- status: ActivationStatus;
5412
+ status: ActivationStatus$1;
5007
5413
  isSuspended: boolean;
5008
5414
  gateType: GateUserType | null;
5009
5415
  gateId: number;
@@ -5016,26 +5422,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5016
5422
  activityTracer: ActivityTracer;
5017
5423
  core: RuntimeInternalApiCapabilityProvider;
5018
5424
  };
5019
- meta: {
5020
- [x: string]: unknown;
5021
- } & {
5022
- openapi?: {
5023
- enabled?: boolean;
5024
- method: import("trpc-to-openapi").OpenApiMethod;
5025
- path: `/${string}`;
5026
- operationId?: string;
5027
- summary?: string;
5028
- description?: string;
5029
- protect?: boolean;
5030
- tags?: string[];
5031
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5032
- deprecated?: boolean;
5033
- requestHeaders?: import("zod").ZodObject;
5034
- responseHeaders?: import("zod").ZodObject;
5035
- successDescription?: string;
5036
- errorResponses?: number[] | Record<number, string>;
5037
- };
5038
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5425
+ meta: TrpcMeta;
5039
5426
  errorShape: {
5040
5427
  message: string;
5041
5428
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -5075,26 +5462,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5075
5462
  createdAt: Date;
5076
5463
  }[];
5077
5464
  };
5078
- meta: {
5079
- [x: string]: unknown;
5080
- } & {
5081
- openapi?: {
5082
- enabled?: boolean;
5083
- method: import("trpc-to-openapi").OpenApiMethod;
5084
- path: `/${string}`;
5085
- operationId?: string;
5086
- summary?: string;
5087
- description?: string;
5088
- protect?: boolean;
5089
- tags?: string[];
5090
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5091
- deprecated?: boolean;
5092
- requestHeaders?: import("zod").ZodObject;
5093
- responseHeaders?: import("zod").ZodObject;
5094
- successDescription?: string;
5095
- errorResponses?: number[] | Record<number, string>;
5096
- };
5097
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5465
+ meta: TrpcMeta;
5098
5466
  }>;
5099
5467
  findById: import("@trpc/server").TRPCQueryProcedure<{
5100
5468
  input: {
@@ -5107,26 +5475,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5107
5475
  payload: unknown;
5108
5476
  createdAt: Date;
5109
5477
  };
5110
- meta: {
5111
- [x: string]: unknown;
5112
- } & {
5113
- openapi?: {
5114
- enabled?: boolean;
5115
- method: import("trpc-to-openapi").OpenApiMethod;
5116
- path: `/${string}`;
5117
- operationId?: string;
5118
- summary?: string;
5119
- description?: string;
5120
- protect?: boolean;
5121
- tags?: string[];
5122
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5123
- deprecated?: boolean;
5124
- requestHeaders?: import("zod").ZodObject;
5125
- responseHeaders?: import("zod").ZodObject;
5126
- successDescription?: string;
5127
- errorResponses?: number[] | Record<number, string>;
5128
- };
5129
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5478
+ meta: TrpcMeta;
5130
5479
  }>;
5131
5480
  }>>;
5132
5481
  auditTrail: import("@trpc/server").TRPCBuiltRouter<{
@@ -5151,7 +5500,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5151
5500
  u2fPubKey: string | null;
5152
5501
  legacyViewAll: boolean;
5153
5502
  role: UserRole;
5154
- status: ActivationStatus;
5503
+ status: ActivationStatus$1;
5155
5504
  isSuspended: boolean;
5156
5505
  gateType: GateUserType | null;
5157
5506
  gateId: number;
@@ -5164,26 +5513,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5164
5513
  activityTracer: ActivityTracer;
5165
5514
  core: RuntimeInternalApiCapabilityProvider;
5166
5515
  };
5167
- meta: {
5168
- [x: string]: unknown;
5169
- } & {
5170
- openapi?: {
5171
- enabled?: boolean;
5172
- method: import("trpc-to-openapi").OpenApiMethod;
5173
- path: `/${string}`;
5174
- operationId?: string;
5175
- summary?: string;
5176
- description?: string;
5177
- protect?: boolean;
5178
- tags?: string[];
5179
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5180
- deprecated?: boolean;
5181
- requestHeaders?: import("zod").ZodObject;
5182
- responseHeaders?: import("zod").ZodObject;
5183
- successDescription?: string;
5184
- errorResponses?: number[] | Record<number, string>;
5185
- };
5186
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5516
+ meta: TrpcMeta;
5187
5517
  errorShape: {
5188
5518
  message: string;
5189
5519
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -5220,26 +5550,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5220
5550
  hasMore: boolean;
5221
5551
  capped: boolean;
5222
5552
  };
5223
- meta: {
5224
- [x: string]: unknown;
5225
- } & {
5226
- openapi?: {
5227
- enabled?: boolean;
5228
- method: import("trpc-to-openapi").OpenApiMethod;
5229
- path: `/${string}`;
5230
- operationId?: string;
5231
- summary?: string;
5232
- description?: string;
5233
- protect?: boolean;
5234
- tags?: string[];
5235
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5236
- deprecated?: boolean;
5237
- requestHeaders?: import("zod").ZodObject;
5238
- responseHeaders?: import("zod").ZodObject;
5239
- successDescription?: string;
5240
- errorResponses?: number[] | Record<number, string>;
5241
- };
5242
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5553
+ meta: TrpcMeta;
5243
5554
  }>;
5244
5555
  requestFailures: import("@trpc/server").TRPCQueryProcedure<{
5245
5556
  input: {
@@ -5259,26 +5570,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5259
5570
  hasMore: boolean;
5260
5571
  capped: boolean;
5261
5572
  };
5262
- meta: {
5263
- [x: string]: unknown;
5264
- } & {
5265
- openapi?: {
5266
- enabled?: boolean;
5267
- method: import("trpc-to-openapi").OpenApiMethod;
5268
- path: `/${string}`;
5269
- operationId?: string;
5270
- summary?: string;
5271
- description?: string;
5272
- protect?: boolean;
5273
- tags?: string[];
5274
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5275
- deprecated?: boolean;
5276
- requestHeaders?: import("zod").ZodObject;
5277
- responseHeaders?: import("zod").ZodObject;
5278
- successDescription?: string;
5279
- errorResponses?: number[] | Record<number, string>;
5280
- };
5281
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5573
+ meta: TrpcMeta;
5282
5574
  }>;
5283
5575
  getEvent: import("@trpc/server").TRPCQueryProcedure<{
5284
5576
  input: {
@@ -5292,26 +5584,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5292
5584
  contentType: string;
5293
5585
  decoded: boolean;
5294
5586
  };
5295
- meta: {
5296
- [x: string]: unknown;
5297
- } & {
5298
- openapi?: {
5299
- enabled?: boolean;
5300
- method: import("trpc-to-openapi").OpenApiMethod;
5301
- path: `/${string}`;
5302
- operationId?: string;
5303
- summary?: string;
5304
- description?: string;
5305
- protect?: boolean;
5306
- tags?: string[];
5307
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5308
- deprecated?: boolean;
5309
- requestHeaders?: import("zod").ZodObject;
5310
- responseHeaders?: import("zod").ZodObject;
5311
- successDescription?: string;
5312
- errorResponses?: number[] | Record<number, string>;
5313
- };
5314
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5587
+ meta: TrpcMeta;
5315
5588
  }>;
5316
5589
  }>>;
5317
5590
  hsmRequests: import("@trpc/server").TRPCBuiltRouter<{
@@ -5336,7 +5609,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5336
5609
  u2fPubKey: string | null;
5337
5610
  legacyViewAll: boolean;
5338
5611
  role: UserRole;
5339
- status: ActivationStatus;
5612
+ status: ActivationStatus$1;
5340
5613
  isSuspended: boolean;
5341
5614
  gateType: GateUserType | null;
5342
5615
  gateId: number;
@@ -5349,26 +5622,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5349
5622
  activityTracer: ActivityTracer;
5350
5623
  core: RuntimeInternalApiCapabilityProvider;
5351
5624
  };
5352
- meta: {
5353
- [x: string]: unknown;
5354
- } & {
5355
- openapi?: {
5356
- enabled?: boolean;
5357
- method: import("trpc-to-openapi").OpenApiMethod;
5358
- path: `/${string}`;
5359
- operationId?: string;
5360
- summary?: string;
5361
- description?: string;
5362
- protect?: boolean;
5363
- tags?: string[];
5364
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5365
- deprecated?: boolean;
5366
- requestHeaders?: import("zod").ZodObject;
5367
- responseHeaders?: import("zod").ZodObject;
5368
- successDescription?: string;
5369
- errorResponses?: number[] | Record<number, string>;
5370
- };
5371
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5625
+ meta: TrpcMeta;
5372
5626
  errorShape: {
5373
5627
  message: string;
5374
5628
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -5394,26 +5648,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5394
5648
  total_objects: number;
5395
5649
  objects_report: Record<string, number>;
5396
5650
  };
5397
- meta: {
5398
- [x: string]: unknown;
5399
- } & {
5400
- openapi?: {
5401
- enabled?: boolean;
5402
- method: import("trpc-to-openapi").OpenApiMethod;
5403
- path: `/${string}`;
5404
- operationId?: string;
5405
- summary?: string;
5406
- description?: string;
5407
- protect?: boolean;
5408
- tags?: string[];
5409
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5410
- deprecated?: boolean;
5411
- requestHeaders?: import("zod").ZodObject;
5412
- responseHeaders?: import("zod").ZodObject;
5413
- successDescription?: string;
5414
- errorResponses?: number[] | Record<number, string>;
5415
- };
5416
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5651
+ meta: TrpcMeta;
5417
5652
  }>;
5418
5653
  objectsInfo: import("@trpc/server").TRPCQueryProcedure<{
5419
5654
  input: {
@@ -5447,26 +5682,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5447
5682
  }[];
5448
5683
  objects_missing_merkle_tree_id: string[];
5449
5684
  };
5450
- meta: {
5451
- [x: string]: unknown;
5452
- } & {
5453
- openapi?: {
5454
- enabled?: boolean;
5455
- method: import("trpc-to-openapi").OpenApiMethod;
5456
- path: `/${string}`;
5457
- operationId?: string;
5458
- summary?: string;
5459
- description?: string;
5460
- protect?: boolean;
5461
- tags?: string[];
5462
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5463
- deprecated?: boolean;
5464
- requestHeaders?: import("zod").ZodObject;
5465
- responseHeaders?: import("zod").ZodObject;
5466
- successDescription?: string;
5467
- errorResponses?: number[] | Record<number, string>;
5468
- };
5469
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5685
+ meta: TrpcMeta;
5470
5686
  }>;
5471
5687
  objectsContent: import("@trpc/server").TRPCQueryProcedure<{
5472
5688
  input: {
@@ -5483,26 +5699,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5483
5699
  object_contents: unknown[];
5484
5700
  objects_missing_merkle_tree_id: string[];
5485
5701
  };
5486
- meta: {
5487
- [x: string]: unknown;
5488
- } & {
5489
- openapi?: {
5490
- enabled?: boolean;
5491
- method: import("trpc-to-openapi").OpenApiMethod;
5492
- path: `/${string}`;
5493
- operationId?: string;
5494
- summary?: string;
5495
- description?: string;
5496
- protect?: boolean;
5497
- tags?: string[];
5498
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5499
- deprecated?: boolean;
5500
- requestHeaders?: import("zod").ZodObject;
5501
- responseHeaders?: import("zod").ZodObject;
5502
- successDescription?: string;
5503
- errorResponses?: number[] | Record<number, string>;
5504
- };
5505
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5702
+ meta: TrpcMeta;
5506
5703
  }>;
5507
5704
  compareWithHsm: import("@trpc/server").TRPCQueryProcedure<{
5508
5705
  input: {
@@ -5510,26 +5707,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5510
5707
  comparator: "whitelists" | "workspace-name";
5511
5708
  };
5512
5709
  output: HsmWorkspaceComparison;
5513
- meta: {
5514
- [x: string]: unknown;
5515
- } & {
5516
- openapi?: {
5517
- enabled?: boolean;
5518
- method: import("trpc-to-openapi").OpenApiMethod;
5519
- path: `/${string}`;
5520
- operationId?: string;
5521
- summary?: string;
5522
- description?: string;
5523
- protect?: boolean;
5524
- tags?: string[];
5525
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5526
- deprecated?: boolean;
5527
- requestHeaders?: import("zod").ZodObject;
5528
- responseHeaders?: import("zod").ZodObject;
5529
- successDescription?: string;
5530
- errorResponses?: number[] | Record<number, string>;
5531
- };
5532
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5710
+ meta: TrpcMeta;
5533
5711
  }>;
5534
5712
  }>>;
5535
5713
  }>>;
@@ -5555,7 +5733,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5555
5733
  u2fPubKey: string | null;
5556
5734
  legacyViewAll: boolean;
5557
5735
  role: UserRole;
5558
- status: ActivationStatus;
5736
+ status: ActivationStatus$1;
5559
5737
  isSuspended: boolean;
5560
5738
  gateType: GateUserType | null;
5561
5739
  gateId: number;
@@ -5568,26 +5746,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
5568
5746
  activityTracer: ActivityTracer;
5569
5747
  core: RuntimeInternalApiCapabilityProvider;
5570
5748
  };
5571
- meta: {
5572
- [x: string]: unknown;
5573
- } & {
5574
- openapi?: {
5575
- enabled?: boolean;
5576
- method: import("trpc-to-openapi").OpenApiMethod;
5577
- path: `/${string}`;
5578
- operationId?: string;
5579
- summary?: string;
5580
- description?: string;
5581
- protect?: boolean;
5582
- tags?: string[];
5583
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
5584
- deprecated?: boolean;
5585
- requestHeaders?: import("zod").ZodObject;
5586
- responseHeaders?: import("zod").ZodObject;
5587
- successDescription?: string;
5588
- errorResponses?: number[] | Record<number, string>;
5589
- };
5590
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
5749
+ meta: TrpcMeta;
5591
5750
  errorShape: {
5592
5751
  message: string;
5593
5752
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -7202,26 +7361,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
7202
7361
  }[] | undefined;
7203
7362
  })[];
7204
7363
  };
7205
- meta: {
7206
- [x: string]: unknown;
7207
- } & {
7208
- openapi?: {
7209
- enabled?: boolean;
7210
- method: import("trpc-to-openapi").OpenApiMethod;
7211
- path: `/${string}`;
7212
- operationId?: string;
7213
- summary?: string;
7214
- description?: string;
7215
- protect?: boolean;
7216
- tags?: string[];
7217
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
7218
- deprecated?: boolean;
7219
- requestHeaders?: import("zod").ZodObject;
7220
- responseHeaders?: import("zod").ZodObject;
7221
- successDescription?: string;
7222
- errorResponses?: number[] | Record<number, string>;
7223
- };
7224
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
7364
+ meta: TrpcMeta;
7225
7365
  }>;
7226
7366
  updateReportTaskResult: import("@trpc/server").TRPCMutationProcedure<{
7227
7367
  input: {
@@ -7241,26 +7381,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
7241
7381
  generationTaskId: string;
7242
7382
  status: "COMPLETED" | "DELETED" | "FAILED" | "INITIAL" | "PURGED" | "SCHEDULED";
7243
7383
  };
7244
- meta: {
7245
- [x: string]: unknown;
7246
- } & {
7247
- openapi?: {
7248
- enabled?: boolean;
7249
- method: import("trpc-to-openapi").OpenApiMethod;
7250
- path: `/${string}`;
7251
- operationId?: string;
7252
- summary?: string;
7253
- description?: string;
7254
- protect?: boolean;
7255
- tags?: string[];
7256
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
7257
- deprecated?: boolean;
7258
- requestHeaders?: import("zod").ZodObject;
7259
- responseHeaders?: import("zod").ZodObject;
7260
- successDescription?: string;
7261
- errorResponses?: number[] | Record<number, string>;
7262
- };
7263
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
7384
+ meta: TrpcMeta;
7264
7385
  }>;
7265
7386
  }>>;
7266
7387
  workspaces: import("@trpc/server").TRPCBuiltRouter<{
@@ -7285,7 +7406,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
7285
7406
  u2fPubKey: string | null;
7286
7407
  legacyViewAll: boolean;
7287
7408
  role: UserRole;
7288
- status: ActivationStatus;
7409
+ status: ActivationStatus$1;
7289
7410
  isSuspended: boolean;
7290
7411
  gateType: GateUserType | null;
7291
7412
  gateId: number;
@@ -7298,26 +7419,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
7298
7419
  activityTracer: ActivityTracer;
7299
7420
  core: RuntimeInternalApiCapabilityProvider;
7300
7421
  };
7301
- meta: {
7302
- [x: string]: unknown;
7303
- } & {
7304
- openapi?: {
7305
- enabled?: boolean;
7306
- method: import("trpc-to-openapi").OpenApiMethod;
7307
- path: `/${string}`;
7308
- operationId?: string;
7309
- summary?: string;
7310
- description?: string;
7311
- protect?: boolean;
7312
- tags?: string[];
7313
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
7314
- deprecated?: boolean;
7315
- requestHeaders?: import("zod").ZodObject;
7316
- responseHeaders?: import("zod").ZodObject;
7317
- successDescription?: string;
7318
- errorResponses?: number[] | Record<number, string>;
7319
- };
7320
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
7422
+ meta: TrpcMeta;
7321
7423
  errorShape: {
7322
7424
  message: string;
7323
7425
  code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
@@ -7341,26 +7443,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
7341
7443
  createdAt: Date;
7342
7444
  updatedAt: Date;
7343
7445
  }[];
7344
- meta: {
7345
- [x: string]: unknown;
7346
- } & {
7347
- openapi?: {
7348
- enabled?: boolean;
7349
- method: import("trpc-to-openapi").OpenApiMethod;
7350
- path: `/${string}`;
7351
- operationId?: string;
7352
- summary?: string;
7353
- description?: string;
7354
- protect?: boolean;
7355
- tags?: string[];
7356
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
7357
- deprecated?: boolean;
7358
- requestHeaders?: import("zod").ZodObject;
7359
- responseHeaders?: import("zod").ZodObject;
7360
- successDescription?: string;
7361
- errorResponses?: number[] | Record<number, string>;
7362
- };
7363
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
7446
+ meta: TrpcMeta;
7364
7447
  }>;
7365
7448
  findByName: import("@trpc/server").TRPCQueryProcedure<{
7366
7449
  input: {
@@ -7373,26 +7456,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
7373
7456
  createdAt: Date;
7374
7457
  updatedAt: Date;
7375
7458
  };
7376
- meta: {
7377
- [x: string]: unknown;
7378
- } & {
7379
- openapi?: {
7380
- enabled?: boolean;
7381
- method: import("trpc-to-openapi").OpenApiMethod;
7382
- path: `/${string}`;
7383
- operationId?: string;
7384
- summary?: string;
7385
- description?: string;
7386
- protect?: boolean;
7387
- tags?: string[];
7388
- contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
7389
- deprecated?: boolean;
7390
- requestHeaders?: import("zod").ZodObject;
7391
- responseHeaders?: import("zod").ZodObject;
7392
- successDescription?: string;
7393
- errorResponses?: number[] | Record<number, string>;
7394
- };
7395
- } & RateLimitMetricsMeta & BackofficePermissionMeta;
7459
+ meta: TrpcMeta;
7396
7460
  }>;
7397
7461
  }>>;
7398
7462
  }>>;