@automate.ax/api-contract 0.66.0 → 0.67.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 CHANGED
@@ -1595,6 +1595,7 @@ export declare const contract: {
1595
1595
  events: import("zod").ZodArray<import("zod").ZodObject<{
1596
1596
  automationEventId: import("zod").ZodString;
1597
1597
  contextId: import("zod").ZodString;
1598
+ eventId: import("zod").ZodString;
1598
1599
  outcomeSeq: import("zod").ZodNumber;
1599
1600
  payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
1600
1601
  scopePath: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNumber>>;
@@ -1715,6 +1716,7 @@ export declare const contract: {
1715
1716
  events: import("zod").ZodArray<import("zod").ZodObject<{
1716
1717
  automationEventId: import("zod").ZodString;
1717
1718
  contextId: import("zod").ZodString;
1719
+ eventId: import("zod").ZodString;
1718
1720
  outcomeSeq: import("zod").ZodNumber;
1719
1721
  payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
1720
1722
  scopePath: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNumber>>;
package/dist/runtime.d.ts CHANGED
@@ -834,6 +834,7 @@ export declare const runtimeContract: {
834
834
  events: z.ZodArray<z.ZodObject<{
835
835
  automationEventId: z.ZodString;
836
836
  contextId: z.ZodString;
837
+ eventId: z.ZodString;
837
838
  outcomeSeq: z.ZodNumber;
838
839
  payload: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
839
840
  scopePath: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
@@ -954,6 +955,7 @@ export declare const runtimeContract: {
954
955
  events: z.ZodArray<z.ZodObject<{
955
956
  automationEventId: z.ZodString;
956
957
  contextId: z.ZodString;
958
+ eventId: z.ZodString;
957
959
  outcomeSeq: z.ZodNumber;
958
960
  payload: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
959
961
  scopePath: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
package/dist/runtime.js CHANGED
@@ -360,6 +360,7 @@ const RUNTIME_VALUE_CONTEXT_SCHEMA = z.object({
360
360
  .object({
361
361
  automationEventId: z.string(),
362
362
  contextId: z.string(),
363
+ eventId: z.string(),
363
364
  outcomeSeq: OUTCOME_SEQUENCE_SCHEMA,
364
365
  payload: encodableSchema,
365
366
  scopePath: HOOK_SCOPE_PATH_SCHEMA,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.66.0",
3
+ "version": "0.67.0",
4
4
  "description": "Public oRPC contract for the Automate.ax API.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@ai-sdk/gateway": "^4.0.46",
31
- "@automate.ax/codec": "0.66.0",
31
+ "@automate.ax/codec": "0.67.0",
32
32
  "@orpc/contract": "1.15.0",
33
33
  "fast-json-stable-stringify": "^2.1.0",
34
34
  "zod": "^4.3.6"
package/src/runtime.ts CHANGED
@@ -406,6 +406,7 @@ const RUNTIME_VALUE_CONTEXT_SCHEMA = z.object({
406
406
  .object({
407
407
  automationEventId: z.string(),
408
408
  contextId: z.string(),
409
+ eventId: z.string(),
409
410
  outcomeSeq: OUTCOME_SEQUENCE_SCHEMA,
410
411
  payload: encodableSchema,
411
412
  scopePath: HOOK_SCOPE_PATH_SCHEMA,