@kl1/contracts 1.1.25-uat → 1.1.27-uat

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 (47) hide show
  1. package/dist/index.js +349 -185
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +348 -185
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/business-calendar/index.d.ts +414 -0
  6. package/dist/src/business-calendar/index.d.ts.map +1 -0
  7. package/dist/src/business-calendar/schema.d.ts +99 -0
  8. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  9. package/dist/src/business-calendar/validation.d.ts +260 -0
  10. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  11. package/dist/src/chat/index.d.ts +4867 -22
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +764 -4
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +984 -14
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/contract.d.ts +9819 -44
  18. package/dist/src/contract.d.ts.map +1 -1
  19. package/dist/src/cx-log/index.d.ts +347 -2
  20. package/dist/src/cx-log/index.d.ts.map +1 -1
  21. package/dist/src/cx-log/schema.d.ts +554 -4
  22. package/dist/src/cx-log/schema.d.ts.map +1 -1
  23. package/dist/src/instagram/index.d.ts +487 -2
  24. package/dist/src/instagram/index.d.ts.map +1 -1
  25. package/dist/src/line/index.d.ts +487 -2
  26. package/dist/src/line/index.d.ts.map +1 -1
  27. package/dist/src/mail/mail-contract.d.ts +1251 -6
  28. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  29. package/dist/src/mail/room-contract.d.ts +1251 -6
  30. package/dist/src/mail/room-contract.d.ts.map +1 -1
  31. package/dist/src/mail/schemas/room-validation.schema.d.ts +417 -2
  32. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  33. package/dist/src/mail/schemas/room.schema.d.ts +347 -2
  34. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  35. package/dist/src/messenger/index.d.ts +487 -2
  36. package/dist/src/messenger/index.d.ts.map +1 -1
  37. package/dist/src/viber/index.d.ts +487 -2
  38. package/dist/src/viber/index.d.ts.map +1 -1
  39. package/dist/src/webchat/index.d.ts +487 -2
  40. package/dist/src/webchat/index.d.ts.map +1 -1
  41. package/dist/src/wrap-up-form/index.d.ts +997 -6
  42. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  43. package/dist/src/wrap-up-form/schema.d.ts +207 -2
  44. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  45. package/dist/src/wrap-up-form/validation.d.ts +26 -0
  46. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  47. 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.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
+ }[] | 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
+ }[] | 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
+ }[] | 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
+ }[] | undefined;
3389
3664
  } | null;
3390
3665
  }>;
3391
3666
  }, "strip", z.ZodTypeAny, {
@@ -3685,11 +3960,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3685
3960
  handledTime: number | null;
3686
3961
  firstResponseTime: number | null;
3687
3962
  wrapUpForm: {
3963
+ type: string;
3688
3964
  id: string;
3689
3965
  disposition: string | null;
3690
3966
  createdAt: Date;
3691
3967
  updatedAt: Date;
3692
3968
  deletedAt: Date | null;
3969
+ categories: {
3970
+ id: string;
3971
+ value: string;
3972
+ createdAt: Date;
3973
+ updatedAt: Date;
3974
+ deletedAt: Date | null;
3975
+ level: 2 | 1 | 3;
3976
+ parentId: string | null;
3977
+ childCategoryList: {
3978
+ id: string;
3979
+ value: string;
3980
+ level: 2 | 1 | 3;
3981
+ parentId: string | null;
3982
+ childCategoryList: {
3983
+ id: string;
3984
+ value: string;
3985
+ level: 2 | 1 | 3;
3986
+ parentId: string | null;
3987
+ childCategoryList: any[];
3988
+ }[];
3989
+ }[];
3990
+ }[];
3693
3991
  tags: {
3694
3992
  id: string;
3695
3993
  name: string;
@@ -3700,6 +3998,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3700
3998
  callFrom: string | null;
3701
3999
  callTo: string | null;
3702
4000
  note: string | null;
4001
+ customFields?: {
4002
+ id: string;
4003
+ createdAt: Date;
4004
+ updatedAt: Date;
4005
+ deletedAt: Date | null;
4006
+ entityId: string;
4007
+ attributeId: string;
4008
+ textValue: string | null;
4009
+ booleanValue: boolean | null;
4010
+ numberValue: number | null;
4011
+ dateValue: Date | null;
4012
+ }[] | undefined;
3703
4013
  } | null;
3704
4014
  };
3705
4015
  }, {
@@ -3999,11 +4309,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3999
4309
  handledTime: number | null;
4000
4310
  firstResponseTime: number | null;
4001
4311
  wrapUpForm: {
4312
+ type: string;
4002
4313
  id: string;
4003
4314
  disposition: string | null;
4004
4315
  createdAt: Date;
4005
4316
  updatedAt: Date;
4006
4317
  deletedAt: Date | null;
4318
+ categories: {
4319
+ id: string;
4320
+ value: string;
4321
+ createdAt: Date;
4322
+ updatedAt: Date;
4323
+ deletedAt: Date | null;
4324
+ level: 2 | 1 | 3;
4325
+ parentId: string | null;
4326
+ childCategoryList: {
4327
+ id: string;
4328
+ value: string;
4329
+ level: 2 | 1 | 3;
4330
+ parentId: string | null;
4331
+ childCategoryList: {
4332
+ id: string;
4333
+ value: string;
4334
+ level: 2 | 1 | 3;
4335
+ parentId: string | null;
4336
+ childCategoryList: any[];
4337
+ }[];
4338
+ }[];
4339
+ }[];
4007
4340
  tags: {
4008
4341
  id: string;
4009
4342
  name: string;
@@ -4014,6 +4347,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4014
4347
  callFrom: string | null;
4015
4348
  callTo: string | null;
4016
4349
  note: string | null;
4350
+ customFields?: {
4351
+ id: string;
4352
+ createdAt: Date;
4353
+ updatedAt: Date;
4354
+ deletedAt: Date | null;
4355
+ entityId: string;
4356
+ attributeId: string;
4357
+ textValue: string | null;
4358
+ booleanValue: boolean | null;
4359
+ numberValue: number | null;
4360
+ dateValue: Date | null;
4361
+ }[] | undefined;
4017
4362
  } | null;
4018
4363
  };
4019
4364
  }>;
