@automate.ax/api-contract 0.34.0 → 0.36.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 +36 -0
- package/dist/org.d.ts +24 -0
- package/dist/org.js +6 -0
- package/package.json +2 -2
- package/src/org.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -90,9 +90,15 @@ export declare const publicContract: {
|
|
|
90
90
|
enterprise: "enterprise";
|
|
91
91
|
}>;
|
|
92
92
|
limits: import("zod").ZodObject<{
|
|
93
|
+
aiGenerations: import("zod").ZodNumber;
|
|
94
|
+
emailRecipients: import("zod").ZodNumber;
|
|
93
95
|
projects: import("zod").ZodNumber;
|
|
94
96
|
seats: import("zod").ZodNumber;
|
|
95
97
|
}, import("zod/v4/core").$strip>;
|
|
98
|
+
usage: import("zod").ZodObject<{
|
|
99
|
+
aiGenerations: import("zod").ZodNumber;
|
|
100
|
+
emailRecipients: import("zod").ZodNumber;
|
|
101
|
+
}, import("zod/v4/core").$strip>;
|
|
96
102
|
members: import("zod").ZodArray<import("zod").ZodObject<{
|
|
97
103
|
id: import("zod").ZodString;
|
|
98
104
|
userId: import("zod").ZodString;
|
|
@@ -174,9 +180,15 @@ export declare const publicContract: {
|
|
|
174
180
|
enterprise: "enterprise";
|
|
175
181
|
}>;
|
|
176
182
|
limits: import("zod").ZodObject<{
|
|
183
|
+
aiGenerations: import("zod").ZodNumber;
|
|
184
|
+
emailRecipients: import("zod").ZodNumber;
|
|
177
185
|
projects: import("zod").ZodNumber;
|
|
178
186
|
seats: import("zod").ZodNumber;
|
|
179
187
|
}, import("zod/v4/core").$strip>;
|
|
188
|
+
usage: import("zod").ZodObject<{
|
|
189
|
+
aiGenerations: import("zod").ZodNumber;
|
|
190
|
+
emailRecipients: import("zod").ZodNumber;
|
|
191
|
+
}, import("zod/v4/core").$strip>;
|
|
180
192
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
181
193
|
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
182
194
|
organizationId: import("zod").ZodString;
|
|
@@ -607,9 +619,15 @@ export declare const firstPartyContract: {
|
|
|
607
619
|
enterprise: "enterprise";
|
|
608
620
|
}>;
|
|
609
621
|
limits: import("zod").ZodObject<{
|
|
622
|
+
aiGenerations: import("zod").ZodNumber;
|
|
623
|
+
emailRecipients: import("zod").ZodNumber;
|
|
610
624
|
projects: import("zod").ZodNumber;
|
|
611
625
|
seats: import("zod").ZodNumber;
|
|
612
626
|
}, import("zod/v4/core").$strip>;
|
|
627
|
+
usage: import("zod").ZodObject<{
|
|
628
|
+
aiGenerations: import("zod").ZodNumber;
|
|
629
|
+
emailRecipients: import("zod").ZodNumber;
|
|
630
|
+
}, import("zod/v4/core").$strip>;
|
|
613
631
|
members: import("zod").ZodArray<import("zod").ZodObject<{
|
|
614
632
|
id: import("zod").ZodString;
|
|
615
633
|
userId: import("zod").ZodString;
|
|
@@ -691,9 +709,15 @@ export declare const firstPartyContract: {
|
|
|
691
709
|
enterprise: "enterprise";
|
|
692
710
|
}>;
|
|
693
711
|
limits: import("zod").ZodObject<{
|
|
712
|
+
aiGenerations: import("zod").ZodNumber;
|
|
713
|
+
emailRecipients: import("zod").ZodNumber;
|
|
694
714
|
projects: import("zod").ZodNumber;
|
|
695
715
|
seats: import("zod").ZodNumber;
|
|
696
716
|
}, import("zod/v4/core").$strip>;
|
|
717
|
+
usage: import("zod").ZodObject<{
|
|
718
|
+
aiGenerations: import("zod").ZodNumber;
|
|
719
|
+
emailRecipients: import("zod").ZodNumber;
|
|
720
|
+
}, import("zod/v4/core").$strip>;
|
|
697
721
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
698
722
|
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
699
723
|
organizationId: import("zod").ZodString;
|
|
@@ -1456,9 +1480,15 @@ export declare const contract: {
|
|
|
1456
1480
|
enterprise: "enterprise";
|
|
1457
1481
|
}>;
|
|
1458
1482
|
limits: import("zod").ZodObject<{
|
|
1483
|
+
aiGenerations: import("zod").ZodNumber;
|
|
1484
|
+
emailRecipients: import("zod").ZodNumber;
|
|
1459
1485
|
projects: import("zod").ZodNumber;
|
|
1460
1486
|
seats: import("zod").ZodNumber;
|
|
1461
1487
|
}, import("zod/v4/core").$strip>;
|
|
1488
|
+
usage: import("zod").ZodObject<{
|
|
1489
|
+
aiGenerations: import("zod").ZodNumber;
|
|
1490
|
+
emailRecipients: import("zod").ZodNumber;
|
|
1491
|
+
}, import("zod/v4/core").$strip>;
|
|
1462
1492
|
members: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1463
1493
|
id: import("zod").ZodString;
|
|
1464
1494
|
userId: import("zod").ZodString;
|
|
@@ -1540,9 +1570,15 @@ export declare const contract: {
|
|
|
1540
1570
|
enterprise: "enterprise";
|
|
1541
1571
|
}>;
|
|
1542
1572
|
limits: import("zod").ZodObject<{
|
|
1573
|
+
aiGenerations: import("zod").ZodNumber;
|
|
1574
|
+
emailRecipients: import("zod").ZodNumber;
|
|
1543
1575
|
projects: import("zod").ZodNumber;
|
|
1544
1576
|
seats: import("zod").ZodNumber;
|
|
1545
1577
|
}, import("zod/v4/core").$strip>;
|
|
1578
|
+
usage: import("zod").ZodObject<{
|
|
1579
|
+
aiGenerations: import("zod").ZodNumber;
|
|
1580
|
+
emailRecipients: import("zod").ZodNumber;
|
|
1581
|
+
}, import("zod/v4/core").$strip>;
|
|
1546
1582
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
1547
1583
|
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1548
1584
|
organizationId: import("zod").ZodString;
|
package/dist/org.d.ts
CHANGED
|
@@ -42,9 +42,15 @@ export declare const organizationSummaryOutputSchema: z.ZodObject<{
|
|
|
42
42
|
enterprise: "enterprise";
|
|
43
43
|
}>;
|
|
44
44
|
limits: z.ZodObject<{
|
|
45
|
+
aiGenerations: z.ZodNumber;
|
|
46
|
+
emailRecipients: z.ZodNumber;
|
|
45
47
|
projects: z.ZodNumber;
|
|
46
48
|
seats: z.ZodNumber;
|
|
47
49
|
}, z.core.$strip>;
|
|
50
|
+
usage: z.ZodObject<{
|
|
51
|
+
aiGenerations: z.ZodNumber;
|
|
52
|
+
emailRecipients: z.ZodNumber;
|
|
53
|
+
}, z.core.$strip>;
|
|
48
54
|
}, z.core.$strip>;
|
|
49
55
|
export declare const organizationMemberOutputSchema: z.ZodObject<{
|
|
50
56
|
id: z.ZodString;
|
|
@@ -103,9 +109,15 @@ export declare const organizationDetailsOutputSchema: z.ZodObject<{
|
|
|
103
109
|
enterprise: "enterprise";
|
|
104
110
|
}>;
|
|
105
111
|
limits: z.ZodObject<{
|
|
112
|
+
aiGenerations: z.ZodNumber;
|
|
113
|
+
emailRecipients: z.ZodNumber;
|
|
106
114
|
projects: z.ZodNumber;
|
|
107
115
|
seats: z.ZodNumber;
|
|
108
116
|
}, z.core.$strip>;
|
|
117
|
+
usage: z.ZodObject<{
|
|
118
|
+
aiGenerations: z.ZodNumber;
|
|
119
|
+
emailRecipients: z.ZodNumber;
|
|
120
|
+
}, z.core.$strip>;
|
|
109
121
|
members: z.ZodArray<z.ZodObject<{
|
|
110
122
|
id: z.ZodString;
|
|
111
123
|
userId: z.ZodString;
|
|
@@ -199,9 +211,15 @@ export declare const orgContract: {
|
|
|
199
211
|
enterprise: "enterprise";
|
|
200
212
|
}>;
|
|
201
213
|
limits: z.ZodObject<{
|
|
214
|
+
aiGenerations: z.ZodNumber;
|
|
215
|
+
emailRecipients: z.ZodNumber;
|
|
202
216
|
projects: z.ZodNumber;
|
|
203
217
|
seats: z.ZodNumber;
|
|
204
218
|
}, z.core.$strip>;
|
|
219
|
+
usage: z.ZodObject<{
|
|
220
|
+
aiGenerations: z.ZodNumber;
|
|
221
|
+
emailRecipients: z.ZodNumber;
|
|
222
|
+
}, z.core.$strip>;
|
|
205
223
|
members: z.ZodArray<z.ZodObject<{
|
|
206
224
|
id: z.ZodString;
|
|
207
225
|
userId: z.ZodString;
|
|
@@ -283,9 +301,15 @@ export declare const orgContract: {
|
|
|
283
301
|
enterprise: "enterprise";
|
|
284
302
|
}>;
|
|
285
303
|
limits: z.ZodObject<{
|
|
304
|
+
aiGenerations: z.ZodNumber;
|
|
305
|
+
emailRecipients: z.ZodNumber;
|
|
286
306
|
projects: z.ZodNumber;
|
|
287
307
|
seats: z.ZodNumber;
|
|
288
308
|
}, z.core.$strip>;
|
|
309
|
+
usage: z.ZodObject<{
|
|
310
|
+
aiGenerations: z.ZodNumber;
|
|
311
|
+
emailRecipients: z.ZodNumber;
|
|
312
|
+
}, z.core.$strip>;
|
|
289
313
|
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
290
314
|
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
291
315
|
organizationId: z.ZodString;
|
package/dist/org.js
CHANGED
|
@@ -26,9 +26,15 @@ export const organizationSummaryOutputSchema = z.object({
|
|
|
26
26
|
activeSubscription: activeSubscriptionOutputSchema.nullable(),
|
|
27
27
|
plan: z.enum(["free", "pro", "enterprise"]),
|
|
28
28
|
limits: z.object({
|
|
29
|
+
aiGenerations: z.number(),
|
|
30
|
+
emailRecipients: z.number(),
|
|
29
31
|
projects: z.number(),
|
|
30
32
|
seats: z.number(),
|
|
31
33
|
}),
|
|
34
|
+
usage: z.object({
|
|
35
|
+
aiGenerations: z.number(),
|
|
36
|
+
emailRecipients: z.number(),
|
|
37
|
+
}),
|
|
32
38
|
});
|
|
33
39
|
export const organizationMemberOutputSchema = z.object({
|
|
34
40
|
id: z.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.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.36.0",
|
|
31
31
|
"@orpc/contract": "1.13.14",
|
|
32
32
|
"zod": "^4.3.6"
|
|
33
33
|
},
|
package/src/org.ts
CHANGED
|
@@ -30,9 +30,15 @@ export const organizationSummaryOutputSchema = z.object({
|
|
|
30
30
|
activeSubscription: activeSubscriptionOutputSchema.nullable(),
|
|
31
31
|
plan: z.enum(["free", "pro", "enterprise"]),
|
|
32
32
|
limits: z.object({
|
|
33
|
+
aiGenerations: z.number(),
|
|
34
|
+
emailRecipients: z.number(),
|
|
33
35
|
projects: z.number(),
|
|
34
36
|
seats: z.number(),
|
|
35
37
|
}),
|
|
38
|
+
usage: z.object({
|
|
39
|
+
aiGenerations: z.number(),
|
|
40
|
+
emailRecipients: z.number(),
|
|
41
|
+
}),
|
|
36
42
|
})
|
|
37
43
|
|
|
38
44
|
export const organizationMemberOutputSchema = z.object({
|