@kl1/contracts 1.0.26 → 1.0.27

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 (76) hide show
  1. package/dist/index.js +1556 -1493
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1555 -1493
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/attribute/index.d.ts +108 -108
  6. package/dist/src/attribute/schema.d.ts +24 -24
  7. package/dist/src/attribute-option/schema.d.ts +9 -9
  8. package/dist/src/base-contract.d.ts +9 -9
  9. package/dist/src/call-log/schema.d.ts +9 -9
  10. package/dist/src/category/index.d.ts +42 -42
  11. package/dist/src/category/schema.d.ts +9 -9
  12. package/dist/src/channel/index.d.ts +218 -32
  13. package/dist/src/channel/index.d.ts.map +1 -1
  14. package/dist/src/channel/schema.d.ts +9 -9
  15. package/dist/src/chat/index.d.ts +5335 -5335
  16. package/dist/src/chat/schema.d.ts +877 -877
  17. package/dist/src/chat/validation.d.ts +1009 -1009
  18. package/dist/src/comment/index.d.ts +363 -363
  19. package/dist/src/comment/schema.d.ts +105 -105
  20. package/dist/src/company/index.d.ts +296 -293
  21. package/dist/src/company/index.d.ts.map +1 -1
  22. package/dist/src/company/schema.d.ts +191 -54
  23. package/dist/src/company/schema.d.ts.map +1 -1
  24. package/dist/src/company/validation.d.ts +162 -162
  25. package/dist/src/contact/index.d.ts +1213 -1213
  26. package/dist/src/contact/schema.d.ts +201 -201
  27. package/dist/src/contact/validation.d.ts +997 -997
  28. package/dist/src/contact-email/schema.d.ts +9 -9
  29. package/dist/src/contact-phone/schema.d.ts +9 -9
  30. package/dist/src/contract.d.ts +9543 -9231
  31. package/dist/src/contract.d.ts.map +1 -1
  32. package/dist/src/custom-field/schema.d.ts +9 -9
  33. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  34. package/dist/src/cx-log/index.d.ts +621 -621
  35. package/dist/src/cx-log/schema.d.ts +564 -564
  36. package/dist/src/dashboard/index.d.ts +5 -1
  37. package/dist/src/dashboard/index.d.ts.map +1 -1
  38. package/dist/src/dashboard/schema.d.ts +125 -0
  39. package/dist/src/dashboard/schema.d.ts.map +1 -1
  40. package/dist/src/evaluate-form/schema.d.ts +9 -9
  41. package/dist/src/group/schema.d.ts +9 -9
  42. package/dist/src/index.d.ts +1 -0
  43. package/dist/src/index.d.ts.map +1 -1
  44. package/dist/src/log-form/schema.d.ts +9 -9
  45. package/dist/src/mail/mail-contract.d.ts +21 -21
  46. package/dist/src/mail/room-contract.d.ts +21 -21
  47. package/dist/src/mail/schemas/room.schema.d.ts +15 -15
  48. package/dist/src/messenger/index.d.ts +1226 -1096
  49. package/dist/src/messenger/index.d.ts.map +1 -1
  50. package/dist/src/messenger/validation.d.ts +108 -1
  51. package/dist/src/messenger/validation.d.ts.map +1 -1
  52. package/dist/src/tag/index.d.ts +45 -45
  53. package/dist/src/tag/schema.d.ts +9 -9
  54. package/dist/src/tag-group/schema.d.ts +9 -9
  55. package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
  56. package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
  57. package/dist/src/telephony-cdr/schema.d.ts +9 -9
  58. package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
  59. package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
  60. package/dist/src/tenant/schema.d.ts +9 -9
  61. package/dist/src/ticket/index.d.ts +570 -570
  62. package/dist/src/ticket/schema.d.ts +135 -135
  63. package/dist/src/upload/schema.d.ts +9 -9
  64. package/dist/src/user-presence-status-log/index.d.ts +36 -36
  65. package/dist/src/user-presence-status-log/schema.d.ts +39 -39
  66. package/dist/src/widget/index.d.ts +78 -78
  67. package/dist/src/widget/schema.d.ts +9 -9
  68. package/dist/src/wrap-up-form/index.d.ts +96 -96
  69. package/dist/src/wrap-up-form/schema.d.ts +24 -24
  70. package/package.json +4 -10
  71. package/dist/src/app/index.d.ts +0 -17
  72. package/dist/src/app/index.d.ts.map +0 -1
  73. package/dist/src/mail/mail-server.d.ts +0 -216
  74. package/dist/src/mail/mail-server.d.ts.map +0 -1
  75. package/dist/src/platform-contact/schema.d.ts +0 -30
  76. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -1,5 +1,8 @@
1
1
  import z from 'zod';
2
2
  import { CompanyContractsValidationSchema } from './validation';
3
+ import { CompanyCustomFieldSchema, CompanySchema } from './schema';
4
+ export type Company = z.infer<typeof CompanySchema>;
5
+ export type CompanyCustomField = z.infer<typeof CompanyCustomFieldSchema>;
3
6
  export type CreateCompanyRequest = z.infer<typeof CompanyContractsValidationSchema.create.request>;
4
7
  export type UpdateCompanyRequest = Partial<CreateCompanyRequest>;
5
8
  export type GetAllCompanyRequest = z.infer<typeof CompanyContractsValidationSchema.getAll.request>;