@@ -6059,11 +6404,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6059
6404
  handledTime: number | null;
6060
6405
  firstResponseTime: number | null;
6061
6406
  wrapUpForm: {
6407
+ type: string;
6062
6408
  id: string;
6063
6409
  disposition: string | null;
6064
6410
  createdAt: Date;
6065
6411
  updatedAt: Date;
6066
6412
  deletedAt: Date | null;
6413
+ categories: {
6414
+ id: string;
6415
+ value: string;
6416
+ createdAt: Date;
6417
+ updatedAt: Date;
6418
+ deletedAt: Date | null;
6419
+ level: 2 | 1 | 3;
6420
+ parentId: string | null;
6421
+ childCategoryList: {
6422
+ id: string;
6423
+ value: string;
6424
+ level: 2 | 1 | 3;
6425
+ parentId: string | null;
6426
+ childCategoryList: {
6427
+ id: string;
6428
+ value: string;
6429
+ level: 2 | 1 | 3;
6430
+ parentId: string | null;
6431
+ childCategoryList: any[];
6432
+ }[];
6433
+ }[];
6434
+ }[];
6067
6435
  tags: {
6068
6436
  id: string;
6069
6437
  name: string;
@@ -6074,6 +6442,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6074
6442
  callFrom: string | null;
6075
6443
  callTo: string | null;
6076
6444
  note: string | null;
6445
+ customFields?: {
6446
+ id: string;
6447
+ createdAt: Date;
6448
+ updatedAt: Date;
6449
+ deletedAt: Date | null;
6450
+ entityId: string;
6451
+ attributeId: string;
6452
+ textValue: string | null;
6453
+ booleanValue: boolean | null;
6454
+ numberValue: number | null;
6455
+ dateValue: Date | null;
6456
+ }[] | undefined;
6077
6457
  } | null;
6078
6458
  };
6079
6459
  };
@@ -6699,11 +7079,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6699
7079
  handledTime: number | null;
6700
7080
  firstResponseTime: number | null;
6701
7081
  wrapUpForm: {
7082
+ type: string;
6702
7083
  id: string;
6703
7084
  disposition: string | null;
6704
7085
  createdAt: Date;
6705
7086
  updatedAt: Date;
6706
7087
  deletedAt: Date | null;
7088
+ categories: {
7089
+ id: string;
7090
+ value: string;
7091
+ createdAt: Date;
7092
+ updatedAt: Date;
7093
+ deletedAt: Date | null;
7094
+ level: 2 | 1 | 3;
7095
+ parentId: string | null;
7096
+ childCategoryList: {
7097
+ id: string;
7098
+ value: string;
7099
+ level: 2 | 1 | 3;
7100
+ parentId: string | null;
7101
+ childCategoryList: {
7102
+ id: string;
7103
+ value: string;
7104
+ level: 2 | 1 | 3;
7105
+ parentId: string | null;
7106
+ childCategoryList: any[];
7107
+ }[];
7108
+ }[];
7109
+ }[];
6707
7110
  tags: {
6708
7111
  id: string;
6709
7112
  name: string;
@@ -6714,6 +7117,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6714
7117
  callFrom: string | null;
6715
7118
  callTo: string | null;
6716
7119
  note: string | null;
7120
+ customFields?: {
7121
+ id: string;
7122
+ createdAt: Date;
7123
+ updatedAt: Date;
7124
+ deletedAt: Date | null;
7125
+ entityId: string;
7126
+ attributeId: string;
7127
+ textValue: string | null;
7128
+ booleanValue: boolean | null;
7129
+ numberValue: number | null;
7130
+ dateValue: Date | null;
7131
+ }[] | undefined;
6717
7132
  } | null;
6718
7133
  };
