@adea-ai/contracts 1.12.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/control-api.d.ts +708 -6
- package/dist/control-api.d.ts.map +1 -1
- package/dist/control-api.js +366 -15
- package/dist/control-api.js.map +1 -1
- package/dist/graphs.d.ts +30 -6
- package/dist/graphs.d.ts.map +1 -1
- package/dist/graphs.js +39 -6
- package/dist/graphs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/workspace-catalog.d.ts +1243 -0
- package/dist/workspace-catalog.d.ts.map +1 -0
- package/dist/workspace-catalog.js +463 -0
- package/dist/workspace-catalog.js.map +1 -0
- package/package.json +1 -1
package/dist/control-api.d.ts
CHANGED
|
@@ -161,15 +161,23 @@ export declare const GraphDefinitionPublishRequestSchema: z.ZodObject<{
|
|
|
161
161
|
all: "all";
|
|
162
162
|
any: "any";
|
|
163
163
|
}>>;
|
|
164
|
-
operation: z.ZodObject<{
|
|
164
|
+
operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
165
165
|
kind: z.ZodEnum<{
|
|
166
166
|
delegation: "delegation";
|
|
167
167
|
model: "model";
|
|
168
168
|
runtime: "runtime";
|
|
169
|
-
tool: "tool";
|
|
170
169
|
}>;
|
|
171
170
|
name: z.ZodString;
|
|
172
|
-
}, z.core.$strict
|
|
171
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
172
|
+
kind: z.ZodLiteral<"tool">;
|
|
173
|
+
name: z.ZodString;
|
|
174
|
+
toolPin: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
toolDefinitionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"tool-definition ID">, string>>;
|
|
176
|
+
toolVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"tool-version ID">, string>>;
|
|
177
|
+
contentDigest: z.ZodString;
|
|
178
|
+
operation: z.ZodString;
|
|
179
|
+
}, z.core.$strict>>;
|
|
180
|
+
}, z.core.$strict>], "kind">;
|
|
173
181
|
}, z.core.$strict>>;
|
|
174
182
|
edges: z.ZodArray<z.ZodObject<{
|
|
175
183
|
from: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"__start__">]>;
|
|
@@ -312,15 +320,23 @@ export declare const GraphDefinitionResponseSchema: z.ZodObject<{
|
|
|
312
320
|
all: "all";
|
|
313
321
|
any: "any";
|
|
314
322
|
}>>;
|
|
315
|
-
operation: z.ZodObject<{
|
|
323
|
+
operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
316
324
|
kind: z.ZodEnum<{
|
|
317
325
|
delegation: "delegation";
|
|
318
326
|
model: "model";
|
|
319
327
|
runtime: "runtime";
|
|
320
|
-
tool: "tool";
|
|
321
328
|
}>;
|
|
322
329
|
name: z.ZodString;
|
|
323
|
-
}, z.core.$strict
|
|
330
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
331
|
+
kind: z.ZodLiteral<"tool">;
|
|
332
|
+
name: z.ZodString;
|
|
333
|
+
toolPin: z.ZodOptional<z.ZodObject<{
|
|
334
|
+
toolDefinitionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"tool-definition ID">, string>>;
|
|
335
|
+
toolVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"tool-version ID">, string>>;
|
|
336
|
+
contentDigest: z.ZodString;
|
|
337
|
+
operation: z.ZodString;
|
|
338
|
+
}, z.core.$strict>>;
|
|
339
|
+
}, z.core.$strict>], "kind">;
|
|
324
340
|
}, z.core.$strict>>;
|
|
325
341
|
edges: z.ZodArray<z.ZodObject<{
|
|
326
342
|
from: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"__start__">]>;
|
|
@@ -353,6 +369,224 @@ export type GraphDefinitionDeprecationRequest = z.input<typeof GraphDefinitionDe
|
|
|
353
369
|
export type GraphDefinitionRevocationRequest = z.input<typeof GraphDefinitionRevocationRequestSchema>;
|
|
354
370
|
export type GraphDefinitionResolutionRequest = z.input<typeof GraphDefinitionResolutionRequestSchema>;
|
|
355
371
|
export type GraphDefinitionResponse = z.output<typeof GraphDefinitionResponseSchema>;
|
|
372
|
+
/**
|
|
373
|
+
* Write-only secret value. It is accepted once per create or rotate command, is never echoed,
|
|
374
|
+
* persisted in plaintext, logged or returned, and rejects control characters so it cannot
|
|
375
|
+
* inject headers or log lines when a connector uses it.
|
|
376
|
+
*/
|
|
377
|
+
export declare const CredentialSecretValueSchema: z.ZodString;
|
|
378
|
+
/** Public connector-credential metadata. It never contains secret material or references. */
|
|
379
|
+
export declare const CredentialPublicMetadataSchema: z.ZodObject<{
|
|
380
|
+
credentialId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"credential ID">, string>>;
|
|
381
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
382
|
+
connectorRef: z.ZodString;
|
|
383
|
+
provider: z.ZodString;
|
|
384
|
+
status: z.ZodEnum<{
|
|
385
|
+
active: "active";
|
|
386
|
+
expired: "expired";
|
|
387
|
+
revoked: "revoked";
|
|
388
|
+
secret_required: "secret_required";
|
|
389
|
+
}>;
|
|
390
|
+
revision: z.ZodNumber;
|
|
391
|
+
createdAt: z.ZodISODateTime;
|
|
392
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
393
|
+
rotatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
394
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
395
|
+
revokedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
396
|
+
}, z.core.$strict>;
|
|
397
|
+
export type CredentialPublicMetadata = z.output<typeof CredentialPublicMetadataSchema>;
|
|
398
|
+
export declare const CredentialCreateRequestSchema: z.ZodObject<{
|
|
399
|
+
caller: z.ZodObject<{
|
|
400
|
+
servicePrincipalId: z.ZodString;
|
|
401
|
+
}, z.core.$strip>;
|
|
402
|
+
contractVersion: z.ZodObject<{
|
|
403
|
+
major: z.ZodNumber;
|
|
404
|
+
minor: z.ZodNumber;
|
|
405
|
+
}, z.core.$strict>;
|
|
406
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
407
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
408
|
+
correlation: z.ZodObject<{
|
|
409
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
410
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
411
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
412
|
+
}, z.core.$strip>;
|
|
413
|
+
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
414
|
+
idempotencyKey: z.ZodString;
|
|
415
|
+
payloadHash: z.ZodString;
|
|
416
|
+
operation: z.ZodLiteral<"credential.create">;
|
|
417
|
+
issuedAt: z.ZodISODateTime;
|
|
418
|
+
payload: z.ZodObject<{
|
|
419
|
+
connectorRef: z.ZodString;
|
|
420
|
+
provider: z.ZodString;
|
|
421
|
+
secret: z.ZodString;
|
|
422
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
423
|
+
}, z.core.$strict>;
|
|
424
|
+
}, z.core.$strict>;
|
|
425
|
+
export declare const CredentialRotateRequestSchema: z.ZodObject<{
|
|
426
|
+
caller: z.ZodObject<{
|
|
427
|
+
servicePrincipalId: z.ZodString;
|
|
428
|
+
}, z.core.$strip>;
|
|
429
|
+
contractVersion: z.ZodObject<{
|
|
430
|
+
major: z.ZodNumber;
|
|
431
|
+
minor: z.ZodNumber;
|
|
432
|
+
}, z.core.$strict>;
|
|
433
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
434
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
435
|
+
correlation: z.ZodObject<{
|
|
436
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
437
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
438
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
439
|
+
}, z.core.$strip>;
|
|
440
|
+
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
441
|
+
idempotencyKey: z.ZodString;
|
|
442
|
+
payloadHash: z.ZodString;
|
|
443
|
+
operation: z.ZodLiteral<"credential.rotate">;
|
|
444
|
+
issuedAt: z.ZodISODateTime;
|
|
445
|
+
payload: z.ZodObject<{
|
|
446
|
+
credentialId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"credential ID">, string>>;
|
|
447
|
+
expectedRevision: z.ZodNumber;
|
|
448
|
+
secret: z.ZodString;
|
|
449
|
+
}, z.core.$strict>;
|
|
450
|
+
}, z.core.$strict>;
|
|
451
|
+
export declare const CredentialRevokeRequestSchema: z.ZodObject<{
|
|
452
|
+
caller: z.ZodObject<{
|
|
453
|
+
servicePrincipalId: z.ZodString;
|
|
454
|
+
}, z.core.$strip>;
|
|
455
|
+
contractVersion: z.ZodObject<{
|
|
456
|
+
major: z.ZodNumber;
|
|
457
|
+
minor: z.ZodNumber;
|
|
458
|
+
}, z.core.$strict>;
|
|
459
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
460
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
461
|
+
correlation: z.ZodObject<{
|
|
462
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
463
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
464
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
465
|
+
}, z.core.$strip>;
|
|
466
|
+
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
467
|
+
idempotencyKey: z.ZodString;
|
|
468
|
+
payloadHash: z.ZodString;
|
|
469
|
+
operation: z.ZodLiteral<"credential.revoke">;
|
|
470
|
+
issuedAt: z.ZodISODateTime;
|
|
471
|
+
payload: z.ZodObject<{
|
|
472
|
+
credentialId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"credential ID">, string>>;
|
|
473
|
+
}, z.core.$strict>;
|
|
474
|
+
}, z.core.$strict>;
|
|
475
|
+
export declare const CredentialGetRequestSchema: z.ZodObject<{
|
|
476
|
+
caller: z.ZodObject<{
|
|
477
|
+
servicePrincipalId: z.ZodString;
|
|
478
|
+
}, z.core.$strip>;
|
|
479
|
+
contractVersion: z.ZodObject<{
|
|
480
|
+
major: z.ZodNumber;
|
|
481
|
+
minor: z.ZodNumber;
|
|
482
|
+
}, z.core.$strict>;
|
|
483
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
484
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
485
|
+
correlation: z.ZodObject<{
|
|
486
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
487
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
488
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
489
|
+
}, z.core.$strip>;
|
|
490
|
+
operation: z.ZodLiteral<"credential.get">;
|
|
491
|
+
requestedAt: z.ZodISODateTime;
|
|
492
|
+
parameters: z.ZodObject<{
|
|
493
|
+
credentialId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"credential ID">, string>>;
|
|
494
|
+
}, z.core.$strict>;
|
|
495
|
+
}, z.core.$strict>;
|
|
496
|
+
export declare const CredentialListRequestSchema: z.ZodObject<{
|
|
497
|
+
caller: z.ZodObject<{
|
|
498
|
+
servicePrincipalId: z.ZodString;
|
|
499
|
+
}, z.core.$strip>;
|
|
500
|
+
contractVersion: z.ZodObject<{
|
|
501
|
+
major: z.ZodNumber;
|
|
502
|
+
minor: z.ZodNumber;
|
|
503
|
+
}, z.core.$strict>;
|
|
504
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
505
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
506
|
+
correlation: z.ZodObject<{
|
|
507
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
508
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
509
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
510
|
+
}, z.core.$strip>;
|
|
511
|
+
operation: z.ZodLiteral<"credential.list">;
|
|
512
|
+
requestedAt: z.ZodISODateTime;
|
|
513
|
+
parameters: z.ZodObject<{
|
|
514
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
515
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
516
|
+
}, z.core.$strict>;
|
|
517
|
+
}, z.core.$strict>;
|
|
518
|
+
export declare const CredentialResponseSchema: z.ZodObject<{
|
|
519
|
+
contractVersion: z.ZodObject<{
|
|
520
|
+
major: z.ZodNumber;
|
|
521
|
+
minor: z.ZodNumber;
|
|
522
|
+
}, z.core.$strict>;
|
|
523
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
524
|
+
correlation: z.ZodObject<{
|
|
525
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
526
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
527
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
528
|
+
}, z.core.$strip>;
|
|
529
|
+
data: z.ZodObject<{
|
|
530
|
+
credential: z.ZodObject<{
|
|
531
|
+
credentialId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"credential ID">, string>>;
|
|
532
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
533
|
+
connectorRef: z.ZodString;
|
|
534
|
+
provider: z.ZodString;
|
|
535
|
+
status: z.ZodEnum<{
|
|
536
|
+
active: "active";
|
|
537
|
+
expired: "expired";
|
|
538
|
+
revoked: "revoked";
|
|
539
|
+
secret_required: "secret_required";
|
|
540
|
+
}>;
|
|
541
|
+
revision: z.ZodNumber;
|
|
542
|
+
createdAt: z.ZodISODateTime;
|
|
543
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
544
|
+
rotatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
545
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
546
|
+
revokedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
547
|
+
}, z.core.$strict>;
|
|
548
|
+
}, z.core.$strict>;
|
|
549
|
+
}, z.core.$strip>;
|
|
550
|
+
export declare const CredentialListResponseSchema: z.ZodObject<{
|
|
551
|
+
contractVersion: z.ZodObject<{
|
|
552
|
+
major: z.ZodNumber;
|
|
553
|
+
minor: z.ZodNumber;
|
|
554
|
+
}, z.core.$strict>;
|
|
555
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
556
|
+
correlation: z.ZodObject<{
|
|
557
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
558
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
559
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
560
|
+
}, z.core.$strip>;
|
|
561
|
+
data: z.ZodObject<{
|
|
562
|
+
credentials: z.ZodArray<z.ZodObject<{
|
|
563
|
+
credentialId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"credential ID">, string>>;
|
|
564
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
565
|
+
connectorRef: z.ZodString;
|
|
566
|
+
provider: z.ZodString;
|
|
567
|
+
status: z.ZodEnum<{
|
|
568
|
+
active: "active";
|
|
569
|
+
expired: "expired";
|
|
570
|
+
revoked: "revoked";
|
|
571
|
+
secret_required: "secret_required";
|
|
572
|
+
}>;
|
|
573
|
+
revision: z.ZodNumber;
|
|
574
|
+
createdAt: z.ZodISODateTime;
|
|
575
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
576
|
+
rotatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
577
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
578
|
+
revokedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
579
|
+
}, z.core.$strict>>;
|
|
580
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
581
|
+
}, z.core.$strict>;
|
|
582
|
+
}, z.core.$strip>;
|
|
583
|
+
export type CredentialCreateRequest = z.input<typeof CredentialCreateRequestSchema>;
|
|
584
|
+
export type CredentialRotateRequest = z.input<typeof CredentialRotateRequestSchema>;
|
|
585
|
+
export type CredentialRevokeRequest = z.input<typeof CredentialRevokeRequestSchema>;
|
|
586
|
+
export type CredentialGetRequest = z.input<typeof CredentialGetRequestSchema>;
|
|
587
|
+
export type CredentialListRequest = z.input<typeof CredentialListRequestSchema>;
|
|
588
|
+
export type CredentialResponse = z.output<typeof CredentialResponseSchema>;
|
|
589
|
+
export type CredentialListResponse = z.output<typeof CredentialListResponseSchema>;
|
|
356
590
|
export declare const ProjectStateResolutionRequestSchema: z.ZodObject<{
|
|
357
591
|
caller: z.ZodObject<{
|
|
358
592
|
servicePrincipalId: z.ZodString;
|
|
@@ -394,6 +628,55 @@ export declare const ProjectStateResolutionResponseSchema: z.ZodObject<{
|
|
|
394
628
|
}, z.core.$strip>;
|
|
395
629
|
}, z.core.$strip>;
|
|
396
630
|
}, z.core.$strip>;
|
|
631
|
+
/**
|
|
632
|
+
* Initialize an empty revision-zero ProjectState for the envelope's project. The
|
|
633
|
+
* project is required and must be granted to the credential. The payload is intentionally empty;
|
|
634
|
+
* the Control Plane owns the initial content and creation time.
|
|
635
|
+
*/
|
|
636
|
+
export declare const ProjectStateInitializationRequestSchema: z.ZodObject<{
|
|
637
|
+
caller: z.ZodObject<{
|
|
638
|
+
servicePrincipalId: z.ZodString;
|
|
639
|
+
}, z.core.$strip>;
|
|
640
|
+
contractVersion: z.ZodObject<{
|
|
641
|
+
major: z.ZodNumber;
|
|
642
|
+
minor: z.ZodNumber;
|
|
643
|
+
}, z.core.$strict>;
|
|
644
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
645
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
646
|
+
correlation: z.ZodObject<{
|
|
647
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
648
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
649
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
650
|
+
}, z.core.$strip>;
|
|
651
|
+
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
652
|
+
idempotencyKey: z.ZodString;
|
|
653
|
+
payloadHash: z.ZodString;
|
|
654
|
+
projectId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>;
|
|
655
|
+
operation: z.ZodLiteral<"project-state.initialize">;
|
|
656
|
+
issuedAt: z.ZodISODateTime;
|
|
657
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
658
|
+
}, z.core.$strip>;
|
|
659
|
+
export declare const ProjectStateInitializationResponseSchema: z.ZodObject<{
|
|
660
|
+
contractVersion: z.ZodObject<{
|
|
661
|
+
major: z.ZodNumber;
|
|
662
|
+
minor: z.ZodNumber;
|
|
663
|
+
}, z.core.$strict>;
|
|
664
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
665
|
+
correlation: z.ZodObject<{
|
|
666
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
667
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
668
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
669
|
+
}, z.core.$strip>;
|
|
670
|
+
data: z.ZodObject<{
|
|
671
|
+
projectState: z.ZodObject<{
|
|
672
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
673
|
+
projectId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>;
|
|
674
|
+
revision: z.ZodLiteral<0>;
|
|
675
|
+
}, z.core.$strip>;
|
|
676
|
+
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
677
|
+
initializedAt: z.ZodISODateTime;
|
|
678
|
+
}, z.core.$strip>;
|
|
679
|
+
}, z.core.$strip>;
|
|
397
680
|
export declare const ContextPackageResolutionRequestSchema: z.ZodObject<{
|
|
398
681
|
caller: z.ZodObject<{
|
|
399
682
|
servicePrincipalId: z.ZodString;
|
|
@@ -436,6 +719,14 @@ export declare const ContextPackageResolutionResponseSchema: z.ZodObject<{
|
|
|
436
719
|
}, z.core.$strip>;
|
|
437
720
|
}, z.core.$strip>;
|
|
438
721
|
}, z.core.$strip>;
|
|
722
|
+
export declare const MarketplaceInstallationLifecycleStateSchema: z.ZodEnum<{
|
|
723
|
+
installed: "installed";
|
|
724
|
+
"pending-authorization": "pending-authorization";
|
|
725
|
+
"rejected-by-policy": "rejected-by-policy";
|
|
726
|
+
superseded: "superseded";
|
|
727
|
+
unavailable: "unavailable";
|
|
728
|
+
uninstalled: "uninstalled";
|
|
729
|
+
}>;
|
|
439
730
|
export declare const MarketplaceCatalogRequestSchema: z.ZodObject<{
|
|
440
731
|
caller: z.ZodObject<{
|
|
441
732
|
servicePrincipalId: z.ZodString;
|
|
@@ -459,6 +750,7 @@ export declare const MarketplaceCatalogRequestSchema: z.ZodObject<{
|
|
|
459
750
|
workspaceId: z.ZodString;
|
|
460
751
|
userId: z.ZodString;
|
|
461
752
|
}, z.core.$strip>;
|
|
753
|
+
installedBy: z.ZodOptional<z.ZodString>;
|
|
462
754
|
}, z.core.$strip>;
|
|
463
755
|
}, z.core.$strip>;
|
|
464
756
|
export declare const MarketplaceCatalogResponseSchema: z.ZodObject<{
|
|
@@ -493,6 +785,7 @@ export declare const MarketplaceCatalogResponseSchema: z.ZodObject<{
|
|
|
493
785
|
pluginId: z.ZodString;
|
|
494
786
|
releaseId: z.ZodString;
|
|
495
787
|
canonicalContentDigest: z.ZodString;
|
|
788
|
+
installationId: z.ZodOptional<z.ZodString>;
|
|
496
789
|
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
497
790
|
packageDigest: z.ZodOptional<z.ZodString>;
|
|
498
791
|
state: z.ZodEnum<{
|
|
@@ -567,10 +860,169 @@ export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
|
567
860
|
}>;
|
|
568
861
|
}, z.core.$strict>;
|
|
569
862
|
}, z.core.$strip>;
|
|
863
|
+
export declare const MarketplaceInstallationSchema: z.ZodObject<{
|
|
864
|
+
pluginId: z.ZodString;
|
|
865
|
+
releaseId: z.ZodString;
|
|
866
|
+
canonicalContentDigest: z.ZodString;
|
|
867
|
+
installationId: z.ZodString;
|
|
868
|
+
catalogId: z.ZodString;
|
|
869
|
+
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
870
|
+
packageDigest: z.ZodOptional<z.ZodString>;
|
|
871
|
+
requestedHarness: z.ZodString;
|
|
872
|
+
state: z.ZodEnum<{
|
|
873
|
+
installed: "installed";
|
|
874
|
+
"pending-authorization": "pending-authorization";
|
|
875
|
+
"rejected-by-policy": "rejected-by-policy";
|
|
876
|
+
superseded: "superseded";
|
|
877
|
+
unavailable: "unavailable";
|
|
878
|
+
uninstalled: "uninstalled";
|
|
879
|
+
}>;
|
|
880
|
+
installedBy: z.ZodString;
|
|
881
|
+
installedAt: z.ZodISODateTime;
|
|
882
|
+
updatedAt: z.ZodISODateTime;
|
|
883
|
+
uninstalledBy: z.ZodOptional<z.ZodString>;
|
|
884
|
+
uninstalledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
885
|
+
}, z.core.$strip>;
|
|
886
|
+
export declare const MarketplaceInstallationGetRequestSchema: z.ZodObject<{
|
|
887
|
+
caller: z.ZodObject<{
|
|
888
|
+
servicePrincipalId: z.ZodString;
|
|
889
|
+
}, z.core.$strip>;
|
|
890
|
+
contractVersion: z.ZodObject<{
|
|
891
|
+
major: z.ZodNumber;
|
|
892
|
+
minor: z.ZodNumber;
|
|
893
|
+
}, z.core.$strict>;
|
|
894
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
895
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
896
|
+
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
897
|
+
correlation: z.ZodObject<{
|
|
898
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
899
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
900
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
901
|
+
}, z.core.$strip>;
|
|
902
|
+
operation: z.ZodLiteral<"marketplace.installation.get">;
|
|
903
|
+
requestedAt: z.ZodISODateTime;
|
|
904
|
+
parameters: z.ZodObject<{
|
|
905
|
+
installationId: z.ZodString;
|
|
906
|
+
workspaceIdentity: z.ZodObject<{
|
|
907
|
+
workspaceId: z.ZodString;
|
|
908
|
+
userId: z.ZodString;
|
|
909
|
+
}, z.core.$strip>;
|
|
910
|
+
}, z.core.$strip>;
|
|
911
|
+
}, z.core.$strip>;
|
|
912
|
+
export declare const MarketplaceInstallationGetResponseSchema: z.ZodObject<{
|
|
913
|
+
contractVersion: z.ZodObject<{
|
|
914
|
+
major: z.ZodNumber;
|
|
915
|
+
minor: z.ZodNumber;
|
|
916
|
+
}, z.core.$strict>;
|
|
917
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
918
|
+
correlation: z.ZodObject<{
|
|
919
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
920
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
921
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
922
|
+
}, z.core.$strip>;
|
|
923
|
+
data: z.ZodObject<{
|
|
924
|
+
installation: z.ZodObject<{
|
|
925
|
+
pluginId: z.ZodString;
|
|
926
|
+
releaseId: z.ZodString;
|
|
927
|
+
canonicalContentDigest: z.ZodString;
|
|
928
|
+
installationId: z.ZodString;
|
|
929
|
+
catalogId: z.ZodString;
|
|
930
|
+
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
931
|
+
packageDigest: z.ZodOptional<z.ZodString>;
|
|
932
|
+
requestedHarness: z.ZodString;
|
|
933
|
+
state: z.ZodEnum<{
|
|
934
|
+
installed: "installed";
|
|
935
|
+
"pending-authorization": "pending-authorization";
|
|
936
|
+
"rejected-by-policy": "rejected-by-policy";
|
|
937
|
+
superseded: "superseded";
|
|
938
|
+
unavailable: "unavailable";
|
|
939
|
+
uninstalled: "uninstalled";
|
|
940
|
+
}>;
|
|
941
|
+
installedBy: z.ZodString;
|
|
942
|
+
installedAt: z.ZodISODateTime;
|
|
943
|
+
updatedAt: z.ZodISODateTime;
|
|
944
|
+
uninstalledBy: z.ZodOptional<z.ZodString>;
|
|
945
|
+
uninstalledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
946
|
+
}, z.core.$strip>;
|
|
947
|
+
}, z.core.$strip>;
|
|
948
|
+
}, z.core.$strip>;
|
|
949
|
+
export declare const MarketplaceInstallationUninstallRequestSchema: z.ZodObject<{
|
|
950
|
+
caller: z.ZodObject<{
|
|
951
|
+
servicePrincipalId: z.ZodString;
|
|
952
|
+
}, z.core.$strip>;
|
|
953
|
+
contractVersion: z.ZodObject<{
|
|
954
|
+
major: z.ZodNumber;
|
|
955
|
+
minor: z.ZodNumber;
|
|
956
|
+
}, z.core.$strict>;
|
|
957
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
958
|
+
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
959
|
+
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
960
|
+
correlation: z.ZodObject<{
|
|
961
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
962
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
963
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
964
|
+
}, z.core.$strip>;
|
|
965
|
+
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
966
|
+
idempotencyKey: z.ZodString;
|
|
967
|
+
payloadHash: z.ZodString;
|
|
968
|
+
operation: z.ZodLiteral<"marketplace.installation.uninstall">;
|
|
969
|
+
issuedAt: z.ZodISODateTime;
|
|
970
|
+
payload: z.ZodObject<{
|
|
971
|
+
installationId: z.ZodString;
|
|
972
|
+
workspaceIdentity: z.ZodObject<{
|
|
973
|
+
workspaceId: z.ZodString;
|
|
974
|
+
userId: z.ZodString;
|
|
975
|
+
}, z.core.$strip>;
|
|
976
|
+
}, z.core.$strip>;
|
|
977
|
+
}, z.core.$strip>;
|
|
978
|
+
export declare const MarketplaceInstallationUninstallResponseSchema: z.ZodObject<{
|
|
979
|
+
contractVersion: z.ZodObject<{
|
|
980
|
+
major: z.ZodNumber;
|
|
981
|
+
minor: z.ZodNumber;
|
|
982
|
+
}, z.core.$strict>;
|
|
983
|
+
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
984
|
+
correlation: z.ZodObject<{
|
|
985
|
+
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
986
|
+
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
987
|
+
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
988
|
+
}, z.core.$strip>;
|
|
989
|
+
data: z.ZodObject<{
|
|
990
|
+
installation: z.ZodObject<{
|
|
991
|
+
pluginId: z.ZodString;
|
|
992
|
+
releaseId: z.ZodString;
|
|
993
|
+
canonicalContentDigest: z.ZodString;
|
|
994
|
+
installationId: z.ZodString;
|
|
995
|
+
catalogId: z.ZodString;
|
|
996
|
+
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
997
|
+
packageDigest: z.ZodOptional<z.ZodString>;
|
|
998
|
+
requestedHarness: z.ZodString;
|
|
999
|
+
state: z.ZodEnum<{
|
|
1000
|
+
installed: "installed";
|
|
1001
|
+
"pending-authorization": "pending-authorization";
|
|
1002
|
+
"rejected-by-policy": "rejected-by-policy";
|
|
1003
|
+
superseded: "superseded";
|
|
1004
|
+
unavailable: "unavailable";
|
|
1005
|
+
uninstalled: "uninstalled";
|
|
1006
|
+
}>;
|
|
1007
|
+
installedBy: z.ZodString;
|
|
1008
|
+
installedAt: z.ZodISODateTime;
|
|
1009
|
+
updatedAt: z.ZodISODateTime;
|
|
1010
|
+
uninstalledBy: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
uninstalledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1012
|
+
}, z.core.$strip>;
|
|
1013
|
+
replayed: z.ZodBoolean;
|
|
1014
|
+
}, z.core.$strip>;
|
|
1015
|
+
}, z.core.$strip>;
|
|
570
1016
|
export type MarketplaceCatalogRequest = z.input<typeof MarketplaceCatalogRequestSchema>;
|
|
571
1017
|
export type MarketplaceCatalogResponse = z.output<typeof MarketplaceCatalogResponseSchema>;
|
|
572
1018
|
export type MarketplaceInstallRequest = z.input<typeof MarketplaceInstallRequestSchema>;
|
|
573
1019
|
export type MarketplaceInstallResponse = z.output<typeof MarketplaceInstallResponseSchema>;
|
|
1020
|
+
export type MarketplaceInstallation = z.output<typeof MarketplaceInstallationSchema>;
|
|
1021
|
+
export type MarketplaceInstallationLifecycleState = z.output<typeof MarketplaceInstallationLifecycleStateSchema>;
|
|
1022
|
+
export type MarketplaceInstallationGetRequest = z.input<typeof MarketplaceInstallationGetRequestSchema>;
|
|
1023
|
+
export type MarketplaceInstallationGetResponse = z.output<typeof MarketplaceInstallationGetResponseSchema>;
|
|
1024
|
+
export type MarketplaceInstallationUninstallRequest = z.input<typeof MarketplaceInstallationUninstallRequestSchema>;
|
|
1025
|
+
export type MarketplaceInstallationUninstallResponse = z.output<typeof MarketplaceInstallationUninstallResponseSchema>;
|
|
574
1026
|
export declare const MarketplaceInstallPlanRequestSchema: z.ZodObject<{
|
|
575
1027
|
caller: z.ZodObject<{
|
|
576
1028
|
servicePrincipalId: z.ZodString;
|
|
@@ -1019,6 +1471,8 @@ export type ProfileResolutionRequest = z.input<typeof ProfileResolutionRequestSc
|
|
|
1019
1471
|
export type ProfileResolutionResponse = z.output<typeof ProfileResolutionResponseSchema>;
|
|
1020
1472
|
export type ProjectStateResolutionRequest = z.input<typeof ProjectStateResolutionRequestSchema>;
|
|
1021
1473
|
export type ProjectStateResolutionResponse = z.output<typeof ProjectStateResolutionResponseSchema>;
|
|
1474
|
+
export type ProjectStateInitializationRequest = z.input<typeof ProjectStateInitializationRequestSchema>;
|
|
1475
|
+
export type ProjectStateInitializationResponse = z.output<typeof ProjectStateInitializationResponseSchema>;
|
|
1022
1476
|
export type ContextPackageResolutionRequest = z.input<typeof ContextPackageResolutionRequestSchema>;
|
|
1023
1477
|
export type ContextPackageResolutionResponse = z.output<typeof ContextPackageResolutionResponseSchema>;
|
|
1024
1478
|
export type RuntimeListRequest = z.input<typeof RuntimeListRequestSchema>;
|
|
@@ -1050,6 +1504,10 @@ export interface ControlApiFixtureSet {
|
|
|
1050
1504
|
readonly request: ProjectStateResolutionRequest;
|
|
1051
1505
|
readonly response: z.input<typeof ProjectStateResolutionResponseSchema>;
|
|
1052
1506
|
};
|
|
1507
|
+
readonly projectStateInitialization: {
|
|
1508
|
+
readonly request: ProjectStateInitializationRequest;
|
|
1509
|
+
readonly response: z.input<typeof ProjectStateInitializationResponseSchema>;
|
|
1510
|
+
};
|
|
1053
1511
|
readonly contextPackageResolution: {
|
|
1054
1512
|
readonly request: ContextPackageResolutionRequest;
|
|
1055
1513
|
readonly response: z.input<typeof ContextPackageResolutionResponseSchema>;
|
|
@@ -1066,6 +1524,250 @@ export interface ControlApiFixtureSet {
|
|
|
1066
1524
|
readonly request: ExecutionAcceptanceRequest;
|
|
1067
1525
|
readonly response: z.input<typeof ExecutionAcceptanceResponseSchema>;
|
|
1068
1526
|
};
|
|
1527
|
+
readonly marketplaceInstallationGet: {
|
|
1528
|
+
readonly request: MarketplaceInstallationGetRequest;
|
|
1529
|
+
readonly response: z.input<typeof MarketplaceInstallationGetResponseSchema>;
|
|
1530
|
+
};
|
|
1531
|
+
readonly marketplaceInstallationUninstall: {
|
|
1532
|
+
readonly request: MarketplaceInstallationUninstallRequest;
|
|
1533
|
+
readonly response: z.input<typeof MarketplaceInstallationUninstallResponseSchema>;
|
|
1534
|
+
};
|
|
1069
1535
|
}
|
|
1070
1536
|
export declare const ControlApiFixtures: ControlApiFixtureSet;
|
|
1537
|
+
/**
|
|
1538
|
+
* Deterministic credential API fixtures. The secret values are inert placeholders that tests use
|
|
1539
|
+
* as canaries; they are not real credentials.
|
|
1540
|
+
*/
|
|
1541
|
+
export declare const CredentialApiFixtures: Readonly<{
|
|
1542
|
+
create: {
|
|
1543
|
+
request: {
|
|
1544
|
+
caller: {
|
|
1545
|
+
servicePrincipalId: string;
|
|
1546
|
+
};
|
|
1547
|
+
contractVersion: {
|
|
1548
|
+
readonly major: 3;
|
|
1549
|
+
readonly minor: 0;
|
|
1550
|
+
};
|
|
1551
|
+
requestId: string;
|
|
1552
|
+
workspaceId: string;
|
|
1553
|
+
correlation: {
|
|
1554
|
+
traceId: string;
|
|
1555
|
+
};
|
|
1556
|
+
commandId: string;
|
|
1557
|
+
payloadHash: string;
|
|
1558
|
+
issuedAt: string;
|
|
1559
|
+
idempotencyKey: string;
|
|
1560
|
+
operation: "credential.create";
|
|
1561
|
+
payload: {
|
|
1562
|
+
connectorRef: string;
|
|
1563
|
+
provider: string;
|
|
1564
|
+
secret: string;
|
|
1565
|
+
};
|
|
1566
|
+
};
|
|
1567
|
+
response: {
|
|
1568
|
+
contractVersion: {
|
|
1569
|
+
readonly major: 3;
|
|
1570
|
+
readonly minor: 0;
|
|
1571
|
+
};
|
|
1572
|
+
requestId: string;
|
|
1573
|
+
correlation: {
|
|
1574
|
+
traceId: string;
|
|
1575
|
+
};
|
|
1576
|
+
data: {
|
|
1577
|
+
credential: {
|
|
1578
|
+
readonly credentialId: 'crd_01JABCDEF0123456789ABCDEFG';
|
|
1579
|
+
readonly workspaceId: "wsp_01JABCDEF0123456789ABCDEFG";
|
|
1580
|
+
readonly connectorRef: 'connector:github';
|
|
1581
|
+
readonly provider: 'github';
|
|
1582
|
+
readonly status: 'active';
|
|
1583
|
+
readonly revision: 1;
|
|
1584
|
+
readonly createdAt: '2026-10-06T12:00:00.000Z';
|
|
1585
|
+
readonly createdBy: 'svc_agent-hq';
|
|
1586
|
+
};
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1590
|
+
rotate: {
|
|
1591
|
+
request: {
|
|
1592
|
+
caller: {
|
|
1593
|
+
servicePrincipalId: string;
|
|
1594
|
+
};
|
|
1595
|
+
contractVersion: {
|
|
1596
|
+
readonly major: 3;
|
|
1597
|
+
readonly minor: 0;
|
|
1598
|
+
};
|
|
1599
|
+
requestId: string;
|
|
1600
|
+
workspaceId: string;
|
|
1601
|
+
correlation: {
|
|
1602
|
+
traceId: string;
|
|
1603
|
+
};
|
|
1604
|
+
commandId: string;
|
|
1605
|
+
payloadHash: string;
|
|
1606
|
+
issuedAt: string;
|
|
1607
|
+
idempotencyKey: string;
|
|
1608
|
+
operation: "credential.rotate";
|
|
1609
|
+
payload: {
|
|
1610
|
+
credentialId: "crd_01JABCDEF0123456789ABCDEFG";
|
|
1611
|
+
expectedRevision: number;
|
|
1612
|
+
secret: string;
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
response: {
|
|
1616
|
+
contractVersion: {
|
|
1617
|
+
readonly major: 3;
|
|
1618
|
+
readonly minor: 0;
|
|
1619
|
+
};
|
|
1620
|
+
requestId: string;
|
|
1621
|
+
correlation: {
|
|
1622
|
+
traceId: string;
|
|
1623
|
+
};
|
|
1624
|
+
data: {
|
|
1625
|
+
credential: {
|
|
1626
|
+
credentialId: 'crd_01JABCDEF0123456789ABCDEFG';
|
|
1627
|
+
workspaceId: "wsp_01JABCDEF0123456789ABCDEFG";
|
|
1628
|
+
connectorRef: 'connector:github';
|
|
1629
|
+
provider: 'github';
|
|
1630
|
+
status: 'active';
|
|
1631
|
+
createdAt: '2026-10-06T12:00:00.000Z';
|
|
1632
|
+
createdBy: 'svc_agent-hq';
|
|
1633
|
+
revision: number;
|
|
1634
|
+
rotatedAt: string;
|
|
1635
|
+
};
|
|
1636
|
+
};
|
|
1637
|
+
};
|
|
1638
|
+
};
|
|
1639
|
+
revoke: {
|
|
1640
|
+
request: {
|
|
1641
|
+
caller: {
|
|
1642
|
+
servicePrincipalId: string;
|
|
1643
|
+
};
|
|
1644
|
+
contractVersion: {
|
|
1645
|
+
readonly major: 3;
|
|
1646
|
+
readonly minor: 0;
|
|
1647
|
+
};
|
|
1648
|
+
requestId: string;
|
|
1649
|
+
workspaceId: string;
|
|
1650
|
+
correlation: {
|
|
1651
|
+
traceId: string;
|
|
1652
|
+
};
|
|
1653
|
+
commandId: string;
|
|
1654
|
+
payloadHash: string;
|
|
1655
|
+
issuedAt: string;
|
|
1656
|
+
idempotencyKey: string;
|
|
1657
|
+
operation: "credential.revoke";
|
|
1658
|
+
payload: {
|
|
1659
|
+
credentialId: "crd_01JABCDEF0123456789ABCDEFG";
|
|
1660
|
+
};
|
|
1661
|
+
};
|
|
1662
|
+
response: {
|
|
1663
|
+
contractVersion: {
|
|
1664
|
+
readonly major: 3;
|
|
1665
|
+
readonly minor: 0;
|
|
1666
|
+
};
|
|
1667
|
+
requestId: string;
|
|
1668
|
+
correlation: {
|
|
1669
|
+
traceId: string;
|
|
1670
|
+
};
|
|
1671
|
+
data: {
|
|
1672
|
+
credential: {
|
|
1673
|
+
credentialId: 'crd_01JABCDEF0123456789ABCDEFG';
|
|
1674
|
+
workspaceId: "wsp_01JABCDEF0123456789ABCDEFG";
|
|
1675
|
+
connectorRef: 'connector:github';
|
|
1676
|
+
provider: 'github';
|
|
1677
|
+
revision: 1;
|
|
1678
|
+
createdAt: '2026-10-06T12:00:00.000Z';
|
|
1679
|
+
createdBy: 'svc_agent-hq';
|
|
1680
|
+
status: "revoked";
|
|
1681
|
+
revokedAt: string;
|
|
1682
|
+
};
|
|
1683
|
+
};
|
|
1684
|
+
};
|
|
1685
|
+
};
|
|
1686
|
+
get: {
|
|
1687
|
+
request: {
|
|
1688
|
+
caller: {
|
|
1689
|
+
servicePrincipalId: string;
|
|
1690
|
+
};
|
|
1691
|
+
contractVersion: {
|
|
1692
|
+
readonly major: 3;
|
|
1693
|
+
readonly minor: 0;
|
|
1694
|
+
};
|
|
1695
|
+
requestId: string;
|
|
1696
|
+
workspaceId: string;
|
|
1697
|
+
correlation: {
|
|
1698
|
+
traceId: string;
|
|
1699
|
+
};
|
|
1700
|
+
requestedAt: string;
|
|
1701
|
+
operation: "credential.get";
|
|
1702
|
+
parameters: {
|
|
1703
|
+
credentialId: "crd_01JABCDEF0123456789ABCDEFG";
|
|
1704
|
+
};
|
|
1705
|
+
};
|
|
1706
|
+
response: {
|
|
1707
|
+
contractVersion: {
|
|
1708
|
+
readonly major: 3;
|
|
1709
|
+
readonly minor: 0;
|
|
1710
|
+
};
|
|
1711
|
+
requestId: string;
|
|
1712
|
+
correlation: {
|
|
1713
|
+
traceId: string;
|
|
1714
|
+
};
|
|
1715
|
+
data: {
|
|
1716
|
+
credential: {
|
|
1717
|
+
readonly credentialId: 'crd_01JABCDEF0123456789ABCDEFG';
|
|
1718
|
+
readonly workspaceId: "wsp_01JABCDEF0123456789ABCDEFG";
|
|
1719
|
+
readonly connectorRef: 'connector:github';
|
|
1720
|
+
readonly provider: 'github';
|
|
1721
|
+
readonly status: 'active';
|
|
1722
|
+
readonly revision: 1;
|
|
1723
|
+
readonly createdAt: '2026-10-06T12:00:00.000Z';
|
|
1724
|
+
readonly createdBy: 'svc_agent-hq';
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
};
|
|
1729
|
+
list: {
|
|
1730
|
+
request: {
|
|
1731
|
+
caller: {
|
|
1732
|
+
servicePrincipalId: string;
|
|
1733
|
+
};
|
|
1734
|
+
contractVersion: {
|
|
1735
|
+
readonly major: 3;
|
|
1736
|
+
readonly minor: 0;
|
|
1737
|
+
};
|
|
1738
|
+
requestId: string;
|
|
1739
|
+
workspaceId: string;
|
|
1740
|
+
correlation: {
|
|
1741
|
+
traceId: string;
|
|
1742
|
+
};
|
|
1743
|
+
requestedAt: string;
|
|
1744
|
+
operation: "credential.list";
|
|
1745
|
+
parameters: {
|
|
1746
|
+
limit: number;
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
response: {
|
|
1750
|
+
contractVersion: {
|
|
1751
|
+
readonly major: 3;
|
|
1752
|
+
readonly minor: 0;
|
|
1753
|
+
};
|
|
1754
|
+
requestId: string;
|
|
1755
|
+
correlation: {
|
|
1756
|
+
traceId: string;
|
|
1757
|
+
};
|
|
1758
|
+
data: {
|
|
1759
|
+
credentials: {
|
|
1760
|
+
readonly credentialId: 'crd_01JABCDEF0123456789ABCDEFG';
|
|
1761
|
+
readonly workspaceId: "wsp_01JABCDEF0123456789ABCDEFG";
|
|
1762
|
+
readonly connectorRef: 'connector:github';
|
|
1763
|
+
readonly provider: 'github';
|
|
1764
|
+
readonly status: 'active';
|
|
1765
|
+
readonly revision: 1;
|
|
1766
|
+
readonly createdAt: '2026-10-06T12:00:00.000Z';
|
|
1767
|
+
readonly createdBy: 'svc_agent-hq';
|
|
1768
|
+
}[];
|
|
1769
|
+
};
|
|
1770
|
+
};
|
|
1771
|
+
};
|
|
1772
|
+
}>;
|
|
1071
1773
|
//# sourceMappingURL=control-api.d.ts.map
|