@automate.ax/api-contract 0.80.0 → 0.81.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/index.d.ts +66 -66
- package/dist/runtime.d.ts +88 -88
- package/dist/runtime.js +12 -33
- package/package.json +2 -2
- package/src/runtime.ts +12 -39
package/dist/index.d.ts
CHANGED
|
@@ -2208,13 +2208,13 @@ export declare const contract: {
|
|
|
2208
2208
|
};
|
|
2209
2209
|
runtime: {
|
|
2210
2210
|
commit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2211
|
-
actionInvocations: import("zod").
|
|
2211
|
+
actionInvocations: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2212
2212
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2213
2213
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2214
2214
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2215
2215
|
inputHash: import("zod").ZodString;
|
|
2216
2216
|
name: import("zod").ZodString;
|
|
2217
|
-
scopePath: import("zod").
|
|
2217
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2218
2218
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2219
2219
|
slot: import("zod").ZodNumber;
|
|
2220
2220
|
status: import("zod").ZodLiteral<"pending">;
|
|
@@ -2224,7 +2224,7 @@ export declare const contract: {
|
|
|
2224
2224
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2225
2225
|
inputHash: import("zod").ZodString;
|
|
2226
2226
|
name: import("zod").ZodString;
|
|
2227
|
-
scopePath: import("zod").
|
|
2227
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2228
2228
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2229
2229
|
slot: import("zod").ZodNumber;
|
|
2230
2230
|
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
@@ -2235,17 +2235,17 @@ export declare const contract: {
|
|
|
2235
2235
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2236
2236
|
inputHash: import("zod").ZodString;
|
|
2237
2237
|
name: import("zod").ZodString;
|
|
2238
|
-
scopePath: import("zod").
|
|
2238
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2239
2239
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2240
2240
|
slot: import("zod").ZodNumber;
|
|
2241
2241
|
failure: import("zod").ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, import("zod/v4/core").$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
2242
2242
|
reason: import("zod").ZodLiteral<"failed-dependency">;
|
|
2243
2243
|
status: import("zod").ZodLiteral<"skipped">;
|
|
2244
|
-
}, import("zod/v4/core").$strip>]
|
|
2245
|
-
coordinationOffers: import("zod").
|
|
2244
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
2245
|
+
coordinationOffers: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2246
2246
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2247
2247
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2248
|
-
scopePath: import("zod").
|
|
2248
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2249
2249
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2250
2250
|
slot: import("zod").ZodNumber;
|
|
2251
2251
|
count: import("zod").ZodNumber;
|
|
@@ -2261,7 +2261,7 @@ export declare const contract: {
|
|
|
2261
2261
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2262
2262
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2263
2263
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2264
|
-
scopePath: import("zod").
|
|
2264
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2265
2265
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2266
2266
|
slot: import("zod").ZodNumber;
|
|
2267
2267
|
key: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -2274,7 +2274,7 @@ export declare const contract: {
|
|
|
2274
2274
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2275
2275
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2276
2276
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2277
|
-
scopePath: import("zod").
|
|
2277
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2278
2278
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2279
2279
|
slot: import("zod").ZodNumber;
|
|
2280
2280
|
count: import("zod").ZodNumber;
|
|
@@ -2283,7 +2283,7 @@ export declare const contract: {
|
|
|
2283
2283
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2284
2284
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2285
2285
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2286
|
-
scopePath: import("zod").
|
|
2286
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2287
2287
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2288
2288
|
slot: import("zod").ZodNumber;
|
|
2289
2289
|
key: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -2311,58 +2311,58 @@ export declare const contract: {
|
|
|
2311
2311
|
}, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2312
2312
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2313
2313
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2314
|
-
scopePath: import("zod").
|
|
2314
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2315
2315
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2316
2316
|
slot: import("zod").ZodNumber;
|
|
2317
|
-
cohortActionDependencyIds: import("zod").
|
|
2318
|
-
cohortEventDependencyIds: import("zod").
|
|
2319
|
-
cohortOrigins: import("zod").
|
|
2320
|
-
cohortSignalDependencyIds: import("zod").
|
|
2317
|
+
cohortActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2318
|
+
cohortEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2319
|
+
cohortOrigins: import("zod").ZodArray<import("zod").ZodString>;
|
|
2320
|
+
cohortSignalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2321
2321
|
inputOrigins: import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodString>>;
|
|
2322
2322
|
outcomeSeq: import("zod").ZodNumber;
|
|
2323
2323
|
policy: import("zod").ZodLiteral<"race">;
|
|
2324
|
-
scopeOrigins: import("zod").
|
|
2324
|
+
scopeOrigins: import("zod").ZodArray<import("zod").ZodString>;
|
|
2325
2325
|
selectedIndex: import("zod").ZodNumber;
|
|
2326
2326
|
status: import("zod").ZodLiteral<"closed">;
|
|
2327
2327
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2328
2328
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2329
2329
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2330
|
-
scopePath: import("zod").
|
|
2330
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2331
2331
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2332
2332
|
slot: import("zod").ZodNumber;
|
|
2333
|
-
cohortActionDependencyIds: import("zod").
|
|
2334
|
-
cohortEventDependencyIds: import("zod").
|
|
2335
|
-
cohortOrigins: import("zod").
|
|
2336
|
-
cohortSignalDependencyIds: import("zod").
|
|
2333
|
+
cohortActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2334
|
+
cohortEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2335
|
+
cohortOrigins: import("zod").ZodArray<import("zod").ZodString>;
|
|
2336
|
+
cohortSignalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2337
2337
|
inputOrigins: import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodString>>;
|
|
2338
2338
|
outcomeSeq: import("zod").ZodNumber;
|
|
2339
2339
|
policy: import("zod").ZodLiteral<"race">;
|
|
2340
|
-
scopeOrigins: import("zod").
|
|
2340
|
+
scopeOrigins: import("zod").ZodArray<import("zod").ZodString>;
|
|
2341
2341
|
selectedIndex: import("zod").ZodNumber;
|
|
2342
2342
|
failure: import("zod").ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, import("zod/v4/core").$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
2343
2343
|
status: import("zod").ZodLiteral<"failed">;
|
|
2344
2344
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2345
2345
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2346
2346
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2347
|
-
scopePath: import("zod").
|
|
2347
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2348
2348
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2349
2349
|
slot: import("zod").ZodNumber;
|
|
2350
|
-
cohortActionDependencyIds: import("zod").
|
|
2351
|
-
cohortEventDependencyIds: import("zod").
|
|
2352
|
-
cohortOrigins: import("zod").
|
|
2353
|
-
cohortSignalDependencyIds: import("zod").
|
|
2350
|
+
cohortActionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2351
|
+
cohortEventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2352
|
+
cohortOrigins: import("zod").ZodArray<import("zod").ZodString>;
|
|
2353
|
+
cohortSignalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2354
2354
|
inputOrigins: import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodString>>;
|
|
2355
2355
|
outcomeSeq: import("zod").ZodNumber;
|
|
2356
2356
|
policy: import("zod").ZodLiteral<"race">;
|
|
2357
|
-
scopeOrigins: import("zod").
|
|
2357
|
+
scopeOrigins: import("zod").ZodArray<import("zod").ZodString>;
|
|
2358
2358
|
selectedIndex: import("zod").ZodNumber;
|
|
2359
2359
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
2360
|
-
}, import("zod/v4/core").$strip>]>]
|
|
2361
|
-
settled: import("zod").
|
|
2362
|
-
signalInvocations: import("zod").
|
|
2360
|
+
}, import("zod/v4/core").$strip>]>]>>;
|
|
2361
|
+
settled: import("zod").ZodBoolean;
|
|
2362
|
+
signalInvocations: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2363
2363
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2364
2364
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2365
|
-
scopePath: import("zod").
|
|
2365
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2366
2366
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2367
2367
|
slot: import("zod").ZodNumber;
|
|
2368
2368
|
outcomeSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -2370,7 +2370,7 @@ export declare const contract: {
|
|
|
2370
2370
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2371
2371
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2372
2372
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2373
|
-
scopePath: import("zod").
|
|
2373
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2374
2374
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2375
2375
|
slot: import("zod").ZodNumber;
|
|
2376
2376
|
failure: import("zod").ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, import("zod/v4/core").$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
@@ -2378,7 +2378,7 @@ export declare const contract: {
|
|
|
2378
2378
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2379
2379
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2380
2380
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2381
|
-
scopePath: import("zod").
|
|
2381
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2382
2382
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2383
2383
|
slot: import("zod").ZodNumber;
|
|
2384
2384
|
outcomeSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -2386,13 +2386,13 @@ export declare const contract: {
|
|
|
2386
2386
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2387
2387
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2388
2388
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2389
|
-
scopePath: import("zod").
|
|
2389
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2390
2390
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2391
2391
|
slot: import("zod").ZodNumber;
|
|
2392
2392
|
outcomeSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2393
2393
|
selectedIndex: import("zod").ZodNumber;
|
|
2394
2394
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
2395
|
-
}, import("zod/v4/core").$strip>]
|
|
2395
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
2396
2396
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2397
2397
|
completeAction: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2398
2398
|
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
@@ -2552,7 +2552,7 @@ export declare const contract: {
|
|
|
2552
2552
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2553
2553
|
inputHash: import("zod").ZodString;
|
|
2554
2554
|
name: import("zod").ZodString;
|
|
2555
|
-
scopePath: import("zod").
|
|
2555
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2556
2556
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2557
2557
|
slot: import("zod").ZodNumber;
|
|
2558
2558
|
actionInvocationId: import("zod").ZodString;
|
|
@@ -2564,7 +2564,7 @@ export declare const contract: {
|
|
|
2564
2564
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2565
2565
|
inputHash: import("zod").ZodString;
|
|
2566
2566
|
name: import("zod").ZodString;
|
|
2567
|
-
scopePath: import("zod").
|
|
2567
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2568
2568
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2569
2569
|
slot: import("zod").ZodNumber;
|
|
2570
2570
|
actionInvocationId: import("zod").ZodString;
|
|
@@ -2578,7 +2578,7 @@ export declare const contract: {
|
|
|
2578
2578
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2579
2579
|
inputHash: import("zod").ZodString;
|
|
2580
2580
|
name: import("zod").ZodString;
|
|
2581
|
-
scopePath: import("zod").
|
|
2581
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2582
2582
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2583
2583
|
slot: import("zod").ZodNumber;
|
|
2584
2584
|
actionInvocationId: import("zod").ZodString;
|
|
@@ -2592,7 +2592,7 @@ export declare const contract: {
|
|
|
2592
2592
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2593
2593
|
inputHash: import("zod").ZodString;
|
|
2594
2594
|
name: import("zod").ZodString;
|
|
2595
|
-
scopePath: import("zod").
|
|
2595
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2596
2596
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2597
2597
|
slot: import("zod").ZodNumber;
|
|
2598
2598
|
actionInvocationId: import("zod").ZodString;
|
|
@@ -2607,7 +2607,7 @@ export declare const contract: {
|
|
|
2607
2607
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2608
2608
|
inputHash: import("zod").ZodString;
|
|
2609
2609
|
name: import("zod").ZodString;
|
|
2610
|
-
scopePath: import("zod").
|
|
2610
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2611
2611
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2612
2612
|
slot: import("zod").ZodNumber;
|
|
2613
2613
|
actionInvocationId: import("zod").ZodString;
|
|
@@ -2626,13 +2626,13 @@ export declare const contract: {
|
|
|
2626
2626
|
automationEventId: import("zod").ZodString;
|
|
2627
2627
|
contextId: import("zod").ZodString;
|
|
2628
2628
|
outcomeSeq: import("zod").ZodNumber;
|
|
2629
|
-
scopePath: import("zod").
|
|
2629
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2630
2630
|
slot: import("zod").ZodNumber;
|
|
2631
2631
|
}, import("zod/v4/core").$strip>>;
|
|
2632
2632
|
signalOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2633
2633
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2634
2634
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2635
|
-
scopePath: import("zod").
|
|
2635
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2636
2636
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2637
2637
|
slot: import("zod").ZodNumber;
|
|
2638
2638
|
coordinatorConfigurationHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2643,7 +2643,7 @@ export declare const contract: {
|
|
|
2643
2643
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2644
2644
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2645
2645
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2646
|
-
scopePath: import("zod").
|
|
2646
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2647
2647
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2648
2648
|
slot: import("zod").ZodNumber;
|
|
2649
2649
|
coordinatorConfigurationHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2654,7 +2654,7 @@ export declare const contract: {
|
|
|
2654
2654
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2655
2655
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2656
2656
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2657
|
-
scopePath: import("zod").
|
|
2657
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2658
2658
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2659
2659
|
slot: import("zod").ZodNumber;
|
|
2660
2660
|
coordinatorConfigurationHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2666,7 +2666,7 @@ export declare const contract: {
|
|
|
2666
2666
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2667
2667
|
actionDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2668
2668
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2669
|
-
scopePath: import("zod").
|
|
2669
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2670
2670
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2671
2671
|
slot: import("zod").ZodNumber;
|
|
2672
2672
|
coordinatorConfigurationHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2683,7 +2683,7 @@ export declare const contract: {
|
|
|
2683
2683
|
actionOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2684
2684
|
actionInvocationId: import("zod").ZodString;
|
|
2685
2685
|
contextId: import("zod").ZodString;
|
|
2686
|
-
scopePath: import("zod").
|
|
2686
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2687
2687
|
slot: import("zod").ZodNumber;
|
|
2688
2688
|
timestamp: import("zod").ZodDate;
|
|
2689
2689
|
outcomeSeq: import("zod").ZodNumber;
|
|
@@ -2693,7 +2693,7 @@ export declare const contract: {
|
|
|
2693
2693
|
actionInvocationId: import("zod").ZodString;
|
|
2694
2694
|
contextId: import("zod").ZodString;
|
|
2695
2695
|
outcomeSeq: import("zod").ZodNumber;
|
|
2696
|
-
scopePath: import("zod").
|
|
2696
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2697
2697
|
slot: import("zod").ZodNumber;
|
|
2698
2698
|
timestamp: import("zod").ZodDate;
|
|
2699
2699
|
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
@@ -2702,7 +2702,7 @@ export declare const contract: {
|
|
|
2702
2702
|
actionInvocationId: import("zod").ZodString;
|
|
2703
2703
|
contextId: import("zod").ZodString;
|
|
2704
2704
|
outcomeSeq: import("zod").ZodNumber;
|
|
2705
|
-
scopePath: import("zod").
|
|
2705
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2706
2706
|
slot: import("zod").ZodNumber;
|
|
2707
2707
|
timestamp: import("zod").ZodDate;
|
|
2708
2708
|
failure: import("zod").ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, import("zod/v4/core").$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
@@ -2712,7 +2712,7 @@ export declare const contract: {
|
|
|
2712
2712
|
actionInvocationId: import("zod").ZodString;
|
|
2713
2713
|
contextId: import("zod").ZodString;
|
|
2714
2714
|
outcomeSeq: import("zod").ZodNumber;
|
|
2715
|
-
scopePath: import("zod").
|
|
2715
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2716
2716
|
slot: import("zod").ZodNumber;
|
|
2717
2717
|
timestamp: import("zod").ZodDate;
|
|
2718
2718
|
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -2739,14 +2739,14 @@ export declare const contract: {
|
|
|
2739
2739
|
contextId: import("zod").ZodString;
|
|
2740
2740
|
outcomeSeq: import("zod").ZodNumber;
|
|
2741
2741
|
payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
2742
|
-
scopePath: import("zod").
|
|
2742
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2743
2743
|
slot: import("zod").ZodNumber;
|
|
2744
2744
|
timestamp: import("zod").ZodDate;
|
|
2745
2745
|
}, import("zod/v4/core").$strip>>;
|
|
2746
2746
|
signalOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2747
2747
|
contextId: import("zod").ZodString;
|
|
2748
2748
|
outcomeSeq: import("zod").ZodNumber;
|
|
2749
|
-
scopePath: import("zod").
|
|
2749
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2750
2750
|
signalInvocationId: import("zod").ZodString;
|
|
2751
2751
|
slot: import("zod").ZodNumber;
|
|
2752
2752
|
timestamp: import("zod").ZodDate;
|
|
@@ -2754,7 +2754,7 @@ export declare const contract: {
|
|
|
2754
2754
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2755
2755
|
contextId: import("zod").ZodString;
|
|
2756
2756
|
outcomeSeq: import("zod").ZodNumber;
|
|
2757
|
-
scopePath: import("zod").
|
|
2757
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2758
2758
|
signalInvocationId: import("zod").ZodString;
|
|
2759
2759
|
slot: import("zod").ZodNumber;
|
|
2760
2760
|
timestamp: import("zod").ZodDate;
|
|
@@ -2762,7 +2762,7 @@ export declare const contract: {
|
|
|
2762
2762
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2763
2763
|
contextId: import("zod").ZodString;
|
|
2764
2764
|
outcomeSeq: import("zod").ZodNumber;
|
|
2765
|
-
scopePath: import("zod").
|
|
2765
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2766
2766
|
signalInvocationId: import("zod").ZodString;
|
|
2767
2767
|
slot: import("zod").ZodNumber;
|
|
2768
2768
|
timestamp: import("zod").ZodDate;
|
|
@@ -2771,7 +2771,7 @@ export declare const contract: {
|
|
|
2771
2771
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2772
2772
|
contextId: import("zod").ZodString;
|
|
2773
2773
|
outcomeSeq: import("zod").ZodNumber;
|
|
2774
|
-
scopePath: import("zod").
|
|
2774
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2775
2775
|
signalInvocationId: import("zod").ZodString;
|
|
2776
2776
|
slot: import("zod").ZodNumber;
|
|
2777
2777
|
timestamp: import("zod").ZodDate;
|
|
@@ -2781,12 +2781,12 @@ export declare const contract: {
|
|
|
2781
2781
|
}, import("zod/v4/core").$strip>]>>;
|
|
2782
2782
|
}, import("zod/v4/core").$strip>;
|
|
2783
2783
|
id: import("zod").ZodString;
|
|
2784
|
-
scopePath: import("zod").
|
|
2784
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2785
2785
|
slot: import("zod").ZodNumber;
|
|
2786
2786
|
status: import("zod").ZodLiteral<"pending">;
|
|
2787
2787
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2788
2788
|
id: import("zod").ZodString;
|
|
2789
|
-
scopePath: import("zod").
|
|
2789
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2790
2790
|
slot: import("zod").ZodNumber;
|
|
2791
2791
|
status: import("zod").ZodEnum<{
|
|
2792
2792
|
succeeded: "succeeded";
|
|
@@ -2803,7 +2803,7 @@ export declare const contract: {
|
|
|
2803
2803
|
actionOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2804
2804
|
actionInvocationId: import("zod").ZodString;
|
|
2805
2805
|
contextId: import("zod").ZodString;
|
|
2806
|
-
scopePath: import("zod").
|
|
2806
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2807
2807
|
slot: import("zod").ZodNumber;
|
|
2808
2808
|
timestamp: import("zod").ZodDate;
|
|
2809
2809
|
outcomeSeq: import("zod").ZodNumber;
|
|
@@ -2813,7 +2813,7 @@ export declare const contract: {
|
|
|
2813
2813
|
actionInvocationId: import("zod").ZodString;
|
|
2814
2814
|
contextId: import("zod").ZodString;
|
|
2815
2815
|
outcomeSeq: import("zod").ZodNumber;
|
|
2816
|
-
scopePath: import("zod").
|
|
2816
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2817
2817
|
slot: import("zod").ZodNumber;
|
|
2818
2818
|
timestamp: import("zod").ZodDate;
|
|
2819
2819
|
reason: import("zod").ZodLiteral<"closed-dependency">;
|
|
@@ -2822,7 +2822,7 @@ export declare const contract: {
|
|
|
2822
2822
|
actionInvocationId: import("zod").ZodString;
|
|
2823
2823
|
contextId: import("zod").ZodString;
|
|
2824
2824
|
outcomeSeq: import("zod").ZodNumber;
|
|
2825
|
-
scopePath: import("zod").
|
|
2825
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2826
2826
|
slot: import("zod").ZodNumber;
|
|
2827
2827
|
timestamp: import("zod").ZodDate;
|
|
2828
2828
|
failure: import("zod").ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, import("zod/v4/core").$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
@@ -2832,7 +2832,7 @@ export declare const contract: {
|
|
|
2832
2832
|
actionInvocationId: import("zod").ZodString;
|
|
2833
2833
|
contextId: import("zod").ZodString;
|
|
2834
2834
|
outcomeSeq: import("zod").ZodNumber;
|
|
2835
|
-
scopePath: import("zod").
|
|
2835
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2836
2836
|
slot: import("zod").ZodNumber;
|
|
2837
2837
|
timestamp: import("zod").ZodDate;
|
|
2838
2838
|
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -2859,14 +2859,14 @@ export declare const contract: {
|
|
|
2859
2859
|
contextId: import("zod").ZodString;
|
|
2860
2860
|
outcomeSeq: import("zod").ZodNumber;
|
|
2861
2861
|
payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
2862
|
-
scopePath: import("zod").
|
|
2862
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2863
2863
|
slot: import("zod").ZodNumber;
|
|
2864
2864
|
timestamp: import("zod").ZodDate;
|
|
2865
2865
|
}, import("zod/v4/core").$strip>>;
|
|
2866
2866
|
signalOutputs: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2867
2867
|
contextId: import("zod").ZodString;
|
|
2868
2868
|
outcomeSeq: import("zod").ZodNumber;
|
|
2869
|
-
scopePath: import("zod").
|
|
2869
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2870
2870
|
signalInvocationId: import("zod").ZodString;
|
|
2871
2871
|
slot: import("zod").ZodNumber;
|
|
2872
2872
|
timestamp: import("zod").ZodDate;
|
|
@@ -2874,7 +2874,7 @@ export declare const contract: {
|
|
|
2874
2874
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2875
2875
|
contextId: import("zod").ZodString;
|
|
2876
2876
|
outcomeSeq: import("zod").ZodNumber;
|
|
2877
|
-
scopePath: import("zod").
|
|
2877
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2878
2878
|
signalInvocationId: import("zod").ZodString;
|
|
2879
2879
|
slot: import("zod").ZodNumber;
|
|
2880
2880
|
timestamp: import("zod").ZodDate;
|
|
@@ -2882,7 +2882,7 @@ export declare const contract: {
|
|
|
2882
2882
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2883
2883
|
contextId: import("zod").ZodString;
|
|
2884
2884
|
outcomeSeq: import("zod").ZodNumber;
|
|
2885
|
-
scopePath: import("zod").
|
|
2885
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2886
2886
|
signalInvocationId: import("zod").ZodString;
|
|
2887
2887
|
slot: import("zod").ZodNumber;
|
|
2888
2888
|
timestamp: import("zod").ZodDate;
|
|
@@ -2891,7 +2891,7 @@ export declare const contract: {
|
|
|
2891
2891
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2892
2892
|
contextId: import("zod").ZodString;
|
|
2893
2893
|
outcomeSeq: import("zod").ZodNumber;
|
|
2894
|
-
scopePath: import("zod").
|
|
2894
|
+
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2895
2895
|
signalInvocationId: import("zod").ZodString;
|
|
2896
2896
|
slot: import("zod").ZodNumber;
|
|
2897
2897
|
timestamp: import("zod").ZodDate;
|
package/dist/runtime.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare const automationInvocationInputSchema: z.ZodIntersection<z.ZodInt
|
|
|
49
49
|
declare const COORDINATION_OFFER_SCHEMA: z.ZodUnion<readonly [z.ZodObject<{
|
|
50
50
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
51
51
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
52
|
-
scopePath: z.
|
|
52
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
53
53
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
54
54
|
slot: z.ZodNumber;
|
|
55
55
|
count: z.ZodNumber;
|
|
@@ -65,7 +65,7 @@ declare const COORDINATION_OFFER_SCHEMA: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
65
65
|
}, z.core.$strip>, z.ZodObject<{
|
|
66
66
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
67
67
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
68
|
-
scopePath: z.
|
|
68
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
69
69
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
70
70
|
slot: z.ZodNumber;
|
|
71
71
|
key: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -78,7 +78,7 @@ declare const COORDINATION_OFFER_SCHEMA: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
78
78
|
}, z.core.$strip>, z.ZodObject<{
|
|
79
79
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
80
80
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
81
|
-
scopePath: z.
|
|
81
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
82
82
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
83
83
|
slot: z.ZodNumber;
|
|
84
84
|
count: z.ZodNumber;
|
|
@@ -87,7 +87,7 @@ declare const COORDINATION_OFFER_SCHEMA: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
87
87
|
}, z.core.$strip>, z.ZodObject<{
|
|
88
88
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
89
89
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
90
|
-
scopePath: z.
|
|
90
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
91
91
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
92
92
|
slot: z.ZodNumber;
|
|
93
93
|
key: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -115,50 +115,50 @@ declare const COORDINATION_OFFER_SCHEMA: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
115
115
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
116
116
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
117
117
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
118
|
-
scopePath: z.
|
|
118
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
119
119
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
120
120
|
slot: z.ZodNumber;
|
|
121
|
-
cohortActionDependencyIds: z.
|
|
122
|
-
cohortEventDependencyIds: z.
|
|
123
|
-
cohortOrigins: z.
|
|
124
|
-
cohortSignalDependencyIds: z.
|
|
121
|
+
cohortActionDependencyIds: z.ZodArray<z.ZodString>;
|
|
122
|
+
cohortEventDependencyIds: z.ZodArray<z.ZodString>;
|
|
123
|
+
cohortOrigins: z.ZodArray<z.ZodString>;
|
|
124
|
+
cohortSignalDependencyIds: z.ZodArray<z.ZodString>;
|
|
125
125
|
inputOrigins: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
126
126
|
outcomeSeq: z.ZodNumber;
|
|
127
127
|
policy: z.ZodLiteral<"race">;
|
|
128
|
-
scopeOrigins: z.
|
|
128
|
+
scopeOrigins: z.ZodArray<z.ZodString>;
|
|
129
129
|
selectedIndex: z.ZodNumber;
|
|
130
130
|
status: z.ZodLiteral<"closed">;
|
|
131
131
|
}, z.core.$strip>, z.ZodObject<{
|
|
132
132
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
133
133
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
134
|
-
scopePath: z.
|
|
134
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
135
135
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
136
136
|
slot: z.ZodNumber;
|
|
137
|
-
cohortActionDependencyIds: z.
|
|
138
|
-
cohortEventDependencyIds: z.
|
|
139
|
-
cohortOrigins: z.
|
|
140
|
-
cohortSignalDependencyIds: z.
|
|
137
|
+
cohortActionDependencyIds: z.ZodArray<z.ZodString>;
|
|
138
|
+
cohortEventDependencyIds: z.ZodArray<z.ZodString>;
|
|
139
|
+
cohortOrigins: z.ZodArray<z.ZodString>;
|
|
140
|
+
cohortSignalDependencyIds: z.ZodArray<z.ZodString>;
|
|
141
141
|
inputOrigins: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
142
142
|
outcomeSeq: z.ZodNumber;
|
|
143
143
|
policy: z.ZodLiteral<"race">;
|
|
144
|
-
scopeOrigins: z.
|
|
144
|
+
scopeOrigins: z.ZodArray<z.ZodString>;
|
|
145
145
|
selectedIndex: z.ZodNumber;
|
|
146
146
|
failure: z.ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, z.core.$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
147
147
|
status: z.ZodLiteral<"failed">;
|
|
148
148
|
}, z.core.$strip>, z.ZodObject<{
|
|
149
149
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
150
150
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
151
|
-
scopePath: z.
|
|
151
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
152
152
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
153
153
|
slot: z.ZodNumber;
|
|
154
|
-
cohortActionDependencyIds: z.
|
|
155
|
-
cohortEventDependencyIds: z.
|
|
156
|
-
cohortOrigins: z.
|
|
157
|
-
cohortSignalDependencyIds: z.
|
|
154
|
+
cohortActionDependencyIds: z.ZodArray<z.ZodString>;
|
|
155
|
+
cohortEventDependencyIds: z.ZodArray<z.ZodString>;
|
|
156
|
+
cohortOrigins: z.ZodArray<z.ZodString>;
|
|
157
|
+
cohortSignalDependencyIds: z.ZodArray<z.ZodString>;
|
|
158
158
|
inputOrigins: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
159
159
|
outcomeSeq: z.ZodNumber;
|
|
160
160
|
policy: z.ZodLiteral<"race">;
|
|
161
|
-
scopeOrigins: z.
|
|
161
|
+
scopeOrigins: z.ZodArray<z.ZodString>;
|
|
162
162
|
selectedIndex: z.ZodNumber;
|
|
163
163
|
status: z.ZodLiteral<"succeeded">;
|
|
164
164
|
}, z.core.$strip>]>]>;
|
|
@@ -322,13 +322,13 @@ export type RuntimeGenerationInput = z.output<typeof RUNTIME_GENERATION_INPUT_SC
|
|
|
322
322
|
export declare function hashSignalCoordinatorConfiguration(definition: unknown, primaryPosition?: "first" | "last"): Promise<string>;
|
|
323
323
|
export declare const runtimeContract: {
|
|
324
324
|
commit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
325
|
-
actionInvocations: z.
|
|
325
|
+
actionInvocations: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
326
326
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
327
327
|
description: z.ZodNullable<z.ZodString>;
|
|
328
328
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
329
329
|
inputHash: z.ZodString;
|
|
330
330
|
name: z.ZodString;
|
|
331
|
-
scopePath: z.
|
|
331
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
332
332
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
333
333
|
slot: z.ZodNumber;
|
|
334
334
|
status: z.ZodLiteral<"pending">;
|
|
@@ -338,7 +338,7 @@ export declare const runtimeContract: {
|
|
|
338
338
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
339
339
|
inputHash: z.ZodString;
|
|
340
340
|
name: z.ZodString;
|
|
341
|
-
scopePath: z.
|
|
341
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
342
342
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
343
343
|
slot: z.ZodNumber;
|
|
344
344
|
reason: z.ZodLiteral<"closed-dependency">;
|
|
@@ -349,17 +349,17 @@ export declare const runtimeContract: {
|
|
|
349
349
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
350
350
|
inputHash: z.ZodString;
|
|
351
351
|
name: z.ZodString;
|
|
352
|
-
scopePath: z.
|
|
352
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
353
353
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
354
354
|
slot: z.ZodNumber;
|
|
355
355
|
failure: z.ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, z.core.$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
356
356
|
reason: z.ZodLiteral<"failed-dependency">;
|
|
357
357
|
status: z.ZodLiteral<"skipped">;
|
|
358
|
-
}, z.core.$strip>]
|
|
359
|
-
coordinationOffers: z.
|
|
358
|
+
}, z.core.$strip>]>>;
|
|
359
|
+
coordinationOffers: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
360
360
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
361
361
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
362
|
-
scopePath: z.
|
|
362
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
363
363
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
364
364
|
slot: z.ZodNumber;
|
|
365
365
|
count: z.ZodNumber;
|
|
@@ -375,7 +375,7 @@ export declare const runtimeContract: {
|
|
|
375
375
|
}, z.core.$strip>, z.ZodObject<{
|
|
376
376
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
377
377
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
378
|
-
scopePath: z.
|
|
378
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
379
379
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
380
380
|
slot: z.ZodNumber;
|
|
381
381
|
key: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -388,7 +388,7 @@ export declare const runtimeContract: {
|
|
|
388
388
|
}, z.core.$strip>, z.ZodObject<{
|
|
389
389
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
390
390
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
391
|
-
scopePath: z.
|
|
391
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
392
392
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
393
393
|
slot: z.ZodNumber;
|
|
394
394
|
count: z.ZodNumber;
|
|
@@ -397,7 +397,7 @@ export declare const runtimeContract: {
|
|
|
397
397
|
}, z.core.$strip>, z.ZodObject<{
|
|
398
398
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
399
399
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
400
|
-
scopePath: z.
|
|
400
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
401
401
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
402
402
|
slot: z.ZodNumber;
|
|
403
403
|
key: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -425,58 +425,58 @@ export declare const runtimeContract: {
|
|
|
425
425
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
426
426
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
427
427
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
428
|
-
scopePath: z.
|
|
428
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
429
429
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
430
430
|
slot: z.ZodNumber;
|
|
431
|
-
cohortActionDependencyIds: z.
|
|
432
|
-
cohortEventDependencyIds: z.
|
|
433
|
-
cohortOrigins: z.
|
|
434
|
-
cohortSignalDependencyIds: z.
|
|
431
|
+
cohortActionDependencyIds: z.ZodArray<z.ZodString>;
|
|
432
|
+
cohortEventDependencyIds: z.ZodArray<z.ZodString>;
|
|
433
|
+
cohortOrigins: z.ZodArray<z.ZodString>;
|
|
434
|
+
cohortSignalDependencyIds: z.ZodArray<z.ZodString>;
|
|
435
435
|
inputOrigins: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
436
436
|
outcomeSeq: z.ZodNumber;
|
|
437
437
|
policy: z.ZodLiteral<"race">;
|
|
438
|
-
scopeOrigins: z.
|
|
438
|
+
scopeOrigins: z.ZodArray<z.ZodString>;
|
|
439
439
|
selectedIndex: z.ZodNumber;
|
|
440
440
|
status: z.ZodLiteral<"closed">;
|
|
441
441
|
}, z.core.$strip>, z.ZodObject<{
|
|
442
442
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
443
443
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
444
|
-
scopePath: z.
|
|
444
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
445
445
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
446
446
|
slot: z.ZodNumber;
|
|
447
|
-
cohortActionDependencyIds: z.
|
|
448
|
-
cohortEventDependencyIds: z.
|
|
449
|
-
cohortOrigins: z.
|
|
450
|
-
cohortSignalDependencyIds: z.
|
|
447
|
+
cohortActionDependencyIds: z.ZodArray<z.ZodString>;
|
|
448
|
+
cohortEventDependencyIds: z.ZodArray<z.ZodString>;
|
|
449
|
+
cohortOrigins: z.ZodArray<z.ZodString>;
|
|
450
|
+
cohortSignalDependencyIds: z.ZodArray<z.ZodString>;
|
|
451
451
|
inputOrigins: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
452
452
|
outcomeSeq: z.ZodNumber;
|
|
453
453
|
policy: z.ZodLiteral<"race">;
|
|
454
|
-
scopeOrigins: z.
|
|
454
|
+
scopeOrigins: z.ZodArray<z.ZodString>;
|
|
455
455
|
selectedIndex: z.ZodNumber;
|
|
456
456
|
failure: z.ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, z.core.$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
457
457
|
status: z.ZodLiteral<"failed">;
|
|
458
458
|
}, z.core.$strip>, z.ZodObject<{
|
|
459
459
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
460
460
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
461
|
-
scopePath: z.
|
|
461
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
462
462
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
463
463
|
slot: z.ZodNumber;
|
|
464
|
-
cohortActionDependencyIds: z.
|
|
465
|
-
cohortEventDependencyIds: z.
|
|
466
|
-
cohortOrigins: z.
|
|
467
|
-
cohortSignalDependencyIds: z.
|
|
464
|
+
cohortActionDependencyIds: z.ZodArray<z.ZodString>;
|
|
465
|
+
cohortEventDependencyIds: z.ZodArray<z.ZodString>;
|
|
466
|
+
cohortOrigins: z.ZodArray<z.ZodString>;
|
|
467
|
+
cohortSignalDependencyIds: z.ZodArray<z.ZodString>;
|
|
468
468
|
inputOrigins: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
469
469
|
outcomeSeq: z.ZodNumber;
|
|
470
470
|
policy: z.ZodLiteral<"race">;
|
|
471
|
-
scopeOrigins: z.
|
|
471
|
+
scopeOrigins: z.ZodArray<z.ZodString>;
|
|
472
472
|
selectedIndex: z.ZodNumber;
|
|
473
473
|
status: z.ZodLiteral<"succeeded">;
|
|
474
|
-
}, z.core.$strip>]>]
|
|
475
|
-
settled: z.
|
|
476
|
-
signalInvocations: z.
|
|
474
|
+
}, z.core.$strip>]>]>>;
|
|
475
|
+
settled: z.ZodBoolean;
|
|
476
|
+
signalInvocations: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
477
477
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
478
478
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
479
|
-
scopePath: z.
|
|
479
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
480
480
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
481
481
|
slot: z.ZodNumber;
|
|
482
482
|
outcomeSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -484,7 +484,7 @@ export declare const runtimeContract: {
|
|
|
484
484
|
}, z.core.$strip>, z.ZodObject<{
|
|
485
485
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
486
486
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
487
|
-
scopePath: z.
|
|
487
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
488
488
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
489
489
|
slot: z.ZodNumber;
|
|
490
490
|
failure: z.ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, z.core.$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
@@ -492,7 +492,7 @@ export declare const runtimeContract: {
|
|
|
492
492
|
}, z.core.$strip>, z.ZodObject<{
|
|
493
493
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
494
494
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
495
|
-
scopePath: z.
|
|
495
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
496
496
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
497
497
|
slot: z.ZodNumber;
|
|
498
498
|
outcomeSeq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -500,13 +500,13 @@ export declare const runtimeContract: {
|
|
|
500
500
|
}, z.core.$strip>, z.ZodObject<{
|
|
501
501
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
502
502
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
503
|
-
scopePath: z.
|
|
503
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
504
504
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
505
505
|
slot: z.ZodNumber;
|
|
506
506
|
outcomeSeq: z.ZodOptional<z.ZodNumber>;
|
|
507
507
|
selectedIndex: z.ZodNumber;
|
|
508
508
|
status: z.ZodLiteral<"succeeded">;
|
|
509
|
-
}, z.core.$strip>]
|
|
509
|
+
}, z.core.$strip>]>>;
|
|
510
510
|
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
511
511
|
completeAction: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodUnion<readonly [z.ZodObject<{
|
|
512
512
|
reason: z.ZodLiteral<"closed-dependency">;
|
|
@@ -666,7 +666,7 @@ export declare const runtimeContract: {
|
|
|
666
666
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
667
667
|
inputHash: z.ZodString;
|
|
668
668
|
name: z.ZodString;
|
|
669
|
-
scopePath: z.
|
|
669
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
670
670
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
671
671
|
slot: z.ZodNumber;
|
|
672
672
|
actionInvocationId: z.ZodString;
|
|
@@ -678,7 +678,7 @@ export declare const runtimeContract: {
|
|
|
678
678
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
679
679
|
inputHash: z.ZodString;
|
|
680
680
|
name: z.ZodString;
|
|
681
|
-
scopePath: z.
|
|
681
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
682
682
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
683
683
|
slot: z.ZodNumber;
|
|
684
684
|
actionInvocationId: z.ZodString;
|
|
@@ -692,7 +692,7 @@ export declare const runtimeContract: {
|
|
|
692
692
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
693
693
|
inputHash: z.ZodString;
|
|
694
694
|
name: z.ZodString;
|
|
695
|
-
scopePath: z.
|
|
695
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
696
696
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
697
697
|
slot: z.ZodNumber;
|
|
698
698
|
actionInvocationId: z.ZodString;
|
|
@@ -706,7 +706,7 @@ export declare const runtimeContract: {
|
|
|
706
706
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
707
707
|
inputHash: z.ZodString;
|
|
708
708
|
name: z.ZodString;
|
|
709
|
-
scopePath: z.
|
|
709
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
710
710
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
711
711
|
slot: z.ZodNumber;
|
|
712
712
|
actionInvocationId: z.ZodString;
|
|
@@ -721,7 +721,7 @@ export declare const runtimeContract: {
|
|
|
721
721
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
722
722
|
inputHash: z.ZodString;
|
|
723
723
|
name: z.ZodString;
|
|
724
|
-
scopePath: z.
|
|
724
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
725
725
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
726
726
|
slot: z.ZodNumber;
|
|
727
727
|
actionInvocationId: z.ZodString;
|
|
@@ -740,13 +740,13 @@ export declare const runtimeContract: {
|
|
|
740
740
|
automationEventId: z.ZodString;
|
|
741
741
|
contextId: z.ZodString;
|
|
742
742
|
outcomeSeq: z.ZodNumber;
|
|
743
|
-
scopePath: z.
|
|
743
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
744
744
|
slot: z.ZodNumber;
|
|
745
745
|
}, z.core.$strip>>;
|
|
746
746
|
signalOutputs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
747
747
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
748
748
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
749
|
-
scopePath: z.
|
|
749
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
750
750
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
751
751
|
slot: z.ZodNumber;
|
|
752
752
|
coordinatorConfigurationHash: z.ZodOptional<z.ZodString>;
|
|
@@ -757,7 +757,7 @@ export declare const runtimeContract: {
|
|
|
757
757
|
}, z.core.$strip>, z.ZodObject<{
|
|
758
758
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
759
759
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
760
|
-
scopePath: z.
|
|
760
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
761
761
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
762
762
|
slot: z.ZodNumber;
|
|
763
763
|
coordinatorConfigurationHash: z.ZodOptional<z.ZodString>;
|
|
@@ -768,7 +768,7 @@ export declare const runtimeContract: {
|
|
|
768
768
|
}, z.core.$strip>, z.ZodObject<{
|
|
769
769
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
770
770
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
771
|
-
scopePath: z.
|
|
771
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
772
772
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
773
773
|
slot: z.ZodNumber;
|
|
774
774
|
coordinatorConfigurationHash: z.ZodOptional<z.ZodString>;
|
|
@@ -780,7 +780,7 @@ export declare const runtimeContract: {
|
|
|
780
780
|
}, z.core.$strip>, z.ZodObject<{
|
|
781
781
|
actionDependencyIds: z.ZodArray<z.ZodString>;
|
|
782
782
|
eventDependencyIds: z.ZodArray<z.ZodString>;
|
|
783
|
-
scopePath: z.
|
|
783
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
784
784
|
signalDependencyIds: z.ZodArray<z.ZodString>;
|
|
785
785
|
slot: z.ZodNumber;
|
|
786
786
|
coordinatorConfigurationHash: z.ZodOptional<z.ZodString>;
|
|
@@ -797,7 +797,7 @@ export declare const runtimeContract: {
|
|
|
797
797
|
actionOutputs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
798
798
|
actionInvocationId: z.ZodString;
|
|
799
799
|
contextId: z.ZodString;
|
|
800
|
-
scopePath: z.
|
|
800
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
801
801
|
slot: z.ZodNumber;
|
|
802
802
|
timestamp: z.ZodDate;
|
|
803
803
|
outcomeSeq: z.ZodNumber;
|
|
@@ -807,7 +807,7 @@ export declare const runtimeContract: {
|
|
|
807
807
|
actionInvocationId: z.ZodString;
|
|
808
808
|
contextId: z.ZodString;
|
|
809
809
|
outcomeSeq: z.ZodNumber;
|
|
810
|
-
scopePath: z.
|
|
810
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
811
811
|
slot: z.ZodNumber;
|
|
812
812
|
timestamp: z.ZodDate;
|
|
813
813
|
reason: z.ZodLiteral<"closed-dependency">;
|
|
@@ -816,7 +816,7 @@ export declare const runtimeContract: {
|
|
|
816
816
|
actionInvocationId: z.ZodString;
|
|
817
817
|
contextId: z.ZodString;
|
|
818
818
|
outcomeSeq: z.ZodNumber;
|
|
819
|
-
scopePath: z.
|
|
819
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
820
820
|
slot: z.ZodNumber;
|
|
821
821
|
timestamp: z.ZodDate;
|
|
822
822
|
failure: z.ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, z.core.$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
@@ -826,7 +826,7 @@ export declare const runtimeContract: {
|
|
|
826
826
|
actionInvocationId: z.ZodString;
|
|
827
827
|
contextId: z.ZodString;
|
|
828
828
|
outcomeSeq: z.ZodNumber;
|
|
829
|
-
scopePath: z.
|
|
829
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
830
830
|
slot: z.ZodNumber;
|
|
831
831
|
timestamp: z.ZodDate;
|
|
832
832
|
output: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -853,14 +853,14 @@ export declare const runtimeContract: {
|
|
|
853
853
|
contextId: z.ZodString;
|
|
854
854
|
outcomeSeq: z.ZodNumber;
|
|
855
855
|
payload: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
856
|
-
scopePath: z.
|
|
856
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
857
857
|
slot: z.ZodNumber;
|
|
858
858
|
timestamp: z.ZodDate;
|
|
859
859
|
}, z.core.$strip>>;
|
|
860
860
|
signalOutputs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
861
861
|
contextId: z.ZodString;
|
|
862
862
|
outcomeSeq: z.ZodNumber;
|
|
863
|
-
scopePath: z.
|
|
863
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
864
864
|
signalInvocationId: z.ZodString;
|
|
865
865
|
slot: z.ZodNumber;
|
|
866
866
|
timestamp: z.ZodDate;
|
|
@@ -868,7 +868,7 @@ export declare const runtimeContract: {
|
|
|
868
868
|
}, z.core.$strip>, z.ZodObject<{
|
|
869
869
|
contextId: z.ZodString;
|
|
870
870
|
outcomeSeq: z.ZodNumber;
|
|
871
|
-
scopePath: z.
|
|
871
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
872
872
|
signalInvocationId: z.ZodString;
|
|
873
873
|
slot: z.ZodNumber;
|
|
874
874
|
timestamp: z.ZodDate;
|
|
@@ -876,7 +876,7 @@ export declare const runtimeContract: {
|
|
|
876
876
|
}, z.core.$strip>, z.ZodObject<{
|
|
877
877
|
contextId: z.ZodString;
|
|
878
878
|
outcomeSeq: z.ZodNumber;
|
|
879
|
-
scopePath: z.
|
|
879
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
880
880
|
signalInvocationId: z.ZodString;
|
|
881
881
|
slot: z.ZodNumber;
|
|
882
882
|
timestamp: z.ZodDate;
|
|
@@ -885,7 +885,7 @@ export declare const runtimeContract: {
|
|
|
885
885
|
}, z.core.$strip>, z.ZodObject<{
|
|
886
886
|
contextId: z.ZodString;
|
|
887
887
|
outcomeSeq: z.ZodNumber;
|
|
888
|
-
scopePath: z.
|
|
888
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
889
889
|
signalInvocationId: z.ZodString;
|
|
890
890
|
slot: z.ZodNumber;
|
|
891
891
|
timestamp: z.ZodDate;
|
|
@@ -895,12 +895,12 @@ export declare const runtimeContract: {
|
|
|
895
895
|
}, z.core.$strip>]>>;
|
|
896
896
|
}, z.core.$strip>;
|
|
897
897
|
id: z.ZodString;
|
|
898
|
-
scopePath: z.
|
|
898
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
899
899
|
slot: z.ZodNumber;
|
|
900
900
|
status: z.ZodLiteral<"pending">;
|
|
901
901
|
}, z.core.$strip>, z.ZodObject<{
|
|
902
902
|
id: z.ZodString;
|
|
903
|
-
scopePath: z.
|
|
903
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
904
904
|
slot: z.ZodNumber;
|
|
905
905
|
status: z.ZodEnum<{
|
|
906
906
|
succeeded: "succeeded";
|
|
@@ -917,7 +917,7 @@ export declare const runtimeContract: {
|
|
|
917
917
|
actionOutputs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
918
918
|
actionInvocationId: z.ZodString;
|
|
919
919
|
contextId: z.ZodString;
|
|
920
|
-
scopePath: z.
|
|
920
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
921
921
|
slot: z.ZodNumber;
|
|
922
922
|
timestamp: z.ZodDate;
|
|
923
923
|
outcomeSeq: z.ZodNumber;
|
|
@@ -927,7 +927,7 @@ export declare const runtimeContract: {
|
|
|
927
927
|
actionInvocationId: z.ZodString;
|
|
928
928
|
contextId: z.ZodString;
|
|
929
929
|
outcomeSeq: z.ZodNumber;
|
|
930
|
-
scopePath: z.
|
|
930
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
931
931
|
slot: z.ZodNumber;
|
|
932
932
|
timestamp: z.ZodDate;
|
|
933
933
|
reason: z.ZodLiteral<"closed-dependency">;
|
|
@@ -936,7 +936,7 @@ export declare const runtimeContract: {
|
|
|
936
936
|
actionInvocationId: z.ZodString;
|
|
937
937
|
contextId: z.ZodString;
|
|
938
938
|
outcomeSeq: z.ZodNumber;
|
|
939
|
-
scopePath: z.
|
|
939
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
940
940
|
slot: z.ZodNumber;
|
|
941
941
|
timestamp: z.ZodDate;
|
|
942
942
|
failure: z.ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, z.core.$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>;
|
|
@@ -946,7 +946,7 @@ export declare const runtimeContract: {
|
|
|
946
946
|
actionInvocationId: z.ZodString;
|
|
947
947
|
contextId: z.ZodString;
|
|
948
948
|
outcomeSeq: z.ZodNumber;
|
|
949
|
-
scopePath: z.
|
|
949
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
950
950
|
slot: z.ZodNumber;
|
|
951
951
|
timestamp: z.ZodDate;
|
|
952
952
|
output: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
@@ -973,14 +973,14 @@ export declare const runtimeContract: {
|
|
|
973
973
|
contextId: z.ZodString;
|
|
974
974
|
outcomeSeq: z.ZodNumber;
|
|
975
975
|
payload: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
976
|
-
scopePath: z.
|
|
976
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
977
977
|
slot: z.ZodNumber;
|
|
978
978
|
timestamp: z.ZodDate;
|
|
979
979
|
}, z.core.$strip>>;
|
|
980
980
|
signalOutputs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
981
981
|
contextId: z.ZodString;
|
|
982
982
|
outcomeSeq: z.ZodNumber;
|
|
983
|
-
scopePath: z.
|
|
983
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
984
984
|
signalInvocationId: z.ZodString;
|
|
985
985
|
slot: z.ZodNumber;
|
|
986
986
|
timestamp: z.ZodDate;
|
|
@@ -988,7 +988,7 @@ export declare const runtimeContract: {
|
|
|
988
988
|
}, z.core.$strip>, z.ZodObject<{
|
|
989
989
|
contextId: z.ZodString;
|
|
990
990
|
outcomeSeq: z.ZodNumber;
|
|
991
|
-
scopePath: z.
|
|
991
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
992
992
|
signalInvocationId: z.ZodString;
|
|
993
993
|
slot: z.ZodNumber;
|
|
994
994
|
timestamp: z.ZodDate;
|
|
@@ -996,7 +996,7 @@ export declare const runtimeContract: {
|
|
|
996
996
|
}, z.core.$strip>, z.ZodObject<{
|
|
997
997
|
contextId: z.ZodString;
|
|
998
998
|
outcomeSeq: z.ZodNumber;
|
|
999
|
-
scopePath: z.
|
|
999
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
1000
1000
|
signalInvocationId: z.ZodString;
|
|
1001
1001
|
slot: z.ZodNumber;
|
|
1002
1002
|
timestamp: z.ZodDate;
|
|
@@ -1005,7 +1005,7 @@ export declare const runtimeContract: {
|
|
|
1005
1005
|
}, z.core.$strip>, z.ZodObject<{
|
|
1006
1006
|
contextId: z.ZodString;
|
|
1007
1007
|
outcomeSeq: z.ZodNumber;
|
|
1008
|
-
scopePath: z.
|
|
1008
|
+
scopePath: z.ZodArray<z.ZodNumber>;
|
|
1009
1009
|
signalInvocationId: z.ZodString;
|
|
1010
1010
|
slot: z.ZodNumber;
|
|
1011
1011
|
timestamp: z.ZodDate;
|
package/dist/runtime.js
CHANGED
|
@@ -15,12 +15,7 @@ export const AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES = 64 * 1_024;
|
|
|
15
15
|
export const AUTOMATION_LOG_MAX_MESSAGE_LENGTH = 16_384;
|
|
16
16
|
export const AUTOMATION_TRACE_MAX_NAME_LENGTH = 256;
|
|
17
17
|
const OUTCOME_SEQUENCE_SCHEMA = z.number().int().positive();
|
|
18
|
-
const HOOK_SCOPE_PATH_SCHEMA = z
|
|
19
|
-
.number()
|
|
20
|
-
.int()
|
|
21
|
-
.nonnegative()
|
|
22
|
-
.array()
|
|
23
|
-
.default([]);
|
|
18
|
+
const HOOK_SCOPE_PATH_SCHEMA = z.number().int().nonnegative().array();
|
|
24
19
|
const OBSERVABILITY_FIELDS_SCHEMA = z
|
|
25
20
|
.record(z.string().min(1).max(128), encodableSchema)
|
|
26
21
|
.refine((fields) => Object.keys(fields).length <= AUTOMATION_OBSERVABILITY_MAX_FIELDS, `Observability fields may contain at most ${AUTOMATION_OBSERVABILITY_MAX_FIELDS} entries.`);
|
|
@@ -253,14 +248,14 @@ const FUNNEL_OFFER_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
|
253
248
|
}
|
|
254
249
|
});
|
|
255
250
|
const RACE_OFFER_BASE_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
256
|
-
cohortActionDependencyIds: z.string().array()
|
|
257
|
-
cohortEventDependencyIds: z.string().array()
|
|
258
|
-
cohortOrigins: z.string().array()
|
|
259
|
-
cohortSignalDependencyIds: z.string().array()
|
|
251
|
+
cohortActionDependencyIds: z.string().array(),
|
|
252
|
+
cohortEventDependencyIds: z.string().array(),
|
|
253
|
+
cohortOrigins: z.string().array(),
|
|
254
|
+
cohortSignalDependencyIds: z.string().array(),
|
|
260
255
|
inputOrigins: z.string().array().array().min(2),
|
|
261
256
|
outcomeSeq: OUTCOME_SEQUENCE_SCHEMA,
|
|
262
257
|
policy: z.literal("race"),
|
|
263
|
-
scopeOrigins: z.string().array()
|
|
258
|
+
scopeOrigins: z.string().array(),
|
|
264
259
|
selectedIndex: z.number().int().nonnegative(),
|
|
265
260
|
});
|
|
266
261
|
const RACE_OFFER_SCHEMA = z
|
|
@@ -554,25 +549,9 @@ const RUNTIME_GENERATION_INPUT_SCHEMA = z.union([
|
|
|
554
549
|
* @param primaryPosition - Optional inherited-parent precedence.
|
|
555
550
|
*/
|
|
556
551
|
export async function hashSignalCoordinatorConfiguration(definition, primaryPosition) {
|
|
557
|
-
const definitionEntries = typeof definition === "object" &&
|
|
558
|
-
definition !== null &&
|
|
559
|
-
!Array.isArray(definition)
|
|
560
|
-
? Object.entries(definition)
|
|
561
|
-
: undefined;
|
|
562
|
-
const policy = definitionEntries?.find(([key]) => key === "policy")?.[1];
|
|
563
|
-
// Existing coordinators were hashed with `strategy` and implicit primary
|
|
564
|
-
// positions for race and fan-out. Preserve that identity while the runtime
|
|
565
|
-
// uses the clearer policy vocabulary and no longer overloads primary state.
|
|
566
|
-
const persistedDefinition = definitionEntries
|
|
567
|
-
? Object.fromEntries(definitionEntries.map(([key, value]) => [
|
|
568
|
-
key === "policy" ? "strategy" : key,
|
|
569
|
-
value,
|
|
570
|
-
]))
|
|
571
|
-
: definition;
|
|
572
552
|
return await sha256Base64Url(stableStringify({
|
|
573
|
-
definitionHash: await sha256Base64Url(stableStringify(
|
|
574
|
-
primaryPosition: primaryPosition ??
|
|
575
|
-
(policy === "fanout" || policy === "race" ? "first" : null),
|
|
553
|
+
definitionHash: await sha256Base64Url(stableStringify(definition)),
|
|
554
|
+
primaryPosition: primaryPosition ?? null,
|
|
576
555
|
}));
|
|
577
556
|
}
|
|
578
557
|
/**
|
|
@@ -589,10 +568,10 @@ async function sha256Base64Url(value) {
|
|
|
589
568
|
export const runtimeContract = {
|
|
590
569
|
commit: oc
|
|
591
570
|
.input(z.object({
|
|
592
|
-
actionInvocations: ACTION_INVOCATION_SCHEMA.array()
|
|
593
|
-
coordinationOffers: COORDINATION_OFFER_SCHEMA.array()
|
|
594
|
-
settled: z.boolean()
|
|
595
|
-
signalInvocations: SIGNAL_INVOCATION_SCHEMA.array()
|
|
571
|
+
actionInvocations: ACTION_INVOCATION_SCHEMA.array(),
|
|
572
|
+
coordinationOffers: COORDINATION_OFFER_SCHEMA.array(),
|
|
573
|
+
settled: z.boolean(),
|
|
574
|
+
signalInvocations: SIGNAL_INVOCATION_SCHEMA.array(),
|
|
596
575
|
}))
|
|
597
576
|
.output(z.void()),
|
|
598
577
|
completeAction: oc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.81.0",
|
|
4
4
|
"description": "Public oRPC contract for the Automate.ax API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ai-sdk/gateway": "^4.0.46",
|
|
33
|
-
"@automate.ax/codec": "0.
|
|
33
|
+
"@automate.ax/codec": "0.81.0",
|
|
34
34
|
"@orpc/contract": "1.15.0",
|
|
35
35
|
"fast-json-stable-stringify": "^2.1.0",
|
|
36
36
|
"zod": "^4.3.6"
|
package/src/runtime.ts
CHANGED
|
@@ -21,12 +21,7 @@ export const AUTOMATION_LOG_MAX_MESSAGE_LENGTH = 16_384
|
|
|
21
21
|
export const AUTOMATION_TRACE_MAX_NAME_LENGTH = 256
|
|
22
22
|
|
|
23
23
|
const OUTCOME_SEQUENCE_SCHEMA = z.number().int().positive()
|
|
24
|
-
const HOOK_SCOPE_PATH_SCHEMA = z
|
|
25
|
-
.number()
|
|
26
|
-
.int()
|
|
27
|
-
.nonnegative()
|
|
28
|
-
.array()
|
|
29
|
-
.default([])
|
|
24
|
+
const HOOK_SCOPE_PATH_SCHEMA = z.number().int().nonnegative().array()
|
|
30
25
|
const OBSERVABILITY_FIELDS_SCHEMA = z
|
|
31
26
|
.record(z.string().min(1).max(128), encodableSchema)
|
|
32
27
|
.refine(
|
|
@@ -286,14 +281,14 @@ const FUNNEL_OFFER_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
|
286
281
|
})
|
|
287
282
|
|
|
288
283
|
const RACE_OFFER_BASE_SCHEMA = SIGNAL_INVOCATION_DEPENDENCIES_SCHEMA.extend({
|
|
289
|
-
cohortActionDependencyIds: z.string().array()
|
|
290
|
-
cohortEventDependencyIds: z.string().array()
|
|
291
|
-
cohortOrigins: z.string().array()
|
|
292
|
-
cohortSignalDependencyIds: z.string().array()
|
|
284
|
+
cohortActionDependencyIds: z.string().array(),
|
|
285
|
+
cohortEventDependencyIds: z.string().array(),
|
|
286
|
+
cohortOrigins: z.string().array(),
|
|
287
|
+
cohortSignalDependencyIds: z.string().array(),
|
|
293
288
|
inputOrigins: z.string().array().array().min(2),
|
|
294
289
|
outcomeSeq: OUTCOME_SEQUENCE_SCHEMA,
|
|
295
290
|
policy: z.literal("race"),
|
|
296
|
-
scopeOrigins: z.string().array()
|
|
291
|
+
scopeOrigins: z.string().array(),
|
|
297
292
|
selectedIndex: z.number().int().nonnegative(),
|
|
298
293
|
})
|
|
299
294
|
|
|
@@ -631,32 +626,10 @@ export async function hashSignalCoordinatorConfiguration(
|
|
|
631
626
|
definition: unknown,
|
|
632
627
|
primaryPosition?: "first" | "last",
|
|
633
628
|
) {
|
|
634
|
-
const definitionEntries =
|
|
635
|
-
typeof definition === "object" &&
|
|
636
|
-
definition !== null &&
|
|
637
|
-
!Array.isArray(definition)
|
|
638
|
-
? Object.entries(definition)
|
|
639
|
-
: undefined
|
|
640
|
-
const policy = definitionEntries?.find(([key]) => key === "policy")?.[1]
|
|
641
|
-
// Existing coordinators were hashed with `strategy` and implicit primary
|
|
642
|
-
// positions for race and fan-out. Preserve that identity while the runtime
|
|
643
|
-
// uses the clearer policy vocabulary and no longer overloads primary state.
|
|
644
|
-
const persistedDefinition = definitionEntries
|
|
645
|
-
? Object.fromEntries(
|
|
646
|
-
definitionEntries.map(([key, value]) => [
|
|
647
|
-
key === "policy" ? "strategy" : key,
|
|
648
|
-
value,
|
|
649
|
-
]),
|
|
650
|
-
)
|
|
651
|
-
: definition
|
|
652
629
|
return await sha256Base64Url(
|
|
653
630
|
stableStringify({
|
|
654
|
-
definitionHash: await sha256Base64Url(
|
|
655
|
-
|
|
656
|
-
),
|
|
657
|
-
primaryPosition:
|
|
658
|
-
primaryPosition ??
|
|
659
|
-
(policy === "fanout" || policy === "race" ? "first" : null),
|
|
631
|
+
definitionHash: await sha256Base64Url(stableStringify(definition)),
|
|
632
|
+
primaryPosition: primaryPosition ?? null,
|
|
660
633
|
}),
|
|
661
634
|
)
|
|
662
635
|
}
|
|
@@ -683,10 +656,10 @@ export const runtimeContract = {
|
|
|
683
656
|
commit: oc
|
|
684
657
|
.input(
|
|
685
658
|
z.object({
|
|
686
|
-
actionInvocations: ACTION_INVOCATION_SCHEMA.array()
|
|
687
|
-
coordinationOffers: COORDINATION_OFFER_SCHEMA.array()
|
|
688
|
-
settled: z.boolean()
|
|
689
|
-
signalInvocations: SIGNAL_INVOCATION_SCHEMA.array()
|
|
659
|
+
actionInvocations: ACTION_INVOCATION_SCHEMA.array(),
|
|
660
|
+
coordinationOffers: COORDINATION_OFFER_SCHEMA.array(),
|
|
661
|
+
settled: z.boolean(),
|
|
662
|
+
signalInvocations: SIGNAL_INVOCATION_SCHEMA.array(),
|
|
690
663
|
}),
|
|
691
664
|
)
|
|
692
665
|
.output(z.void()),
|