@automate.ax/api-contract 0.131.1 → 0.132.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
@@ -840,16 +840,16 @@ export declare const publicContract: {
840
840
  }>;
841
841
  limits: import("zod").ZodObject<{
842
842
  aiSpendUsd: import("zod").ZodNumber;
843
+ automationRuntimeMinutes: import("zod").ZodNumber;
843
844
  emailSends: import("zod").ZodNumber;
844
845
  executionRetentionDays: import("zod").ZodNumber;
845
- productiveRuns: import("zod").ZodNumber;
846
846
  projects: import("zod").ZodNumber;
847
847
  seats: import("zod").ZodNumber;
848
848
  }, import("zod/v4/core").$strip>;
849
849
  usage: import("zod").ZodObject<{
850
850
  aiSpendUsd: import("zod").ZodNumber;
851
+ automationRuntimeMs: import("zod").ZodNumber;
851
852
  emailSends: import("zod").ZodNumber;
852
- productiveRuns: import("zod").ZodNumber;
853
853
  }, import("zod/v4/core").$strip>;
854
854
  members: import("zod").ZodArray<import("zod").ZodObject<{
855
855
  id: import("zod").ZodString;
@@ -933,16 +933,16 @@ export declare const publicContract: {
933
933
  }>;
934
934
  limits: import("zod").ZodObject<{
935
935
  aiSpendUsd: import("zod").ZodNumber;
936
+ automationRuntimeMinutes: import("zod").ZodNumber;
936
937
  emailSends: import("zod").ZodNumber;
937
938
  executionRetentionDays: import("zod").ZodNumber;
938
- productiveRuns: import("zod").ZodNumber;
939
939
  projects: import("zod").ZodNumber;
940
940
  seats: import("zod").ZodNumber;
941
941
  }, import("zod/v4/core").$strip>;
942
942
  usage: import("zod").ZodObject<{
943
943
  aiSpendUsd: import("zod").ZodNumber;
944
+ automationRuntimeMs: import("zod").ZodNumber;
944
945
  emailSends: import("zod").ZodNumber;
945
- productiveRuns: import("zod").ZodNumber;
946
946
  }, import("zod/v4/core").$strip>;
947
947
  }, import("zod/v4/core").$strip>>;
