@automate.ax/api-contract 0.35.0 → 0.37.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 +12 -12
- package/dist/org.d.ts +8 -8
- package/dist/org.js +2 -2
- package/package.json +2 -2
- package/src/org.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -90,13 +90,13 @@ export declare const publicContract: {
|
|
|
90
90
|
enterprise: "enterprise";
|
|
91
91
|
}>;
|
|
92
92
|
limits: import("zod").ZodObject<{
|
|
93
|
-
|
|
93
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
94
94
|
emailRecipients: import("zod").ZodNumber;
|
|
95
95
|
projects: import("zod").ZodNumber;
|
|
96
96
|
seats: import("zod").ZodNumber;
|
|
97
97
|
}, import("zod/v4/core").$strip>;
|
|
98
98
|
usage: import("zod").ZodObject<{
|
|
99
|
-
|
|
99
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
100
100
|
emailRecipients: import("zod").ZodNumber;
|
|
101
101
|
}, import("zod/v4/core").$strip>;
|
|
102
102
|
members: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -180,13 +180,13 @@ export declare const publicContract: {
|
|
|
180
180
|
enterprise: "enterprise";
|
|
181
181
|
}>;
|
|
182
182
|
limits: import("zod").ZodObject<{
|
|
183
|
-
|
|
183
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
184
184
|
emailRecipients: import("zod").ZodNumber;
|
|
185
185
|
projects: import("zod").ZodNumber;
|
|
186
186
|
seats: import("zod").ZodNumber;
|
|
187
187
|
}, import("zod/v4/core").$strip>;
|
|
188
188
|
usage: import("zod").ZodObject<{
|
|
189
|
-
|
|
189
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
190
190
|
emailRecipients: import("zod").ZodNumber;
|
|
191
191
|
}, import("zod/v4/core").$strip>;
|
|
192
192
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
@@ -619,13 +619,13 @@ export declare const firstPartyContract: {
|
|
|
619
619
|
enterprise: "enterprise";
|
|
620
620
|
}>;
|
|
621
621
|
limits: import("zod").ZodObject<{
|
|
622
|
-
|
|
622
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
623
623
|
emailRecipients: import("zod").ZodNumber;
|
|
624
624
|
projects: import("zod").ZodNumber;
|
|
625
625
|
seats: import("zod").ZodNumber;
|
|
626
626
|
}, import("zod/v4/core").$strip>;
|
|
627
627
|
usage: import("zod").ZodObject<{
|
|
628
|
-
|
|
628
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
629
629
|
emailRecipients: import("zod").ZodNumber;
|
|
630
630
|
}, import("zod/v4/core").$strip>;
|
|
631
631
|
members: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -709,13 +709,13 @@ export declare const firstPartyContract: {
|
|
|
709
709
|
enterprise: "enterprise";
|
|
710
710
|
}>;
|
|
711
711
|
limits: import("zod").ZodObject<{
|
|
712
|
-
|
|
712
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
713
713
|
emailRecipients: import("zod").ZodNumber;
|
|
714
714
|
projects: import("zod").ZodNumber;
|
|
715
715
|
seats: import("zod").ZodNumber;
|
|
716
716
|
}, import("zod/v4/core").$strip>;
|
|
717
717
|
usage: import("zod").ZodObject<{
|
|
718
|
-
|
|
718
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
719
719
|
emailRecipients: import("zod").ZodNumber;
|
|
720
720
|
}, import("zod/v4/core").$strip>;
|
|
721
721
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
@@ -1480,13 +1480,13 @@ export declare const contract: {
|
|
|
1480
1480
|
enterprise: "enterprise";
|
|
1481
1481
|
}>;
|
|
1482
1482
|
limits: import("zod").ZodObject<{
|
|
1483
|
-
|
|
1483
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
1484
1484
|
emailRecipients: import("zod").ZodNumber;
|
|
1485
1485
|
projects: import("zod").ZodNumber;
|
|
1486
1486
|
seats: import("zod").ZodNumber;
|
|
1487
1487
|
}, import("zod/v4/core").$strip>;
|
|
1488
1488
|
usage: import("zod").ZodObject<{
|
|
1489
|
-
|
|
1489
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
1490
1490
|
emailRecipients: import("zod").ZodNumber;
|
|
1491
1491
|
}, import("zod/v4/core").$strip>;
|
|
1492
1492
|
members: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -1570,13 +1570,13 @@ export declare const contract: {
|
|
|
1570
1570
|
enterprise: "enterprise";
|
|
1571
1571
|
}>;
|
|
1572
1572
|
limits: import("zod").ZodObject<{
|
|
1573
|
-
|
|
1573
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
1574
1574
|
emailRecipients: import("zod").ZodNumber;
|
|
1575
1575
|
projects: import("zod").ZodNumber;
|
|
1576
1576
|
seats: import("zod").ZodNumber;
|
|
1577
1577
|
}, import("zod/v4/core").$strip>;
|
|
1578
1578
|
usage: import("zod").ZodObject<{
|
|
1579
|
-
|
|
1579
|
+
aiSpendUsd: import("zod").ZodNumber;
|
|
1580
1580
|
emailRecipients: import("zod").ZodNumber;
|
|
1581
1581
|
}, import("zod/v4/core").$strip>;
|
|
1582
1582
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
package/dist/org.d.ts
CHANGED
|
@@ -42,13 +42,13 @@ export declare const organizationSummaryOutputSchema: z.ZodObject<{
|
|
|
42
42
|
enterprise: "enterprise";
|
|
43
43
|
}>;
|
|
44
44
|
limits: z.ZodObject<{
|
|
45
|
-
|
|
45
|
+
aiSpendUsd: z.ZodNumber;
|
|
46
46
|
emailRecipients: z.ZodNumber;
|
|
47
47
|
projects: z.ZodNumber;
|
|
48
48
|
seats: z.ZodNumber;
|
|
49
49
|
}, z.core.$strip>;
|
|
50
50
|
usage: z.ZodObject<{
|
|
51
|
-
|
|
51
|
+
aiSpendUsd: z.ZodNumber;
|
|
52
52
|
emailRecipients: z.ZodNumber;
|
|
53
53
|
}, z.core.$strip>;
|
|
54
54
|
}, z.core.$strip>;
|
|
@@ -109,13 +109,13 @@ export declare const organizationDetailsOutputSchema: z.ZodObject<{
|
|
|
109
109
|
enterprise: "enterprise";
|
|
110
110
|
}>;
|
|
111
111
|
limits: z.ZodObject<{
|
|
112
|
-
|
|
112
|
+
aiSpendUsd: z.ZodNumber;
|
|
113
113
|
emailRecipients: z.ZodNumber;
|
|
114
114
|
projects: z.ZodNumber;
|
|
115
115
|
seats: z.ZodNumber;
|
|
116
116
|
}, z.core.$strip>;
|
|
117
117
|
usage: z.ZodObject<{
|
|
118
|
-
|
|
118
|
+
aiSpendUsd: z.ZodNumber;
|
|
119
119
|
emailRecipients: z.ZodNumber;
|
|
120
120
|
}, z.core.$strip>;
|
|
121
121
|
members: z.ZodArray<z.ZodObject<{
|
|
@@ -211,13 +211,13 @@ export declare const orgContract: {
|
|
|
211
211
|
enterprise: "enterprise";
|
|
212
212
|
}>;
|
|
213
213
|
limits: z.ZodObject<{
|
|
214
|
-
|
|
214
|
+
aiSpendUsd: z.ZodNumber;
|
|
215
215
|
emailRecipients: z.ZodNumber;
|
|
216
216
|
projects: z.ZodNumber;
|
|
217
217
|
seats: z.ZodNumber;
|
|
218
218
|
}, z.core.$strip>;
|
|
219
219
|
usage: z.ZodObject<{
|
|
220
|
-
|
|
220
|
+
aiSpendUsd: z.ZodNumber;
|
|
221
221
|
emailRecipients: z.ZodNumber;
|
|
222
222
|
}, z.core.$strip>;
|
|
223
223
|
members: z.ZodArray<z.ZodObject<{
|
|
@@ -301,13 +301,13 @@ export declare const orgContract: {
|
|
|
301
301
|
enterprise: "enterprise";
|
|
302
302
|
}>;
|
|
303
303
|
limits: z.ZodObject<{
|
|
304
|
-
|
|
304
|
+
aiSpendUsd: z.ZodNumber;
|
|
305
305
|
emailRecipients: z.ZodNumber;
|
|
306
306
|
projects: z.ZodNumber;
|
|
307
307
|
seats: z.ZodNumber;
|
|
308
308
|
}, z.core.$strip>;
|
|
309
309
|
usage: z.ZodObject<{
|
|
310
|
-
|
|
310
|
+
aiSpendUsd: z.ZodNumber;
|
|
311
311
|
emailRecipients: z.ZodNumber;
|
|
312
312
|
}, z.core.$strip>;
|
|
313
313
|
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
package/dist/org.js
CHANGED
|
@@ -26,13 +26,13 @@ export const organizationSummaryOutputSchema = z.object({
|
|
|
26
26
|
activeSubscription: activeSubscriptionOutputSchema.nullable(),
|
|
27
27
|
plan: z.enum(["free", "pro", "enterprise"]),
|
|
28
28
|
limits: z.object({
|
|
29
|
-
|
|
29
|
+
aiSpendUsd: z.number(),
|
|
30
30
|
emailRecipients: z.number(),
|
|
31
31
|
projects: z.number(),
|
|
32
32
|
seats: z.number(),
|
|
33
33
|
}),
|
|
34
34
|
usage: z.object({
|
|
35
|
-
|
|
35
|
+
aiSpendUsd: z.number(),
|
|
36
36
|
emailRecipients: z.number(),
|
|
37
37
|
}),
|
|
38
38
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "Public oRPC contract for the Automate.ax API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@ai-sdk/gateway": "^4.0.46",
|
|
30
|
-
"@automate.ax/codec": "0.
|
|
30
|
+
"@automate.ax/codec": "0.37.0",
|
|
31
31
|
"@orpc/contract": "1.13.14",
|
|
32
32
|
"zod": "^4.3.6"
|
|
33
33
|
},
|
package/src/org.ts
CHANGED
|
@@ -30,13 +30,13 @@ export const organizationSummaryOutputSchema = z.object({
|
|
|
30
30
|
activeSubscription: activeSubscriptionOutputSchema.nullable(),
|
|
31
31
|
plan: z.enum(["free", "pro", "enterprise"]),
|
|
32
32
|
limits: z.object({
|
|
33
|
-
|
|
33
|
+
aiSpendUsd: z.number(),
|
|
34
34
|
emailRecipients: z.number(),
|
|
35
35
|
projects: z.number(),
|
|
36
36
|
seats: z.number(),
|
|
37
37
|
}),
|
|
38
38
|
usage: z.object({
|
|
39
|
-
|
|
39
|
+
aiSpendUsd: z.number(),
|
|
40
40
|
emailRecipients: z.number(),
|
|
41
41
|
}),
|
|
42
42
|
})
|