@kl1/contracts 1.1.25 → 1.1.26

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 (58) hide show
  1. package/dist/index.js +935 -924
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +934 -924
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +4867 -22
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +773 -22
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +975 -5
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contact/index.d.ts +3 -0
  12. package/dist/src/contact/index.d.ts.map +1 -1
  13. package/dist/src/contact/schema.d.ts.map +1 -1
  14. package/dist/src/contact/validation.d.ts +3 -0
  15. package/dist/src/contact/validation.d.ts.map +1 -1
  16. package/dist/src/contract.d.ts +164160 -131652
  17. package/dist/src/contract.d.ts.map +1 -1
  18. package/dist/src/cx-log/index.d.ts +352 -2
  19. package/dist/src/cx-log/index.d.ts.map +1 -1
  20. package/dist/src/cx-log/schema.d.ts +557 -4
  21. package/dist/src/cx-log/schema.d.ts.map +1 -1
  22. package/dist/src/instagram/index.d.ts +487 -2
  23. package/dist/src/instagram/index.d.ts.map +1 -1
  24. package/dist/src/line/index.d.ts +487 -2
  25. package/dist/src/line/index.d.ts.map +1 -1
  26. package/dist/src/mail/mail-contract.d.ts +30477 -6759
  27. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  28. package/dist/src/mail/message-contract.d.ts +6424 -64
  29. package/dist/src/mail/message-contract.d.ts.map +1 -1
  30. package/dist/src/mail/room-contract.d.ts +19532 -2172
  31. package/dist/src/mail/room-contract.d.ts.map +1 -1
  32. package/dist/src/mail/schemas/message-validation.schema.d.ts +7 -4
  33. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  34. package/dist/src/mail/schemas/message.schema.d.ts +762 -40
  35. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  36. package/dist/src/mail/schemas/room-validation.schema.d.ts +6057 -350
  37. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  38. package/dist/src/mail/schemas/room.schema.d.ts +5984 -308
  39. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  40. package/dist/src/messenger/index.d.ts +487 -2
  41. package/dist/src/messenger/index.d.ts.map +1 -1
  42. package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
  43. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  44. package/dist/src/telephony-cdr/index.d.ts +1 -622
  45. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  46. package/dist/src/viber/index.d.ts +487 -2
  47. package/dist/src/viber/index.d.ts.map +1 -1
  48. package/dist/src/webchat/index.d.ts +487 -2
  49. package/dist/src/webchat/index.d.ts.map +1 -1
  50. package/dist/src/workflow-rule/index.d.ts +834 -4
  51. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  52. package/dist/src/wrap-up-form/index.d.ts +1447 -6
  53. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  54. package/dist/src/wrap-up-form/schema.d.ts +207 -2
  55. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  56. package/dist/src/wrap-up-form/validation.d.ts +29 -0
  57. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  58. package/package.json +1 -1
@@ -3267,8 +3267,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3267
3267
  deletedAt: z.ZodNullable<z.ZodDate>;
3268
3268
  note: z.ZodNullable<z.ZodString>;
3269
3269
  disposition: z.ZodNullable<z.ZodString>;
3270
- callFrom: z.ZodNullable<z.ZodString>;
3271
- callTo: z.ZodNullable<z.ZodString>;
3270
+ type: z.ZodString;
3272
3271
  tags: z.ZodArray<z.ZodObject<{
3273
3272
  id: z.ZodString;
3274
3273
  createdAt: z.ZodDate;
@@ -3288,12 +3287,171 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3288
3287
  updatedAt: Date;
3289
3288
  deletedAt: Date | null;
3290
3289
  }>, "many">;
