@automate.ax/api-contract 0.19.2 → 0.20.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.
@@ -47,10 +47,6 @@ export declare const deploymentContract: {
47
47
  maxAttempts: z.ZodNumber;
48
48
  nextRunAt: z.ZodDate;
49
49
  }, z.core.$strip>>;
50
- planningProgress: z.ZodObject<{
51
- completed: z.ZodNumber;
52
- total: z.ZodNumber;
53
- }, z.core.$strip>;
54
50
  project: z.ZodObject<{
55
51
  id: z.ZodString;
56
52
  name: z.ZodString;
@@ -21,7 +21,6 @@ export const deploymentContract = {
21
21
  identityKey: z.string().min(1),
22
22
  })
23
23
  .array()
24
- .min(1, "Deployment must include at least one automation.")
25
24
  .superRefine((manifest, context) => {
26
25
  const identityKeys = new Set();
27
26
  for (const [index, entry] of manifest.entries()) {
@@ -61,10 +60,6 @@ export const deploymentContract = {
61
60
  nextRunAt: z.date(),
62
61
  })
63
62
  .nullable(),
64
- planningProgress: z.object({
65
- completed: z.number().int().nonnegative(),
66
- total: z.number().int().nonnegative(),
67
- }),
68
63
  project: z.object({
69
64
  id: z.string(),
70
65
  name: z.string(),
package/dist/index.d.ts CHANGED
@@ -392,10 +392,6 @@ export declare const firstPartyContract: {
392
392
  maxAttempts: import("zod").ZodNumber;
393
393
  nextRunAt: import("zod").ZodDate;
394
394
  }, import("zod/v4/core").$strip>>;
395
- planningProgress: import("zod").ZodObject<{
396
- completed: import("zod").ZodNumber;
397
- total: import("zod").ZodNumber;
398
- }, import("zod/v4/core").$strip>;
399
395
  project: import("zod").ZodObject<{
400
396
  id: import("zod").ZodString;
401
397
  name: import("zod").ZodString;
@@ -986,10 +982,6 @@ export declare const contract: {
986
982
  maxAttempts: import("zod").ZodNumber;
987
983
  nextRunAt: import("zod").ZodDate;
988
984
  }, import("zod/v4/core").$strip>>;
989
- planningProgress: import("zod").ZodObject<{
990
- completed: import("zod").ZodNumber;
991
- total: import("zod").ZodNumber;
992
- }, import("zod/v4/core").$strip>;
993
985
  project: import("zod").ZodObject<{
994
986
  id: import("zod").ZodString;
995
987
  name: import("zod").ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.19.2",
3
+ "version": "0.20.1",
4
4
  "description": "Public oRPC contract for the Automate.ax API.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@automate.ax/codec": "0.19.2",
29
+ "@automate.ax/codec": "0.20.1",
30
30
  "@orpc/contract": "1.13.14",
31
31
  "zod": "^4.3.6"
32
32
  },
package/src/deployment.ts CHANGED
@@ -27,7 +27,6 @@ export const deploymentContract = {
27
27
  identityKey: z.string().min(1),
28
28
  })
29
29
  .array()
30
- .min(1, "Deployment must include at least one automation.")
31
30
  .superRefine((manifest, context) => {
32
31
  const identityKeys = new Set<string>()
33
32
 
@@ -72,10 +71,6 @@ export const deploymentContract = {
72
71
  nextRunAt: z.date(),
73
72
  })
74
73
  .nullable(),
75
- planningProgress: z.object({
76
- completed: z.number().int().nonnegative(),
77
- total: z.number().int().nonnegative(),
78
- }),
79
74
  project: z.object({
80
75
  id: z.string(),
81
76
  name: z.string(),