@numa-tech/numa 1.19.0 → 1.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/README.md +57 -3
  2. package/dist/ai-registry/bridge.js +3 -2
  3. package/dist/ai-registry/bridge.js.map +1 -1
  4. package/dist/ai-registry/client.d.ts +8 -1
  5. package/dist/ai-registry/client.js +11 -1
  6. package/dist/ai-registry/client.js.map +1 -1
  7. package/dist/ai-registry/commands.d.ts +3 -0
  8. package/dist/ai-registry/commands.js +48 -36
  9. package/dist/ai-registry/commands.js.map +1 -1
  10. package/dist/ai-registry/mcp-management.d.ts +2 -0
  11. package/dist/ai-registry/mcp-management.js +74 -0
  12. package/dist/ai-registry/mcp-management.js.map +1 -0
  13. package/dist/ai-registry/mcp-runtime-commands.d.ts +15 -0
  14. package/dist/ai-registry/mcp-runtime-commands.js +101 -0
  15. package/dist/ai-registry/mcp-runtime-commands.js.map +1 -0
  16. package/dist/ai-registry/mcp-runtime.d.ts +37 -0
  17. package/dist/ai-registry/mcp-runtime.js +134 -0
  18. package/dist/ai-registry/mcp-runtime.js.map +1 -0
  19. package/dist/ai-registry/mcp-stdio.d.ts +2 -0
  20. package/dist/ai-registry/mcp-stdio.js +18 -0
  21. package/dist/ai-registry/mcp-stdio.js.map +1 -0
  22. package/dist/authorization/application-client.d.ts +1271 -0
  23. package/dist/authorization/application-client.js +391 -0
  24. package/dist/authorization/application-client.js.map +1 -0
  25. package/dist/authorization/application-commands.d.ts +15 -0
  26. package/dist/authorization/application-commands.js +240 -0
  27. package/dist/authorization/application-commands.js.map +1 -0
  28. package/dist/authorization/application-schemas.d.ts +731 -0
  29. package/dist/authorization/application-schemas.js +521 -0
  30. package/dist/authorization/application-schemas.js.map +1 -0
  31. package/dist/authorization/{client.d.ts → bootstrap-client.d.ts} +5 -26
  32. package/dist/authorization/{client.js → bootstrap-client.js} +4 -27
  33. package/dist/authorization/bootstrap-client.js.map +1 -0
  34. package/dist/authorization/commands.d.ts +6 -21
  35. package/dist/authorization/commands.js +8 -130
  36. package/dist/authorization/commands.js.map +1 -1
  37. package/dist/authorization/enrollment-client.d.ts +40 -0
  38. package/dist/authorization/enrollment-client.js +56 -0
  39. package/dist/authorization/enrollment-client.js.map +1 -0
  40. package/dist/authorization/enrollment-commands.d.ts +5 -0
  41. package/dist/authorization/enrollment-commands.js +30 -0
  42. package/dist/authorization/enrollment-commands.js.map +1 -0
  43. package/dist/authorization/enrollment.d.ts +2 -2
  44. package/dist/authorization/enrollment.js +2 -2
  45. package/dist/authorization/enrollment.js.map +1 -1
  46. package/dist/authorization/schemas.d.ts +0 -90
  47. package/dist/authorization/schemas.js +0 -48
  48. package/dist/authorization/schemas.js.map +1 -1
  49. package/dist/backend.d.ts +1 -0
  50. package/dist/backend.js +4 -1
  51. package/dist/backend.js.map +1 -1
  52. package/dist/business-issuer.d.ts +4 -0
  53. package/dist/business-issuer.js +30 -0
  54. package/dist/business-issuer.js.map +1 -0
  55. package/dist/cli.js +61 -30
  56. package/dist/cli.js.map +1 -1
  57. package/dist/cloud/bootstrap.js +1 -1
  58. package/dist/cloud/bootstrap.js.map +1 -1
  59. package/dist/command-catalog.js +11 -36
  60. package/dist/command-catalog.js.map +1 -1
  61. package/dist/config.d.ts +1 -1
  62. package/dist/config.js +15 -6
  63. package/dist/config.js.map +1 -1
  64. package/dist/login-configuration.d.ts +8 -0
  65. package/dist/login-configuration.js +17 -0
  66. package/dist/login-configuration.js.map +1 -0
  67. package/dist/login-recovery.d.ts +2 -0
  68. package/dist/login-recovery.js +15 -0
  69. package/dist/login-recovery.js.map +1 -0
  70. package/dist/mcp/commands.js +12 -2
  71. package/dist/mcp/commands.js.map +1 -1
  72. package/dist/mcp-gateway/commands.d.ts +2 -0
  73. package/dist/mcp-gateway/commands.js +11 -0
  74. package/dist/mcp-gateway/commands.js.map +1 -1
  75. package/dist/oss/commands.d.ts +2 -1
  76. package/dist/oss/commands.js +55 -37
  77. package/dist/oss/commands.js.map +1 -1
  78. package/dist/oss/file-operations.d.ts +57 -0
  79. package/dist/oss/file-operations.js +269 -0
  80. package/dist/oss/file-operations.js.map +1 -0
  81. package/dist/oss/local-picker.d.ts +2 -0
  82. package/dist/oss/local-picker.js +6 -0
  83. package/dist/oss/local-picker.js.map +1 -1
  84. package/dist/oss/tools.js +1 -1
  85. package/dist/oss/tools.js.map +1 -1
  86. package/dist/oss/transfer-queue.js +1 -1
  87. package/dist/oss/transfer-queue.js.map +1 -1
  88. package/dist/oss/transfers.d.ts +7 -0
  89. package/dist/oss/transfers.js +87 -0
  90. package/dist/oss/transfers.js.map +1 -1
  91. package/dist/oss/web-page.js +365 -30
  92. package/dist/oss/web-page.js.map +1 -1
  93. package/dist/oss/web-service.d.ts +45 -0
  94. package/dist/oss/web-service.js +107 -0
  95. package/dist/oss/web-service.js.map +1 -0
  96. package/dist/oss/web.d.ts +10 -0
  97. package/dist/oss/web.js +117 -15
  98. package/dist/oss/web.js.map +1 -1
  99. package/dist/platform-profile.d.ts +22 -2
  100. package/dist/platform-profile.js +67 -6
  101. package/dist/platform-profile.js.map +1 -1
  102. package/docs/application-default-groups.md +73 -0
  103. package/examples/cloud-bootstrap/README.md +1 -1
  104. package/examples/mcp/README.md +108 -0
  105. package/examples/mcp/management-smoke.py +154 -0
  106. package/examples/mcp/runtime-smoke.mjs +187 -0
  107. package/examples/mcp/server.json +17 -0
  108. package/examples/oss/README.md +78 -0
  109. package/examples/oss/__pycache__/roundtrip.cpython-314.pyc +0 -0
  110. package/examples/oss/__pycache__/test_roundtrip.cpython-314.pyc +0 -0
  111. package/examples/oss/roundtrip.py +84 -0
  112. package/examples/oss/test_roundtrip.py +66 -0
  113. package/package.json +6 -5
  114. package/dist/authorization/client.js.map +0 -1
  115. package/dist/authorization/group-client.d.ts +0 -169
  116. package/dist/authorization/group-client.js +0 -129
  117. package/dist/authorization/group-client.js.map +0 -1
  118. package/dist/authorization/group-commands.d.ts +0 -25
  119. package/dist/authorization/group-commands.js +0 -155
  120. package/dist/authorization/group-commands.js.map +0 -1
