@automate.ax/api-contract 0.83.2 → 0.83.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/index.d.ts CHANGED
@@ -3456,6 +3456,7 @@ export declare const contract: {
3456
3456
  startedAt: import("zod").ZodDate;
3457
3457
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3458
3458
  sendEmail: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodIntersection<import("zod").ZodObject<{
3459
+ headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
3459
3460
  replyTo: import("zod").ZodOptional<import("zod").ZodEmail>;
3460
3461
  subject: import("zod").ZodString;
3461
3462
  to: import("zod").ZodDefault<import("zod").ZodUnion<readonly [import("zod").ZodEmail, import("zod").ZodLiteral<"*">]>>;
package/dist/runtime.d.ts CHANGED
@@ -1681,6 +1681,7 @@ export declare const runtimeContract: {
1681
1681
  startedAt: z.ZodDate;
1682
1682
  }, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
1683
1683
  sendEmail: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodIntersection<z.ZodObject<{
1684
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1684
1685
  replyTo: z.ZodOptional<z.ZodEmail>;
1685
1686
  subject: z.ZodString;
1686
1687
  to: z.ZodDefault<z.ZodUnion<readonly [z.ZodEmail, z.ZodLiteral<"*">]>>;
package/dist/runtime.js CHANGED
@@ -721,6 +721,7 @@ export const runtimeContract = {
721
721
  sendEmail: oc
722
722
  .input(z
723
723
  .object({
724
+ headers: z.record(z.string().min(1), z.string()).optional(),
724
725
  replyTo: z.email().optional(),
725
726
  subject: z.string().min(1),
726
727
  to: z.union([z.email(), z.literal("*")]).default("*"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.83.2",
3
+ "version": "0.83.3",
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.83.2",
35
- "@automate.ax/integration-contracts": "0.83.2",
34
+ "@automate.ax/codec": "0.83.3",
35
+ "@automate.ax/integration-contracts": "0.83.3",
36
36
  "@orpc/contract": "1.15.0",
37
37
  "fast-json-stable-stringify": "^2.1.0",
38
38
  "zod": "^4.3.6"
package/src/runtime.ts CHANGED
@@ -839,6 +839,7 @@ export const runtimeContract = {
839
839
  .input(
840
840
  z
841
841
  .object({
842
+ headers: z.record(z.string().min(1), z.string()).optional(),
842
843
  replyTo: z.email().optional(),
843
844
  subject: z.string().min(1),
844
845
  to: z.union([z.email(), z.literal("*")]).default("*"),