@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.
Files changed (92) hide show
  1. package/dist/index.js +179 -124
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +178 -124
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +113 -113
  6. package/dist/src/activity-log/schema.d.ts +122 -122
  7. package/dist/src/app/index.d.ts +17 -0
  8. package/dist/src/app/index.d.ts.map +1 -0
  9. package/dist/src/attribute/index.d.ts +108 -108
  10. package/dist/src/attribute/schema.d.ts +24 -24
  11. package/dist/src/attribute-option/schema.d.ts +9 -9
  12. package/dist/src/auth/index.d.ts +89 -89
  13. package/dist/src/base-contract.d.ts +9 -9
  14. package/dist/src/call-log/schema.d.ts +9 -9
  15. package/dist/src/category/index.d.ts +42 -42
  16. package/dist/src/category/schema.d.ts +9 -9
  17. package/dist/src/channel/index.d.ts +357 -357
  18. package/dist/src/channel/schema.d.ts +101 -98
  19. package/dist/src/channel/schema.d.ts.map +1 -1
  20. package/dist/src/channel/validation.d.ts +89 -89
  21. package/dist/src/chat/index.d.ts +13187 -13187
  22. package/dist/src/chat/schema.d.ts +2360 -2360
  23. package/dist/src/chat/validation.d.ts +3251 -3251
  24. package/dist/src/comment/index.d.ts +1368 -1368
  25. package/dist/src/comment/schema.d.ts +388 -388
  26. package/dist/src/company/index.d.ts +316 -316
  27. package/dist/src/company/schema.d.ts +95 -95
  28. package/dist/src/company/validation.d.ts +177 -177
  29. package/dist/src/contact/index.d.ts +2171 -2171
  30. package/dist/src/contact/schema.d.ts +362 -362
  31. package/dist/src/contact/validation.d.ts +1685 -1685
  32. package/dist/src/contact-email/schema.d.ts +9 -9
  33. package/dist/src/contact-phone/schema.d.ts +9 -9
  34. package/dist/src/contract.d.ts +26474 -26668
  35. package/dist/src/contract.d.ts.map +1 -1
  36. package/dist/src/custom-field/schema.d.ts +12 -12
  37. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  38. package/dist/src/cx-log/index.d.ts +1644 -1644
  39. package/dist/src/cx-log/schema.d.ts +1400 -1400
  40. package/dist/src/evaluate-form/index.d.ts +47 -0
  41. package/dist/src/evaluate-form/index.d.ts.map +1 -0
  42. package/dist/src/evaluate-form/schema.d.ts +9 -9
  43. package/dist/src/evaluate-form/validation.d.ts +28 -0
  44. package/dist/src/evaluate-form/validation.d.ts.map +1 -0
  45. package/dist/src/extension/index.d.ts +115 -115
  46. package/dist/src/extension/schema.d.ts +9 -9
  47. package/dist/src/group/schema.d.ts +9 -9
  48. package/dist/src/index.d.ts +1 -0
  49. package/dist/src/index.d.ts.map +1 -1
  50. package/dist/src/log-form/schema.d.ts +9 -9
  51. package/dist/src/mail/account-contract.d.ts +168 -168
  52. package/dist/src/mail/mail-contract.d.ts +3398 -3398
  53. package/dist/src/mail/mail-server.d.ts +216 -0
  54. package/dist/src/mail/mail-server.d.ts.map +1 -0
  55. package/dist/src/mail/message-contract.d.ts +152 -152
  56. package/dist/src/mail/room-contract.d.ts +3078 -3078
  57. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  58. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  59. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  60. package/dist/src/mail/schemas/room-validation.schema.d.ts +1014 -1014
  61. package/dist/src/mail/schemas/room.schema.d.ts +816 -816
  62. package/dist/src/messenger/index.d.ts +1569 -1569
  63. package/dist/src/permission/index.d.ts +15 -15
  64. package/dist/src/permission/schema.d.ts +9 -9
  65. package/dist/src/platform-contact/schema.d.ts +30 -0
  66. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  67. package/dist/src/role/index.d.ts +96 -96
  68. package/dist/src/role/schema.d.ts +24 -24
  69. package/dist/src/tag/index.d.ts +45 -45
  70. package/dist/src/tag/schema.d.ts +9 -9
  71. package/dist/src/tag-group/schema.d.ts +9 -9
  72. package/dist/src/telephony-agent-presence-status/index.d.ts +386 -386
  73. package/dist/src/telephony-agent-presence-status/schema.d.ts +122 -122
  74. package/dist/src/telephony-cdr/schema.d.ts +9 -9
  75. package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
  76. package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
  77. package/dist/src/tenant/schema.d.ts +9 -9
  78. package/dist/src/ticket/index.d.ts +858 -1094
  79. package/dist/src/ticket/index.d.ts.map +1 -1
  80. package/dist/src/ticket/schema.d.ts +212 -212
  81. package/dist/src/ticket/validation.d.ts +102 -338
  82. package/dist/src/ticket/validation.d.ts.map +1 -1
  83. package/dist/src/upload/schema.d.ts +9 -9
  84. package/dist/src/user/index.d.ts +293 -293
  85. package/dist/src/user/schema.d.ts +63 -63
  86. package/dist/src/user-presence-status-log/index.d.ts +88 -88
  87. package/dist/src/user-presence-status-log/schema.d.ts +128 -128
  88. package/dist/src/widget/index.d.ts +78 -78
  89. package/dist/src/widget/schema.d.ts +9 -9
  90. package/dist/src/wrap-up-form/index.d.ts +96 -96
  91. package/dist/src/wrap-up-form/schema.d.ts +24 -24
  92. package/package.json +10 -4