@@ -0,0 +1,1271 @@
1
+ import type { AuthConfig } from "../config.js";
2
+ import { type KeycloakTokenProvider } from "../oauth.js";
3
+ export type Kind = "clients" | "groups";
4
+ export type Pagination = {
5
+ page?: number;
6
+ size?: number;
7
+ q?: string;
8
+ };
9
+ export type CredentialScope = {
10
+ environmentId: string;
11
+ referenceId: string;
12
+ instanceId: string;
13
+ };
14
+ export interface ApplicationClientDependencies {
15
+ fetch?: typeof fetch;
16
+ tokenProvider?: KeycloakTokenProvider;
17
+ }
18
+ export declare class ApplicationClient {
19
+ private readonly config;
20
+ private readonly dependencies;
21
+ readonly applicationId: number;
22
+ private readonly base;
23
+ constructor(config: AuthConfig, applicationId: number, dependencies?: ApplicationClientDependencies);
24
+ private request;
25
+ private json;
26
+ private failure;
27
+ private scoped;
28
+ sources(): Promise<{
29
+ [x: string]: unknown;
30
+ environmentId: string;
31
+ environmentCode: string;
32
+ environmentName: string;
33
+ identityKey: string;
34
+ issuerUrl: string;
35
+ realm: string;
36
+ issuerId: string | null;
37
+ }[]>;
38
+ private source;
39
+ catalog(p?: Pagination): Promise<{
40
+ [x: string]: unknown;
41
+ items: Record<string, unknown>[];
42
+ total: number;
43
+ page: number;
44
+ size: number;
45
+ }>;
46
+ definition(): Promise<{
47
+ [x: string]: unknown;
48
+ applicationId: number;
49
+ applicationCode: string;
50
+ name: string;
51
+ kind: "CATALOG" | "DOCUMENT";
52
+ editable: boolean;
53
+ defaultRoleClientId: string;
54
+ draftVersion: number;
55
+ definition: Record<string, unknown>;
56
+ versions: {
57
+ [x: string]: unknown;
58
+ version: number;
59
+ createdAt: string;
60
+ digest: string;
61
+ }[];
62
+ }>;
63
+ saveDefinition(input: unknown): Promise<{
64
+ [x: string]: unknown;
65
+ applicationId: number;
66
+ applicationCode: string;
67
+ name: string;
68
+ kind: "CATALOG" | "DOCUMENT";
69
+ editable: boolean;
70
+ defaultRoleClientId: string;
71
+ draftVersion: number;
72
+ definition: Record<string, unknown>;
73
+ versions: {
74
+ [x: string]: unknown;
75
+ version: number;
76
+ createdAt: string;
77
+ digest: string;
78
+ }[];
79
+ }>;
80
+ freeze(input: unknown): Promise<{
81
+ [x: string]: unknown;
82
+ applicationId: number;
83
+ version: number;
84
+ default_role_client_id: string;
85
+ created_at: string;
86
+ definition: Record<string, unknown>;
87
+ digest: string;
88
+ kind: string;
89
+ }>;
90
+ definitionVersion(n: number): Promise<{
91
+ [x: string]: unknown;
92
+ applicationId: number;
93
+ version: number;
94
+ default_role_client_id: string;
95
+ created_at: string;
96
+ definition: Record<string, unknown>;
97
+ digest: string;
98
+ kind: string;
99
+ }>;
100
+ targets(p?: Pagination, filters?: {
101
+ issuerId?: string;
102
+ identitySource?: string;
103
+ }): Promise<{
104
+ [x: string]: unknown;
105
+ items: Record<string, unknown>[];
106
+ total: number;
107
+ page: number;
108
+ size: number;
109
+ }>;
110
+ environments(p?: Pagination): Promise<{
111
+ [x: string]: unknown;
112
+ total: number;
113
+ page: number;
114
+ size: number;
115
+ items: {
116
+ [x: string]: unknown;
117
+ code: string;
118
+ name: string;
119
+ enforcementMode: "APPLICATION" | "GATEWAY";
120
+ identitySource: "PLATFORM" | "REGISTERED";
121
+ issuerId?: string | null | undefined;
122
+ resourceClientId: string;
123
+ roleClientId: string;
124
+ pathRoot: string;
125
+ objectNamespace: string;
126
+ definitionVersion: number;
127
+ status: "ACTIVE" | "DISABLED";
128
+ version: number;
129
+ gatewayId?: string | null | undefined;
130
+ gatewayBindingId?: string | null | undefined;
131
+ id: string;
132
+ applicationId: number;
133
+ issuerUrl: string;
134
+ ready?: boolean | undefined;
135
+ }[];
136
+ }>;
137
+ environment(environmentId: string): Promise<{
138
+ [x: string]: unknown;
139
+ code: string;
140
+ name: string;
141
+ enforcementMode: "APPLICATION" | "GATEWAY";
142
+ identitySource: "PLATFORM" | "REGISTERED";
143
+ issuerId?: string | null | undefined;
144
+ resourceClientId: string;
145
+ roleClientId: string;
146
+ pathRoot: string;
147
+ objectNamespace: string;
148
+ definitionVersion: number;
149
+ status: "ACTIVE" | "DISABLED";
150
+ version: number;
151
+ gatewayId?: string | null | undefined;
152
+ gatewayBindingId?: string | null | undefined;
153
+ id: string;
154
+ applicationId: number;
155
+ issuerUrl: string;
156
+ ready?: boolean | undefined;
157
+ }>;
158
+ saveEnvironment(input: unknown, environmentId?: string): Promise<{
159
+ [x: string]: unknown;
160
+ code: string;
161
+ name: string;
162
+ enforcementMode: "APPLICATION" | "GATEWAY";
163
+ identitySource: "PLATFORM" | "REGISTERED";
164
+ issuerId?: string | null | undefined;
165
+ resourceClientId: string;
166
+ roleClientId: string;
167
+ pathRoot: string;
168
+ objectNamespace: string;
169
+ definitionVersion: number;
170
+ status: "ACTIVE" | "DISABLED";
171
+ version: number;
172
+ gatewayId?: string | null | undefined;
173
+ gatewayBindingId?: string | null | undefined;
174
+ id: string;
175
+ applicationId: number;
176
+ issuerUrl: string;
177
+ ready?: boolean | undefined;
178
+ }>;
179
+ configuration(environmentId: string): Promise<Record<string, unknown>>;
180
+ gatewayHistory(bindingId: string, p?: Pagination): Promise<{
181
+ [x: string]: unknown;
182
+ items: Record<string, unknown>[];
183
+ total: number;
184
+ page: number;
185
+ size: number;
186
+ }>;
187
+ environmentRuns(environmentId: string, p?: Pagination): Promise<{
188
+ [x: string]: unknown;
189
+ items: Record<string, unknown>[];
190
+ total: number;
191
+ page: number;
192
+ size: number;
193
+ }>;
194
+ directory(kind: string, environmentId: string, p?: Pagination): Promise<{
195
+ [x: string]: unknown;
196
+ items: Record<string, unknown>[];
197
+ page: number;
198
+ size: number;
199
+ total?: number | undefined;
200
+ hasMore: boolean;
201
+ }>;
202
+ private kind;
203
+ objects(kind: Kind, p?: Pagination): Promise<{
204
+ [x: string]: unknown;
205
+ total: number;
206
+ page: number;
207
+ size: number;
208
+ hasMore: boolean;
209
+ items: {
210
+ [x: string]: unknown;
211
+ referenceId: string;
212
+ definitionId: string;
213
+ applicationId: number;
214
+ definitionVersion: number;
215
+ referenceVersion: number;
216
+ status: string;
217
+ referenceStatus: string;
218
+ publishedRevision: number | null;
219
+ ownerApplicationId: number | null;
220
+ ownership: string;
221
+ configurationReadOnly: boolean;
222
+ draftStatus: string;
223
+ definition: Record<string, unknown>;
224
+ affectedApplications: Record<string, unknown>[];
225
+ instances: {
226
+ [x: string]: unknown;
227
+ instanceId: string;
228
+ identityKey: string;
229
+ issuerUrl: string;
230
+ instanceVersion: number;
231
+ targetVersion: number;
232
+ targetStatus: string;
233
+ instanceStatus: string;
234
+ appliedRevision: number | null;
235
+ mode: string | null;
236
+ }[];
237
+ }[];
238
+ }>;
239
+ object(kind: Kind, referenceId: string, environmentId: string): Promise<{
240
+ [x: string]: unknown;
241
+ referenceId: string;
242
+ definitionId: string;
243
+ applicationId: number;
244
+ definitionVersion: number;
245
+ referenceVersion: number;
246
+ status: string;
247
+ referenceStatus: string;
248
+ publishedRevision: number | null;
249
+ ownerApplicationId: number | null;
250
+ ownership: string;
251
+ configurationReadOnly: boolean;
252
+ draftStatus: string;
253
+ definition: Record<string, unknown>;
254
+ affectedApplications: Record<string, unknown>[];
255
+ instances: {
256
+ [x: string]: unknown;
257
+ instanceId: string;
258
+ identityKey: string;
259
+ issuerUrl: string;
260
+ instanceVersion: number;
261
+ targetVersion: number;
262
+ targetStatus: string;
263
+ instanceStatus: string;
264
+ appliedRevision: number | null;
265
+ mode: string | null;
266
+ }[];
267
+ source: {
268
+ [x: string]: unknown;
269
+ environmentId: string;
270
+ environmentCode: string;
271
+ environmentName: string;
272
+ identityKey: string;
273
+ issuerUrl: string;
274
+ realm: string;
275
+ issuerId: string | null;
276
+ };
277
+ }>;
278
+ private verifyInstances;
279
+ saveObject(kind: Kind, input: unknown, referenceId?: string): Promise<{
280
+ [x: string]: unknown;
281
+ referenceId: string;
282
+ definitionId: string;
283
+ applicationId: number;
284
+ definitionVersion: number;
285
+ referenceVersion: number;
286
+ status: string;
287
+ referenceStatus: string;
288
+ publishedRevision: number | null;
289
+ ownerApplicationId: number | null;
290
+ ownership: string;
291
+ configurationReadOnly: boolean;
292
+ draftStatus: string;
293
+ definition: Record<string, unknown>;
294
+ affectedApplications: Record<string, unknown>[];
295
+ instances: {
296
+ [x: string]: unknown;
297
+ instanceId: string;
298
+ identityKey: string;
299
+ issuerUrl: string;
300
+ instanceVersion: number;
301
+ targetVersion: number;
302
+ targetStatus: string;
303
+ instanceStatus: string;
304
+ appliedRevision: number | null;
305
+ mode: string | null;
306
+ }[];
307
+ }>;
308
+ registered(kind: Kind, definitionId: string, environmentId: string, instanceId?: string): Promise<{
309
+ [x: string]: unknown;
310
+ applicationId: number;
311
+ source: {
312
+ [x: string]: unknown;
313
+ environmentId: string;
314
+ environmentCode: string;
315
+ environmentName: string;
316
+ identityKey: string;
317
+ issuerUrl: string;
318
+ realm: string;
319
+ issuerId: string | null;
320
+ };
321
+ definitionId: string;
322
+ definition: {
323
+ [x: string]: unknown;
324
+ id: string;
325
+ version: number;
326
+ status: string;
327
+ ownerApplicationId: number | null;
328
+ };
329
+ ownerApplicationId: number | null;
330
+ configurationReadOnly: boolean;
331
+ instance: {
332
+ [x: string]: unknown;
333
+ id: string;
334
+ definitionId: string;
335
+ identityKey: string;
336
+ issuerUrl: string;
337
+ version: number;
338
+ status: string;
339
+ } | null;
340
+ reference: {
341
+ [x: string]: unknown;
342
+ referenceId: string;
343
+ referenceVersion: number;
344
+ status: string;
345
+ } | null;
346
+ target: {
347
+ [x: string]: unknown;
348
+ instanceId: string;
349
+ identityKey: string;
350
+ issuerUrl: string;
351
+ instanceVersion: number;
352
+ targetVersion: number;
353
+ targetStatus: string;
354
+ instanceStatus: string;
355
+ appliedRevision: number | null;
356
+ mode: string | null;
357
+ } | null;
358
+ association: "BOUND" | "NO_INSTANCE" | "REFERENCE_WITHOUT_TARGET" | "UNREFERENCED";
359
+ }>;
360
+ versions(kind: Kind, definitionId: string, environmentId: string, p?: Pagination, instanceId?: string): Promise<{
361
+ [x: string]: unknown;
362
+ items: Record<string, unknown>[];
363
+ total: number;
364
+ page: number;
365
+ size: number;
366
+ }>;
367
+ history(kind: Kind, referenceId: string, instanceId: string, environmentId: string, p?: Pagination): Promise<{
368
+ [x: string]: unknown;
369
+ items: Record<string, unknown>[];
370
+ total: number;
371
+ page: number;
372
+ size: number;
373
+ hasMore: boolean;
374
+ }>;
375
+ members(referenceId: string, instanceId: string, environmentId: string, p?: Pagination): Promise<{
376
+ [x: string]: unknown;
377
+ items: Record<string, unknown>[];
378
+ total: number;
379
+ page: number;
380
+ size: number;
381
+ hasMore: boolean;
382
+ }>;
383
+ blacklist(referenceId: string, instanceId: string, environmentId: string, p?: Pagination): Promise<{
384
+ [x: string]: unknown;
385
+ items: Record<string, unknown>[];
386
+ total: number;
387
+ page: number;
388
+ size: number;
389
+ hasMore: boolean;
390
+ }>;
391
+ private instanceReader;
392
+ providers(environmentId: string, p?: Pagination): Promise<{
393
+ [x: string]: unknown;
394
+ items: Record<string, unknown>[];
395
+ total: number;
396
+ page: number;
397
+ size: number;
398
+ }>;
399
+ provider(providerApplicationId: number, environmentId: string): Promise<Record<string, unknown>>;
400
+ machines(environmentId: string, p?: Pagination): Promise<{
401
+ [x: string]: unknown;
402
+ items: Record<string, unknown>[];
403
+ total: number;
404
+ page: number;
405
+ size: number;
406
+ }>;
407
+ relations(environmentId: string, p?: Pagination): Promise<{
408
+ [x: string]: unknown;
409
+ revision: number;
410
+ relations: Record<string, unknown>[];
411
+ total: number;
412
+ hasMore: boolean;
413
+ page: number;
414
+ size: number;
415
+ }>;
416
+ saveRelations(environmentId: string, input: unknown): Promise<{
417
+ [x: string]: unknown;
418
+ revision: number;
419
+ relations: Record<string, unknown>[];
420
+ total: number;
421
+ hasMore: boolean;
422
+ page: number;
423
+ size: number;
424
+ }>;
425
+ subjectAccess(subject: string, environmentId: string): Promise<Record<string, unknown>>;
426
+ plan(input: unknown): Promise<{
427
+ [x: string]: unknown;
428
+ id: string;
429
+ applicationId: number;
430
+ status: string;
431
+ version: number;
432
+ planDigest: string;
433
+ predecessorId: string | null;
434
+ createdAt: string;
435
+ updatedAt: string;
436
+ steps: {
437
+ [x: string]: unknown;
438
+ ordinal: number;
439
+ kind: string;
440
+ targetId: string;
441
+ status: string;
442
+ version: number;
443
+ stepDigest: string;
444
+ childEvidence?: Record<string, unknown> | null | undefined;
445
+ }[];
446
+ collaboration: {
447
+ [x: string]: unknown;
448
+ state: string;
449
+ allowedActions: string[];
450
+ };
451
+ operation: "IDENTITY_PUBLICATION";
452
+ plan: {
453
+ [x: string]: unknown;
454
+ applicationId: number;
455
+ definitionVersion: number;
456
+ definitionDigest: string;
457
+ targets: Record<string, unknown>[];
458
+ instances: Record<string, Record<string, unknown>>;
459
+ steps: Record<string, unknown>[];
460
+ };
461
+ } | {
462
+ [x: string]: unknown;
463
+ id: string;
464
+ applicationId: number;
465
+ status: string;
466
+ version: number;
467
+ planDigest: string;
468
+ predecessorId: string | null;
469
+ createdAt: string;
470
+ updatedAt: string;
471
+ steps: {
472
+ [x: string]: unknown;
473
+ ordinal: number;
474
+ kind: string;
475
+ targetId: string;
476
+ status: string;
477
+ version: number;
478
+ stepDigest: string;
479
+ childEvidence?: Record<string, unknown> | null | undefined;
480
+ }[];
481
+ collaboration: {
482
+ [x: string]: unknown;
483
+ state: string;
484
+ allowedActions: string[];
485
+ };
486
+ operation: "CREDENTIAL_ROTATION";
487
+ plan: {
488
+ [x: string]: unknown;
489
+ operation: "CREDENTIAL_ROTATION";
490
+ schemaVersion: 1;
491
+ applicationId: number;
492
+ credentialContext: {
493
+ [x: string]: unknown;
494
+ schemaVersion: 1;
495
+ applicationId: number;
496
+ environmentId: string;
497
+ referenceId: string;
498
+ definitionId: string;
499
+ instanceId: string;
500
+ identityKey: string;
501
+ issuerId: string | null;
502
+ issuerUrl: string;
503
+ issuerVersion: number;
504
+ environmentVersion: number;
505
+ gatewayId: string | null;
506
+ gatewayVersion: number | null;
507
+ gatewayBindingId: string | null;
508
+ gatewayBindingVersion: number | null;
509
+ referenceVersion: number;
510
+ targetVersion: number;
511
+ definitionVersion: number;
512
+ publishedRevision: number | null;
513
+ appliedRevision: number | null;
514
+ instanceVersion: number;
515
+ clientId: string;
516
+ remoteUuid: string | null;
517
+ credentialState: string;
518
+ publicClient: boolean;
519
+ enabled: boolean;
520
+ verified: boolean;
521
+ locked: boolean;
522
+ affectedApplications: {
523
+ [x: string]: unknown;
524
+ applicationId: number;
525
+ code: string;
526
+ name: string;
527
+ referenceId: string;
528
+ referenceVersion: number;
529
+ targetVersion: number;
530
+ }[];
531
+ };
532
+ steps: {
533
+ [x: string]: unknown;
534
+ kind: "CREDENTIAL_ROTATE";
535
+ targetId: string;
536
+ }[];
537
+ };
538
+ credentialOperation: Record<string, unknown>;
539
+ }>;
540
+ jobs(p?: Pagination): Promise<{
541
+ [x: string]: unknown;
542
+ total: number;
543
+ page: number;
544
+ size: number;
545
+ items: ({
546
+ [x: string]: unknown;
547
+ id: string;
548
+ applicationId: number;
549
+ status: string;
550
+ version: number;
551
+ planDigest: string;
552
+ predecessorId: string | null;
553
+ createdAt: string;
554
+ updatedAt: string;
555
+ steps: {
556
+ [x: string]: unknown;
557
+ ordinal: number;
558
+ kind: string;
559
+ targetId: string;
560
+ status: string;
561
+ version: number;
562
+ stepDigest: string;
563
+ childEvidence?: Record<string, unknown> | null | undefined;
564
+ }[];
565
+ collaboration: {
566
+ [x: string]: unknown;
567
+ state: string;
568
+ allowedActions: string[];
569
+ };
570
+ operation: "IDENTITY_PUBLICATION";
571
+ plan: {
572
+ [x: string]: unknown;
573
+ applicationId: number;
574
+ definitionVersion: number;
575
+ definitionDigest: string;
576
+ targets: Record<string, unknown>[];
577
+ instances: Record<string, Record<string, unknown>>;
578
+ steps: Record<string, unknown>[];
579
+ };
580
+ } | {
581
+ [x: string]: unknown;
582
+ id: string;
583
+ applicationId: number;
584
+ status: string;
585
+ version: number;
586
+ planDigest: string;
587
+ predecessorId: string | null;
588
+ createdAt: string;
589
+ updatedAt: string;
590
+ steps: {
591
+ [x: string]: unknown;
592
+ ordinal: number;
593
+ kind: string;
594
+ targetId: string;
595
+ status: string;
596
+ version: number;
597
+ stepDigest: string;
598
+ childEvidence?: Record<string, unknown> | null | undefined;
599
+ }[];
600
+ collaboration: {
601
+ [x: string]: unknown;
602
+ state: string;
603
+ allowedActions: string[];
604
+ };
605
+ operation: "CREDENTIAL_ROTATION";
606
+ plan: {
607
+ [x: string]: unknown;
608
+ operation: "CREDENTIAL_ROTATION";
609
+ schemaVersion: 1;
610
+ applicationId: number;
611
+ credentialContext: {
612
+ [x: string]: unknown;
613
+ schemaVersion: 1;
614
+ applicationId: number;
615
+ environmentId: string;
616
+ referenceId: string;
617
+ definitionId: string;
618
+ instanceId: string;
619
+ identityKey: string;
620
+ issuerId: string | null;
621
+ issuerUrl: string;
622
+ issuerVersion: number;
623
+ environmentVersion: number;
624
+ gatewayId: string | null;
625
+ gatewayVersion: number | null;
626
+ gatewayBindingId: string | null;
627
+ gatewayBindingVersion: number | null;
628
+ referenceVersion: number;
629
+ targetVersion: number;
630
+ definitionVersion: number;
631
+ publishedRevision: number | null;
632
+ appliedRevision: number | null;
633
+ instanceVersion: number;
634
+ clientId: string;
635
+ remoteUuid: string | null;
636
+ credentialState: string;
637
+ publicClient: boolean;
638
+ enabled: boolean;
639
+ verified: boolean;
640
+ locked: boolean;
641
+ affectedApplications: {
642
+ [x: string]: unknown;
643
+ applicationId: number;
644
+ code: string;
645
+ name: string;
646
+ referenceId: string;
647
+ referenceVersion: number;
648
+ targetVersion: number;
649
+ }[];
650
+ };
651
+ steps: {
652
+ [x: string]: unknown;
653
+ kind: "CREDENTIAL_ROTATE";
654
+ targetId: string;
655
+ }[];
656
+ };
657
+ credentialOperation: Record<string, unknown>;
658
+ })[];
659
+ }>;
660
+ job(jobId: string): Promise<{
661
+ [x: string]: unknown;
662
+ id: string;
663
+ applicationId: number;
664
+ status: string;
665
+ version: number;
666
+ planDigest: string;
667
+ predecessorId: string | null;
668
+ createdAt: string;
669
+ updatedAt: string;
670
+ steps: {
671
+ [x: string]: unknown;
672
+ ordinal: number;
673
+ kind: string;
674
+ targetId: string;
675
+ status: string;
676
+ version: number;
677
+ stepDigest: string;
678
+ childEvidence?: Record<string, unknown> | null | undefined;
679
+ }[];
680
+ collaboration: {
681
+ [x: string]: unknown;
682
+ state: string;
683
+ allowedActions: string[];
684
+ };
685
+ operation: "IDENTITY_PUBLICATION";
686
+ plan: {
687
+ [x: string]: unknown;
688
+ applicationId: number;
689
+ definitionVersion: number;
690
+ definitionDigest: string;
691
+ targets: Record<string, unknown>[];
692
+ instances: Record<string, Record<string, unknown>>;
693
+ steps: Record<string, unknown>[];
694
+ };
695
+ } | {
696
+ [x: string]: unknown;
697
+ id: string;
698
+ applicationId: number;
699
+ status: string;
700
+ version: number;
701
+ planDigest: string;
702
+ predecessorId: string | null;
703
+ createdAt: string;
704
+ updatedAt: string;
705
+ steps: {
706
+ [x: string]: unknown;
707
+ ordinal: number;
708
+ kind: string;
709
+ targetId: string;
710
+ status: string;
711
+ version: number;
712
+ stepDigest: string;
713
+ childEvidence?: Record<string, unknown> | null | undefined;
714
+ }[];
715
+ collaboration: {
716
+ [x: string]: unknown;
717
+ state: string;
718
+ allowedActions: string[];
719
+ };
720
+ operation: "CREDENTIAL_ROTATION";
721
+ plan: {
722
+ [x: string]: unknown;
723
+ operation: "CREDENTIAL_ROTATION";
724
+ schemaVersion: 1;
725
+ applicationId: number;
726
+ credentialContext: {
727
+ [x: string]: unknown;
728
+ schemaVersion: 1;
729
+ applicationId: number;
730
+ environmentId: string;
731
+ referenceId: string;
732
+ definitionId: string;
733
+ instanceId: string;
734
+ identityKey: string;
735
+ issuerId: string | null;
736
+ issuerUrl: string;
737
+ issuerVersion: number;
738
+ environmentVersion: number;
739
+ gatewayId: string | null;
740
+ gatewayVersion: number | null;
741
+ gatewayBindingId: string | null;
742
+ gatewayBindingVersion: number | null;
743
+ referenceVersion: number;
744
+ targetVersion: number;
745
+ definitionVersion: number;
746
+ publishedRevision: number | null;
747
+ appliedRevision: number | null;
748
+ instanceVersion: number;
749
+ clientId: string;
750
+ remoteUuid: string | null;
751
+ credentialState: string;
752
+ publicClient: boolean;
753
+ enabled: boolean;
754
+ verified: boolean;
755
+ locked: boolean;
756
+ affectedApplications: {
757
+ [x: string]: unknown;
758
+ applicationId: number;
759
+ code: string;
760
+ name: string;
761
+ referenceId: string;
762
+ referenceVersion: number;
763
+ targetVersion: number;
764
+ }[];
765
+ };
766
+ steps: {
767
+ [x: string]: unknown;
768
+ kind: "CREDENTIAL_ROTATE";
769
+ targetId: string;
770
+ }[];
771
+ };
772
+ credentialOperation: Record<string, unknown>;
773
+ }>;
774
+ jobAction(jobId: string, action: "validate" | "cancel" | "prepare" | "review" | "apply" | "recheck" | "terminate" | "repreview", input: unknown): Promise<{
775
+ [x: string]: unknown;
776
+ id: string;
777
+ applicationId: number;
778
+ status: string;
779
+ version: number;
780
+ planDigest: string;
781
+ predecessorId: string | null;
782
+ createdAt: string;
783
+ updatedAt: string;
784
+ steps: {
785
+ [x: string]: unknown;
786
+ ordinal: number;
787
+ kind: string;
788
+ targetId: string;
789
+ status: string;
790
+ version: number;
791
+ stepDigest: string;
792
+ childEvidence?: Record<string, unknown> | null | undefined;
793
+ }[];
794
+ collaboration: {
795
+ [x: string]: unknown;
796
+ state: string;
797
+ allowedActions: string[];
798
+ };
799
+ operation: "IDENTITY_PUBLICATION";
800
+ plan: {
801
+ [x: string]: unknown;
802
+ applicationId: number;
803
+ definitionVersion: number;
804
+ definitionDigest: string;
805
+ targets: Record<string, unknown>[];
806
+ instances: Record<string, Record<string, unknown>>;
807
+ steps: Record<string, unknown>[];
808
+ };
809
+ } | {
810
+ [x: string]: unknown;
811
+ id: string;
812
+ applicationId: number;
813
+ status: string;
814
+ version: number;
815
+ planDigest: string;
816
+ predecessorId: string | null;
817
+ createdAt: string;
818
+ updatedAt: string;
819
+ steps: {
820
+ [x: string]: unknown;
821
+ ordinal: number;
822
+ kind: string;
823
+ targetId: string;
824
+ status: string;
825
+ version: number;
826
+ stepDigest: string;
827
+ childEvidence?: Record<string, unknown> | null | undefined;
828
+ }[];
829
+ collaboration: {
830
+ [x: string]: unknown;
831
+ state: string;
832
+ allowedActions: string[];
833
+ };
834
+ operation: "CREDENTIAL_ROTATION";
835
+ plan: {
836
+ [x: string]: unknown;
837
+ operation: "CREDENTIAL_ROTATION";
838
+ schemaVersion: 1;
839
+ applicationId: number;
840
+ credentialContext: {
841
+ [x: string]: unknown;
842
+ schemaVersion: 1;
843
+ applicationId: number;
844
+ environmentId: string;
845
+ referenceId: string;
846
+ definitionId: string;
847
+ instanceId: string;
848
+ identityKey: string;
849
+ issuerId: string | null;
850
+ issuerUrl: string;
851
+ issuerVersion: number;
852
+ environmentVersion: number;
853
+ gatewayId: string | null;
854
+ gatewayVersion: number | null;
855
+ gatewayBindingId: string | null;
856
+ gatewayBindingVersion: number | null;
857
+ referenceVersion: number;
858
+ targetVersion: number;
859
+ definitionVersion: number;
860
+ publishedRevision: number | null;
861
+ appliedRevision: number | null;
862
+ instanceVersion: number;
863
+ clientId: string;
864
+ remoteUuid: string | null;
865
+ credentialState: string;
866
+ publicClient: boolean;
867
+ enabled: boolean;
868
+ verified: boolean;
869
+ locked: boolean;
870
+ affectedApplications: {
871
+ [x: string]: unknown;
872
+ applicationId: number;
873
+ code: string;
874
+ name: string;
875
+ referenceId: string;
876
+ referenceVersion: number;
877
+ targetVersion: number;
878
+ }[];
879
+ };
880
+ steps: {
881
+ [x: string]: unknown;
882
+ kind: "CREDENTIAL_ROTATE";
883
+ targetId: string;
884
+ }[];
885
+ };
886
+ credentialOperation: Record<string, unknown>;
887
+ }>;
888
+ private credentialPath;
889
+ private credentialScope;
890
+ credentialTarget(scope: CredentialScope): Promise<{
891
+ [x: string]: unknown;
892
+ context: {
893
+ [x: string]: unknown;
894
+ schemaVersion: 1;
895
+ applicationId: number;
896
+ environmentId: string;
897
+ referenceId: string;
898
+ definitionId: string;
899
+ instanceId: string;
900
+ identityKey: string;
901
+ issuerId: string | null;
902
+ issuerUrl: string;
903
+ issuerVersion: number;
904
+ environmentVersion: number;
905
+ gatewayId: string | null;
906
+ gatewayVersion: number | null;
907
+ gatewayBindingId: string | null;
908
+ gatewayBindingVersion: number | null;
909
+ referenceVersion: number;
910
+ targetVersion: number;
911
+ definitionVersion: number;
912
+ publishedRevision: number | null;
913
+ appliedRevision: number | null;
914
+ instanceVersion: number;
915
+ clientId: string;
916
+ remoteUuid: string | null;
917
+ credentialState: string;
918
+ publicClient: boolean;
919
+ enabled: boolean;
920
+ verified: boolean;
921
+ locked: boolean;
922
+ affectedApplications: {
923
+ [x: string]: unknown;
924
+ applicationId: number;
925
+ code: string;
926
+ name: string;
927
+ referenceId: string;
928
+ referenceVersion: number;
929
+ targetVersion: number;
930
+ }[];
931
+ };
932
+ contextDigest: string;
933
+ available: boolean;
934
+ unavailableCode: string | null;
935
+ allowedActions: ("download" | "rotate")[];
936
+ }>;
937
+ credentialOperation(scope: CredentialScope, requestId: string): Promise<{
938
+ [x: string]: unknown;
939
+ requestId: string;
940
+ action: "DOWNLOAD" | "ROTATE";
941
+ status: "RECOVERED" | "RUNNING" | "SUCCEEDED" | "UNKNOWN";
942
+ context: {
943
+ [x: string]: unknown;
944
+ schemaVersion: 1;
945
+ applicationId: number;
946
+ environmentId: string;
947
+ referenceId: string;
948
+ definitionId: string;
949
+ instanceId: string;
950
+ identityKey: string;
951
+ issuerId: string | null;
952
+ issuerUrl: string;
953
+ issuerVersion: number;
954
+ environmentVersion: number;
955
+ gatewayId: string | null;
956
+ gatewayVersion: number | null;
957
+ gatewayBindingId: string | null;
958
+ gatewayBindingVersion: number | null;
959
+ referenceVersion: number;
960
+ targetVersion: number;
961
+ definitionVersion: number;
962
+ publishedRevision: number | null;
963
+ appliedRevision: number | null;
964
+ instanceVersion: number;
965
+ clientId: string;
966
+ remoteUuid: string | null;
967
+ credentialState: string;
968
+ publicClient: boolean;
969
+ enabled: boolean;
970
+ verified: boolean;
971
+ locked: boolean;
972
+ affectedApplications: {
973
+ [x: string]: unknown;
974
+ applicationId: number;
975
+ code: string;
976
+ name: string;
977
+ referenceId: string;
978
+ referenceVersion: number;
979
+ targetVersion: number;
980
+ }[];
981
+ };
982
+ recoveredBy: string | null;
983
+ recoveryBasis: string | null;
984
+ errorCode: string | null;
985
+ createdAt: string;
986
+ updatedAt: string;
987
+ publicationJob: {
988
+ [x: string]: unknown;
989
+ id: string;
990
+ applicationId: number;
991
+ status: string;
992
+ version: number;
993
+ planDigest: string;
994
+ predecessorId: string | null;
995
+ createdAt: string;
996
+ updatedAt: string;
997
+ steps: {
998
+ [x: string]: unknown;
999
+ ordinal: number;
1000
+ kind: string;
1001
+ targetId: string;
1002
+ status: string;
1003
+ version: number;
1004
+ stepDigest: string;
1005
+ childEvidence?: Record<string, unknown> | null | undefined;
1006
+ }[];
1007
+ collaboration: {
1008
+ [x: string]: unknown;
1009
+ state: string;
1010
+ allowedActions: string[];
1011
+ };
1012
+ operation: "IDENTITY_PUBLICATION";
1013
+ plan: {
1014
+ [x: string]: unknown;
1015
+ applicationId: number;
1016
+ definitionVersion: number;
1017
+ definitionDigest: string;
1018
+ targets: Record<string, unknown>[];
1019
+ instances: Record<string, Record<string, unknown>>;
1020
+ steps: Record<string, unknown>[];
1021
+ };
1022
+ } | {
1023
+ [x: string]: unknown;
1024
+ id: string;
1025
+ applicationId: number;
1026
+ status: string;
1027
+ version: number;
1028
+ planDigest: string;
1029
+ predecessorId: string | null;
1030
+ createdAt: string;
1031
+ updatedAt: string;
1032
+ steps: {
1033
+ [x: string]: unknown;
1034
+ ordinal: number;
1035
+ kind: string;
1036
+ targetId: string;
1037
+ status: string;
1038
+ version: number;
1039
+ stepDigest: string;
1040
+ childEvidence?: Record<string, unknown> | null | undefined;
1041
+ }[];
1042
+ collaboration: {
1043
+ [x: string]: unknown;
1044
+ state: string;
1045
+ allowedActions: string[];
1046
+ };
1047
+ operation: "CREDENTIAL_ROTATION";
1048
+ plan: {
1049
+ [x: string]: unknown;
1050
+ operation: "CREDENTIAL_ROTATION";
1051
+ schemaVersion: 1;
1052
+ applicationId: number;
1053
+ credentialContext: {
1054
+ [x: string]: unknown;
1055
+ schemaVersion: 1;
1056
+ applicationId: number;
1057
+ environmentId: string;
1058
+ referenceId: string;
1059
+ definitionId: string;
1060
+ instanceId: string;
1061
+ identityKey: string;
1062
+ issuerId: string | null;
1063
+ issuerUrl: string;
1064
+ issuerVersion: number;
1065
+ environmentVersion: number;
1066
+ gatewayId: string | null;
1067
+ gatewayVersion: number | null;
1068
+ gatewayBindingId: string | null;
1069
+ gatewayBindingVersion: number | null;
1070
+ referenceVersion: number;
1071
+ targetVersion: number;
1072
+ definitionVersion: number;
1073
+ publishedRevision: number | null;
1074
+ appliedRevision: number | null;
1075
+ instanceVersion: number;
1076
+ clientId: string;
1077
+ remoteUuid: string | null;
1078
+ credentialState: string;
1079
+ publicClient: boolean;
1080
+ enabled: boolean;
1081
+ verified: boolean;
1082
+ locked: boolean;
1083
+ affectedApplications: {
1084
+ [x: string]: unknown;
1085
+ applicationId: number;
1086
+ code: string;
1087
+ name: string;
1088
+ referenceId: string;
1089
+ referenceVersion: number;
1090
+ targetVersion: number;
1091
+ }[];
1092
+ };
1093
+ steps: {
1094
+ [x: string]: unknown;
1095
+ kind: "CREDENTIAL_ROTATE";
1096
+ targetId: string;
1097
+ }[];
1098
+ };
1099
+ credentialOperation: Record<string, unknown>;
1100
+ } | null;
1101
+ }>;
1102
+ credentialAction(scope: CredentialScope, requestId: string, action: "recheck" | "terminate", input: unknown): Promise<{
1103
+ [x: string]: unknown;
1104
+ requestId: string;
1105
+ action: "DOWNLOAD" | "ROTATE";
1106
+ status: "RECOVERED" | "RUNNING" | "SUCCEEDED" | "UNKNOWN";
1107
+ context: {
1108
+ [x: string]: unknown;
1109
+ schemaVersion: 1;
1110
+ applicationId: number;
1111
+ environmentId: string;
1112
+ referenceId: string;
1113
+ definitionId: string;
1114
+ instanceId: string;
1115
+ identityKey: string;
1116
+ issuerId: string | null;
1117
+ issuerUrl: string;
1118
+ issuerVersion: number;
1119
+ environmentVersion: number;
1120
+ gatewayId: string | null;
1121
+ gatewayVersion: number | null;
1122
+ gatewayBindingId: string | null;
1123
+ gatewayBindingVersion: number | null;
1124
+ referenceVersion: number;
1125
+ targetVersion: number;
1126
+ definitionVersion: number;
1127
+ publishedRevision: number | null;
1128
+ appliedRevision: number | null;
1129
+ instanceVersion: number;
1130
+ clientId: string;
1131
+ remoteUuid: string | null;
1132
+ credentialState: string;
1133
+ publicClient: boolean;
1134
+ enabled: boolean;
1135
+ verified: boolean;
1136
+ locked: boolean;
1137
+ affectedApplications: {
1138
+ [x: string]: unknown;
1139
+ applicationId: number;
1140
+ code: string;
1141
+ name: string;
1142
+ referenceId: string;
1143
+ referenceVersion: number;
1144
+ targetVersion: number;
1145
+ }[];
1146
+ };
1147
+ recoveredBy: string | null;
1148
+ recoveryBasis: string | null;
1149
+ errorCode: string | null;
1150
+ createdAt: string;
1151
+ updatedAt: string;
1152
+ publicationJob: {
1153
+ [x: string]: unknown;
1154
+ id: string;
1155
+ applicationId: number;
1156
+ status: string;
1157
+ version: number;
1158
+ planDigest: string;
1159
+ predecessorId: string | null;
1160
+ createdAt: string;
1161
+ updatedAt: string;
1162
+ steps: {
1163
+ [x: string]: unknown;
1164
+ ordinal: number;
1165
+ kind: string;
1166
+ targetId: string;
1167
+ status: string;
1168
+ version: number;
1169
+ stepDigest: string;
1170
+ childEvidence?: Record<string, unknown> | null | undefined;
1171
+ }[];
1172
+ collaboration: {
1173
+ [x: string]: unknown;
1174
+ state: string;
1175
+ allowedActions: string[];
1176
+ };
1177
+ operation: "IDENTITY_PUBLICATION";
1178
+ plan: {
1179
+ [x: string]: unknown;
1180
+ applicationId: number;
1181
+ definitionVersion: number;
1182
+ definitionDigest: string;
1183
+ targets: Record<string, unknown>[];
1184
+ instances: Record<string, Record<string, unknown>>;
1185
+ steps: Record<string, unknown>[];
1186
+ };
1187
+ } | {
1188
+ [x: string]: unknown;
1189
+ id: string;
1190
+ applicationId: number;
1191
+ status: string;
1192
+ version: number;
1193
+ planDigest: string;
1194
+ predecessorId: string | null;
1195
+ createdAt: string;
1196
+ updatedAt: string;
1197
+ steps: {
1198
+ [x: string]: unknown;
1199
+ ordinal: number;
1200
+ kind: string;
1201
+ targetId: string;
1202
+ status: string;
1203
+ version: number;
1204
+ stepDigest: string;
1205
+ childEvidence?: Record<string, unknown> | null | undefined;
1206
+ }[];
1207
+ collaboration: {
1208
+ [x: string]: unknown;
1209
+ state: string;
1210
+ allowedActions: string[];
1211
+ };
1212
+ operation: "CREDENTIAL_ROTATION";
1213
+ plan: {
1214
+ [x: string]: unknown;
1215
+ operation: "CREDENTIAL_ROTATION";
1216
+ schemaVersion: 1;
1217
+ applicationId: number;
1218
+ credentialContext: {
1219
+ [x: string]: unknown;
1220
+ schemaVersion: 1;
1221
+ applicationId: number;
1222
+ environmentId: string;
1223
+ referenceId: string;
1224
+ definitionId: string;
1225
+ instanceId: string;
1226
+ identityKey: string;
1227
+ issuerId: string | null;
1228
+ issuerUrl: string;
1229
+ issuerVersion: number;
1230
+ environmentVersion: number;
1231
+ gatewayId: string | null;
1232
+ gatewayVersion: number | null;
1233
+ gatewayBindingId: string | null;
1234
+ gatewayBindingVersion: number | null;
1235
+ referenceVersion: number;
1236
+ targetVersion: number;
1237
+ definitionVersion: number;
1238
+ publishedRevision: number | null;
1239
+ appliedRevision: number | null;
1240
+ instanceVersion: number;
1241
+ clientId: string;
1242
+ remoteUuid: string | null;
1243
+ credentialState: string;
1244
+ publicClient: boolean;
1245
+ enabled: boolean;
1246
+ verified: boolean;
1247
+ locked: boolean;
1248
+ affectedApplications: {
1249
+ [x: string]: unknown;
1250
+ applicationId: number;
1251
+ code: string;
1252
+ name: string;
1253
+ referenceId: string;
1254
+ referenceVersion: number;
1255
+ targetVersion: number;
1256
+ }[];
1257
+ };
1258
+ steps: {
1259
+ [x: string]: unknown;
1260
+ kind: "CREDENTIAL_ROTATE";
1261
+ targetId: string;
1262
+ }[];
1263
+ };
1264
+ credentialOperation: Record<string, unknown>;
1265
+ } | null;
1266
+ }>;
1267
+ deliverCredential(scope: CredentialScope, action: "download" | "rotate", input: unknown, outputPath: string): Promise<{
1268
+ requestId: string;
1269
+ outputPath: string;
1270
+ }>;
1271
+ }