@kl1/contracts 1.4.75 → 1.4.77

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.
@@ -30021,7 +30021,7 @@ export declare const mailContract: {
30021
30021
  address: string;
30022
30022
  name?: string | undefined;
30023
30023
  }>;
30024
- to: import("zod").ZodObject<{
30024
+ to: import("zod").ZodArray<import("zod").ZodObject<{
30025
30025
  name: import("zod").ZodOptional<import("zod").ZodString>;
30026
30026
  address: import("zod").ZodString;
30027
30027
  }, "strip", import("zod").ZodTypeAny, {
@@ -30030,7 +30030,7 @@ export declare const mailContract: {
30030
30030
  }, {
30031
30031
  address: string;
30032
30032
  name?: string | undefined;
30033
- }>;
30033
+ }>, "many">;
30034
30034
  cc: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
30035
30035
  name: import("zod").ZodOptional<import("zod").ZodString>;
30036
30036
  address: import("zod").ZodString;
@@ -30095,7 +30095,7 @@ export declare const mailContract: {
30095
30095
  to: {
30096
30096
  address: string;
30097
30097
  name?: string | undefined;
30098
- };
30098
+ }[];
30099
30099
  attachments?: {
30100
30100
  fileName: string;
30101
30101
  fileType: string;
@@ -30128,7 +30128,7 @@ export declare const mailContract: {
30128
30128
  to: {
30129
30129
  address: string;
30130
30130
  name?: string | undefined;
30131
- };
30131
+ }[];
30132
30132
  attachments?: {
30133
30133
  fileName: string;
30134
30134
  fileType: string;
@@ -17,7 +17,7 @@ export declare const messageContract: {
17
17
  address: string;
18
18
  name?: string | undefined;
19
19
  }>;
20
- to: z.ZodObject<{
20
+ to: z.ZodArray<z.ZodObject<{
21
21
  name: z.ZodOptional<z.ZodString>;
22
22
  address: z.ZodString;
23
23
  }, "strip", z.ZodTypeAny, {
@@ -26,7 +26,7 @@ export declare const messageContract: {
26
26
  }, {
27
27
  address: string;
28
28
  name?: string | undefined;
29
- }>;
29
+ }>, "many">;
30
30
  cc: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
31
  name: z.ZodOptional<z.ZodString>;
32
32
  address: z.ZodString;
@@ -91,7 +91,7 @@ export declare const messageContract: {
91
91
  to: {
92
92
  address: string;
93
93
  name?: string | undefined;
94
- };
94
+ }[];
95
95
  attachments?: {
96
96
  fileName: string;
97
97
  fileType: string;
@@ -124,7 +124,7 @@ export declare const messageContract: {
124
124
  to: {
125
125
  address: string;
126
126
  name?: string | undefined;
127
- };
127
+ }[];
128
128
  attachments?: {
129
129
  fileName: string;
130
130
  fileType: string;
@@ -15,7 +15,7 @@ export declare const MessageContractsValidationsSchema: {
15
15
  address: string;
16
16
  name?: string | undefined;
17
17
  }>;
18
- to: z.ZodObject<{
18
+ to: z.ZodArray<z.ZodObject<{
19
19
  name: z.ZodOptional<z.ZodString>;
20
20
  address: z.ZodString;
21
21
  }, "strip", z.ZodTypeAny, {
@@ -24,7 +24,7 @@ export declare const MessageContractsValidationsSchema: {
24
24
  }, {
25
25
  address: string;
26
26
  name?: string | undefined;
27
- }>;
27
+ }>, "many">;
28
28
  cc: z.ZodOptional<z.ZodArray<z.ZodObject<{
29
29
  name: z.ZodOptional<z.ZodString>;
30
30
  address: z.ZodString;
@@ -89,7 +89,7 @@ export declare const MessageContractsValidationsSchema: {
89
89
  to: {
90
90
  address: string;
91
91
  name?: string | undefined;
92
- };
92
+ }[];
93
93
  attachments?: {
94
94
  fileName: string;
95
95
  fileType: string;
@@ -122,7 +122,7 @@ export declare const MessageContractsValidationsSchema: {
122
122
  to: {
123
123
  address: string;
124
124
  name?: string | undefined;
125
- };
125
+ }[];
126
126
  attachments?: {
127
127
  fileName: string;
128
128
  fileType: string;
package/dist/index.js CHANGED
@@ -10894,7 +10894,7 @@ var MessageContractsValidationsSchema = {
10894
10894
  text: import_zod134.default.string(),
10895
10895
  html: import_zod134.default.string(),
10896
10896
  from: MailParticipant2,
10897
- to: MailParticipant2,
10897
+ to: import_zod134.default.array(MailParticipant2),
10898
10898
  cc: import_zod134.default.array(MailParticipant2).optional(),
10899
10899
  bcc: import_zod134.default.array(MailParticipant2).optional(),
10900
10900
  sendAt: import_zod134.default.string().optional(),