@@ -142,27 +142,27 @@ export declare const CompanyContractsValidationSchema: {
142
142
  }>;
143
143
  response: z.ZodObject<{
144
144
  id: z.ZodString;
145
- createdAt: z.ZodString;
146
- updatedAt: z.ZodString;
147
- deletedAt: z.ZodNullable<z.ZodString>;
145
+ createdAt: z.ZodDate;
146
+ updatedAt: z.ZodDate;
147
+ deletedAt: z.ZodNullable<z.ZodDate>;
148
148
  name: z.ZodOptional<z.ZodString>;
149
149
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
150
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
151
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
152
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
153
153
  id: z.ZodString;
154
- createdAt: z.ZodString;
155
- updatedAt: z.ZodString;
156
- deletedAt: z.ZodNullable<z.ZodString>;
154
+ createdAt: z.ZodDate;
155
+ updatedAt: z.ZodDate;
156
+ deletedAt: z.ZodNullable<z.ZodDate>;
157
157
  textValue: z.ZodNullable<z.ZodString>;
158
158
  booleanValue: z.ZodNullable<z.ZodBoolean>;
159
159
  numberValue: z.ZodNullable<z.ZodNumber>;
160
- dateValue: z.ZodNullable<z.ZodString>;
160
+ dateValue: z.ZodNullable<z.ZodDate>;
161
161
  attribute: z.ZodObject<Omit<{
162
162
  id: z.ZodString;
163
- createdAt: z.ZodString;
164
- updatedAt: z.ZodString;
165
- deletedAt: z.ZodNullable<z.ZodString>;
163
+ createdAt: z.ZodDate;
164
+ updatedAt: z.ZodDate;
165
+ deletedAt: z.ZodNullable<z.ZodDate>;
166
166
  systemName: z.ZodString;
167
167
  displayName: z.ZodString;
168
168
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -192,23 +192,23 @@ export declare const CompanyContractsValidationSchema: {
192
192
  }>, "many">;
193
193
  group: z.ZodObject<{
194
194
  id: z.ZodString;
195
- createdAt: z.ZodString;
196
- updatedAt: z.ZodString;
197
- deletedAt: z.ZodNullable<z.ZodString>;
195
+ createdAt: z.ZodDate;
196
+ updatedAt: z.ZodDate;
197
+ deletedAt: z.ZodNullable<z.ZodDate>;
198
198
  systemName: z.ZodString;
199
199
  displayName: z.ZodString;
200
200
  }, "strip", z.ZodTypeAny, {
201
201
  id: string;
202
- createdAt: string;
203
- updatedAt: string;
204
- deletedAt: string | null;
202
+ createdAt: Date;
203
+ updatedAt: Date;
204
+ deletedAt: Date | null;
205
205
  systemName: string;
206
206
  displayName: string;
207
207
  }, {
208
208
  id: string;
209
- createdAt: string;
210
- updatedAt: string;
211
- deletedAt: string | null;
209
+ createdAt: Date;
210
+ updatedAt: Date;
211
+ deletedAt: Date | null;
212
212
  systemName: string;
213
213
  displayName: string;
214
214
  }>;
@@ -216,9 +216,9 @@ export declare const CompanyContractsValidationSchema: {
216
216
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
217
217
  id: string;
218
218
  position: number;
219
- createdAt: string;
220
- updatedAt: string;
221
- deletedAt: string | null;
219
+ createdAt: Date;
220
+ updatedAt: Date;
221
+ deletedAt: Date | null;
222
222
  isDefault: boolean;
223
223
  systemName: string;
224
224
  displayName: string;
@@ -229,9 +229,9 @@ export declare const CompanyContractsValidationSchema: {
229
229
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
230
230
  id: string;
231
231
  position: number;
232
- createdAt: string;
233
- updatedAt: string;
234
- deletedAt: string | null;
232
+ createdAt: Date;
233
+ updatedAt: Date;
234
+ deletedAt: Date | null;
235
235
  isDefault: boolean;
236
236
  systemName: string;
237
237
  displayName: string;
@@ -241,16 +241,16 @@ export declare const CompanyContractsValidationSchema: {
241
241
  }>;
242
242
  }, "strip", z.ZodTypeAny, {
243
243
  id: string;
244
- createdAt: string;
245
- updatedAt: string;
246
- deletedAt: string | null;
244
+ createdAt: Date;
245
+ updatedAt: Date;
246
+ deletedAt: Date | null;
247
247
  attribute: {
248
248
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
249
249
  id: string;
250
250
  position: number;
251
- createdAt: string;
252
- updatedAt: string;
253
- deletedAt: string | null;
251
+ createdAt: Date;
252
+ updatedAt: Date;
253
+ deletedAt: Date | null;
254
254
  isDefault: boolean;
255
255
  systemName: string;
256
256
  displayName: string;
@@ -261,19 +261,19 @@ export declare const CompanyContractsValidationSchema: {
261
261
  textValue: string | null;
262
262
  booleanValue: boolean | null;
263
263
  numberValue: number | null;
264
- dateValue: string | null;
264
+ dateValue: Date | null;
265
265
  }, {
266
266
  id: string;
267
- createdAt: string;
268
- updatedAt: string;
269
- deletedAt: string | null;
267
+ createdAt: Date;
268
+ updatedAt: Date;
269
+ deletedAt: Date | null;
270
270
  attribute: {
271
271
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
272
272
  id: string;
273
273
  position: number;
274
- createdAt: string;
275
- updatedAt: string;
276
- deletedAt: string | null;
274
+ createdAt: Date;
275
+ updatedAt: Date;
276
+ deletedAt: Date | null;
277
277
  isDefault: boolean;
278
278
  systemName: string;
279
279
  displayName: string;
@@ -284,29 +284,29 @@ export declare const CompanyContractsValidationSchema: {
284
284
  textValue: string | null;
285
285
  booleanValue: boolean | null;
286
286
  numberValue: number | null;
287
- dateValue: string | null;
287
+ dateValue: Date | null;
288
288
  }>, "many">>;
289
289
  }, "strip", z.ZodTypeAny, {
290
290
  id: string;
291
- createdAt: string;
292
- updatedAt: string;
293
- deletedAt: string | null;
291
+ createdAt: Date;
292
+ updatedAt: Date;
293
+ deletedAt: Date | null;
294
294
  name?: string | undefined;
295
295
  phone?: string | null | undefined;
296
296
  address?: string | null | undefined;
297
297
  industry?: string | null | undefined;
298
298
  customFields?: {
299
299
  id: string;
300
- createdAt: string;
301
- updatedAt: string;
302
- deletedAt: string | null;
300
+ createdAt: Date;
301
+ updatedAt: Date;
302
+ deletedAt: Date | null;
303
303
  attribute: {
304
304
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
305
305
  id: string;
306
306
  position: number;
307
- createdAt: string;
308
- updatedAt: string;
309
- deletedAt: string | null;
307
+ createdAt: Date;
308
+ updatedAt: Date;
309
+ deletedAt: Date | null;
310
310
  isDefault: boolean;
311
311
  systemName: string;
312
312
  displayName: string;
@@ -317,29 +317,29 @@ export declare const CompanyContractsValidationSchema: {
317
317
  textValue: string | null;
318
318
  booleanValue: boolean | null;
319
319
  numberValue: number | null;
320
- dateValue: string | null;
320
+ dateValue: Date | null;
321
321
  }[] | undefined;
322
322
  }, {
323
323
  id: string;
324
- createdAt: string;
325
- updatedAt: string;
326
- deletedAt: string | null;
324
+ createdAt: Date;
325
+ updatedAt: Date;
326
+ deletedAt: Date | null;
327
327
  name?: string | undefined;
328
328
  phone?: string | null | undefined;
329
329
  address?: string | null | undefined;
330
330
  industry?: string | null | undefined;
331
331
  customFields?: {
332
332
  id: string;
333
- createdAt: string;
334
- updatedAt: string;
335
- deletedAt: string | null;
333
+ createdAt: Date;
334
+ updatedAt: Date;
335
+ deletedAt: Date | null;
336
336
  attribute: {
337
337
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
338
338
  id: string;
339
339
  position: number;
340
- createdAt: string;
341
- updatedAt: string;
342
- deletedAt: string | null;
340
+ createdAt: Date;
341
+ updatedAt: Date;
342
+ deletedAt: Date | null;
343
343
  isDefault: boolean;
344
344
  systemName: string;
345
345
  displayName: string;
@@ -350,7 +350,7 @@ export declare const CompanyContractsValidationSchema: {
350
350
  textValue: string | null;
351
351
  booleanValue: boolean | null;
352
352
  numberValue: number | null;
353
- dateValue: string | null;
353
+ dateValue: Date | null;
354
354
  }[] | undefined;
355
355
  }>;
356
356
  };
@@ -364,27 +364,27 @@ export declare const CompanyContractsValidationSchema: {
364
364
  }>;
365
365
  response: z.ZodObject<{
366
366
  id: z.ZodString;
367
- createdAt: z.ZodString;
368
- updatedAt: z.ZodString;
369
- deletedAt: z.ZodNullable<z.ZodString>;
367
+ createdAt: z.ZodDate;
368
+ updatedAt: z.ZodDate;
369
+ deletedAt: z.ZodNullable<z.ZodDate>;
370
370
  name: z.ZodOptional<z.ZodString>;
371
371
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
372
372
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
373
373
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
374
374
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
375
375
  id: z.ZodString;
376
- createdAt: z.ZodString;
377
- updatedAt: z.ZodString;
378
- deletedAt: z.ZodNullable<z.ZodString>;
376
+ createdAt: z.ZodDate;
377
+ updatedAt: z.ZodDate;
378
+ deletedAt: z.ZodNullable<z.ZodDate>;
379
379
  textValue: z.ZodNullable<z.ZodString>;
380
380
  booleanValue: z.ZodNullable<z.ZodBoolean>;
381
381
  numberValue: z.ZodNullable<z.ZodNumber>;
382
- dateValue: z.ZodNullable<z.ZodString>;
382
+ dateValue: z.ZodNullable<z.ZodDate>;
383
383
  attribute: z.ZodObject<Omit<{
384
384
  id: z.ZodString;
385
- createdAt: z.ZodString;
386
- updatedAt: z.ZodString;
387
- deletedAt: z.ZodNullable<z.ZodString>;
385
+ createdAt: z.ZodDate;
386
+ updatedAt: z.ZodDate;
387
+ deletedAt: z.ZodNullable<z.ZodDate>;
388
388
  systemName: z.ZodString;
389
389
  displayName: z.ZodString;
390
390
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -414,23 +414,23 @@ export declare const CompanyContractsValidationSchema: {
414
414
  }>, "many">;
415
415
  group: z.ZodObject<{
416
416
  id: z.ZodString;
417
- createdAt: z.ZodString;
418
- updatedAt: z.ZodString;
419
- deletedAt: z.ZodNullable<z.ZodString>;
417
+ createdAt: z.ZodDate;
418
+ updatedAt: z.ZodDate;
419
+ deletedAt: z.ZodNullable<z.ZodDate>;
420
420
  systemName: z.ZodString;
421
421
  displayName: z.ZodString;
422
422
  }, "strip", z.ZodTypeAny, {
423
423
  id: string;
424
- createdAt: string;
425
- updatedAt: string;
426
- deletedAt: string | null;
424
+ createdAt: Date;
425
+ updatedAt: Date;
426
+ deletedAt: Date | null;
427
427
  systemName: string;
428
428
  displayName: string;
429
429
  }, {
430
430
  id: string;
431
- createdAt: string;
432
- updatedAt: string;
433
- deletedAt: string | null;
431
+ createdAt: Date;
432
+ updatedAt: Date;
433
+ deletedAt: Date | null;
434
434
  systemName: string;
435
435
  displayName: string;
436
436
  }>;
@@ -438,9 +438,9 @@ export declare const CompanyContractsValidationSchema: {
438
438
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
439
439
  id: string;
440
440
  position: number;
441
- createdAt: string;
442
- updatedAt: string;
443
- deletedAt: string | null;
441
+ createdAt: Date;
442
+ updatedAt: Date;
443
+ deletedAt: Date | null;
444
444
  isDefault: boolean;
445
445
  systemName: string;
446
446
  displayName: string;
@@ -451,9 +451,9 @@ export declare const CompanyContractsValidationSchema: {
451
451
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
452
452
  id: string;
453
453
  position: number;
454
- createdAt: string;
455
- updatedAt: string;
456
- deletedAt: string | null;
454
+ createdAt: Date;
455
+ updatedAt: Date;
456
+ deletedAt: Date | null;
457
457
  isDefault: boolean;
458
458
  systemName: string;
459
459
  displayName: string;
@@ -463,16 +463,16 @@ export declare const CompanyContractsValidationSchema: {
463
463
  }>;
464
464
  }, "strip", z.ZodTypeAny, {
465
465
  id: string;
466
- createdAt: string;
467
- updatedAt: string;
468
- deletedAt: string | null;
466
+ createdAt: Date;
467
+ updatedAt: Date;
468
+ deletedAt: Date | null;
469
469
  attribute: {
470
470
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
471
471
  id: string;
472
472
  position: number;
473
- createdAt: string;
474
- updatedAt: string;
475
- deletedAt: string | null;
473
+ createdAt: Date;
474
+ updatedAt: Date;
475
+ deletedAt: Date | null;
476
476
  isDefault: boolean;
477
477
  systemName: string;
478
478
  displayName: string;
@@ -483,19 +483,19 @@ export declare const CompanyContractsValidationSchema: {
483
483
  textValue: string | null;
484
484
  booleanValue: boolean | null;
485
485
  numberValue: number | null;
486
- dateValue: string | null;
486
+ dateValue: Date | null;
487
487
  }, {
488
488
  id: string;
489
- createdAt: string;
490
- updatedAt: string;
491
- deletedAt: string | null;
489
+ createdAt: Date;
490
+ updatedAt: Date;
491
+ deletedAt: Date | null;
492
492
  attribute: {
493
493
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
494
494
  id: string;
495
495
  position: number;
496
- createdAt: string;
497
- updatedAt: string;
498
- deletedAt: string | null;
496
+ createdAt: Date;
497
+ updatedAt: Date;
498
+ deletedAt: Date | null;
499
499
  isDefault: boolean;
500
500
  systemName: string;
501
501
  displayName: string;
@@ -506,29 +506,29 @@ export declare const CompanyContractsValidationSchema: {
506
506
  textValue: string | null;
507
507
  booleanValue: boolean | null;
508
508
  numberValue: number | null;
509
- dateValue: string | null;
509
+ dateValue: Date | null;
510
510
  }>, "many">>;
511
511
  }, "strip", z.ZodTypeAny, {
512
512
  id: string;
513
- createdAt: string;
514
- updatedAt: string;
515
- deletedAt: string | null;
513
+ createdAt: Date;
514
+ updatedAt: Date;
515
+ deletedAt: Date | null;
516
516
  name?: string | undefined;
517
517
  phone?: string | null | undefined;
518
518
  address?: string | null | undefined;
519
519
  industry?: string | null | undefined;
520
520
  customFields?: {
521
521
  id: string;
522
- createdAt: string;
523
- updatedAt: string;
524
- deletedAt: string | null;
522
+ createdAt: Date;
523
+ updatedAt: Date;
524
+ deletedAt: Date | null;
525
525
  attribute: {
526
526
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
527
527
  id: string;
528
528
  position: number;
529
- createdAt: string;
530
- updatedAt: string;
531
- deletedAt: string | null;
529
+ createdAt: Date;
530
+ updatedAt: Date;
531
+ deletedAt: Date | null;
532
532
  isDefault: boolean;
533
533
  systemName: string;
534
534
  displayName: string;
@@ -539,29 +539,29 @@ export declare const CompanyContractsValidationSchema: {
539
539
  textValue: string | null;
540
540
  booleanValue: boolean | null;
541
541
  numberValue: number | null;
542
- dateValue: string | null;
542
+ dateValue: Date | null;
543
543
  }[] | undefined;
544
544
  }, {
545
545
  id: string;
546
- createdAt: string;
547
- updatedAt: string;
548
- deletedAt: string | null;
546
+ createdAt: Date;
547
+ updatedAt: Date;
548
+ deletedAt: Date | null;
549
549
  name?: string | undefined;
550
550
  phone?: string | null | undefined;
551
551
  address?: string | null | undefined;
552
552
  industry?: string | null | undefined;
553
553
  customFields?: {
554
554
  id: string;
555
- createdAt: string;
556
- updatedAt: string;
557
- deletedAt: string | null;
555
+ createdAt: Date;
556
+ updatedAt: Date;
557
+ deletedAt: Date | null;
558
558
  attribute: {
559
559
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
560
560
  id: string;
561
561
  position: number;
562
- createdAt: string;
563
- updatedAt: string;
564
- deletedAt: string | null;
562
+ createdAt: Date;
563
+ updatedAt: Date;
564
+ deletedAt: Date | null;
565
565
  isDefault: boolean;
566
566
  systemName: string;
567
567
  displayName: string;
@@ -572,7 +572,7 @@ export declare const CompanyContractsValidationSchema: {
572
572
  textValue: string | null;
573
573
  booleanValue: boolean | null;
574
574
  numberValue: number | null;
575
- dateValue: string | null;
575
+ dateValue: Date | null;
576
576
  }[] | undefined;
577
577
  }>;
578
578
  };
@@ -635,27 +635,27 @@ export declare const CompanyContractsValidationSchema: {
635
635
  lastPage: z.ZodNumber;
636
636
  data: z.ZodArray<z.ZodObject<{
637
637
  id: z.ZodString;
638
- createdAt: z.ZodString;
639
- updatedAt: z.ZodString;
640
- deletedAt: z.ZodNullable<z.ZodString>;
638
+ createdAt: z.ZodDate;
639
+ updatedAt: z.ZodDate;
640
+ deletedAt: z.ZodNullable<z.ZodDate>;
641
641
  name: z.ZodOptional<z.ZodString>;
642
642
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
643
643
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
644
644
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
645
645
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
646
646
  id: z.ZodString;
647
- createdAt: z.ZodString;
648
- updatedAt: z.ZodString;
649
- deletedAt: z.ZodNullable<z.ZodString>;
647
+ createdAt: z.ZodDate;
648
+ updatedAt: z.ZodDate;
649
+ deletedAt: z.ZodNullable<z.ZodDate>;
650
650
  textValue: z.ZodNullable<z.ZodString>;
651
651
  booleanValue: z.ZodNullable<z.ZodBoolean>;
652
652
  numberValue: z.ZodNullable<z.ZodNumber>;
653
- dateValue: z.ZodNullable<z.ZodString>;
653
+ dateValue: z.ZodNullable<z.ZodDate>;
654
654
  attribute: z.ZodObject<Omit<{
655
655
  id: z.ZodString;
656
- createdAt: z.ZodString;
657
- updatedAt: z.ZodString;
658
- deletedAt: z.ZodNullable<z.ZodString>;
656
+ createdAt: z.ZodDate;
657
+ updatedAt: z.ZodDate;
658
+ deletedAt: z.ZodNullable<z.ZodDate>;
659
659
  systemName: z.ZodString;
660
660
  displayName: z.ZodString;
661
661
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -685,23 +685,23 @@ export declare const CompanyContractsValidationSchema: {
685
685
  }>, "many">;
686
686
  group: z.ZodObject<{
687
687
  id: z.ZodString;
688
- createdAt: z.ZodString;
689
- updatedAt: z.ZodString;
690
- deletedAt: z.ZodNullable<z.ZodString>;
688
+ createdAt: z.ZodDate;
689
+ updatedAt: z.ZodDate;
690
+ deletedAt: z.ZodNullable<z.ZodDate>;
691
691
  systemName: z.ZodString;
692
692
  displayName: z.ZodString;
693
693
  }, "strip", z.ZodTypeAny, {
694
694
  id: string;
695
- createdAt: string;
696
- updatedAt: string;
697
- deletedAt: string | null;
695
+ createdAt: Date;
696
+ updatedAt: Date;
697
+ deletedAt: Date | null;
698
698
  systemName: string;
699
699
  displayName: string;
700
700
  }, {
701
701
  id: string;
702
- createdAt: string;
703
- updatedAt: string;
704
- deletedAt: string | null;
702
+ createdAt: Date;
703
+ updatedAt: Date;
704
+ deletedAt: Date | null;
705
705
  systemName: string;
706
706
  displayName: string;
707
707
  }>;
@@ -709,9 +709,9 @@ export declare const CompanyContractsValidationSchema: {
709
709
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
710
710
  id: string;
711
711
  position: number;
712
- createdAt: string;
713
- updatedAt: string;
714
- deletedAt: string | null;
712
+ createdAt: Date;
713
+ updatedAt: Date;
714
+ deletedAt: Date | null;
715
715
  isDefault: boolean;
716
716
  systemName: string;
717
717
  displayName: string;
@@ -722,9 +722,9 @@ export declare const CompanyContractsValidationSchema: {
722
722
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
723
723
  id: string;
724
724
  position: number;
725
- createdAt: string;
726
- updatedAt: string;
727
- deletedAt: string | null;
725
+ createdAt: Date;
726
+ updatedAt: Date;
727
+ deletedAt: Date | null;
728
728
  isDefault: boolean;
729
729
  systemName: string;
730
730
  displayName: string;
@@ -734,16 +734,16 @@ export declare const CompanyContractsValidationSchema: {
734
734
  }>;
735
735
  }, "strip", z.ZodTypeAny, {
736
736
  id: string;
737
- createdAt: string;
738
- updatedAt: string;
739
- deletedAt: string | null;
737
+ createdAt: Date;
738
+ updatedAt: Date;
739
+ deletedAt: Date | null;
740
740
  attribute: {
741
741
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
742
742
  id: string;
743
743
  position: number;
744
- createdAt: string;
745
- updatedAt: string;
746
- deletedAt: string | null;
744
+ createdAt: Date;
745
+ updatedAt: Date;
746
+ deletedAt: Date | null;
747
747
  isDefault: boolean;
748
748
  systemName: string;
749
749
  displayName: string;
@@ -754,19 +754,19 @@ export declare const CompanyContractsValidationSchema: {
754
754
  textValue: string | null;
755
755
  booleanValue: boolean | null;
756
756
  numberValue: number | null;
757
- dateValue: string | null;
757
+ dateValue: Date | null;
758
758
  }, {
759
759
  id: string;
760
- createdAt: string;
761
- updatedAt: string;
762
- deletedAt: string | null;
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: string;
768
- updatedAt: string;
769
- deletedAt: string | null;
767
+ createdAt: Date;
768
+ updatedAt: Date;
769
+ deletedAt: Date | null;
770
770
  isDefault: boolean;
771
771
  systemName: string;
772
772
  displayName: string;
@@ -777,29 +777,29 @@ export declare const CompanyContractsValidationSchema: {
777
777
  textValue: string | null;
778
778
  booleanValue: boolean | null;
779
779
  numberValue: number | null;
780
- dateValue: string | null;
780
+ dateValue: Date | null;
781
781
  }>, "many">>;
782
782
  }, "strip", z.ZodTypeAny, {
783
783
  id: string;
784
- createdAt: string;
785
- updatedAt: string;
786
- deletedAt: string | null;
784
+ createdAt: Date;
785
+ updatedAt: Date;
786
+ deletedAt: Date | null;
787
787
  name?: string | undefined;
788
788
  phone?: string | null | undefined;
789
789
  address?: string | null | undefined;
790
790
  industry?: string | null | undefined;
791
791
  customFields?: {
792
792
  id: string;
793
- createdAt: string;
794
- updatedAt: string;
795
- deletedAt: string | null;
793
+ createdAt: Date;
794
+ updatedAt: Date;
795
+ deletedAt: Date | null;
796
796
  attribute: {
797
797
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
798
798
  id: string;
799
799
  position: number;
800
- createdAt: string;
801
- updatedAt: string;
802
- deletedAt: string | null;
800
+ createdAt: Date;
801
+ updatedAt: Date;
802
+ deletedAt: Date | null;
803
803
  isDefault: boolean;
804
804
  systemName: string;
805
805
  displayName: string;
@@ -810,29 +810,29 @@ export declare const CompanyContractsValidationSchema: {
810
810
  textValue: string | null;
811
811
  booleanValue: boolean | null;
812
812
  numberValue: number | null;
813
- dateValue: string | null;
813
+ dateValue: Date | null;
814
814
  }[] | undefined;
815
815
  }, {
816
816
  id: string;
817
- createdAt: string;
818
- updatedAt: string;
819
- deletedAt: string | null;
817
+ createdAt: Date;
818
+ updatedAt: Date;
819
+ deletedAt: Date | null;
820
820
  name?: string | undefined;
821
821
  phone?: string | null | undefined;
822
822
  address?: string | null | undefined;
823
823
  industry?: string | null | undefined;
824
824
  customFields?: {
825
825
  id: string;
826
- createdAt: string;
827
- updatedAt: string;
828
- deletedAt: string | null;
826
+ createdAt: Date;
827
+ updatedAt: Date;
828
+ deletedAt: Date | null;
829
829
  attribute: {
830
830
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
831
831
  id: string;
832
832
  position: number;
833
- createdAt: string;
834
- updatedAt: string;
835
- deletedAt: string | null;
833
+ createdAt: Date;
834
+ updatedAt: Date;
835
+ deletedAt: Date | null;
836
836
  isDefault: boolean;
837
837
  systemName: string;
838
838
  displayName: string;
@@ -843,7 +843,7 @@ export declare const CompanyContractsValidationSchema: {
843
843
  textValue: string | null;
844
844
  booleanValue: boolean | null;
845
845
  numberValue: number | null;
846
- dateValue: string | null;
846
+ dateValue: Date | null;
847
847
  }[] | undefined;
848
848
  }>, "many">;
849
849
  };