@automate.ax/api-contract 0.44.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation.d.ts +106 -0
- package/dist/automation.js +94 -0
- package/dist/deployment.d.ts +2 -0
- package/dist/deployment.js +2 -0
- package/dist/index.d.ts +542 -32
- package/dist/index.js +3 -0
- package/dist/project.d.ts +8 -0
- package/dist/project.js +2 -0
- package/dist/runtime.d.ts +319 -32
- package/dist/runtime.js +203 -71
- package/package.json +2 -2
- package/src/automation.ts +108 -0
- package/src/deployment.ts +2 -0
- package/src/index.ts +3 -0
- package/src/project.ts +2 -0
- package/src/runtime.ts +219 -73
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { automationExecutionStatusSchema } from "./automation.js";
|
|
1
2
|
export { AUTOMATION_SDK_VERSION, deploymentTriggerInfoSchema, type DeploymentTriggerInfo, } from "./deployment.js";
|
|
2
3
|
export { integrationAccountOutputSchema } from "./account.js";
|
|
3
4
|
export { DEFAULT_GATEWAY_MODEL_ID, generationInputSchema, generationResultSchema, runtimeContract, type GenerationInput, type GenerationResult, type RuntimeGenerationInput, } from "./runtime.js";
|
|
@@ -204,6 +205,7 @@ export declare const publicContract: {
|
|
|
204
205
|
organizationId: import("zod").ZodString;
|
|
205
206
|
name: import("zod").ZodString;
|
|
206
207
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
208
|
+
activeDeploymentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
207
209
|
id: import("zod").ZodString;
|
|
208
210
|
name: import("zod").ZodString;
|
|
209
211
|
organizationId: import("zod").ZodString;
|
|
@@ -215,6 +217,7 @@ export declare const publicContract: {
|
|
|
215
217
|
}, import("zod/v4/core").$strip>;
|
|
216
218
|
activeAutomations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
217
219
|
description: import("zod").ZodString;
|
|
220
|
+
id: import("zod").ZodString;
|
|
218
221
|
identityKey: import("zod").ZodString;
|
|
219
222
|
}, import("zod/v4/core").$strip>>;
|
|
220
223
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -224,6 +227,7 @@ export declare const publicContract: {
|
|
|
224
227
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
225
228
|
projectId: import("zod").ZodString;
|
|
226
229
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
230
|
+
activeDeploymentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
227
231
|
id: import("zod").ZodString;
|
|
228
232
|
name: import("zod").ZodString;
|
|
229
233
|
organizationId: import("zod").ZodString;
|
|
@@ -235,6 +239,7 @@ export declare const publicContract: {
|
|
|
235
239
|
}, import("zod/v4/core").$strip>;
|
|
236
240
|
activeAutomations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
237
241
|
description: import("zod").ZodString;
|
|
242
|
+
id: import("zod").ZodString;
|
|
238
243
|
identityKey: import("zod").ZodString;
|
|
239
244
|
}, import("zod/v4/core").$strip>>;
|
|
240
245
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -242,6 +247,7 @@ export declare const publicContract: {
|
|
|
242
247
|
organizationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
243
248
|
query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
244
249
|
}, import("zod/v4/core").$strip>>, import("zod").ZodArray<import("zod").ZodObject<{
|
|
250
|
+
activeDeploymentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
245
251
|
id: import("zod").ZodString;
|
|
246
252
|
name: import("zod").ZodString;
|
|
247
253
|
organizationId: import("zod").ZodString;
|
|
@@ -253,6 +259,7 @@ export declare const publicContract: {
|
|
|
253
259
|
}, import("zod/v4/core").$strip>;
|
|
254
260
|
activeAutomations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
255
261
|
description: import("zod").ZodString;
|
|
262
|
+
id: import("zod").ZodString;
|
|
256
263
|
identityKey: import("zod").ZodString;
|
|
257
264
|
}, import("zod/v4/core").$strip>>;
|
|
258
265
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
@@ -374,6 +381,106 @@ export declare const firstPartyContract: {
|
|
|
374
381
|
serviceId: import("zod").ZodString;
|
|
375
382
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
376
383
|
};
|
|
384
|
+
automation: {
|
|
385
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
386
|
+
automationId: import("zod").ZodString;
|
|
387
|
+
projectId: import("zod").ZodString;
|
|
388
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
389
|
+
activeDeployment: import("zod").ZodObject<{
|
|
390
|
+
createdAt: import("zod").ZodDate;
|
|
391
|
+
git: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
392
|
+
commitSha: import("zod").ZodString;
|
|
393
|
+
dirty: import("zod").ZodBoolean;
|
|
394
|
+
repositoryUrl: import("zod").ZodString;
|
|
395
|
+
}, import("zod/v4/core").$strip>>;
|
|
396
|
+
id: import("zod").ZodString;
|
|
397
|
+
}, import("zod/v4/core").$strip>;
|
|
398
|
+
createdAt: import("zod").ZodDate;
|
|
399
|
+
description: import("zod").ZodString;
|
|
400
|
+
id: import("zod").ZodString;
|
|
401
|
+
identityKey: import("zod").ZodString;
|
|
402
|
+
triggers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
403
|
+
details: import("zod").ZodArray<import("zod").ZodObject<{
|
|
404
|
+
label: import("zod").ZodString;
|
|
405
|
+
value: import("zod").ZodString;
|
|
406
|
+
}, import("zod/v4/core").$strip>>;
|
|
407
|
+
name: import("zod").ZodString;
|
|
408
|
+
type: import("zod").ZodString;
|
|
409
|
+
}, import("zod/v4/core").$strip>>;
|
|
410
|
+
updatedAt: import("zod").ZodDate;
|
|
411
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
412
|
+
getExecution: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
413
|
+
automationId: import("zod").ZodString;
|
|
414
|
+
executionId: import("zod").ZodString;
|
|
415
|
+
projectId: import("zod").ZodString;
|
|
416
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
417
|
+
id: import("zod").ZodString;
|
|
418
|
+
status: import("zod").ZodEnum<{
|
|
419
|
+
failed: "failed";
|
|
420
|
+
running: "running";
|
|
421
|
+
completed: "completed";
|
|
422
|
+
}>;
|
|
423
|
+
createdAt: import("zod").ZodDate;
|
|
424
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
425
|
+
failure: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
426
|
+
message: import("zod").ZodString;
|
|
427
|
+
name: import("zod").ZodString;
|
|
428
|
+
}, import("zod/v4/core").$strip>>;
|
|
429
|
+
actions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
430
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
431
|
+
createdAt: import("zod").ZodDate;
|
|
432
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
433
|
+
failure: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
434
|
+
message: import("zod").ZodString;
|
|
435
|
+
name: import("zod").ZodString;
|
|
436
|
+
}, import("zod/v4/core").$strip>>;
|
|
437
|
+
hasOutput: import("zod").ZodBoolean;
|
|
438
|
+
id: import("zod").ZodString;
|
|
439
|
+
name: import("zod").ZodString;
|
|
440
|
+
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
441
|
+
slot: import("zod").ZodNumber;
|
|
442
|
+
status: import("zod").ZodEnum<{
|
|
443
|
+
pending: "pending";
|
|
444
|
+
succeeded: "succeeded";
|
|
445
|
+
failed: "failed";
|
|
446
|
+
skipped: "skipped";
|
|
447
|
+
}>;
|
|
448
|
+
}, import("zod/v4/core").$strip>>;
|
|
449
|
+
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
450
|
+
createdAt: import("zod").ZodDate;
|
|
451
|
+
id: import("zod").ZodString;
|
|
452
|
+
payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
453
|
+
type: import("zod").ZodString;
|
|
454
|
+
}, import("zod/v4/core").$strip>>;
|
|
455
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
456
|
+
actionInvocationId: import("zod").ZodString;
|
|
457
|
+
createdAt: import("zod").ZodDate;
|
|
458
|
+
data: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
459
|
+
id: import("zod").ZodString;
|
|
460
|
+
outputIndex: import("zod").ZodNumber;
|
|
461
|
+
type: import("zod").ZodString;
|
|
462
|
+
}, import("zod/v4/core").$strip>>;
|
|
463
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
464
|
+
listExecutions: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
465
|
+
automationId: import("zod").ZodString;
|
|
466
|
+
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
467
|
+
projectId: import("zod").ZodString;
|
|
468
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
|
|
469
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
470
|
+
createdAt: import("zod").ZodDate;
|
|
471
|
+
eventTypes: import("zod").ZodArray<import("zod").ZodString>;
|
|
472
|
+
failure: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
473
|
+
message: import("zod").ZodString;
|
|
474
|
+
name: import("zod").ZodString;
|
|
475
|
+
}, import("zod/v4/core").$strip>>;
|
|
476
|
+
id: import("zod").ZodString;
|
|
477
|
+
status: import("zod").ZodEnum<{
|
|
478
|
+
failed: "failed";
|
|
479
|
+
running: "running";
|
|
480
|
+
completed: "completed";
|
|
481
|
+
}>;
|
|
482
|
+
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
483
|
+
};
|
|
377
484
|
authorization: {
|
|
378
485
|
beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
379
486
|
binding: import("zod").ZodString;
|
|
@@ -530,6 +637,7 @@ export declare const firstPartyContract: {
|
|
|
530
637
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
531
638
|
automations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
532
639
|
description: import("zod").ZodString;
|
|
640
|
+
id: import("zod").ZodString;
|
|
533
641
|
identityKey: import("zod").ZodString;
|
|
534
642
|
triggers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
535
643
|
details: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -540,6 +648,7 @@ export declare const firstPartyContract: {
|
|
|
540
648
|
type: import("zod").ZodString;
|
|
541
649
|
}, import("zod/v4/core").$strip>>;
|
|
542
650
|
}, import("zod/v4/core").$strip>>;
|
|
651
|
+
createdAt: import("zod").ZodDate;
|
|
543
652
|
id: import("zod").ZodString;
|
|
544
653
|
git: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
545
654
|
commitSha: import("zod").ZodString;
|
|
@@ -736,6 +845,7 @@ export declare const firstPartyContract: {
|
|
|
736
845
|
organizationId: import("zod").ZodString;
|
|
737
846
|
name: import("zod").ZodString;
|
|
738
847
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
848
|
+
activeDeploymentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
739
849
|
id: import("zod").ZodString;
|
|
740
850
|
name: import("zod").ZodString;
|
|
741
851
|
organizationId: import("zod").ZodString;
|
|
@@ -747,6 +857,7 @@ export declare const firstPartyContract: {
|
|
|
747
857
|
}, import("zod/v4/core").$strip>;
|
|
748
858
|
activeAutomations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
749
859
|
description: import("zod").ZodString;
|
|
860
|
+
id: import("zod").ZodString;
|
|
750
861
|
identityKey: import("zod").ZodString;
|
|
751
862
|
}, import("zod/v4/core").$strip>>;
|
|
752
863
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -756,6 +867,7 @@ export declare const firstPartyContract: {
|
|
|
756
867
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
757
868
|
projectId: import("zod").ZodString;
|
|
758
869
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
870
|
+
activeDeploymentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
759
871
|
id: import("zod").ZodString;
|
|
760
872
|
name: import("zod").ZodString;
|
|
761
873
|
organizationId: import("zod").ZodString;
|
|
@@ -767,6 +879,7 @@ export declare const firstPartyContract: {
|
|
|
767
879
|
}, import("zod/v4/core").$strip>;
|
|
768
880
|
activeAutomations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
769
881
|
description: import("zod").ZodString;
|
|
882
|
+
id: import("zod").ZodString;
|
|
770
883
|
identityKey: import("zod").ZodString;
|
|
771
884
|
}, import("zod/v4/core").$strip>>;
|
|
772
885
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -774,6 +887,7 @@ export declare const firstPartyContract: {
|
|
|
774
887
|
organizationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
775
888
|
query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
776
889
|
}, import("zod/v4/core").$strip>>, import("zod").ZodArray<import("zod").ZodObject<{
|
|
890
|
+
activeDeploymentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
777
891
|
id: import("zod").ZodString;
|
|
778
892
|
name: import("zod").ZodString;
|
|
779
893
|
organizationId: import("zod").ZodString;
|
|
@@ -785,6 +899,7 @@ export declare const firstPartyContract: {
|
|
|
785
899
|
}, import("zod/v4/core").$strip>;
|
|
786
900
|
activeAutomations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
787
901
|
description: import("zod").ZodString;
|
|
902
|
+
id: import("zod").ZodString;
|
|
788
903
|
identityKey: import("zod").ZodString;
|
|
789
904
|
}, import("zod/v4/core").$strip>>;
|
|
790
905
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
@@ -1066,17 +1181,89 @@ export declare const contract: {
|
|
|
1066
1181
|
};
|
|
1067
1182
|
runtime: {
|
|
1068
1183
|
commit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1069
|
-
actionInvocations: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1184
|
+
actionInvocations: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1185
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1186
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1187
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1188
|
+
inputHash: import("zod").ZodString;
|
|
1189
|
+
name: import("zod").ZodString;
|
|
1190
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1191
|
+
slot: import("zod").ZodNumber;
|
|
1192
|
+
status: import("zod").ZodLiteral<"pending">;
|
|
1193
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1194
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1195
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1196
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1197
|
+
inputHash: import("zod").ZodString;
|
|
1198
|
+
name: import("zod").ZodString;
|
|
1199
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1200
|
+
slot: import("zod").ZodNumber;
|
|
1201
|
+
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1202
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1203
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1070
1204
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1071
1205
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1072
1206
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1073
1207
|
inputHash: import("zod").ZodString;
|
|
1074
1208
|
name: import("zod").ZodString;
|
|
1209
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1075
1210
|
slot: import("zod").ZodNumber;
|
|
1211
|
+
failure: import("zod").ZodObject<{
|
|
1212
|
+
message: import("zod").ZodString;
|
|
1213
|
+
name: import("zod").ZodString;
|
|
1214
|
+
}, import("zod/v4/core").$strip>;
|
|
1215
|
+
reason: import("zod").ZodLiteral<"failed-dependency">;
|
|
1216
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1217
|
+
}, import("zod/v4/core").$strip>]>>>;
|
|
1218
|
+
correlationEntries: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1219
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1220
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1221
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1222
|
+
slot: import("zod").ZodNumber;
|
|
1223
|
+
key: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1224
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1225
|
+
streamName: import("zod").ZodString;
|
|
1226
|
+
streamNames: import("zod").ZodArray<import("zod").ZodString>;
|
|
1227
|
+
value: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1076
1228
|
}, import("zod/v4/core").$strip>>>;
|
|
1229
|
+
settled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1230
|
+
signalInvocations: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1231
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1232
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1233
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1234
|
+
slot: import("zod").ZodNumber;
|
|
1235
|
+
outcomeSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1236
|
+
status: import("zod").ZodLiteral<"closed">;
|
|
1237
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1238
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1239
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1240
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1241
|
+
slot: import("zod").ZodNumber;
|
|
1242
|
+
failure: import("zod").ZodObject<{
|
|
1243
|
+
message: import("zod").ZodString;
|
|
1244
|
+
name: import("zod").ZodString;
|
|
1245
|
+
}, import("zod/v4/core").$strip>;
|
|
1246
|
+
status: import("zod").ZodLiteral<"failed">;
|
|
1247
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1248
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1249
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1250
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1251
|
+
slot: import("zod").ZodNumber;
|
|
1252
|
+
outcomeSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1253
|
+
selectedIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1254
|
+
status: import("zod").ZodLiteral<"open">;
|
|
1255
|
+
}, import("zod/v4/core").$strip>]>>>;
|
|
1077
1256
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1078
|
-
|
|
1079
|
-
|
|
1257
|
+
completeAction: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1258
|
+
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1259
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1260
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1261
|
+
failure: import("zod").ZodObject<{
|
|
1262
|
+
message: import("zod").ZodString;
|
|
1263
|
+
name: import("zod").ZodString;
|
|
1264
|
+
}, import("zod/v4/core").$strip>;
|
|
1265
|
+
reason: import("zod").ZodLiteral<"failed-dependency">;
|
|
1266
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1080
1267
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1081
1268
|
failure: import("zod").ZodObject<{
|
|
1082
1269
|
message: import("zod").ZodString;
|
|
@@ -1086,7 +1273,7 @@ export declare const contract: {
|
|
|
1086
1273
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1087
1274
|
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1088
1275
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
1089
|
-
}, import("zod/v4/core").$strip>]
|
|
1276
|
+
}, import("zod/v4/core").$strip>]>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1090
1277
|
generate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1091
1278
|
frequencyPenalty: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1092
1279
|
instructions: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1189,57 +1376,272 @@ export declare const contract: {
|
|
|
1189
1376
|
type: import("zod").ZodLiteral<"other">;
|
|
1190
1377
|
}, import("zod/v4/core").$strip>], "type">>>;
|
|
1191
1378
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1192
|
-
|
|
1379
|
+
load: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
1193
1380
|
context: import("zod").ZodObject<{
|
|
1194
|
-
|
|
1195
|
-
|
|
1381
|
+
actions: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1382
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1383
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1384
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1385
|
+
inputHash: import("zod").ZodString;
|
|
1386
|
+
name: import("zod").ZodString;
|
|
1387
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1196
1388
|
slot: import("zod").ZodNumber;
|
|
1197
|
-
|
|
1389
|
+
actionInvocationId: import("zod").ZodString;
|
|
1390
|
+
status: import("zod").ZodLiteral<"pending">;
|
|
1198
1391
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1392
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1393
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1394
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1395
|
+
inputHash: import("zod").ZodString;
|
|
1396
|
+
name: import("zod").ZodString;
|
|
1397
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1398
|
+
slot: import("zod").ZodNumber;
|
|
1199
1399
|
actionInvocationId: import("zod").ZodString;
|
|
1200
1400
|
failure: import("zod").ZodObject<{
|
|
1201
1401
|
message: import("zod").ZodString;
|
|
1202
1402
|
name: import("zod").ZodString;
|
|
1203
1403
|
}, import("zod/v4/core").$strip>;
|
|
1204
|
-
|
|
1404
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1205
1405
|
status: import("zod").ZodLiteral<"failed">;
|
|
1206
1406
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1214
|
-
automationEventId: import("zod").ZodString;
|
|
1215
|
-
payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1407
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1408
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1409
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1410
|
+
inputHash: import("zod").ZodString;
|
|
1411
|
+
name: import("zod").ZodString;
|
|
1412
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1216
1413
|
slot: import("zod").ZodNumber;
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
nextBatch: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
1223
|
-
context: import("zod").ZodObject<{
|
|
1224
|
-
actionOutputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1414
|
+
actionInvocationId: import("zod").ZodString;
|
|
1415
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1416
|
+
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1417
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1418
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1225
1419
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1420
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1421
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1422
|
+
inputHash: import("zod").ZodString;
|
|
1423
|
+
name: import("zod").ZodString;
|
|
1424
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1425
|
+
slot: import("zod").ZodNumber;
|
|
1226
1426
|
actionInvocationId: import("zod").ZodString;
|
|
1427
|
+
failure: import("zod").ZodObject<{
|
|
1428
|
+
message: import("zod").ZodString;
|
|
1429
|
+
name: import("zod").ZodString;
|
|
1430
|
+
}, import("zod/v4/core").$strip>;
|
|
1431
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1432
|
+
reason: import("zod").ZodLiteral<"failed-dependency">;
|
|
1433
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1434
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1435
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1436
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1227
1437
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1228
1438
|
inputHash: import("zod").ZodString;
|
|
1229
1439
|
name: import("zod").ZodString;
|
|
1440
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1230
1441
|
slot: import("zod").ZodNumber;
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
}>;
|
|
1236
|
-
}, import("zod/v4/core").$strip>>;
|
|
1442
|
+
actionInvocationId: import("zod").ZodString;
|
|
1443
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1444
|
+
status: import("zod").ZodLiteral<"succeeded">;
|
|
1445
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
1237
1446
|
contextId: import("zod").ZodString;
|
|
1238
1447
|
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1239
1448
|
automationEventId: import("zod").ZodString;
|
|
1449
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1240
1450
|
slot: import("zod").ZodNumber;
|
|
1241
1451
|
}, import("zod/v4/core").$strip>>;
|
|
1452
|
+
signalOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1453
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1454
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1455
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1456
|
+
slot: import("zod").ZodNumber;
|
|
1457
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1458
|
+
signalInvocationId: import("zod").ZodString;
|
|
1459
|
+
selectedIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1460
|
+
status: import("zod").ZodLiteral<"open">;
|
|
1461
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1462
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1463
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1464
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1465
|
+
slot: import("zod").ZodNumber;
|
|
1466
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1467
|
+
signalInvocationId: import("zod").ZodString;
|
|
1468
|
+
status: import("zod").ZodLiteral<"closed">;
|
|
1469
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1470
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1471
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1472
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1473
|
+
slot: import("zod").ZodNumber;
|
|
1474
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1475
|
+
signalInvocationId: import("zod").ZodString;
|
|
1476
|
+
failure: import("zod").ZodObject<{
|
|
1477
|
+
message: import("zod").ZodString;
|
|
1478
|
+
name: import("zod").ZodString;
|
|
1479
|
+
}, import("zod/v4/core").$strip>;
|
|
1480
|
+
status: import("zod").ZodLiteral<"failed">;
|
|
1481
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1482
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1483
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1484
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1485
|
+
slot: import("zod").ZodNumber;
|
|
1486
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1487
|
+
signalInvocationId: import("zod").ZodString;
|
|
1488
|
+
status: import("zod").ZodLiteral<"succeeded">;
|
|
1489
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
1242
1490
|
}, import("zod/v4/core").$strip>;
|
|
1491
|
+
finalAttempt: import("zod").ZodBoolean;
|
|
1492
|
+
targetAction: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1493
|
+
context: import("zod").ZodObject<{
|
|
1494
|
+
actionOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1495
|
+
actionInvocationId: import("zod").ZodString;
|
|
1496
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1497
|
+
slot: import("zod").ZodNumber;
|
|
1498
|
+
status: import("zod").ZodLiteral<"failed">;
|
|
1499
|
+
failure: import("zod").ZodObject<{
|
|
1500
|
+
message: import("zod").ZodString;
|
|
1501
|
+
name: import("zod").ZodString;
|
|
1502
|
+
}, import("zod/v4/core").$strip>;
|
|
1503
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1504
|
+
actionInvocationId: import("zod").ZodString;
|
|
1505
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1506
|
+
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1507
|
+
slot: import("zod").ZodNumber;
|
|
1508
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1509
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1510
|
+
actionInvocationId: import("zod").ZodString;
|
|
1511
|
+
failure: import("zod").ZodObject<{
|
|
1512
|
+
message: import("zod").ZodString;
|
|
1513
|
+
name: import("zod").ZodString;
|
|
1514
|
+
}, import("zod/v4/core").$strip>;
|
|
1515
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1516
|
+
reason: import("zod").ZodLiteral<"failed-dependency">;
|
|
1517
|
+
slot: import("zod").ZodNumber;
|
|
1518
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1519
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1520
|
+
actionInvocationId: import("zod").ZodString;
|
|
1521
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1522
|
+
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1523
|
+
slot: import("zod").ZodNumber;
|
|
1524
|
+
status: import("zod").ZodLiteral<"succeeded">;
|
|
1525
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
1526
|
+
contextId: import("zod").ZodString;
|
|
1527
|
+
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1528
|
+
automationEventId: import("zod").ZodString;
|
|
1529
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1530
|
+
payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1531
|
+
slot: import("zod").ZodNumber;
|
|
1532
|
+
}, import("zod/v4/core").$strip>>;
|
|
1533
|
+
signalOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1534
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1535
|
+
signalInvocationId: import("zod").ZodString;
|
|
1536
|
+
slot: import("zod").ZodNumber;
|
|
1537
|
+
selectedIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1538
|
+
status: import("zod").ZodLiteral<"open">;
|
|
1539
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1540
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1541
|
+
signalInvocationId: import("zod").ZodString;
|
|
1542
|
+
slot: import("zod").ZodNumber;
|
|
1543
|
+
status: import("zod").ZodLiteral<"closed">;
|
|
1544
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1545
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1546
|
+
signalInvocationId: import("zod").ZodString;
|
|
1547
|
+
slot: import("zod").ZodNumber;
|
|
1548
|
+
failure: import("zod").ZodObject<{
|
|
1549
|
+
message: import("zod").ZodString;
|
|
1550
|
+
name: import("zod").ZodString;
|
|
1551
|
+
}, import("zod/v4/core").$strip>;
|
|
1552
|
+
status: import("zod").ZodLiteral<"failed">;
|
|
1553
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1554
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1555
|
+
signalInvocationId: import("zod").ZodString;
|
|
1556
|
+
slot: import("zod").ZodNumber;
|
|
1557
|
+
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1558
|
+
status: import("zod").ZodLiteral<"succeeded">;
|
|
1559
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
1560
|
+
}, import("zod/v4/core").$strip>;
|
|
1561
|
+
id: import("zod").ZodString;
|
|
1562
|
+
slot: import("zod").ZodNumber;
|
|
1563
|
+
status: import("zod").ZodLiteral<"pending">;
|
|
1564
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1565
|
+
id: import("zod").ZodString;
|
|
1566
|
+
slot: import("zod").ZodNumber;
|
|
1567
|
+
status: import("zod").ZodEnum<{
|
|
1568
|
+
succeeded: "succeeded";
|
|
1569
|
+
failed: "failed";
|
|
1570
|
+
skipped: "skipped";
|
|
1571
|
+
}>;
|
|
1572
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
1573
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1574
|
+
loadValues: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1575
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1576
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1577
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1578
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1579
|
+
actionOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1580
|
+
actionInvocationId: import("zod").ZodString;
|
|
1581
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1582
|
+
slot: import("zod").ZodNumber;
|
|
1583
|
+
status: import("zod").ZodLiteral<"failed">;
|
|
1584
|
+
failure: import("zod").ZodObject<{
|
|
1585
|
+
message: import("zod").ZodString;
|
|
1586
|
+
name: import("zod").ZodString;
|
|
1587
|
+
}, import("zod/v4/core").$strip>;
|
|
1588
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1589
|
+
actionInvocationId: import("zod").ZodString;
|
|
1590
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1591
|
+
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1592
|
+
slot: import("zod").ZodNumber;
|
|
1593
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1594
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1595
|
+
actionInvocationId: import("zod").ZodString;
|
|
1596
|
+
failure: import("zod").ZodObject<{
|
|
1597
|
+
message: import("zod").ZodString;
|
|
1598
|
+
name: import("zod").ZodString;
|
|
1599
|
+
}, import("zod/v4/core").$strip>;
|
|
1600
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1601
|
+
reason: import("zod").ZodLiteral<"failed-dependency">;
|
|
1602
|
+
slot: import("zod").ZodNumber;
|
|
1603
|
+
status: import("zod").ZodLiteral<"skipped">;
|
|
1604
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1605
|
+
actionInvocationId: import("zod").ZodString;
|
|
1606
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1607
|
+
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1608
|
+
slot: import("zod").ZodNumber;
|
|
1609
|
+
status: import("zod").ZodLiteral<"succeeded">;
|
|
1610
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
1611
|
+
contextId: import("zod").ZodString;
|
|
1612
|
+
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1613
|
+
automationEventId: import("zod").ZodString;
|
|
1614
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1615
|
+
payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1616
|
+
slot: import("zod").ZodNumber;
|
|
1617
|
+
}, import("zod/v4/core").$strip>>;
|
|
1618
|
+
signalOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1619
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1620
|
+
signalInvocationId: import("zod").ZodString;
|
|
1621
|
+
slot: import("zod").ZodNumber;
|
|
1622
|
+
selectedIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1623
|
+
status: import("zod").ZodLiteral<"open">;
|
|
1624
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1625
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1626
|
+
signalInvocationId: import("zod").ZodString;
|
|
1627
|
+
slot: import("zod").ZodNumber;
|
|
1628
|
+
status: import("zod").ZodLiteral<"closed">;
|
|
1629
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1630
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1631
|
+
signalInvocationId: import("zod").ZodString;
|
|
1632
|
+
slot: import("zod").ZodNumber;
|
|
1633
|
+
failure: import("zod").ZodObject<{
|
|
1634
|
+
message: import("zod").ZodString;
|
|
1635
|
+
name: import("zod").ZodString;
|
|
1636
|
+
}, import("zod/v4/core").$strip>;
|
|
1637
|
+
status: import("zod").ZodLiteral<"failed">;
|
|
1638
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1639
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1640
|
+
signalInvocationId: import("zod").ZodString;
|
|
1641
|
+
slot: import("zod").ZodNumber;
|
|
1642
|
+
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1643
|
+
status: import("zod").ZodLiteral<"succeeded">;
|
|
1644
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
1243
1645
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1244
1646
|
resolveAccountInput: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1245
1647
|
binding: import("zod").ZodString;
|
|
@@ -1363,6 +1765,106 @@ export declare const contract: {
|
|
|
1363
1765
|
serviceId: import("zod").ZodString;
|
|
1364
1766
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1365
1767
|
};
|
|
1768
|
+
automation: {
|
|
1769
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1770
|
+
automationId: import("zod").ZodString;
|
|
1771
|
+
projectId: import("zod").ZodString;
|
|
1772
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1773
|
+
activeDeployment: import("zod").ZodObject<{
|
|
1774
|
+
createdAt: import("zod").ZodDate;
|
|
1775
|
+
git: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1776
|
+
commitSha: import("zod").ZodString;
|
|
1777
|
+
dirty: import("zod").ZodBoolean;
|
|
1778
|
+
repositoryUrl: import("zod").ZodString;
|
|
1779
|
+
}, import("zod/v4/core").$strip>>;
|
|
1780
|
+
id: import("zod").ZodString;
|
|
1781
|
+
}, import("zod/v4/core").$strip>;
|
|
1782
|
+
createdAt: import("zod").ZodDate;
|
|
1783
|
+
description: import("zod").ZodString;
|
|
1784
|
+
id: import("zod").ZodString;
|
|
1785
|
+
identityKey: import("zod").ZodString;
|
|
1786
|
+
triggers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1787
|
+
details: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1788
|
+
label: import("zod").ZodString;
|
|
1789
|
+
value: import("zod").ZodString;
|
|
1790
|
+
}, import("zod/v4/core").$strip>>;
|
|
1791
|
+
name: import("zod").ZodString;
|
|
1792
|
+
type: import("zod").ZodString;
|
|
1793
|
+
}, import("zod/v4/core").$strip>>;
|
|
1794
|
+
updatedAt: import("zod").ZodDate;
|
|
1795
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1796
|
+
getExecution: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1797
|
+
automationId: import("zod").ZodString;
|
|
1798
|
+
executionId: import("zod").ZodString;
|
|
1799
|
+
projectId: import("zod").ZodString;
|
|
1800
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1801
|
+
id: import("zod").ZodString;
|
|
1802
|
+
status: import("zod").ZodEnum<{
|
|
1803
|
+
failed: "failed";
|
|
1804
|
+
running: "running";
|
|
1805
|
+
completed: "completed";
|
|
1806
|
+
}>;
|
|
1807
|
+
createdAt: import("zod").ZodDate;
|
|
1808
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1809
|
+
failure: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1810
|
+
message: import("zod").ZodString;
|
|
1811
|
+
name: import("zod").ZodString;
|
|
1812
|
+
}, import("zod/v4/core").$strip>>;
|
|
1813
|
+
actions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1814
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1815
|
+
createdAt: import("zod").ZodDate;
|
|
1816
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1817
|
+
failure: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1818
|
+
message: import("zod").ZodString;
|
|
1819
|
+
name: import("zod").ZodString;
|
|
1820
|
+
}, import("zod/v4/core").$strip>>;
|
|
1821
|
+
hasOutput: import("zod").ZodBoolean;
|
|
1822
|
+
id: import("zod").ZodString;
|
|
1823
|
+
name: import("zod").ZodString;
|
|
1824
|
+
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1825
|
+
slot: import("zod").ZodNumber;
|
|
1826
|
+
status: import("zod").ZodEnum<{
|
|
1827
|
+
pending: "pending";
|
|
1828
|
+
succeeded: "succeeded";
|
|
1829
|
+
failed: "failed";
|
|
1830
|
+
skipped: "skipped";
|
|
1831
|
+
}>;
|
|
1832
|
+
}, import("zod/v4/core").$strip>>;
|
|
1833
|
+
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1834
|
+
createdAt: import("zod").ZodDate;
|
|
1835
|
+
id: import("zod").ZodString;
|
|
1836
|
+
payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1837
|
+
type: import("zod").ZodString;
|
|
1838
|
+
}, import("zod/v4/core").$strip>>;
|
|
1839
|
+
outputs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1840
|
+
actionInvocationId: import("zod").ZodString;
|
|
1841
|
+
createdAt: import("zod").ZodDate;
|
|
1842
|
+
data: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1843
|
+
id: import("zod").ZodString;
|
|
1844
|
+
outputIndex: import("zod").ZodNumber;
|
|
1845
|
+
type: import("zod").ZodString;
|
|
1846
|
+
}, import("zod/v4/core").$strip>>;
|
|
1847
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1848
|
+
listExecutions: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1849
|
+
automationId: import("zod").ZodString;
|
|
1850
|
+
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1851
|
+
projectId: import("zod").ZodString;
|
|
1852
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
|
|
1853
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1854
|
+
createdAt: import("zod").ZodDate;
|
|
1855
|
+
eventTypes: import("zod").ZodArray<import("zod").ZodString>;
|
|
1856
|
+
failure: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1857
|
+
message: import("zod").ZodString;
|
|
1858
|
+
name: import("zod").ZodString;
|
|
1859
|
+
}, import("zod/v4/core").$strip>>;
|
|
1860
|
+
id: import("zod").ZodString;
|
|
1861
|
+
status: import("zod").ZodEnum<{
|
|
1862
|
+
failed: "failed";
|
|
1863
|
+
running: "running";
|
|
1864
|
+
completed: "completed";
|
|
1865
|
+
}>;
|
|
1866
|
+
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
1867
|
+
};
|
|
1366
1868
|
deployment: {
|
|
1367
1869
|
cancel: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1368
1870
|
deploymentId: import("zod").ZodString;
|
|
@@ -1411,6 +1913,7 @@ export declare const contract: {
|
|
|
1411
1913
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1412
1914
|
automations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1413
1915
|
description: import("zod").ZodString;
|
|
1916
|
+
id: import("zod").ZodString;
|
|
1414
1917
|
identityKey: import("zod").ZodString;
|
|
1415
1918
|
triggers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1416
1919
|
details: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -1421,6 +1924,7 @@ export declare const contract: {
|
|
|
1421
1924
|
type: import("zod").ZodString;
|
|
1422
1925
|
}, import("zod/v4/core").$strip>>;
|
|
1423
1926
|
}, import("zod/v4/core").$strip>>;
|
|
1927
|
+
createdAt: import("zod").ZodDate;
|
|
1424
1928
|
id: import("zod").ZodString;
|
|
1425
1929
|
git: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1426
1930
|
commitSha: import("zod").ZodString;
|
|
@@ -1617,6 +2121,7 @@ export declare const contract: {
|
|
|
1617
2121
|
organizationId: import("zod").ZodString;
|
|
1618
2122
|
name: import("zod").ZodString;
|
|
1619
2123
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2124
|
+
activeDeploymentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1620
2125
|
id: import("zod").ZodString;
|
|
1621
2126
|
name: import("zod").ZodString;
|
|
1622
2127
|
organizationId: import("zod").ZodString;
|
|
@@ -1628,6 +2133,7 @@ export declare const contract: {
|
|
|
1628
2133
|
}, import("zod/v4/core").$strip>;
|
|
1629
2134
|
activeAutomations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1630
2135
|
description: import("zod").ZodString;
|
|
2136
|
+
id: import("zod").ZodString;
|
|
1631
2137
|
identityKey: import("zod").ZodString;
|
|
1632
2138
|
}, import("zod/v4/core").$strip>>;
|
|
1633
2139
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -1637,6 +2143,7 @@ export declare const contract: {
|
|
|
1637
2143
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1638
2144
|
projectId: import("zod").ZodString;
|
|
1639
2145
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2146
|
+
activeDeploymentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1640
2147
|
id: import("zod").ZodString;
|
|
1641
2148
|
name: import("zod").ZodString;
|
|
1642
2149
|
organizationId: import("zod").ZodString;
|
|
@@ -1648,6 +2155,7 @@ export declare const contract: {
|
|
|
1648
2155
|
}, import("zod/v4/core").$strip>;
|
|
1649
2156
|
activeAutomations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1650
2157
|
description: import("zod").ZodString;
|
|
2158
|
+
id: import("zod").ZodString;
|
|
1651
2159
|
identityKey: import("zod").ZodString;
|
|
1652
2160
|
}, import("zod/v4/core").$strip>>;
|
|
1653
2161
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -1655,6 +2163,7 @@ export declare const contract: {
|
|
|
1655
2163
|
organizationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1656
2164
|
query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1657
2165
|
}, import("zod/v4/core").$strip>>, import("zod").ZodArray<import("zod").ZodObject<{
|
|
2166
|
+
activeDeploymentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1658
2167
|
id: import("zod").ZodString;
|
|
1659
2168
|
name: import("zod").ZodString;
|
|
1660
2169
|
organizationId: import("zod").ZodString;
|
|
@@ -1666,6 +2175,7 @@ export declare const contract: {
|
|
|
1666
2175
|
}, import("zod/v4/core").$strip>;
|
|
1667
2176
|
activeAutomations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1668
2177
|
description: import("zod").ZodString;
|
|
2178
|
+
id: import("zod").ZodString;
|
|
1669
2179
|
identityKey: import("zod").ZodString;
|
|
1670
2180
|
}, import("zod/v4/core").$strip>>;
|
|
1671
2181
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|