@@ -141,27 +144,27 @@ export declare const companyContract: {
141
144
  requestId: z.ZodString;
142
145
  data: z.ZodObject<{
143
146
  id: z.ZodString;
144
- createdAt: z.ZodDate;
145
- updatedAt: z.ZodDate;
146
- deletedAt: z.ZodNullable<z.ZodDate>;
147
+ createdAt: z.ZodString;
148
+ updatedAt: z.ZodString;
149
+ deletedAt: z.ZodNullable<z.ZodString>;
147
150
  name: z.ZodOptional<z.ZodString>;
148
151
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
149
152
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
153
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
154
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
152
155
  id: z.ZodString;
153
- createdAt: z.ZodDate;
154
- updatedAt: z.ZodDate;
155
- deletedAt: z.ZodNullable<z.ZodDate>;
156
+ createdAt: z.ZodString;
157
+ updatedAt: z.ZodString;
158
+ deletedAt: z.ZodNullable<z.ZodString>;
156
159
  textValue: z.ZodNullable<z.ZodString>;
157
160
  booleanValue: z.ZodNullable<z.ZodBoolean>;
158
161
  numberValue: z.ZodNullable<z.ZodNumber>;
159
162
  dateValue: z.ZodNullable<z.ZodDate>;
160
163
  attribute: z.ZodObject<Omit<{
161
164
  id: z.ZodString;
162
- createdAt: z.ZodDate;
163
- updatedAt: z.ZodDate;
164
- deletedAt: z.ZodNullable<z.ZodDate>;
165
+ createdAt: z.ZodString;
166
+ updatedAt: z.ZodString;
167
+ deletedAt: z.ZodNullable<z.ZodString>;
165
168
  systemName: z.ZodString;
166
169
  displayName: z.ZodString;
167
170
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -191,23 +194,23 @@ export declare const companyContract: {
191
194
  }>, "many">;
192
195
  group: z.ZodObject<{
193
196
  id: z.ZodString;
194
- createdAt: z.ZodDate;
195
- updatedAt: z.ZodDate;
196
- deletedAt: z.ZodNullable<z.ZodDate>;
197
+ createdAt: z.ZodString;
198
+ updatedAt: z.ZodString;
199
+ deletedAt: z.ZodNullable<z.ZodString>;
197
200
  systemName: z.ZodString;
198
201
  displayName: z.ZodString;
199
202
  }, "strip", z.ZodTypeAny, {
200
203
  id: string;
201
- createdAt: Date;
202
- updatedAt: Date;
203
- deletedAt: Date | null;
204
+ createdAt: string;
205
+ updatedAt: string;
206
+ deletedAt: string | null;
204
207
  systemName: string;
205
208
  displayName: string;
206
209
  }, {
207
210
  id: string;
208
- createdAt: Date;
209
- updatedAt: Date;
210
- deletedAt: Date | null;
211
+ createdAt: string;
212
+ updatedAt: string;
213
+ deletedAt: string | null;
211
214
  systemName: string;
212
215
  displayName: string;
213
216
  }>;
@@ -215,9 +218,9 @@ export declare const companyContract: {
215
218
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
216
219
  id: string;
217
220
  position: number;
218
- createdAt: Date;
219
- updatedAt: Date;
220
- deletedAt: Date | null;
221
+ createdAt: string;
222
+ updatedAt: string;
223
+ deletedAt: string | null;
221
224
  isDefault: boolean;
222
225
  systemName: string;
223
226
  displayName: string;
@@ -228,9 +231,9 @@ export declare const companyContract: {
228
231
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
229
232
  id: string;
230
233
  position: number;
231
- createdAt: Date;
232
- updatedAt: Date;
233
- deletedAt: Date | null;
234
+ createdAt: string;
235
+ updatedAt: string;
236
+ deletedAt: string | null;
234
237
  isDefault: boolean;
235
238
  systemName: string;
236
239
  displayName: string;
@@ -240,16 +243,16 @@ export declare const companyContract: {
240
243
  }>;
241
244
  }, "strip", z.ZodTypeAny, {
242
245
  id: string;
243
- createdAt: Date;
244
- updatedAt: Date;
245
- deletedAt: Date | null;
246
+ createdAt: string;
247
+ updatedAt: string;
248
+ deletedAt: string | null;
246
249
  attribute: {
247
250
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
248
251
  id: string;
249
252
  position: number;
250
- createdAt: Date;
251
- updatedAt: Date;
252
- deletedAt: Date | null;
253
+ createdAt: string;
254
+ updatedAt: string;
255
+ deletedAt: string | null;
253
256
  isDefault: boolean;
254
257
  systemName: string;
255
258
  displayName: string;
@@ -263,16 +266,16 @@ export declare const companyContract: {
263
266
  dateValue: Date | null;
264
267
  }, {
265
268
  id: string;
266
- createdAt: Date;
267
- updatedAt: Date;
268
- deletedAt: Date | null;
269
+ createdAt: string;
270
+ updatedAt: string;
271
+ deletedAt: string | null;
269
272
  attribute: {
270
273
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
271
274
  id: string;
272
275
  position: number;
273
- createdAt: Date;
274
- updatedAt: Date;
275
- deletedAt: Date | null;
276
+ createdAt: string;
277
+ updatedAt: string;
278
+ deletedAt: string | null;
276
279
  isDefault: boolean;
277
280
  systemName: string;
278
281
  displayName: string;
@@ -287,25 +290,25 @@ export declare const companyContract: {
287
290
  }>, "many">>;
288
291
  }, "strip", z.ZodTypeAny, {
289
292
  id: string;
290
- createdAt: Date;
291
- updatedAt: Date;
292
- deletedAt: Date | null;
293
+ createdAt: string;
294
+ updatedAt: string;
295
+ deletedAt: string | null;
293
296
  name?: string | undefined;
294
297
  phone?: string | null | undefined;
295
298
  address?: string | null | undefined;
296
299
  industry?: string | null | undefined;
297
300
  customFields?: {
298
301
  id: string;
299
- createdAt: Date;
300
- updatedAt: Date;
301
- deletedAt: Date | null;
302
+ createdAt: string;
303
+ updatedAt: string;
304
+ deletedAt: string | null;
302
305
  attribute: {
303
306
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
304
307
  id: string;
305
308
  position: number;
306
- createdAt: Date;
307
- updatedAt: Date;
308
- deletedAt: Date | null;
309
+ createdAt: string;
310
+ updatedAt: string;
311
+ deletedAt: string | null;
309
312
  isDefault: boolean;
310
313
  systemName: string;
311
314
  displayName: string;
@@ -320,25 +323,25 @@ export declare const companyContract: {
320
323
  }[] | undefined;
321
324
  }, {
322
325
  id: string;
323
- createdAt: Date;
324
- updatedAt: Date;
325
- deletedAt: Date | null;
326
+ createdAt: string;
327
+ updatedAt: string;
328
+ deletedAt: string | null;
326
329
  name?: string | undefined;
327
330
  phone?: string | null | undefined;
328
331
  address?: string | null | undefined;
329
332
  industry?: string | null | undefined;
330
333
  customFields?: {
331
334
  id: string;
332
- createdAt: Date;
333
- updatedAt: Date;
334
- deletedAt: Date | null;
335
+ createdAt: string;
336
+ updatedAt: string;
337
+ deletedAt: string | null;
335
338
  attribute: {
336
339
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
337
340
  id: string;
338
341
  position: number;
339
- createdAt: Date;
340
- updatedAt: Date;
341
- deletedAt: Date | null;
342
+ createdAt: string;
343
+ updatedAt: string;
344
+ deletedAt: string | null;
342
345
  isDefault: boolean;
343
346
  systemName: string;
344
347
  displayName: string;
@@ -355,25 +358,25 @@ export declare const companyContract: {
355
358
  }, "strip", z.ZodTypeAny, {
356
359
  data: {
357
360
  id: string;
358
- createdAt: Date;
359
- updatedAt: Date;
360
- deletedAt: Date | null;
361
+ createdAt: string;
362
+ updatedAt: string;
363
+ deletedAt: string | null;
361
364
  name?: string | undefined;
362
365
  phone?: string | null | undefined;
363
366
  address?: string | null | undefined;
364
367
  industry?: string | null | undefined;
365
368
  customFields?: {
366
369
  id: string;
367
- createdAt: Date;
368
- updatedAt: Date;
369
- deletedAt: Date | null;
370
+ createdAt: string;
371
+ updatedAt: string;
372
+ deletedAt: string | null;
370
373
  attribute: {
371
374
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
372
375
  id: string;
373
376
  position: number;
374
- createdAt: Date;
375
- updatedAt: Date;
376
- deletedAt: Date | null;
377
+ createdAt: string;
378
+ updatedAt: string;
379
+ deletedAt: string | null;
377
380
  isDefault: boolean;
378
381
  systemName: string;
379
382
  displayName: string;
@@ -391,25 +394,25 @@ export declare const companyContract: {
391
394
  }, {
392
395
  data: {
393
396
  id: string;
394
- createdAt: Date;
395
- updatedAt: Date;
396
- deletedAt: Date | null;
397
+ createdAt: string;
398
+ updatedAt: string;
399
+ deletedAt: string | null;
397
400
  name?: string | undefined;
398
401
  phone?: string | null | undefined;
399
402
  address?: string | null | undefined;
400
403
  industry?: string | null | undefined;
401
404
  customFields?: {
402
405
  id: string;
403
- createdAt: Date;
404
- updatedAt: Date;
405
- deletedAt: Date | null;
406
+ createdAt: string;
407
+ updatedAt: string;
408
+ deletedAt: string | null;
406
409
  attribute: {
407
410
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
408
411
  id: string;
409
412
  position: number;
410
- createdAt: Date;
411
- updatedAt: Date;
412
- deletedAt: Date | null;
413
+ createdAt: string;
414
+ updatedAt: string;
415
+ deletedAt: string | null;
413
416
  isDefault: boolean;
414
417
  systemName: string;
415
418
  displayName: string;
@@ -477,7 +480,7 @@ export declare const companyContract: {
477
480
  error?: any;
478
481
  }>;
479
482
  };
480
- path: "company";
483
+ path: "companies";
481
484
  };
482
485
  update: {
483
486
  body: z.ZodObject<{
@@ -623,27 +626,27 @@ export declare const companyContract: {
623
626
  requestId: z.ZodString;
624
627
  data: z.ZodObject<{
625
628
  id: z.ZodString;
626
- createdAt: z.ZodDate;
627
- updatedAt: z.ZodDate;
628
- deletedAt: z.ZodNullable<z.ZodDate>;
629
+ createdAt: z.ZodString;
630
+ updatedAt: z.ZodString;
631
+ deletedAt: z.ZodNullable<z.ZodString>;
629
632
  name: z.ZodOptional<z.ZodString>;
630
633
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
631
634
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
632
635
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
633
636
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
634
637
  id: z.ZodString;
635
- createdAt: z.ZodDate;
636
- updatedAt: z.ZodDate;
637
- deletedAt: z.ZodNullable<z.ZodDate>;
638
+ createdAt: z.ZodString;
639
+ updatedAt: z.ZodString;
640
+ deletedAt: z.ZodNullable<z.ZodString>;
638
641
  textValue: z.ZodNullable<z.ZodString>;
639
642
  booleanValue: z.ZodNullable<z.ZodBoolean>;
640
643
  numberValue: z.ZodNullable<z.ZodNumber>;
641
644
  dateValue: z.ZodNullable<z.ZodDate>;
642
645
  attribute: z.ZodObject<Omit<{
643
646
  id: z.ZodString;
644
- createdAt: z.ZodDate;
645
- updatedAt: z.ZodDate;
646
- deletedAt: z.ZodNullable<z.ZodDate>;
647
+ createdAt: z.ZodString;
648
+ updatedAt: z.ZodString;
649
+ deletedAt: z.ZodNullable<z.ZodString>;
647
650
  systemName: z.ZodString;
648
651
  displayName: z.ZodString;
649
652
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -673,23 +676,23 @@ export declare const companyContract: {
673
676
  }>, "many">;
674
677
  group: z.ZodObject<{
675
678
  id: z.ZodString;
676
- createdAt: z.ZodDate;
677
- updatedAt: z.ZodDate;
678
- deletedAt: z.ZodNullable<z.ZodDate>;
679
+ createdAt: z.ZodString;
680
+ updatedAt: z.ZodString;
681
+ deletedAt: z.ZodNullable<z.ZodString>;
679
682
  systemName: z.ZodString;
680
683
  displayName: z.ZodString;
681
684
  }, "strip", z.ZodTypeAny, {
682
685
  id: string;
683
- createdAt: Date;
684
- updatedAt: Date;
685
- deletedAt: Date | null;
686
+ createdAt: string;
687
+ updatedAt: string;
688
+ deletedAt: string | null;
686
689
  systemName: string;
687
690
  displayName: string;
688
691
  }, {
689
692
  id: string;
690
- createdAt: Date;
691
- updatedAt: Date;
692
- deletedAt: Date | null;
693
+ createdAt: string;
694
+ updatedAt: string;
695
+ deletedAt: string | null;
693
696
  systemName: string;
694
697
  displayName: string;
695
698
  }>;
@@ -697,9 +700,9 @@ export declare const companyContract: {
697
700
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
698
701
  id: string;
699
702
  position: number;
700
- createdAt: Date;
701
- updatedAt: Date;
702
- deletedAt: Date | null;
703
+ createdAt: string;
704
+ updatedAt: string;
705
+ deletedAt: string | null;
703
706
  isDefault: boolean;
704
707
  systemName: string;
705
708
  displayName: string;
@@ -710,9 +713,9 @@ export declare const companyContract: {
710
713
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
711
714
  id: string;
712
715
  position: number;
713
- createdAt: Date;
714
- updatedAt: Date;
715
- deletedAt: Date | null;
716
+ createdAt: string;
717
+ updatedAt: string;
718
+ deletedAt: string | null;
716
719
  isDefault: boolean;
717
720
  systemName: string;
718
721
  displayName: string;
@@ -722,16 +725,16 @@ export declare const companyContract: {
722
725
  }>;
723
726
  }, "strip", z.ZodTypeAny, {
724
727
  id: string;
725
- createdAt: Date;
726
- updatedAt: Date;
727
- deletedAt: Date | null;
728
+ createdAt: string;
729
+ updatedAt: string;
730
+ deletedAt: string | null;
728
731
  attribute: {
729
732
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
730
733
  id: string;
731
734
  position: number;
732
- createdAt: Date;
733
- updatedAt: Date;
734
- deletedAt: Date | null;
735
+ createdAt: string;
736
+ updatedAt: string;
737
+ deletedAt: string | null;
735
738
  isDefault: boolean;
736
739
  systemName: string;
737
740
  displayName: string;
@@ -745,16 +748,16 @@ export declare const companyContract: {
745
748
  dateValue: Date | null;
746
749
  }, {
747
750
  id: string;
748
- createdAt: Date;
749
- updatedAt: Date;
750
- deletedAt: Date | null;
751
+ createdAt: string;
752
+ updatedAt: string;
753
+ deletedAt: string | null;
751
754
  attribute: {
752
755
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
753
756
  id: string;
754
757
  position: number;
755
- createdAt: Date;
756
- updatedAt: Date;
757
- deletedAt: Date | null;
758
+ createdAt: string;
759
+ updatedAt: string;
760
+ deletedAt: string | null;
758
761
  isDefault: boolean;
759
762
  systemName: string;
760
763
  displayName: string;
@@ -769,25 +772,25 @@ export declare const companyContract: {
769
772
  }>, "many">>;
770
773
  }, "strip", z.ZodTypeAny, {
771
774
  id: string;
772
- createdAt: Date;
773
- updatedAt: Date;
774
- deletedAt: Date | null;
775
+ createdAt: string;
776
+ updatedAt: string;
777
+ deletedAt: string | null;
775
778
  name?: string | undefined;
776
779
  phone?: string | null | undefined;
777
780
  address?: string | null | undefined;
778
781
  industry?: string | null | undefined;
779
782
  customFields?: {
780
783
  id: string;
781
- createdAt: Date;
782
- updatedAt: Date;
783
- deletedAt: Date | null;
784
+ createdAt: string;
785
+ updatedAt: string;
786
+ deletedAt: string | null;
784
787
  attribute: {
785
788
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
786
789
  id: string;
787
790
  position: number;
788
- createdAt: Date;
789
- updatedAt: Date;
790
- deletedAt: Date | null;
791
+ createdAt: string;
792
+ updatedAt: string;
793
+ deletedAt: string | null;
791
794
  isDefault: boolean;
792
795
  systemName: string;
793
796
  displayName: string;
@@ -802,25 +805,25 @@ export declare const companyContract: {
802
805
  }[] | undefined;
803
806
  }, {
804
807
  id: string;
805
- createdAt: Date;
806
- updatedAt: Date;
807
- deletedAt: Date | null;
808
+ createdAt: string;
809
+ updatedAt: string;
810
+ deletedAt: string | null;
808
811
  name?: string | undefined;
809
812
  phone?: string | null | undefined;
810
813
  address?: string | null | undefined;
811
814
  industry?: string | null | undefined;
812
815
  customFields?: {
813
816
  id: string;
814
- createdAt: Date;
815
- updatedAt: Date;
816
- deletedAt: Date | null;
817
+ createdAt: string;
818
+ updatedAt: string;
819
+ deletedAt: string | null;
817
820
  attribute: {
818
821
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
819
822
  id: string;
820
823
  position: number;
821
- createdAt: Date;
822
- updatedAt: Date;
823
- deletedAt: Date | null;
824
+ createdAt: string;
825
+ updatedAt: string;
826
+ deletedAt: string | null;
824
827
  isDefault: boolean;
825
828
  systemName: string;
826
829
  displayName: string;
@@ -837,25 +840,25 @@ export declare const companyContract: {
837
840
  }, "strip", z.ZodTypeAny, {
838
841
  data: {
839
842
  id: string;
840
- createdAt: Date;
841
- updatedAt: Date;
842
- deletedAt: Date | null;
843
+ createdAt: string;
844
+ updatedAt: string;
845
+ deletedAt: string | null;
843
846
  name?: string | undefined;
844
847
  phone?: string | null | undefined;
845
848
  address?: string | null | undefined;
846
849
  industry?: string | null | undefined;
847
850
  customFields?: {
848
851
  id: string;
849
- createdAt: Date;
850
- updatedAt: Date;
851
- deletedAt: Date | null;
852
+ createdAt: string;
853
+ updatedAt: string;
854
+ deletedAt: string | null;
852
855
  attribute: {
853
856
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
854
857
  id: string;
855
858
  position: number;
856
- createdAt: Date;
857
- updatedAt: Date;
858
- deletedAt: Date | null;
859
+ createdAt: string;
860
+ updatedAt: string;
861
+ deletedAt: string | null;
859
862
  isDefault: boolean;
860
863
  systemName: string;
861
864
  displayName: string;
@@ -873,25 +876,25 @@ export declare const companyContract: {
873
876
  }, {
874
877
  data: {
875
878
  id: string;
876
- createdAt: Date;
877
- updatedAt: Date;
878
- deletedAt: Date | null;
879
+ createdAt: string;
880
+ updatedAt: string;
881
+ deletedAt: string | null;
879
882
  name?: string | undefined;
880
883
  phone?: string | null | undefined;
881
884
  address?: string | null | undefined;
882
885
  industry?: string | null | undefined;
883
886
  customFields?: {
884
887
  id: string;
885
- createdAt: Date;
886
- updatedAt: Date;
887
- deletedAt: Date | null;
888
+ createdAt: string;
889
+ updatedAt: string;
890
+ deletedAt: string | null;
888
891
  attribute: {
889
892
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
890
893
  id: string;
891
894
  position: number;
892
- createdAt: Date;
893
- updatedAt: Date;
894
- deletedAt: Date | null;
895
+ createdAt: string;
896
+ updatedAt: string;
897
+ deletedAt: string | null;
895
898
  isDefault: boolean;
896
899
  systemName: string;
897
900
  displayName: string;
@@ -959,7 +962,7 @@ export declare const companyContract: {
959
962
  error?: any;
960
963
  }>;
961
964
  };
962
- path: "company/:id";
965
+ path: "companies/:id";
963
966
  };
964
967
  delete: {
965
968
  body: null;
@@ -1035,7 +1038,7 @@ export declare const companyContract: {
1035
1038
  error?: any;
1036
1039
  }>;
1037
1040
  };
1038
- path: "company/:id";
1041
+ path: "companies/:id";
1039
1042
  };
1040
1043
  getById: {
1041
1044
  summary: "Get a company by id";
@@ -1052,27 +1055,27 @@ export declare const companyContract: {
1052
1055
  requestId: z.ZodString;
1053
1056
  data: z.ZodObject<{
1054
1057
  id: z.ZodString;
1055
- createdAt: z.ZodDate;
1056
- updatedAt: z.ZodDate;
1057
- deletedAt: z.ZodNullable<z.ZodDate>;
1058
+ createdAt: z.ZodString;
1059
+ updatedAt: z.ZodString;
1060
+ deletedAt: z.ZodNullable<z.ZodString>;
1058
1061
  name: z.ZodOptional<z.ZodString>;
1059
1062
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1060
1063
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1061
1064
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1062
1065
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1063
1066
  id: z.ZodString;
1064
- createdAt: z.ZodDate;
1065
- updatedAt: z.ZodDate;
1066
- deletedAt: z.ZodNullable<z.ZodDate>;
1067
+ createdAt: z.ZodString;
1068
+ updatedAt: z.ZodString;
1069
+ deletedAt: z.ZodNullable<z.ZodString>;
1067
1070
  textValue: z.ZodNullable<z.ZodString>;
1068
1071
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1069
1072
  numberValue: z.ZodNullable<z.ZodNumber>;
1070
1073
  dateValue: z.ZodNullable<z.ZodDate>;
1071
1074
  attribute: z.ZodObject<Omit<{
1072
1075
  id: z.ZodString;
1073
- createdAt: z.ZodDate;
1074
- updatedAt: z.ZodDate;
1075
- deletedAt: z.ZodNullable<z.ZodDate>;
1076
+ createdAt: z.ZodString;
1077
+ updatedAt: z.ZodString;
1078
+ deletedAt: z.ZodNullable<z.ZodString>;
1076
1079
  systemName: z.ZodString;
1077
1080
  displayName: z.ZodString;
1078
1081
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1102,23 +1105,23 @@ export declare const companyContract: {
1102
1105
  }>, "many">;
1103
1106
  group: z.ZodObject<{
1104
1107
  id: z.ZodString;
1105
- createdAt: z.ZodDate;
1106
- updatedAt: z.ZodDate;
1107
- deletedAt: z.ZodNullable<z.ZodDate>;
1108
+ createdAt: z.ZodString;
1109
+ updatedAt: z.ZodString;
1110
+ deletedAt: z.ZodNullable<z.ZodString>;
1108
1111
  systemName: z.ZodString;
1109
1112
  displayName: z.ZodString;
1110
1113
  }, "strip", z.ZodTypeAny, {
1111
1114
  id: string;
1112
- createdAt: Date;
1113
- updatedAt: Date;
1114
- deletedAt: Date | null;
1115
+ createdAt: string;
1116
+ updatedAt: string;
1117
+ deletedAt: string | null;
1115
1118
  systemName: string;
1116
1119
  displayName: string;
1117
1120
  }, {
1118
1121
  id: string;
1119
- createdAt: Date;
1120
- updatedAt: Date;
1121
- deletedAt: Date | null;
1122
+ createdAt: string;
1123
+ updatedAt: string;
1124
+ deletedAt: string | null;
1122
1125
  systemName: string;
1123
1126
  displayName: string;
1124
1127
  }>;
@@ -1126,9 +1129,9 @@ export declare const companyContract: {
1126
1129
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1127
1130
  id: string;
1128
1131
  position: number;
1129
- createdAt: Date;
1130
- updatedAt: Date;
1131
- deletedAt: Date | null;
1132
+ createdAt: string;
1133
+ updatedAt: string;
1134
+ deletedAt: string | null;
1132
1135
  isDefault: boolean;
1133
1136
  systemName: string;
1134
1137
  displayName: string;
@@ -1139,9 +1142,9 @@ export declare const companyContract: {
1139
1142
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1140
1143
  id: string;
1141
1144
  position: number;
1142
- createdAt: Date;
1143
- updatedAt: Date;
1144
- deletedAt: Date | null;
1145
+ createdAt: string;
1146
+ updatedAt: string;
1147
+ deletedAt: string | null;
1145
1148
  isDefault: boolean;
1146
1149
  systemName: string;
1147
1150
  displayName: string;
@@ -1151,16 +1154,16 @@ export declare const companyContract: {
1151
1154
  }>;
1152
1155
  }, "strip", z.ZodTypeAny, {
1153
1156
  id: string;
1154
- createdAt: Date;
1155
- updatedAt: Date;
1156
- deletedAt: Date | null;
1157
+ createdAt: string;
1158
+ updatedAt: string;
1159
+ deletedAt: string | null;
1157
1160
  attribute: {
1158
1161
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1159
1162
  id: string;
1160
1163
  position: number;
1161
- createdAt: Date;
1162
- updatedAt: Date;
1163
- deletedAt: Date | null;
1164
+ createdAt: string;
1165
+ updatedAt: string;
1166
+ deletedAt: string | null;
1164
1167
  isDefault: boolean;
1165
1168
  systemName: string;
1166
1169
  displayName: string;
@@ -1174,16 +1177,16 @@ export declare const companyContract: {
1174
1177
  dateValue: Date | null;
1175
1178
  }, {
1176
1179
  id: string;
1177
- createdAt: Date;
1178
- updatedAt: Date;
1179
- deletedAt: Date | null;
1180
+ createdAt: string;
1181
+ updatedAt: string;
1182
+ deletedAt: string | null;
1180
1183
  attribute: {
1181
1184
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1182
1185
  id: string;
1183
1186
  position: number;
1184
- createdAt: Date;
1185
- updatedAt: Date;
1186
- deletedAt: Date | null;
1187
+ createdAt: string;
1188
+ updatedAt: string;
1189
+ deletedAt: string | null;
1187
1190
  isDefault: boolean;
1188
1191
  systemName: string;
1189
1192
  displayName: string;
@@ -1198,25 +1201,25 @@ export declare const companyContract: {
1198
1201
  }>, "many">>;
1199
1202
  }, "strip", z.ZodTypeAny, {
1200
1203
  id: string;
1201
- createdAt: Date;
1202
- updatedAt: Date;
1203
- deletedAt: Date | null;
1204
+ createdAt: string;
1205
+ updatedAt: string;
1206
+ deletedAt: string | null;
1204
1207
  name?: string | undefined;
1205
1208
  phone?: string | null | undefined;
1206
1209
  address?: string | null | undefined;
1207
1210
  industry?: string | null | undefined;
1208
1211
  customFields?: {
1209
1212
  id: string;
1210
- createdAt: Date;
1211
- updatedAt: Date;
1212
- deletedAt: Date | null;
1213
+ createdAt: string;
1214
+ updatedAt: string;
1215
+ deletedAt: string | null;
1213
1216
  attribute: {
1214
1217
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1215
1218
  id: string;
1216
1219
  position: number;
1217
- createdAt: Date;
1218
- updatedAt: Date;
1219
- deletedAt: Date | null;
1220
+ createdAt: string;
1221
+ updatedAt: string;
1222
+ deletedAt: string | null;
1220
1223
  isDefault: boolean;
1221
1224
  systemName: string;
1222
1225
  displayName: string;
@@ -1231,25 +1234,25 @@ export declare const companyContract: {
1231
1234
  }[] | undefined;
1232
1235
  }, {
1233
1236
  id: string;
1234
- createdAt: Date;
1235
- updatedAt: Date;
1236
- deletedAt: Date | null;
1237
+ createdAt: string;
1238
+ updatedAt: string;
1239
+ deletedAt: string | null;
1237
1240
  name?: string | undefined;
1238
1241
  phone?: string | null | undefined;
1239
1242
  address?: string | null | undefined;
1240
1243
  industry?: string | null | undefined;
1241
1244
  customFields?: {
1242
1245
  id: string;
1243
- createdAt: Date;
1244
- updatedAt: Date;
1245
- deletedAt: Date | null;
1246
+ createdAt: string;
1247
+ updatedAt: string;
1248
+ deletedAt: string | null;
1246
1249
  attribute: {
1247
1250
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1248
1251
  id: string;
1249
1252
  position: number;
1250
- createdAt: Date;
1251
- updatedAt: Date;
1252
- deletedAt: Date | null;
1253
+ createdAt: string;
1254
+ updatedAt: string;
1255
+ deletedAt: string | null;
1253
1256
  isDefault: boolean;
1254
1257
  systemName: string;
1255
1258
  displayName: string;
@@ -1266,25 +1269,25 @@ export declare const companyContract: {
1266
1269
  }, "strip", z.ZodTypeAny, {
1267
1270
  data: {
1268
1271
  id: string;
1269
- createdAt: Date;
1270
- updatedAt: Date;
1271
- deletedAt: Date | null;
1272
+ createdAt: string;
1273
+ updatedAt: string;
1274
+ deletedAt: string | null;
1272
1275
  name?: string | undefined;
1273
1276
  phone?: string | null | undefined;
1274
1277
  address?: string | null | undefined;
1275
1278
  industry?: string | null | undefined;
1276
1279
  customFields?: {
1277
1280
  id: string;
1278
- createdAt: Date;
1279
- updatedAt: Date;
1280
- deletedAt: Date | null;
1281
+ createdAt: string;
1282
+ updatedAt: string;
1283
+ deletedAt: string | null;
1281
1284
  attribute: {
1282
1285
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1283
1286
  id: string;
1284
1287
  position: number;
1285
- createdAt: Date;
1286
- updatedAt: Date;
1287
- deletedAt: Date | null;
1288
+ createdAt: string;
1289
+ updatedAt: string;
1290
+ deletedAt: string | null;
1288
1291
  isDefault: boolean;
1289
1292
  systemName: string;
1290
1293
  displayName: string;
@@ -1302,25 +1305,25 @@ export declare const companyContract: {
1302
1305
  }, {
1303
1306
  data: {
1304
1307
  id: string;
1305
- createdAt: Date;
1306
- updatedAt: Date;
1307
- deletedAt: Date | null;
1308
+ createdAt: string;
1309
+ updatedAt: string;
1310
+ deletedAt: string | null;
1308
1311
  name?: string | undefined;
1309
1312
  phone?: string | null | undefined;
1310
1313
  address?: string | null | undefined;
1311
1314
  industry?: string | null | undefined;
1312
1315
  customFields?: {
1313
1316
  id: string;
1314
- createdAt: Date;
1315
- updatedAt: Date;
1316
- deletedAt: Date | null;
1317
+ createdAt: string;
1318
+ updatedAt: string;
1319
+ deletedAt: string | null;
1317
1320
  attribute: {
1318
1321
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1319
1322
  id: string;
1320
1323
  position: number;
1321
- createdAt: Date;
1322
- updatedAt: Date;
1323
- deletedAt: Date | null;
1324
+ createdAt: string;
1325
+ updatedAt: string;
1326
+ deletedAt: string | null;
1324
1327
  isDefault: boolean;
1325
1328
  systemName: string;
1326
1329
  displayName: string;
@@ -1388,7 +1391,7 @@ export declare const companyContract: {
1388
1391
  error?: any;
1389
1392
  }>;
1390
1393
  };
1391
- path: "company/:id";
1394
+ path: "companies/:id";
1392
1395
  };
1393
1396
  getAll: {
1394
1397
  summary: "Get all companies";
@@ -1453,27 +1456,27 @@ export declare const companyContract: {
1453
1456
  lastPage: z.ZodNumber;
1454
1457
  data: z.ZodArray<z.ZodObject<{
1455
1458
  id: z.ZodString;
1456
- createdAt: z.ZodDate;
1457
- updatedAt: z.ZodDate;
1458
- deletedAt: z.ZodNullable<z.ZodDate>;
1459
+ createdAt: z.ZodString;
1460
+ updatedAt: z.ZodString;
1461
+ deletedAt: z.ZodNullable<z.ZodString>;
1459
1462
  name: z.ZodOptional<z.ZodString>;
1460
1463
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1461
1464
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1462
1465
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1463
1466
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1464
1467
  id: z.ZodString;
1465
- createdAt: z.ZodDate;
1466
- updatedAt: z.ZodDate;
1467
- deletedAt: z.ZodNullable<z.ZodDate>;
1468
+ createdAt: z.ZodString;
1469
+ updatedAt: z.ZodString;
1470
+ deletedAt: z.ZodNullable<z.ZodString>;
1468
1471
  textValue: z.ZodNullable<z.ZodString>;
1469
1472
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1470
1473
  numberValue: z.ZodNullable<z.ZodNumber>;
1471
1474
  dateValue: z.ZodNullable<z.ZodDate>;
1472
1475
  attribute: z.ZodObject<Omit<{
1473
1476
  id: z.ZodString;
1474
- createdAt: z.ZodDate;
1475
- updatedAt: z.ZodDate;
1476
- deletedAt: z.ZodNullable<z.ZodDate>;
1477
+ createdAt: z.ZodString;
1478
+ updatedAt: z.ZodString;
1479
+ deletedAt: z.ZodNullable<z.ZodString>;
1477
1480
  systemName: z.ZodString;
1478
1481
  displayName: z.ZodString;
1479
1482
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1503,23 +1506,23 @@ export declare const companyContract: {
1503
1506
  }>, "many">;
1504
1507
  group: z.ZodObject<{
1505
1508
  id: z.ZodString;
1506
- createdAt: z.ZodDate;
1507
- updatedAt: z.ZodDate;
1508
- deletedAt: z.ZodNullable<z.ZodDate>;
1509
+ createdAt: z.ZodString;
1510
+ updatedAt: z.ZodString;
1511
+ deletedAt: z.ZodNullable<z.ZodString>;
1509
1512
  systemName: z.ZodString;
1510
1513
  displayName: z.ZodString;
1511
1514
  }, "strip", z.ZodTypeAny, {
1512
1515
  id: string;
1513
- createdAt: Date;
1514
- updatedAt: Date;
1515
- deletedAt: Date | null;
1516
+ createdAt: string;
1517
+ updatedAt: string;
1518
+ deletedAt: string | null;
1516
1519
  systemName: string;
1517
1520
  displayName: string;
1518
1521
  }, {
1519
1522
  id: string;
1520
- createdAt: Date;
1521
- updatedAt: Date;
1522
- deletedAt: Date | null;
1523
+ createdAt: string;
1524
+ updatedAt: string;
1525
+ deletedAt: string | null;
1523
1526
  systemName: string;
1524
1527
  displayName: string;
1525
1528
  }>;
@@ -1527,9 +1530,9 @@ export declare const companyContract: {
1527
1530
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1528
1531
  id: string;
1529
1532
  position: number;
1530
- createdAt: Date;
1531
- updatedAt: Date;
1532
- deletedAt: Date | null;
1533
+ createdAt: string;
1534
+ updatedAt: string;
1535
+ deletedAt: string | null;
1533
1536
  isDefault: boolean;
1534
1537
  systemName: string;
1535
1538
  displayName: string;
@@ -1540,9 +1543,9 @@ export declare const companyContract: {
1540
1543
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1541
1544
  id: string;
1542
1545
  position: number;
1543
- createdAt: Date;
1544
- updatedAt: Date;
1545
- deletedAt: Date | null;
1546
+ createdAt: string;
1547
+ updatedAt: string;
1548
+ deletedAt: string | null;
1546
1549
  isDefault: boolean;
1547
1550
  systemName: string;
1548
1551
  displayName: string;
@@ -1552,16 +1555,16 @@ export declare const companyContract: {
1552
1555
  }>;
1553
1556
  }, "strip", z.ZodTypeAny, {
1554
1557
  id: string;
1555
- createdAt: Date;
1556
- updatedAt: Date;
1557
- deletedAt: Date | null;
1558
+ createdAt: string;
1559
+ updatedAt: string;
1560
+ deletedAt: string | null;
1558
1561
  attribute: {
1559
1562
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1560
1563
  id: string;
1561
1564
  position: number;
1562
- createdAt: Date;
1563
- updatedAt: Date;
1564
- deletedAt: Date | null;
1565
+ createdAt: string;
1566
+ updatedAt: string;
1567
+ deletedAt: string | null;
1565
1568
  isDefault: boolean;
1566
1569
  systemName: string;
1567
1570
  displayName: string;
@@ -1575,16 +1578,16 @@ export declare const companyContract: {
1575
1578
  dateValue: Date | null;
1576
1579
  }, {
1577
1580
  id: string;
1578
- createdAt: Date;
1579
- updatedAt: Date;
1580
- deletedAt: Date | null;
1581
+ createdAt: string;
1582
+ updatedAt: string;
1583
+ deletedAt: string | null;
1581
1584
  attribute: {
1582
1585
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1583
1586
  id: string;
1584
1587
  position: number;
1585
- createdAt: Date;
1586
- updatedAt: Date;
1587
- deletedAt: Date | null;
1588
+ createdAt: string;
1589
+ updatedAt: string;
1590
+ deletedAt: string | null;
1588
1591
  isDefault: boolean;
1589
1592
  systemName: string;
1590
1593
  displayName: string;
@@ -1599,25 +1602,25 @@ export declare const companyContract: {
1599
1602
  }>, "many">>;
1600
1603
  }, "strip", z.ZodTypeAny, {
1601
1604
  id: string;
1602
- createdAt: Date;
1603
- updatedAt: Date;
1604
- deletedAt: Date | null;
1605
+ createdAt: string;
1606
+ updatedAt: string;
1607
+ deletedAt: string | null;
1605
1608
  name?: string | undefined;
1606
1609
  phone?: string | null | undefined;
1607
1610
  address?: string | null | undefined;
1608
1611
  industry?: string | null | undefined;
1609
1612
  customFields?: {
1610
1613
  id: string;
1611
- createdAt: Date;
1612
- updatedAt: Date;
1613
- deletedAt: Date | null;
1614
+ createdAt: string;
1615
+ updatedAt: string;
1616
+ deletedAt: string | null;
1614
1617
  attribute: {
1615
1618
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1616
1619
  id: string;
1617
1620
  position: number;
1618
- createdAt: Date;
1619
- updatedAt: Date;
1620
- deletedAt: Date | null;
1621
+ createdAt: string;
1622
+ updatedAt: string;
1623
+ deletedAt: string | null;
1621
1624
  isDefault: boolean;
1622
1625
  systemName: string;
1623
1626
  displayName: string;
@@ -1632,25 +1635,25 @@ export declare const companyContract: {
1632
1635
  }[] | undefined;
1633
1636
  }, {
1634
1637
  id: string;
1635
- createdAt: Date;
1636
- updatedAt: Date;
1637
- deletedAt: Date | null;
1638
+ createdAt: string;
1639
+ updatedAt: string;
1640
+ deletedAt: string | null;
1638
1641
  name?: string | undefined;
1639
1642
  phone?: string | null | undefined;
1640
1643
  address?: string | null | undefined;
1641
1644
  industry?: string | null | undefined;
1642
1645
  customFields?: {
1643
1646
  id: string;
1644
- createdAt: Date;
1645
- updatedAt: Date;
1646
- deletedAt: Date | null;
1647
+ createdAt: string;
1648
+ updatedAt: string;
1649
+ deletedAt: string | null;
1647
1650
  attribute: {
1648
1651
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1649
1652
  id: string;
1650
1653
  position: number;
1651
- createdAt: Date;
1652
- updatedAt: Date;
1653
- deletedAt: Date | null;
1654
+ createdAt: string;
1655
+ updatedAt: string;
1656
+ deletedAt: string | null;
1654
1657
  isDefault: boolean;
1655
1658
  systemName: string;
1656
1659
  displayName: string;
@@ -1667,25 +1670,25 @@ export declare const companyContract: {
1667
1670
  }, "strip", z.ZodTypeAny, {
1668
1671
  data: {
1669
1672
  id: string;
1670
- createdAt: Date;
1671
- updatedAt: Date;
1672
- deletedAt: Date | null;
1673
+ createdAt: string;
1674
+ updatedAt: string;
1675
+ deletedAt: string | null;
1673
1676
  name?: string | undefined;
1674
1677
  phone?: string | null | undefined;
1675
1678
  address?: string | null | undefined;
1676
1679
  industry?: string | null | undefined;
1677
1680
  customFields?: {
1678
1681
  id: string;
1679
- createdAt: Date;
1680
- updatedAt: Date;
1681
- deletedAt: Date | null;
1682
+ createdAt: string;
1683
+ updatedAt: string;
1684
+ deletedAt: string | null;
1682
1685
  attribute: {
1683
1686
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1684
1687
  id: string;
1685
1688
  position: number;
1686
- createdAt: Date;
1687
- updatedAt: Date;
1688
- deletedAt: Date | null;
1689
+ createdAt: string;
1690
+ updatedAt: string;
1691
+ deletedAt: string | null;
1689
1692
  isDefault: boolean;
1690
1693
  systemName: string;
1691
1694
  displayName: string;
@@ -1707,25 +1710,25 @@ export declare const companyContract: {
1707
1710
  }, {
1708
1711
  data: {
1709
1712
  id: string;
1710
- createdAt: Date;
1711
- updatedAt: Date;
1712
- deletedAt: Date | null;
1713
+ createdAt: string;
1714
+ updatedAt: string;
1715
+ deletedAt: string | null;
1713
1716
  name?: string | undefined;
1714
1717
  phone?: string | null | undefined;
1715
1718
  address?: string | null | undefined;
1716
1719
  industry?: string | null | undefined;
1717
1720
  customFields?: {
1718
1721
  id: string;
1719
- createdAt: Date;
1720
- updatedAt: Date;
1721
- deletedAt: Date | null;
1722
+ createdAt: string;
1723
+ updatedAt: string;
1724
+ deletedAt: string | null;
1722
1725
  attribute: {
1723
1726
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1724
1727
  id: string;
1725
1728
  position: number;
1726
- createdAt: Date;
1727
- updatedAt: Date;
1728
- deletedAt: Date | null;
1729
+ createdAt: string;
1730
+ updatedAt: string;
1731
+ deletedAt: string | null;
1729
1732
  isDefault: boolean;
1730
1733
  systemName: string;
1731
1734
  displayName: string;
@@ -1797,7 +1800,7 @@ export declare const companyContract: {
1797
1800
  error?: any;
1798
1801
  }>;
1799
1802
  };
1800
- path: "company";
1803
+ path: "companies";
1801
1804
  };
1802
1805
  };
1803
1806
  //# sourceMappingURL=index.d.ts.map