@automate.ax/api-contract 0.22.1 → 0.22.3
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/deployment.d.ts +1 -0
- package/dist/deployment.js +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +2 -2
- package/src/deployment.ts +1 -0
- package/src/runtime.ts +1 -1
package/dist/deployment.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare const deploymentContract: {
|
|
|
21
21
|
upsert: "upsert";
|
|
22
22
|
}>;
|
|
23
23
|
projectId: z.ZodString;
|
|
24
|
+
rebindAccounts: z.ZodDefault<z.ZodBoolean>;
|
|
24
25
|
}, z.core.$strip>, z.ZodObject<{
|
|
25
26
|
id: z.ZodString;
|
|
26
27
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
package/dist/deployment.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -379,6 +379,7 @@ export declare const firstPartyContract: {
|
|
|
379
379
|
upsert: "upsert";
|
|
380
380
|
}>;
|
|
381
381
|
projectId: import("zod").ZodString;
|
|
382
|
+
rebindAccounts: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
382
383
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
383
384
|
id: import("zod").ZodString;
|
|
384
385
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -973,7 +974,7 @@ export declare const contract: {
|
|
|
973
974
|
sendEmail: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
974
975
|
subject: import("zod").ZodString;
|
|
975
976
|
text: import("zod").ZodString;
|
|
976
|
-
to: import("zod").ZodUnion<readonly [import("zod").ZodEmail, import("zod").ZodLiteral<"*">]
|
|
977
|
+
to: import("zod").ZodDefault<import("zod").ZodUnion<readonly [import("zod").ZodEmail, import("zod").ZodLiteral<"*">]>>;
|
|
977
978
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
978
979
|
id: import("zod").ZodNullable<import("zod").ZodString>;
|
|
979
980
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -989,6 +990,7 @@ export declare const contract: {
|
|
|
989
990
|
upsert: "upsert";
|
|
990
991
|
}>;
|
|
991
992
|
projectId: import("zod").ZodString;
|
|
993
|
+
rebindAccounts: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
992
994
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
993
995
|
id: import("zod").ZodString;
|
|
994
996
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
package/dist/runtime.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export declare const runtimeContract: {
|
|
|
92
92
|
sendEmail: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
93
93
|
subject: z.ZodString;
|
|
94
94
|
text: z.ZodString;
|
|
95
|
-
to: z.ZodUnion<readonly [z.ZodEmail, z.ZodLiteral<"*">]
|
|
95
|
+
to: z.ZodDefault<z.ZodUnion<readonly [z.ZodEmail, z.ZodLiteral<"*">]>>;
|
|
96
96
|
}, z.core.$strip>, z.ZodObject<{
|
|
97
97
|
id: z.ZodNullable<z.ZodString>;
|
|
98
98
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
package/dist/runtime.js
CHANGED
|
@@ -115,7 +115,7 @@ export const runtimeContract = {
|
|
|
115
115
|
.input(z.object({
|
|
116
116
|
subject: z.string().min(1),
|
|
117
117
|
text: z.string().min(1),
|
|
118
|
-
to: z.union([z.email(), z.literal("*")]),
|
|
118
|
+
to: z.union([z.email(), z.literal("*")]).default("*"),
|
|
119
119
|
}))
|
|
120
120
|
.output(z.object({
|
|
121
121
|
id: z.string().nullable(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.3",
|
|
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.22.
|
|
29
|
+
"@automate.ax/codec": "0.22.3",
|
|
30
30
|
"@orpc/contract": "1.13.14",
|
|
31
31
|
"zod": "^4.3.6"
|
|
32
32
|
},
|
package/src/deployment.ts
CHANGED
package/src/runtime.ts
CHANGED