@sequenceholdings/agent-spec 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/README.md +93 -0
  2. package/dist/agent-definition.d.ts +616 -0
  3. package/dist/agent-definition.js +240 -0
  4. package/dist/canonical-json.d.ts +2 -0
  5. package/dist/canonical-json.js +13 -0
  6. package/dist/index.d.ts +2 -117
  7. package/dist/index.js +2 -248
  8. package/dist/input-schema.d.ts +19 -0
  9. package/dist/input-schema.js +57 -0
  10. package/dist/voice-access.d.ts +40 -0
  11. package/dist/voice-access.js +34 -0
  12. package/dist/voice-actions-contracts.d.ts +423 -0
  13. package/dist/voice-actions-contracts.js +95 -0
  14. package/dist/voice-actions-transitions.d.ts +52 -0
  15. package/dist/voice-actions-transitions.js +170 -0
  16. package/dist/voice-actions.d.ts +2 -0
  17. package/dist/voice-actions.js +2 -0
  18. package/dist/voice-api.d.ts +1102 -0
  19. package/dist/voice-api.js +164 -0
  20. package/dist/voice-authoring.d.ts +463 -0
  21. package/dist/voice-authoring.js +132 -0
  22. package/dist/voice-authority-contracts.d.ts +247 -0
  23. package/dist/voice-authority-contracts.js +177 -0
  24. package/dist/voice-authority-evaluation.d.ts +29 -0
  25. package/dist/voice-authority-evaluation.js +80 -0
  26. package/dist/voice-authority-verification.d.ts +47 -0
  27. package/dist/voice-authority-verification.js +184 -0
  28. package/dist/voice-authority.d.ts +3 -0
  29. package/dist/voice-authority.js +3 -0
  30. package/dist/voice-common.d.ts +21 -0
  31. package/dist/voice-common.js +23 -0
  32. package/dist/voice-drafts.d.ts +441 -0
  33. package/dist/voice-drafts.js +75 -0
  34. package/dist/voice-grant.d.ts +19 -0
  35. package/dist/voice-grant.js +21 -0
  36. package/dist/voice-lifecycle-control.d.ts +130 -0
  37. package/dist/voice-lifecycle-control.js +138 -0
  38. package/dist/voice-lifecycle-session.d.ts +168 -0
  39. package/dist/voice-lifecycle-session.js +114 -0
  40. package/dist/voice-lifecycle-states.d.ts +96 -0
  41. package/dist/voice-lifecycle-states.js +139 -0
  42. package/dist/voice-lifecycle.d.ts +3 -0
  43. package/dist/voice-lifecycle.js +3 -0
  44. package/dist/voice-policy-duration.d.ts +46 -0
  45. package/dist/voice-policy-duration.js +166 -0
  46. package/dist/voice-policy-limits.d.ts +174 -0
  47. package/dist/voice-policy-limits.js +188 -0
  48. package/dist/voice-policy.d.ts +2 -0
  49. package/dist/voice-policy.js +2 -0
  50. package/dist/voice-provider-evidence.d.ts +80 -0
  51. package/dist/voice-provider-evidence.js +115 -0
  52. package/dist/voice-provider-publication.d.ts +319 -0
  53. package/dist/voice-provider-publication.js +117 -0
  54. package/dist/voice-provider-release.d.ts +386 -0
  55. package/dist/voice-provider-release.js +154 -0
  56. package/dist/voice-provider.d.ts +3 -0
  57. package/dist/voice-provider.js +3 -0
  58. package/dist/voice-release.d.ts +808 -0
  59. package/dist/voice-release.js +110 -0
  60. package/dist/voice-runs-audio.d.ts +157 -0
  61. package/dist/voice-runs-audio.js +85 -0
  62. package/dist/voice-runs-evidence.d.ts +183 -0
  63. package/dist/voice-runs-evidence.js +154 -0
  64. package/dist/voice-runs-model.d.ts +967 -0
  65. package/dist/voice-runs-model.js +199 -0
  66. package/dist/voice-runs-tooling.d.ts +88 -0
  67. package/dist/voice-runs-tooling.js +100 -0
  68. package/dist/voice-runs.d.ts +4 -0
  69. package/dist/voice-runs.js +4 -0
  70. package/dist/voice.d.ts +13 -0
  71. package/dist/voice.js +13 -0
  72. package/package.json +8 -3