6719
7134
  };
@@ -7341,11 +7756,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7341
7756
  handledTime: number | null;
7342
7757
  firstResponseTime: number | null;
7343
7758
  wrapUpForm: {
7759
+ type: string;
7344
7760
  id: string;
7345
7761
  disposition: string | null;
7346
7762
  createdAt: Date;
7347
7763
  updatedAt: Date;
7348
7764
  deletedAt: Date | null;
7765
+ categories: {
7766
+ id: string;
7767
+ value: string;
7768
+ createdAt: Date;
7769
+ updatedAt: Date;
7770
+ deletedAt: Date | null;
7771
+ level: 2 | 1 | 3;
7772
+ parentId: string | null;
7773
+ childCategoryList: {
7774
+ id: string;
7775
+ value: string;
7776
+ level: 2 | 1 | 3;
7777
+ parentId: string | null;
7778
+ childCategoryList: {
7779
+ id: string;
7780
+ value: string;
7781
+ level: 2 | 1 | 3;
7782
+ parentId: string | null;
7783
+ childCategoryList: any[];
7784
+ }[];
7785
+ }[];
7786
+ }[];
7349
7787
  tags: {
7350
7788
  id: string;
7351
7789
  name: string;
@@ -7356,16 +7794,28 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7356
7794
  callFrom: string | null;
7357
7795
  callTo: string | null;
7358
7796
  note: string | null;
7359
- } | null;
7360
- };
7361
- };
7362
- readAt: Date;
7363
- platformMessageId: string;
7364
- replyPlatformMessageId: string;
7365
- locale: "" | "th" | "mm" | "en";
7366
- previewUrl: string;
7367
- imageSetId: string;
7368
- repliedMessage: {
7797
+ customFields?: {
7798
+ id: string;
7799
+ createdAt: Date;
7800
+ updatedAt: Date;
7801
+ deletedAt: Date | null;
7802
+ entityId: string;
7803
+ attributeId: string;
7804
+ textValue: string | null;
7805
+ booleanValue: boolean | null;
7806
+ numberValue: number | null;
7807
+ dateValue: Date | null;
7808
+ }[] | undefined;
7809
+ } | null;
7810
+ };
7811
+ };
7812
+ readAt: Date;
7813
+ platformMessageId: string;
7814
+ replyPlatformMessageId: string;
7815
+ locale: "" | "th" | "mm" | "en";
7816
+ previewUrl: string;
7817
+ imageSetId: string;
7818
+ repliedMessage: {
7369
7819
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7370
7820
  message: string;
7371
7821
  id: string;
@@ -7984,11 +8434,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7984
8434
  handledTime: number | null;
7985
8435
  firstResponseTime: number | null;
7986
8436
  wrapUpForm: {
8437
+ type: string;
7987
8438
  id: string;
7988
8439
  disposition: string | null;
7989
8440
  createdAt: Date;
7990
8441
  updatedAt: Date;
7991
8442
  deletedAt: Date | null;
8443
+ categories: {
8444
+ id: string;
8445
+ value: string;
8446
+ createdAt: Date;
8447
+ updatedAt: Date;
8448
+ deletedAt: Date | null;
8449
+ level: 2 | 1 | 3;
8450
+ parentId: string | null;
8451
+ childCategoryList: {
8452
+ id: string;
8453
+ value: string;
8454
+ level: 2 | 1 | 3;
8455
+ parentId: string | null;
8456
+ childCategoryList: {
8457
+ id: string;
8458
+ value: string;
8459
+ level: 2 | 1 | 3;
8460
+ parentId: string | null;
8461
+ childCategoryList: any[];
8462
+ }[];
8463
+ }[];
8464
+ }[];
7992
8465
  tags: {
7993
8466
  id: string;
7994
8467
  name: string;
@@ -7999,6 +8472,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7999
8472
  callFrom: string | null;
8000
8473
  callTo: string | null;
8001
8474
  note: string | null;
8475
+ customFields?: {
8476
+ id: string;
8477
+ createdAt: Date;
8478
+ updatedAt: Date;
8479
+ deletedAt: Date | null;
8480
+ entityId: string;
8481
+ attributeId: string;
8482
+ textValue: string | null;
8483
+ booleanValue: boolean | null;
8484
+ numberValue: number | null;
8485
+ dateValue: Date | null;
8486
+ }[] | undefined;
8002
8487
  } | null;
8003
8488
  };
8004
8489
  };
@@ -9859,8 +10344,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9859
10344
  deletedAt: z.ZodNullable<z.ZodDate>;
9860
10345
  note: z.ZodNullable<z.ZodString>;
