@kl1/contracts 1.0.28 → 1.0.29
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 +179 -124
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +178 -124
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +113 -113
- package/dist/src/activity-log/schema.d.ts +122 -122
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/auth/index.d.ts +89 -89
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +357 -357
- package/dist/src/channel/schema.d.ts +101 -98
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +89 -89
- package/dist/src/chat/index.d.ts +13187 -13187
- package/dist/src/chat/schema.d.ts +2360 -2360
- package/dist/src/chat/validation.d.ts +3251 -3251
- package/dist/src/comment/index.d.ts +1368 -1368
- package/dist/src/comment/schema.d.ts +388 -388
- package/dist/src/company/index.d.ts +316 -316
- package/dist/src/company/schema.d.ts +95 -95
- package/dist/src/company/validation.d.ts +177 -177
- package/dist/src/contact/index.d.ts +2171 -2171
- package/dist/src/contact/schema.d.ts +362 -362
- package/dist/src/contact/validation.d.ts +1685 -1685
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +26474 -26668
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +12 -12
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +1644 -1644
- package/dist/src/cx-log/schema.d.ts +1400 -1400
- package/dist/src/evaluate-form/index.d.ts +47 -0
- package/dist/src/evaluate-form/index.d.ts.map +1 -0
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/evaluate-form/validation.d.ts +28 -0
- package/dist/src/evaluate-form/validation.d.ts.map +1 -0
- package/dist/src/extension/index.d.ts +115 -115
- package/dist/src/extension/schema.d.ts +9 -9
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/account-contract.d.ts +168 -168
- package/dist/src/mail/mail-contract.d.ts +3398 -3398
- 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 +152 -152
- package/dist/src/mail/room-contract.d.ts +3078 -3078
- package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
- package/dist/src/mail/schemas/account.schema.d.ts +33 -33
- package/dist/src/mail/schemas/message.schema.d.ts +108 -108
- package/dist/src/mail/schemas/room-validation.schema.d.ts +1014 -1014
- package/dist/src/mail/schemas/room.schema.d.ts +816 -816
- package/dist/src/messenger/index.d.ts +1569 -1569
- package/dist/src/permission/index.d.ts +15 -15
- package/dist/src/permission/schema.d.ts +9 -9
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/role/index.d.ts +96 -96
- package/dist/src/role/schema.d.ts +24 -24
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +386 -386
- package/dist/src/telephony-agent-presence-status/schema.d.ts +122 -122
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +858 -1094
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +212 -212
- package/dist/src/ticket/validation.d.ts +102 -338
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user/index.d.ts +293 -293
- package/dist/src/user/schema.d.ts +63 -63
- package/dist/src/user-presence-status-log/index.d.ts +88 -88
- package/dist/src/user-presence-status-log/schema.d.ts +128 -128
- package/dist/src/widget/index.d.ts +78 -78
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +10 -4
@@ -1,62 +1,62 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const ContactPhonesSchema: z.ZodObject<{
|
3
3
|
id: z.ZodString;
|
4
|
-
createdAt: z.
|
5
|
-
updatedAt: z.
|
6
|
-
deletedAt: z.ZodNullable<z.
|
4
|
+
createdAt: z.ZodDate;
|
5
|
+
updatedAt: z.ZodDate;
|
6
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
7
|
phone: z.ZodString;
|
8
8
|
isPrimary: z.ZodBoolean;
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
10
|
id: string;
|
11
11
|
isPrimary: boolean;
|
12
|
-
createdAt:
|
13
|
-
updatedAt:
|
14
|
-
deletedAt:
|
12
|
+
createdAt: Date;
|
13
|
+
updatedAt: Date;
|
14
|
+
deletedAt: Date | null;
|
15
15
|
phone: string;
|
16
16
|
}, {
|
17
17
|
id: string;
|
18
18
|
isPrimary: boolean;
|
19
|
-
createdAt:
|
20
|
-
updatedAt:
|
21
|
-
deletedAt:
|
19
|
+
createdAt: Date;
|
20
|
+
updatedAt: Date;
|
21
|
+
deletedAt: Date | null;
|
22
22
|
phone: string;
|
23
23
|
}>;
|
24
24
|
export declare const ContactEmailsSchema: z.ZodObject<{
|
25
25
|
id: z.ZodString;
|
26
|
-
createdAt: z.
|
27
|
-
updatedAt: z.
|
28
|
-
deletedAt: z.ZodNullable<z.
|
26
|
+
createdAt: z.ZodDate;
|
27
|
+
updatedAt: z.ZodDate;
|
28
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
29
29
|
email: z.ZodString;
|
30
30
|
isPrimary: z.ZodBoolean;
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
32
32
|
id: string;
|
33
33
|
isPrimary: boolean;
|
34
34
|
email: string;
|
35
|
-
createdAt:
|
36
|
-
updatedAt:
|
37
|
-
deletedAt:
|
35
|
+
createdAt: Date;
|
36
|
+
updatedAt: Date;
|
37
|
+
deletedAt: Date | null;
|
38
38
|
}, {
|
39
39
|
id: string;
|
40
40
|
isPrimary: boolean;
|
41
41
|
email: string;
|
42
|
-
createdAt:
|
43
|
-
updatedAt:
|
44
|
-
deletedAt:
|
42
|
+
createdAt: Date;
|
43
|
+
updatedAt: Date;
|
44
|
+
deletedAt: Date | null;
|
45
45
|
}>;
|
46
46
|
export declare const ContactCustomFieldSchema: z.ZodObject<{
|
47
47
|
id: z.ZodString;
|
48
|
-
createdAt: z.
|
49
|
-
updatedAt: z.
|
50
|
-
deletedAt: z.ZodNullable<z.
|
48
|
+
createdAt: z.ZodDate;
|
49
|
+
updatedAt: z.ZodDate;
|
50
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
51
51
|
textValue: z.ZodNullable<z.ZodString>;
|
52
52
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
53
53
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
54
|
-
dateValue: z.ZodNullable<z.
|
54
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
55
55
|
attribute: z.ZodObject<Omit<{
|
56
56
|
id: z.ZodString;
|
57
|
-
createdAt: z.
|
58
|
-
updatedAt: z.
|
59
|
-
deletedAt: z.ZodNullable<z.
|
57
|
+
createdAt: z.ZodDate;
|
58
|
+
updatedAt: z.ZodDate;
|
59
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
60
60
|
systemName: z.ZodString;
|
61
61
|
displayName: z.ZodString;
|
62
62
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -86,23 +86,23 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
86
86
|
}>, "many">;
|
87
87
|
group: z.ZodObject<{
|
88
88
|
id: z.ZodString;
|
89
|
-
createdAt: z.
|
90
|
-
updatedAt: z.
|
91
|
-
deletedAt: z.ZodNullable<z.
|
89
|
+
createdAt: z.ZodDate;
|
90
|
+
updatedAt: z.ZodDate;
|
91
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
92
92
|
systemName: z.ZodString;
|
93
93
|
displayName: z.ZodString;
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
95
95
|
id: string;
|
96
|
-
createdAt:
|
97
|
-
updatedAt:
|
98
|
-
deletedAt:
|
96
|
+
createdAt: Date;
|
97
|
+
updatedAt: Date;
|
98
|
+
deletedAt: Date | null;
|
99
99
|
systemName: string;
|
100
100
|
displayName: string;
|
101
101
|
}, {
|
102
102
|
id: string;
|
103
|
-
createdAt:
|
104
|
-
updatedAt:
|
105
|
-
deletedAt:
|
103
|
+
createdAt: Date;
|
104
|
+
updatedAt: Date;
|
105
|
+
deletedAt: Date | null;
|
106
106
|
systemName: string;
|
107
107
|
displayName: string;
|
108
108
|
}>;
|
@@ -110,9 +110,9 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
110
110
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
111
111
|
id: string;
|
112
112
|
position: number;
|
113
|
-
createdAt:
|
114
|
-
updatedAt:
|
115
|
-
deletedAt:
|
113
|
+
createdAt: Date;
|
114
|
+
updatedAt: Date;
|
115
|
+
deletedAt: Date | null;
|
116
116
|
isDefault: boolean;
|
117
117
|
systemName: string;
|
118
118
|
displayName: string;
|
@@ -123,9 +123,9 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
123
123
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
124
124
|
id: string;
|
125
125
|
position: number;
|
126
|
-
createdAt:
|
127
|
-
updatedAt:
|
128
|
-
deletedAt:
|
126
|
+
createdAt: Date;
|
127
|
+
updatedAt: Date;
|
128
|
+
deletedAt: Date | null;
|
129
129
|
isDefault: boolean;
|
130
130
|
systemName: string;
|
131
131
|
displayName: string;
|
@@ -135,33 +135,33 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
135
135
|
}>;
|
136
136
|
uploads: z.ZodArray<z.ZodObject<{
|
137
137
|
id: z.ZodString;
|
138
|
-
createdAt: z.
|
139
|
-
updatedAt: z.
|
140
|
-
deletedAt: z.ZodNullable<z.
|
138
|
+
createdAt: z.ZodDate;
|
139
|
+
updatedAt: z.ZodDate;
|
140
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
141
141
|
customFieldId: z.ZodString;
|
142
142
|
upload: z.ZodObject<{
|
143
143
|
id: z.ZodString;
|
144
|
-
createdAt: z.
|
145
|
-
updatedAt: z.
|
146
|
-
deletedAt: z.ZodNullable<z.
|
144
|
+
createdAt: z.ZodDate;
|
145
|
+
updatedAt: z.ZodDate;
|
146
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
147
147
|
bucketName: z.ZodString;
|
148
148
|
fileName: z.ZodString;
|
149
149
|
fileSize: z.ZodNumber;
|
150
150
|
fileKey: z.ZodString;
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
152
152
|
id: string;
|
153
|
-
createdAt:
|
154
|
-
updatedAt:
|
155
|
-
deletedAt:
|
153
|
+
createdAt: Date;
|
154
|
+
updatedAt: Date;
|
155
|
+
deletedAt: Date | null;
|
156
156
|
fileName: string;
|
157
157
|
fileKey: string;
|
158
158
|
bucketName: string;
|
159
159
|
fileSize: number;
|
160
160
|
}, {
|
161
161
|
id: string;
|
162
|
-
createdAt:
|
163
|
-
updatedAt:
|
164
|
-
deletedAt:
|
162
|
+
createdAt: Date;
|
163
|
+
updatedAt: Date;
|
164
|
+
deletedAt: Date | null;
|
165
165
|
fileName: string;
|
166
166
|
fileKey: string;
|
167
167
|
bucketName: string;
|
@@ -169,15 +169,15 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
169
169
|
}>;
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
171
171
|
id: string;
|
172
|
-
createdAt:
|
173
|
-
updatedAt:
|
174
|
-
deletedAt:
|
172
|
+
createdAt: Date;
|
173
|
+
updatedAt: Date;
|
174
|
+
deletedAt: Date | null;
|
175
175
|
customFieldId: string;
|
176
176
|
upload: {
|
177
177
|
id: string;
|
178
|
-
createdAt:
|
179
|
-
updatedAt:
|
180
|
-
deletedAt:
|
178
|
+
createdAt: Date;
|
179
|
+
updatedAt: Date;
|
180
|
+
deletedAt: Date | null;
|
181
181
|
fileName: string;
|
182
182
|
fileKey: string;
|
183
183
|
bucketName: string;
|
@@ -185,15 +185,15 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
185
185
|
};
|
186
186
|
}, {
|
187
187
|
id: string;
|
188
|
-
createdAt:
|
189
|
-
updatedAt:
|
190
|
-
deletedAt:
|
188
|
+
createdAt: Date;
|
189
|
+
updatedAt: Date;
|
190
|
+
deletedAt: Date | null;
|
191
191
|
customFieldId: string;
|
192
192
|
upload: {
|
193
193
|
id: string;
|
194
|
-
createdAt:
|
195
|
-
updatedAt:
|
196
|
-
deletedAt:
|
194
|
+
createdAt: Date;
|
195
|
+
updatedAt: Date;
|
196
|
+
deletedAt: Date | null;
|
197
197
|
fileName: string;
|
198
198
|
fileKey: string;
|
199
199
|
bucketName: string;
|
@@ -202,16 +202,16 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
202
202
|
}>, "many">;
|
203
203
|
}, "strip", z.ZodTypeAny, {
|
204
204
|
id: string;
|
205
|
-
createdAt:
|
206
|
-
updatedAt:
|
207
|
-
deletedAt:
|
205
|
+
createdAt: Date;
|
206
|
+
updatedAt: Date;
|
207
|
+
deletedAt: Date | null;
|
208
208
|
attribute: {
|
209
209
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
210
210
|
id: string;
|
211
211
|
position: number;
|
212
|
-
createdAt:
|
213
|
-
updatedAt:
|
214
|
-
deletedAt:
|
212
|
+
createdAt: Date;
|
213
|
+
updatedAt: Date;
|
214
|
+
deletedAt: Date | null;
|
215
215
|
isDefault: boolean;
|
216
216
|
systemName: string;
|
217
217
|
displayName: string;
|
@@ -222,18 +222,18 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
222
222
|
textValue: string | null;
|
223
223
|
booleanValue: boolean | null;
|
224
224
|
numberValue: number | null;
|
225
|
-
dateValue:
|
225
|
+
dateValue: Date | null;
|
226
226
|
uploads: {
|
227
227
|
id: string;
|
228
|
-
createdAt:
|
229
|
-
updatedAt:
|
230
|
-
deletedAt:
|
228
|
+
createdAt: Date;
|
229
|
+
updatedAt: Date;
|
230
|
+
deletedAt: Date | null;
|
231
231
|
customFieldId: string;
|
232
232
|
upload: {
|
233
233
|
id: string;
|
234
|
-
createdAt:
|
235
|
-
updatedAt:
|
236
|
-
deletedAt:
|
234
|
+
createdAt: Date;
|
235
|
+
updatedAt: Date;
|
236
|
+
deletedAt: Date | null;
|
237
237
|
fileName: string;
|
238
238
|
fileKey: string;
|
239
239
|
bucketName: string;
|
@@ -242,16 +242,16 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
242
242
|
}[];
|
243
243
|
}, {
|
244
244
|
id: string;
|
245
|
-
createdAt:
|
246
|
-
updatedAt:
|
247
|
-
deletedAt:
|
245
|
+
createdAt: Date;
|
246
|
+
updatedAt: Date;
|
247
|
+
deletedAt: Date | null;
|
248
248
|
attribute: {
|
249
249
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
250
250
|
id: string;
|
251
251
|
position: number;
|
252
|
-
createdAt:
|
253
|
-
updatedAt:
|
254
|
-
deletedAt:
|
252
|
+
createdAt: Date;
|
253
|
+
updatedAt: Date;
|
254
|
+
deletedAt: Date | null;
|
255
255
|
isDefault: boolean;
|
256
256
|
systemName: string;
|
257
257
|
displayName: string;
|
@@ -262,18 +262,18 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
262
262
|
textValue: string | null;
|
263
263
|
booleanValue: boolean | null;
|
264
264
|
numberValue: number | null;
|
265
|
-
dateValue:
|
265
|
+
dateValue: Date | null;
|
266
266
|
uploads: {
|
267
267
|
id: string;
|
268
|
-
createdAt:
|
269
|
-
updatedAt:
|
270
|
-
deletedAt:
|
268
|
+
createdAt: Date;
|
269
|
+
updatedAt: Date;
|
270
|
+
deletedAt: Date | null;
|
271
271
|
customFieldId: string;
|
272
272
|
upload: {
|
273
273
|
id: string;
|
274
|
-
createdAt:
|
275
|
-
updatedAt:
|
276
|
-
deletedAt:
|
274
|
+
createdAt: Date;
|
275
|
+
updatedAt: Date;
|
276
|
+
deletedAt: Date | null;
|
277
277
|
fileName: string;
|
278
278
|
fileKey: string;
|
279
279
|
bucketName: string;
|
@@ -283,91 +283,91 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
283
283
|
}>;
|
284
284
|
export declare const ContactEntityTypesSchema: z.ZodObject<{
|
285
285
|
id: z.ZodString;
|
286
|
-
createdAt: z.
|
287
|
-
updatedAt: z.
|
288
|
-
deletedAt: z.ZodNullable<z.
|
286
|
+
createdAt: z.ZodDate;
|
287
|
+
updatedAt: z.ZodDate;
|
288
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
289
289
|
entity: z.ZodString;
|
290
290
|
description: z.ZodNullable<z.ZodString>;
|
291
291
|
}, "strip", z.ZodTypeAny, {
|
292
292
|
id: string;
|
293
293
|
description: string | null;
|
294
|
-
createdAt:
|
295
|
-
updatedAt:
|
296
|
-
deletedAt:
|
294
|
+
createdAt: Date;
|
295
|
+
updatedAt: Date;
|
296
|
+
deletedAt: Date | null;
|
297
297
|
entity: string;
|
298
298
|
}, {
|
299
299
|
id: string;
|
300
300
|
description: string | null;
|
301
|
-
createdAt:
|
302
|
-
updatedAt:
|
303
|
-
deletedAt:
|
301
|
+
createdAt: Date;
|
302
|
+
updatedAt: Date;
|
303
|
+
deletedAt: Date | null;
|
304
304
|
entity: string;
|
305
305
|
}>;
|
306
306
|
export declare const ContactActivitySchema: z.ZodObject<{
|
307
307
|
id: z.ZodString;
|
308
|
-
createdAt: z.
|
309
|
-
updatedAt: z.
|
310
|
-
deletedAt: z.ZodNullable<z.
|
308
|
+
createdAt: z.ZodDate;
|
309
|
+
updatedAt: z.ZodDate;
|
310
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
311
311
|
entityId: z.ZodString;
|
312
312
|
description: z.ZodString;
|
313
313
|
entityType: z.ZodObject<{
|
314
314
|
id: z.ZodString;
|
315
|
-
createdAt: z.
|
316
|
-
updatedAt: z.
|
317
|
-
deletedAt: z.ZodNullable<z.
|
315
|
+
createdAt: z.ZodDate;
|
316
|
+
updatedAt: z.ZodDate;
|
317
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
318
318
|
entity: z.ZodString;
|
319
319
|
description: z.ZodNullable<z.ZodString>;
|
320
320
|
}, "strip", z.ZodTypeAny, {
|
321
321
|
id: string;
|
322
322
|
description: string | null;
|
323
|
-
createdAt:
|
324
|
-
updatedAt:
|
325
|
-
deletedAt:
|
323
|
+
createdAt: Date;
|
324
|
+
updatedAt: Date;
|
325
|
+
deletedAt: Date | null;
|
326
326
|
entity: string;
|
327
327
|
}, {
|
328
328
|
id: string;
|
329
329
|
description: string | null;
|
330
|
-
createdAt:
|
331
|
-
updatedAt:
|
332
|
-
deletedAt:
|
330
|
+
createdAt: Date;
|
331
|
+
updatedAt: Date;
|
332
|
+
deletedAt: Date | null;
|
333
333
|
entity: string;
|
334
334
|
}>;
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
336
336
|
id: string;
|
337
337
|
description: string;
|
338
|
-
createdAt:
|
339
|
-
updatedAt:
|
340
|
-
deletedAt:
|
338
|
+
createdAt: Date;
|
339
|
+
updatedAt: Date;
|
340
|
+
deletedAt: Date | null;
|
341
341
|
entityId: string;
|
342
342
|
entityType: {
|
343
343
|
id: string;
|
344
344
|
description: string | null;
|
345
|
-
createdAt:
|
346
|
-
updatedAt:
|
347
|
-
deletedAt:
|
345
|
+
createdAt: Date;
|
346
|
+
updatedAt: Date;
|
347
|
+
deletedAt: Date | null;
|
348
348
|
entity: string;
|
349
349
|
};
|
350
350
|
}, {
|
351
351
|
id: string;
|
352
352
|
description: string;
|
353
|
-
createdAt:
|
354
|
-
updatedAt:
|
355
|
-
deletedAt:
|
353
|
+
createdAt: Date;
|
354
|
+
updatedAt: Date;
|
355
|
+
deletedAt: Date | null;
|
356
356
|
entityId: string;
|
357
357
|
entityType: {
|
358
358
|
id: string;
|
359
359
|
description: string | null;
|
360
|
-
createdAt:
|
361
|
-
updatedAt:
|
362
|
-
deletedAt:
|
360
|
+
createdAt: Date;
|
361
|
+
updatedAt: Date;
|
362
|
+
deletedAt: Date | null;
|
363
363
|
entity: string;
|
364
364
|
};
|
365
365
|
}>;
|
366
366
|
export declare const ContactSchema: z.ZodObject<{
|
367
367
|
id: z.ZodString;
|
368
|
-
createdAt: z.
|
369
|
-
updatedAt: z.
|
370
|
-
deletedAt: z.ZodNullable<z.
|
368
|
+
createdAt: z.ZodDate;
|
369
|
+
updatedAt: z.ZodDate;
|
370
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
371
371
|
name: z.ZodString;
|
372
372
|
address: z.ZodNullable<z.ZodString>;
|
373
373
|
channel: z.ZodNullable<z.ZodString>;
|
@@ -376,46 +376,46 @@ export declare const ContactSchema: z.ZodObject<{
|
|
376
376
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
377
377
|
tags: z.ZodArray<z.ZodObject<{
|
378
378
|
id: z.ZodString;
|
379
|
-
createdAt: z.
|
380
|
-
updatedAt: z.
|
381
|
-
deletedAt: z.ZodNullable<z.
|
379
|
+
createdAt: z.ZodDate;
|
380
|
+
updatedAt: z.ZodDate;
|
381
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
382
382
|
name: z.ZodString;
|
383
383
|
}, "strip", z.ZodTypeAny, {
|
384
384
|
id: string;
|
385
385
|
name: string;
|
386
|
-
createdAt:
|
387
|
-
updatedAt:
|
388
|
-
deletedAt:
|
386
|
+
createdAt: Date;
|
387
|
+
updatedAt: Date;
|
388
|
+
deletedAt: Date | null;
|
389
389
|
}, {
|
390
390
|
id: string;
|
391
391
|
name: string;
|
392
|
-
createdAt:
|
393
|
-
updatedAt:
|
394
|
-
deletedAt:
|
392
|
+
createdAt: Date;
|
393
|
+
updatedAt: Date;
|
394
|
+
deletedAt: Date | null;
|
395
395
|
}>, "many">;
|
396
396
|
company: z.ZodNullable<z.ZodObject<Omit<{
|
397
397
|
id: z.ZodString;
|
398
|
-
createdAt: z.
|
399
|
-
updatedAt: z.
|
400
|
-
deletedAt: z.ZodNullable<z.
|
398
|
+
createdAt: z.ZodDate;
|
399
|
+
updatedAt: z.ZodDate;
|
400
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
401
401
|
name: z.ZodOptional<z.ZodString>;
|
402
402
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
403
403
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
404
404
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
405
405
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
406
406
|
id: z.ZodString;
|
407
|
-
createdAt: z.
|
408
|
-
updatedAt: z.
|
409
|
-
deletedAt: z.ZodNullable<z.
|
407
|
+
createdAt: z.ZodDate;
|
408
|
+
updatedAt: z.ZodDate;
|
409
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
410
410
|
textValue: z.ZodNullable<z.ZodString>;
|
411
411
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
412
412
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
413
|
-
dateValue: z.ZodNullable<z.
|
413
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
414
414
|
attribute: z.ZodObject<Omit<{
|
415
415
|
id: z.ZodString;
|
416
|
-
createdAt: z.
|
417
|
-
updatedAt: z.
|
418
|
-
deletedAt: z.ZodNullable<z.
|
416
|
+
createdAt: z.ZodDate;
|
417
|
+
updatedAt: z.ZodDate;
|
418
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
419
419
|
systemName: z.ZodString;
|
420
420
|
displayName: z.ZodString;
|
421
421
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -445,23 +445,23 @@ export declare const ContactSchema: z.ZodObject<{
|
|
445
445
|
}>, "many">;
|
446
446
|
group: z.ZodObject<{
|
447
447
|
id: z.ZodString;
|
448
|
-
createdAt: z.
|
449
|
-
updatedAt: z.
|
450
|
-
deletedAt: z.ZodNullable<z.
|
448
|
+
createdAt: z.ZodDate;
|
449
|
+
updatedAt: z.ZodDate;
|
450
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
451
451
|
systemName: z.ZodString;
|
452
452
|
displayName: z.ZodString;
|
453
453
|
}, "strip", z.ZodTypeAny, {
|
454
454
|
id: string;
|
455
|
-
createdAt:
|
456
|
-
updatedAt:
|
457
|
-
deletedAt:
|
455
|
+
createdAt: Date;
|
456
|
+
updatedAt: Date;
|
457
|
+
deletedAt: Date | null;
|
458
458
|
systemName: string;
|
459
459
|
displayName: string;
|
460
460
|
}, {
|
461
461
|
id: string;
|
462
|
-
createdAt:
|
463
|
-
updatedAt:
|
464
|
-
deletedAt:
|
462
|
+
createdAt: Date;
|
463
|
+
updatedAt: Date;
|
464
|
+
deletedAt: Date | null;
|
465
465
|
systemName: string;
|
466
466
|
displayName: string;
|
467
467
|
}>;
|
@@ -469,9 +469,9 @@ export declare const ContactSchema: z.ZodObject<{
|
|
469
469
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
470
470
|
id: string;
|
471
471
|
position: number;
|
472
|
-
createdAt:
|
473
|
-
updatedAt:
|
474
|
-
deletedAt:
|
472
|
+
createdAt: Date;
|
473
|
+
updatedAt: Date;
|
474
|
+
deletedAt: Date | null;
|
475
475
|
isDefault: boolean;
|
476
476
|
systemName: string;
|
477
477
|
displayName: string;
|
@@ -482,9 +482,9 @@ export declare const ContactSchema: z.ZodObject<{
|
|
482
482
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
483
483
|
id: string;
|
484
484
|
position: number;
|
485
|
-
createdAt:
|
486
|
-
updatedAt:
|
487
|
-
deletedAt:
|
485
|
+
createdAt: Date;
|
486
|
+
updatedAt: Date;
|
487
|
+
deletedAt: Date | null;
|
488
488
|
isDefault: boolean;
|
489
489
|
systemName: string;
|
490
490
|
displayName: string;
|
@@ -494,16 +494,16 @@ export declare const ContactSchema: z.ZodObject<{
|
|
494
494
|
}>;
|
495
495
|
}, "strip", z.ZodTypeAny, {
|
496
496
|
id: string;
|
497
|
-
createdAt:
|
498
|
-
updatedAt:
|
499
|
-
deletedAt:
|
497
|
+
createdAt: Date;
|
498
|
+
updatedAt: Date;
|
499
|
+
deletedAt: Date | null;
|
500
500
|
attribute: {
|
501
501
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
502
502
|
id: string;
|
503
503
|
position: number;
|
504
|
-
createdAt:
|
505
|
-
updatedAt:
|
506
|
-
deletedAt:
|
504
|
+
createdAt: Date;
|
505
|
+
updatedAt: Date;
|
506
|
+
deletedAt: Date | null;
|
507
507
|
isDefault: boolean;
|
508
508
|
systemName: string;
|
509
509
|
displayName: string;
|
@@ -514,19 +514,19 @@ export declare const ContactSchema: z.ZodObject<{
|
|
514
514
|
textValue: string | null;
|
515
515
|
booleanValue: boolean | null;
|
516
516
|
numberValue: number | null;
|
517
|
-
dateValue:
|
517
|
+
dateValue: Date | null;
|
518
518
|
}, {
|
519
519
|
id: string;
|
520
|
-
createdAt:
|
521
|
-
updatedAt:
|
522
|
-
deletedAt:
|
520
|
+
createdAt: Date;
|
521
|
+
updatedAt: Date;
|
522
|
+
deletedAt: Date | null;
|
523
523
|
attribute: {
|
524
524
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
525
525
|
id: string;
|
526
526
|
position: number;
|
527
|
-
createdAt:
|
528
|
-
updatedAt:
|
529
|
-
deletedAt:
|
527
|
+
createdAt: Date;
|
528
|
+
updatedAt: Date;
|
529
|
+
deletedAt: Date | null;
|
530
530
|
isDefault: boolean;
|
531
531
|
systemName: string;
|
532
532
|
displayName: string;
|
@@ -537,22 +537,22 @@ export declare const ContactSchema: z.ZodObject<{
|
|
537
537
|
textValue: string | null;
|
538
538
|
booleanValue: boolean | null;
|
539
539
|
numberValue: number | null;
|
540
|
-
dateValue:
|
540
|
+
dateValue: Date | null;
|
541
541
|
}>, "many">>;
|
542
542
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
543
543
|
id: string;
|
544
|
-
createdAt:
|
545
|
-
updatedAt:
|
546
|
-
deletedAt:
|
544
|
+
createdAt: Date;
|
545
|
+
updatedAt: Date;
|
546
|
+
deletedAt: Date | null;
|
547
547
|
address?: string | null | undefined;
|
548
548
|
name?: string | undefined;
|
549
549
|
phone?: string | null | undefined;
|
550
550
|
industry?: string | null | undefined;
|
551
551
|
}, {
|
552
552
|
id: string;
|
553
|
-
createdAt:
|
554
|
-
updatedAt:
|
555
|
-
deletedAt:
|
553
|
+
createdAt: Date;
|
554
|
+
updatedAt: Date;
|
555
|
+
deletedAt: Date | null;
|
556
556
|
address?: string | null | undefined;
|
557
557
|
name?: string | undefined;
|
558
558
|
phone?: string | null | undefined;
|
@@ -560,18 +560,18 @@ export declare const ContactSchema: z.ZodObject<{
|
|
560
560
|
}>>;
|
561
561
|
customFields: z.ZodArray<z.ZodObject<{
|
562
562
|
id: z.ZodString;
|
563
|
-
createdAt: z.
|
564
|
-
updatedAt: z.
|
565
|
-
deletedAt: z.ZodNullable<z.
|
563
|
+
createdAt: z.ZodDate;
|
564
|
+
updatedAt: z.ZodDate;
|
565
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
566
566
|
textValue: z.ZodNullable<z.ZodString>;
|
567
567
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
568
568
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
569
|
-
dateValue: z.ZodNullable<z.
|
569
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
570
570
|
attribute: z.ZodObject<Omit<{
|
571
571
|
id: z.ZodString;
|
572
|
-
createdAt: z.
|
573
|
-
updatedAt: z.
|
574
|
-
deletedAt: z.ZodNullable<z.
|
572
|
+
createdAt: z.ZodDate;
|
573
|
+
updatedAt: z.ZodDate;
|
574
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
575
575
|
systemName: z.ZodString;
|
576
576
|
displayName: z.ZodString;
|
577
577
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -601,23 +601,23 @@ export declare const ContactSchema: z.ZodObject<{
|
|
601
601
|
}>, "many">;
|
602
602
|
group: z.ZodObject<{
|
603
603
|
id: z.ZodString;
|
604
|
-
createdAt: z.
|
605
|
-
updatedAt: z.
|
606
|
-
deletedAt: z.ZodNullable<z.
|
604
|
+
createdAt: z.ZodDate;
|
605
|
+
updatedAt: z.ZodDate;
|
606
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
607
607
|
systemName: z.ZodString;
|
608
608
|
displayName: z.ZodString;
|
609
609
|
}, "strip", z.ZodTypeAny, {
|
610
610
|
id: string;
|
611
|
-
createdAt:
|
612
|
-
updatedAt:
|
613
|
-
deletedAt:
|
611
|
+
createdAt: Date;
|
612
|
+
updatedAt: Date;
|
613
|
+
deletedAt: Date | null;
|
614
614
|
systemName: string;
|
615
615
|
displayName: string;
|
616
616
|
}, {
|
617
617
|
id: string;
|
618
|
-
createdAt:
|
619
|
-
updatedAt:
|
620
|
-
deletedAt:
|
618
|
+
createdAt: Date;
|
619
|
+
updatedAt: Date;
|
620
|
+
deletedAt: Date | null;
|
621
621
|
systemName: string;
|
622
622
|
displayName: string;
|
623
623
|
}>;
|
@@ -625,9 +625,9 @@ export declare const ContactSchema: z.ZodObject<{
|
|
625
625
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
626
626
|
id: string;
|
627
627
|
position: number;
|
628
|
-
createdAt:
|
629
|
-
updatedAt:
|
630
|
-
deletedAt:
|
628
|
+
createdAt: Date;
|
629
|
+
updatedAt: Date;
|
630
|
+
deletedAt: Date | null;
|
631
631
|
isDefault: boolean;
|
632
632
|
systemName: string;
|
633
633
|
displayName: string;
|
@@ -638,9 +638,9 @@ export declare const ContactSchema: z.ZodObject<{
|
|
638
638
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
639
639
|
id: string;
|
640
640
|
position: number;
|
641
|
-
createdAt:
|
642
|
-
updatedAt:
|
643
|
-
deletedAt:
|
641
|
+
createdAt: Date;
|
642
|
+
updatedAt: Date;
|
643
|
+
deletedAt: Date | null;
|
644
644
|
isDefault: boolean;
|
645
645
|
systemName: string;
|
646
646
|
displayName: string;
|
@@ -650,33 +650,33 @@ export declare const ContactSchema: z.ZodObject<{
|
|
650
650
|
}>;
|
651
651
|
uploads: z.ZodArray<z.ZodObject<{
|
652
652
|
id: z.ZodString;
|
653
|
-
createdAt: z.
|
654
|
-
updatedAt: z.
|
655
|
-
deletedAt: z.ZodNullable<z.
|
653
|
+
createdAt: z.ZodDate;
|
654
|
+
updatedAt: z.ZodDate;
|
655
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
656
656
|
customFieldId: z.ZodString;
|
657
657
|
upload: z.ZodObject<{
|
658
658
|
id: z.ZodString;
|
659
|
-
createdAt: z.
|
660
|
-
updatedAt: z.
|
661
|
-
deletedAt: z.ZodNullable<z.
|
659
|
+
createdAt: z.ZodDate;
|
660
|
+
updatedAt: z.ZodDate;
|
661
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
662
662
|
bucketName: z.ZodString;
|
663
663
|
fileName: z.ZodString;
|
664
664
|
fileSize: z.ZodNumber;
|
665
665
|
fileKey: z.ZodString;
|
666
666
|
}, "strip", z.ZodTypeAny, {
|
667
667
|
id: string;
|
668
|
-
createdAt:
|
669
|
-
updatedAt:
|
670
|
-
deletedAt:
|
668
|
+
createdAt: Date;
|
669
|
+
updatedAt: Date;
|
670
|
+
deletedAt: Date | null;
|
671
671
|
fileName: string;
|
672
672
|
fileKey: string;
|
673
673
|
bucketName: string;
|
674
674
|
fileSize: number;
|
675
675
|
}, {
|
676
676
|
id: string;
|
677
|
-
createdAt:
|
678
|
-
updatedAt:
|
679
|
-
deletedAt:
|
677
|
+
createdAt: Date;
|
678
|
+
updatedAt: Date;
|
679
|
+
deletedAt: Date | null;
|
680
680
|
fileName: string;
|
681
681
|
fileKey: string;
|
682
682
|
bucketName: string;
|
@@ -684,15 +684,15 @@ export declare const ContactSchema: z.ZodObject<{
|
|
684
684
|
}>;
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
686
686
|
id: string;
|
687
|
-
createdAt:
|
688
|
-
updatedAt:
|
689
|
-
deletedAt:
|
687
|
+
createdAt: Date;
|
688
|
+
updatedAt: Date;
|
689
|
+
deletedAt: Date | null;
|
690
690
|
customFieldId: string;
|
691
691
|
upload: {
|
692
692
|
id: string;
|
693
|
-
createdAt:
|
694
|
-
updatedAt:
|
695
|
-
deletedAt:
|
693
|
+
createdAt: Date;
|
694
|
+
updatedAt: Date;
|
695
|
+
deletedAt: Date | null;
|
696
696
|
fileName: string;
|
697
697
|
fileKey: string;
|
698
698
|
bucketName: string;
|
@@ -700,15 +700,15 @@ export declare const ContactSchema: z.ZodObject<{
|
|
700
700
|
};
|
701
701
|
}, {
|
702
702
|
id: string;
|
703
|
-
createdAt:
|
704
|
-
updatedAt:
|
705
|
-
deletedAt:
|
703
|
+
createdAt: Date;
|
704
|
+
updatedAt: Date;
|
705
|
+
deletedAt: Date | null;
|
706
706
|
customFieldId: string;
|
707
707
|
upload: {
|
708
708
|
id: string;
|
709
|
-
createdAt:
|
710
|
-
updatedAt:
|
711
|
-
deletedAt:
|
709
|
+
createdAt: Date;
|
710
|
+
updatedAt: Date;
|
711
|
+
deletedAt: Date | null;
|
712
712
|
fileName: string;
|
713
713
|
fileKey: string;
|
714
714
|
bucketName: string;
|
@@ -717,16 +717,16 @@ export declare const ContactSchema: z.ZodObject<{
|
|
717
717
|
}>, "many">;
|
718
718
|
}, "strip", z.ZodTypeAny, {
|
719
719
|
id: string;
|
720
|
-
createdAt:
|
721
|
-
updatedAt:
|
722
|
-
deletedAt:
|
720
|
+
createdAt: Date;
|
721
|
+
updatedAt: Date;
|
722
|
+
deletedAt: Date | null;
|
723
723
|
attribute: {
|
724
724
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
725
725
|
id: string;
|
726
726
|
position: number;
|
727
|
-
createdAt:
|
728
|
-
updatedAt:
|
729
|
-
deletedAt:
|
727
|
+
createdAt: Date;
|
728
|
+
updatedAt: Date;
|
729
|
+
deletedAt: Date | null;
|
730
730
|
isDefault: boolean;
|
731
731
|
systemName: string;
|
732
732
|
displayName: string;
|
@@ -737,18 +737,18 @@ export declare const ContactSchema: z.ZodObject<{
|
|
737
737
|
textValue: string | null;
|
738
738
|
booleanValue: boolean | null;
|
739
739
|
numberValue: number | null;
|
740
|
-
dateValue:
|
740
|
+
dateValue: Date | null;
|
741
741
|
uploads: {
|
742
742
|
id: string;
|
743
|
-
createdAt:
|
744
|
-
updatedAt:
|
745
|
-
deletedAt:
|
743
|
+
createdAt: Date;
|
744
|
+
updatedAt: Date;
|
745
|
+
deletedAt: Date | null;
|
746
746
|
customFieldId: string;
|
747
747
|
upload: {
|
748
748
|
id: string;
|
749
|
-
createdAt:
|
750
|
-
updatedAt:
|
751
|
-
deletedAt:
|
749
|
+
createdAt: Date;
|
750
|
+
updatedAt: Date;
|
751
|
+
deletedAt: Date | null;
|
752
752
|
fileName: string;
|
753
753
|
fileKey: string;
|
754
754
|
bucketName: string;
|
@@ -757,16 +757,16 @@ export declare const ContactSchema: z.ZodObject<{
|
|
757
757
|
}[];
|
758
758
|
}, {
|
759
759
|
id: string;
|
760
|
-
createdAt:
|
761
|
-
updatedAt:
|
762
|
-
deletedAt:
|
760
|
+
createdAt: Date;
|
761
|
+
updatedAt: Date;
|
762
|
+
deletedAt: Date | null;
|
763
763
|
attribute: {
|
764
764
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
765
765
|
id: string;
|
766
766
|
position: number;
|
767
|
-
createdAt:
|
768
|
-
updatedAt:
|
769
|
-
deletedAt:
|
767
|
+
createdAt: Date;
|
768
|
+
updatedAt: Date;
|
769
|
+
deletedAt: Date | null;
|
770
770
|
isDefault: boolean;
|
771
771
|
systemName: string;
|
772
772
|
displayName: string;
|
@@ -777,18 +777,18 @@ export declare const ContactSchema: z.ZodObject<{
|
|
777
777
|
textValue: string | null;
|
778
778
|
booleanValue: boolean | null;
|
779
779
|
numberValue: number | null;
|
780
|
-
dateValue:
|
780
|
+
dateValue: Date | null;
|
781
781
|
uploads: {
|
782
782
|
id: string;
|
783
|
-
createdAt:
|
784
|
-
updatedAt:
|
785
|
-
deletedAt:
|
783
|
+
createdAt: Date;
|
784
|
+
updatedAt: Date;
|
785
|
+
deletedAt: Date | null;
|
786
786
|
customFieldId: string;
|
787
787
|
upload: {
|
788
788
|
id: string;
|
789
|
-
createdAt:
|
790
|
-
updatedAt:
|
791
|
-
deletedAt:
|
789
|
+
createdAt: Date;
|
790
|
+
updatedAt: Date;
|
791
|
+
deletedAt: Date | null;
|
792
792
|
fileName: string;
|
793
793
|
fileKey: string;
|
794
794
|
bucketName: string;
|
@@ -798,105 +798,105 @@ export declare const ContactSchema: z.ZodObject<{
|
|
798
798
|
}>, "many">;
|
799
799
|
contactEmails: z.ZodArray<z.ZodObject<{
|
800
800
|
id: z.ZodString;
|
801
|
-
createdAt: z.
|
802
|
-
updatedAt: z.
|
803
|
-
deletedAt: z.ZodNullable<z.
|
801
|
+
createdAt: z.ZodDate;
|
802
|
+
updatedAt: z.ZodDate;
|
803
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
804
804
|
email: z.ZodString;
|
805
805
|
isPrimary: z.ZodBoolean;
|
806
806
|
}, "strip", z.ZodTypeAny, {
|
807
807
|
id: string;
|
808
808
|
isPrimary: boolean;
|
809
809
|
email: string;
|
810
|
-
createdAt:
|
811
|
-
updatedAt:
|
812
|
-
deletedAt:
|
810
|
+
createdAt: Date;
|
811
|
+
updatedAt: Date;
|
812
|
+
deletedAt: Date | null;
|
813
813
|
}, {
|
814
814
|
id: string;
|
815
815
|
isPrimary: boolean;
|
816
816
|
email: string;
|
817
|
-
createdAt:
|
818
|
-
updatedAt:
|
819
|
-
deletedAt:
|
817
|
+
createdAt: Date;
|
818
|
+
updatedAt: Date;
|
819
|
+
deletedAt: Date | null;
|
820
820
|
}>, "many">;
|
821
821
|
contactPhones: z.ZodArray<z.ZodObject<{
|
822
822
|
id: z.ZodString;
|
823
|
-
createdAt: z.
|
824
|
-
updatedAt: z.
|
825
|
-
deletedAt: z.ZodNullable<z.
|
823
|
+
createdAt: z.ZodDate;
|
824
|
+
updatedAt: z.ZodDate;
|
825
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
826
826
|
phone: z.ZodString;
|
827
827
|
isPrimary: z.ZodBoolean;
|
828
828
|
}, "strip", z.ZodTypeAny, {
|
829
829
|
id: string;
|
830
830
|
isPrimary: boolean;
|
831
|
-
createdAt:
|
832
|
-
updatedAt:
|
833
|
-
deletedAt:
|
831
|
+
createdAt: Date;
|
832
|
+
updatedAt: Date;
|
833
|
+
deletedAt: Date | null;
|
834
834
|
phone: string;
|
835
835
|
}, {
|
836
836
|
id: string;
|
837
837
|
isPrimary: boolean;
|
838
|
-
createdAt:
|
839
|
-
updatedAt:
|
840
|
-
deletedAt:
|
838
|
+
createdAt: Date;
|
839
|
+
updatedAt: Date;
|
840
|
+
deletedAt: Date | null;
|
841
841
|
phone: string;
|
842
842
|
}>, "many">;
|
843
843
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
844
844
|
id: z.ZodString;
|
845
|
-
createdAt: z.
|
846
|
-
updatedAt: z.
|
847
|
-
deletedAt: z.ZodNullable<z.
|
845
|
+
createdAt: z.ZodDate;
|
846
|
+
updatedAt: z.ZodDate;
|
847
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
848
848
|
entityId: z.ZodString;
|
849
849
|
description: z.ZodString;
|
850
850
|
entityType: z.ZodObject<{
|
851
851
|
id: z.ZodString;
|
852
|
-
createdAt: z.
|
853
|
-
updatedAt: z.
|
854
|
-
deletedAt: z.ZodNullable<z.
|
852
|
+
createdAt: z.ZodDate;
|
853
|
+
updatedAt: z.ZodDate;
|
854
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
855
855
|
entity: z.ZodString;
|
856
856
|
description: z.ZodNullable<z.ZodString>;
|
857
857
|
}, "strip", z.ZodTypeAny, {
|
858
858
|
id: string;
|
859
859
|
description: string | null;
|
860
|
-
createdAt:
|
861
|
-
updatedAt:
|
862
|
-
deletedAt:
|
860
|
+
createdAt: Date;
|
861
|
+
updatedAt: Date;
|
862
|
+
deletedAt: Date | null;
|
863
863
|
entity: string;
|
864
864
|
}, {
|
865
865
|
id: string;
|
866
866
|
description: string | null;
|
867
|
-
createdAt:
|
868
|
-
updatedAt:
|
869
|
-
deletedAt:
|
867
|
+
createdAt: Date;
|
868
|
+
updatedAt: Date;
|
869
|
+
deletedAt: Date | null;
|
870
870
|
entity: string;
|
871
871
|
}>;
|
872
872
|
}, "strip", z.ZodTypeAny, {
|
873
873
|
id: string;
|
874
874
|
description: string;
|
875
|
-
createdAt:
|
876
|
-
updatedAt:
|
877
|
-
deletedAt:
|
875
|
+
createdAt: Date;
|
876
|
+
updatedAt: Date;
|
877
|
+
deletedAt: Date | null;
|
878
878
|
entityId: string;
|
879
879
|
entityType: {
|
880
880
|
id: string;
|
881
881
|
description: string | null;
|
882
|
-
createdAt:
|
883
|
-
updatedAt:
|
884
|
-
deletedAt:
|
882
|
+
createdAt: Date;
|
883
|
+
updatedAt: Date;
|
884
|
+
deletedAt: Date | null;
|
885
885
|
entity: string;
|
886
886
|
};
|
887
887
|
}, {
|
888
888
|
id: string;
|
889
889
|
description: string;
|
890
|
-
createdAt:
|
891
|
-
updatedAt:
|
892
|
-
deletedAt:
|
890
|
+
createdAt: Date;
|
891
|
+
updatedAt: Date;
|
892
|
+
deletedAt: Date | null;
|
893
893
|
entityId: string;
|
894
894
|
entityType: {
|
895
895
|
id: string;
|
896
896
|
description: string | null;
|
897
|
-
createdAt:
|
898
|
-
updatedAt:
|
899
|
-
deletedAt:
|
897
|
+
createdAt: Date;
|
898
|
+
updatedAt: Date;
|
899
|
+
deletedAt: Date | null;
|
900
900
|
entity: string;
|
901
901
|
};
|
902
902
|
}>, "many">>;
|
@@ -905,21 +905,21 @@ export declare const ContactSchema: z.ZodObject<{
|
|
905
905
|
channel: string | null;
|
906
906
|
address: string | null;
|
907
907
|
name: string;
|
908
|
-
createdAt:
|
909
|
-
updatedAt:
|
910
|
-
deletedAt:
|
908
|
+
createdAt: Date;
|
909
|
+
updatedAt: Date;
|
910
|
+
deletedAt: Date | null;
|
911
911
|
customFields: {
|
912
912
|
id: string;
|
913
|
-
createdAt:
|
914
|
-
updatedAt:
|
915
|
-
deletedAt:
|
913
|
+
createdAt: Date;
|
914
|
+
updatedAt: Date;
|
915
|
+
deletedAt: Date | null;
|
916
916
|
attribute: {
|
917
917
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
918
918
|
id: string;
|
919
919
|
position: number;
|
920
|
-
createdAt:
|
921
|
-
updatedAt:
|
922
|
-
deletedAt:
|
920
|
+
createdAt: Date;
|
921
|
+
updatedAt: Date;
|
922
|
+
deletedAt: Date | null;
|
923
923
|
isDefault: boolean;
|
924
924
|
systemName: string;
|
925
925
|
displayName: string;
|
@@ -930,18 +930,18 @@ export declare const ContactSchema: z.ZodObject<{
|
|
930
930
|
textValue: string | null;
|
931
931
|
booleanValue: boolean | null;
|
932
932
|
numberValue: number | null;
|
933
|
-
dateValue:
|
933
|
+
dateValue: Date | null;
|
934
934
|
uploads: {
|
935
935
|
id: string;
|
936
|
-
createdAt:
|
937
|
-
updatedAt:
|
938
|
-
deletedAt:
|
936
|
+
createdAt: Date;
|
937
|
+
updatedAt: Date;
|
938
|
+
deletedAt: Date | null;
|
939
939
|
customFieldId: string;
|
940
940
|
upload: {
|
941
941
|
id: string;
|
942
|
-
createdAt:
|
943
|
-
updatedAt:
|
944
|
-
deletedAt:
|
942
|
+
createdAt: Date;
|
943
|
+
updatedAt: Date;
|
944
|
+
deletedAt: Date | null;
|
945
945
|
fileName: string;
|
946
946
|
fileKey: string;
|
947
947
|
bucketName: string;
|
@@ -955,15 +955,15 @@ export declare const ContactSchema: z.ZodObject<{
|
|
955
955
|
tags: {
|
956
956
|
id: string;
|
957
957
|
name: string;
|
958
|
-
createdAt:
|
959
|
-
updatedAt:
|
960
|
-
deletedAt:
|
958
|
+
createdAt: Date;
|
959
|
+
updatedAt: Date;
|
960
|
+
deletedAt: Date | null;
|
961
961
|
}[];
|
962
962
|
company: {
|
963
963
|
id: string;
|
964
|
-
createdAt:
|
965
|
-
updatedAt:
|
966
|
-
deletedAt:
|
964
|
+
createdAt: Date;
|
965
|
+
updatedAt: Date;
|
966
|
+
deletedAt: Date | null;
|
967
967
|
address?: string | null | undefined;
|
968
968
|
name?: string | undefined;
|
969
969
|
phone?: string | null | undefined;
|
@@ -973,31 +973,31 @@ export declare const ContactSchema: z.ZodObject<{
|
|
973
973
|
id: string;
|
974
974
|
isPrimary: boolean;
|
975
975
|
email: string;
|
976
|
-
createdAt:
|
977
|
-
updatedAt:
|
978
|
-
deletedAt:
|
976
|
+
createdAt: Date;
|
977
|
+
updatedAt: Date;
|
978
|
+
deletedAt: Date | null;
|
979
979
|
}[];
|
980
980
|
contactPhones: {
|
981
981
|
id: string;
|
982
982
|
isPrimary: boolean;
|
983
|
-
createdAt:
|
984
|
-
updatedAt:
|
985
|
-
deletedAt:
|
983
|
+
createdAt: Date;
|
984
|
+
updatedAt: Date;
|
985
|
+
deletedAt: Date | null;
|
986
986
|
phone: string;
|
987
987
|
}[];
|
988
988
|
activityLogs?: {
|
989
989
|
id: string;
|
990
990
|
description: string;
|
991
|
-
createdAt:
|
992
|
-
updatedAt:
|
993
|
-
deletedAt:
|
991
|
+
createdAt: Date;
|
992
|
+
updatedAt: Date;
|
993
|
+
deletedAt: Date | null;
|
994
994
|
entityId: string;
|
995
995
|
entityType: {
|
996
996
|
id: string;
|
997
997
|
description: string | null;
|
998
|
-
createdAt:
|
999
|
-
updatedAt:
|
1000
|
-
deletedAt:
|
998
|
+
createdAt: Date;
|
999
|
+
updatedAt: Date;
|
1000
|
+
deletedAt: Date | null;
|
1001
1001
|
entity: string;
|
1002
1002
|
};
|
1003
1003
|
}[] | undefined;
|
@@ -1006,21 +1006,21 @@ export declare const ContactSchema: z.ZodObject<{
|
|
1006
1006
|
channel: string | null;
|
1007
1007
|
address: string | null;
|
1008
1008
|
name: string;
|
1009
|
-
createdAt:
|
1010
|
-
updatedAt:
|
1011
|
-
deletedAt:
|
1009
|
+
createdAt: Date;
|
1010
|
+
updatedAt: Date;
|
1011
|
+
deletedAt: Date | null;
|
1012
1012
|
customFields: {
|
1013
1013
|
id: string;
|
1014
|
-
createdAt:
|
1015
|
-
updatedAt:
|
1016
|
-
deletedAt:
|
1014
|
+
createdAt: Date;
|
1015
|
+
updatedAt: Date;
|
1016
|
+
deletedAt: Date | null;
|
1017
1017
|
attribute: {
|
1018
1018
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1019
1019
|
id: string;
|
1020
1020
|
position: number;
|
1021
|
-
createdAt:
|
1022
|
-
updatedAt:
|
1023
|
-
deletedAt:
|
1021
|
+
createdAt: Date;
|
1022
|
+
updatedAt: Date;
|
1023
|
+
deletedAt: Date | null;
|
1024
1024
|
isDefault: boolean;
|
1025
1025
|
systemName: string;
|
1026
1026
|
displayName: string;
|
@@ -1031,18 +1031,18 @@ export declare const ContactSchema: z.ZodObject<{
|
|
1031
1031
|
textValue: string | null;
|
1032
1032
|
booleanValue: boolean | null;
|
1033
1033
|
numberValue: number | null;
|
1034
|
-
dateValue:
|
1034
|
+
dateValue: Date | null;
|
1035
1035
|
uploads: {
|
1036
1036
|
id: string;
|
1037
|
-
createdAt:
|
1038
|
-
updatedAt:
|
1039
|
-
deletedAt:
|
1037
|
+
createdAt: Date;
|
1038
|
+
updatedAt: Date;
|
1039
|
+
deletedAt: Date | null;
|
1040
1040
|
customFieldId: string;
|
1041
1041
|
upload: {
|
1042
1042
|
id: string;
|
1043
|
-
createdAt:
|
1044
|
-
updatedAt:
|
1045
|
-
deletedAt:
|
1043
|
+
createdAt: Date;
|
1044
|
+
updatedAt: Date;
|
1045
|
+
deletedAt: Date | null;
|
1046
1046
|
fileName: string;
|
1047
1047
|
fileKey: string;
|
1048
1048
|
bucketName: string;
|
@@ -1056,15 +1056,15 @@ export declare const ContactSchema: z.ZodObject<{
|
|
1056
1056
|
tags: {
|
1057
1057
|
id: string;
|
1058
1058
|
name: string;
|
1059
|
-
createdAt:
|
1060
|
-
updatedAt:
|
1061
|
-
deletedAt:
|
1059
|
+
createdAt: Date;
|
1060
|
+
updatedAt: Date;
|
1061
|
+
deletedAt: Date | null;
|
1062
1062
|
}[];
|
1063
1063
|
company: {
|
1064
1064
|
id: string;
|
1065
|
-
createdAt:
|
1066
|
-
updatedAt:
|
1067
|
-
deletedAt:
|
1065
|
+
createdAt: Date;
|
1066
|
+
updatedAt: Date;
|
1067
|
+
deletedAt: Date | null;
|
1068
1068
|
address?: string | null | undefined;
|
1069
1069
|
name?: string | undefined;
|
1070
1070
|
phone?: string | null | undefined;
|
@@ -1074,31 +1074,31 @@ export declare const ContactSchema: z.ZodObject<{
|
|
1074
1074
|
id: string;
|
1075
1075
|
isPrimary: boolean;
|
1076
1076
|
email: string;
|
1077
|
-
createdAt:
|
1078
|
-
updatedAt:
|
1079
|
-
deletedAt:
|
1077
|
+
createdAt: Date;
|
1078
|
+
updatedAt: Date;
|
1079
|
+
deletedAt: Date | null;
|
1080
1080
|
}[];
|
1081
1081
|
contactPhones: {
|
1082
1082
|
id: string;
|
1083
1083
|
isPrimary: boolean;
|
1084
|
-
createdAt:
|
1085
|
-
updatedAt:
|
1086
|
-
deletedAt:
|
1084
|
+
createdAt: Date;
|
1085
|
+
updatedAt: Date;
|
1086
|
+
deletedAt: Date | null;
|
1087
1087
|
phone: string;
|
1088
1088
|
}[];
|
1089
1089
|
activityLogs?: {
|
1090
1090
|
id: string;
|
1091
1091
|
description: string;
|
1092
|
-
createdAt:
|
1093
|
-
updatedAt:
|
1094
|
-
deletedAt:
|
1092
|
+
createdAt: Date;
|
1093
|
+
updatedAt: Date;
|
1094
|
+
deletedAt: Date | null;
|
1095
1095
|
entityId: string;
|
1096
1096
|
entityType: {
|
1097
1097
|
id: string;
|
1098
1098
|
description: string | null;
|
1099
|
-
createdAt:
|
1100
|
-
updatedAt:
|
1101
|
-
deletedAt:
|
1099
|
+
createdAt: Date;
|
1100
|
+
updatedAt: Date;
|
1101
|
+
deletedAt: Date | null;
|
1102
1102
|
entity: string;
|
1103
1103
|
};
|
1104
1104
|
}[] | undefined;
|