@kl1/contracts 1.1.25-uat → 1.1.26-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 (41) hide show
  1. package/dist/index.js +13 -3
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +13 -3
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +3341 -22
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +528 -4
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +666 -4
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contract.d.ts +6478 -44
  12. package/dist/src/contract.d.ts.map +1 -1
  13. package/dist/src/cx-log/index.d.ts +241 -2
  14. package/dist/src/cx-log/index.d.ts.map +1 -1
  15. package/dist/src/cx-log/schema.d.ts +390 -4
  16. package/dist/src/cx-log/schema.d.ts.map +1 -1
  17. package/dist/src/instagram/index.d.ts +333 -2
  18. package/dist/src/instagram/index.d.ts.map +1 -1
  19. package/dist/src/line/index.d.ts +333 -2
  20. package/dist/src/line/index.d.ts.map +1 -1
  21. package/dist/src/mail/mail-contract.d.ts +861 -6
  22. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  23. package/dist/src/mail/room-contract.d.ts +861 -6
  24. package/dist/src/mail/room-contract.d.ts.map +1 -1
  25. package/dist/src/mail/schemas/room-validation.schema.d.ts +287 -2
  26. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  27. package/dist/src/mail/schemas/room.schema.d.ts +241 -2
  28. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  29. package/dist/src/messenger/index.d.ts +333 -2
  30. package/dist/src/messenger/index.d.ts.map +1 -1
  31. package/dist/src/viber/index.d.ts +333 -2
  32. package/dist/src/viber/index.d.ts.map +1 -1
  33. package/dist/src/webchat/index.d.ts +333 -2
  34. package/dist/src/webchat/index.d.ts.map +1 -1
  35. package/dist/src/wrap-up-form/index.d.ts +703 -6
  36. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  37. package/dist/src/wrap-up-form/schema.d.ts +149 -2
  38. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  39. package/dist/src/wrap-up-form/validation.d.ts +26 -0
  40. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  41. 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,137 @@ 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>;