3290
+ categories: z.ZodArray<z.ZodObject<{
3291
+ id: z.ZodString;
3292
+ createdAt: z.ZodDate;
3293
+ updatedAt: z.ZodDate;
3294
+ deletedAt: z.ZodNullable<z.ZodDate>;
3295
+ value: z.ZodString;
3296
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3297
+ parentId: z.ZodNullable<z.ZodString>;
3298
+ childCategoryList: z.ZodArray<z.ZodObject<{
3299
+ id: z.ZodString;
3300
+ value: z.ZodString;
3301
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3302
+ parentId: z.ZodNullable<z.ZodString>;
3303
+ childCategoryList: z.ZodArray<z.ZodObject<{
3304
+ id: z.ZodString;
3305
+ value: z.ZodString;
3306
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3307
+ parentId: z.ZodNullable<z.ZodString>;
3308
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
3309
+ }, "strip", z.ZodTypeAny, {
3310
+ id: string;
3311
+ value: string;
3312
+ level: 2 | 1 | 3;
3313
+ parentId: string | null;
3314
+ childCategoryList: any[];
3315
+ }, {
3316
+ id: string;
3317
+ value: string;
3318
+ level: 2 | 1 | 3;
3319
+ parentId: string | null;
3320
+ childCategoryList: any[];
3321
+ }>, "many">;
3322
+ }, "strip", z.ZodTypeAny, {
3323
+ id: string;
3324
+ value: string;
3325
+ level: 2 | 1 | 3;
3326
+ parentId: string | null;
3327
+ childCategoryList: {
3328
+ id: string;
3329
+ value: string;
3330
+ level: 2 | 1 | 3;
3331
+ parentId: string | null;
3332
+ childCategoryList: any[];
3333
+ }[];
3334
+ }, {
3335
+ id: string;
3336
+ value: string;
3337
+ level: 2 | 1 | 3;
3338
+ parentId: string | null;
3339
+ childCategoryList: {
3340
+ id: string;
3341
+ value: string;
3342
+ level: 2 | 1 | 3;
3343
+ parentId: string | null;
3344
+ childCategoryList: any[];
3345
+ }[];
3346
+ }>, "many">;
3347
+ }, "strip", z.ZodTypeAny, {
3348
+ id: string;
3349
+ value: string;
3350
+ createdAt: Date;
3351
+ updatedAt: Date;
3352
+ deletedAt: Date | null;
3353
+ level: 2 | 1 | 3;
3354
+ parentId: string | null;
3355
+ childCategoryList: {
3356
+ id: string;
3357
+ value: string;
3358
+ level: 2 | 1 | 3;
3359
+ parentId: string | null;
3360
+ childCategoryList: {
3361
+ id: string;
3362
+ value: string;
3363
+ level: 2 | 1 | 3;
3364
+ parentId: string | null;
3365
+ childCategoryList: any[];
3366
+ }[];
3367
+ }[];
3368
+ }, {
3369
+ id: string;
3370
+ value: string;
3371
+ createdAt: Date;
3372
+ updatedAt: Date;
3373
+ deletedAt: Date | null;
3374
+ level: 2 | 1 | 3;
3375
+ parentId: string | null;
3376
+ childCategoryList: {
3377
+ id: string;
3378
+ value: string;
3379
+ level: 2 | 1 | 3;
3380
+ parentId: string | null;
3381
+ childCategoryList: {
3382
+ id: string;
3383
+ value: string;
3384
+ level: 2 | 1 | 3;
3385
+ parentId: string | null;
3386
+ childCategoryList: any[];
3387
+ }[];
3388
+ }[];
3389
+ }>, "many">;
3390
+ callFrom: z.ZodNullable<z.ZodString>;
3391
+ callTo: z.ZodNullable<z.ZodString>;
3392
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3393
+ id: z.ZodString;
3394
+ createdAt: z.ZodDate;
3395
+ updatedAt: z.ZodDate;
3396
+ deletedAt: z.ZodNullable<z.ZodDate>;
3397
+ textValue: z.ZodNullable<z.ZodString>;
3398
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
3399
+ numberValue: z.ZodNullable<z.ZodNumber>;
3400
+ dateValue: z.ZodNullable<z.ZodDate>;
3401
+ entityId: z.ZodString;
3402
+ attributeId: z.ZodString;
3403
+ }, "strip", z.ZodTypeAny, {
3404
+ id: string;
3405
+ createdAt: Date;
3406
+ updatedAt: Date;
3407
+ deletedAt: Date | null;
3408
+ entityId: string;
3409
+ attributeId: string;
3410
+ textValue: string | null;
3411
+ booleanValue: boolean | null;
3412
+ numberValue: number | null;
3413
+ dateValue: Date | null;
3414
+ }, {
3415
+ id: string;
3416
+ createdAt: Date;
3417
+ updatedAt: Date;
3418
+ deletedAt: Date | null;
3419
+ entityId: string;
3420
+ attributeId: string;
3421
+ textValue: string | null;
3422
+ booleanValue: boolean | null;
3423
+ numberValue: number | null;
3424
+ dateValue: Date | null;
3425
+ }>, "many">>>;
3291
3426
  }, "strip", z.ZodTypeAny, {
3427
+ type: string;
3292
3428
  id: string;
3293
3429
  disposition: string | null;
3294
3430
  createdAt: Date;
3295
3431
  updatedAt: Date;
3296
3432
  deletedAt: Date | null;
3433
+ categories: {
3434
+ id: string;
3435
+ value: string;
3436
+ createdAt: Date;
3437
+ updatedAt: Date;
3438
+ deletedAt: Date | null;
3439
+ level: 2 | 1 | 3;
3440
+ parentId: string | null;
3441
+ childCategoryList: {
3442
+ id: string;
3443
+ value: string;
3444
+ level: 2 | 1 | 3;
3445
+ parentId: string | null;
3446
+ childCategoryList: {
3447
+ id: string;
3448
+ value: string;
3449
+ level: 2 | 1 | 3;
3450
+ parentId: string | null;
3451
+ childCategoryList: any[];
3452
+ }[];
3453
+ }[];
3454
+ }[];
3297
3455
  tags: {
3298
3456
  id: string;
3299
3457
  name: string;
@@ -3304,12 +3462,47 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3304
3462
  callFrom: string | null;
3305
3463
  callTo: string | null;
3306
3464
  note: string | null;
3465
+ customFields?: {
3466
+ id: string;
3467
+ createdAt: Date;
3468
+ updatedAt: Date;
3469
+ deletedAt: Date | null;
3470
+ entityId: string;
3471
+ attributeId: string;
3472
+ textValue: string | null;
3473
+ booleanValue: boolean | null;
3474
+ numberValue: number | null;
3475
+ dateValue: Date | null;
3476
+ }[] | null | undefined;
3307
3477
  }, {
3478
+ type: string;
3308
3479
  id: string;
3309
3480
  disposition: string | null;
3310
3481
  createdAt: Date;
3311
3482
  updatedAt: Date;
3312
3483
  deletedAt: Date | null;
3484
+ categories: {
3485
+ id: string;
3486
+ value: string;
3487
+ createdAt: Date;
3488
+ updatedAt: Date;
3489
+ deletedAt: Date | null;
3490
+ level: 2 | 1 | 3;
3491
+ parentId: string | null;
3492
+ childCategoryList: {
3493
+ id: string;
3494
+ value: string;
3495
+ level: 2 | 1 | 3;
3496
+ parentId: string | null;
3497
+ childCategoryList: {
3498
+ id: string;
3499
+ value: string;
3500
+ level: 2 | 1 | 3;
3501
+ parentId: string | null;
3502
+ childCategoryList: any[];
3503
+ }[];
3504
+ }[];
3505
+ }[];
3313
3506
  tags: {
3314
3507
  id: string;
3315
3508
  name: string;
@@ -3320,6 +3513,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3320
3513
  callFrom: string | null;
3321
3514
  callTo: string | null;
3322
3515
  note: string | null;
3516
+ customFields?: {
3517
+ id: string;
3518
+ createdAt: Date;
3519
+ updatedAt: Date;
3520
+ deletedAt: Date | null;
3521
+ entityId: string;
3522
+ attributeId: string;
3523
+ textValue: string | null;
3524
+ booleanValue: boolean | null;
3525
+ numberValue: number | null;
3526
+ dateValue: Date | null;
3527
+ }[] | null | undefined;
3323
3528
  }>>;
3324
3529
  }, "strip", z.ZodTypeAny, {
3325
3530
  id: string;
@@ -3338,11 +3543,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3338
3543
  handledTime: number | null;
3339
3544
  firstResponseTime: number | null;
3340
3545
  wrapUpForm: {
3546
+ type: string;
3341
3547
  id: string;
3342
3548
  disposition: string | null;
3343
3549
  createdAt: Date;
3344
3550
  updatedAt: Date;
3345
3551
  deletedAt: Date | null;
3552
+ categories: {
3553
+ id: string;
3554
+ value: string;
3555
+ createdAt: Date;
3556
+ updatedAt: Date;
3557
+ deletedAt: Date | null;
3558
+ level: 2 | 1 | 3;
3559
+ parentId: string | null;
3560
+ childCategoryList: {
3561
+ id: string;
3562
+ value: string;
3563
+ level: 2 | 1 | 3;
3564
+ parentId: string | null;
3565
+ childCategoryList: {
3566
+ id: string;
3567
+ value: string;
3568
+ level: 2 | 1 | 3;
3569
+ parentId: string | null;
3570
+ childCategoryList: any[];
3571
+ }[];
3572
+ }[];
3573
+ }[];
3346
3574
  tags: {
3347
3575
  id: string;
3348
3576
  name: string;
@@ -3353,6 +3581,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3353
3581
  callFrom: string | null;
3354
3582
  callTo: string | null;
3355
3583
  note: string | null;
3584
+ customFields?: {
3585
+ id: string;
3586
+ createdAt: Date;
3587
+ updatedAt: Date;
3588
+ deletedAt: Date | null;
3589
+ entityId: string;
3590
+ attributeId: string;
3591
+ textValue: string | null;
3592
+ booleanValue: boolean | null;
3593
+ numberValue: number | null;
3594
+ dateValue: Date | null;
3595
+ }[] | null | undefined;
3356
3596
  } | null;
3357
3597
  }, {
3358
3598
  id: string;
@@ -3371,11 +3611,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3371
3611
  handledTime: number | null;
3372
3612
  firstResponseTime: number | null;
3373
3613
  wrapUpForm: {
3614
+ type: string;
3374
3615
  id: string;
3375
3616
  disposition: string | null;
3376
3617
  createdAt: Date;
3377
3618
  updatedAt: Date;
3378
3619
  deletedAt: Date | null;
3620
+ categories: {
3621
+ id: string;
3622
+ value: string;
3623
+ createdAt: Date;
3624
+ updatedAt: Date;
3625
+ deletedAt: Date | null;
3626
+ level: 2 | 1 | 3;
3627
+ parentId: string | null;
3628
+ childCategoryList: {
3629
+ id: string;
3630
+ value: string;
3631
+ level: 2 | 1 | 3;
3632
+ parentId: string | null;
3633
+ childCategoryList: {
3634
+ id: string;
3635
+ value: string;
3636
+ level: 2 | 1 | 3;
3637
+ parentId: string | null;
3638
+ childCategoryList: any[];
3639
+ }[];
3640
+ }[];
3641
+ }[];
3379
3642
  tags: {
3380
3643
  id: string;
3381
3644
  name: string;
@@ -3386,6 +3649,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3386
3649
  callFrom: string | null;
3387
3650
  callTo: string | null;
3388
3651
  note: string | null;
3652
+ customFields?: {
3653
+ id: string;
3654
+ createdAt: Date;
3655
+ updatedAt: Date;
3656
+ deletedAt: Date | null;
3657
+ entityId: string;
3658
+ attributeId: string;
3659
+ textValue: string | null;
3660
+ booleanValue: boolean | null;
3661
+ numberValue: number | null;
3662
+ dateValue: Date | null;
3663
+ }[] | null | undefined;
3389
3664
  } | null;
3390
3665
  }>;
3391
3666
  workflowRule: z.ZodObject<{
@@ -3710,11 +3985,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3710
3985
  handledTime: number | null;
3711
3986
  firstResponseTime: number | null;
3712
3987
  wrapUpForm: {
3988
+ type: string;
3713
3989
  id: string;
3714
3990
  disposition: string | null;
3715
3991
  createdAt: Date;
3716
3992
  updatedAt: Date;
3717
3993
  deletedAt: Date | null;
3994
+ categories: {
3995
+ id: string;
3996
+ value: string;
3997
+ createdAt: Date;
3998
+ updatedAt: Date;
3999
+ deletedAt: Date | null;
4000
+ level: 2 | 1 | 3;
4001
+ parentId: string | null;
4002
+ childCategoryList: {
4003
+ id: string;
4004
+ value: string;
4005
+ level: 2 | 1 | 3;
4006
+ parentId: string | null;
4007
+ childCategoryList: {
4008
+ id: string;
4009
+ value: string;
4010
+ level: 2 | 1 | 3;
4011
+ parentId: string | null;
4012
+ childCategoryList: any[];
4013
+ }[];
4014
+ }[];
4015
+ }[];
3718
4016
  tags: {
3719
4017
  id: string;
3720
4018
  name: string;
@@ -3725,6 +4023,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3725
4023
  callFrom: string | null;
3726
4024
  callTo: string | null;
3727
4025
  note: string | null;
4026
+ customFields?: {
4027
+ id: string;
4028
+ createdAt: Date;
4029
+ updatedAt: Date;
4030
+ deletedAt: Date | null;
4031
+ entityId: string;
4032
+ attributeId: string;
4033
+ textValue: string | null;
4034
+ booleanValue: boolean | null;
4035
+ numberValue: number | null;
4036
+ dateValue: Date | null;
4037
+ }[] | null | undefined;
3728
4038
  } | null;
3729
4039
  };
3730
4040
  workflowRule: {
@@ -4033,11 +4343,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4033
4343
  handledTime: number | null;
4034
4344
  firstResponseTime: number | null;
4035
4345
  wrapUpForm: {
4346
+ type: string;
4036
4347
  id: string;
4037
4348
  disposition: string | null;
4038
4349
  createdAt: Date;
4039
4350
  updatedAt: Date;
4040
4351
  deletedAt: Date | null;
4352
+ categories: {
4353
+ id: string;
4354
+ value: string;
4355
+ createdAt: Date;
4356
+ updatedAt: Date;
4357
+ deletedAt: Date | null;
4358
+ level: 2 | 1 | 3;
4359
+ parentId: string | null;
4360
+ childCategoryList: {
4361
+ id: string;
4362
+ value: string;
4363
+ level: 2 | 1 | 3;
4364
+ parentId: string | null;
4365
+ childCategoryList: {
4366
+ id: string;
4367
+ value: string;
4368
+ level: 2 | 1 | 3;
4369
+ parentId: string | null;
4370
+ childCategoryList: any[];
4371
+ }[];
4372
+ }[];
4373
+ }[];
4041
4374
  tags: {
4042
4375
  id: string;
4043
4376
  name: string;
@@ -4048,6 +4381,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4048
4381
  callFrom: string | null;
4049
4382
  callTo: string | null;
4050
4383
  note: string | null;
4384
+ customFields?: {
4385
+ id: string;
4386
+ createdAt: Date;
4387
+ updatedAt: Date;
4388
+ deletedAt: Date | null;
4389
+ entityId: string;
4390
+ attributeId: string;
4391
+ textValue: string | null;
4392
+ booleanValue: boolean | null;
4393
+ numberValue: number | null;
4394
+ dateValue: Date | null;
4395
+ }[] | null | undefined;
4051
4396
  } | null;
4052
4397
  };
4053
4398
  workflowRule: {
@@ -6127,11 +6472,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6127
6472
  handledTime: number | null;
6128
6473
  firstResponseTime: number | null;
6129
6474
  wrapUpForm: {
6475
+ type: string;
6130
6476
  id: string;
6131
6477
  disposition: string | null;
6132
6478
  createdAt: Date;
6133
6479
  updatedAt: Date;
6134
6480
  deletedAt: Date | null;
6481
+ categories: {
6482
+ id: string;
6483
+ value: string;
6484
+ createdAt: Date;
6485
+ updatedAt: Date;
6486
+ deletedAt: Date | null;
6487
+ level: 2 | 1 | 3;
6488
+ parentId: string | null;
6489
+ childCategoryList: {
6490
+ id: string;
6491
+ value: string;
6492
+ level: 2 | 1 | 3;
6493
+ parentId: string | null;
6494
+ childCategoryList: {
6495
+ id: string;
6496
+ value: string;
6497
+ level: 2 | 1 | 3;
6498
+ parentId: string | null;
6499
+ childCategoryList: any[];
6500
+ }[];
6501
+ }[];
6502
+ }[];
6135
6503
  tags: {
6136
6504
  id: string;
6137
6505
  name: string;
@@ -6142,6 +6510,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6142
6510
  callFrom: string | null;
6143
6511
  callTo: string | null;
6144
6512
  note: string | null;
6513
+ customFields?: {
6514
+ id: string;
6515
+ createdAt: Date;
6516
+ updatedAt: Date;
6517
+ deletedAt: Date | null;
6518
+ entityId: string;
6519
+ attributeId: string;
6520
+ textValue: string | null;
6521
+ booleanValue: boolean | null;
6522
+ numberValue: number | null;
6523
+ dateValue: Date | null;
6524
+ }[] | null | undefined;
6145
6525
  } | null;
6146
6526
  };
6147
6527
  workflowRule: {
@@ -6785,11 +7165,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6785
7165
  handledTime: number | null;
6786
7166
  firstResponseTime: number | null;
6787
7167
  wrapUpForm: {
7168
+ type: string;
6788
7169
  id: string;
6789
7170
  disposition: string | null;
6790
7171
  createdAt: Date;
6791
7172
  updatedAt: Date;
6792
7173
  deletedAt: Date | null;
7174
+ categories: {
7175
+ id: string;
7176
+ value: string;
7177
+ createdAt: Date;
7178
+ updatedAt: Date;
7179
+ deletedAt: Date | null;
7180
+ level: 2 | 1 | 3;
7181
+ parentId: string | null;
7182
+ childCategoryList: {
7183
+ id: string;
7184
+ value: string;
7185
+ level: 2 | 1 | 3;
7186
+ parentId: string | null;
7187
+ childCategoryList: {
7188
+ id: string;
7189
+ value: string;
7190
+ level: 2 | 1 | 3;
7191
+ parentId: string | null;
7192
+ childCategoryList: any[];
7193
+ }[];
7194
+ }[];
7195
+ }[];
6793
7196
  tags: {
6794
7197
  id: string;
6795
7198
  name: string;
@@ -6800,6 +7203,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6800
7203
  callFrom: string | null;
6801
7204
  callTo: string | null;
6802
7205
  note: string | null;
7206
+ customFields?: {
7207
+ id: string;
7208
+ createdAt: Date;
7209
+ updatedAt: Date;
7210
+ deletedAt: Date | null;
7211
+ entityId: string;
7212
+ attributeId: string;
7213
+ textValue: string | null;
7214
+ booleanValue: boolean | null;
7215
+ numberValue: number | null;
7216
+ dateValue: Date | null;
7217
+ }[] | null | undefined;
6803
7218
  } | null;
6804
7219
  };
6805
7220
  workflowRule: {
@@ -7445,11 +7860,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7445
7860
  handledTime: number | null;
7446
7861
  firstResponseTime: number | null;
7447
7862
  wrapUpForm: {
7863
+ type: string;
7448
7864
  id: string;
7449
7865
  disposition: string | null;
7450
7866
  createdAt: Date;
7451
7867
  updatedAt: Date;
7452
7868
  deletedAt: Date | null;
7869
+ categories: {
7870
+ id: string;
7871
+ value: string;
7872
+ createdAt: Date;
7873
+ updatedAt: Date;
7874
+ deletedAt: Date | null;
7875
+ level: 2 | 1 | 3;
7876
+ parentId: string | null;
7877
+ childCategoryList: {
7878
+ id: string;
7879
+ value: string;
7880
+ level: 2 | 1 | 3;
7881
+ parentId: string | null;
7882
+ childCategoryList: {
7883
+ id: string;
7884
+ value: string;
7885
+ level: 2 | 1 | 3;
7886
+ parentId: string | null;
7887
+ childCategoryList: any[];
7888
+ }[];
7889
+ }[];
7890
+ }[];
7453
7891
  tags: {
7454
7892
  id: string;
7455
7893
  name: string;
@@ -7460,6 +7898,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7460
7898
  callFrom: string | null;
7461
7899
  callTo: string | null;
7462
7900
  note: string | null;
7901
+ customFields?: {
7902
+ id: string;
7903
+ createdAt: Date;
7904
+ updatedAt: Date;
7905
+ deletedAt: Date | null;
7906
+ entityId: string;
7907
+ attributeId: string;
7908
+ textValue: string | null;
7909
+ booleanValue: boolean | null;
7910
+ numberValue: number | null;
7911
+ dateValue: Date | null;
7912
+ }[] | null | undefined;
7463
7913
  } | null;
7464
7914
  };
7465
7915
  workflowRule: {
@@ -8106,11 +8556,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8106
8556
  handledTime: number | null;
8107
8557
  firstResponseTime: number | null;
8108
8558
  wrapUpForm: {
8559
+ type: string;
8109
8560
  id: string;
8110
8561
  disposition: string | null;
8111
8562
  createdAt: Date;
8112
8563
  updatedAt: Date;
8113
8564
  deletedAt: Date | null;
8565
+ categories: {
8566
+ id: string;
8567
+ value: string;
8568
+ createdAt: Date;
8569
+ updatedAt: Date;
8570
+ deletedAt: Date | null;
8571
+ level: 2 | 1 | 3;
8572
+ parentId: string | null;
8573
+ childCategoryList: {
8574
+ id: string;
8575
+ value: string;
8576
+ level: 2 | 1 | 3;
8577
+ parentId: string | null;
8578
+ childCategoryList: {
8579
+ id: string;
8580
+ value: string;
8581
+ level: 2 | 1 | 3;
8582
+ parentId: string | null;
8583
+ childCategoryList: any[];
8584
+ }[];
8585
+ }[];
8586
+ }[];
8114
8587
  tags: {
8115
8588
  id: string;
8116
8589
  name: string;
@@ -8121,7 +8594,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8121
8594
  callFrom: string | null;
8122
8595
  callTo: string | null;
8123
8596
  note: string | null;
8124
- } | null;
8597
+ customFields?: {
8598
+ id: string;
8599
+ createdAt: Date;
8600
+ updatedAt: Date;
8601
+ deletedAt: Date | null;
8602
+ entityId: string;
8603
+ attributeId: string;
8604
+ textValue: string | null;
8605
+ booleanValue: boolean | null;
8606
+ numberValue: number | null;
8607
+ dateValue: Date | null;
8608
+ }[] | null | undefined;
8609
+ } | null;
8125
8610
  };
8126
8611
  workflowRule: {
8127
8612
  type: string;
@@ -9999,8 +10484,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9999
10484
  deletedAt: z.ZodNullable<z.ZodDate>;
10000
10485
  note: z.ZodNullable<z.ZodString>;
10001
10486
  disposition: z.ZodNullable<z.ZodString>;
10002
- callFrom: z.ZodNullable<z.ZodString>;
10003
- callTo: z.ZodNullable<z.ZodString>;
10487
+ type: z.ZodString;
10004
10488
  tags: z.ZodArray<z.ZodObject<{
10005
10489
  id: z.ZodString;
10006
10490
  createdAt: z.ZodDate;
@@ -10020,12 +10504,171 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10020
10504
  updatedAt: Date;
10021
10505
  deletedAt: Date | null;
10022
10506
  }>, "many">;
10507
+ categories: z.ZodArray<z.ZodObject<{
10508
+ id: z.ZodString;
10509
+ createdAt: z.ZodDate;
10510
+ updatedAt: z.ZodDate;
10511
+ deletedAt: z.ZodNullable<z.ZodDate>;
10512
+ value: z.ZodString;
10513
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10514
+ parentId: z.ZodNullable<z.ZodString>;
10515
+ childCategoryList: z.ZodArray<z.ZodObject<{
10516
+ id: z.ZodString;
10517
+ value: z.ZodString;
10518
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10519
+ parentId: z.ZodNullable<z.ZodString>;
10520
+ childCategoryList: z.ZodArray<z.ZodObject<{
10521
+ id: z.ZodString;
10522
+ value: z.ZodString;
10523
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10524
+ parentId: z.ZodNullable<z.ZodString>;
10525
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
10526
+ }, "strip", z.ZodTypeAny, {
10527
+ id: string;
10528
+ value: string;
10529
+ level: 2 | 1 | 3;
10530
+ parentId: string | null;
10531
+ childCategoryList: any[];
10532
+ }, {
10533
+ id: string;
10534
+ value: string;
10535
+ level: 2 | 1 | 3;
10536
+ parentId: string | null;
10537
+ childCategoryList: any[];
10538
+ }>, "many">;
10539
+ }, "strip", z.ZodTypeAny, {
10540
+ id: string;
10541
+ value: string;
10542
+ level: 2 | 1 | 3;
10543
+ parentId: string | null;
10544
+ childCategoryList: {
10545
+ id: string;
10546
+ value: string;
10547
+ level: 2 | 1 | 3;
10548
+ parentId: string | null;
10549
+ childCategoryList: any[];
10550
+ }[];
10551
+ }, {
10552
+ id: string;
10553
+ value: string;
10554
+ level: 2 | 1 | 3;
10555
+ parentId: string | null;
10556
+ childCategoryList: {
10557
+ id: string;
10558
+ value: string;
10559
+ level: 2 | 1 | 3;
10560
+ parentId: string | null;
10561
+ childCategoryList: any[];
10562
+ }[];
10563
+ }>, "many">;
10564
+ }, "strip", z.ZodTypeAny, {
10565
+ id: string;
10566
+ value: string;
10567
+ createdAt: Date;
10568
+ updatedAt: Date;
10569
+ deletedAt: Date | null;
10570
+ level: 2 | 1 | 3;
10571
+ parentId: string | null;
10572
+ childCategoryList: {
10573
+ id: string;
10574
+ value: string;
10575
+ level: 2 | 1 | 3;
10576
+ parentId: string | null;
10577
+ childCategoryList: {
10578
+ id: string;
10579
+ value: string;
10580
+ level: 2 | 1 | 3;
10581
+ parentId: string | null;
10582
+ childCategoryList: any[];
10583
+ }[];
10584
+ }[];
10585
+ }, {
10586
+ id: string;
10587
+ value: string;
10588
+ createdAt: Date;
10589
+ updatedAt: Date;
10590
+ deletedAt: Date | null;
10591
+ level: 2 | 1 | 3;
10592
+ parentId: string | null;
10593
+ childCategoryList: {
10594
+ id: string;
10595
+ value: string;
10596
+ level: 2 | 1 | 3;
10597
+ parentId: string | null;
10598
+ childCategoryList: {
10599
+ id: string;
10600
+ value: string;
10601
+ level: 2 | 1 | 3;
10602
+ parentId: string | null;
10603
+ childCategoryList: any[];
10604
+ }[];
10605
+ }[];
10606
+ }>, "many">;
10607
+ callFrom: z.ZodNullable<z.ZodString>;
10608
+ callTo: z.ZodNullable<z.ZodString>;
10609
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10610
+ id: z.ZodString;
10611
+ createdAt: z.ZodDate;
10612
+ updatedAt: z.ZodDate;
10613
+ deletedAt: z.ZodNullable<z.ZodDate>;
10614
+ textValue: z.ZodNullable<z.ZodString>;
10615
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
10616
+ numberValue: z.ZodNullable<z.ZodNumber>;
10617
+ dateValue: z.ZodNullable<z.ZodDate>;
10618
+ entityId: z.ZodString;
10619
+ attributeId: z.ZodString;
10620
+ }, "strip", z.ZodTypeAny, {
10621
+ id: string;
10622
+ createdAt: Date;
10623
+ updatedAt: Date;
10624
+ deletedAt: Date | null;
10625
+ entityId: string;
10626
+ attributeId: string;
10627
+ textValue: string | null;
10628
+ booleanValue: boolean | null;
10629
+ numberValue: number | null;
10630
+ dateValue: Date | null;
10631
+ }, {
10632
+ id: string;
10633
+ createdAt: Date;
10634
+ updatedAt: Date;
10635
+ deletedAt: Date | null;
10636
+ entityId: string;
10637
+ attributeId: string;
10638
+ textValue: string | null;
10639
+ booleanValue: boolean | null;
10640
+ numberValue: number | null;
10641
+ dateValue: Date | null;
10642
+ }>, "many">>>;
10023
10643
  }, "strip", z.ZodTypeAny, {
10644
+ type: string;
10024
10645
  id: string;
10025
10646
  disposition: string | null;
10026
10647
  createdAt: Date;
10027
10648
  updatedAt: Date;
10028
10649
  deletedAt: Date | null;
10650
+ categories: {
10651
+ id: string;
10652
+ value: string;
10653
+ createdAt: Date;
10654
+ updatedAt: Date;
10655
+ deletedAt: Date | null;
10656
+ level: 2 | 1 | 3;
10657
+ parentId: string | null;
10658
+ childCategoryList: {
10659
+ id: string;
10660
+ value: string;
10661
+ level: 2 | 1 | 3;
10662
+ parentId: string | null;
10663
+ childCategoryList: {
10664
+ id: string;
10665
+ value: string;
10666
+ level: 2 | 1 | 3;
10667
+ parentId: string | null;
10668
+ childCategoryList: any[];
10669
+ }[];
10670
+ }[];
10671
+ }[];
10029
10672
  tags: {
10030
10673
  id: string;
10031
10674
  name: string;
@@ -10036,12 +10679,47 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10036
10679
  callFrom: string | null;
10037
10680
  callTo: string | null;
10038
10681
  note: string | null;
10682
+ customFields?: {
10683
+ id: string;
10684
+ createdAt: Date;
10685
+ updatedAt: Date;
10686
+ deletedAt: Date | null;
10687
+ entityId: string;
10688
+ attributeId: string;
10689
+ textValue: string | null;
10690
+ booleanValue: boolean | null;
10691
+ numberValue: number | null;
10692
+ dateValue: Date | null;
10693
+ }[] | null | undefined;
10039
10694
  }, {
10695
+ type: string;
10040
10696
  id: string;
10041
10697
  disposition: string | null;
10042
10698
  createdAt: Date;
10043
10699
  updatedAt: Date;
10044
10700
  deletedAt: Date | null;
10701
+ categories: {
10702
+ id: string;
10703
+ value: string;
10704
+ createdAt: Date;
10705
+ updatedAt: Date;
10706
+ deletedAt: Date | null;
10707
+ level: 2 | 1 | 3;
10708
+ parentId: string | null;
10709
+ childCategoryList: {
10710
+ id: string;
10711
+ value: string;
10712
+ level: 2 | 1 | 3;
10713
+ parentId: string | null;
10714
+ childCategoryList: {
10715
+ id: string;
10716
+ value: string;
10717
+ level: 2 | 1 | 3;
10718
+ parentId: string | null;
10719
+ childCategoryList: any[];
10720
+ }[];
10721
+ }[];
10722
+ }[];
10045
10723
  tags: {
10046
10724
  id: string;
10047
10725
  name: string;
@@ -10052,6 +10730,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10052
10730
  callFrom: string | null;
10053
10731
  callTo: string | null;
10054
10732
  note: string | null;
10733
+ customFields?: {
10734
+ id: string;
10735
+ createdAt: Date;
10736
+ updatedAt: Date;
10737
+ deletedAt: Date | null;
10738
+ entityId: string;
10739
+ attributeId: string;
10740
+ textValue: string | null;
10741
+ booleanValue: boolean | null;
10742
+ numberValue: number | null;
10743
+ dateValue: Date | null;
10744
+ }[] | null | undefined;
10055
10745
  }>>;
10056
10746
  }, "strip", z.ZodTypeAny, {
10057
10747
  id: string;
@@ -10070,11 +10760,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10070
10760
  handledTime: number | null;
10071
10761
  firstResponseTime: number | null;
10072
10762
  wrapUpForm: {
10763
+ type: string;
10073
10764
  id: string;
10074
10765
  disposition: string | null;
10075
10766
  createdAt: Date;
10076
10767
  updatedAt: Date;
10077
10768
  deletedAt: Date | null;
10769
+ categories: {
10770
+ id: string;
10771
+ value: string;
10772
+ createdAt: Date;
10773
+ updatedAt: Date;
10774
+ deletedAt: Date | null;
10775
+ level: 2 | 1 | 3;
10776
+ parentId: string | null;
10777
+ childCategoryList: {
10778
+ id: string;
10779
+ value: string;
10780
+ level: 2 | 1 | 3;
10781
+ parentId: string | null;
10782
+ childCategoryList: {
10783
+ id: string;
10784
+ value: string;
10785
+ level: 2 | 1 | 3;
10786
+ parentId: string | null;
10787
+ childCategoryList: any[];
10788
+ }[];
10789
+ }[];
10790
+ }[];
10078
10791
  tags: {
10079
10792
  id: string;
10080
10793
  name: string;
@@ -10085,6 +10798,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10085
10798
  callFrom: string | null;
10086
10799
  callTo: string | null;
10087
10800
  note: string | null;
10801
+ customFields?: {
10802
+ id: string;
10803
+ createdAt: Date;
10804
+ updatedAt: Date;
10805
+ deletedAt: Date | null;
10806
+ entityId: string;
10807
+ attributeId: string;
10808
+ textValue: string | null;
10809
+ booleanValue: boolean | null;
10810
+ numberValue: number | null;
10811
+ dateValue: Date | null;
10812
+ }[] | null | undefined;
10088
10813
  } | null;
10089
10814
  }, {
10090
10815
  id: string;
@@ -10103,11 +10828,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10103
10828
  handledTime: number | null;
10104
10829
  firstResponseTime: number | null;
10105
10830
  wrapUpForm: {
10831
+ type: string;
10106
10832
  id: string;
10107
10833
  disposition: string | null;
10108
10834
  createdAt: Date;
10109
10835
  updatedAt: Date;
10110
10836
  deletedAt: Date | null;
10837
+ categories: {
10838
+ id: string;
10839
+ value: string;
10840
+ createdAt: Date;
10841
+ updatedAt: Date;
10842
+ deletedAt: Date | null;
10843
+ level: 2 | 1 | 3;
10844
+ parentId: string | null;
10845
+ childCategoryList: {
10846
+ id: string;
10847
+ value: string;
10848
+ level: 2 | 1 | 3;
10849
+ parentId: string | null;
10850
+ childCategoryList: {
10851
+ id: string;
10852
+ value: string;
10853
+ level: 2 | 1 | 3;
10854
+ parentId: string | null;
10855
+ childCategoryList: any[];
10856
+ }[];
10857
+ }[];
10858
+ }[];
10111
10859
  tags: {
10112
10860
  id: string;
10113
10861
  name: string;
@@ -10118,6 +10866,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10118
10866
  callFrom: string | null;
10119
10867
  callTo: string | null;
10120
10868
  note: string | null;
10869
+ customFields?: {
10870
+ id: string;
10871
+ createdAt: Date;
10872
+ updatedAt: Date;
10873
+ deletedAt: Date | null;
10874
+ entityId: string;
10875
+ attributeId: string;
10876
+ textValue: string | null;
10877
+ booleanValue: boolean | null;
10878
+ numberValue: number | null;
10879
+ dateValue: Date | null;
10880
+ }[] | null | undefined;
10121
10881
  } | null;
10122
10882
  }>>;
10123
10883
  }, "strip", z.ZodTypeAny, {
@@ -10374,11 +11134,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10374
11134
  handledTime: number | null;
10375
11135
  firstResponseTime: number | null;
10376
11136
  wrapUpForm: {
11137
+ type: string;
10377
11138
  id: string;
10378
11139
  disposition: string | null;
10379
11140
  createdAt: Date;
10380
11141
  updatedAt: Date;
10381
11142
  deletedAt: Date | null;
11143
+ categories: {
11144
+ id: string;
11145
+ value: string;
11146
+ createdAt: Date;
11147
+ updatedAt: Date;
11148
+ deletedAt: Date | null;
11149
+ level: 2 | 1 | 3;
11150
+ parentId: string | null;
11151
+ childCategoryList: {
11152
+ id: string;
11153
+ value: string;
11154
+ level: 2 | 1 | 3;
11155
+ parentId: string | null;
11156
+ childCategoryList: {
11157
+ id: string;
11158
+ value: string;
11159
+ level: 2 | 1 | 3;
11160
+ parentId: string | null;
11161
+ childCategoryList: any[];
11162
+ }[];
11163
+ }[];
11164
+ }[];
10382
11165
  tags: {
10383
11166
  id: string;
10384
11167
  name: string;
@@ -10389,6 +11172,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10389
11172
  callFrom: string | null;
10390
11173
  callTo: string | null;
10391
11174
  note: string | null;
11175
+ customFields?: {
11176
+ id: string;
11177
+ createdAt: Date;
11178
+ updatedAt: Date;
11179
+ deletedAt: Date | null;
11180
+ entityId: string;
11181
+ attributeId: string;
11182
+ textValue: string | null;
11183
+ booleanValue: boolean | null;
11184
+ numberValue: number | null;
11185
+ dateValue: Date | null;
11186
+ }[] | null | undefined;
10392
11187
  } | null;
10393
11188
  } | undefined;
10394
11189
  }, {
@@ -10645,11 +11440,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10645
11440
  handledTime: number | null;
10646
11441
  firstResponseTime: number | null;
10647
11442
  wrapUpForm: {
11443
+ type: string;
10648
11444
  id: string;
10649
11445
  disposition: string | null;
10650
11446
  createdAt: Date;
10651
11447
  updatedAt: Date;
10652
11448
  deletedAt: Date | null;
11449
+ categories: {
11450
+ id: string;
11451
+ value: string;
11452
+ createdAt: Date;
11453
+ updatedAt: Date;
11454
+ deletedAt: Date | null;
11455
+ level: 2 | 1 | 3;
11456
+ parentId: string | null;
11457
+ childCategoryList: {
11458
+ id: string;
11459
+ value: string;
11460
+ level: 2 | 1 | 3;
11461
+ parentId: string | null;
11462
+ childCategoryList: {
11463
+ id: string;
11464
+ value: string;
11465
+ level: 2 | 1 | 3;
11466
+ parentId: string | null;
11467
+ childCategoryList: any[];
11468
+ }[];
11469
+ }[];
11470
+ }[];
10653
11471
  tags: {
10654
11472
  id: string;
10655
11473
  name: string;
@@ -10660,6 +11478,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10660
11478
  callFrom: string | null;
10661
11479
  callTo: string | null;
10662
11480
  note: string | null;
11481
+ customFields?: {
11482
+ id: string;
11483
+ createdAt: Date;
11484
+ updatedAt: Date;
11485
+ deletedAt: Date | null;
11486
+ entityId: string;
11487
+ attributeId: string;
11488
+ textValue: string | null;
11489
+ booleanValue: boolean | null;
11490
+ numberValue: number | null;
11491
+ dateValue: Date | null;
11492
+ }[] | null | undefined;
10663
11493
  } | null;
10664
11494
  } | undefined;
10665
11495
  }>>;
@@ -11571,11 +12401,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11571
12401
  handledTime: number | null;
11572
12402
  firstResponseTime: number | null;
11573
12403
  wrapUpForm: {
12404
+ type: string;
11574
12405
  id: string;
11575
12406
  disposition: string | null;
11576
12407
  createdAt: Date;
11577
12408
  updatedAt: Date;
11578
12409
  deletedAt: Date | null;
12410
+ categories: {
12411
+ id: string;
12412
+ value: string;
12413
+ createdAt: Date;
12414
+ updatedAt: Date;
12415
+ deletedAt: Date | null;
12416
+ level: 2 | 1 | 3;
12417
+ parentId: string | null;
12418
+ childCategoryList: {
12419
+ id: string;
12420
+ value: string;
12421
+ level: 2 | 1 | 3;
12422
+ parentId: string | null;
12423
+ childCategoryList: {
12424
+ id: string;
12425
+ value: string;
12426
+ level: 2 | 1 | 3;
12427
+ parentId: string | null;
12428
+ childCategoryList: any[];
12429
+ }[];
12430
+ }[];
12431
+ }[];
11579
12432
  tags: {
11580
12433
  id: string;
11581
12434
  name: string;
@@ -11586,6 +12439,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11586
12439
  callFrom: string | null;
11587
12440
  callTo: string | null;
11588
12441
  note: string | null;
12442
+ customFields?: {
12443
+ id: string;
12444
+ createdAt: Date;
12445
+ updatedAt: Date;
12446
+ deletedAt: Date | null;
12447
+ entityId: string;
12448
+ attributeId: string;
12449
+ textValue: string | null;
12450
+ booleanValue: boolean | null;
12451
+ numberValue: number | null;
12452
+ dateValue: Date | null;
12453
+ }[] | null | undefined;
11589
12454
  } | null;
11590
12455
  } | undefined;
11591
12456
  } | null;
@@ -12004,11 +12869,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12004
12869
  handledTime: number | null;
12005
12870
  firstResponseTime: number | null;
12006
12871
  wrapUpForm: {
12872
+ type: string;
12007
12873
  id: string;
12008
12874
  disposition: string | null;
12009
12875
  createdAt: Date;
12010
12876
  updatedAt: Date;
12011
12877
  deletedAt: Date | null;
12878
+ categories: {
12879
+ id: string;
12880
+ value: string;
12881
+ createdAt: Date;
12882
+ updatedAt: Date;
12883
+ deletedAt: Date | null;
12884
+ level: 2 | 1 | 3;
12885
+ parentId: string | null;
12886
+ childCategoryList: {
12887
+ id: string;
12888
+ value: string;
12889
+ level: 2 | 1 | 3;
12890
+ parentId: string | null;
12891
+ childCategoryList: {
12892
+ id: string;
12893
+ value: string;
12894
+ level: 2 | 1 | 3;
12895
+ parentId: string | null;
12896
+ childCategoryList: any[];
12897
+ }[];
12898
+ }[];
12899
+ }[];
12012
12900
  tags: {
12013
12901
  id: string;
12014
12902
  name: string;
@@ -12019,6 +12907,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12019
12907
  callFrom: string | null;
12020
12908
  callTo: string | null;
12021
12909
  note: string | null;
12910
+ customFields?: {
12911
+ id: string;
12912
+ createdAt: Date;
12913
+ updatedAt: Date;
12914
+ deletedAt: Date | null;
12915
+ entityId: string;
12916
+ attributeId: string;
12917
+ textValue: string | null;
12918
+ booleanValue: boolean | null;
12919
+ numberValue: number | null;
12920
+ dateValue: Date | null;
12921
+ }[] | null | undefined;
12022
12922
  } | null;
12023
12923
  } | undefined;
12024
12924
  } | null;
@@ -12439,11 +13339,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12439
13339
  handledTime: number | null;
12440
13340
  firstResponseTime: number | null;
12441
13341
  wrapUpForm: {
13342
+ type: string;
12442
13343
  id: string;
12443
13344
  disposition: string | null;
12444
13345
  createdAt: Date;
12445
13346
  updatedAt: Date;
12446
13347
  deletedAt: Date | null;
13348
+ categories: {
13349
+ id: string;
13350
+ value: string;
13351
+ createdAt: Date;
13352
+ updatedAt: Date;
13353
+ deletedAt: Date | null;
13354
+ level: 2 | 1 | 3;
13355
+ parentId: string | null;
13356
+ childCategoryList: {
13357
+ id: string;
13358
+ value: string;
13359
+ level: 2 | 1 | 3;
13360
+ parentId: string | null;
13361
+ childCategoryList: {
13362
+ id: string;
13363
+ value: string;
13364
+ level: 2 | 1 | 3;
13365
+ parentId: string | null;
13366
+ childCategoryList: any[];
13367
+ }[];
13368
+ }[];
13369
+ }[];
12447
13370
  tags: {
12448
13371
  id: string;
12449
13372
  name: string;
@@ -12454,6 +13377,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12454
13377
  callFrom: string | null;
12455
13378
  callTo: string | null;
12456
13379
  note: string | null;
13380
+ customFields?: {
13381
+ id: string;
13382
+ createdAt: Date;
13383
+ updatedAt: Date;
13384
+ deletedAt: Date | null;
13385
+ entityId: string;
13386
+ attributeId: string;
13387
+ textValue: string | null;
13388
+ booleanValue: boolean | null;
13389
+ numberValue: number | null;
13390
+ dateValue: Date | null;
13391
+ }[] | null | undefined;
12457
13392
  } | null;
12458
13393
  } | undefined;
12459
13394
  } | null;
@@ -12874,11 +13809,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12874
13809
  handledTime: number | null;
12875
13810
  firstResponseTime: number | null;
12876
13811
  wrapUpForm: {
13812
+ type: string;
12877
13813
  id: string;
12878
13814
  disposition: string | null;
12879
13815
  createdAt: Date;
12880
13816
  updatedAt: Date;
12881
13817
  deletedAt: Date | null;
13818
+ categories: {
13819
+ id: string;
13820
+ value: string;
13821
+ createdAt: Date;
13822
+ updatedAt: Date;
13823
+ deletedAt: Date | null;
13824
+ level: 2 | 1 | 3;
13825
+ parentId: string | null;
13826
+ childCategoryList: {
13827
+ id: string;
13828
+ value: string;
13829
+ level: 2 | 1 | 3;
13830
+ parentId: string | null;
13831
+ childCategoryList: {
13832
+ id: string;
13833
+ value: string;
13834
+ level: 2 | 1 | 3;
13835
+ parentId: string | null;
13836
+ childCategoryList: any[];
13837
+ }[];
13838
+ }[];
13839
+ }[];
12882
13840
  tags: {
12883
13841
  id: string;
12884
13842
  name: string;
@@ -12889,6 +13847,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12889
13847
  callFrom: string | null;
12890
13848
  callTo: string | null;
12891
13849
  note: string | null;
13850
+ customFields?: {
13851
+ id: string;
13852
+ createdAt: Date;
13853
+ updatedAt: Date;
13854
+ deletedAt: Date | null;
13855
+ entityId: string;
13856
+ attributeId: string;
13857
+ textValue: string | null;
13858
+ booleanValue: boolean | null;
13859
+ numberValue: number | null;
13860
+ dateValue: Date | null;
13861
+ }[] | null | undefined;
12892
13862
  } | null;
12893
13863
  } | undefined;
12894
13864
  } | null;