@automate.ax/api-contract 0.4.0 → 0.4.1

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.
@@ -13,6 +13,10 @@ export declare const deploymentContract: {
13
13
  deploymentId: z.ZodString;
14
14
  projectId: z.ZodString;
15
15
  }, z.core.$strip>, z.ZodObject<{
16
+ automations: z.ZodArray<z.ZodObject<{
17
+ description: z.ZodString;
18
+ identityKey: z.ZodString;
19
+ }, z.core.$strip>>;
16
20
  id: z.ZodString;
17
21
  job: z.ZodNullable<z.ZodObject<{
18
22
  attempts: z.ZodNumber;
@@ -19,6 +19,12 @@ export const deploymentContract = {
19
19
  projectId: z.string(),
20
20
  }))
21
21
  .output(z.object({
22
+ automations: z
23
+ .object({
24
+ description: z.string(),
25
+ identityKey: z.string(),
26
+ })
27
+ .array(),
22
28
  id: z.string(),
23
29
  job: z
24
30
  .object({
package/dist/index.d.ts CHANGED
@@ -158,6 +158,10 @@ export declare const contract: {
158
158
  deploymentId: import("zod").ZodString;
159
159
  projectId: import("zod").ZodString;
160
160
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
161
+ automations: import("zod").ZodArray<import("zod").ZodObject<{
162
+ description: import("zod").ZodString;
163
+ identityKey: import("zod").ZodString;
164
+ }, import("zod/v4/core").$strip>>;
161
165
  id: import("zod").ZodString;
162
166
  job: import("zod").ZodNullable<import("zod").ZodObject<{
163
167
  attempts: import("zod").ZodNumber;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Public oRPC contract for the Automate.ax API.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  "cjs": false
24
24
  },
25
25
  "dependencies": {
26
- "@automate.ax/codec": "0.3.1",
26
+ "@automate.ax/codec": "0.4.1",
27
27
  "@orpc/contract": "1.13.14",
28
28
  "zod": "^4.3.6"
29
29
  },