9861
10346
  disposition: z.ZodNullable<z.ZodString>;
9862
- callFrom: z.ZodNullable<z.ZodString>;
9863
- callTo: z.ZodNullable<z.ZodString>;
10347
+ type: z.ZodString;
9864
10348
  tags: z.ZodArray<z.ZodObject<{
9865
10349
  id: z.ZodString;
9866
10350
  createdAt: z.ZodDate;
@@ -9880,12 +10364,171 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9880
10364
  updatedAt: Date;
9881
10365
  deletedAt: Date | null;
9882
10366
  }>, "many">;
10367
+ categories: z.ZodArray<z.ZodObject<{
10368
+ id: z.ZodString;
10369
+ createdAt: z.ZodDate;
10370
+ updatedAt: z.ZodDate;
10371
+ deletedAt: z.ZodNullable<z.ZodDate>;
10372
+ value: z.ZodString;
10373
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10374
+ parentId: z.ZodNullable<z.ZodString>;
10375
+ childCategoryList: z.ZodArray<z.ZodObject<{
10376
+ id: z.ZodString;
10377
+ value: z.ZodString;
10378
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10379
+ parentId: z.ZodNullable<z.ZodString>;
10380
+ childCategoryList: z.ZodArray<z.ZodObject<{
10381
+ id: z.ZodString;
10382
+ value: z.ZodString;
10383
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10384
+ parentId: z.ZodNullable<z.ZodString>;
10385
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
10386
+ }, "strip", z.ZodTypeAny, {
10387
+ id: string;
10388
+ value: string;
10389
+ level: 2 | 1 | 3;
10390
+ parentId: string | null;
10391
+ childCategoryList: any[];
10392
+ }, {
10393
+ id: string;
10394
+ value: string;
10395
+ level: 2 | 1 | 3;
10396
+ parentId: string | null;
10397
+ childCategoryList: any[];
10398
+ }>, "many">;
10399
+ }, "strip", z.ZodTypeAny, {
10400
+ id: string;
10401
+ value: string;
10402
+ level: 2 | 1 | 3;
10403
+ parentId: string | null;
10404
+ childCategoryList: {
10405
+ id: string;
10406
+ value: string;
10407
+ level: 2 | 1 | 3;
10408
+ parentId: string | null;
10409
+ childCategoryList: any[];
10410
+ }[];
10411
+ }, {
10412
+ id: string;
10413
+ value: string;
10414
+ level: 2 | 1 | 3;
10415
+ parentId: string | null;
10416
+ childCategoryList: {
10417
+ id: string;
10418
+ value: string;
10419
+ level: 2 | 1 | 3;
10420
+ parentId: string | null;
10421
+ childCategoryList: any[];
10422
+ }[];
10423
+ }>, "many">;
10424
+ }, "strip", z.ZodTypeAny, {
10425
+ id: string;
10426
+ value: string;
10427
+ createdAt: Date;
10428
+ updatedAt: Date;
10429
+ deletedAt: Date | null;
10430
+ level: 2 | 1 | 3;
10431
+ parentId: string | null;
10432
+ childCategoryList: {
10433
+ id: string;
10434
+ value: string;
10435
+ level: 2 | 1 | 3;
10436
+ parentId: string | null;
10437
+ childCategoryList: {
10438
+ id: string;
10439
+ value: string;
10440
+ level: 2 | 1 | 3;
10441
+ parentId: string | null;
10442
+ childCategoryList: any[];
10443
+ }[];
10444
+ }[];
10445
+ }, {
10446
+ id: string;
10447
+ value: string;
10448
+ createdAt: Date;
10449
+ updatedAt: Date;
10450
+ deletedAt: Date | null;
10451
+ level: 2 | 1 | 3;
10452
+ parentId: string | null;
10453
+ childCategoryList: {
10454
+ id: string;
10455
+ value: string;
10456
+ level: 2 | 1 | 3;
10457
+ parentId: string | null;
10458
+ childCategoryList: {
10459
+ id: string;
10460
+ value: string;
10461
+ level: 2 | 1 | 3;
10462
+ parentId: string | null;
10463
+ childCategoryList: any[];
10464
+ }[];
10465
+ }[];
10466
+ }>, "many">;
10467
+ callFrom: z.ZodNullable<z.ZodString>;
10468
+ callTo: z.ZodNullable<z.ZodString>;
10469
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
10470
+ id: z.ZodString;
10471
+ createdAt: z.ZodDate;
10472
+ updatedAt: z.ZodDate;
10473
+ deletedAt: z.ZodNullable<z.ZodDate>;
10474
+ textValue: z.ZodNullable<z.ZodString>;
10475
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
10476
+ numberValue: z.ZodNullable<z.ZodNumber>;
10477
+ dateValue: z.ZodNullable<z.ZodDate>;
10478
+ entityId: z.ZodString;
10479
+ attributeId: z.ZodString;
10480
+ }, "strip", z.ZodTypeAny, {
10481
+ id: string;
10482
+ createdAt: Date;
10483
+ updatedAt: Date;
10484
+ deletedAt: Date | null;
10485
+ entityId: string;
10486
+ attributeId: string;
10487
+ textValue: string | null;
10488
+ booleanValue: boolean | null;
10489
+ numberValue: number | null;
10490
+ dateValue: Date | null;
10491
+ }, {
10492
+ id: string;
10493
+ createdAt: Date;
10494
+ updatedAt: Date;
10495
+ deletedAt: Date | null;
10496
+ entityId: string;
10497
+ attributeId: string;
10498
+ textValue: string | null;
10499
+ booleanValue: boolean | null;
10500
+ numberValue: number | null;
10501
+ dateValue: Date | null;
10502
+ }>, "many">>;
9883
10503
  }, "strip", z.ZodTypeAny, {
10504
+ type: string;
9884
10505
  id: string;
9885
10506
  disposition: string | null;
9886
10507
  createdAt: Date;
9887
10508
  updatedAt: Date;
9888
10509
  deletedAt: Date | null;
10510
+ categories: {
10511
+ id: string;
10512
+ value: string;
10513
+ createdAt: Date;
10514
+ updatedAt: Date;
10515
+ deletedAt: Date | null;
10516
+ level: 2 | 1 | 3;
10517
+ parentId: string | null;
10518
+ childCategoryList: {
10519
+ id: string;
10520
+ value: string;
10521
+ level: 2 | 1 | 3;
10522
+ parentId: string | null;
10523
+ childCategoryList: {
10524
+ id: string;
10525
+ value: string;
10526
+ level: 2 | 1 | 3;
10527
+ parentId: string | null;
10528
+ childCategoryList: any[];
10529
+ }[];
10530
+ }[];
10531
+ }[];
9889
10532
  tags: {
9890
10533
  id: string;
9891
10534
  name: string;
@@ -9896,12 +10539,47 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9896
10539
  callFrom: string | null;
9897
10540
  callTo: string | null;
9898
10541
  note: string | null;
10542
+ customFields?: {
10543
+ id: string;
10544
+ createdAt: Date;
10545
+ updatedAt: Date;
10546
+ deletedAt: Date | null;
10547
+ entityId: string;
10548
+ attributeId: string;
10549
+ textValue: string | null;
10550
+ booleanValue: boolean | null;
10551
+ numberValue: number | null;
10552
+ dateValue: Date | null;
10553
+ }[] | undefined;
9899
10554
  }, {
10555
+ type: string;
9900
10556
  id: string;
9901
10557
  disposition: string | null;
9902
10558
  createdAt: Date;
9903
10559
  updatedAt: Date;
9904
10560
  deletedAt: Date | null;
10561
+ categories: {
10562
+ id: string;
10563
+ value: string;
10564
+ createdAt: Date;
10565
+ updatedAt: Date;
10566
+ deletedAt: Date | null;
10567
+ level: 2 | 1 | 3;
10568
+ parentId: string | null;
10569
+ childCategoryList: {
10570
+ id: string;
10571
+ value: string;
10572
+ level: 2 | 1 | 3;
10573
+ parentId: string | null;
10574
+ childCategoryList: {
10575
+ id: string;
10576
+ value: string;
10577
+ level: 2 | 1 | 3;
10578
+ parentId: string | null;
10579
+ childCategoryList: any[];
10580
+ }[];
10581
+ }[];
10582
+ }[];
9905
10583
  tags: {
9906
10584
  id: string;
9907
10585
  name: string;
@@ -9912,6 +10590,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9912
10590
  callFrom: string | null;
9913
10591
  callTo: string | null;
9914
10592
  note: string | null;
10593
+ customFields?: {
10594
+ id: string;
10595
+ createdAt: Date;
10596
+ updatedAt: Date;
10597
+ deletedAt: Date | null;
10598
+ entityId: string;
10599
+ attributeId: string;
10600
+ textValue: string | null;
10601
+ booleanValue: boolean | null;
10602
+ numberValue: number | null;
10603
+ dateValue: Date | null;
10604
+ }[] | undefined;
9915
10605
  }>>;
9916
10606
  }, "strip", z.ZodTypeAny, {
9917
10607
  id: string;
@@ -9930,11 +10620,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9930
10620
  handledTime: number | null;
9931
10621
  firstResponseTime: number | null;
9932
10622
  wrapUpForm: {
10623
+ type: string;
9933
10624
  id: string;
9934
10625
  disposition: string | null;
9935
10626
  createdAt: Date;
9936
10627
  updatedAt: Date;
9937
10628
  deletedAt: Date | null;
10629
+ categories: {
10630
+ id: string;
10631
+ value: string;
10632
+ createdAt: Date;
10633
+ updatedAt: Date;
10634
+ deletedAt: Date | null;
10635
+ level: 2 | 1 | 3;
10636
+ parentId: string | null;
10637
+ childCategoryList: {
10638
+ id: string;
10639
+ value: string;
10640
+ level: 2 | 1 | 3;
10641
+ parentId: string | null;
10642
+ childCategoryList: {
10643
+ id: string;
10644
+ value: string;
10645
+ level: 2 | 1 | 3;
10646
+ parentId: string | null;
10647
+ childCategoryList: any[];
10648
+ }[];
10649
+ }[];
10650
+ }[];
9938
10651
  tags: {
9939
10652
  id: string;
9940
10653
  name: string;
@@ -9945,6 +10658,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9945
10658
  callFrom: string | null;
9946
10659
  callTo: string | null;
9947
10660
  note: string | null;
10661
+ customFields?: {
10662
+ id: string;
10663
+ createdAt: Date;
10664
+ updatedAt: Date;
10665
+ deletedAt: Date | null;
10666
+ entityId: string;
10667
+ attributeId: string;
10668
+ textValue: string | null;
10669
+ booleanValue: boolean | null;
10670
+ numberValue: number | null;
10671
+ dateValue: Date | null;
10672
+ }[] | undefined;
9948
10673
  } | null;
9949
10674
  }, {
9950
10675
  id: string;
@@ -9963,11 +10688,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9963
10688
  handledTime: number | null;
9964
10689
  firstResponseTime: number | null;
9965
10690
  wrapUpForm: {
10691
+ type: string;
9966
10692
  id: string;
9967
10693
  disposition: string | null;
9968
10694
  createdAt: Date;
9969
10695
  updatedAt: Date;
9970
10696
  deletedAt: Date | null;
10697
+ categories: {
10698
+ id: string;
10699
+ value: string;
10700
+ createdAt: Date;
10701
+ updatedAt: Date;
10702
+ deletedAt: Date | null;
10703
+ level: 2 | 1 | 3;
10704
+ parentId: string | null;
10705
+ childCategoryList: {
10706
+ id: string;
10707
+ value: string;
10708
+ level: 2 | 1 | 3;
10709
+ parentId: string | null;
10710
+ childCategoryList: {
10711
+ id: string;
10712
+ value: string;
10713
+ level: 2 | 1 | 3;
10714
+ parentId: string | null;
10715
+ childCategoryList: any[];
10716
+ }[];
10717
+ }[];
10718
+ }[];
9971
10719
  tags: {
9972
10720
  id: string;
9973
10721
  name: string;
@@ -9978,6 +10726,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9978
10726
  callFrom: string | null;
9979
10727
  callTo: string | null;
9980
10728
  note: string | null;
10729
+ customFields?: {
10730
+ id: string;
10731
+ createdAt: Date;
10732
+ updatedAt: Date;
10733
+ deletedAt: Date | null;
10734
+ entityId: string;
10735
+ attributeId: string;
10736
+ textValue: string | null;
10737
+ booleanValue: boolean | null;
10738
+ numberValue: number | null;
10739
+ dateValue: Date | null;
10740
+ }[] | undefined;
9981
10741
  } | null;
9982
10742
  }>>;
9983
10743
  }, "strip", z.ZodTypeAny, {
@@ -10234,11 +10994,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10234
10994
  handledTime: number | null;
10235
10995
  firstResponseTime: number | null;
10236
10996
  wrapUpForm: {
10997
+ type: string;
10237
10998
  id: string;
10238
10999
  disposition: string | null;
10239
11000
  createdAt: Date;
10240
11001
  updatedAt: Date;
10241
11002
  deletedAt: Date | null;
11003
+ categories: {
11004
+ id: string;
11005
+ value: string;
11006
+ createdAt: Date;
11007
+ updatedAt: Date;
11008
+ deletedAt: Date | null;
11009
+ level: 2 | 1 | 3;
11010
+ parentId: string | null;
11011
+ childCategoryList: {
11012
+ id: string;
11013
+ value: string;
11014
+ level: 2 | 1 | 3;
11015
+ parentId: string | null;
11016
+ childCategoryList: {
11017
+ id: string;
11018
+ value: string;
11019
+ level: 2 | 1 | 3;
11020
+ parentId: string | null;
11021
+ childCategoryList: any[];
11022
+ }[];
11023
+ }[];
11024
+ }[];
10242
11025
  tags: {
10243
11026
  id: string;
10244
11027
  name: string;
@@ -10249,6 +11032,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10249
11032
  callFrom: string | null;
10250
11033
  callTo: string | null;
10251
11034
  note: string | null;
11035
+ customFields?: {
11036
+ id: string;
11037
+ createdAt: Date;
11038
+ updatedAt: Date;
11039
+ deletedAt: Date | null;
11040
+ entityId: string;
11041
+ attributeId: string;
11042
+ textValue: string | null;
11043
+ booleanValue: boolean | null;
11044
+ numberValue: number | null;
11045
+ dateValue: Date | null;
11046
+ }[] | undefined;
10252
11047
  } | null;
10253
11048
  } | undefined;
10254
11049
  }, {
@@ -10505,11 +11300,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10505
11300
  handledTime: number | null;
10506
11301
  firstResponseTime: number | null;
10507
11302
  wrapUpForm: {
11303
+ type: string;
10508
11304
  id: string;
10509
11305
  disposition: string | null;
10510
11306
  createdAt: Date;
10511
11307
  updatedAt: Date;
10512
11308
  deletedAt: Date | null;
11309
+ categories: {
11310
+ id: string;
11311
+ value: string;
11312
+ createdAt: Date;
11313
+ updatedAt: Date;
11314
+ deletedAt: Date | null;
11315
+ level: 2 | 1 | 3;
11316
+ parentId: string | null;
11317
+ childCategoryList: {
11318
+ id: string;
11319
+ value: string;
11320
+ level: 2 | 1 | 3;
11321
+ parentId: string | null;
11322
+ childCategoryList: {
11323
+ id: string;
11324
+ value: string;
11325
+ level: 2 | 1 | 3;
11326
+ parentId: string | null;
11327
+ childCategoryList: any[];
11328
+ }[];
11329
+ }[];
11330
+ }[];
10513
11331
  tags: {
10514
11332
  id: string;
10515
11333
  name: string;
@@ -10520,6 +11338,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10520
11338
  callFrom: string | null;
10521
11339
  callTo: string | null;
10522
11340
  note: string | null;
11341
+ customFields?: {
11342
+ id: string;
11343
+ createdAt: Date;
11344
+ updatedAt: Date;
11345
+ deletedAt: Date | null;
11346
+ entityId: string;
11347
+ attributeId: string;
11348
+ textValue: string | null;
11349
+ booleanValue: boolean | null;
11350
+ numberValue: number | null;
11351
+ dateValue: Date | null;
11352
+ }[] | undefined;
10523
11353
  } | null;
10524
11354
  } | undefined;
10525
11355
  }>>;
@@ -11431,11 +12261,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11431
12261
  handledTime: number | null;
11432
12262
  firstResponseTime: number | null;
11433
12263
  wrapUpForm: {
12264
+ type: string;
11434
12265
  id: string;
11435
12266
  disposition: string | null;
11436
12267
  createdAt: Date;
11437
12268
  updatedAt: Date;
11438
12269
  deletedAt: Date | null;
12270
+ categories: {
12271
+ id: string;
12272
+ value: string;
12273
+ createdAt: Date;
12274
+ updatedAt: Date;
12275
+ deletedAt: Date | null;
12276
+ level: 2 | 1 | 3;
12277
+ parentId: string | null;
12278
+ childCategoryList: {
12279
+ id: string;
12280
+ value: string;
12281
+ level: 2 | 1 | 3;
12282
+ parentId: string | null;
12283
+ childCategoryList: {
12284
+ id: string;
12285
+ value: string;
12286
+ level: 2 | 1 | 3;
12287
+ parentId: string | null;
12288
+ childCategoryList: any[];
12289
+ }[];
12290
+ }[];
12291
+ }[];
11439
12292
  tags: {
11440
12293
  id: string;
11441
12294
  name: string;
@@ -11446,6 +12299,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11446
12299
  callFrom: string | null;
11447
12300
  callTo: string | null;
11448
12301
  note: string | null;
12302
+ customFields?: {
12303
+ id: string;
12304
+ createdAt: Date;
12305
+ updatedAt: Date;
12306
+ deletedAt: Date | null;
12307
+ entityId: string;
12308
+ attributeId: string;
12309
+ textValue: string | null;
12310
+ booleanValue: boolean | null;
12311
+ numberValue: number | null;
12312
+ dateValue: Date | null;
12313
+ }[] | undefined;
11449
12314
  } | null;
11450
12315
  } | undefined;
11451
12316
  } | null;
@@ -11864,11 +12729,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11864
12729
  handledTime: number | null;
11865
12730
  firstResponseTime: number | null;
11866
12731
  wrapUpForm: {
12732
+ type: string;
11867
12733
  id: string;
11868
12734
  disposition: string | null;
11869
12735
  createdAt: Date;
11870
12736
  updatedAt: Date;
11871
12737
  deletedAt: Date | null;
12738
+ categories: {
12739
+ id: string;
12740
+ value: string;
12741
+ createdAt: Date;
12742
+ updatedAt: Date;
12743
+ deletedAt: Date | null;
12744
+ level: 2 | 1 | 3;
12745
+ parentId: string | null;
12746
+ childCategoryList: {
12747
+ id: string;
12748
+ value: string;
12749
+ level: 2 | 1 | 3;
12750
+ parentId: string | null;
12751
+ childCategoryList: {
12752
+ id: string;
12753
+ value: string;
12754
+ level: 2 | 1 | 3;
12755
+ parentId: string | null;
12756
+ childCategoryList: any[];
12757
+ }[];
12758
+ }[];
12759
+ }[];
11872
12760
  tags: {
11873
12761
  id: string;
11874
12762
  name: string;
@@ -11879,6 +12767,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11879
12767
  callFrom: string | null;
11880
12768
  callTo: string | null;
11881
12769
  note: string | null;
12770
+ customFields?: {
12771
+ id: string;
12772
+ createdAt: Date;
12773
+ updatedAt: Date;
12774
+ deletedAt: Date | null;
12775
+ entityId: string;
12776
+ attributeId: string;
12777
+ textValue: string | null;
12778
+ booleanValue: boolean | null;
12779
+ numberValue: number | null;
12780
+ dateValue: Date | null;
12781
+ }[] | undefined;
11882
12782
  } | null;
11883
12783
  } | undefined;
11884
12784
  } | null;
