@automate.ax/api-contract 0.130.7 → 0.130.8
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 +12 -0
- package/dist/org.d.ts +8 -0
- package/dist/org.js +2 -0
- package/package.json +4 -3
- package/src/org.ts +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -843,12 +843,14 @@ export declare const publicContract: {
|
|
|
843
843
|
aiSpendUsd: import("zod").ZodNumber;
|
|
844
844
|
emailSends: import("zod").ZodNumber;
|
|
845
845
|
executionRetentionDays: import("zod").ZodNumber;
|
|
846
|
+
productiveRuns: import("zod").ZodNumber;
|
|
846
847
|
projects: import("zod").ZodNumber;
|
|
847
848
|
seats: import("zod").ZodNumber;
|
|
848
849
|
}, import("zod/v4/core").$strip>;
|
|
849
850
|
usage: import("zod").ZodObject<{
|
|
850
851
|
aiSpendUsd: import("zod").ZodNumber;
|
|
851
852
|
emailSends: import("zod").ZodNumber;
|
|
853
|
+
productiveRuns: import("zod").ZodNumber;
|
|
852
854
|
}, import("zod/v4/core").$strip>;
|
|
853
855
|
members: import("zod").ZodArray<import("zod").ZodObject<{
|
|
854
856
|
id: import("zod").ZodString;
|
|
@@ -939,12 +941,14 @@ export declare const publicContract: {
|
|
|
939
941
|
aiSpendUsd: import("zod").ZodNumber;
|
|
940
942
|
emailSends: import("zod").ZodNumber;
|
|
941
943
|
executionRetentionDays: import("zod").ZodNumber;
|
|
944
|
+
productiveRuns: import("zod").ZodNumber;
|
|
942
945
|
projects: import("zod").ZodNumber;
|
|
943
946
|
seats: import("zod").ZodNumber;
|
|
944
947
|
}, import("zod/v4/core").$strip>;
|
|
945
948
|
usage: import("zod").ZodObject<{
|
|
946
949
|
aiSpendUsd: import("zod").ZodNumber;
|
|
947
950
|
emailSends: import("zod").ZodNumber;
|
|
951
|
+
productiveRuns: import("zod").ZodNumber;
|
|
948
952
|
}, import("zod/v4/core").$strip>;
|
|
949
953
|
}, import("zod/v4/core").$strip>>;
|
|
950
954
|
pageInfo: import("zod").ZodObject<{
|
|
@@ -1415,12 +1419,14 @@ export declare const firstPartyContract: {
|
|
|
1415
1419
|
aiSpendUsd: import("zod").ZodNumber;
|
|
1416
1420
|
emailSends: import("zod").ZodNumber;
|
|
1417
1421
|
executionRetentionDays: import("zod").ZodNumber;
|
|
1422
|
+
productiveRuns: import("zod").ZodNumber;
|
|
1418
1423
|
projects: import("zod").ZodNumber;
|
|
1419
1424
|
seats: import("zod").ZodNumber;
|
|
1420
1425
|
}, import("zod/v4/core").$strip>;
|
|
1421
1426
|
usage: import("zod").ZodObject<{
|
|
1422
1427
|
aiSpendUsd: import("zod").ZodNumber;
|
|
1423
1428
|
emailSends: import("zod").ZodNumber;
|
|
1429
|
+
productiveRuns: import("zod").ZodNumber;
|
|
1424
1430
|
}, import("zod/v4/core").$strip>;
|
|
1425
1431
|
members: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1426
1432
|
id: import("zod").ZodString;
|
|
@@ -1511,12 +1517,14 @@ export declare const firstPartyContract: {
|
|
|
1511
1517
|
aiSpendUsd: import("zod").ZodNumber;
|
|
1512
1518
|
emailSends: import("zod").ZodNumber;
|
|
1513
1519
|
executionRetentionDays: import("zod").ZodNumber;
|
|
1520
|
+
productiveRuns: import("zod").ZodNumber;
|
|
1514
1521
|
projects: import("zod").ZodNumber;
|
|
1515
1522
|
seats: import("zod").ZodNumber;
|
|
1516
1523
|
}, import("zod/v4/core").$strip>;
|
|
1517
1524
|
usage: import("zod").ZodObject<{
|
|
1518
1525
|
aiSpendUsd: import("zod").ZodNumber;
|
|
1519
1526
|
emailSends: import("zod").ZodNumber;
|
|
1527
|
+
productiveRuns: import("zod").ZodNumber;
|
|
1520
1528
|
}, import("zod/v4/core").$strip>;
|
|
1521
1529
|
}, import("zod/v4/core").$strip>>;
|
|
1522
1530
|
pageInfo: import("zod").ZodObject<{
|
|
@@ -7538,12 +7546,14 @@ export declare const contract: {
|
|
|
7538
7546
|
aiSpendUsd: import("zod").ZodNumber;
|
|
7539
7547
|
emailSends: import("zod").ZodNumber;
|
|
7540
7548
|
executionRetentionDays: import("zod").ZodNumber;
|
|
7549
|
+
productiveRuns: import("zod").ZodNumber;
|
|
7541
7550
|
projects: import("zod").ZodNumber;
|
|
7542
7551
|
seats: import("zod").ZodNumber;
|
|
7543
7552
|
}, import("zod/v4/core").$strip>;
|
|
7544
7553
|
usage: import("zod").ZodObject<{
|
|
7545
7554
|
aiSpendUsd: import("zod").ZodNumber;
|
|
7546
7555
|
emailSends: import("zod").ZodNumber;
|
|
7556
|
+
productiveRuns: import("zod").ZodNumber;
|
|
7547
7557
|
}, import("zod/v4/core").$strip>;
|
|
7548
7558
|
members: import("zod").ZodArray<import("zod").ZodObject<{
|
|
7549
7559
|
id: import("zod").ZodString;
|
|
@@ -7634,12 +7644,14 @@ export declare const contract: {
|
|
|
7634
7644
|
aiSpendUsd: import("zod").ZodNumber;
|
|
7635
7645
|
emailSends: import("zod").ZodNumber;
|
|
7636
7646
|
executionRetentionDays: import("zod").ZodNumber;
|
|
7647
|
+
productiveRuns: import("zod").ZodNumber;
|
|
7637
7648
|
projects: import("zod").ZodNumber;
|
|
7638
7649
|
seats: import("zod").ZodNumber;
|
|
7639
7650
|
}, import("zod/v4/core").$strip>;
|
|
7640
7651
|
usage: import("zod").ZodObject<{
|
|
7641
7652
|
aiSpendUsd: import("zod").ZodNumber;
|
|
7642
7653
|
emailSends: import("zod").ZodNumber;
|
|
7654
|
+
productiveRuns: import("zod").ZodNumber;
|
|
7643
7655
|
}, import("zod/v4/core").$strip>;
|
|
7644
7656
|
}, import("zod/v4/core").$strip>>;
|
|
7645
7657
|
pageInfo: import("zod").ZodObject<{
|
package/dist/org.d.ts
CHANGED
|
@@ -46,12 +46,14 @@ export declare const organizationSummaryOutputSchema: z.ZodObject<{
|
|
|
46
46
|
aiSpendUsd: z.ZodNumber;
|
|
47
47
|
emailSends: z.ZodNumber;
|
|
48
48
|
executionRetentionDays: z.ZodNumber;
|
|
49
|
+
productiveRuns: z.ZodNumber;
|
|
49
50
|
projects: z.ZodNumber;
|
|
50
51
|
seats: z.ZodNumber;
|
|
51
52
|
}, z.core.$strip>;
|
|
52
53
|
usage: z.ZodObject<{
|
|
53
54
|
aiSpendUsd: z.ZodNumber;
|
|
54
55
|
emailSends: z.ZodNumber;
|
|
56
|
+
productiveRuns: z.ZodNumber;
|
|
55
57
|
}, z.core.$strip>;
|
|
56
58
|
}, z.core.$strip>;
|
|
57
59
|
export declare const organizationMemberOutputSchema: z.ZodObject<{
|
|
@@ -115,12 +117,14 @@ export declare const organizationDetailsOutputSchema: z.ZodObject<{
|
|
|
115
117
|
aiSpendUsd: z.ZodNumber;
|
|
116
118
|
emailSends: z.ZodNumber;
|
|
117
119
|
executionRetentionDays: z.ZodNumber;
|
|
120
|
+
productiveRuns: z.ZodNumber;
|
|
118
121
|
projects: z.ZodNumber;
|
|
119
122
|
seats: z.ZodNumber;
|
|
120
123
|
}, z.core.$strip>;
|
|
121
124
|
usage: z.ZodObject<{
|
|
122
125
|
aiSpendUsd: z.ZodNumber;
|
|
123
126
|
emailSends: z.ZodNumber;
|
|
127
|
+
productiveRuns: z.ZodNumber;
|
|
124
128
|
}, z.core.$strip>;
|
|
125
129
|
members: z.ZodArray<z.ZodObject<{
|
|
126
130
|
id: z.ZodString;
|
|
@@ -228,12 +232,14 @@ export declare const orgContract: {
|
|
|
228
232
|
aiSpendUsd: z.ZodNumber;
|
|
229
233
|
emailSends: z.ZodNumber;
|
|
230
234
|
executionRetentionDays: z.ZodNumber;
|
|
235
|
+
productiveRuns: z.ZodNumber;
|
|
231
236
|
projects: z.ZodNumber;
|
|
232
237
|
seats: z.ZodNumber;
|
|
233
238
|
}, z.core.$strip>;
|
|
234
239
|
usage: z.ZodObject<{
|
|
235
240
|
aiSpendUsd: z.ZodNumber;
|
|
236
241
|
emailSends: z.ZodNumber;
|
|
242
|
+
productiveRuns: z.ZodNumber;
|
|
237
243
|
}, z.core.$strip>;
|
|
238
244
|
members: z.ZodArray<z.ZodObject<{
|
|
239
245
|
id: z.ZodString;
|
|
@@ -324,12 +330,14 @@ export declare const orgContract: {
|
|
|
324
330
|
aiSpendUsd: z.ZodNumber;
|
|
325
331
|
emailSends: z.ZodNumber;
|
|
326
332
|
executionRetentionDays: z.ZodNumber;
|
|
333
|
+
productiveRuns: z.ZodNumber;
|
|
327
334
|
projects: z.ZodNumber;
|
|
328
335
|
seats: z.ZodNumber;
|
|
329
336
|
}, z.core.$strip>;
|
|
330
337
|
usage: z.ZodObject<{
|
|
331
338
|
aiSpendUsd: z.ZodNumber;
|
|
332
339
|
emailSends: z.ZodNumber;
|
|
340
|
+
productiveRuns: z.ZodNumber;
|
|
333
341
|
}, z.core.$strip>;
|
|
334
342
|
}, z.core.$strip>>;
|
|
335
343
|
pageInfo: z.ZodObject<{
|
package/dist/org.js
CHANGED
|
@@ -30,12 +30,14 @@ export const organizationSummaryOutputSchema = z.object({
|
|
|
30
30
|
aiSpendUsd: z.number(),
|
|
31
31
|
emailSends: z.number(),
|
|
32
32
|
executionRetentionDays: z.number().int().positive(),
|
|
33
|
+
productiveRuns: z.number(),
|
|
33
34
|
projects: z.number(),
|
|
34
35
|
seats: z.number(),
|
|
35
36
|
}),
|
|
36
37
|
usage: z.object({
|
|
37
38
|
aiSpendUsd: z.number(),
|
|
38
39
|
emailSends: z.number(),
|
|
40
|
+
productiveRuns: z.number(),
|
|
39
41
|
}),
|
|
40
42
|
});
|
|
41
43
|
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.130.
|
|
3
|
+
"version": "0.130.8",
|
|
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.130.
|
|
35
|
-
"@automate.ax/integration-contracts": "0.130.
|
|
34
|
+
"@automate.ax/codec": "0.130.8",
|
|
35
|
+
"@automate.ax/integration-contracts": "0.130.8",
|
|
36
36
|
"@orpc/contract": "1.15.0",
|
|
37
37
|
"fast-json-stable-stringify": "^2.1.0",
|
|
38
38
|
"zod": "^4.3.6"
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"zshy": "^0.7.2"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
+
"test": "bun test",
|
|
51
52
|
"typecheck": "resource-broker run --pool automate-ax-validation --limit 2 --weight 1 -- tsc --noEmit",
|
|
52
53
|
"lint": "oxlint --type-aware --threads=2 && bun --bun eslint . --cache --cache-strategy content",
|
|
53
54
|
"lint:fix": "oxlint --type-aware --threads=2 --fix --fix-suggestions && bun --bun eslint . --fix --cache --cache-strategy content",
|
package/src/org.ts
CHANGED
|
@@ -38,12 +38,14 @@ export const organizationSummaryOutputSchema = z.object({
|
|
|
38
38
|
aiSpendUsd: z.number(),
|
|
39
39
|
emailSends: z.number(),
|
|
40
40
|
executionRetentionDays: z.number().int().positive(),
|
|
41
|
+
productiveRuns: z.number(),
|
|
41
42
|
projects: z.number(),
|
|
42
43
|
seats: z.number(),
|
|
43
44
|
}),
|
|
44
45
|
usage: z.object({
|
|
45
46
|
aiSpendUsd: z.number(),
|
|
46
47
|
emailSends: z.number(),
|
|
48
|
+
productiveRuns: z.number(),
|
|
47
49
|
}),
|
|
48
50
|
})
|
|
49
51
|
|