@adea-ai/contracts 1.23.0 → 1.23.2
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/README.md +14 -0
- package/dist/authentication.d.ts +0 -1
- package/dist/authentication.js +0 -1
- package/dist/canonical-json.d.ts +0 -1
- package/dist/canonical-json.js +0 -1
- package/dist/context-providers.d.ts +0 -1
- package/dist/context-providers.js +0 -1
- package/dist/control-api.d.ts +410 -888
- package/dist/control-api.js +0 -1
- package/dist/decision-resolution.d.ts +0 -1
- package/dist/decision-resolution.js +0 -1
- package/dist/envelopes.d.ts +0 -1
- package/dist/envelopes.js +0 -1
- package/dist/execution-scope.d.ts +0 -1
- package/dist/execution-scope.js +0 -1
- package/dist/fixtures.d.ts +0 -1
- package/dist/fixtures.js +0 -1
- package/dist/graphs.d.ts +0 -1
- package/dist/graphs.js +0 -1
- package/dist/identifiers.d.ts +0 -1
- package/dist/identifiers.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/memory-writeback.d.ts +0 -1
- package/dist/memory-writeback.js +0 -1
- package/dist/model-connections.d.ts +0 -1
- package/dist/model-connections.js +0 -1
- package/dist/model-funding.d.ts +0 -1
- package/dist/model-funding.js +0 -1
- package/dist/pagination.d.ts +0 -1
- package/dist/pagination.js +0 -1
- package/dist/pi-child-publication.d.ts +0 -1
- package/dist/pi-child-publication.js +0 -1
- package/dist/pi-lead-publication.d.ts +0 -1
- package/dist/pi-lead-publication.js +0 -1
- package/dist/runtime-discovery.d.ts +136 -480
- package/dist/runtime-discovery.js +0 -1
- package/dist/versioning.d.ts +0 -1
- package/dist/versioning.js +0 -1
- package/dist/workspace-catalog.d.ts +250 -728
- package/dist/workspace-catalog.js +18 -4
- package/package.json +2 -2
- package/dist/authentication.d.ts.map +0 -1
- package/dist/authentication.js.map +0 -1
- package/dist/canonical-json.d.ts.map +0 -1
- package/dist/canonical-json.js.map +0 -1
- package/dist/context-providers.d.ts.map +0 -1
- package/dist/context-providers.js.map +0 -1
- package/dist/control-api.d.ts.map +0 -1
- package/dist/control-api.js.map +0 -1
- package/dist/decision-resolution.d.ts.map +0 -1
- package/dist/decision-resolution.js.map +0 -1
- package/dist/envelopes.d.ts.map +0 -1
- package/dist/envelopes.js.map +0 -1
- package/dist/execution-scope.d.ts.map +0 -1
- package/dist/execution-scope.js.map +0 -1
- package/dist/fixtures.d.ts.map +0 -1
- package/dist/fixtures.js.map +0 -1
- package/dist/graphs.d.ts.map +0 -1
- package/dist/graphs.js.map +0 -1
- package/dist/identifiers.d.ts.map +0 -1
- package/dist/identifiers.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/memory-writeback.d.ts.map +0 -1
- package/dist/memory-writeback.js.map +0 -1
- package/dist/model-connections.d.ts.map +0 -1
- package/dist/model-connections.js.map +0 -1
- package/dist/model-funding.d.ts.map +0 -1
- package/dist/model-funding.js.map +0 -1
- package/dist/pagination.d.ts.map +0 -1
- package/dist/pagination.js.map +0 -1
- package/dist/pi-child-publication.d.ts.map +0 -1
- package/dist/pi-child-publication.js.map +0 -1
- package/dist/pi-lead-publication.d.ts.map +0 -1
- package/dist/pi-lead-publication.js.map +0 -1
- package/dist/runtime-discovery.d.ts.map +0 -1
- package/dist/runtime-discovery.js.map +0 -1
- package/dist/versioning.d.ts.map +0 -1
- package/dist/versioning.js.map +0 -1
- package/dist/workspace-catalog.d.ts.map +0 -1
- package/dist/workspace-catalog.js.map +0 -1
package/dist/control-api.d.ts
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { GraphReferenceSchema } from './graphs.js';
|
|
3
|
+
import { ServiceCallerAssertionSchema } from './authentication.js';
|
|
4
|
+
import { CorrelationMetadataSchema } from './envelopes.js';
|
|
5
|
+
import { IdentifierSchemas } from './identifiers.js';
|
|
6
|
+
import { ContractVersionSchema } from './versioning.js';
|
|
7
|
+
declare const TimestampSchema: z.ZodISODateTime;
|
|
8
|
+
declare const DigestSchema: z.ZodString;
|
|
9
|
+
declare const IdempotencyKeySchema: z.ZodString;
|
|
10
|
+
declare const PayloadHashSchema: z.ZodString;
|
|
2
11
|
export declare const ProjectStateReferenceSchema: z.ZodObject<{
|
|
3
|
-
workspaceId:
|
|
4
|
-
projectId:
|
|
12
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
13
|
+
projectId: typeof IdentifierSchemas.projectId;
|
|
5
14
|
revision: z.ZodNumber;
|
|
6
15
|
}, z.core.$strip>;
|
|
7
16
|
export type ProjectStateReference = z.output<typeof ProjectStateReferenceSchema>;
|
|
8
17
|
export declare const ContextPackagePublicReferenceSchema: z.ZodObject<{
|
|
9
|
-
contextPackageId:
|
|
10
|
-
contentDigest:
|
|
18
|
+
contextPackageId: typeof IdentifierSchemas.contextPackageId;
|
|
19
|
+
contentDigest: typeof DigestSchema;
|
|
11
20
|
schemaVersion: z.ZodNumber;
|
|
12
21
|
compilerVersion: z.ZodString;
|
|
13
22
|
}, z.core.$strip>;
|
|
@@ -16,7 +25,7 @@ export type ContextPackagePublicReference = z.output<typeof ContextPackagePublic
|
|
|
16
25
|
export declare const ContextAuthoringInputsSchema: z.ZodObject<{
|
|
17
26
|
objective: z.ZodString;
|
|
18
27
|
candidates: z.ZodArray<z.ZodObject<{
|
|
19
|
-
itemId:
|
|
28
|
+
itemId: typeof IdentifierSchemas.projectStateItemId;
|
|
20
29
|
itemRevision: z.ZodNumber;
|
|
21
30
|
required: z.ZodBoolean;
|
|
22
31
|
priority: z.ZodNumber;
|
|
@@ -34,44 +43,28 @@ export type ContextAuthoringInputs = z.output<typeof ContextAuthoringInputsSchem
|
|
|
34
43
|
export declare const PolicySnapshotPublicReferenceSchema: z.ZodObject<{
|
|
35
44
|
policySnapshotId: z.ZodString;
|
|
36
45
|
revision: z.ZodNumber;
|
|
37
|
-
contentDigest:
|
|
46
|
+
contentDigest: typeof DigestSchema;
|
|
38
47
|
}, z.core.$strip>;
|
|
39
48
|
export type PolicySnapshotPublicReference = z.output<typeof PolicySnapshotPublicReferenceSchema>;
|
|
40
49
|
export declare const ExecutionPlanPublicReferenceSchema: z.ZodObject<{
|
|
41
|
-
executionPlanId:
|
|
42
|
-
contentDigest:
|
|
50
|
+
executionPlanId: typeof IdentifierSchemas.executionPlanId;
|
|
51
|
+
contentDigest: typeof DigestSchema;
|
|
43
52
|
}, z.core.$strip>;
|
|
44
53
|
export type ExecutionPlanPublicReference = z.output<typeof ExecutionPlanPublicReferenceSchema>;
|
|
45
54
|
export declare const ServiceAuthenticationRequestSchema: z.ZodObject<{
|
|
46
|
-
caller:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
major: z.ZodNumber;
|
|
51
|
-
minor: z.ZodNumber;
|
|
52
|
-
}, z.core.$strict>;
|
|
53
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
54
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
55
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
56
|
+
contractVersion: typeof ContractVersionSchema;
|
|
57
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
58
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
55
59
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
56
|
-
correlation:
|
|
57
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
58
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
59
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
60
|
-
}, z.core.$strip>;
|
|
60
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
61
61
|
operation: z.ZodLiteral<"authentication.verify">;
|
|
62
|
-
requestedAt:
|
|
62
|
+
requestedAt: typeof TimestampSchema;
|
|
63
63
|
}, z.core.$strip>;
|
|
64
64
|
export declare const ServiceAuthenticationResponseSchema: z.ZodObject<{
|
|
65
|
-
contractVersion:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}, z.core.$strict>;
|
|
69
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
70
|
-
correlation: z.ZodObject<{
|
|
71
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
72
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
73
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
74
|
-
}, z.core.$strip>;
|
|
65
|
+
contractVersion: typeof ContractVersionSchema;
|
|
66
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
67
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
75
68
|
data: z.ZodObject<{
|
|
76
69
|
authenticated: z.ZodLiteral<true>;
|
|
77
70
|
principal: z.ZodObject<{
|
|
@@ -84,72 +77,52 @@ export declare const ServiceAuthenticationResponseSchema: z.ZodObject<{
|
|
|
84
77
|
}, z.core.$strip>;
|
|
85
78
|
}, z.core.$strip>;
|
|
86
79
|
export declare const ProfileResolutionRequestSchema: z.ZodObject<{
|
|
87
|
-
caller:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
major: z.ZodNumber;
|
|
92
|
-
minor: z.ZodNumber;
|
|
93
|
-
}, z.core.$strict>;
|
|
94
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
95
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
80
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
81
|
+
contractVersion: typeof ContractVersionSchema;
|
|
82
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
83
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
96
84
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
97
|
-
correlation:
|
|
98
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
99
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
100
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
101
|
-
}, z.core.$strip>;
|
|
85
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
102
86
|
operation: z.ZodLiteral<"profile.resolve">;
|
|
103
|
-
requestedAt:
|
|
87
|
+
requestedAt: typeof TimestampSchema;
|
|
104
88
|
parameters: z.ZodObject<{
|
|
105
|
-
profileId:
|
|
89
|
+
profileId: typeof IdentifierSchemas.profileId;
|
|
106
90
|
profileVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>>;
|
|
107
91
|
}, z.core.$strip>;
|
|
108
92
|
}, z.core.$strip>;
|
|
109
93
|
export declare const ProfileResolutionResponseSchema: z.ZodObject<{
|
|
110
|
-
contractVersion:
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}, z.core.$strict>;
|
|
114
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
115
|
-
correlation: z.ZodObject<{
|
|
116
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
117
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
118
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
119
|
-
}, z.core.$strip>;
|
|
94
|
+
contractVersion: typeof ContractVersionSchema;
|
|
95
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
96
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
120
97
|
data: z.ZodObject<{
|
|
121
98
|
profile: z.ZodObject<{
|
|
122
|
-
profileId:
|
|
123
|
-
profileVersionId:
|
|
99
|
+
profileId: typeof IdentifierSchemas.profileId;
|
|
100
|
+
profileVersionId: typeof IdentifierSchemas.profileVersionId;
|
|
124
101
|
version: z.ZodNumber;
|
|
125
102
|
revision: z.ZodNumber;
|
|
126
103
|
schemaVersion: z.ZodNumber;
|
|
127
|
-
contentDigest:
|
|
104
|
+
contentDigest: typeof DigestSchema;
|
|
128
105
|
lifecycle: z.ZodLiteral<"published">;
|
|
129
106
|
}, z.core.$strip>;
|
|
130
107
|
skillVersionIds: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
|
|
131
108
|
}, z.core.$strip>;
|
|
132
109
|
}, z.core.$strip>;
|
|
110
|
+
declare const GraphLifecyclePayloadSchema: z.ZodObject<{
|
|
111
|
+
reference: typeof GraphReferenceSchema;
|
|
112
|
+
expectedRevision: z.ZodNumber;
|
|
113
|
+
reason: z.ZodString;
|
|
114
|
+
}, z.core.$strict>;
|
|
133
115
|
export declare const GraphDefinitionPublishRequestSchema: z.ZodObject<{
|
|
134
|
-
caller:
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
143
|
-
correlation: z.ZodObject<{
|
|
144
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
145
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
146
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
147
|
-
}, z.core.$strip>;
|
|
148
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
149
|
-
idempotencyKey: z.ZodString;
|
|
150
|
-
payloadHash: z.ZodString;
|
|
116
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
117
|
+
contractVersion: typeof ContractVersionSchema;
|
|
118
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
119
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
120
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
121
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
122
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
123
|
+
payloadHash: typeof PayloadHashSchema;
|
|
151
124
|
operation: z.ZodLiteral<"graph.publish">;
|
|
152
|
-
issuedAt:
|
|
125
|
+
issuedAt: typeof TimestampSchema;
|
|
153
126
|
payload: z.ZodObject<{
|
|
154
127
|
definition: z.ZodObject<{
|
|
155
128
|
graphDefinitionId: z.ZodString;
|
|
@@ -202,82 +175,39 @@ export declare const GraphDefinitionPublishRequestSchema: z.ZodObject<{
|
|
|
202
175
|
}, z.core.$strict>;
|
|
203
176
|
}, z.core.$strict>;
|
|
204
177
|
export declare const GraphDefinitionDeprecationRequestSchema: z.ZodObject<{
|
|
205
|
-
caller:
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
214
|
-
correlation: z.ZodObject<{
|
|
215
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
216
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
217
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
218
|
-
}, z.core.$strip>;
|
|
219
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
220
|
-
idempotencyKey: z.ZodString;
|
|
221
|
-
payloadHash: z.ZodString;
|
|
178
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
179
|
+
contractVersion: typeof ContractVersionSchema;
|
|
180
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
181
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
182
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
183
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
184
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
185
|
+
payloadHash: typeof PayloadHashSchema;
|
|
222
186
|
operation: z.ZodLiteral<"graph.deprecate">;
|
|
223
|
-
issuedAt:
|
|
224
|
-
payload:
|
|
225
|
-
reference: z.ZodObject<{
|
|
226
|
-
graphDefinitionId: z.ZodString;
|
|
227
|
-
graphVersion: z.ZodString;
|
|
228
|
-
contentDigest: z.ZodString;
|
|
229
|
-
}, z.core.$strict>;
|
|
230
|
-
expectedRevision: z.ZodNumber;
|
|
231
|
-
reason: z.ZodString;
|
|
232
|
-
}, z.core.$strict>;
|
|
187
|
+
issuedAt: typeof TimestampSchema;
|
|
188
|
+
payload: typeof GraphLifecyclePayloadSchema;
|
|
233
189
|
}, z.core.$strict>;
|
|
234
190
|
export declare const GraphDefinitionRevocationRequestSchema: z.ZodObject<{
|
|
235
|
-
caller:
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
244
|
-
correlation: z.ZodObject<{
|
|
245
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
246
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
247
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
248
|
-
}, z.core.$strip>;
|
|
249
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
250
|
-
idempotencyKey: z.ZodString;
|
|
251
|
-
payloadHash: z.ZodString;
|
|
191
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
192
|
+
contractVersion: typeof ContractVersionSchema;
|
|
193
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
194
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
195
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
196
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
197
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
198
|
+
payloadHash: typeof PayloadHashSchema;
|
|
252
199
|
operation: z.ZodLiteral<"graph.revoke">;
|
|
253
|
-
issuedAt:
|
|
254
|
-
payload:
|
|
255
|
-
reference: z.ZodObject<{
|
|
256
|
-
graphDefinitionId: z.ZodString;
|
|
257
|
-
graphVersion: z.ZodString;
|
|
258
|
-
contentDigest: z.ZodString;
|
|
259
|
-
}, z.core.$strict>;
|
|
260
|
-
expectedRevision: z.ZodNumber;
|
|
261
|
-
reason: z.ZodString;
|
|
262
|
-
}, z.core.$strict>;
|
|
200
|
+
issuedAt: typeof TimestampSchema;
|
|
201
|
+
payload: typeof GraphLifecyclePayloadSchema;
|
|
263
202
|
}, z.core.$strict>;
|
|
264
203
|
export declare const GraphDefinitionResolutionRequestSchema: z.ZodObject<{
|
|
265
|
-
caller:
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
minor: z.ZodNumber;
|
|
271
|
-
}, z.core.$strict>;
|
|
272
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
273
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
274
|
-
correlation: z.ZodObject<{
|
|
275
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
276
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
277
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
278
|
-
}, z.core.$strip>;
|
|
204
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
205
|
+
contractVersion: typeof ContractVersionSchema;
|
|
206
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
207
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
208
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
279
209
|
operation: z.ZodLiteral<"graph.resolve">;
|
|
280
|
-
requestedAt:
|
|
210
|
+
requestedAt: typeof TimestampSchema;
|
|
281
211
|
parameters: z.ZodObject<{
|
|
282
212
|
reference: z.ZodObject<{
|
|
283
213
|
graphDefinitionId: z.ZodString;
|
|
@@ -287,16 +217,9 @@ export declare const GraphDefinitionResolutionRequestSchema: z.ZodObject<{
|
|
|
287
217
|
}, z.core.$strict>;
|
|
288
218
|
}, z.core.$strict>;
|
|
289
219
|
export declare const GraphDefinitionResponseSchema: z.ZodObject<{
|
|
290
|
-
contractVersion:
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
}, z.core.$strict>;
|
|
294
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
295
|
-
correlation: z.ZodObject<{
|
|
296
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
297
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
298
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
299
|
-
}, z.core.$strip>;
|
|
220
|
+
contractVersion: typeof ContractVersionSchema;
|
|
221
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
222
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
300
223
|
data: z.ZodObject<{
|
|
301
224
|
definition: z.ZodObject<{
|
|
302
225
|
reference: z.ZodObject<{
|
|
@@ -370,6 +293,7 @@ export type GraphDefinitionDeprecationRequest = z.input<typeof GraphDefinitionDe
|
|
|
370
293
|
export type GraphDefinitionRevocationRequest = z.input<typeof GraphDefinitionRevocationRequestSchema>;
|
|
371
294
|
export type GraphDefinitionResolutionRequest = z.input<typeof GraphDefinitionResolutionRequestSchema>;
|
|
372
295
|
export type GraphDefinitionResponse = z.output<typeof GraphDefinitionResponseSchema>;
|
|
296
|
+
declare const CredentialReferenceSchema: z.ZodString;
|
|
373
297
|
/**
|
|
374
298
|
* Write-only secret value. It is accepted once per create or rotate command, is never echoed,
|
|
375
299
|
* persisted in plaintext, logged or returned, and rejects control characters so it cannot
|
|
@@ -378,9 +302,9 @@ export type GraphDefinitionResponse = z.output<typeof GraphDefinitionResponseSch
|
|
|
378
302
|
export declare const CredentialSecretValueSchema: z.ZodString;
|
|
379
303
|
/** Public connector-credential metadata. It never contains secret material or references. */
|
|
380
304
|
export declare const CredentialPublicMetadataSchema: z.ZodObject<{
|
|
381
|
-
credentialId:
|
|
382
|
-
workspaceId:
|
|
383
|
-
connectorRef:
|
|
305
|
+
credentialId: typeof IdentifierSchemas.credentialId;
|
|
306
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
307
|
+
connectorRef: typeof CredentialReferenceSchema;
|
|
384
308
|
provider: z.ZodString;
|
|
385
309
|
status: z.ZodEnum<{
|
|
386
310
|
active: "active";
|
|
@@ -389,7 +313,7 @@ export declare const CredentialPublicMetadataSchema: z.ZodObject<{
|
|
|
389
313
|
secret_required: "secret_required";
|
|
390
314
|
}>;
|
|
391
315
|
revision: z.ZodNumber;
|
|
392
|
-
createdAt:
|
|
316
|
+
createdAt: typeof TimestampSchema;
|
|
393
317
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
394
318
|
rotatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
395
319
|
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -397,141 +321,89 @@ export declare const CredentialPublicMetadataSchema: z.ZodObject<{
|
|
|
397
321
|
}, z.core.$strict>;
|
|
398
322
|
export type CredentialPublicMetadata = z.output<typeof CredentialPublicMetadataSchema>;
|
|
399
323
|
export declare const CredentialCreateRequestSchema: z.ZodObject<{
|
|
400
|
-
caller:
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
409
|
-
correlation: z.ZodObject<{
|
|
410
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
411
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
412
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
413
|
-
}, z.core.$strip>;
|
|
414
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
415
|
-
idempotencyKey: z.ZodString;
|
|
416
|
-
payloadHash: z.ZodString;
|
|
324
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
325
|
+
contractVersion: typeof ContractVersionSchema;
|
|
326
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
327
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
328
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
329
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
330
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
331
|
+
payloadHash: typeof PayloadHashSchema;
|
|
417
332
|
operation: z.ZodLiteral<"credential.create">;
|
|
418
|
-
issuedAt:
|
|
333
|
+
issuedAt: typeof TimestampSchema;
|
|
419
334
|
payload: z.ZodObject<{
|
|
420
|
-
connectorRef:
|
|
335
|
+
connectorRef: typeof CredentialReferenceSchema;
|
|
421
336
|
provider: z.ZodString;
|
|
422
|
-
secret:
|
|
337
|
+
secret: typeof CredentialSecretValueSchema;
|
|
423
338
|
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
424
339
|
}, z.core.$strict>;
|
|
425
340
|
}, z.core.$strict>;
|
|
426
341
|
export declare const CredentialRotateRequestSchema: z.ZodObject<{
|
|
427
|
-
caller:
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
436
|
-
correlation: z.ZodObject<{
|
|
437
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
438
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
439
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
440
|
-
}, z.core.$strip>;
|
|
441
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
442
|
-
idempotencyKey: z.ZodString;
|
|
443
|
-
payloadHash: z.ZodString;
|
|
342
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
343
|
+
contractVersion: typeof ContractVersionSchema;
|
|
344
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
345
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
346
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
347
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
348
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
349
|
+
payloadHash: typeof PayloadHashSchema;
|
|
444
350
|
operation: z.ZodLiteral<"credential.rotate">;
|
|
445
|
-
issuedAt:
|
|
351
|
+
issuedAt: typeof TimestampSchema;
|
|
446
352
|
payload: z.ZodObject<{
|
|
447
|
-
credentialId:
|
|
353
|
+
credentialId: typeof IdentifierSchemas.credentialId;
|
|
448
354
|
expectedRevision: z.ZodNumber;
|
|
449
|
-
secret:
|
|
355
|
+
secret: typeof CredentialSecretValueSchema;
|
|
450
356
|
}, z.core.$strict>;
|
|
451
357
|
}, z.core.$strict>;
|
|
452
358
|
export declare const CredentialRevokeRequestSchema: z.ZodObject<{
|
|
453
|
-
caller:
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
462
|
-
correlation: z.ZodObject<{
|
|
463
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
464
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
465
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
466
|
-
}, z.core.$strip>;
|
|
467
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
468
|
-
idempotencyKey: z.ZodString;
|
|
469
|
-
payloadHash: z.ZodString;
|
|
359
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
360
|
+
contractVersion: typeof ContractVersionSchema;
|
|
361
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
362
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
363
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
364
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
365
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
366
|
+
payloadHash: typeof PayloadHashSchema;
|
|
470
367
|
operation: z.ZodLiteral<"credential.revoke">;
|
|
471
|
-
issuedAt:
|
|
368
|
+
issuedAt: typeof TimestampSchema;
|
|
472
369
|
payload: z.ZodObject<{
|
|
473
370
|
credentialId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"credential ID">, string>>;
|
|
474
371
|
}, z.core.$strict>;
|
|
475
372
|
}, z.core.$strict>;
|
|
476
373
|
export declare const CredentialGetRequestSchema: z.ZodObject<{
|
|
477
|
-
caller:
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
minor: z.ZodNumber;
|
|
483
|
-
}, z.core.$strict>;
|
|
484
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
485
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
486
|
-
correlation: z.ZodObject<{
|
|
487
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
488
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
489
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
490
|
-
}, z.core.$strip>;
|
|
374
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
375
|
+
contractVersion: typeof ContractVersionSchema;
|
|
376
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
377
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
378
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
491
379
|
operation: z.ZodLiteral<"credential.get">;
|
|
492
|
-
requestedAt:
|
|
380
|
+
requestedAt: typeof TimestampSchema;
|
|
493
381
|
parameters: z.ZodObject<{
|
|
494
382
|
credentialId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"credential ID">, string>>;
|
|
495
383
|
}, z.core.$strict>;
|
|
496
384
|
}, z.core.$strict>;
|
|
497
385
|
export declare const CredentialListRequestSchema: z.ZodObject<{
|
|
498
|
-
caller:
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
minor: z.ZodNumber;
|
|
504
|
-
}, z.core.$strict>;
|
|
505
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
506
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
507
|
-
correlation: z.ZodObject<{
|
|
508
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
509
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
510
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
511
|
-
}, z.core.$strip>;
|
|
386
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
387
|
+
contractVersion: typeof ContractVersionSchema;
|
|
388
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
389
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
390
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
512
391
|
operation: z.ZodLiteral<"credential.list">;
|
|
513
|
-
requestedAt:
|
|
392
|
+
requestedAt: typeof TimestampSchema;
|
|
514
393
|
parameters: z.ZodObject<{
|
|
515
394
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
516
395
|
cursor: z.ZodOptional<z.ZodString>;
|
|
517
396
|
}, z.core.$strict>;
|
|
518
397
|
}, z.core.$strict>;
|
|
519
398
|
export declare const CredentialResponseSchema: z.ZodObject<{
|
|
520
|
-
contractVersion:
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
}, z.core.$strict>;
|
|
524
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
525
|
-
correlation: z.ZodObject<{
|
|
526
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
527
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
528
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
529
|
-
}, z.core.$strip>;
|
|
399
|
+
contractVersion: typeof ContractVersionSchema;
|
|
400
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
401
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
530
402
|
data: z.ZodObject<{
|
|
531
403
|
credential: z.ZodObject<{
|
|
532
|
-
credentialId:
|
|
533
|
-
workspaceId:
|
|
534
|
-
connectorRef:
|
|
404
|
+
credentialId: typeof IdentifierSchemas.credentialId;
|
|
405
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
406
|
+
connectorRef: typeof CredentialReferenceSchema;
|
|
535
407
|
provider: z.ZodString;
|
|
536
408
|
status: z.ZodEnum<{
|
|
537
409
|
active: "active";
|
|
@@ -540,7 +412,7 @@ export declare const CredentialResponseSchema: z.ZodObject<{
|
|
|
540
412
|
secret_required: "secret_required";
|
|
541
413
|
}>;
|
|
542
414
|
revision: z.ZodNumber;
|
|
543
|
-
createdAt:
|
|
415
|
+
createdAt: typeof TimestampSchema;
|
|
544
416
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
545
417
|
rotatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
546
418
|
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -549,21 +421,14 @@ export declare const CredentialResponseSchema: z.ZodObject<{
|
|
|
549
421
|
}, z.core.$strict>;
|
|
550
422
|
}, z.core.$strip>;
|
|
551
423
|
export declare const CredentialListResponseSchema: z.ZodObject<{
|
|
552
|
-
contractVersion:
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
}, z.core.$strict>;
|
|
556
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
557
|
-
correlation: z.ZodObject<{
|
|
558
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
559
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
560
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
561
|
-
}, z.core.$strip>;
|
|
424
|
+
contractVersion: typeof ContractVersionSchema;
|
|
425
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
426
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
562
427
|
data: z.ZodObject<{
|
|
563
428
|
credentials: z.ZodArray<z.ZodObject<{
|
|
564
|
-
credentialId:
|
|
565
|
-
workspaceId:
|
|
566
|
-
connectorRef:
|
|
429
|
+
credentialId: typeof IdentifierSchemas.credentialId;
|
|
430
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
431
|
+
connectorRef: typeof CredentialReferenceSchema;
|
|
567
432
|
provider: z.ZodString;
|
|
568
433
|
status: z.ZodEnum<{
|
|
569
434
|
active: "active";
|
|
@@ -572,7 +437,7 @@ export declare const CredentialListResponseSchema: z.ZodObject<{
|
|
|
572
437
|
secret_required: "secret_required";
|
|
573
438
|
}>;
|
|
574
439
|
revision: z.ZodNumber;
|
|
575
|
-
createdAt:
|
|
440
|
+
createdAt: typeof TimestampSchema;
|
|
576
441
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
577
442
|
rotatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
578
443
|
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -588,90 +453,59 @@ export type CredentialGetRequest = z.input<typeof CredentialGetRequestSchema>;
|
|
|
588
453
|
export type CredentialListRequest = z.input<typeof CredentialListRequestSchema>;
|
|
589
454
|
export type CredentialResponse = z.output<typeof CredentialResponseSchema>;
|
|
590
455
|
export type CredentialListResponse = z.output<typeof CredentialListResponseSchema>;
|
|
456
|
+
declare const RuntimeNodeCredentialIdSchema: z.ZodString;
|
|
591
457
|
export declare const RuntimeNodeCredentialRevokeRequestSchema: z.ZodObject<{
|
|
592
|
-
caller:
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
601
|
-
correlation: z.ZodObject<{
|
|
602
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
603
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
604
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
605
|
-
}, z.core.$strip>;
|
|
606
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
607
|
-
idempotencyKey: z.ZodString;
|
|
608
|
-
payloadHash: z.ZodString;
|
|
458
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
459
|
+
contractVersion: typeof ContractVersionSchema;
|
|
460
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
461
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
462
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
463
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
464
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
465
|
+
payloadHash: typeof PayloadHashSchema;
|
|
609
466
|
operation: z.ZodLiteral<"runtime-node-credential.revoke">;
|
|
610
|
-
issuedAt:
|
|
467
|
+
issuedAt: typeof TimestampSchema;
|
|
611
468
|
payload: z.ZodObject<{
|
|
612
469
|
credentialId: z.ZodString;
|
|
613
470
|
}, z.core.$strict>;
|
|
614
471
|
}, z.core.$strict>;
|
|
615
472
|
export declare const RuntimeNodeCredentialRevocationResponseSchema: z.ZodObject<{
|
|
616
|
-
contractVersion:
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
}, z.core.$strict>;
|
|
620
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
621
|
-
correlation: z.ZodObject<{
|
|
622
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
623
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
624
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
625
|
-
}, z.core.$strip>;
|
|
473
|
+
contractVersion: typeof ContractVersionSchema;
|
|
474
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
475
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
626
476
|
data: z.ZodObject<{
|
|
627
477
|
credential: z.ZodObject<{
|
|
628
|
-
credentialId:
|
|
478
|
+
credentialId: typeof RuntimeNodeCredentialIdSchema;
|
|
629
479
|
nodeId: z.ZodString;
|
|
630
|
-
workspaceId:
|
|
480
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
631
481
|
revocationVersion: z.ZodNumber;
|
|
632
|
-
revokedAt:
|
|
482
|
+
revokedAt: typeof TimestampSchema;
|
|
633
483
|
}, z.core.$strict>;
|
|
634
484
|
}, z.core.$strict>;
|
|
635
485
|
}, z.core.$strip>;
|
|
636
486
|
export type RuntimeNodeCredentialRevokeRequest = z.input<typeof RuntimeNodeCredentialRevokeRequestSchema>;
|
|
637
487
|
export type RuntimeNodeCredentialRevocationResponse = z.output<typeof RuntimeNodeCredentialRevocationResponseSchema>;
|
|
638
488
|
export declare const ProjectStateResolutionRequestSchema: z.ZodObject<{
|
|
639
|
-
caller:
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
major: z.ZodNumber;
|
|
644
|
-
minor: z.ZodNumber;
|
|
645
|
-
}, z.core.$strict>;
|
|
646
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
647
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
489
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
490
|
+
contractVersion: typeof ContractVersionSchema;
|
|
491
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
492
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
648
493
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
649
|
-
correlation:
|
|
650
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
651
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
652
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
653
|
-
}, z.core.$strip>;
|
|
494
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
654
495
|
operation: z.ZodLiteral<"project-state.resolve">;
|
|
655
|
-
requestedAt:
|
|
496
|
+
requestedAt: typeof TimestampSchema;
|
|
656
497
|
parameters: z.ZodObject<{
|
|
657
498
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
658
499
|
}, z.core.$strip>;
|
|
659
500
|
}, z.core.$strip>;
|
|
660
501
|
export declare const ProjectStateResolutionResponseSchema: z.ZodObject<{
|
|
661
|
-
contractVersion:
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
}, z.core.$strict>;
|
|
665
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
666
|
-
correlation: z.ZodObject<{
|
|
667
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
668
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
669
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
670
|
-
}, z.core.$strip>;
|
|
502
|
+
contractVersion: typeof ContractVersionSchema;
|
|
503
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
504
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
671
505
|
data: z.ZodObject<{
|
|
672
506
|
projectState: z.ZodObject<{
|
|
673
|
-
workspaceId:
|
|
674
|
-
projectId:
|
|
507
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
508
|
+
projectId: typeof IdentifierSchemas.projectId;
|
|
675
509
|
revision: z.ZodNumber;
|
|
676
510
|
}, z.core.$strip>;
|
|
677
511
|
}, z.core.$strip>;
|
|
@@ -682,91 +516,73 @@ export declare const ProjectStateResolutionResponseSchema: z.ZodObject<{
|
|
|
682
516
|
* the Control Plane owns the initial content and creation time.
|
|
683
517
|
*/
|
|
684
518
|
export declare const ProjectStateInitializationRequestSchema: z.ZodObject<{
|
|
685
|
-
caller:
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
correlation: z.ZodObject<{
|
|
695
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
696
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
697
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
698
|
-
}, z.core.$strip>;
|
|
699
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
700
|
-
idempotencyKey: z.ZodString;
|
|
701
|
-
payloadHash: z.ZodString;
|
|
702
|
-
projectId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>;
|
|
519
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
520
|
+
contractVersion: typeof ContractVersionSchema;
|
|
521
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
522
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
523
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
524
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
525
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
526
|
+
payloadHash: typeof PayloadHashSchema;
|
|
527
|
+
projectId: typeof IdentifierSchemas.projectId;
|
|
703
528
|
operation: z.ZodLiteral<"project-state.initialize">;
|
|
704
|
-
issuedAt:
|
|
529
|
+
issuedAt: typeof TimestampSchema;
|
|
705
530
|
payload: z.ZodObject<{}, z.core.$strict>;
|
|
706
531
|
}, z.core.$strip>;
|
|
707
532
|
export declare const ProjectStateInitializationResponseSchema: z.ZodObject<{
|
|
708
|
-
contractVersion:
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
}, z.core.$strict>;
|
|
712
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
713
|
-
correlation: z.ZodObject<{
|
|
714
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
715
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
716
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
717
|
-
}, z.core.$strip>;
|
|
533
|
+
contractVersion: typeof ContractVersionSchema;
|
|
534
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
535
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
718
536
|
data: z.ZodObject<{
|
|
719
537
|
projectState: z.ZodObject<{
|
|
720
|
-
workspaceId:
|
|
721
|
-
projectId:
|
|
538
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
539
|
+
projectId: typeof IdentifierSchemas.projectId;
|
|
722
540
|
revision: z.ZodLiteral<0>;
|
|
723
541
|
}, z.core.$strip>;
|
|
724
|
-
commandId:
|
|
725
|
-
initializedAt:
|
|
542
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
543
|
+
initializedAt: typeof TimestampSchema;
|
|
726
544
|
}, z.core.$strip>;
|
|
727
545
|
}, z.core.$strip>;
|
|
728
546
|
export declare const ContextPackageResolutionRequestSchema: z.ZodObject<{
|
|
729
|
-
caller:
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
major: z.ZodNumber;
|
|
734
|
-
minor: z.ZodNumber;
|
|
735
|
-
}, z.core.$strict>;
|
|
736
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
737
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
547
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
548
|
+
contractVersion: typeof ContractVersionSchema;
|
|
549
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
550
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
738
551
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
739
|
-
correlation:
|
|
740
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
741
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
742
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
743
|
-
}, z.core.$strip>;
|
|
552
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
744
553
|
operation: z.ZodLiteral<"context-package.resolve">;
|
|
745
|
-
requestedAt:
|
|
554
|
+
requestedAt: typeof TimestampSchema;
|
|
746
555
|
parameters: z.ZodObject<{
|
|
747
556
|
contextPackageId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"ContextPackage ID">, string>>;
|
|
748
557
|
}, z.core.$strip>;
|
|
749
558
|
}, z.core.$strip>;
|
|
750
559
|
export declare const ContextPackageResolutionResponseSchema: z.ZodObject<{
|
|
751
|
-
contractVersion:
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}, z.core.$strict>;
|
|
755
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
756
|
-
correlation: z.ZodObject<{
|
|
757
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
758
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
759
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
760
|
-
}, z.core.$strip>;
|
|
560
|
+
contractVersion: typeof ContractVersionSchema;
|
|
561
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
562
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
761
563
|
data: z.ZodObject<{
|
|
762
564
|
contextPackage: z.ZodObject<{
|
|
763
|
-
contextPackageId:
|
|
764
|
-
contentDigest:
|
|
565
|
+
contextPackageId: typeof IdentifierSchemas.contextPackageId;
|
|
566
|
+
contentDigest: typeof DigestSchema;
|
|
765
567
|
schemaVersion: z.ZodNumber;
|
|
766
568
|
compilerVersion: z.ZodString;
|
|
767
569
|
}, z.core.$strip>;
|
|
768
570
|
}, z.core.$strip>;
|
|
769
571
|
}, z.core.$strip>;
|
|
572
|
+
declare const MarketplaceIdentitySchema: z.ZodObject<{
|
|
573
|
+
workspaceId: z.ZodString;
|
|
574
|
+
userId: z.ZodString;
|
|
575
|
+
}, z.core.$strip>;
|
|
576
|
+
declare const MarketplaceArtifactsSchema: z.ZodObject<{
|
|
577
|
+
'catalog.v1.json': z.ZodString;
|
|
578
|
+
'catalog-latest.v1.json': z.ZodString;
|
|
579
|
+
'catalog-summary.v1.json': z.ZodString;
|
|
580
|
+
'categories.v1.json': z.ZodString;
|
|
581
|
+
'catalog-index.v1.json': z.ZodOptional<z.ZodString>;
|
|
582
|
+
'compatibility.v1.json': z.ZodString;
|
|
583
|
+
'integrity.json': z.ZodString;
|
|
584
|
+
'sources.lock.json': z.ZodString;
|
|
585
|
+
}, z.core.$strict>;
|
|
770
586
|
export declare const MarketplaceInstallationLifecycleStateSchema: z.ZodEnum<{
|
|
771
587
|
installed: "installed";
|
|
772
588
|
"pending-authorization": "pending-authorization";
|
|
@@ -775,43 +591,25 @@ export declare const MarketplaceInstallationLifecycleStateSchema: z.ZodEnum<{
|
|
|
775
591
|
unavailable: "unavailable";
|
|
776
592
|
uninstalled: "uninstalled";
|
|
777
593
|
}>;
|
|
594
|
+
declare const MarketplaceInstallationIdSchema: z.ZodString;
|
|
778
595
|
export declare const MarketplaceCatalogRequestSchema: z.ZodObject<{
|
|
779
|
-
caller:
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
major: z.ZodNumber;
|
|
784
|
-
minor: z.ZodNumber;
|
|
785
|
-
}, z.core.$strict>;
|
|
786
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
787
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
596
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
597
|
+
contractVersion: typeof ContractVersionSchema;
|
|
598
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
599
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
788
600
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
789
|
-
correlation:
|
|
790
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
791
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
792
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
793
|
-
}, z.core.$strip>;
|
|
601
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
794
602
|
operation: z.ZodLiteral<"marketplace.catalog.read">;
|
|
795
|
-
requestedAt:
|
|
603
|
+
requestedAt: typeof TimestampSchema;
|
|
796
604
|
parameters: z.ZodObject<{
|
|
797
|
-
workspaceIdentity:
|
|
798
|
-
workspaceId: z.ZodString;
|
|
799
|
-
userId: z.ZodString;
|
|
800
|
-
}, z.core.$strip>;
|
|
605
|
+
workspaceIdentity: typeof MarketplaceIdentitySchema;
|
|
801
606
|
installedBy: z.ZodOptional<z.ZodString>;
|
|
802
607
|
}, z.core.$strip>;
|
|
803
608
|
}, z.core.$strip>;
|
|
804
609
|
export declare const MarketplaceCatalogResponseSchema: z.ZodObject<{
|
|
805
|
-
contractVersion:
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
}, z.core.$strict>;
|
|
809
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
810
|
-
correlation: z.ZodObject<{
|
|
811
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
812
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
813
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
814
|
-
}, z.core.$strip>;
|
|
610
|
+
contractVersion: typeof ContractVersionSchema;
|
|
611
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
612
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
815
613
|
data: z.ZodObject<{
|
|
816
614
|
catalogId: z.ZodString;
|
|
817
615
|
releaseId: z.ZodString;
|
|
@@ -819,20 +617,11 @@ export declare const MarketplaceCatalogResponseSchema: z.ZodObject<{
|
|
|
819
617
|
ready: "ready";
|
|
820
618
|
stale: "stale";
|
|
821
619
|
}>;
|
|
822
|
-
artifacts:
|
|
823
|
-
'catalog.v1.json': z.ZodString;
|
|
824
|
-
'catalog-latest.v1.json': z.ZodString;
|
|
825
|
-
'catalog-summary.v1.json': z.ZodString;
|
|
826
|
-
'categories.v1.json': z.ZodString;
|
|
827
|
-
'catalog-index.v1.json': z.ZodOptional<z.ZodString>;
|
|
828
|
-
'compatibility.v1.json': z.ZodString;
|
|
829
|
-
'integrity.json': z.ZodString;
|
|
830
|
-
'sources.lock.json': z.ZodString;
|
|
831
|
-
}, z.core.$strict>;
|
|
620
|
+
artifacts: typeof MarketplaceArtifactsSchema;
|
|
832
621
|
installations: z.ZodArray<z.ZodObject<{
|
|
833
622
|
pluginId: z.ZodString;
|
|
834
623
|
releaseId: z.ZodString;
|
|
835
|
-
canonicalContentDigest:
|
|
624
|
+
canonicalContentDigest: typeof DigestSchema;
|
|
836
625
|
installationId: z.ZodOptional<z.ZodString>;
|
|
837
626
|
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
838
627
|
packageDigest: z.ZodOptional<z.ZodString>;
|
|
@@ -847,53 +636,34 @@ export declare const MarketplaceCatalogResponseSchema: z.ZodObject<{
|
|
|
847
636
|
}, z.core.$strip>;
|
|
848
637
|
}, z.core.$strip>;
|
|
849
638
|
export declare const MarketplaceInstallRequestSchema: z.ZodObject<{
|
|
850
|
-
caller:
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
major: z.ZodNumber;
|
|
855
|
-
minor: z.ZodNumber;
|
|
856
|
-
}, z.core.$strict>;
|
|
857
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
858
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
639
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
640
|
+
contractVersion: typeof ContractVersionSchema;
|
|
641
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
642
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
859
643
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
860
|
-
correlation:
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
}, z.core.$strip>;
|
|
865
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
866
|
-
idempotencyKey: z.ZodString;
|
|
867
|
-
payloadHash: z.ZodString;
|
|
644
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
645
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
646
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
647
|
+
payloadHash: typeof PayloadHashSchema;
|
|
868
648
|
operation: z.ZodLiteral<"marketplace.install.request">;
|
|
869
|
-
issuedAt:
|
|
649
|
+
issuedAt: typeof TimestampSchema;
|
|
870
650
|
payload: z.ZodObject<{
|
|
871
651
|
pluginId: z.ZodString;
|
|
872
652
|
releaseId: z.ZodString;
|
|
873
|
-
canonicalContentDigest:
|
|
653
|
+
canonicalContentDigest: typeof DigestSchema;
|
|
874
654
|
requestedHarness: z.ZodString;
|
|
875
655
|
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
876
|
-
workspaceIdentity:
|
|
877
|
-
workspaceId: z.ZodString;
|
|
878
|
-
userId: z.ZodString;
|
|
879
|
-
}, z.core.$strip>;
|
|
656
|
+
workspaceIdentity: typeof MarketplaceIdentitySchema;
|
|
880
657
|
}, z.core.$strict>;
|
|
881
658
|
}, z.core.$strip>;
|
|
882
659
|
export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
883
|
-
contractVersion:
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
}, z.core.$strict>;
|
|
887
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
888
|
-
correlation: z.ZodObject<{
|
|
889
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
890
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
891
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
892
|
-
}, z.core.$strip>;
|
|
660
|
+
contractVersion: typeof ContractVersionSchema;
|
|
661
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
662
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
893
663
|
data: z.ZodObject<{
|
|
894
664
|
pluginId: z.ZodString;
|
|
895
665
|
releaseId: z.ZodString;
|
|
896
|
-
canonicalContentDigest:
|
|
666
|
+
canonicalContentDigest: typeof DigestSchema;
|
|
897
667
|
installationId: z.ZodString;
|
|
898
668
|
catalogId: z.ZodString;
|
|
899
669
|
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
@@ -911,153 +681,79 @@ export declare const MarketplaceInstallResponseSchema: z.ZodObject<{
|
|
|
911
681
|
export declare const MarketplaceInstallationSchema: z.ZodObject<{
|
|
912
682
|
pluginId: z.ZodString;
|
|
913
683
|
releaseId: z.ZodString;
|
|
914
|
-
canonicalContentDigest:
|
|
684
|
+
canonicalContentDigest: typeof DigestSchema;
|
|
915
685
|
installationId: z.ZodString;
|
|
916
686
|
catalogId: z.ZodString;
|
|
917
687
|
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
918
688
|
packageDigest: z.ZodOptional<z.ZodString>;
|
|
919
689
|
requestedHarness: z.ZodString;
|
|
920
|
-
state:
|
|
921
|
-
installed: "installed";
|
|
922
|
-
"pending-authorization": "pending-authorization";
|
|
923
|
-
"rejected-by-policy": "rejected-by-policy";
|
|
924
|
-
superseded: "superseded";
|
|
925
|
-
unavailable: "unavailable";
|
|
926
|
-
uninstalled: "uninstalled";
|
|
927
|
-
}>;
|
|
690
|
+
state: typeof MarketplaceInstallationLifecycleStateSchema;
|
|
928
691
|
installedBy: z.ZodString;
|
|
929
|
-
installedAt:
|
|
930
|
-
updatedAt:
|
|
692
|
+
installedAt: typeof TimestampSchema;
|
|
693
|
+
updatedAt: typeof TimestampSchema;
|
|
931
694
|
uninstalledBy: z.ZodOptional<z.ZodString>;
|
|
932
695
|
uninstalledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
933
696
|
}, z.core.$strip>;
|
|
934
697
|
export declare const MarketplaceInstallationGetRequestSchema: z.ZodObject<{
|
|
935
|
-
caller:
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
major: z.ZodNumber;
|
|
940
|
-
minor: z.ZodNumber;
|
|
941
|
-
}, z.core.$strict>;
|
|
942
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
943
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
698
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
699
|
+
contractVersion: typeof ContractVersionSchema;
|
|
700
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
701
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
944
702
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
945
|
-
correlation:
|
|
946
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
947
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
948
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
949
|
-
}, z.core.$strip>;
|
|
703
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
950
704
|
operation: z.ZodLiteral<"marketplace.installation.get">;
|
|
951
|
-
requestedAt:
|
|
705
|
+
requestedAt: typeof TimestampSchema;
|
|
952
706
|
parameters: z.ZodObject<{
|
|
953
|
-
installationId:
|
|
954
|
-
workspaceIdentity:
|
|
955
|
-
workspaceId: z.ZodString;
|
|
956
|
-
userId: z.ZodString;
|
|
957
|
-
}, z.core.$strip>;
|
|
707
|
+
installationId: typeof MarketplaceInstallationIdSchema;
|
|
708
|
+
workspaceIdentity: typeof MarketplaceIdentitySchema;
|
|
958
709
|
}, z.core.$strip>;
|
|
959
710
|
}, z.core.$strip>;
|
|
960
711
|
export declare const MarketplaceInstallationGetResponseSchema: z.ZodObject<{
|
|
961
|
-
contractVersion:
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
}, z.core.$strict>;
|
|
965
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
966
|
-
correlation: z.ZodObject<{
|
|
967
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
968
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
969
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
970
|
-
}, z.core.$strip>;
|
|
712
|
+
contractVersion: typeof ContractVersionSchema;
|
|
713
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
714
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
971
715
|
data: z.ZodObject<{
|
|
972
716
|
installation: z.ZodObject<{
|
|
973
717
|
pluginId: z.ZodString;
|
|
974
718
|
releaseId: z.ZodString;
|
|
975
|
-
canonicalContentDigest:
|
|
719
|
+
canonicalContentDigest: typeof DigestSchema;
|
|
976
720
|
installationId: z.ZodString;
|
|
977
721
|
catalogId: z.ZodString;
|
|
978
722
|
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
979
723
|
packageDigest: z.ZodOptional<z.ZodString>;
|
|
980
724
|
requestedHarness: z.ZodString;
|
|
981
|
-
state:
|
|
982
|
-
installed: "installed";
|
|
983
|
-
"pending-authorization": "pending-authorization";
|
|
984
|
-
"rejected-by-policy": "rejected-by-policy";
|
|
985
|
-
superseded: "superseded";
|
|
986
|
-
unavailable: "unavailable";
|
|
987
|
-
uninstalled: "uninstalled";
|
|
988
|
-
}>;
|
|
725
|
+
state: typeof MarketplaceInstallationLifecycleStateSchema;
|
|
989
726
|
installedBy: z.ZodString;
|
|
990
|
-
installedAt:
|
|
991
|
-
updatedAt:
|
|
727
|
+
installedAt: typeof TimestampSchema;
|
|
728
|
+
updatedAt: typeof TimestampSchema;
|
|
992
729
|
uninstalledBy: z.ZodOptional<z.ZodString>;
|
|
993
730
|
uninstalledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
994
731
|
}, z.core.$strip>;
|
|
995
732
|
}, z.core.$strip>;
|
|
996
733
|
}, z.core.$strip>;
|
|
997
734
|
export declare const MarketplaceInstallationUninstallRequestSchema: z.ZodObject<{
|
|
998
|
-
caller:
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
major: z.ZodNumber;
|
|
1003
|
-
minor: z.ZodNumber;
|
|
1004
|
-
}, z.core.$strict>;
|
|
1005
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1006
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
735
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
736
|
+
contractVersion: typeof ContractVersionSchema;
|
|
737
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
738
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
1007
739
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
1008
|
-
correlation:
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
}, z.core.$strip>;
|
|
1013
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
1014
|
-
idempotencyKey: z.ZodString;
|
|
1015
|
-
payloadHash: z.ZodString;
|
|
740
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
741
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
742
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
743
|
+
payloadHash: typeof PayloadHashSchema;
|
|
1016
744
|
operation: z.ZodLiteral<"marketplace.installation.uninstall">;
|
|
1017
|
-
issuedAt:
|
|
745
|
+
issuedAt: typeof TimestampSchema;
|
|
1018
746
|
payload: z.ZodObject<{
|
|
1019
|
-
installationId:
|
|
1020
|
-
workspaceIdentity:
|
|
1021
|
-
workspaceId: z.ZodString;
|
|
1022
|
-
userId: z.ZodString;
|
|
1023
|
-
}, z.core.$strip>;
|
|
747
|
+
installationId: typeof MarketplaceInstallationIdSchema;
|
|
748
|
+
workspaceIdentity: typeof MarketplaceIdentitySchema;
|
|
1024
749
|
}, z.core.$strip>;
|
|
1025
750
|
}, z.core.$strip>;
|
|
1026
751
|
export declare const MarketplaceInstallationUninstallResponseSchema: z.ZodObject<{
|
|
1027
|
-
contractVersion:
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
}, z.core.$strict>;
|
|
1031
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1032
|
-
correlation: z.ZodObject<{
|
|
1033
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1034
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1035
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1036
|
-
}, z.core.$strip>;
|
|
752
|
+
contractVersion: typeof ContractVersionSchema;
|
|
753
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
754
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1037
755
|
data: z.ZodObject<{
|
|
1038
|
-
installation:
|
|
1039
|
-
pluginId: z.ZodString;
|
|
1040
|
-
releaseId: z.ZodString;
|
|
1041
|
-
canonicalContentDigest: z.ZodString;
|
|
1042
|
-
installationId: z.ZodString;
|
|
1043
|
-
catalogId: z.ZodString;
|
|
1044
|
-
installationInstanceId: z.ZodOptional<z.ZodString>;
|
|
1045
|
-
packageDigest: z.ZodOptional<z.ZodString>;
|
|
1046
|
-
requestedHarness: z.ZodString;
|
|
1047
|
-
state: z.ZodEnum<{
|
|
1048
|
-
installed: "installed";
|
|
1049
|
-
"pending-authorization": "pending-authorization";
|
|
1050
|
-
"rejected-by-policy": "rejected-by-policy";
|
|
1051
|
-
superseded: "superseded";
|
|
1052
|
-
unavailable: "unavailable";
|
|
1053
|
-
uninstalled: "uninstalled";
|
|
1054
|
-
}>;
|
|
1055
|
-
installedBy: z.ZodString;
|
|
1056
|
-
installedAt: z.ZodISODateTime;
|
|
1057
|
-
updatedAt: z.ZodISODateTime;
|
|
1058
|
-
uninstalledBy: z.ZodOptional<z.ZodString>;
|
|
1059
|
-
uninstalledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1060
|
-
}, z.core.$strip>;
|
|
756
|
+
installation: typeof MarketplaceInstallationSchema;
|
|
1061
757
|
replayed: z.ZodBoolean;
|
|
1062
758
|
}, z.core.$strip>;
|
|
1063
759
|
}, z.core.$strip>;
|
|
@@ -1072,48 +768,29 @@ export type MarketplaceInstallationGetResponse = z.output<typeof MarketplaceInst
|
|
|
1072
768
|
export type MarketplaceInstallationUninstallRequest = z.input<typeof MarketplaceInstallationUninstallRequestSchema>;
|
|
1073
769
|
export type MarketplaceInstallationUninstallResponse = z.output<typeof MarketplaceInstallationUninstallResponseSchema>;
|
|
1074
770
|
export declare const MarketplaceInstallPlanRequestSchema: z.ZodObject<{
|
|
1075
|
-
caller:
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
major: z.ZodNumber;
|
|
1080
|
-
minor: z.ZodNumber;
|
|
1081
|
-
}, z.core.$strict>;
|
|
1082
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1083
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
771
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
772
|
+
contractVersion: typeof ContractVersionSchema;
|
|
773
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
774
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
1084
775
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
1085
|
-
correlation:
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
}, z.core.$strip>;
|
|
1090
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
1091
|
-
idempotencyKey: z.ZodString;
|
|
1092
|
-
payloadHash: z.ZodString;
|
|
776
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
777
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
778
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
779
|
+
payloadHash: typeof PayloadHashSchema;
|
|
1093
780
|
operation: z.ZodLiteral<"marketplace.install.plan">;
|
|
1094
|
-
issuedAt:
|
|
781
|
+
issuedAt: typeof TimestampSchema;
|
|
1095
782
|
payload: z.ZodObject<{
|
|
1096
783
|
pluginId: z.ZodString;
|
|
1097
784
|
releaseId: z.ZodString;
|
|
1098
785
|
instanceId: z.ZodString;
|
|
1099
786
|
requestedHarness: z.ZodString;
|
|
1100
|
-
workspaceIdentity:
|
|
1101
|
-
workspaceId: z.ZodString;
|
|
1102
|
-
userId: z.ZodString;
|
|
1103
|
-
}, z.core.$strip>;
|
|
787
|
+
workspaceIdentity: typeof MarketplaceIdentitySchema;
|
|
1104
788
|
}, z.core.$strip>;
|
|
1105
789
|
}, z.core.$strip>;
|
|
1106
790
|
export declare const MarketplaceInstallPlanResponseSchema: z.ZodObject<{
|
|
1107
|
-
contractVersion:
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
}, z.core.$strict>;
|
|
1111
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1112
|
-
correlation: z.ZodObject<{
|
|
1113
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1114
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1115
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1116
|
-
}, z.core.$strip>;
|
|
791
|
+
contractVersion: typeof ContractVersionSchema;
|
|
792
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
793
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1117
794
|
data: z.ZodObject<{
|
|
1118
795
|
planVersion: z.ZodLiteral<2>;
|
|
1119
796
|
pluginId: z.ZodString;
|
|
@@ -1136,9 +813,9 @@ export declare const MarketplaceInstallPlanResponseSchema: z.ZodObject<{
|
|
|
1136
813
|
export type MarketplaceInstallPlanRequest = z.output<typeof MarketplaceInstallPlanRequestSchema>;
|
|
1137
814
|
export type MarketplaceInstallPlanResponse = z.output<typeof MarketplaceInstallPlanResponseSchema>;
|
|
1138
815
|
export declare const RuntimeReadModelSchema: z.ZodObject<{
|
|
1139
|
-
runtimeNodeRefId:
|
|
816
|
+
runtimeNodeRefId: typeof IdentifierSchemas.runtimeNodeRefId;
|
|
1140
817
|
runtimeConnectionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"runtime-connection ID">, string>>>;
|
|
1141
|
-
runtimeDefinitionId:
|
|
818
|
+
runtimeDefinitionId: typeof IdentifierSchemas.runtimeDefinitionId;
|
|
1142
819
|
family: z.ZodString;
|
|
1143
820
|
location: z.ZodEnum<{
|
|
1144
821
|
agent_hq_cloud: "agent_hq_cloud";
|
|
@@ -1151,29 +828,20 @@ export declare const RuntimeReadModelSchema: z.ZodObject<{
|
|
|
1151
828
|
revoked: "revoked";
|
|
1152
829
|
unavailable: "unavailable";
|
|
1153
830
|
}>;
|
|
1154
|
-
observedAt:
|
|
831
|
+
observedAt: typeof TimestampSchema;
|
|
1155
832
|
capabilities: z.ZodArray<z.ZodString>;
|
|
1156
833
|
limitations: z.ZodArray<z.ZodString>;
|
|
1157
834
|
}, z.core.$strip>;
|
|
1158
835
|
export type RuntimeReadModel = z.output<typeof RuntimeReadModelSchema>;
|
|
1159
836
|
export declare const RuntimeListRequestSchema: z.ZodObject<{
|
|
1160
|
-
caller:
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
major: z.ZodNumber;
|
|
1165
|
-
minor: z.ZodNumber;
|
|
1166
|
-
}, z.core.$strict>;
|
|
1167
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1168
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
837
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
838
|
+
contractVersion: typeof ContractVersionSchema;
|
|
839
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
840
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
1169
841
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
1170
|
-
correlation:
|
|
1171
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1172
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1173
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1174
|
-
}, z.core.$strip>;
|
|
842
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1175
843
|
operation: z.ZodLiteral<"runtime.list">;
|
|
1176
|
-
requestedAt:
|
|
844
|
+
requestedAt: typeof TimestampSchema;
|
|
1177
845
|
parameters: z.ZodObject<{
|
|
1178
846
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1179
847
|
available: "available";
|
|
@@ -1185,21 +853,14 @@ export declare const RuntimeListRequestSchema: z.ZodObject<{
|
|
|
1185
853
|
}, z.core.$strip>;
|
|
1186
854
|
}, z.core.$strip>;
|
|
1187
855
|
export declare const RuntimeListResponseSchema: z.ZodObject<{
|
|
1188
|
-
contractVersion:
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
}, z.core.$strict>;
|
|
1192
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1193
|
-
correlation: z.ZodObject<{
|
|
1194
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1195
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1196
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1197
|
-
}, z.core.$strip>;
|
|
856
|
+
contractVersion: typeof ContractVersionSchema;
|
|
857
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
858
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1198
859
|
data: z.ZodObject<{
|
|
1199
860
|
runtimes: z.ZodArray<z.ZodObject<{
|
|
1200
|
-
runtimeNodeRefId:
|
|
861
|
+
runtimeNodeRefId: typeof IdentifierSchemas.runtimeNodeRefId;
|
|
1201
862
|
runtimeConnectionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"runtime-connection ID">, string>>>;
|
|
1202
|
-
runtimeDefinitionId:
|
|
863
|
+
runtimeDefinitionId: typeof IdentifierSchemas.runtimeDefinitionId;
|
|
1203
864
|
family: z.ZodString;
|
|
1204
865
|
location: z.ZodEnum<{
|
|
1205
866
|
agent_hq_cloud: "agent_hq_cloud";
|
|
@@ -1212,33 +873,24 @@ export declare const RuntimeListResponseSchema: z.ZodObject<{
|
|
|
1212
873
|
revoked: "revoked";
|
|
1213
874
|
unavailable: "unavailable";
|
|
1214
875
|
}>;
|
|
1215
|
-
observedAt:
|
|
876
|
+
observedAt: typeof TimestampSchema;
|
|
1216
877
|
capabilities: z.ZodArray<z.ZodString>;
|
|
1217
878
|
limitations: z.ZodArray<z.ZodString>;
|
|
1218
879
|
}, z.core.$strip>>;
|
|
1219
880
|
}, z.core.$strip>;
|
|
1220
881
|
}, z.core.$strip>;
|
|
1221
882
|
export declare const ExecutionRequestValidationRequestSchema: z.ZodObject<{
|
|
1222
|
-
caller:
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
major: z.ZodNumber;
|
|
1227
|
-
minor: z.ZodNumber;
|
|
1228
|
-
}, z.core.$strict>;
|
|
1229
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1230
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
883
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
884
|
+
contractVersion: typeof ContractVersionSchema;
|
|
885
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
886
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
1231
887
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
1232
|
-
correlation:
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
}, z.core.$strip>;
|
|
1237
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
1238
|
-
idempotencyKey: z.ZodString;
|
|
1239
|
-
payloadHash: z.ZodString;
|
|
888
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
889
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
890
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
891
|
+
payloadHash: typeof PayloadHashSchema;
|
|
1240
892
|
operation: z.ZodLiteral<"execution.validate">;
|
|
1241
|
-
issuedAt:
|
|
893
|
+
issuedAt: typeof TimestampSchema;
|
|
1242
894
|
payload: z.ZodUnion<readonly [z.ZodObject<{
|
|
1243
895
|
graph: z.ZodOptional<z.ZodObject<{
|
|
1244
896
|
reference: z.ZodObject<{
|
|
@@ -1248,28 +900,15 @@ export declare const ExecutionRequestValidationRequestSchema: z.ZodObject<{
|
|
|
1248
900
|
}, z.core.$strict>;
|
|
1249
901
|
input: z.ZodPipe<z.ZodCustom<import("./graphs.js").GraphInput, import("./graphs.js").GraphInput>, z.ZodTransform<import("./graphs.js").GraphInput, import("./graphs.js").GraphInput>>;
|
|
1250
902
|
}, z.core.$strict>>;
|
|
1251
|
-
taskId:
|
|
1252
|
-
agentId:
|
|
1253
|
-
profileVersionId:
|
|
903
|
+
taskId: typeof IdentifierSchemas.taskId;
|
|
904
|
+
agentId: typeof IdentifierSchemas.agentId;
|
|
905
|
+
profileVersionId: typeof IdentifierSchemas.profileVersionId;
|
|
1254
906
|
skillVersionIds: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
|
|
1255
|
-
projectState:
|
|
1256
|
-
|
|
1257
|
-
projectId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>;
|
|
1258
|
-
revision: z.ZodNumber;
|
|
1259
|
-
}, z.core.$strip>;
|
|
1260
|
-
policySnapshot: z.ZodObject<{
|
|
1261
|
-
policySnapshotId: z.ZodString;
|
|
1262
|
-
revision: z.ZodNumber;
|
|
1263
|
-
contentDigest: z.ZodString;
|
|
1264
|
-
}, z.core.$strip>;
|
|
907
|
+
projectState: typeof ProjectStateReferenceSchema;
|
|
908
|
+
policySnapshot: typeof PolicySnapshotPublicReferenceSchema;
|
|
1265
909
|
runtimeRequirements: z.ZodArray<z.ZodString>;
|
|
1266
910
|
outputContractRef: z.ZodString;
|
|
1267
|
-
contextPackage:
|
|
1268
|
-
contextPackageId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"ContextPackage ID">, string>>;
|
|
1269
|
-
contentDigest: z.ZodString;
|
|
1270
|
-
schemaVersion: z.ZodNumber;
|
|
1271
|
-
compilerVersion: z.ZodString;
|
|
1272
|
-
}, z.core.$strip>;
|
|
911
|
+
contextPackage: typeof ContextPackagePublicReferenceSchema;
|
|
1273
912
|
contextInputs: z.ZodOptional<z.ZodNever>;
|
|
1274
913
|
}, z.core.$strip>, z.ZodObject<{
|
|
1275
914
|
graph: z.ZodOptional<z.ZodObject<{
|
|
@@ -1280,88 +919,45 @@ export declare const ExecutionRequestValidationRequestSchema: z.ZodObject<{
|
|
|
1280
919
|
}, z.core.$strict>;
|
|
1281
920
|
input: z.ZodPipe<z.ZodCustom<import("./graphs.js").GraphInput, import("./graphs.js").GraphInput>, z.ZodTransform<import("./graphs.js").GraphInput, import("./graphs.js").GraphInput>>;
|
|
1282
921
|
}, z.core.$strict>>;
|
|
1283
|
-
taskId:
|
|
1284
|
-
agentId:
|
|
1285
|
-
profileVersionId:
|
|
922
|
+
taskId: typeof IdentifierSchemas.taskId;
|
|
923
|
+
agentId: typeof IdentifierSchemas.agentId;
|
|
924
|
+
profileVersionId: typeof IdentifierSchemas.profileVersionId;
|
|
1286
925
|
skillVersionIds: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
|
|
1287
|
-
projectState:
|
|
1288
|
-
|
|
1289
|
-
projectId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>;
|
|
1290
|
-
revision: z.ZodNumber;
|
|
1291
|
-
}, z.core.$strip>;
|
|
1292
|
-
policySnapshot: z.ZodObject<{
|
|
1293
|
-
policySnapshotId: z.ZodString;
|
|
1294
|
-
revision: z.ZodNumber;
|
|
1295
|
-
contentDigest: z.ZodString;
|
|
1296
|
-
}, z.core.$strip>;
|
|
926
|
+
projectState: typeof ProjectStateReferenceSchema;
|
|
927
|
+
policySnapshot: typeof PolicySnapshotPublicReferenceSchema;
|
|
1297
928
|
runtimeRequirements: z.ZodArray<z.ZodString>;
|
|
1298
929
|
outputContractRef: z.ZodString;
|
|
1299
930
|
contextPackage: z.ZodOptional<z.ZodNever>;
|
|
1300
|
-
contextInputs:
|
|
1301
|
-
objective: z.ZodString;
|
|
1302
|
-
candidates: z.ZodArray<z.ZodObject<{
|
|
1303
|
-
itemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"ProjectState-item ID">, string>>;
|
|
1304
|
-
itemRevision: z.ZodNumber;
|
|
1305
|
-
required: z.ZodBoolean;
|
|
1306
|
-
priority: z.ZodNumber;
|
|
1307
|
-
}, z.core.$strict>>;
|
|
1308
|
-
successCriteria: z.ZodArray<z.ZodString>;
|
|
1309
|
-
returnContract: z.ZodObject<{
|
|
1310
|
-
contractRef: z.ZodString;
|
|
1311
|
-
}, z.core.$strict>;
|
|
1312
|
-
budgets: z.ZodObject<{
|
|
1313
|
-
maximumBytes: z.ZodNumber;
|
|
1314
|
-
maximumTokens: z.ZodNumber;
|
|
1315
|
-
}, z.core.$strict>;
|
|
1316
|
-
}, z.core.$strict>;
|
|
931
|
+
contextInputs: typeof ContextAuthoringInputsSchema;
|
|
1317
932
|
}, z.core.$strip>]>;
|
|
1318
933
|
}, z.core.$strip>;
|
|
1319
934
|
export declare const ExecutionRequestValidationResponseSchema: z.ZodObject<{
|
|
1320
|
-
contractVersion:
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
}, z.core.$strict>;
|
|
1324
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1325
|
-
correlation: z.ZodObject<{
|
|
1326
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1327
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1328
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1329
|
-
}, z.core.$strip>;
|
|
935
|
+
contractVersion: typeof ContractVersionSchema;
|
|
936
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
937
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1330
938
|
data: z.ZodObject<{
|
|
1331
939
|
valid: z.ZodLiteral<true>;
|
|
1332
|
-
executionPlan:
|
|
1333
|
-
executionPlanId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"ExecutionPlan ID">, string>>;
|
|
1334
|
-
contentDigest: z.ZodString;
|
|
1335
|
-
}, z.core.$strip>;
|
|
940
|
+
executionPlan: typeof ExecutionPlanPublicReferenceSchema;
|
|
1336
941
|
}, z.core.$strip>;
|
|
1337
942
|
}, z.core.$strip>;
|
|
1338
943
|
export declare const ExecutionAcceptanceRequestSchema: z.ZodObject<{
|
|
1339
|
-
caller:
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
correlation: z.ZodObject<{
|
|
1349
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1350
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1351
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1352
|
-
}, z.core.$strip>;
|
|
1353
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
1354
|
-
idempotencyKey: z.ZodString;
|
|
1355
|
-
payloadHash: z.ZodString;
|
|
1356
|
-
projectId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>;
|
|
944
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
945
|
+
contractVersion: typeof ContractVersionSchema;
|
|
946
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
947
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
948
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
949
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
950
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
951
|
+
payloadHash: typeof PayloadHashSchema;
|
|
952
|
+
projectId: typeof IdentifierSchemas.projectId;
|
|
1357
953
|
operation: z.ZodLiteral<"execution.accept">;
|
|
1358
|
-
issuedAt:
|
|
954
|
+
issuedAt: typeof TimestampSchema;
|
|
1359
955
|
payload: z.ZodObject<{
|
|
1360
|
-
taskId:
|
|
1361
|
-
agentId:
|
|
956
|
+
taskId: typeof IdentifierSchemas.taskId;
|
|
957
|
+
agentId: typeof IdentifierSchemas.agentId;
|
|
1362
958
|
executionPlan: z.ZodObject<{
|
|
1363
|
-
executionPlanId:
|
|
1364
|
-
contentDigest:
|
|
959
|
+
executionPlanId: typeof IdentifierSchemas.executionPlanId;
|
|
960
|
+
contentDigest: typeof DigestSchema;
|
|
1365
961
|
schemaVersion: z.ZodNumber;
|
|
1366
962
|
}, z.core.$strip>;
|
|
1367
963
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -1372,26 +968,19 @@ export declare const ExecutionAcceptanceRequestSchema: z.ZodObject<{
|
|
|
1372
968
|
}, z.core.$strict>>>;
|
|
1373
969
|
parentExecutionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"execution ID">, string>>>;
|
|
1374
970
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1375
|
-
retentionExpiresAt:
|
|
971
|
+
retentionExpiresAt: typeof TimestampSchema;
|
|
1376
972
|
}, z.core.$strip>;
|
|
1377
973
|
}, z.core.$strip>;
|
|
1378
974
|
export declare const ExecutionAcceptanceResponseSchema: z.ZodObject<{
|
|
1379
|
-
contractVersion:
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
}, z.core.$strict>;
|
|
1383
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1384
|
-
correlation: z.ZodObject<{
|
|
1385
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1386
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1387
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1388
|
-
}, z.core.$strip>;
|
|
975
|
+
contractVersion: typeof ContractVersionSchema;
|
|
976
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
977
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1389
978
|
data: z.ZodObject<{
|
|
1390
|
-
commandId:
|
|
1391
|
-
executionId:
|
|
979
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
980
|
+
executionId: typeof IdentifierSchemas.executionId;
|
|
1392
981
|
executionPlan: z.ZodObject<{
|
|
1393
|
-
executionPlanId:
|
|
1394
|
-
contentDigest:
|
|
982
|
+
executionPlanId: typeof IdentifierSchemas.executionPlanId;
|
|
983
|
+
contentDigest: typeof DigestSchema;
|
|
1395
984
|
schemaVersion: z.ZodNumber;
|
|
1396
985
|
}, z.core.$strip>;
|
|
1397
986
|
status: z.ZodEnum<{
|
|
@@ -1418,43 +1007,27 @@ export declare const ExecutionCancellationCommandSchema: z.ZodObject<{
|
|
|
1418
1007
|
kind: z.ZodLiteral<"project">;
|
|
1419
1008
|
projectId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>;
|
|
1420
1009
|
}, z.core.$strict>], "kind">>;
|
|
1421
|
-
caller:
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1429
|
-
correlation: z.ZodObject<{
|
|
1430
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1431
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1432
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1433
|
-
}, z.core.$strip>;
|
|
1434
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
1435
|
-
idempotencyKey: z.ZodString;
|
|
1436
|
-
payloadHash: z.ZodString;
|
|
1010
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
1011
|
+
contractVersion: typeof ContractVersionSchema;
|
|
1012
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
1013
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1014
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
1015
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
1016
|
+
payloadHash: typeof PayloadHashSchema;
|
|
1437
1017
|
operation: z.ZodLiteral<"execution.cancel">;
|
|
1438
|
-
issuedAt:
|
|
1018
|
+
issuedAt: typeof TimestampSchema;
|
|
1439
1019
|
payload: z.ZodObject<{
|
|
1440
1020
|
executionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"execution ID">, string>>;
|
|
1441
1021
|
}, z.core.$strict>;
|
|
1442
1022
|
}, z.core.$strict>;
|
|
1443
1023
|
/** Confirms signal acceptance only, never that native work has stopped. */
|
|
1444
1024
|
export declare const ExecutionCancellationCommandResultSchema: z.ZodObject<{
|
|
1445
|
-
contractVersion:
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
}, z.core.$strict>;
|
|
1449
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1450
|
-
correlation: z.ZodObject<{
|
|
1451
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1452
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1453
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1454
|
-
}, z.core.$strip>;
|
|
1025
|
+
contractVersion: typeof ContractVersionSchema;
|
|
1026
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
1027
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1455
1028
|
data: z.ZodObject<{
|
|
1456
|
-
commandId:
|
|
1457
|
-
executionId:
|
|
1029
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
1030
|
+
executionId: typeof IdentifierSchemas.executionId;
|
|
1458
1031
|
status: z.ZodLiteral<"accepted">;
|
|
1459
1032
|
replayed: z.ZodBoolean;
|
|
1460
1033
|
}, z.core.$strict>;
|
|
@@ -1475,64 +1048,36 @@ export declare const AdmissionStopReasonClassSchema: z.ZodEnum<{
|
|
|
1475
1048
|
* checked against, never a self-asserted target.
|
|
1476
1049
|
*/
|
|
1477
1050
|
export declare const AdmissionStopCommandSchema: z.ZodObject<{
|
|
1478
|
-
caller:
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
major: z.ZodNumber;
|
|
1483
|
-
minor: z.ZodNumber;
|
|
1484
|
-
}, z.core.$strict>;
|
|
1485
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1486
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
1051
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
1052
|
+
contractVersion: typeof ContractVersionSchema;
|
|
1053
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
1054
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
1487
1055
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
1488
|
-
correlation:
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
}, z.core.$strip>;
|
|
1493
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
1494
|
-
idempotencyKey: z.ZodString;
|
|
1495
|
-
payloadHash: z.ZodString;
|
|
1056
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1057
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
1058
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
1059
|
+
payloadHash: typeof PayloadHashSchema;
|
|
1496
1060
|
operation: z.ZodLiteral<"execution.admission-stop">;
|
|
1497
|
-
issuedAt:
|
|
1061
|
+
issuedAt: typeof TimestampSchema;
|
|
1498
1062
|
payload: z.ZodObject<{
|
|
1499
|
-
reasonClass:
|
|
1500
|
-
cost_protection: "cost_protection";
|
|
1501
|
-
incident_response: "incident_response";
|
|
1502
|
-
operator_maintenance: "operator_maintenance";
|
|
1503
|
-
policy_hold: "policy_hold";
|
|
1504
|
-
}>;
|
|
1063
|
+
reasonClass: typeof AdmissionStopReasonClassSchema;
|
|
1505
1064
|
reason: z.ZodOptional<z.ZodString>;
|
|
1506
1065
|
}, z.core.$strict>;
|
|
1507
1066
|
}, z.core.$strict>;
|
|
1508
1067
|
/** Requests an audited resume of NEW workflow-job admission for the envelope's workspace. */
|
|
1509
1068
|
export declare const AdmissionResumeCommandSchema: z.ZodObject<{
|
|
1510
|
-
caller:
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
major: z.ZodNumber;
|
|
1515
|
-
minor: z.ZodNumber;
|
|
1516
|
-
}, z.core.$strict>;
|
|
1517
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1518
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
1069
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
1070
|
+
contractVersion: typeof ContractVersionSchema;
|
|
1071
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
1072
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
1519
1073
|
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
1520
|
-
correlation:
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
1526
|
-
idempotencyKey: z.ZodString;
|
|
1527
|
-
payloadHash: z.ZodString;
|
|
1528
|
-
issuedAt: z.ZodISODateTime;
|
|
1074
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1075
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
1076
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
1077
|
+
payloadHash: typeof PayloadHashSchema;
|
|
1078
|
+
issuedAt: typeof TimestampSchema;
|
|
1529
1079
|
payload: z.ZodObject<{
|
|
1530
|
-
reasonClass:
|
|
1531
|
-
cost_protection: "cost_protection";
|
|
1532
|
-
incident_response: "incident_response";
|
|
1533
|
-
operator_maintenance: "operator_maintenance";
|
|
1534
|
-
policy_hold: "policy_hold";
|
|
1535
|
-
}>;
|
|
1080
|
+
reasonClass: typeof AdmissionStopReasonClassSchema;
|
|
1536
1081
|
reason: z.ZodOptional<z.ZodString>;
|
|
1537
1082
|
}, z.core.$strict>;
|
|
1538
1083
|
operation: z.ZodLiteral<"execution.admission-resume">;
|
|
@@ -1543,19 +1088,12 @@ export declare const AdmissionResumeCommandSchema: z.ZodObject<{
|
|
|
1543
1088
|
* the workspace is in after the command committed.
|
|
1544
1089
|
*/
|
|
1545
1090
|
export declare const AdmissionControlCommandResultSchema: z.ZodObject<{
|
|
1546
|
-
contractVersion:
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
}, z.core.$strict>;
|
|
1550
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1551
|
-
correlation: z.ZodObject<{
|
|
1552
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1553
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1554
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1555
|
-
}, z.core.$strip>;
|
|
1091
|
+
contractVersion: typeof ContractVersionSchema;
|
|
1092
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
1093
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1556
1094
|
data: z.ZodObject<{
|
|
1557
|
-
commandId:
|
|
1558
|
-
workspaceId:
|
|
1095
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
1096
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
1559
1097
|
operation: z.ZodEnum<{
|
|
1560
1098
|
"execution.admission-resume": "execution.admission-resume";
|
|
1561
1099
|
"execution.admission-stop": "execution.admission-stop";
|
|
@@ -1575,30 +1113,21 @@ export type AdmissionStopCommand = z.input<typeof AdmissionStopCommandSchema>;
|
|
|
1575
1113
|
export type AdmissionResumeCommand = z.input<typeof AdmissionResumeCommandSchema>;
|
|
1576
1114
|
export type AdmissionControlCommandResult = z.output<typeof AdmissionControlCommandResultSchema>;
|
|
1577
1115
|
export declare const InteractionResponseCommandSchema: z.ZodObject<{
|
|
1578
|
-
caller:
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
correlation: z.ZodObject<{
|
|
1588
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1589
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1590
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1591
|
-
}, z.core.$strip>;
|
|
1592
|
-
commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
|
|
1593
|
-
idempotencyKey: z.ZodString;
|
|
1594
|
-
payloadHash: z.ZodString;
|
|
1595
|
-
projectId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>;
|
|
1116
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
1117
|
+
contractVersion: typeof ContractVersionSchema;
|
|
1118
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
1119
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
1120
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1121
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
1122
|
+
idempotencyKey: typeof IdempotencyKeySchema;
|
|
1123
|
+
payloadHash: typeof PayloadHashSchema;
|
|
1124
|
+
projectId: typeof IdentifierSchemas.projectId;
|
|
1596
1125
|
operation: z.ZodLiteral<"interaction.respond">;
|
|
1597
|
-
issuedAt:
|
|
1126
|
+
issuedAt: typeof TimestampSchema;
|
|
1598
1127
|
payload: z.ZodObject<{
|
|
1599
|
-
executionId:
|
|
1600
|
-
attemptId:
|
|
1601
|
-
interactionId:
|
|
1128
|
+
executionId: typeof IdentifierSchemas.executionId;
|
|
1129
|
+
attemptId: typeof IdentifierSchemas.attemptId;
|
|
1130
|
+
interactionId: typeof IdentifierSchemas.interactionId;
|
|
1602
1131
|
expectedVersion: z.ZodNumber;
|
|
1603
1132
|
action: z.ZodEnum<{
|
|
1604
1133
|
approve: "approve";
|
|
@@ -1613,22 +1142,15 @@ export declare const InteractionResponseCommandSchema: z.ZodObject<{
|
|
|
1613
1142
|
}, z.core.$strict>;
|
|
1614
1143
|
/** Acknowledges durable signal acceptance, not execution completion. */
|
|
1615
1144
|
export declare const InteractionResponseCommandResultSchema: z.ZodObject<{
|
|
1616
|
-
contractVersion:
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
}, z.core.$strict>;
|
|
1620
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
1621
|
-
correlation: z.ZodObject<{
|
|
1622
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
1623
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
1624
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
1625
|
-
}, z.core.$strip>;
|
|
1145
|
+
contractVersion: typeof ContractVersionSchema;
|
|
1146
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
1147
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
1626
1148
|
data: z.ZodObject<{
|
|
1627
|
-
commandId:
|
|
1628
|
-
responseId:
|
|
1629
|
-
executionId:
|
|
1630
|
-
attemptId:
|
|
1631
|
-
interactionId:
|
|
1149
|
+
commandId: typeof IdentifierSchemas.commandId;
|
|
1150
|
+
responseId: typeof IdentifierSchemas.commandId;
|
|
1151
|
+
executionId: typeof IdentifierSchemas.executionId;
|
|
1152
|
+
attemptId: typeof IdentifierSchemas.attemptId;
|
|
1153
|
+
interactionId: typeof IdentifierSchemas.interactionId;
|
|
1632
1154
|
status: z.ZodLiteral<"accepted">;
|
|
1633
1155
|
replayed: z.ZodBoolean;
|
|
1634
1156
|
}, z.core.$strict>;
|
|
@@ -1940,4 +1462,4 @@ export declare const CredentialApiFixtures: Readonly<{
|
|
|
1940
1462
|
};
|
|
1941
1463
|
};
|
|
1942
1464
|
}>;
|
|
1943
|
-
|
|
1465
|
+
export {};
|