@@ -12299,11 +13199,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12299
13199
  handledTime: number | null;
12300
13200
  firstResponseTime: number | null;
12301
13201
  wrapUpForm: {
13202
+ type: string;
12302
13203
  id: string;
12303
13204
  disposition: string | null;
12304
13205
  createdAt: Date;
12305
13206
  updatedAt: Date;
12306
13207
  deletedAt: Date | null;
13208
+ categories: {
13209
+ id: string;
13210
+ value: string;
13211
+ createdAt: Date;
13212
+ updatedAt: Date;
13213
+ deletedAt: Date | null;
13214
+ level: 2 | 1 | 3;
13215
+ parentId: string | null;
13216
+ childCategoryList: {
13217
+ id: string;
13218
+ value: string;
13219
+ level: 2 | 1 | 3;
13220
+ parentId: string | null;
13221
+ childCategoryList: {
13222
+ id: string;
13223
+ value: string;
13224
+ level: 2 | 1 | 3;
13225
+ parentId: string | null;
13226
+ childCategoryList: any[];
13227
+ }[];
13228
+ }[];
13229
+ }[];
12307
13230
  tags: {
12308
13231
  id: string;
12309
13232
  name: string;
@@ -12314,6 +13237,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12314
13237
  callFrom: string | null;
12315
13238
  callTo: string | null;
12316
13239
  note: string | null;
13240
+ customFields?: {
13241
+ id: string;
13242
+ createdAt: Date;
13243
+ updatedAt: Date;
13244
+ deletedAt: Date | null;
13245
+ entityId: string;
13246
+ attributeId: string;
13247
+ textValue: string | null;
13248
+ booleanValue: boolean | null;
13249
+ numberValue: number | null;
13250
+ dateValue: Date | null;
13251
+ }[] | undefined;
12317
13252
  } | null;
12318
13253
  } | undefined;