3291
3392
  }, "strip", z.ZodTypeAny, {
3393
+ type: string;
3292
3394
  id: string;
3293
3395
  disposition: string | null;
3294
3396
  createdAt: Date;
3295
3397
  updatedAt: Date;
3296
3398
  deletedAt: Date | null;
3399
+ categories: {
3400
+ id: string;
3401
+ value: string;
3402
+ createdAt: Date;
3403
+ updatedAt: Date;
3404
+ deletedAt: Date | null;
3405
+ level: 2 | 1 | 3;
3406
+ parentId: string | null;
3407
+ childCategoryList: {
3408
+ id: string;
3409
+ value: string;
3410
+ level: 2 | 1 | 3;
3411
+ parentId: string | null;
3412
+ childCategoryList: {
3413
+ id: string;
3414
+ value: string;
3415
+ level: 2 | 1 | 3;
3416
+ parentId: string | null;
3417
+ childCategoryList: any[];
3418
+ }[];
3419
+ }[];
3420
+ }[];
3297
3421
  tags: {
3298
3422
  id: string;
3299
3423
  name: string;
@@ -3305,11 +3429,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3305
3429
  callTo: string | null;
3306
3430
  note: string | null;
3307
3431
  }, {
3432
+ type: string;
3308
3433
  id: string;
3309
3434
  disposition: string | null;
3310
3435
  createdAt: Date;
3311
3436
  updatedAt: Date;
3312
3437
  deletedAt: Date | null;
3438
+ categories: {
3439
+ id: string;
3440
+ value: string;
3441
+ createdAt: Date;
3442
+ updatedAt: Date;
3443
+ deletedAt: Date | null;
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: {
3452
+ id: string;
3453
+ value: string;
3454
+ level: 2 | 1 | 3;
3455
+ parentId: string | null;
3456
+ childCategoryList: any[];
3457
+ }[];
3458
+ }[];
3459
+ }[];
3313
3460
  tags: {
3314
3461
  id: string;
3315
3462
  name: string;
@@ -3338,11 +3485,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3338
3485
  handledTime: number | null;
3339
3486
  firstResponseTime: number | null;
3340
3487
  wrapUpForm: {
3488
+ type: string;
3341
3489
  id: string;
3342
3490
  disposition: string | null;
3343
3491
  createdAt: Date;
3344
3492
  updatedAt: Date;
3345
3493
  deletedAt: Date | null;
3494
+ categories: {
3495
+ id: string;
3496
+ value: string;
3497
+ createdAt: Date;
3498
+ updatedAt: Date;
3499
+ deletedAt: Date | null;
3500
+ level: 2 | 1 | 3;
3501
+ parentId: string | null;
3502
+ childCategoryList: {
3503
+ id: string;
3504
+ value: string;
3505
+ level: 2 | 1 | 3;
3506
+ parentId: string | null;
3507
+ childCategoryList: {
3508
+ id: string;
3509
+ value: string;
3510
+ level: 2 | 1 | 3;
3511
+ parentId: string | null;
3512
+ childCategoryList: any[];
3513
+ }[];
3514
+ }[];
3515
+ }[];
3346
3516
  tags: {
3347
3517
  id: string;
3348
3518
  name: string;
@@ -3371,11 +3541,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3371
3541
  handledTime: number | null;
3372
3542
  firstResponseTime: number | null;
3373
3543
  wrapUpForm: {
3544
+ type: string;
3374
3545
  id: string;
3375
3546
  disposition: string | null;
3376
3547
  createdAt: Date;
3377
3548
  updatedAt: Date;
3378
3549
  deletedAt: Date | null;
3550
+ categories: {
3551
+ id: string;
3552
+ value: string;
3553
+ createdAt: Date;
3554
+ updatedAt: Date;
3555
+ deletedAt: Date | null;
3556
+ level: 2 | 1 | 3;
3557
+ parentId: string | null;
3558
+ childCategoryList: {
3559
+ id: string;
3560
+ value: string;
3561
+ level: 2 | 1 | 3;
3562
+ parentId: string | null;
3563
+ childCategoryList: {
3564
+ id: string;
3565
+ value: string;
3566
+ level: 2 | 1 | 3;
3567
+ parentId: string | null;
3568
+ childCategoryList: any[];
3569
+ }[];
3570
+ }[];
3571
+ }[];
3379
3572
  tags: {
3380
3573
  id: string;
3381
3574
  name: string;
@@ -3685,11 +3878,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3685
3878
  handledTime: number | null;
3686
3879
  firstResponseTime: number | null;
3687
3880
  wrapUpForm: {
3881
+ type: string;
3688
3882
  id: string;
3689
3883
  disposition: string | null;
3690
3884
  createdAt: Date;
3691
3885
  updatedAt: Date;
3692
3886
  deletedAt: Date | null;
3887
+ categories: {
3888
+ id: string;
3889
+ value: string;
3890
+ createdAt: Date;
3891
+ updatedAt: Date;
3892
+ deletedAt: Date | null;
3893
+ level: 2 | 1 | 3;
3894
+ parentId: string | null;
3895
+ childCategoryList: {
3896
+ id: string;
3897
+ value: string;
3898
+ level: 2 | 1 | 3;
3899
+ parentId: string | null;
3900
+ childCategoryList: {
3901
+ id: string;
3902
+ value: string;
3903
+ level: 2 | 1 | 3;
3904
+ parentId: string | null;
3905
+ childCategoryList: any[];
3906
+ }[];
3907
+ }[];
3908
+ }[];
3693
3909
  tags: {
3694
3910
  id: string;
3695
3911
  name: string;
@@ -3999,11 +4215,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3999
4215
  handledTime: number | null;
4000
4216
  firstResponseTime: number | null;
4001
4217
  wrapUpForm: {
4218
+ type: string;
4002
4219
  id: string;
4003
4220
  disposition: string | null;
4004
4221
  createdAt: Date;
4005
4222
  updatedAt: Date;
4006
4223
  deletedAt: Date | null;
4224
+ categories: {
4225
+ id: string;
4226
+ value: string;
4227
+ createdAt: Date;
4228
+ updatedAt: Date;
4229
+ deletedAt: Date | null;
4230
+ level: 2 | 1 | 3;
4231
+ parentId: string | null;
4232
+ childCategoryList: {
4233
+ id: string;
4234
+ value: string;
4235
+ level: 2 | 1 | 3;
4236
+ parentId: string | null;
4237
+ childCategoryList: {
4238
+ id: string;
4239
+ value: string;
4240
+ level: 2 | 1 | 3;
4241
+ parentId: string | null;
4242
+ childCategoryList: any[];
4243
+ }[];
4244
+ }[];
4245
+ }[];
4007
4246
  tags: {
4008
4247
  id: string;
4009
4248
  name: string;
@@ -6059,11 +6298,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6059
6298
  handledTime: number | null;
6060
6299
  firstResponseTime: number | null;
6061
6300
  wrapUpForm: {
6301
+ type: string;
6062
6302
  id: string;
6063
6303
  disposition: string | null;
6064
6304
  createdAt: Date;
6065
6305
  updatedAt: Date;
6066
6306
  deletedAt: Date | null;
6307
+ categories: {
6308
+ id: string;
6309
+ value: string;
6310
+ createdAt: Date;
6311
+ updatedAt: Date;
6312
+ deletedAt: Date | null;
6313
+ level: 2 | 1 | 3;
6314
+ parentId: string | null;
6315
+ childCategoryList: {
6316
+ id: string;
6317
+ value: string;
6318
+ level: 2 | 1 | 3;
6319
+ parentId: string | null;
6320
+ childCategoryList: {
6321
+ id: string;
6322
+ value: string;
6323
+ level: 2 | 1 | 3;
6324
+ parentId: string | null;
6325
+ childCategoryList: any[];
6326
+ }[];
6327
+ }[];
6328
+ }[];
6067
6329
  tags: {
6068
6330
  id: string;
6069
6331
  name: string;
@@ -6699,11 +6961,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6699
6961
  handledTime: number | null;
6700
6962
  firstResponseTime: number | null;
6701
6963
  wrapUpForm: {
6964
+ type: string;
6702
6965
  id: string;
6703
6966
  disposition: string | null;
6704
6967
  createdAt: Date;
6705
6968
  updatedAt: Date;
6706
6969
  deletedAt: Date | null;
6970
+ categories: {
6971
+ id: string;
6972
+ value: string;
6973
+ createdAt: Date;
6974
+ updatedAt: Date;
6975
+ deletedAt: Date | null;
6976
+ level: 2 | 1 | 3;
6977
+ parentId: string | null;
6978
+ childCategoryList: {
6979
+ id: string;
6980
+ value: string;
6981
+ level: 2 | 1 | 3;
6982
+ parentId: string | null;
6983
+ childCategoryList: {
6984
+ id: string;
6985
+ value: string;
6986
+ level: 2 | 1 | 3;
6987
+ parentId: string | null;
6988
+ childCategoryList: any[];
6989
+ }[];
6990
+ }[];
6991
+ }[];
6707
6992
  tags: {
6708
6993
  id: string;
6709
6994
  name: string;
@@ -7341,11 +7626,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7341
7626
  handledTime: number | null;
7342
7627
  firstResponseTime: number | null;
7343
7628
  wrapUpForm: {
7629
+ type: string;
7344
7630
  id: string;
7345
7631
  disposition: string | null;
7346
7632
  createdAt: Date;
7347
7633
  updatedAt: Date;
7348
7634
  deletedAt: Date | null;
7635
+ categories: {
7636
+ id: string;
7637
+ value: string;
7638
+ createdAt: Date;
7639
+ updatedAt: Date;
7640
+ deletedAt: Date | null;
7641
+ level: 2 | 1 | 3;
7642
+ parentId: string | null;
7643
+ childCategoryList: {
7644
+ id: string;
7645
+ value: string;
7646
+ level: 2 | 1 | 3;
7647
+ parentId: string | null;
7648
+ childCategoryList: {
7649
+ id: string;
7650
+ value: string;
7651
+ level: 2 | 1 | 3;
7652
+ parentId: string | null;
7653
+ childCategoryList: any[];
7654
+ }[];
7655
+ }[];
7656
+ }[];
7349
7657
  tags: {
7350
7658
  id: string;
7351
7659
  name: string;
@@ -7984,11 +8292,34 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7984
8292
  handledTime: number | null;
7985
8293
  firstResponseTime: number | null;
7986
8294
  wrapUpForm: {
8295
+ type: string;
7987
8296
  id: string;
7988
8297
  disposition: string | null;
7989
8298
  createdAt: Date;
7990
8299
  updatedAt: Date;
7991
8300
  deletedAt: Date | null;
8301
+ categories: {
8302
+ id: string;
8303
+ value: string;
8304
+ createdAt: Date;
8305
+ updatedAt: Date;
8306
+ deletedAt: Date | null;
8307
+ level: 2 | 1 | 3;
8308
+ parentId: string | null;
8309
+ childCategoryList: {
8310
+ id: string;
8311
+ value: string;
8312
+ level: 2 | 1 | 3;
8313
+ parentId: string | null;
8314
+ childCategoryList: {
8315
+ id: string;
8316
+ value: string;
8317
+ level: 2 | 1 | 3;
8318
+ parentId: string | null;
8319
+ childCategoryList: any[];
8320
+ }[];
8321
+ }[];
8322
+ }[];
7992
8323
  tags: {
7993
8324
  id: string;
7994
8325
  name: string;
@@ -9859,8 +10190,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9859
10190
  deletedAt: z.ZodNullable<z.ZodDate>;
9860
10191
  note: z.ZodNullable<z.ZodString>;
9861
10192
  disposition: z.ZodNullable<z.ZodString>;
9862
- callFrom: z.ZodNullable<z.ZodString>;
9863
- callTo: z.ZodNullable<z.ZodString>;
10193
+ type: z.ZodString;
9864
10194
  tags: z.ZodArray<z.ZodObject<{
9865
10195
  id: z.ZodString;
9866
10196
  createdAt: z.ZodDate;
@@ -9880,12 +10210,137 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9880
10210
  updatedAt: Date;
9881
10211
  deletedAt: Date | null;
9882
10212
  }>, "many">;
10213
+ categories: z.ZodArray<z.ZodObject<{
10214
+ id: z.ZodString;
10215
+ createdAt: z.ZodDate;
10216
+ updatedAt: z.ZodDate;
10217
+ deletedAt: z.ZodNullable<z.ZodDate>;
10218
+ value: z.ZodString;
10219
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10220
+ parentId: z.ZodNullable<z.ZodString>;
10221
+ childCategoryList: z.ZodArray<z.ZodObject<{
10222
+ id: z.ZodString;
10223
+ value: z.ZodString;
10224
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10225
+ parentId: z.ZodNullable<z.ZodString>;
10226
+ childCategoryList: z.ZodArray<z.ZodObject<{
10227
+ id: z.ZodString;
10228
+ value: z.ZodString;
10229
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10230
+ parentId: z.ZodNullable<z.ZodString>;
10231
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
10232
+ }, "strip", z.ZodTypeAny, {
10233
+ id: string;
10234
+ value: string;
10235
+ level: 2 | 1 | 3;
10236
+ parentId: string | null;
10237
+ childCategoryList: any[];
10238
+ }, {
10239
+ id: string;
10240
+ value: string;
10241
+ level: 2 | 1 | 3;
10242
+ parentId: string | null;
10243
+ childCategoryList: any[];
10244
+ }>, "many">;
10245
+ }, "strip", z.ZodTypeAny, {
10246
+ id: string;
10247
+ value: string;
10248
+ level: 2 | 1 | 3;
10249
+ parentId: string | null;
10250
+ childCategoryList: {
10251
+ id: string;
10252
+ value: string;
10253
+ level: 2 | 1 | 3;
10254
+ parentId: string | null;
10255
+ childCategoryList: any[];
10256
+ }[];
10257
+ }, {
10258
+ id: string;
10259
+ value: string;
10260
+ level: 2 | 1 | 3;
10261
+ parentId: string | null;
10262
+ childCategoryList: {
10263
+ id: string;
10264
+ value: string;
10265
+ level: 2 | 1 | 3;
10266
+ parentId: string | null;
10267
+ childCategoryList: any[];
10268
+ }[];
10269
+ }>, "many">;
10270
+ }, "strip", z.ZodTypeAny, {
10271
+ id: string;
10272
+ value: string;
10273
+ createdAt: Date;
10274
+ updatedAt: Date;
10275
+ deletedAt: Date | null;
10276
+ level: 2 | 1 | 3;
10277
+ parentId: string | null;
10278
+ childCategoryList: {
10279
+ id: string;
10280
+ value: string;
10281
+ level: 2 | 1 | 3;
10282
+ parentId: string | null;
10283
+ childCategoryList: {
10284
+ id: string;
10285
+ value: string;
10286
+ level: 2 | 1 | 3;
10287
+ parentId: string | null;
10288
+ childCategoryList: any[];
10289
+ }[];
10290
+ }[];
10291
+ }, {
10292
+ id: string;
10293
+ value: string;
10294
+ createdAt: Date;
10295
+ updatedAt: Date;
10296
+ deletedAt: Date | null;
10297
+ level: 2 | 1 | 3;
10298
+ parentId: string | null;
10299
+ childCategoryList: {
10300
+ id: string;
10301
+ value: string;
10302
+ level: 2 | 1 | 3;
10303
+ parentId: string | null;
10304
+ childCategoryList: {
10305
+ id: string;
10306
+ value: string;
10307
+ level: 2 | 1 | 3;
10308
+ parentId: string | null;
10309
+ childCategoryList: any[];
10310
+ }[];
10311
+ }[];
10312
+ }>, "many">;
10313
+ callFrom: z.ZodNullable<z.ZodString>;
10314
+ callTo: z.ZodNullable<z.ZodString>;
9883
10315
  }, "strip", z.ZodTypeAny, {
10316
+ type: string;
9884
10317
  id: string;
9885
10318
  disposition: string | null;
9886
10319
  createdAt: Date;
9887
10320
  updatedAt: Date;
9888
10321
  deletedAt: Date | null;
10322
+ categories: {
10323
+ id: string;
10324
+ value: string;
10325
+ createdAt: Date;
10326
+ updatedAt: Date;
10327
+ deletedAt: Date | null;
10328
+ level: 2 | 1 | 3;
10329
+ parentId: string | null;
10330
+ childCategoryList: {
10331
+ id: string;
10332
+ value: string;
10333
+ level: 2 | 1 | 3;
10334
+ parentId: string | null;
10335
+ childCategoryList: {
10336
+ id: string;
10337
+ value: string;
10338
+ level: 2 | 1 | 3;
10339
+ parentId: string | null;
10340
+ childCategoryList: any[];
10341
+ }[];
10342
+ }[];
10343
+ }[];
9889
10344
  tags: {
9890
10345
  id: string;
9891
10346
  name: string;
@@ -9897,11 +10352,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9897
10352
  callTo: string | null;
9898
10353
  note: string | null;
9899
10354
  }, {
10355
+ type: string;
9900
10356
  id: string;
9901
10357
  disposition: string | null;
9902
10358
  createdAt: Date;
9903
10359
  updatedAt: Date;
9904
10360
  deletedAt: Date | null;
10361
+ categories: {
10362
+ id: string;
10363
+ value: string;
10364
+ createdAt: Date;
10365
+ updatedAt: Date;
10366
+ deletedAt: Date | null;
10367
+ level: 2 | 1 | 3;
10368
+ parentId: string | null;
10369
+ childCategoryList: {
10370
+ id: string;
10371
+ value: string;
10372
+ level: 2 | 1 | 3;
10373
+ parentId: string | null;
10374
+ childCategoryList: {
10375
+ id: string;
10376
+ value: string;
10377
+ level: 2 | 1 | 3;
10378
+ parentId: string | null;
10379
+ childCategoryList: any[];
10380
+ }[];
10381
+ }[];
10382
+ }[];
9905
10383
  tags: {
9906
10384
  id: string;
9907
10385
  name: string;
@@ -9930,11 +10408,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9930
10408
  handledTime: number | null;
9931
10409
  firstResponseTime: number | null;
9932
10410
  wrapUpForm: {
10411
+ type: string;
9933
10412
  id: string;
9934
10413
  disposition: string | null;
9935
10414
  createdAt: Date;
9936
10415
  updatedAt: Date;
9937
10416
  deletedAt: Date | null;
10417
+ categories: {
10418
+ id: string;
10419
+ value: string;
10420
+ createdAt: Date;
10421
+ updatedAt: Date;
10422
+ deletedAt: Date | null;
10423
+ level: 2 | 1 | 3;
10424
+ parentId: string | null;
10425
+ childCategoryList: {
10426
+ id: string;
10427
+ value: string;
10428
+ level: 2 | 1 | 3;
10429
+ parentId: string | null;
10430
+ childCategoryList: {
10431
+ id: string;
10432
+ value: string;
10433
+ level: 2 | 1 | 3;
10434
+ parentId: string | null;
10435
+ childCategoryList: any[];
10436
+ }[];
10437
+ }[];
10438
+ }[];
9938
10439
  tags: {
9939
10440
  id: string;
9940
10441
  name: string;
@@ -9963,11 +10464,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9963
10464
  handledTime: number | null;
9964
10465
  firstResponseTime: number | null;
9965
10466
  wrapUpForm: {
10467
+ type: string;
9966
10468
  id: string;
9967
10469
  disposition: string | null;
9968
10470
  createdAt: Date;
9969
10471
  updatedAt: Date;
9970
10472
  deletedAt: Date | null;
10473
+ categories: {
10474
+ id: string;
10475
+ value: string;
10476
+ createdAt: Date;
10477
+ updatedAt: Date;
10478
+ deletedAt: Date | null;
10479
+ level: 2 | 1 | 3;
10480
+ parentId: string | null;
10481
+ childCategoryList: {
10482
+ id: string;
10483
+ value: string;
10484
+ level: 2 | 1 | 3;
10485
+ parentId: string | null;
10486
+ childCategoryList: {
10487
+ id: string;
10488
+ value: string;
10489
+ level: 2 | 1 | 3;
10490
+ parentId: string | null;
10491
+ childCategoryList: any[];
10492
+ }[];
10493
+ }[];
10494
+ }[];
9971
10495
  tags: {
9972
10496
  id: string;
9973
10497
  name: string;
@@ -10234,11 +10758,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10234
10758
  handledTime: number | null;
10235
10759
  firstResponseTime: number | null;
10236
10760
  wrapUpForm: {
10761
+ type: string;
10237
10762
  id: string;
10238
10763
  disposition: string | null;
10239
10764
  createdAt: Date;
10240
10765
  updatedAt: Date;
10241
10766
  deletedAt: Date | null;
10767
+ categories: {
10768
+ id: string;
10769
+ value: string;
10770
+ createdAt: Date;
10771
+ updatedAt: Date;
10772
+ deletedAt: Date | null;
10773
+ level: 2 | 1 | 3;
10774
+ parentId: string | null;
10775
+ childCategoryList: {
10776
+ id: string;
10777
+ value: string;
10778
+ level: 2 | 1 | 3;
10779
+ parentId: string | null;
10780
+ childCategoryList: {
10781
+ id: string;
10782
+ value: string;
10783
+ level: 2 | 1 | 3;
10784
+ parentId: string | null;
10785
+ childCategoryList: any[];
10786
+ }[];
10787
+ }[];
10788
+ }[];
10242
10789
  tags: {
10243
10790
  id: string;
10244
10791
  name: string;
@@ -10505,11 +11052,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10505
11052
  handledTime: number | null;
10506
11053
  firstResponseTime: number | null;
10507
11054
  wrapUpForm: {
11055
+ type: string;
10508
11056
  id: string;
10509
11057
  disposition: string | null;
10510
11058
  createdAt: Date;
10511
11059
  updatedAt: Date;
10512
11060
  deletedAt: Date | null;
11061
+ categories: {
11062
+ id: string;
11063
+ value: string;
11064
+ createdAt: Date;
11065
+ updatedAt: Date;
11066
+ deletedAt: Date | null;
11067
+ level: 2 | 1 | 3;
11068
+ parentId: string | null;
11069
+ childCategoryList: {
11070
+ id: string;
11071
+ value: string;
11072
+ level: 2 | 1 | 3;
11073
+ parentId: string | null;
11074
+ childCategoryList: {
11075
+ id: string;
11076
+ value: string;
11077
+ level: 2 | 1 | 3;
11078
+ parentId: string | null;
11079
+ childCategoryList: any[];
11080
+ }[];
11081
+ }[];
11082
+ }[];
10513
11083
  tags: {
10514
11084
  id: string;
10515
11085
  name: string;
@@ -11431,11 +12001,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11431
12001
  handledTime: number | null;
11432
12002
  firstResponseTime: number | null;
11433
12003
  wrapUpForm: {
12004
+ type: string;
11434
12005
  id: string;
11435
12006
  disposition: string | null;
11436
12007
  createdAt: Date;
11437
12008
  updatedAt: Date;
11438
12009
  deletedAt: Date | null;
12010
+ categories: {
12011
+ id: string;
12012
+ value: string;
12013
+ createdAt: Date;
12014
+ updatedAt: Date;
12015
+ deletedAt: Date | null;
12016
+ level: 2 | 1 | 3;
12017
+ parentId: string | null;
12018
+ childCategoryList: {
12019
+ id: string;
12020
+ value: string;
12021
+ level: 2 | 1 | 3;
12022
+ parentId: string | null;
12023
+ childCategoryList: {
12024
+ id: string;
12025
+ value: string;
12026
+ level: 2 | 1 | 3;
12027
+ parentId: string | null;
12028
+ childCategoryList: any[];
12029
+ }[];
12030
+ }[];
12031
+ }[];
11439
12032
  tags: {
11440
12033
  id: string;
11441
12034
  name: string;
@@ -11864,11 +12457,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11864
12457
  handledTime: number | null;
11865
12458
  firstResponseTime: number | null;
11866
12459
  wrapUpForm: {
12460
+ type: string;
11867
12461
  id: string;
11868
12462
  disposition: string | null;
11869
12463
  createdAt: Date;
11870
12464
  updatedAt: Date;
11871
12465
  deletedAt: Date | null;
12466
+ categories: {
12467
+ id: string;
12468
+ value: string;
12469
+ createdAt: Date;
12470
+ updatedAt: Date;
12471
+ deletedAt: Date | null;
12472
+ level: 2 | 1 | 3;
12473
+ parentId: string | null;
12474
+ childCategoryList: {
12475
+ id: string;
12476
+ value: string;
12477
+ level: 2 | 1 | 3;
12478
+ parentId: string | null;
12479
+ childCategoryList: {
12480
+ id: string;
12481
+ value: string;
12482
+ level: 2 | 1 | 3;
12483
+ parentId: string | null;
12484
+ childCategoryList: any[];
12485
+ }[];
12486
+ }[];
12487
+ }[];
11872
12488
  tags: {
11873
12489
  id: string;
11874
12490
  name: string;
@@ -12299,11 +12915,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12299
12915
  handledTime: number | null;
12300
12916
  firstResponseTime: number | null;
12301
12917
  wrapUpForm: {
12918
+ type: string;
12302
12919
  id: string;
12303
12920
  disposition: string | null;
12304
12921
  createdAt: Date;
12305
12922
  updatedAt: Date;
12306
12923
  deletedAt: Date | null;
12924
+ categories: {
12925
+ id: string;
12926
+ value: string;
12927
+ createdAt: Date;
12928
+ updatedAt: Date;
12929
+ deletedAt: Date | null;
12930
+ level: 2 | 1 | 3;
12931
+ parentId: string | null;
12932
+ childCategoryList: {
12933
+ id: string;
12934
+ value: string;
12935
+ level: 2 | 1 | 3;
12936
+ parentId: string | null;
12937
+ childCategoryList: {
12938
+ id: string;
12939
+ value: string;
12940
+ level: 2 | 1 | 3;
12941
+ parentId: string | null;
12942
+ childCategoryList: any[];
12943
+ }[];
12944
+ }[];
12945
+ }[];
12307
12946
  tags: {
12308
12947
  id: string;
12309
12948
  name: string;
@@ -12734,11 +13373,34 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
12734
13373
  handledTime: number | null;
12735
13374
  firstResponseTime: number | null;
12736
13375
  wrapUpForm: {
13376
+ type: string;
12737
13377
  id: string;
12738
13378
  disposition: string | null;
12739
13379
  createdAt: Date;
12740
13380
  updatedAt: Date;
12741
13381
  deletedAt: Date | null;
13382
+ categories: {
13383
+ id: string;
13384
+ value: string;
13385
+ createdAt: Date;
13386
+ updatedAt: Date;
13387
+ deletedAt: Date | null;
13388
+ level: 2 | 1 | 3;
13389
+ parentId: string | null;
13390
+ childCategoryList: {
13391
+ id: string;
13392
+ value: string;
13393
+ level: 2 | 1 | 3;
13394
+ parentId: string | null;
13395
+ childCategoryList: {
13396
+ id: string;
13397
+ value: string;
13398
+ level: 2 | 1 | 3;
13399
+ parentId: string | null;
13400
+ childCategoryList: any[];
13401
+ }[];
13402
+ }[];
13403
+ }[];
12742
13404
  tags: {
12743
13405
  id: string;
12744
13406
  name: string;