948
948
  pageInfo: import("zod").ZodObject<{
@@ -1410,16 +1410,16 @@ export declare const firstPartyContract: {
1410
1410
  }>;
1411
1411
  limits: import("zod").ZodObject<{
1412
1412
  aiSpendUsd: import("zod").ZodNumber;
1413
+ automationRuntimeMinutes: import("zod").ZodNumber;
1413
1414
  emailSends: import("zod").ZodNumber;
1414
1415
  executionRetentionDays: import("zod").ZodNumber;
1415
- productiveRuns: import("zod").ZodNumber;
1416
1416
  projects: import("zod").ZodNumber;
1417
1417
  seats: import("zod").ZodNumber;
1418
1418
  }, import("zod/v4/core").$strip>;
1419
1419
  usage: import("zod").ZodObject<{
1420
1420
  aiSpendUsd: import("zod").ZodNumber;
1421
+ automationRuntimeMs: import("zod").ZodNumber;
1421
1422
  emailSends: import("zod").ZodNumber;
1422
- productiveRuns: import("zod").ZodNumber;
1423
1423
  }, import("zod/v4/core").$strip>;
1424
1424
  members: import("zod").ZodArray<import("zod").ZodObject<{
1425
1425
  id: import("zod").ZodString;
@@ -1503,16 +1503,16 @@ export declare const firstPartyContract: {
1503
1503
  }>;
1504
1504
  limits: import("zod").ZodObject<{
1505
1505
  aiSpendUsd: import("zod").ZodNumber;
1506
+ automationRuntimeMinutes: import("zod").ZodNumber;
1506
1507
  emailSends: import("zod").ZodNumber;
1507
1508
  executionRetentionDays: import("zod").ZodNumber;
1508
- productiveRuns: import("zod").ZodNumber;
1509
1509
  projects: import("zod").ZodNumber;
1510
1510
  seats: import("zod").ZodNumber;
1511
1511
  }, import("zod/v4/core").$strip>;
1512
1512
  usage: import("zod").ZodObject<{
1513
1513
  aiSpendUsd: import("zod").ZodNumber;
1514
+ automationRuntimeMs: import("zod").ZodNumber;
1514
1515
  emailSends: import("zod").ZodNumber;
1515
- productiveRuns: import("zod").ZodNumber;
1516
1516
  }, import("zod/v4/core").$strip>;
1517
1517
  }, import("zod/v4/core").$strip>>;
1518
1518
  pageInfo: import("zod").ZodObject<{
@@ -7531,16 +7531,16 @@ export declare const contract: {
7531
7531
  }>;
7532
7532
  limits: import("zod").ZodObject<{
7533
7533
  aiSpendUsd: import("zod").ZodNumber;
7534
+ automationRuntimeMinutes: import("zod").ZodNumber;
7534
7535
  emailSends: import("zod").ZodNumber;
7535
7536
  executionRetentionDays: import("zod").ZodNumber;
7536
- productiveRuns: import("zod").ZodNumber;
7537
7537
  projects: import("zod").ZodNumber;
7538
7538
  seats: import("zod").ZodNumber;
7539
7539
  }, import("zod/v4/core").$strip>;
7540
7540
  usage: import("zod").ZodObject<{
7541
7541
  aiSpendUsd: import("zod").ZodNumber;
7542
+ automationRuntimeMs: import("zod").ZodNumber;
7542
7543
  emailSends: import("zod").ZodNumber;
7543
- productiveRuns: import("zod").ZodNumber;
7544
7544
  }, import("zod/v4/core").$strip>;
7545
7545
  members: import("zod").ZodArray<import("zod").ZodObject<{
7546
7546
  id: import("zod").ZodString;
@@ -7624,16 +7624,16 @@ export declare const contract: {
7624
7624
  }>;
7625
7625
  limits: import("zod").ZodObject<{
7626
7626
  aiSpendUsd: import("zod").ZodNumber;
7627
+ automationRuntimeMinutes: import("zod").ZodNumber;
7627
7628
  emailSends: import("zod").ZodNumber;
7628
7629
  executionRetentionDays: import("zod").ZodNumber;
7629
- productiveRuns: import("zod").ZodNumber;
7630
7630
  projects: import("zod").ZodNumber;
7631
7631
  seats: import("zod").ZodNumber;
7632
7632
  }, import("zod/v4/core").$strip>;
7633
7633
  usage: import("zod").ZodObject<{
7634
7634
  aiSpendUsd: import("zod").ZodNumber;
7635
+ automationRuntimeMs: import("zod").ZodNumber;
7635
7636
  emailSends: import("zod").ZodNumber;
7636
- productiveRuns: import("zod").ZodNumber;
7637
7637
  }, import("zod/v4/core").$strip>;
7638
7638
  }, import("zod/v4/core").$strip>>;
7639
7639
  pageInfo: import("zod").ZodObject<{
package/dist/org.d.ts CHANGED
@@ -44,16 +44,16 @@ export declare const organizationSummaryOutputSchema: z.ZodObject<{
44
44
  }>;
45
45
  limits: z.ZodObject<{
46
46
  aiSpendUsd: z.ZodNumber;
47
+ automationRuntimeMinutes: z.ZodNumber;
47
48
  emailSends: z.ZodNumber;
48
49
  executionRetentionDays: z.ZodNumber;
49
- productiveRuns: z.ZodNumber;
50
50
  projects: z.ZodNumber;
51
51
  seats: z.ZodNumber;
52
52
  }, z.core.$strip>;
53
53
  usage: z.ZodObject<{
54
54
  aiSpendUsd: z.ZodNumber;
55
+ automationRuntimeMs: z.ZodNumber;
55
56
  emailSends: z.ZodNumber;
56
- productiveRuns: z.ZodNumber;
57
57
  }, z.core.$strip>;
58
58
  }, z.core.$strip>;
59
59
  export declare const organizationMemberOutputSchema: z.ZodObject<{
@@ -112,16 +112,16 @@ export declare const organizationDetailsOutputSchema: z.ZodObject<{
112
112
  }>;
113
113
  limits: z.ZodObject<{
114
114
  aiSpendUsd: z.ZodNumber;
115
+ automationRuntimeMinutes: z.ZodNumber;
115
116
  emailSends: z.ZodNumber;
116
117
  executionRetentionDays: z.ZodNumber;
117
- productiveRuns: z.ZodNumber;
118
118
  projects: z.ZodNumber;
119
119
  seats: z.ZodNumber;
120
120
  }, z.core.$strip>;
121
121
  usage: z.ZodObject<{
122
122
  aiSpendUsd: z.ZodNumber;
123
+ automationRuntimeMs: z.ZodNumber;
123
124
  emailSends: z.ZodNumber;
124
- productiveRuns: z.ZodNumber;
125
125
  }, z.core.$strip>;
126
126
  members: z.ZodArray<z.ZodObject<{
127
127
  id: z.ZodString;
@@ -223,16 +223,16 @@ export declare const orgContract: {
223
223
  }>;
224
224
  limits: z.ZodObject<{
225
225
  aiSpendUsd: z.ZodNumber;
226
+ automationRuntimeMinutes: z.ZodNumber;
226
227
  emailSends: z.ZodNumber;
227
228
  executionRetentionDays: z.ZodNumber;
228
- productiveRuns: z.ZodNumber;
229
229
  projects: z.ZodNumber;
230
230
  seats: z.ZodNumber;
231
231
  }, z.core.$strip>;
232
232
  usage: z.ZodObject<{
233
233
  aiSpendUsd: z.ZodNumber;
234
+ automationRuntimeMs: z.ZodNumber;
234
235
  emailSends: z.ZodNumber;
235
- productiveRuns: z.ZodNumber;
236
236
  }, z.core.$strip>;
237
237
  members: z.ZodArray<z.ZodObject<{
238
238
  id: z.ZodString;
@@ -316,16 +316,16 @@ export declare const orgContract: {
316
316
  }>;
317
317
  limits: z.ZodObject<{
318
318
  aiSpendUsd: z.ZodNumber;
319
+ automationRuntimeMinutes: z.ZodNumber;
319
320
  emailSends: z.ZodNumber;
320
321
  executionRetentionDays: z.ZodNumber;
321
- productiveRuns: z.ZodNumber;
322
322
  projects: z.ZodNumber;
323
323
  seats: z.ZodNumber;
324
324
  }, z.core.$strip>;
325
325
  usage: z.ZodObject<{
326
326
  aiSpendUsd: z.ZodNumber;
327
+ automationRuntimeMs: z.ZodNumber;
327
328
  emailSends: z.ZodNumber;
328
- productiveRuns: z.ZodNumber;
329
329
  }, z.core.$strip>;
330
330
  }, z.core.$strip>>;
331
331
  pageInfo: z.ZodObject<{
package/dist/org.js CHANGED
@@ -30,16 +30,16 @@ export const organizationSummaryOutputSchema = z.object({
30
30
  plan: z.enum(["free", "pro", "enterprise"]),
31
31
  limits: z.object({
32
32
  aiSpendUsd: z.number(),
33
+ automationRuntimeMinutes: z.number(),
33
34
  emailSends: z.number(),
34
35
  executionRetentionDays: z.number().int().positive(),
35
- productiveRuns: z.number(),
36
36
  projects: z.number(),
37
37
  seats: z.number(),
38
38
  }),
39
39
  usage: z.object({
40
40
  aiSpendUsd: z.number(),
41
+ automationRuntimeMs: z.number(),
41
42
  emailSends: z.number(),
42
- productiveRuns: z.number(),
43
43
  }),
44
44
  });
45
45
  export const organizationMemberOutputSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.131.1",
3
+ "version": "0.132.0",
4
4
  "description": "Public oRPC contract for the Automate.ax API.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@ai-sdk/gateway": "4.0.46",
34
- "@automate.ax/codec": "0.131.1",
35
- "@automate.ax/integration-contracts": "0.131.1",
34
+ "@automate.ax/codec": "0.132.0",
35
+ "@automate.ax/integration-contracts": "0.132.0",
36
36
  "@orpc/contract": "1.15.0",
37
37
  "fast-json-stable-stringify": "^2.1.0",
38
38
  "zod": "^4.3.6"
package/src/org.ts CHANGED
@@ -39,16 +39,16 @@ export const organizationSummaryOutputSchema = z.object({
39
39
  plan: z.enum(["free", "pro", "enterprise"]),
40
40
  limits: z.object({
41
41
  aiSpendUsd: z.number(),
42
+ automationRuntimeMinutes: z.number(),
42
43
  emailSends: z.number(),
43
44
  executionRetentionDays: z.number().int().positive(),
44
- productiveRuns: z.number(),
45
45
  projects: z.number(),
46
46
  seats: z.number(),
47
47
  }),
48
48
  usage: z.object({
49
49
  aiSpendUsd: z.number(),
50
+ automationRuntimeMs: z.number(),
50
51
  emailSends: z.number(),
51
- productiveRuns: z.number(),
52
52
  }),
53
53
  })
54
54