12319
13254
  } | null;
@@ -12734,11 +13669,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12734
13669
  handledTime: number | null;
12735
13670
  firstResponseTime: number | null;
12736
13671
  wrapUpForm: {
13672
+ type: string;
12737
13673
  id: string;
12738
13674
  disposition: string | null;
12739
13675
  createdAt: Date;
12740
13676
  updatedAt: Date;
12741
13677
  deletedAt: Date | null;
13678
+ categories: {
13679
+ id: string;
13680
+ value: string;
13681
+ createdAt: Date;
13682
+ updatedAt: Date;
13683
+ deletedAt: Date | null;
13684
+ level: 2 | 1 | 3;
13685
+ parentId: string | null;
13686
+ childCategoryList: {
13687
+ id: string;
13688
+ value: string;
13689
+ level: 2 | 1 | 3;
13690
+ parentId: string | null;
13691
+ childCategoryList: {
13692
+ id: string;
13693
+ value: string;
13694
+ level: 2 | 1 | 3;
13695
+ parentId: string | null;
13696
+ childCategoryList: any[];
13697
+ }[];
13698
+ }[];
13699
+ }[];
12742
13700
  tags: {
12743
13701
  id: string;
12744
13702
  name: string;
@@ -12749,6 +13707,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12749
13707
  callFrom: string | null;
12750
13708
  callTo: string | null;
12751
13709
  note: string | null;
13710
+ customFields?: {
13711
+ id: string;
13712
+ createdAt: Date;
13713
+ updatedAt: Date;
13714
+ deletedAt: Date | null;
13715
+ entityId: string;
13716
+ attributeId: string;
13717
+ textValue: string | null;
13718
+ booleanValue: boolean | null;
13719
+ numberValue: number | null;
13720
+ dateValue: Date | null;
13721
+ }[] | undefined;
12752
13722
  } | null;
12753
13723
  } | undefined;
12754
13724
  } | null;