@automate.ax/api-contract 0.48.1 → 0.49.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
@@ -1438,7 +1438,7 @@ export declare const contract: {
1438
1438
  }, import("zod/v4/core").$strip>], "type">>>;
1439
1439
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
1440
1440
  invokeAutomation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodIntersection<import("zod").ZodObject<{
1441
- automationId: import("zod").ZodString;
1441
+ automationName: import("zod").ZodString;
1442
1442
  entrypoint: import("zod").ZodDefault<import("zod").ZodString>;
1443
1443
  payload: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
1444
1444
  }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
package/dist/runtime.d.ts CHANGED
@@ -20,7 +20,7 @@ export declare const automationInvocationOutputSchema: z.ZodObject<{
20
20
  runAt: z.ZodDate;
21
21
  }, z.core.$strip>;
22
22
  export declare const automationInvocationInputSchema: z.ZodIntersection<z.ZodObject<{
23
- automationId: z.ZodString;
23
+ automationName: z.ZodString;
24
24
  entrypoint: z.ZodDefault<z.ZodString>;
25
25
  payload: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
26
26
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -380,7 +380,7 @@ export declare const runtimeContract: {
380
380
  }, z.core.$strip>], "type">>>;
381
381
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
382
382
  invokeAutomation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodIntersection<z.ZodObject<{
383
- automationId: z.ZodString;
383
+ automationName: z.ZodString;
384
384
  entrypoint: z.ZodDefault<z.ZodString>;
385
385
  payload: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
386
386
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
package/dist/runtime.js CHANGED
@@ -41,7 +41,7 @@ export const automationInvocationOutputSchema = z.object({
41
41
  });
42
42
  export const automationInvocationInputSchema = z
43
43
  .object({
44
- automationId: z.string(),
44
+ automationName: z.string().min(1),
45
45
  entrypoint: z
46
46
  .string()
47
47
  .min(1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.48.1",
3
+ "version": "0.49.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.48.1",
31
+ "@automate.ax/codec": "0.49.0",
32
32
  "@orpc/contract": "1.15.0",
33
33
  "zod": "^4.3.6"
34
34
  },
package/src/runtime.ts CHANGED
@@ -50,7 +50,7 @@ export const automationInvocationOutputSchema = z.object({
50
50
 
51
51
  export const automationInvocationInputSchema = z
52
52
  .object({
53
- automationId: z.string(),
53
+ automationName: z.string().min(1),
54
54
  entrypoint: z
55
55
  .string()
56
56
  .min(1)