@kl1/contracts 1.1.4 → 1.1.5
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.js +933 -886
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +932 -886
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/chat/index.d.ts +2985 -2123
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +24 -8
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +76 -7
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/chatwoot/index.d.ts +7527 -0
- package/dist/src/chatwoot/index.d.ts.map +1 -0
- package/dist/src/chatwoot/schema.d.ts +79 -0
- package/dist/src/chatwoot/schema.d.ts.map +1 -0
- package/dist/src/chatwoot/validation.d.ts +53 -0
- package/dist/src/chatwoot/validation.d.ts.map +1 -0
- package/dist/src/contract.d.ts +5238 -3489
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +73 -7
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +73 -7
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +289 -136
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/index.d.ts +10 -0
- package/dist/src/mail/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +1775 -1162
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server-contract.d.ts +477 -18
- package/dist/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/message-contract.d.ts +54 -54
- package/dist/src/mail/room-contract.d.ts +957 -954
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
- package/dist/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/account.schema.d.ts +32 -32
- package/dist/src/mail/schemas/message.schema.d.ts +42 -42
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +325 -322
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +683 -259
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +83 -7
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/viber/index.d.ts +73 -7
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -6,12 +6,12 @@ export declare const MailServerSchema: z.ZodObject<{
|
|
6
6
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
7
|
name: z.ZodString;
|
8
8
|
smtpHost: z.ZodString;
|
9
|
-
smtpPort: z.
|
10
|
-
smtpTlsPort: z.
|
9
|
+
smtpPort: z.ZodNumber;
|
10
|
+
smtpTlsPort: z.ZodNumber;
|
11
11
|
useTlsForSmtp: z.ZodBoolean;
|
12
12
|
imapHost: z.ZodString;
|
13
|
-
imapPort: z.
|
14
|
-
imapTlsPort: z.
|
13
|
+
imapPort: z.ZodNumber;
|
14
|
+
imapTlsPort: z.ZodNumber;
|
15
15
|
useTlsForImap: z.ZodBoolean;
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
17
17
|
id: string;
|
@@ -20,12 +20,12 @@ export declare const MailServerSchema: z.ZodObject<{
|
|
20
20
|
updatedAt: Date;
|
21
21
|
deletedAt: Date | null;
|
22
22
|
smtpHost: string;
|
23
|
-
smtpPort:
|
24
|
-
smtpTlsPort:
|
23
|
+
smtpPort: number;
|
24
|
+
smtpTlsPort: number;
|
25
25
|
useTlsForSmtp: boolean;
|
26
26
|
imapHost: string;
|
27
|
-
imapPort:
|
28
|
-
imapTlsPort:
|
27
|
+
imapPort: number;
|
28
|
+
imapTlsPort: number;
|
29
29
|
useTlsForImap: boolean;
|
30
30
|
}, {
|
31
31
|
id: string;
|
@@ -34,12 +34,12 @@ export declare const MailServerSchema: z.ZodObject<{
|
|
34
34
|
updatedAt: Date;
|
35
35
|
deletedAt: Date | null;
|
36
36
|
smtpHost: string;
|
37
|
-
smtpPort:
|
38
|
-
smtpTlsPort:
|
37
|
+
smtpPort: number;
|
38
|
+
smtpTlsPort: number;
|
39
39
|
useTlsForSmtp: boolean;
|
40
40
|
imapHost: string;
|
41
|
-
imapPort:
|
42
|
-
imapTlsPort:
|
41
|
+
imapPort: number;
|
42
|
+
imapTlsPort: number;
|
43
43
|
useTlsForImap: boolean;
|
44
44
|
}>;
|
45
45
|
export declare const MailAccountSchema: z.ZodObject<{
|
@@ -58,12 +58,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
58
58
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
59
59
|
name: z.ZodString;
|
60
60
|
smtpHost: z.ZodString;
|
61
|
-
smtpPort: z.
|
62
|
-
smtpTlsPort: z.
|
61
|
+
smtpPort: z.ZodNumber;
|
62
|
+
smtpTlsPort: z.ZodNumber;
|
63
63
|
useTlsForSmtp: z.ZodBoolean;
|
64
64
|
imapHost: z.ZodString;
|
65
|
-
imapPort: z.
|
66
|
-
imapTlsPort: z.
|
65
|
+
imapPort: z.ZodNumber;
|
66
|
+
imapTlsPort: z.ZodNumber;
|
67
67
|
useTlsForImap: z.ZodBoolean;
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
69
69
|
id: string;
|
@@ -72,12 +72,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
72
72
|
updatedAt: Date;
|
73
73
|
deletedAt: Date | null;
|
74
74
|
smtpHost: string;
|
75
|
-
smtpPort:
|
76
|
-
smtpTlsPort:
|
75
|
+
smtpPort: number;
|
76
|
+
smtpTlsPort: number;
|
77
77
|
useTlsForSmtp: boolean;
|
78
78
|
imapHost: string;
|
79
|
-
imapPort:
|
80
|
-
imapTlsPort:
|
79
|
+
imapPort: number;
|
80
|
+
imapTlsPort: number;
|
81
81
|
useTlsForImap: boolean;
|
82
82
|
}, {
|
83
83
|
id: string;
|
@@ -86,12 +86,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
86
86
|
updatedAt: Date;
|
87
87
|
deletedAt: Date | null;
|
88
88
|
smtpHost: string;
|
89
|
-
smtpPort:
|
90
|
-
smtpTlsPort:
|
89
|
+
smtpPort: number;
|
90
|
+
smtpTlsPort: number;
|
91
91
|
useTlsForSmtp: boolean;
|
92
92
|
imapHost: string;
|
93
|
-
imapPort:
|
94
|
-
imapTlsPort:
|
93
|
+
imapPort: number;
|
94
|
+
imapTlsPort: number;
|
95
95
|
useTlsForImap: boolean;
|
96
96
|
}>;
|
97
97
|
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
@@ -112,12 +112,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
112
112
|
updatedAt: Date;
|
113
113
|
deletedAt: Date | null;
|
114
114
|
smtpHost: string;
|
115
|
-
smtpPort:
|
116
|
-
smtpTlsPort:
|
115
|
+
smtpPort: number;
|
116
|
+
smtpTlsPort: number;
|
117
117
|
useTlsForSmtp: boolean;
|
118
118
|
imapHost: string;
|
119
|
-
imapPort:
|
120
|
-
imapTlsPort:
|
119
|
+
imapPort: number;
|
120
|
+
imapTlsPort: number;
|
121
121
|
useTlsForImap: boolean;
|
122
122
|
};
|
123
123
|
}, {
|
@@ -137,12 +137,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
137
137
|
updatedAt: Date;
|
138
138
|
deletedAt: Date | null;
|
139
139
|
smtpHost: string;
|
140
|
-
smtpPort:
|
141
|
-
smtpTlsPort:
|
140
|
+
smtpPort: number;
|
141
|
+
smtpTlsPort: number;
|
142
142
|
useTlsForSmtp: boolean;
|
143
143
|
imapHost: string;
|
144
|
-
imapPort:
|
145
|
-
imapTlsPort:
|
144
|
+
imapPort: number;
|
145
|
+
imapTlsPort: number;
|
146
146
|
useTlsForImap: boolean;
|
147
147
|
};
|
148
148
|
}>;
|
@@ -121,34 +121,34 @@ export declare const MessageSchema: z.ZodObject<{
|
|
121
121
|
createdAt: z.ZodDate;
|
122
122
|
updatedAt: z.ZodDate;
|
123
123
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
124
|
+
bucketName: z.ZodString;
|
125
|
+
fileName: z.ZodString;
|
126
|
+
fileKey: z.ZodString;
|
127
|
+
fileSize: z.ZodNumber;
|
128
|
+
fileUrl: z.ZodString;
|
129
|
+
extensionName: z.ZodString;
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
131
131
|
id: string;
|
132
132
|
createdAt: Date;
|
133
133
|
updatedAt: Date;
|
134
134
|
deletedAt: Date | null;
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
135
|
+
extensionName: string;
|
136
|
+
fileName: string;
|
137
|
+
fileKey: string;
|
138
|
+
bucketName: string;
|
139
|
+
fileSize: number;
|
140
|
+
fileUrl: string;
|
141
141
|
}, {
|
142
142
|
id: string;
|
143
143
|
createdAt: Date;
|
144
144
|
updatedAt: Date;
|
145
145
|
deletedAt: Date | null;
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
146
|
+
extensionName: string;
|
147
|
+
fileName: string;
|
148
|
+
fileKey: string;
|
149
|
+
bucketName: string;
|
150
|
+
fileSize: number;
|
151
|
+
fileUrl: string;
|
152
152
|
}>;
|
153
153
|
}, "strip", z.ZodTypeAny, {
|
154
154
|
id: string;
|
@@ -163,12 +163,12 @@ export declare const MessageSchema: z.ZodObject<{
|
|
163
163
|
createdAt: Date;
|
164
164
|
updatedAt: Date;
|
165
165
|
deletedAt: Date | null;
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
166
|
+
extensionName: string;
|
167
|
+
fileName: string;
|
168
|
+
fileKey: string;
|
169
|
+
bucketName: string;
|
170
|
+
fileSize: number;
|
171
|
+
fileUrl: string;
|
172
172
|
};
|
173
173
|
roomId: string;
|
174
174
|
messageId: string;
|
@@ -186,12 +186,12 @@ export declare const MessageSchema: z.ZodObject<{
|
|
186
186
|
createdAt: Date;
|
187
187
|
updatedAt: Date;
|
188
188
|
deletedAt: Date | null;
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
189
|
+
extensionName: string;
|
190
|
+
fileName: string;
|
191
|
+
fileKey: string;
|
192
|
+
bucketName: string;
|
193
|
+
fileSize: number;
|
194
|
+
fileUrl: string;
|
195
195
|
};
|
196
196
|
roomId: string;
|
197
197
|
messageId: string;
|
@@ -260,12 +260,12 @@ export declare const MessageSchema: z.ZodObject<{
|
|
260
260
|
createdAt: Date;
|
261
261
|
updatedAt: Date;
|
262
262
|
deletedAt: Date | null;
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
263
|
+
extensionName: string;
|
264
|
+
fileName: string;
|
265
|
+
fileKey: string;
|
266
|
+
bucketName: string;
|
267
|
+
fileSize: number;
|
268
|
+
fileUrl: string;
|
269
269
|
};
|
270
270
|
roomId: string;
|
271
271
|
messageId: string;
|
@@ -334,12 +334,12 @@ export declare const MessageSchema: z.ZodObject<{
|
|
334
334
|
createdAt: Date;
|
335
335
|
updatedAt: Date;
|
336
336
|
deletedAt: Date | null;
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
337
|
+
extensionName: string;
|
338
|
+
fileName: string;
|
339
|
+
fileKey: string;
|
340
|
+
bucketName: string;
|
341
|
+
fileSize: number;
|
342
|
+
fileUrl: string;
|
343
343
|
};
|
344
344
|
roomId: string;
|
345
345
|
messageId: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"message.schema.d.ts","sourceRoot":"","sources":["../../../../src/mail/schemas/message.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"message.schema.d.ts","sourceRoot":"","sources":["../../../../src/mail/schemas/message.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AA4BpB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBxB,CAAC"}
|