@@ -0,0 +1,808 @@
1
+ import { z } from 'zod';
2
+ export declare const voiceDefinitionSnapshotSchema: z.ZodObject<{
3
+ agentVersionId: z.ZodString;
4
+ definition: z.ZodObject<{
5
+ name: z.ZodString;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ id: z.ZodString;
8
+ permissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
+ type: z.ZodEnum<{
10
+ user: "user";
11
+ group: "group";
12
+ }>;
13
+ id: z.ZodString;
14
+ role: z.ZodEnum<{
15
+ owner: "owner";
16
+ editor: "editor";
17
+ invoker: "invoker";
18
+ outputs_viewer: "outputs_viewer";
19
+ }>;
20
+ }, z.core.$strip>>>;
21
+ mode: z.ZodLiteral<"voice">;
22
+ model: z.ZodObject<{
23
+ provider: z.ZodString;
24
+ name: z.ZodString;
25
+ }, z.core.$strict>;
26
+ systemPrompt: z.ZodString;
27
+ skills: z.ZodPipe<z.ZodDefault<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[]>>;
28
+ voice: z.ZodPipe<z.ZodObject<{
29
+ schemaVersion: z.ZodLiteral<"1">;
30
+ voice: z.ZodString;
31
+ language: z.ZodString;
32
+ firstMessage: z.ZodString;
33
+ procedures: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
34
+ key: z.ZodString;
35
+ name: z.ZodString;
36
+ instructions: z.ZodString;
37
+ activationDescription: z.ZodString;
38
+ source: z.ZodObject<{
39
+ skillId: z.ZodString;
40
+ contentHash: z.ZodOptional<z.ZodString>;
41
+ }, z.core.$strict>;
42
+ toolAliases: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>>;
43
+ subprocedures: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>>;
44
+ }, z.core.$strict>, z.ZodTransform<{
45
+ source: {
46
+ skillId: string;
47
+ contentHash: string;
48
+ };
49
+ key: string;
50
+ name: string;
51
+ instructions: string;
52
+ activationDescription: string;
53
+ toolAliases: string[];
54
+ subprocedures: string[];
55
+ }, {
56
+ key: string;
57
+ name: string;
58
+ instructions: string;
59
+ activationDescription: string;
60
+ source: {
61
+ skillId: string;
62
+ contentHash?: string | undefined;
63
+ };
64
+ toolAliases: string[];
65
+ subprocedures: string[];
66
+ }>>>>;
67
+ tools: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
68
+ alias: z.ZodString;
69
+ description: z.ZodString;
70
+ managedFunction: z.ZodObject<{
71
+ ref: z.ZodString;
72
+ operation: z.ZodString;
73
+ }, z.core.$strict>;
74
+ inputMappings: z.ZodDefault<z.ZodArray<z.ZodObject<{
75
+ argument: z.ZodString;
76
+ parameter: z.ZodString;
77
+ }, z.core.$strict>>>;
78
+ outputMappings: z.ZodDefault<z.ZodArray<z.ZodObject<{
79
+ field: z.ZodString;
80
+ result: z.ZodString;
81
+ }, z.core.$strict>>>;
82
+ }, z.core.$strict>, z.ZodTransform<{
83
+ inputMappings: {
84
+ argument: string;
85
+ parameter: string;
86
+ }[];
87
+ outputMappings: {
88
+ field: string;
89
+ result: string;
90
+ }[];
91
+ alias: string;
92
+ description: string;
93
+ managedFunction: {
94
+ ref: string;
95
+ operation: string;
96
+ };
97
+ }, {
98
+ alias: string;
99
+ description: string;
100
+ managedFunction: {
101
+ ref: string;
102
+ operation: string;
103
+ };
104
+ inputMappings: {
105
+ argument: string;
106
+ parameter: string;
107
+ }[];
108
+ outputMappings: {
109
+ field: string;
110
+ result: string;
111
+ }[];
112
+ }>>>>;
113
+ }, z.core.$strict>, z.ZodTransform<{
114
+ procedures: {
115
+ source: {
116
+ skillId: string;
117
+ contentHash: string;
118
+ };
119
+ key: string;
120
+ name: string;
121
+ instructions: string;
122
+ activationDescription: string;
123
+ toolAliases: string[];
124
+ subprocedures: string[];
125
+ }[];
126
+ tools: {
127
+ inputMappings: {
128
+ argument: string;
129
+ parameter: string;
130
+ }[];
131
+ outputMappings: {
132
+ field: string;
133
+ result: string;
134
+ }[];
135
+ alias: string;
136
+ description: string;
137
+ managedFunction: {
138
+ ref: string;
139
+ operation: string;
140
+ };
141
+ }[];
142
+ schemaVersion: "1";
143
+ voice: string;
144
+ language: string;
145
+ firstMessage: string;
146
+ }, {
147
+ schemaVersion: "1";
148
+ voice: string;
149
+ language: string;
150
+ firstMessage: string;
151
+ procedures: {
152
+ source: {
153
+ skillId: string;
154
+ contentHash: string;
155
+ };
156
+ key: string;
157
+ name: string;
158
+ instructions: string;
159
+ activationDescription: string;
160
+ toolAliases: string[];
161
+ subprocedures: string[];
162
+ }[];
163
+ tools: {
164
+ inputMappings: {
165
+ argument: string;
166
+ parameter: string;
167
+ }[];
168
+ outputMappings: {
169
+ field: string;
170
+ result: string;
171
+ }[];
172
+ alias: string;
173
+ description: string;
174
+ managedFunction: {
175
+ ref: string;
176
+ operation: string;
177
+ };
178
+ }[];
179
+ }>>;
180
+ isPublic: z.ZodOptional<z.ZodLiteral<false>>;
181
+ publicOutputs: z.ZodOptional<z.ZodLiteral<false>>;
182
+ }, z.core.$strict>;
183
+ authoredDefinitionHash: z.ZodString;
184
+ }, z.core.$strict>;
185
+ export type VoiceDefinitionSnapshot = z.infer<typeof voiceDefinitionSnapshotSchema>;
186
+ export declare const voiceReleaseRecordSchema: z.ZodObject<{
187
+ lifecycle: z.ZodObject<{
188
+ tenantId: z.ZodString;
189
+ environmentId: z.ZodString;
190
+ agentId: z.ZodString;
191
+ releaseId: z.ZodString;
192
+ publicationOperationId: z.ZodString;
193
+ state: z.ZodEnum<{
194
+ PREPARING: "PREPARING";
195
+ READY: "READY";
196
+ ACTIVE: "ACTIVE";
197
+ RETIRED: "RETIRED";
198
+ FAILED: "FAILED";
199
+ RECONCILIATION_REQUIRED: "RECONCILIATION_REQUIRED";
200
+ }>;
201
+ revision: z.ZodNumber;
202
+ createdAt: z.ZodISODateTime;
203
+ updatedAt: z.ZodISODateTime;
204
+ }, z.core.$strict>;
205
+ snapshot: z.ZodNullable<z.ZodObject<{
206
+ agentVersionId: z.ZodString;
207
+ definition: z.ZodObject<{
208
+ name: z.ZodString;
209
+ description: z.ZodOptional<z.ZodString>;
210
+ id: z.ZodString;
211
+ permissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
212
+ type: z.ZodEnum<{
213
+ user: "user";
214
+ group: "group";
215
+ }>;
216
+ id: z.ZodString;
217
+ role: z.ZodEnum<{
218
+ owner: "owner";
219
+ editor: "editor";
220
+ invoker: "invoker";
221
+ outputs_viewer: "outputs_viewer";
222
+ }>;
223
+ }, z.core.$strip>>>;
224
+ mode: z.ZodLiteral<"voice">;
225
+ model: z.ZodObject<{
226
+ provider: z.ZodString;
227
+ name: z.ZodString;
228
+ }, z.core.$strict>;
229
+ systemPrompt: z.ZodString;
230
+ skills: z.ZodPipe<z.ZodDefault<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[]>>;
231
+ voice: z.ZodPipe<z.ZodObject<{
232
+ schemaVersion: z.ZodLiteral<"1">;
233
+ voice: z.ZodString;
234
+ language: z.ZodString;
235
+ firstMessage: z.ZodString;
236
+ procedures: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
237
+ key: z.ZodString;
238
+ name: z.ZodString;
239
+ instructions: z.ZodString;
240
+ activationDescription: z.ZodString;
241
+ source: z.ZodObject<{
242
+ skillId: z.ZodString;
243
+ contentHash: z.ZodOptional<z.ZodString>;
244
+ }, z.core.$strict>;
245
+ toolAliases: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>>;
246
+ subprocedures: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>>;
247
+ }, z.core.$strict>, z.ZodTransform<{
248
+ source: {
249
+ skillId: string;
250
+ contentHash: string;
251
+ };
252
+ key: string;
253
+ name: string;
254
+ instructions: string;
255
+ activationDescription: string;
256
+ toolAliases: string[];
257
+ subprocedures: string[];
258
+ }, {
259
+ key: string;
260
+ name: string;
261
+ instructions: string;
262
+ activationDescription: string;
263
+ source: {
264
+ skillId: string;
265
+ contentHash?: string | undefined;
266
+ };
267
+ toolAliases: string[];
268
+ subprocedures: string[];
269
+ }>>>>;
270
+ tools: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
271
+ alias: z.ZodString;
272
+ description: z.ZodString;
273
+ managedFunction: z.ZodObject<{
274
+ ref: z.ZodString;
275
+ operation: z.ZodString;
276
+ }, z.core.$strict>;
277
+ inputMappings: z.ZodDefault<z.ZodArray<z.ZodObject<{
278
+ argument: z.ZodString;
279
+ parameter: z.ZodString;
280
+ }, z.core.$strict>>>;
281
+ outputMappings: z.ZodDefault<z.ZodArray<z.ZodObject<{
282
+ field: z.ZodString;
283
+ result: z.ZodString;
284
+ }, z.core.$strict>>>;
285
+ }, z.core.$strict>, z.ZodTransform<{
286
+ inputMappings: {
287
+ argument: string;
288
+ parameter: string;
289
+ }[];
290
+ outputMappings: {
291
+ field: string;
292
+ result: string;
293
+ }[];
294
+ alias: string;
295
+ description: string;
296
+ managedFunction: {
297
+ ref: string;
298
+ operation: string;
299
+ };
300
+ }, {
301
+ alias: string;
302
+ description: string;
303
+ managedFunction: {
304
+ ref: string;
305
+ operation: string;
306
+ };
307
+ inputMappings: {
308
+ argument: string;
309
+ parameter: string;
310
+ }[];
311
+ outputMappings: {
312
+ field: string;
313
+ result: string;
314
+ }[];
315
+ }>>>>;
316
+ }, z.core.$strict>, z.ZodTransform<{
317
+ procedures: {
318
+ source: {
319
+ skillId: string;
320
+ contentHash: string;
321
+ };
322
+ key: string;
323
+ name: string;
324
+ instructions: string;
325
+ activationDescription: string;
326
+ toolAliases: string[];
327
+ subprocedures: string[];
328
+ }[];
329
+ tools: {
330
+ inputMappings: {
331
+ argument: string;
332
+ parameter: string;
333
+ }[];
334
+ outputMappings: {
335
+ field: string;
336
+ result: string;
337
+ }[];
338
+ alias: string;
339
+ description: string;
340
+ managedFunction: {
341
+ ref: string;
342
+ operation: string;
343
+ };
344
+ }[];
345
+ schemaVersion: "1";
346
+ voice: string;
347
+ language: string;
348
+ firstMessage: string;
349
+ }, {
350
+ schemaVersion: "1";
351
+ voice: string;
352
+ language: string;
353
+ firstMessage: string;
354
+ procedures: {
355
+ source: {
356
+ skillId: string;
357
+ contentHash: string;
358
+ };
359
+ key: string;
360
+ name: string;
361
+ instructions: string;
362
+ activationDescription: string;
363
+ toolAliases: string[];
364
+ subprocedures: string[];
365
+ }[];
366
+ tools: {
367
+ inputMappings: {
368
+ argument: string;
369
+ parameter: string;
370
+ }[];
371
+ outputMappings: {
372
+ field: string;
373
+ result: string;
374
+ }[];
375
+ alias: string;
376
+ description: string;
377
+ managedFunction: {
378
+ ref: string;
379
+ operation: string;
380
+ };
381
+ }[];
382
+ }>>;
383
+ isPublic: z.ZodOptional<z.ZodLiteral<false>>;
384
+ publicOutputs: z.ZodOptional<z.ZodLiteral<false>>;
385
+ }, z.core.$strict>;
386
+ authoredDefinitionHash: z.ZodString;
387
+ }, z.core.$strict>>;
388
+ runtimeBinding: z.ZodNullable<z.ZodObject<{
389
+ tenantId: z.ZodString;
390
+ environmentId: z.ZodString;
391
+ runtimeAccountId: z.ZodString;
392
+ observedRegistryUpdatedAt: z.ZodISODateTime;
393
+ checkedAt: z.ZodISODateTime;
394
+ accountStatus: z.ZodEnum<{
395
+ ACTIVE: "ACTIVE";
396
+ DISABLED: "DISABLED";
397
+ }>;
398
+ systemRunner: z.ZodLiteral<false>;
399
+ }, z.core.$strict>>;
400
+ toolReviews: z.ZodArray<z.ZodObject<{
401
+ reviewId: z.ZodString;
402
+ releaseId: z.ZodString;
403
+ scope: z.ZodObject<{
404
+ tenantId: z.ZodString;
405
+ environmentId: z.ZodString;
406
+ agentId: z.ZodString;
407
+ }, z.core.$strict>;
408
+ reviewKind: z.ZodEnum<{
409
+ performed: "performed";
410
+ reused: "reused";
411
+ }>;
412
+ reusedFromReviewId: z.ZodNullable<z.ZodString>;
413
+ reviewerPrincipalId: z.ZodString;
414
+ reviewedAt: z.ZodISODateTime;
415
+ syntheticOnlyConfirmed: z.ZodLiteral<true>;
416
+ requirement: z.ZodDiscriminatedUnion<[z.ZodObject<{
417
+ authority: z.ZodLiteral<"public">;
418
+ effect: z.ZodLiteral<"pure_input_computation">;
419
+ }, z.core.$strict>, z.ZodObject<{
420
+ authority: z.ZodLiteral<"public">;
421
+ effect: z.ZodLiteral<"unverified_write">;
422
+ }, z.core.$strict>, z.ZodObject<{
423
+ authority: z.ZodLiteral<"authentication">;
424
+ effect: z.ZodLiteral<"resource_verification">;
425
+ resourceKind: z.ZodString;
426
+ }, z.core.$strict>, z.ZodObject<{
427
+ authority: z.ZodLiteral<"protected">;
428
+ effect: z.ZodEnum<{
429
+ resource_read: "resource_read";
430
+ resource_write: "resource_write";
431
+ }>;
432
+ resourceKind: z.ZodString;
433
+ }, z.core.$strict>], "effect">;
434
+ binding: z.ZodObject<{
435
+ toolAlias: z.ZodString;
436
+ operation: z.ZodString;
437
+ managedFunctionId: z.ZodString;
438
+ functionVersionId: z.ZodString;
439
+ sourceHash: z.ZodString;
440
+ manifestHash: z.ZodString;
441
+ dataBinding: z.ZodObject<{
442
+ attachedIdentityId: z.ZodString;
443
+ dataScopeHash: z.ZodString;
444
+ }, z.core.$strict>;
445
+ runtimeBinding: z.ZodObject<{
446
+ runtimeAccountId: z.ZodString;
447
+ permissionHash: z.ZodString;
448
+ }, z.core.$strict>;
449
+ }, z.core.$strict>;
450
+ }, z.core.$strict>>;
451
+ providerEvidence: z.ZodNullable<z.ZodObject<{
452
+ schemaVersion: z.ZodLiteral<"1">;
453
+ scope: z.ZodObject<{
454
+ tenantId: z.ZodString;
455
+ environmentId: z.ZodString;
456
+ agentId: z.ZodString;
457
+ }, z.core.$strict>;
458
+ releaseId: z.ZodString;
459
+ publicationOperationId: z.ZodString;
460
+ agentVersionId: z.ZodString;
461
+ createdByPrincipalId: z.ZodString;
462
+ createdAt: z.ZodISODateTime;
463
+ inputEvidence: z.ZodObject<{
464
+ authoredDefinitionHash: z.ZodString;
465
+ localProjectionCompilerVersion: z.ZodString;
466
+ localProjectionHash: z.ZodString;
467
+ eligibleToolCatalogHash: z.ZodString;
468
+ resolvedBindingHash: z.ZodString;
469
+ }, z.core.$strict>;
470
+ ownedReleaseMarker: z.ZodString;
471
+ providerAgentId: z.ZodString;
472
+ agentBranchVersion: z.ZodObject<{
473
+ identifierContract: z.ZodEnum<{
474
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
475
+ NOT_USED: "NOT_USED";
476
+ BRANCH_ONLY: "BRANCH_ONLY";
477
+ VERSION_ONLY: "VERSION_ONLY";
478
+ BRANCH_AND_VERSION: "BRANCH_AND_VERSION";
479
+ }>;
480
+ branchId: z.ZodNullable<z.ZodString>;
481
+ versionId: z.ZodNullable<z.ZodString>;
482
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
483
+ evidenceRef: z.ZodNullable<z.ZodString>;
484
+ }, z.core.$strict>;
485
+ procedureMappings: z.ZodArray<z.ZodObject<{
486
+ localProcedureKey: z.ZodString;
487
+ providerProcedureId: z.ZodString;
488
+ branchVersion: z.ZodObject<{
489
+ identifierContract: z.ZodEnum<{
490
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
491
+ NOT_USED: "NOT_USED";
492
+ BRANCH_ONLY: "BRANCH_ONLY";
493
+ VERSION_ONLY: "VERSION_ONLY";
494
+ BRANCH_AND_VERSION: "BRANCH_AND_VERSION";
495
+ }>;
496
+ branchId: z.ZodNullable<z.ZodString>;
497
+ versionId: z.ZodNullable<z.ZodString>;
498
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
499
+ evidenceRef: z.ZodNullable<z.ZodString>;
500
+ }, z.core.$strict>;
501
+ }, z.core.$strict>>;
502
+ publicationProgress: z.ZodObject<{
503
+ phase: z.ZodEnum<{
504
+ FAILED: "FAILED";
505
+ RECONCILIATION_REQUIRED: "RECONCILIATION_REQUIRED";
506
+ CREATE_AGENT: "CREATE_AGENT";
507
+ CREATE_PROCEDURES: "CREATE_PROCEDURES";
508
+ COMPILE: "COMPILE";
509
+ VALIDATE_GENERATED_WORKFLOW: "VALIDATE_GENERATED_WORKFLOW";
510
+ FINALIZE: "FINALIZE";
511
+ READBACK: "READBACK";
512
+ COMPLETE: "COMPLETE";
513
+ }>;
514
+ compile: z.ZodDiscriminatedUnion<[z.ZodObject<{
515
+ status: z.ZodLiteral<"NOT_STARTED">;
516
+ operationId: z.ZodString;
517
+ }, z.core.$strict>, z.ZodObject<{
518
+ lastObservedAt: z.ZodISODateTime;
519
+ operationId: z.ZodString;
520
+ startedAt: z.ZodISODateTime;
521
+ status: z.ZodLiteral<"IN_PROGRESS">;
522
+ }, z.core.$strict>, z.ZodObject<{
523
+ completedAt: z.ZodISODateTime;
524
+ receiptId: z.ZodNullable<z.ZodString>;
525
+ operationId: z.ZodString;
526
+ startedAt: z.ZodISODateTime;
527
+ status: z.ZodLiteral<"SUCCEEDED">;
528
+ }, z.core.$strict>, z.ZodObject<{
529
+ failedAt: z.ZodISODateTime;
530
+ errorCode: z.ZodString;
531
+ sanitizedMessage: z.ZodString;
532
+ retryable: z.ZodBoolean;
533
+ operationId: z.ZodString;
534
+ startedAt: z.ZodISODateTime;
535
+ status: z.ZodLiteral<"FAILED">;
536
+ }, z.core.$strict>, z.ZodObject<{
537
+ observedAt: z.ZodISODateTime;
538
+ reconciliationKey: z.ZodString;
539
+ sanitizedReason: z.ZodString;
540
+ operationId: z.ZodString;
541
+ startedAt: z.ZodISODateTime;
542
+ status: z.ZodLiteral<"UNKNOWN">;
543
+ }, z.core.$strict>], "status">;
544
+ finalization: z.ZodDiscriminatedUnion<[z.ZodObject<{
545
+ status: z.ZodLiteral<"NOT_STARTED">;
546
+ operationId: z.ZodString;
547
+ }, z.core.$strict>, z.ZodObject<{
548
+ lastObservedAt: z.ZodISODateTime;
549
+ operationId: z.ZodString;
550
+ startedAt: z.ZodISODateTime;
551
+ status: z.ZodLiteral<"IN_PROGRESS">;
552
+ }, z.core.$strict>, z.ZodObject<{
553
+ completedAt: z.ZodISODateTime;
554
+ receiptId: z.ZodNullable<z.ZodString>;
555
+ operationId: z.ZodString;
556
+ startedAt: z.ZodISODateTime;
557
+ status: z.ZodLiteral<"SUCCEEDED">;
558
+ }, z.core.$strict>, z.ZodObject<{
559
+ failedAt: z.ZodISODateTime;
560
+ errorCode: z.ZodString;
561
+ sanitizedMessage: z.ZodString;
562
+ retryable: z.ZodBoolean;
563
+ operationId: z.ZodString;
564
+ startedAt: z.ZodISODateTime;
565
+ status: z.ZodLiteral<"FAILED">;
566
+ }, z.core.$strict>, z.ZodObject<{
567
+ observedAt: z.ZodISODateTime;
568
+ reconciliationKey: z.ZodString;
569
+ sanitizedReason: z.ZodString;
570
+ operationId: z.ZodString;
571
+ startedAt: z.ZodISODateTime;
572
+ status: z.ZodLiteral<"UNKNOWN">;
573
+ }, z.core.$strict>], "status">;
574
+ updatedAt: z.ZodISODateTime;
575
+ }, z.core.$strict>;
576
+ generatedWorkflow: z.ZodObject<{
577
+ schemaVersion: z.ZodLiteral<"1">;
578
+ capturedAt: z.ZodISODateTime;
579
+ documentHash: z.ZodString;
580
+ sanitizedDocument: z.ZodJSONSchema;
581
+ normalized: z.ZodObject<{
582
+ authoritySource: z.ZodLiteral<"ATLAS_RELEASE_BINDINGS">;
583
+ procedures: z.ZodArray<z.ZodObject<{
584
+ localProcedureKey: z.ZodString;
585
+ providerProcedureId: z.ZodString;
586
+ toolAliases: z.ZodArray<z.ZodString>;
587
+ referencedProviderProcedureIds: z.ZodArray<z.ZodString>;
588
+ }, z.core.$strict>>;
589
+ toolAliases: z.ZodArray<z.ZodString>;
590
+ }, z.core.$strict>;
591
+ }, z.core.$strict>;
592
+ desiredConfiguration: z.ZodObject<{
593
+ configuration: z.ZodObject<{
594
+ providerAgentId: z.ZodString;
595
+ agentBranchVersion: z.ZodObject<{
596
+ identifierContract: z.ZodEnum<{
597
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
598
+ NOT_USED: "NOT_USED";
599
+ BRANCH_ONLY: "BRANCH_ONLY";
600
+ VERSION_ONLY: "VERSION_ONLY";
601
+ BRANCH_AND_VERSION: "BRANCH_AND_VERSION";
602
+ }>;
603
+ branchId: z.ZodNullable<z.ZodString>;
604
+ versionId: z.ZodNullable<z.ZodString>;
605
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
606
+ evidenceRef: z.ZodNullable<z.ZodString>;
607
+ }, z.core.$strict>;
608
+ privacy: z.ZodLiteral<"PRIVATE">;
609
+ procedureMappings: z.ZodArray<z.ZodObject<{
610
+ localProcedureKey: z.ZodString;
611
+ providerProcedureId: z.ZodString;
612
+ branchVersion: z.ZodObject<{
613
+ identifierContract: z.ZodEnum<{
614
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
615
+ NOT_USED: "NOT_USED";
616
+ BRANCH_ONLY: "BRANCH_ONLY";
617
+ VERSION_ONLY: "VERSION_ONLY";
618
+ BRANCH_AND_VERSION: "BRANCH_AND_VERSION";
619
+ }>;
620
+ branchId: z.ZodNullable<z.ZodString>;
621
+ versionId: z.ZodNullable<z.ZodString>;
622
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
623
+ evidenceRef: z.ZodNullable<z.ZodString>;
624
+ }, z.core.$strict>;
625
+ }, z.core.$strict>>;
626
+ toolAliases: z.ZodArray<z.ZodString>;
627
+ generatedWorkflowHash: z.ZodString;
628
+ maxCallDurationSeconds: z.ZodNumber;
629
+ providerDurationCeilingSeconds: z.ZodNumber;
630
+ recordingEnabled: z.ZodBoolean;
631
+ retentionDays: z.ZodLiteral<-1>;
632
+ telephonyConnection: z.ZodLiteral<"ATLAS_TWILIO_REGISTER_CALL">;
633
+ directProviderConversationAccess: z.ZodLiteral<false>;
634
+ transfersEnabled: z.ZodLiteral<false>;
635
+ authoritySource: z.ZodLiteral<"ATLAS_RELEASE_BINDINGS">;
636
+ }, z.core.$strict>;
637
+ configurationHash: z.ZodString;
638
+ capturedAt: z.ZodISODateTime;
639
+ }, z.core.$strict>;
640
+ readbackEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
641
+ status: z.ZodLiteral<"VERIFIED">;
642
+ configuration: z.ZodObject<{
643
+ providerAgentId: z.ZodString;
644
+ agentBranchVersion: z.ZodObject<{
645
+ identifierContract: z.ZodEnum<{
646
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
647
+ NOT_USED: "NOT_USED";
648
+ BRANCH_ONLY: "BRANCH_ONLY";
649
+ VERSION_ONLY: "VERSION_ONLY";
650
+ BRANCH_AND_VERSION: "BRANCH_AND_VERSION";
651
+ }>;
652
+ branchId: z.ZodNullable<z.ZodString>;
653
+ versionId: z.ZodNullable<z.ZodString>;
654
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
655
+ evidenceRef: z.ZodNullable<z.ZodString>;
656
+ }, z.core.$strict>;
657
+ privacy: z.ZodLiteral<"PRIVATE">;
658
+ procedureMappings: z.ZodArray<z.ZodObject<{
659
+ localProcedureKey: z.ZodString;
660
+ providerProcedureId: z.ZodString;
661
+ branchVersion: z.ZodObject<{
662
+ identifierContract: z.ZodEnum<{
663
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
664
+ NOT_USED: "NOT_USED";
665
+ BRANCH_ONLY: "BRANCH_ONLY";
666
+ VERSION_ONLY: "VERSION_ONLY";
667
+ BRANCH_AND_VERSION: "BRANCH_AND_VERSION";
668
+ }>;
669
+ branchId: z.ZodNullable<z.ZodString>;
670
+ versionId: z.ZodNullable<z.ZodString>;
671
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
672
+ evidenceRef: z.ZodNullable<z.ZodString>;
673
+ }, z.core.$strict>;
674
+ }, z.core.$strict>>;
675
+ toolAliases: z.ZodArray<z.ZodString>;
676
+ generatedWorkflowHash: z.ZodString;
677
+ maxCallDurationSeconds: z.ZodNumber;
678
+ providerDurationCeilingSeconds: z.ZodNumber;
679
+ recordingEnabled: z.ZodBoolean;
680
+ retentionDays: z.ZodLiteral<-1>;
681
+ telephonyConnection: z.ZodLiteral<"ATLAS_TWILIO_REGISTER_CALL">;
682
+ directProviderConversationAccess: z.ZodLiteral<false>;
683
+ transfersEnabled: z.ZodLiteral<false>;
684
+ authoritySource: z.ZodLiteral<"ATLAS_RELEASE_BINDINGS">;
685
+ }, z.core.$strict>;
686
+ configurationHash: z.ZodString;
687
+ observedAt: z.ZodISODateTime;
688
+ evidenceRef: z.ZodString;
689
+ sanitizedDetail: z.ZodNullable<z.ZodString>;
690
+ }, z.core.$strict>, z.ZodObject<{
691
+ status: z.ZodEnum<{
692
+ INCOMPLETE: "INCOMPLETE";
693
+ CONTRADICTORY: "CONTRADICTORY";
694
+ }>;
695
+ configuration: z.ZodNullable<z.ZodObject<{
696
+ providerAgentId: z.ZodString;
697
+ agentBranchVersion: z.ZodObject<{
698
+ identifierContract: z.ZodEnum<{
699
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
700
+ NOT_USED: "NOT_USED";
701
+ BRANCH_ONLY: "BRANCH_ONLY";
702
+ VERSION_ONLY: "VERSION_ONLY";
703
+ BRANCH_AND_VERSION: "BRANCH_AND_VERSION";
704
+ }>;
705
+ branchId: z.ZodNullable<z.ZodString>;
706
+ versionId: z.ZodNullable<z.ZodString>;
707
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
708
+ evidenceRef: z.ZodNullable<z.ZodString>;
709
+ }, z.core.$strict>;
710
+ privacy: z.ZodLiteral<"PRIVATE">;
711
+ procedureMappings: z.ZodArray<z.ZodObject<{
712
+ localProcedureKey: z.ZodString;
713
+ providerProcedureId: z.ZodString;
714
+ branchVersion: z.ZodObject<{
715
+ identifierContract: z.ZodEnum<{
716
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
717
+ NOT_USED: "NOT_USED";
718
+ BRANCH_ONLY: "BRANCH_ONLY";
719
+ VERSION_ONLY: "VERSION_ONLY";
720
+ BRANCH_AND_VERSION: "BRANCH_AND_VERSION";
721
+ }>;
722
+ branchId: z.ZodNullable<z.ZodString>;
723
+ versionId: z.ZodNullable<z.ZodString>;
724
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
725
+ evidenceRef: z.ZodNullable<z.ZodString>;
726
+ }, z.core.$strict>;
727
+ }, z.core.$strict>>;
728
+ toolAliases: z.ZodArray<z.ZodString>;
729
+ generatedWorkflowHash: z.ZodString;
730
+ maxCallDurationSeconds: z.ZodNumber;
731
+ providerDurationCeilingSeconds: z.ZodNumber;
732
+ recordingEnabled: z.ZodBoolean;
733
+ retentionDays: z.ZodLiteral<-1>;
734
+ telephonyConnection: z.ZodLiteral<"ATLAS_TWILIO_REGISTER_CALL">;
735
+ directProviderConversationAccess: z.ZodLiteral<false>;
736
+ transfersEnabled: z.ZodLiteral<false>;
737
+ authoritySource: z.ZodLiteral<"ATLAS_RELEASE_BINDINGS">;
738
+ }, z.core.$strict>>;
739
+ configurationHash: z.ZodNullable<z.ZodString>;
740
+ observedAt: z.ZodISODateTime;
741
+ evidenceRef: z.ZodNullable<z.ZodString>;
742
+ sanitizedDetail: z.ZodString;
743
+ }, z.core.$strict>], "status">;
744
+ capabilityGates: z.ZodObject<{
745
+ procedureLifecycle: z.ZodObject<{
746
+ status: z.ZodEnum<{
747
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
748
+ VERIFIED_SUPPORTED: "VERIFIED_SUPPORTED";
749
+ VERIFIED_UNSUPPORTED: "VERIFIED_UNSUPPORTED";
750
+ DEFERRED: "DEFERRED";
751
+ }>;
752
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
753
+ verifiedByPrincipalId: z.ZodNullable<z.ZodString>;
754
+ evidenceRef: z.ZodNullable<z.ZodString>;
755
+ sanitizedNote: z.ZodNullable<z.ZodString>;
756
+ }, z.core.$strict>;
757
+ durationEnforcement: z.ZodObject<{
758
+ status: z.ZodEnum<{
759
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
760
+ VERIFIED_SUPPORTED: "VERIFIED_SUPPORTED";
761
+ VERIFIED_UNSUPPORTED: "VERIFIED_UNSUPPORTED";
762
+ DEFERRED: "DEFERRED";
763
+ }>;
764
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
765
+ verifiedByPrincipalId: z.ZodNullable<z.ZodString>;
766
+ evidenceRef: z.ZodNullable<z.ZodString>;
767
+ sanitizedNote: z.ZodNullable<z.ZodString>;
768
+ }, z.core.$strict>;
769
+ recording: z.ZodObject<{
770
+ status: z.ZodEnum<{
771
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
772
+ VERIFIED_SUPPORTED: "VERIFIED_SUPPORTED";
773
+ VERIFIED_UNSUPPORTED: "VERIFIED_UNSUPPORTED";
774
+ DEFERRED: "DEFERRED";
775
+ }>;
776
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
777
+ verifiedByPrincipalId: z.ZodNullable<z.ZodString>;
778
+ evidenceRef: z.ZodNullable<z.ZodString>;
779
+ sanitizedNote: z.ZodNullable<z.ZodString>;
780
+ }, z.core.$strict>;
781
+ unlimitedRecordingRetention: z.ZodObject<{
782
+ status: z.ZodEnum<{
783
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
784
+ VERIFIED_SUPPORTED: "VERIFIED_SUPPORTED";
785
+ VERIFIED_UNSUPPORTED: "VERIFIED_UNSUPPORTED";
786
+ DEFERRED: "DEFERRED";
787
+ }>;
788
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
789
+ verifiedByPrincipalId: z.ZodNullable<z.ZodString>;
790
+ evidenceRef: z.ZodNullable<z.ZodString>;
791
+ sanitizedNote: z.ZodNullable<z.ZodString>;
792
+ }, z.core.$strict>;
793
+ audioRetrieval: z.ZodObject<{
794
+ status: z.ZodEnum<{
795
+ LIVE_PROOF_PENDING: "LIVE_PROOF_PENDING";
796
+ VERIFIED_SUPPORTED: "VERIFIED_SUPPORTED";
797
+ VERIFIED_UNSUPPORTED: "VERIFIED_UNSUPPORTED";
798
+ DEFERRED: "DEFERRED";
799
+ }>;
800
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
801
+ verifiedByPrincipalId: z.ZodNullable<z.ZodString>;
802
+ evidenceRef: z.ZodNullable<z.ZodString>;
803
+ sanitizedNote: z.ZodNullable<z.ZodString>;
804
+ }, z.core.$strict>;
805
+ }, z.core.$strict>;
806
+ }, z.core.$strict>>;
807
+ }, z.core.$strict>;
808
+ export type VoiceReleaseRecord = z.infer<typeof voiceReleaseRecordSchema>;