@automate.ax/api-contract 0.54.0 → 0.56.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 +1 -28
- package/dist/automation.js +0 -25
- package/dist/deployment.d.ts +6 -36
- package/dist/deployment.js +8 -31
- package/dist/index.d.ts +123 -81
- package/dist/index.js +1 -1
- package/dist/runtime.d.ts +108 -10
- package/dist/runtime.js +79 -17
- package/package.json +2 -2
- package/src/automation.ts +0 -29
- package/src/deployment.ts +8 -49
- package/src/index.ts +1 -9
- package/src/runtime.ts +88 -17
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { automationExecutionStatusSchema } from "./automation.js";
|
|
2
|
-
export { AUTOMATION_SDK_VERSION
|
|
2
|
+
export { AUTOMATION_SDK_VERSION } from "./deployment.js";
|
|
3
3
|
export { integrationAccountOutputSchema } from "./account.js";
|
|
4
4
|
export { AUTOMATION_INVOCATION_DEFAULT_ENTRYPOINT, AUTOMATION_INVOCATION_RESERVED_ENTRYPOINT_PREFIX, DEFAULT_GATEWAY_MODEL_ID, automationInvocationInputSchema, automationInvocationOutputSchema, automationInvocationScheduleSchema, generationInputSchema, generationResultSchema, runtimeContract, type GenerationInput, type GenerationResult, type RuntimeGenerationInput, } from "./runtime.js";
|
|
5
5
|
export type { GatewayModelId } from "@ai-sdk/gateway";
|
|
@@ -343,33 +343,6 @@ export declare const firstPartyContract: {
|
|
|
343
343
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
344
344
|
};
|
|
345
345
|
automation: {
|
|
346
|
-
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
347
|
-
automationId: import("zod").ZodString;
|
|
348
|
-
projectId: import("zod").ZodString;
|
|
349
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
350
|
-
activeDeployment: import("zod").ZodObject<{
|
|
351
|
-
createdAt: import("zod").ZodDate;
|
|
352
|
-
git: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
353
|
-
commitSha: import("zod").ZodString;
|
|
354
|
-
dirty: import("zod").ZodBoolean;
|
|
355
|
-
repositoryUrl: import("zod").ZodString;
|
|
356
|
-
}, import("zod/v4/core").$strip>>;
|
|
357
|
-
id: import("zod").ZodString;
|
|
358
|
-
}, import("zod/v4/core").$strip>;
|
|
359
|
-
createdAt: import("zod").ZodDate;
|
|
360
|
-
description: import("zod").ZodString;
|
|
361
|
-
id: import("zod").ZodString;
|
|
362
|
-
identityKey: import("zod").ZodString;
|
|
363
|
-
triggers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
364
|
-
details: import("zod").ZodArray<import("zod").ZodObject<{
|
|
365
|
-
label: import("zod").ZodString;
|
|
366
|
-
value: import("zod").ZodString;
|
|
367
|
-
}, import("zod/v4/core").$strip>>;
|
|
368
|
-
name: import("zod").ZodString;
|
|
369
|
-
type: import("zod").ZodString;
|
|
370
|
-
}, import("zod/v4/core").$strip>>;
|
|
371
|
-
updatedAt: import("zod").ZodDate;
|
|
372
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
373
346
|
getExecution: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
374
347
|
automationId: import("zod").ZodString;
|
|
375
348
|
executionId: import("zod").ZodString;
|
|
@@ -381,8 +354,8 @@ export declare const firstPartyContract: {
|
|
|
381
354
|
running: "running";
|
|
382
355
|
completed: "completed";
|
|
383
356
|
}>;
|
|
384
|
-
createdAt: import("zod").ZodDate;
|
|
385
357
|
completedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
358
|
+
createdAt: import("zod").ZodDate;
|
|
386
359
|
failure: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
387
360
|
message: import("zod").ZodString;
|
|
388
361
|
name: import("zod").ZodString;
|
|
@@ -519,6 +492,7 @@ export declare const firstPartyContract: {
|
|
|
519
492
|
git: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
520
493
|
commitSha: import("zod").ZodString;
|
|
521
494
|
dirty: import("zod").ZodBoolean;
|
|
495
|
+
projectPath: import("zod").ZodString;
|
|
522
496
|
repositoryUrl: import("zod").ZodString;
|
|
523
497
|
}, import("zod/v4/core").$strip>>;
|
|
524
498
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -549,13 +523,10 @@ export declare const firstPartyContract: {
|
|
|
549
523
|
description: import("zod").ZodString;
|
|
550
524
|
id: import("zod").ZodString;
|
|
551
525
|
identityKey: import("zod").ZodString;
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
}, import("zod/v4/core").$strip>>;
|
|
557
|
-
name: import("zod").ZodString;
|
|
558
|
-
type: import("zod").ZodString;
|
|
526
|
+
subscriptions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
527
|
+
config: import("zod").ZodJSONSchema;
|
|
528
|
+
eventType: import("zod").ZodString;
|
|
529
|
+
hookSlot: import("zod").ZodNumber;
|
|
559
530
|
}, import("zod/v4/core").$strip>>;
|
|
560
531
|
}, import("zod/v4/core").$strip>>;
|
|
561
532
|
createdAt: import("zod").ZodDate;
|
|
@@ -563,6 +534,7 @@ export declare const firstPartyContract: {
|
|
|
563
534
|
git: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
564
535
|
commitSha: import("zod").ZodString;
|
|
565
536
|
dirty: import("zod").ZodBoolean;
|
|
537
|
+
projectPath: import("zod").ZodString;
|
|
566
538
|
repositoryUrl: import("zod").ZodString;
|
|
567
539
|
}, import("zod/v4/core").$strip>>;
|
|
568
540
|
job: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -1118,6 +1090,23 @@ export declare const contract: {
|
|
|
1118
1090
|
reason: import("zod").ZodLiteral<"failed-dependency">;
|
|
1119
1091
|
status: import("zod").ZodLiteral<"skipped">;
|
|
1120
1092
|
}, import("zod/v4/core").$strip>]>>>;
|
|
1093
|
+
collectionEntries: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1094
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1095
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1096
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1097
|
+
slot: import("zod").ZodNumber;
|
|
1098
|
+
count: import("zod").ZodNumber;
|
|
1099
|
+
key: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1100
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1101
|
+
primaryPosition: import("zod").ZodEnum<{
|
|
1102
|
+
first: "first";
|
|
1103
|
+
last: "last";
|
|
1104
|
+
}>;
|
|
1105
|
+
ttl: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1106
|
+
parameterActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1107
|
+
parameterEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1108
|
+
parameterSignalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1109
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1121
1110
|
correlationEntries: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1122
1111
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1123
1112
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
@@ -1157,6 +1146,23 @@ export declare const contract: {
|
|
|
1157
1146
|
selectedIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1158
1147
|
status: import("zod").ZodLiteral<"open">;
|
|
1159
1148
|
}, import("zod/v4/core").$strip>]>>>;
|
|
1149
|
+
windowEntries: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1150
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1151
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1152
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1153
|
+
slot: import("zod").ZodNumber;
|
|
1154
|
+
duration: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>;
|
|
1155
|
+
key: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1156
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1157
|
+
primaryPosition: import("zod").ZodEnum<{
|
|
1158
|
+
first: "first";
|
|
1159
|
+
last: "last";
|
|
1160
|
+
}>;
|
|
1161
|
+
ttl: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1162
|
+
parameterActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1163
|
+
parameterEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1164
|
+
parameterSignalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1165
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1160
1166
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1161
1167
|
completeAction: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1162
1168
|
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
@@ -1313,6 +1319,7 @@ export declare const contract: {
|
|
|
1313
1319
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1314
1320
|
slot: import("zod").ZodNumber;
|
|
1315
1321
|
actionInvocationId: import("zod").ZodString;
|
|
1322
|
+
contextId: import("zod").ZodString;
|
|
1316
1323
|
status: import("zod").ZodLiteral<"pending">;
|
|
1317
1324
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1318
1325
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
@@ -1323,6 +1330,7 @@ export declare const contract: {
|
|
|
1323
1330
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1324
1331
|
slot: import("zod").ZodNumber;
|
|
1325
1332
|
actionInvocationId: import("zod").ZodString;
|
|
1333
|
+
contextId: import("zod").ZodString;
|
|
1326
1334
|
failure: import("zod").ZodObject<{
|
|
1327
1335
|
message: import("zod").ZodString;
|
|
1328
1336
|
name: import("zod").ZodString;
|
|
@@ -1338,6 +1346,7 @@ export declare const contract: {
|
|
|
1338
1346
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1339
1347
|
slot: import("zod").ZodNumber;
|
|
1340
1348
|
actionInvocationId: import("zod").ZodString;
|
|
1349
|
+
contextId: import("zod").ZodString;
|
|
1341
1350
|
outcomeSeq: import("zod").ZodNumber;
|
|
1342
1351
|
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1343
1352
|
status: import("zod").ZodLiteral<"skipped">;
|
|
@@ -1350,6 +1359,7 @@ export declare const contract: {
|
|
|
1350
1359
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1351
1360
|
slot: import("zod").ZodNumber;
|
|
1352
1361
|
actionInvocationId: import("zod").ZodString;
|
|
1362
|
+
contextId: import("zod").ZodString;
|
|
1353
1363
|
failure: import("zod").ZodObject<{
|
|
1354
1364
|
message: import("zod").ZodString;
|
|
1355
1365
|
name: import("zod").ZodString;
|
|
@@ -1366,12 +1376,20 @@ export declare const contract: {
|
|
|
1366
1376
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1367
1377
|
slot: import("zod").ZodNumber;
|
|
1368
1378
|
actionInvocationId: import("zod").ZodString;
|
|
1379
|
+
contextId: import("zod").ZodString;
|
|
1369
1380
|
outcomeSeq: import("zod").ZodNumber;
|
|
1370
1381
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
1371
1382
|
}, import("zod/v4/core").$strip>]>>;
|
|
1372
1383
|
contextId: import("zod").ZodString;
|
|
1384
|
+
contextParents: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1385
|
+
contextId: import("zod").ZodString;
|
|
1386
|
+
isPrimary: import("zod").ZodBoolean;
|
|
1387
|
+
parentContextId: import("zod").ZodString;
|
|
1388
|
+
position: import("zod").ZodNumber;
|
|
1389
|
+
}, import("zod/v4/core").$strip>>;
|
|
1373
1390
|
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1374
1391
|
automationEventId: import("zod").ZodString;
|
|
1392
|
+
contextId: import("zod").ZodString;
|
|
1375
1393
|
outcomeSeq: import("zod").ZodNumber;
|
|
1376
1394
|
slot: import("zod").ZodNumber;
|
|
1377
1395
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -1380,6 +1398,7 @@ export declare const contract: {
|
|
|
1380
1398
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1381
1399
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1382
1400
|
slot: import("zod").ZodNumber;
|
|
1401
|
+
contextId: import("zod").ZodString;
|
|
1383
1402
|
outcomeSeq: import("zod").ZodNumber;
|
|
1384
1403
|
signalInvocationId: import("zod").ZodString;
|
|
1385
1404
|
selectedIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1389,6 +1408,7 @@ export declare const contract: {
|
|
|
1389
1408
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1390
1409
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1391
1410
|
slot: import("zod").ZodNumber;
|
|
1411
|
+
contextId: import("zod").ZodString;
|
|
1392
1412
|
outcomeSeq: import("zod").ZodNumber;
|
|
1393
1413
|
signalInvocationId: import("zod").ZodString;
|
|
1394
1414
|
status: import("zod").ZodLiteral<"closed">;
|
|
@@ -1397,6 +1417,7 @@ export declare const contract: {
|
|
|
1397
1417
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1398
1418
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1399
1419
|
slot: import("zod").ZodNumber;
|
|
1420
|
+
contextId: import("zod").ZodString;
|
|
1400
1421
|
outcomeSeq: import("zod").ZodNumber;
|
|
1401
1422
|
signalInvocationId: import("zod").ZodString;
|
|
1402
1423
|
failure: import("zod").ZodObject<{
|
|
@@ -1409,6 +1430,7 @@ export declare const contract: {
|
|
|
1409
1430
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1410
1431
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1411
1432
|
slot: import("zod").ZodNumber;
|
|
1433
|
+
contextId: import("zod").ZodString;
|
|
1412
1434
|
outcomeSeq: import("zod").ZodNumber;
|
|
1413
1435
|
signalInvocationId: import("zod").ZodString;
|
|
1414
1436
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
@@ -1419,8 +1441,9 @@ export declare const contract: {
|
|
|
1419
1441
|
context: import("zod").ZodObject<{
|
|
1420
1442
|
actionOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1421
1443
|
actionInvocationId: import("zod").ZodString;
|
|
1422
|
-
|
|
1444
|
+
contextId: import("zod").ZodString;
|
|
1423
1445
|
slot: import("zod").ZodNumber;
|
|
1446
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1424
1447
|
status: import("zod").ZodLiteral<"failed">;
|
|
1425
1448
|
failure: import("zod").ZodObject<{
|
|
1426
1449
|
message: import("zod").ZodString;
|
|
@@ -1428,46 +1451,68 @@ export declare const contract: {
|
|
|
1428
1451
|
}, import("zod/v4/core").$strip>;
|
|
1429
1452
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1430
1453
|
actionInvocationId: import("zod").ZodString;
|
|
1454
|
+
contextId: import("zod").ZodString;
|
|
1431
1455
|
outcomeSeq: import("zod").ZodNumber;
|
|
1432
|
-
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1433
1456
|
slot: import("zod").ZodNumber;
|
|
1457
|
+
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1434
1458
|
status: import("zod").ZodLiteral<"skipped">;
|
|
1435
1459
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1436
1460
|
actionInvocationId: import("zod").ZodString;
|
|
1461
|
+
contextId: import("zod").ZodString;
|
|
1462
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1463
|
+
slot: import("zod").ZodNumber;
|
|
1437
1464
|
failure: import("zod").ZodObject<{
|
|
1438
1465
|
message: import("zod").ZodString;
|
|
1439
1466
|
name: import("zod").ZodString;
|
|
1440
1467
|
}, import("zod/v4/core").$strip>;
|
|
1441
|
-
outcomeSeq: import("zod").ZodNumber;
|
|
1442
1468
|
reason: import("zod").ZodLiteral<"failed-dependency">;
|
|
1443
|
-
slot: import("zod").ZodNumber;
|
|
1444
1469
|
status: import("zod").ZodLiteral<"skipped">;
|
|
1445
1470
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1446
1471
|
actionInvocationId: import("zod").ZodString;
|
|
1472
|
+
contextId: import("zod").ZodString;
|
|
1447
1473
|
outcomeSeq: import("zod").ZodNumber;
|
|
1448
|
-
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1449
1474
|
slot: import("zod").ZodNumber;
|
|
1475
|
+
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1450
1476
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
1451
1477
|
}, import("zod/v4/core").$strip>]>>;
|
|
1478
|
+
bufferGroups: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1479
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1480
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1481
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1482
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1483
|
+
contextId: import("zod").ZodString;
|
|
1484
|
+
}, import("zod/v4/core").$strip>>;
|
|
1485
|
+
signalInvocationId: import("zod").ZodString;
|
|
1486
|
+
}, import("zod/v4/core").$strip>>;
|
|
1452
1487
|
contextId: import("zod").ZodString;
|
|
1488
|
+
contextParents: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1489
|
+
contextId: import("zod").ZodString;
|
|
1490
|
+
isPrimary: import("zod").ZodBoolean;
|
|
1491
|
+
parentContextId: import("zod").ZodString;
|
|
1492
|
+
position: import("zod").ZodNumber;
|
|
1493
|
+
}, import("zod/v4/core").$strip>>;
|
|
1453
1494
|
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1454
1495
|
automationEventId: import("zod").ZodString;
|
|
1496
|
+
contextId: import("zod").ZodString;
|
|
1455
1497
|
outcomeSeq: import("zod").ZodNumber;
|
|
1456
1498
|
payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1457
1499
|
slot: import("zod").ZodNumber;
|
|
1458
1500
|
}, import("zod/v4/core").$strip>>;
|
|
1459
1501
|
signalOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1502
|
+
contextId: import("zod").ZodString;
|
|
1460
1503
|
outcomeSeq: import("zod").ZodNumber;
|
|
1461
1504
|
signalInvocationId: import("zod").ZodString;
|
|
1462
1505
|
slot: import("zod").ZodNumber;
|
|
1463
1506
|
selectedIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1464
1507
|
status: import("zod").ZodLiteral<"open">;
|
|
1465
1508
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1509
|
+
contextId: import("zod").ZodString;
|
|
1466
1510
|
outcomeSeq: import("zod").ZodNumber;
|
|
1467
1511
|
signalInvocationId: import("zod").ZodString;
|
|
1468
1512
|
slot: import("zod").ZodNumber;
|
|
1469
1513
|
status: import("zod").ZodLiteral<"closed">;
|
|
1470
1514
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1515
|
+
contextId: import("zod").ZodString;
|
|
1471
1516
|
outcomeSeq: import("zod").ZodNumber;
|
|
1472
1517
|
signalInvocationId: import("zod").ZodString;
|
|
1473
1518
|
slot: import("zod").ZodNumber;
|
|
@@ -1477,6 +1522,7 @@ export declare const contract: {
|
|
|
1477
1522
|
}, import("zod/v4/core").$strip>;
|
|
1478
1523
|
status: import("zod").ZodLiteral<"failed">;
|
|
1479
1524
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1525
|
+
contextId: import("zod").ZodString;
|
|
1480
1526
|
outcomeSeq: import("zod").ZodNumber;
|
|
1481
1527
|
signalInvocationId: import("zod").ZodString;
|
|
1482
1528
|
slot: import("zod").ZodNumber;
|
|
@@ -1504,8 +1550,9 @@ export declare const contract: {
|
|
|
1504
1550
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1505
1551
|
actionOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1506
1552
|
actionInvocationId: import("zod").ZodString;
|
|
1507
|
-
|
|
1553
|
+
contextId: import("zod").ZodString;
|
|
1508
1554
|
slot: import("zod").ZodNumber;
|
|
1555
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1509
1556
|
status: import("zod").ZodLiteral<"failed">;
|
|
1510
1557
|
failure: import("zod").ZodObject<{
|
|
1511
1558
|
message: import("zod").ZodString;
|
|
@@ -1513,46 +1560,68 @@ export declare const contract: {
|
|
|
1513
1560
|
}, import("zod/v4/core").$strip>;
|
|
1514
1561
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1515
1562
|
actionInvocationId: import("zod").ZodString;
|
|
1563
|
+
contextId: import("zod").ZodString;
|
|
1516
1564
|
outcomeSeq: import("zod").ZodNumber;
|
|
1517
|
-
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1518
1565
|
slot: import("zod").ZodNumber;
|
|
1566
|
+
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
1519
1567
|
status: import("zod").ZodLiteral<"skipped">;
|
|
1520
1568
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1521
1569
|
actionInvocationId: import("zod").ZodString;
|
|
1570
|
+
contextId: import("zod").ZodString;
|
|
1571
|
+
outcomeSeq: import("zod").ZodNumber;
|
|
1572
|
+
slot: import("zod").ZodNumber;
|
|
1522
1573
|
failure: import("zod").ZodObject<{
|
|
1523
1574
|
message: import("zod").ZodString;
|
|
1524
1575
|
name: import("zod").ZodString;
|
|
1525
1576
|
}, import("zod/v4/core").$strip>;
|
|
1526
|
-
outcomeSeq: import("zod").ZodNumber;
|
|
1527
1577
|
reason: import("zod").ZodLiteral<"failed-dependency">;
|
|
1528
|
-
slot: import("zod").ZodNumber;
|
|
1529
1578
|
status: import("zod").ZodLiteral<"skipped">;
|
|
1530
1579
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1531
1580
|
actionInvocationId: import("zod").ZodString;
|
|
1581
|
+
contextId: import("zod").ZodString;
|
|
1532
1582
|
outcomeSeq: import("zod").ZodNumber;
|
|
1533
|
-
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1534
1583
|
slot: import("zod").ZodNumber;
|
|
1584
|
+
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1535
1585
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
1536
1586
|
}, import("zod/v4/core").$strip>]>>;
|
|
1587
|
+
bufferGroups: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1588
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1589
|
+
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1590
|
+
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1591
|
+
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1592
|
+
contextId: import("zod").ZodString;
|
|
1593
|
+
}, import("zod/v4/core").$strip>>;
|
|
1594
|
+
signalInvocationId: import("zod").ZodString;
|
|
1595
|
+
}, import("zod/v4/core").$strip>>;
|
|
1537
1596
|
contextId: import("zod").ZodString;
|
|
1597
|
+
contextParents: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1598
|
+
contextId: import("zod").ZodString;
|
|
1599
|
+
isPrimary: import("zod").ZodBoolean;
|
|
1600
|
+
parentContextId: import("zod").ZodString;
|
|
1601
|
+
position: import("zod").ZodNumber;
|
|
1602
|
+
}, import("zod/v4/core").$strip>>;
|
|
1538
1603
|
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1539
1604
|
automationEventId: import("zod").ZodString;
|
|
1605
|
+
contextId: import("zod").ZodString;
|
|
1540
1606
|
outcomeSeq: import("zod").ZodNumber;
|
|
1541
1607
|
payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1542
1608
|
slot: import("zod").ZodNumber;
|
|
1543
1609
|
}, import("zod/v4/core").$strip>>;
|
|
1544
1610
|
signalOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1611
|
+
contextId: import("zod").ZodString;
|
|
1545
1612
|
outcomeSeq: import("zod").ZodNumber;
|
|
1546
1613
|
signalInvocationId: import("zod").ZodString;
|
|
1547
1614
|
slot: import("zod").ZodNumber;
|
|
1548
1615
|
selectedIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1549
1616
|
status: import("zod").ZodLiteral<"open">;
|
|
1550
1617
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1618
|
+
contextId: import("zod").ZodString;
|
|
1551
1619
|
outcomeSeq: import("zod").ZodNumber;
|
|
1552
1620
|
signalInvocationId: import("zod").ZodString;
|
|
1553
1621
|
slot: import("zod").ZodNumber;
|
|
1554
1622
|
status: import("zod").ZodLiteral<"closed">;
|
|
1555
1623
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1624
|
+
contextId: import("zod").ZodString;
|
|
1556
1625
|
outcomeSeq: import("zod").ZodNumber;
|
|
1557
1626
|
signalInvocationId: import("zod").ZodString;
|
|
1558
1627
|
slot: import("zod").ZodNumber;
|
|
@@ -1562,6 +1631,7 @@ export declare const contract: {
|
|
|
1562
1631
|
}, import("zod/v4/core").$strip>;
|
|
1563
1632
|
status: import("zod").ZodLiteral<"failed">;
|
|
1564
1633
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1634
|
+
contextId: import("zod").ZodString;
|
|
1565
1635
|
outcomeSeq: import("zod").ZodNumber;
|
|
1566
1636
|
signalInvocationId: import("zod").ZodString;
|
|
1567
1637
|
slot: import("zod").ZodNumber;
|
|
@@ -1644,33 +1714,6 @@ export declare const contract: {
|
|
|
1644
1714
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1645
1715
|
};
|
|
1646
1716
|
automation: {
|
|
1647
|
-
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1648
|
-
automationId: import("zod").ZodString;
|
|
1649
|
-
projectId: import("zod").ZodString;
|
|
1650
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1651
|
-
activeDeployment: import("zod").ZodObject<{
|
|
1652
|
-
createdAt: import("zod").ZodDate;
|
|
1653
|
-
git: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1654
|
-
commitSha: import("zod").ZodString;
|
|
1655
|
-
dirty: import("zod").ZodBoolean;
|
|
1656
|
-
repositoryUrl: import("zod").ZodString;
|
|
1657
|
-
}, import("zod/v4/core").$strip>>;
|
|
1658
|
-
id: import("zod").ZodString;
|
|
1659
|
-
}, import("zod/v4/core").$strip>;
|
|
1660
|
-
createdAt: import("zod").ZodDate;
|
|
1661
|
-
description: import("zod").ZodString;
|
|
1662
|
-
id: import("zod").ZodString;
|
|
1663
|
-
identityKey: import("zod").ZodString;
|
|
1664
|
-
triggers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1665
|
-
details: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1666
|
-
label: import("zod").ZodString;
|
|
1667
|
-
value: import("zod").ZodString;
|
|
1668
|
-
}, import("zod/v4/core").$strip>>;
|
|
1669
|
-
name: import("zod").ZodString;
|
|
1670
|
-
type: import("zod").ZodString;
|
|
1671
|
-
}, import("zod/v4/core").$strip>>;
|
|
1672
|
-
updatedAt: import("zod").ZodDate;
|
|
1673
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1674
1717
|
getExecution: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1675
1718
|
automationId: import("zod").ZodString;
|
|
1676
1719
|
executionId: import("zod").ZodString;
|
|
@@ -1682,8 +1725,8 @@ export declare const contract: {
|
|
|
1682
1725
|
running: "running";
|
|
1683
1726
|
completed: "completed";
|
|
1684
1727
|
}>;
|
|
1685
|
-
createdAt: import("zod").ZodDate;
|
|
1686
1728
|
completedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1729
|
+
createdAt: import("zod").ZodDate;
|
|
1687
1730
|
failure: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1688
1731
|
message: import("zod").ZodString;
|
|
1689
1732
|
name: import("zod").ZodString;
|
|
@@ -1763,6 +1806,7 @@ export declare const contract: {
|
|
|
1763
1806
|
git: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1764
1807
|
commitSha: import("zod").ZodString;
|
|
1765
1808
|
dirty: import("zod").ZodBoolean;
|
|
1809
|
+
projectPath: import("zod").ZodString;
|
|
1766
1810
|
repositoryUrl: import("zod").ZodString;
|
|
1767
1811
|
}, import("zod/v4/core").$strip>>;
|
|
1768
1812
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1793,13 +1837,10 @@ export declare const contract: {
|
|
|
1793
1837
|
description: import("zod").ZodString;
|
|
1794
1838
|
id: import("zod").ZodString;
|
|
1795
1839
|
identityKey: import("zod").ZodString;
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
}, import("zod/v4/core").$strip>>;
|
|
1801
|
-
name: import("zod").ZodString;
|
|
1802
|
-
type: import("zod").ZodString;
|
|
1840
|
+
subscriptions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1841
|
+
config: import("zod").ZodJSONSchema;
|
|
1842
|
+
eventType: import("zod").ZodString;
|
|
1843
|
+
hookSlot: import("zod").ZodNumber;
|
|
1803
1844
|
}, import("zod/v4/core").$strip>>;
|
|
1804
1845
|
}, import("zod/v4/core").$strip>>;
|
|
1805
1846
|
createdAt: import("zod").ZodDate;
|
|
@@ -1807,6 +1848,7 @@ export declare const contract: {
|
|
|
1807
1848
|
git: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1808
1849
|
commitSha: import("zod").ZodString;
|
|
1809
1850
|
dirty: import("zod").ZodBoolean;
|
|
1851
|
+
projectPath: import("zod").ZodString;
|
|
1810
1852
|
repositoryUrl: import("zod").ZodString;
|
|
1811
1853
|
}, import("zod/v4/core").$strip>>;
|
|
1812
1854
|
job: import("zod").ZodNullable<import("zod").ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { orgContract } from "./org.js";
|
|
|
9
9
|
import { projectContract } from "./project.js";
|
|
10
10
|
import { runtimeContract } from "./runtime.js";
|
|
11
11
|
export { automationExecutionStatusSchema } from "./automation.js";
|
|
12
|
-
export { AUTOMATION_SDK_VERSION
|
|
12
|
+
export { AUTOMATION_SDK_VERSION } from "./deployment.js";
|
|
13
13
|
export { integrationAccountOutputSchema } from "./account.js";
|
|
14
14
|
export { AUTOMATION_INVOCATION_DEFAULT_ENTRYPOINT, AUTOMATION_INVOCATION_RESERVED_ENTRYPOINT_PREFIX, DEFAULT_GATEWAY_MODEL_ID, automationInvocationInputSchema, automationInvocationOutputSchema, automationInvocationScheduleSchema, generationInputSchema, generationResultSchema, runtimeContract, } from "./runtime.js";
|
|
15
15
|
export { createdOrganizationApiKeyOutputSchema, organizationApiKeyOutputSchema, } from "./api-key.js";
|