@kl1/contracts 1.1.21-uat → 1.1.21

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.
@@ -648,49 +648,19 @@ export declare const apiContract: {
648
648
  query: import("zod").ZodObject<{
649
649
  page: import("zod").ZodDefault<import("zod").ZodNumber>;
650
650
  pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
651
- keyword: import("zod").ZodOptional<import("zod").ZodObject<{
652
- value: import("zod").ZodString;
653
- category: import("zod").ZodUnion<[import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"message">]>;
654
- }, "strip", import("zod").ZodTypeAny, {
655
- value: string;
656
- category: "message" | "contact";
657
- }, {
658
- value: string;
659
- category: "message" | "contact";
660
- }>>;
661
- contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
662
- channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
663
- date: import("zod").ZodOptional<import("zod").ZodString>;
664
- contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
665
- assignees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
651
+ keyword: import("zod").ZodOptional<import("zod").ZodString>;
666
652
  level1: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"open">, import("zod").ZodLiteral<"close">, import("zod").ZodLiteral<"inbox">, import("zod").ZodLiteral<"sent">, import("zod").ZodLiteral<"scheduled">, import("zod").ZodLiteral<"starred">]>>;
667
653
  level2: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"all">, import("zod").ZodLiteral<"unassign">, import("zod").ZodLiteral<"mine">, import("zod").ZodLiteral<"other">]>>;
668
654
  }, "strip", import("zod").ZodTypeAny, {
669
655
  page: number;
670
656
  pageSize: number;
671
- keyword?: {
672
- value: string;
673
- category: "message" | "contact";
674
- } | undefined;
675
- contactLabels?: string[] | undefined;
676
- channels?: string[] | undefined;
677
- date?: string | undefined;
678
- contacts?: string[] | undefined;
679
- assignees?: string[] | undefined;
657
+ keyword?: string | undefined;
680
658
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
681
659
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
682
660
  }, {
683
661
  page?: number | undefined;
684
662
  pageSize?: number | undefined;
685
- keyword?: {
686
- value: string;
687
- category: "message" | "contact";
688
- } | undefined;
689
- contactLabels?: string[] | undefined;
690
- channels?: string[] | undefined;
691
- date?: string | undefined;
692
- contacts?: string[] | undefined;
693
- assignees?: string[] | undefined;
663
+ keyword?: string | undefined;
694
664
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
695
665
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
696
666
  }>;
@@ -2451,324 +2421,146 @@ export declare const apiContract: {
2451
2421
  };
2452
2422
  }>;
2453
2423
  unReadMessageCount: import("zod").ZodNumber;
2454
- cxlog: import("zod").ZodObject<{
2455
- id: import("zod").ZodString;
2456
- createdAt: import("zod").ZodDate;
2457
- updatedAt: import("zod").ZodDate;
2458
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2459
- caseId: import("zod").ZodNumber;
2460
- entityId: import("zod").ZodString;
2461
- entityName: import("zod").ZodString;
2462
- contactId: import("zod").ZodNullable<import("zod").ZodString>;
2463
- channel: import("zod").ZodNullable<import("zod").ZodString>;
2464
- queueId: import("zod").ZodNullable<import("zod").ZodString>;
2465
- agentId: import("zod").ZodNullable<import("zod").ZodString>;
2466
- direction: import("zod").ZodNullable<import("zod").ZodString>;
2467
- startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
2468
- handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
2469
- firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
2470
- wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
2471
- id: import("zod").ZodString;
2472
- createdAt: import("zod").ZodDate;
2473
- updatedAt: import("zod").ZodDate;
2474
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2475
- note: import("zod").ZodNullable<import("zod").ZodString>;
2476
- disposition: import("zod").ZodNullable<import("zod").ZodString>;
2477
- callFrom: import("zod").ZodNullable<import("zod").ZodString>;
2478
- callTo: import("zod").ZodNullable<import("zod").ZodString>;
2479
- tags: import("zod").ZodArray<import("zod").ZodObject<{
2480
- id: import("zod").ZodString;
2481
- createdAt: import("zod").ZodDate;
2482
- updatedAt: import("zod").ZodDate;
2483
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2484
- name: import("zod").ZodString;
2485
- }, "strip", import("zod").ZodTypeAny, {
2486
- id: string;
2487
- name: string;
2488
- createdAt: Date;
2489
- updatedAt: Date;
2490
- deletedAt: Date | null;
2491
- }, {
2492
- id: string;
2493
- name: string;
2494
- createdAt: Date;
2495
- updatedAt: Date;
2496
- deletedAt: Date | null;
2497
- }>, "many">;
2498
- }, "strip", import("zod").ZodTypeAny, {
2424
+ }, "strip", import("zod").ZodTypeAny, {
2425
+ id: string;
2426
+ direction: string;
2427
+ createdAt: Date;
2428
+ updatedAt: Date;
2429
+ deletedAt: Date | null;
2430
+ tags: {
2431
+ id: string;
2432
+ name: string;
2433
+ color: string;
2434
+ createdAt: Date;
2435
+ updatedAt: Date;
2436
+ deletedAt: Date | null;
2437
+ }[];
2438
+ note: string;
2439
+ lastMessage: {
2440
+ id: string;
2441
+ direction: string;
2442
+ action: string;
2443
+ date: Date;
2444
+ createdAt: Date;
2445
+ updatedAt: Date;
2446
+ deletedAt: Date | null;
2447
+ roomId: string;
2448
+ subject: string;
2449
+ textPlain: string;
2450
+ textHtml: string;
2451
+ textId: string;
2452
+ emailEngineEmailId: string;
2453
+ emailEngineMessageId: string;
2454
+ emailEngineReplyTo: string | null;
2455
+ unseen: boolean;
2456
+ seemsLikeNew: boolean;
2457
+ from: {
2499
2458
  id: string;
2500
- disposition: string | null;
2459
+ address: string;
2460
+ name: string;
2501
2461
  createdAt: Date;
2502
2462
  updatedAt: Date;
2503
2463
  deletedAt: Date | null;
2504
- tags: {
2505
- id: string;
2506
- name: string;
2507
- createdAt: Date;
2508
- updatedAt: Date;
2509
- deletedAt: Date | null;
2510
- }[];
2511
- callFrom: string | null;
2512
- callTo: string | null;
2513
- note: string | null;
2514
- }, {
2464
+ }[];
2465
+ to: {
2515
2466
  id: string;
2516
- disposition: string | null;
2467
+ address: string;
2468
+ name: string;
2517
2469
  createdAt: Date;
2518
2470
  updatedAt: Date;
2519
2471
  deletedAt: Date | null;
2520
- tags: {
2521
- id: string;
2522
- name: string;
2523
- createdAt: Date;
2524
- updatedAt: Date;
2525
- deletedAt: Date | null;
2526
- }[];
2527
- callFrom: string | null;
2528
- callTo: string | null;
2529
- note: string | null;
2530
- }>>;
2531
- }, "strip", import("zod").ZodTypeAny, {
2532
- id: string;
2533
- channel: string | null;
2534
- direction: string | null;
2535
- createdAt: Date;
2536
- updatedAt: Date;
2537
- deletedAt: Date | null;
2538
- entityId: string;
2539
- queueId: string | null;
2540
- contactId: string | null;
2541
- caseId: number;
2542
- entityName: string;
2543
- agentId: string | null;
2544
- startedDate: Date | null;
2545
- handledTime: number | null;
2546
- firstResponseTime: number | null;
2547
- wrapUpForm: {
2472
+ }[];
2473
+ cc: {
2548
2474
  id: string;
2549
- disposition: string | null;
2475
+ address: string;
2476
+ name: string;
2550
2477
  createdAt: Date;
2551
2478
  updatedAt: Date;
2552
2479
  deletedAt: Date | null;
2553
- tags: {
2554
- id: string;
2555
- name: string;
2556
- createdAt: Date;
2557
- updatedAt: Date;
2558
- deletedAt: Date | null;
2559
- }[];
2560
- callFrom: string | null;
2561
- callTo: string | null;
2562
- note: string | null;
2563
- } | null;
2564
- }, {
2565
- id: string;
2566
- channel: string | null;
2567
- direction: string | null;
2568
- createdAt: Date;
2569
- updatedAt: Date;
2570
- deletedAt: Date | null;
2571
- entityId: string;
2572
- queueId: string | null;
2573
- contactId: string | null;
2574
- caseId: number;
2575
- entityName: string;
2576
- agentId: string | null;
2577
- startedDate: Date | null;
2578
- handledTime: number | null;
2579
- firstResponseTime: number | null;
2580
- wrapUpForm: {
2480
+ }[];
2481
+ bcc: {
2581
2482
  id: string;
2582
- disposition: string | null;
2483
+ address: string;
2484
+ name: string;
2583
2485
  createdAt: Date;
2584
2486
  updatedAt: Date;
2585
2487
  deletedAt: Date | null;
2586
- tags: {
2488
+ }[];
2489
+ attachments: {
2490
+ id: string;
2491
+ createdAt: Date;
2492
+ updatedAt: Date;
2493
+ deletedAt: Date | null;
2494
+ fileName: string;
2495
+ fileType: string;
2496
+ uploadId: string;
2497
+ upload: {
2587
2498
  id: string;
2588
- name: string;
2589
2499
  createdAt: Date;
2590
2500
  updatedAt: Date;
2591
2501
  deletedAt: Date | null;
2592
- }[];
2593
- callFrom: string | null;
2594
- callTo: string | null;
2595
- note: string | null;
2596
- } | null;
2597
- }>;
2598
- }, "strip", import("zod").ZodTypeAny, {
2599
- id: string;
2600
- direction: string;
2601
- createdAt: Date;
2602
- updatedAt: Date;
2603
- deletedAt: Date | null;
2604
- tags: {
2502
+ extensionName: string;
2503
+ fileName: string;
2504
+ fileKey: string;
2505
+ bucketName: string;
2506
+ fileSize: number;
2507
+ fileUrl: string;
2508
+ };
2509
+ roomId: string;
2510
+ messageId: string;
2511
+ emailEngineAttachmentId: string;
2512
+ }[];
2513
+ };
2514
+ assignee: {
2605
2515
  id: string;
2516
+ address: string | null;
2517
+ name: string;
2518
+ email: string;
2519
+ createdAt: Date;
2520
+ updatedAt: Date;
2521
+ deletedAt: Date | null;
2522
+ phone: string | null;
2523
+ notificationCount: number | null;
2524
+ };
2525
+ resolved: boolean;
2526
+ assigneeId: string | null;
2527
+ subject: string;
2528
+ from: {
2529
+ id: string;
2530
+ address: string;
2606
2531
  name: string;
2607
- color: string;
2608
2532
  createdAt: Date;
2609
2533
  updatedAt: Date;
2610
2534
  deletedAt: Date | null;
2611
2535
  }[];
2612
- note: string;
2613
- lastMessage: {
2614
- id: string;
2615
- direction: string;
2616
- action: string;
2617
- date: Date;
2618
- createdAt: Date;
2619
- updatedAt: Date;
2620
- deletedAt: Date | null;
2621
- roomId: string;
2622
- subject: string;
2623
- textPlain: string;
2624
- textHtml: string;
2625
- textId: string;
2626
- emailEngineEmailId: string;
2627
- emailEngineMessageId: string;
2628
- emailEngineReplyTo: string | null;
2629
- unseen: boolean;
2630
- seemsLikeNew: boolean;
2631
- from: {
2632
- id: string;
2633
- address: string;
2634
- name: string;
2635
- createdAt: Date;
2636
- updatedAt: Date;
2637
- deletedAt: Date | null;
2638
- }[];
2639
- to: {
2640
- id: string;
2641
- address: string;
2642
- name: string;
2643
- createdAt: Date;
2644
- updatedAt: Date;
2645
- deletedAt: Date | null;
2646
- }[];
2647
- cc: {
2648
- id: string;
2649
- address: string;
2650
- name: string;
2651
- createdAt: Date;
2652
- updatedAt: Date;
2653
- deletedAt: Date | null;
2654
- }[];
2655
- bcc: {
2656
- id: string;
2657
- address: string;
2658
- name: string;
2659
- createdAt: Date;
2660
- updatedAt: Date;
2661
- deletedAt: Date | null;
2662
- }[];
2663
- attachments: {
2664
- id: string;
2665
- createdAt: Date;
2666
- updatedAt: Date;
2667
- deletedAt: Date | null;
2668
- fileName: string;
2669
- fileType: string;
2670
- uploadId: string;
2671
- upload: {
2672
- id: string;
2673
- createdAt: Date;
2674
- updatedAt: Date;
2675
- deletedAt: Date | null;
2676
- extensionName: string;
2677
- fileName: string;
2678
- fileKey: string;
2679
- bucketName: string;
2680
- fileSize: number;
2681
- fileUrl: string;
2682
- };
2683
- roomId: string;
2684
- messageId: string;
2685
- emailEngineAttachmentId: string;
2686
- }[];
2687
- };
2688
- assignee: {
2689
- id: string;
2690
- address: string | null;
2691
- name: string;
2692
- email: string;
2693
- createdAt: Date;
2694
- updatedAt: Date;
2695
- deletedAt: Date | null;
2696
- phone: string | null;
2697
- notificationCount: number | null;
2698
- };
2699
- resolved: boolean;
2700
- cxlog: {
2701
- id: string;
2702
- channel: string | null;
2703
- direction: string | null;
2704
- createdAt: Date;
2705
- updatedAt: Date;
2706
- deletedAt: Date | null;
2707
- entityId: string;
2708
- queueId: string | null;
2709
- contactId: string | null;
2710
- caseId: number;
2711
- entityName: string;
2712
- agentId: string | null;
2713
- startedDate: Date | null;
2714
- handledTime: number | null;
2715
- firstResponseTime: number | null;
2716
- wrapUpForm: {
2717
- id: string;
2718
- disposition: string | null;
2719
- createdAt: Date;
2720
- updatedAt: Date;
2721
- deletedAt: Date | null;
2722
- tags: {
2723
- id: string;
2724
- name: string;
2725
- createdAt: Date;
2726
- updatedAt: Date;
2727
- deletedAt: Date | null;
2728
- }[];
2729
- callFrom: string | null;
2730
- callTo: string | null;
2731
- note: string | null;
2732
- } | null;
2733
- };
2734
- assigneeId: string | null;
2735
- subject: string;
2736
- from: {
2737
- id: string;
2738
- address: string;
2739
- name: string;
2740
- createdAt: Date;
2741
- updatedAt: Date;
2742
- deletedAt: Date | null;
2743
- }[];
2744
- to: {
2745
- id: string;
2746
- address: string;
2747
- name: string;
2748
- createdAt: Date;
2749
- updatedAt: Date;
2750
- deletedAt: Date | null;
2751
- }[];
2752
- cc: {
2753
- id: string;
2754
- address: string;
2755
- name: string;
2756
- createdAt: Date;
2757
- updatedAt: Date;
2758
- deletedAt: Date | null;
2759
- }[];
2760
- bcc: {
2761
- id: string;
2762
- address: string;
2763
- name: string;
2764
- createdAt: Date;
2765
- updatedAt: Date;
2766
- deletedAt: Date | null;
2767
- }[];
2768
- mailId: string;
2769
- lastMessageId: string;
2770
- firstMessageId: string;
2771
- firstMessage: {
2536
+ to: {
2537
+ id: string;
2538
+ address: string;
2539
+ name: string;
2540
+ createdAt: Date;
2541
+ updatedAt: Date;
2542
+ deletedAt: Date | null;
2543
+ }[];
2544
+ cc: {
2545
+ id: string;
2546
+ address: string;
2547
+ name: string;
2548
+ createdAt: Date;
2549
+ updatedAt: Date;
2550
+ deletedAt: Date | null;
2551
+ }[];
2552
+ bcc: {
2553
+ id: string;
2554
+ address: string;
2555
+ name: string;
2556
+ createdAt: Date;
2557
+ updatedAt: Date;
2558
+ deletedAt: Date | null;
2559
+ }[];
2560
+ mailId: string;
2561
+ lastMessageId: string;
2562
+ firstMessageId: string;
2563
+ firstMessage: {
2772
2564
  id: string;
2773
2565
  direction: string;
2774
2566
  action: string;
@@ -3141,40 +2933,6 @@ export declare const apiContract: {
3141
2933
  notificationCount: number | null;
3142
2934
  };
3143
2935
  resolved: boolean;
3144
- cxlog: {
3145
- id: string;
3146
- channel: string | null;
3147
- direction: string | null;
3148
- createdAt: Date;
3149
- updatedAt: Date;
3150
- deletedAt: Date | null;
3151
- entityId: string;
3152
- queueId: string | null;
3153
- contactId: string | null;
3154
- caseId: number;
3155
- entityName: string;
3156
- agentId: string | null;
3157
- startedDate: Date | null;
3158
- handledTime: number | null;
3159
- firstResponseTime: number | null;
3160
- wrapUpForm: {
3161
- id: string;
3162
- disposition: string | null;
3163
- createdAt: Date;
3164
- updatedAt: Date;
3165
- deletedAt: Date | null;
3166
- tags: {
3167
- id: string;
3168
- name: string;
3169
- createdAt: Date;
3170
- updatedAt: Date;
3171
- deletedAt: Date | null;
3172
- }[];
3173
- callFrom: string | null;
3174
- callTo: string | null;
3175
- note: string | null;
3176
- } | null;
3177
- };
3178
2936
  assigneeId: string | null;
3179
2937
  subject: string;
3180
2938
  from: {
@@ -3590,40 +3348,6 @@ export declare const apiContract: {
3590
3348
  notificationCount: number | null;
3591
3349
  };
3592
3350
  resolved: boolean;
3593
- cxlog: {
3594
- id: string;
3595
- channel: string | null;
3596
- direction: string | null;
3597
- createdAt: Date;
3598
- updatedAt: Date;
3599
- deletedAt: Date | null;
3600
- entityId: string;
3601
- queueId: string | null;
3602
- contactId: string | null;
3603
- caseId: number;
3604
- entityName: string;
3605
- agentId: string | null;
3606
- startedDate: Date | null;
3607
- handledTime: number | null;
3608
- firstResponseTime: number | null;
3609
- wrapUpForm: {
3610
- id: string;
3611
- disposition: string | null;
3612
- createdAt: Date;
3613
- updatedAt: Date;
3614
- deletedAt: Date | null;
3615
- tags: {
3616
- id: string;
3617
- name: string;
3618
- createdAt: Date;
3619
- updatedAt: Date;
3620
- deletedAt: Date | null;
3621
- }[];
3622
- callFrom: string | null;
3623
- callTo: string | null;
3624
- note: string | null;
3625
- } | null;
3626
- };
3627
3351
  assigneeId: string | null;
3628
3352
  subject: string;
3629
3353
  from: {
@@ -4040,40 +3764,6 @@ export declare const apiContract: {
4040
3764
  notificationCount: number | null;
4041
3765
  };
4042
3766
  resolved: boolean;
4043
- cxlog: {
4044
- id: string;
4045
- channel: string | null;
4046
- direction: string | null;
4047
- createdAt: Date;
4048
- updatedAt: Date;
4049
- deletedAt: Date | null;
4050
- entityId: string;
4051
- queueId: string | null;
4052
- contactId: string | null;
4053
- caseId: number;
4054
- entityName: string;
4055
- agentId: string | null;
4056
- startedDate: Date | null;
4057
- handledTime: number | null;
4058
- firstResponseTime: number | null;
4059
- wrapUpForm: {
4060
- id: string;
4061
- disposition: string | null;
4062
- createdAt: Date;
4063
- updatedAt: Date;
4064
- deletedAt: Date | null;
4065
- tags: {
4066
- id: string;
4067
- name: string;
4068
- createdAt: Date;
4069
- updatedAt: Date;
4070
- deletedAt: Date | null;
4071
- }[];
4072
- callFrom: string | null;
4073
- callTo: string | null;
4074
- note: string | null;
4075
- } | null;
4076
- };
4077
3767
  assigneeId: string | null;
4078
3768
  subject: string;
4079
3769
  from: {
@@ -4391,623 +4081,8 @@ export declare const apiContract: {
4391
4081
  };
4392
4082
  path: "mail/room";
4393
4083
  };
4394
- getRoomCounts: {
4395
- summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
4396
- method: "GET";
4397
- responses: {
4398
- 401: import("zod").ZodObject<{
4399
- message: import("zod").ZodString;
4400
- error: import("zod").ZodAny;
4401
- }, "strip", import("zod").ZodTypeAny, {
4402
- message: string;
4403
- error?: any;
4404
- }, {
4405
- message: string;
4406
- error?: any;
4407
- }>;
4408
- 404: import("zod").ZodObject<{
4409
- message: import("zod").ZodString;
4410
- error: import("zod").ZodAny;
4411
- }, "strip", import("zod").ZodTypeAny, {
4412
- message: string;
4413
- error?: any;
4414
- }, {
4415
- message: string;
4416
- error?: any;
4417
- }>;
4418
- 422: import("zod").ZodObject<{
4419
- message: import("zod").ZodString;
4420
- error: import("zod").ZodAny;
4421
- }, "strip", import("zod").ZodTypeAny, {
4422
- message: string;
4423
- error?: any;
4424
- }, {
4425
- message: string;
4426
- error?: any;
4427
- }>;
4428
- 200: import("zod").ZodObject<{
4429
- requestId: import("zod").ZodString;
4430
- data: import("zod").ZodObject<{
4431
- general: import("zod").ZodArray<import("zod").ZodObject<{
4432
- name: import("zod").ZodString;
4433
- count: import("zod").ZodNumber;
4434
- unReadMessagesCount: import("zod").ZodNumber;
4435
- }, "strip", import("zod").ZodTypeAny, {
4436
- name: string;
4437
- count: number;
4438
- unReadMessagesCount: number;
4439
- }, {
4440
- name: string;
4441
- count: number;
4442
- unReadMessagesCount: number;
4443
- }>, "many">;
4444
- channels: import("zod").ZodArray<import("zod").ZodObject<{
4445
- channel: import("zod").ZodObject<{
4446
- id: import("zod").ZodString;
4447
- createdAt: import("zod").ZodDate;
4448
- updatedAt: import("zod").ZodDate;
4449
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
4450
- name: import("zod").ZodString;
4451
- address: import("zod").ZodString;
4452
- accountId: import("zod").ZodString;
4453
- mailServerId: import("zod").ZodString;
4454
- mailServer: import("zod").ZodObject<{
4455
- id: import("zod").ZodString;
4456
- createdAt: import("zod").ZodDate;
4457
- updatedAt: import("zod").ZodDate;
4458
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
4459
- name: import("zod").ZodString;
4460
- smtpHost: import("zod").ZodString;
4461
- smtpPort: import("zod").ZodNumber;
4462
- smtpTlsPort: import("zod").ZodNumber;
4463
- useTlsForSmtp: import("zod").ZodBoolean;
4464
- imapHost: import("zod").ZodString;
4465
- imapPort: import("zod").ZodNumber;
4466
- imapTlsPort: import("zod").ZodNumber;
4467
- useTlsForImap: import("zod").ZodBoolean;
4468
- }, "strip", import("zod").ZodTypeAny, {
4469
- id: string;
4470
- name: string;
4471
- createdAt: Date;
4472
- updatedAt: Date;
4473
- deletedAt: Date | null;
4474
- smtpHost: string;
4475
- smtpPort: number;
4476
- smtpTlsPort: number;
4477
- useTlsForSmtp: boolean;
4478
- imapHost: string;
4479
- imapPort: number;
4480
- imapTlsPort: number;
4481
- useTlsForImap: boolean;
4482
- }, {
4483
- id: string;
4484
- name: string;
4485
- createdAt: Date;
4486
- updatedAt: Date;
4487
- deletedAt: Date | null;
4488
- smtpHost: string;
4489
- smtpPort: number;
4490
- smtpTlsPort: number;
4491
- useTlsForSmtp: boolean;
4492
- imapHost: string;
4493
- imapPort: number;
4494
- imapTlsPort: number;
4495
- useTlsForImap: boolean;
4496
- }>;
4497
- state: import("zod").ZodUnion<[import("zod").ZodLiteral<"init">, import("zod").ZodLiteral<"syncing">, import("zod").ZodLiteral<"connecting">, import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">, import("zod").ZodLiteral<"authenticationError">, import("zod").ZodLiteral<"connectError">, import("zod").ZodLiteral<"unset">]>;
4498
- }, "strip", import("zod").ZodTypeAny, {
4499
- id: string;
4500
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
4501
- address: string;
4502
- name: string;
4503
- createdAt: Date;
4504
- updatedAt: Date;
4505
- deletedAt: Date | null;
4506
- accountId: string;
4507
- mailServerId: string;
4508
- mailServer: {
4509
- id: string;
4510
- name: string;
4511
- createdAt: Date;
4512
- updatedAt: Date;
4513
- deletedAt: Date | null;
4514
- smtpHost: string;
4515
- smtpPort: number;
4516
- smtpTlsPort: number;
4517
- useTlsForSmtp: boolean;
4518
- imapHost: string;
4519
- imapPort: number;
4520
- imapTlsPort: number;
4521
- useTlsForImap: boolean;
4522
- };
4523
- }, {
4524
- id: string;
4525
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
4526
- address: string;
4527
- name: string;
4528
- createdAt: Date;
4529
- updatedAt: Date;
4530
- deletedAt: Date | null;
4531
- accountId: string;
4532
- mailServerId: string;
4533
- mailServer: {
4534
- id: string;
4535
- name: string;
4536
- createdAt: Date;
4537
- updatedAt: Date;
4538
- deletedAt: Date | null;
4539
- smtpHost: string;
4540
- smtpPort: number;
4541
- smtpTlsPort: number;
4542
- useTlsForSmtp: boolean;
4543
- imapHost: string;
4544
- imapPort: number;
4545
- imapTlsPort: number;
4546
- useTlsForImap: boolean;
4547
- };
4548
- }>;
4549
- count: import("zod").ZodNumber;
4550
- }, "strip", import("zod").ZodTypeAny, {
4551
- channel: {
4552
- id: string;
4553
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
4554
- address: string;
4555
- name: string;
4556
- createdAt: Date;
4557
- updatedAt: Date;
4558
- deletedAt: Date | null;
4559
- accountId: string;
4560
- mailServerId: string;
4561
- mailServer: {
4562
- id: string;
4563
- name: string;
4564
- createdAt: Date;
4565
- updatedAt: Date;
4566
- deletedAt: Date | null;
4567
- smtpHost: string;
4568
- smtpPort: number;
4569
- smtpTlsPort: number;
4570
- useTlsForSmtp: boolean;
4571
- imapHost: string;
4572
- imapPort: number;
4573
- imapTlsPort: number;
4574
- useTlsForImap: boolean;
4575
- };
4576
- };
4577
- count: number;
4578
- }, {
4579
- channel: {
4580
- id: string;
4581
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
4582
- address: string;
4583
- name: string;
4584
- createdAt: Date;
4585
- updatedAt: Date;
4586
- deletedAt: Date | null;
4587
- accountId: string;
4588
- mailServerId: string;
4589
- mailServer: {
4590
- id: string;
4591
- name: string;
4592
- createdAt: Date;
4593
- updatedAt: Date;
4594
- deletedAt: Date | null;
4595
- smtpHost: string;
4596
- smtpPort: number;
4597
- smtpTlsPort: number;
4598
- useTlsForSmtp: boolean;
4599
- imapHost: string;
4600
- imapPort: number;
4601
- imapTlsPort: number;
4602
- useTlsForImap: boolean;
4603
- };
4604
- };
4605
- count: number;
4606
- }>, "many">;
4607
- contactLabels: import("zod").ZodArray<import("zod").ZodObject<{
4608
- label: import("zod").ZodObject<{
4609
- id: import("zod").ZodString;
4610
- createdAt: import("zod").ZodDate;
4611
- updatedAt: import("zod").ZodDate;
4612
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
4613
- name: import("zod").ZodString;
4614
- }, "strip", import("zod").ZodTypeAny, {
4615
- id: string;
4616
- name: string;
4617
- createdAt: Date;
4618
- updatedAt: Date;
4619
- deletedAt: Date | null;
4620
- }, {
4621
- id: string;
4622
- name: string;
4623
- createdAt: Date;
4624
- updatedAt: Date;
4625
- deletedAt: Date | null;
4626
- }>;
4627
- count: import("zod").ZodNumber;
4628
- }, "strip", import("zod").ZodTypeAny, {
4629
- label: {
4630
- id: string;
4631
- name: string;
4632
- createdAt: Date;
4633
- updatedAt: Date;
4634
- deletedAt: Date | null;
4635
- };
4636
- count: number;
4637
- }, {
4638
- label: {
4639
- id: string;
4640
- name: string;
4641
- createdAt: Date;
4642
- updatedAt: Date;
4643
- deletedAt: Date | null;
4644
- };
4645
- count: number;
4646
- }>, "many">;
4647
- }, "strip", import("zod").ZodTypeAny, {
4648
- general: {
4649
- name: string;
4650
- count: number;
4651
- unReadMessagesCount: number;
4652
- }[];
4653
- channels: {
4654
- channel: {
4655
- id: string;
4656
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
4657
- address: string;
4658
- name: string;
4659
- createdAt: Date;
4660
- updatedAt: Date;
4661
- deletedAt: Date | null;
4662
- accountId: string;
4663
- mailServerId: string;
4664
- mailServer: {
4665
- id: string;
4666
- name: string;
4667
- createdAt: Date;
4668
- updatedAt: Date;
4669
- deletedAt: Date | null;
4670
- smtpHost: string;
4671
- smtpPort: number;
4672
- smtpTlsPort: number;
4673
- useTlsForSmtp: boolean;
4674
- imapHost: string;
4675
- imapPort: number;
4676
- imapTlsPort: number;
4677
- useTlsForImap: boolean;
4678
- };
4679
- };
4680
- count: number;
4681
- }[];
4682
- contactLabels: {
4683
- label: {
4684
- id: string;
4685
- name: string;
4686
- createdAt: Date;
4687
- updatedAt: Date;
4688
- deletedAt: Date | null;
4689
- };
4690
- count: number;
4691
- }[];
4692
- }, {
4693
- general: {
4694
- name: string;
4695
- count: number;
4696
- unReadMessagesCount: number;
4697
- }[];
4698
- channels: {
4699
- channel: {
4700
- id: string;
4701
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
4702
- address: string;
4703
- name: string;
4704
- createdAt: Date;
4705
- updatedAt: Date;
4706
- deletedAt: Date | null;
4707
- accountId: string;
4708
- mailServerId: string;
4709
- mailServer: {
4710
- id: string;
4711
- name: string;
4712
- createdAt: Date;
4713
- updatedAt: Date;
4714
- deletedAt: Date | null;
4715
- smtpHost: string;
4716
- smtpPort: number;
4717
- smtpTlsPort: number;
4718
- useTlsForSmtp: boolean;
4719
- imapHost: string;
4720
- imapPort: number;
4721
- imapTlsPort: number;
4722
- useTlsForImap: boolean;
4723
- };
4724
- };
4725
- count: number;
4726
- }[];
4727
- contactLabels: {
4728
- label: {
4729
- id: string;
4730
- name: string;
4731
- createdAt: Date;
4732
- updatedAt: Date;
4733
- deletedAt: Date | null;
4734
- };
4735
- count: number;
4736
- }[];
4737
- }>;
4738
- }, "strip", import("zod").ZodTypeAny, {
4739
- data: {
4740
- general: {
4741
- name: string;
4742
- count: number;
4743
- unReadMessagesCount: number;
4744
- }[];
4745
- channels: {
4746
- channel: {
4747
- id: string;
4748
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
4749
- address: string;
4750
- name: string;
4751
- createdAt: Date;
4752
- updatedAt: Date;
4753
- deletedAt: Date | null;
4754
- accountId: string;
4755
- mailServerId: string;
4756
- mailServer: {
4757
- id: string;
4758
- name: string;
4759
- createdAt: Date;
4760
- updatedAt: Date;
4761
- deletedAt: Date | null;
4762
- smtpHost: string;
4763
- smtpPort: number;
4764
- smtpTlsPort: number;
4765
- useTlsForSmtp: boolean;
4766
- imapHost: string;
4767
- imapPort: number;
4768
- imapTlsPort: number;
4769
- useTlsForImap: boolean;
4770
- };
4771
- };
4772
- count: number;
4773
- }[];
4774
- contactLabels: {
4775
- label: {
4776
- id: string;
4777
- name: string;
4778
- createdAt: Date;
4779
- updatedAt: Date;
4780
- deletedAt: Date | null;
4781
- };
4782
- count: number;
4783
- }[];
4784
- };
4785
- requestId: string;
4786
- }, {
4787
- data: {
4788
- general: {
4789
- name: string;
4790
- count: number;
4791
- unReadMessagesCount: number;
4792
- }[];
4793
- channels: {
4794
- channel: {
4795
- id: string;
4796
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
4797
- address: string;
4798
- name: string;
4799
- createdAt: Date;
4800
- updatedAt: Date;
4801
- deletedAt: Date | null;
4802
- accountId: string;
4803
- mailServerId: string;
4804
- mailServer: {
4805
- id: string;
4806
- name: string;
4807
- createdAt: Date;
4808
- updatedAt: Date;
4809
- deletedAt: Date | null;
4810
- smtpHost: string;
4811
- smtpPort: number;
4812
- smtpTlsPort: number;
4813
- useTlsForSmtp: boolean;
4814
- imapHost: string;
4815
- imapPort: number;
4816
- imapTlsPort: number;
4817
- useTlsForImap: boolean;
4818
- };
4819
- };
4820
- count: number;
4821
- }[];
4822
- contactLabels: {
4823
- label: {
4824
- id: string;
4825
- name: string;
4826
- createdAt: Date;
4827
- updatedAt: Date;
4828
- deletedAt: Date | null;
4829
- };
4830
- count: number;
4831
- }[];
4832
- };
4833
- requestId: string;
4834
- }>;
4835
- };
4836
- path: "mail/room/count_rooms/all";
4837
- };
4838
- getAttachments: {
4839
- summary: "Get all the attachments of a room";
4840
- method: "GET";
4841
- pathParams: import("zod").ZodObject<{
4842
- id: import("zod").ZodString;
4843
- }, "strip", import("zod").ZodTypeAny, {
4844
- id: string;
4845
- }, {
4846
- id: string;
4847
- }>;
4848
- responses: {
4849
- 401: import("zod").ZodObject<{
4850
- message: import("zod").ZodString;
4851
- error: import("zod").ZodAny;
4852
- }, "strip", import("zod").ZodTypeAny, {
4853
- message: string;
4854
- error?: any;
4855
- }, {
4856
- message: string;
4857
- error?: any;
4858
- }>;
4859
- 404: import("zod").ZodObject<{
4860
- message: import("zod").ZodString;
4861
- error: import("zod").ZodAny;
4862
- }, "strip", import("zod").ZodTypeAny, {
4863
- message: string;
4864
- error?: any;
4865
- }, {
4866
- message: string;
4867
- error?: any;
4868
- }>;
4869
- 422: import("zod").ZodObject<{
4870
- message: import("zod").ZodString;
4871
- error: import("zod").ZodAny;
4872
- }, "strip", import("zod").ZodTypeAny, {
4873
- message: string;
4874
- error?: any;
4875
- }, {
4876
- message: string;
4877
- error?: any;
4878
- }>;
4879
- 200: import("zod").ZodObject<{
4880
- requestId: import("zod").ZodString;
4881
- data: import("zod").ZodArray<import("zod").ZodObject<{
4882
- fileName: import("zod").ZodString;
4883
- fileType: import("zod").ZodString;
4884
- emailEngineAttachmentId: import("zod").ZodString;
4885
- uploadId: import("zod").ZodString;
4886
- messageId: import("zod").ZodString;
4887
- roomId: import("zod").ZodString;
4888
- upload: import("zod").ZodObject<{
4889
- id: import("zod").ZodString;
4890
- createdAt: import("zod").ZodDate;
4891
- updatedAt: import("zod").ZodDate;
4892
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
4893
- bucketName: import("zod").ZodString;
4894
- fileName: import("zod").ZodString;
4895
- fileSize: import("zod").ZodNumber;
4896
- fileKey: import("zod").ZodString;
4897
- fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
4898
- status: import("zod").ZodOptional<import("zod").ZodString>;
4899
- }, "strip", import("zod").ZodTypeAny, {
4900
- id: string;
4901
- createdAt: Date;
4902
- updatedAt: Date;
4903
- deletedAt: Date | null;
4904
- fileName: string;
4905
- fileKey: string;
4906
- bucketName: string;
4907
- fileSize: number;
4908
- fileUrl: string | null;
4909
- status?: string | undefined;
4910
- }, {
4911
- id: string;
4912
- createdAt: Date;
4913
- updatedAt: Date;
4914
- deletedAt: Date | null;
4915
- fileName: string;
4916
- fileKey: string;
4917
- bucketName: string;
4918
- fileSize: number;
4919
- fileUrl: string | null;
4920
- status?: string | undefined;
4921
- }>;
4922
- }, "strip", import("zod").ZodTypeAny, {
4923
- fileName: string;
4924
- fileType: string;
4925
- uploadId: string;
4926
- upload: {
4927
- id: string;
4928
- createdAt: Date;
4929
- updatedAt: Date;
4930
- deletedAt: Date | null;
4931
- fileName: string;
4932
- fileKey: string;
4933
- bucketName: string;
4934
- fileSize: number;
4935
- fileUrl: string | null;
4936
- status?: string | undefined;
4937
- };
4938
- roomId: string;
4939
- messageId: string;
4940
- emailEngineAttachmentId: string;
4941
- }, {
4942
- fileName: string;
4943
- fileType: string;
4944
- uploadId: string;
4945
- upload: {
4946
- id: string;
4947
- createdAt: Date;
4948
- updatedAt: Date;
4949
- deletedAt: Date | null;
4950
- fileName: string;
4951
- fileKey: string;
4952
- bucketName: string;
4953
- fileSize: number;
4954
- fileUrl: string | null;
4955
- status?: string | undefined;
4956
- };
4957
- roomId: string;
4958
- messageId: string;
4959
- emailEngineAttachmentId: string;
4960
- }>, "many">;
4961
- }, "strip", import("zod").ZodTypeAny, {
4962
- data: {
4963
- fileName: string;
4964
- fileType: string;
4965
- uploadId: string;
4966
- upload: {
4967
- id: string;
4968
- createdAt: Date;
4969
- updatedAt: Date;
4970
- deletedAt: Date | null;
4971
- fileName: string;
4972
- fileKey: string;
4973
- bucketName: string;
4974
- fileSize: number;
4975
- fileUrl: string | null;
4976
- status?: string | undefined;
4977
- };
4978
- roomId: string;
4979
- messageId: string;
4980
- emailEngineAttachmentId: string;
4981
- }[];
4982
- requestId: string;
4983
- }, {
4984
- data: {
4985
- fileName: string;
4986
- fileType: string;
4987
- uploadId: string;
4988
- upload: {
4989
- id: string;
4990
- createdAt: Date;
4991
- updatedAt: Date;
4992
- deletedAt: Date | null;
4993
- fileName: string;
4994
- fileKey: string;
4995
- bucketName: string;
4996
- fileSize: number;
4997
- fileUrl: string | null;
4998
- status?: string | undefined;
4999
- };
5000
- roomId: string;
5001
- messageId: string;
5002
- emailEngineAttachmentId: string;
5003
- }[];
5004
- requestId: string;
5005
- }>;
5006
- };
5007
- path: "mail/room/:id/attachments";
5008
- };
5009
- getParticipants: {
5010
- summary: "Get all the attachments of a room";
4084
+ getById: {
4085
+ summary: "Get a mail room by id";
5011
4086
  method: "GET";
5012
4087
  pathParams: import("zod").ZodObject<{
5013
4088
  id: import("zod").ZodString;
@@ -5016,117 +4091,6 @@ export declare const apiContract: {
5016
4091
  }, {
5017
4092
  id: string;
5018
4093
  }>;
5019
- responses: {
5020
- 401: import("zod").ZodObject<{
5021
- message: import("zod").ZodString;
5022
- error: import("zod").ZodAny;
5023
- }, "strip", import("zod").ZodTypeAny, {
5024
- message: string;
5025
- error?: any;
5026
- }, {
5027
- message: string;
5028
- error?: any;
5029
- }>;
5030
- 404: import("zod").ZodObject<{
5031
- message: import("zod").ZodString;
5032
- error: import("zod").ZodAny;
5033
- }, "strip", import("zod").ZodTypeAny, {
5034
- message: string;
5035
- error?: any;
5036
- }, {
5037
- message: string;
5038
- error?: any;
5039
- }>;
5040
- 422: import("zod").ZodObject<{
5041
- message: import("zod").ZodString;
5042
- error: import("zod").ZodAny;
5043
- }, "strip", import("zod").ZodTypeAny, {
5044
- message: string;
5045
- error?: any;
5046
- }, {
5047
- message: string;
5048
- error?: any;
5049
- }>;
5050
- 200: import("zod").ZodObject<{
5051
- requestId: import("zod").ZodString;
5052
- data: import("zod").ZodArray<import("zod").ZodObject<{
5053
- id: import("zod").ZodString;
5054
- createdAt: import("zod").ZodDate;
5055
- updatedAt: import("zod").ZodDate;
5056
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5057
- name: import("zod").ZodString;
5058
- address: import("zod").ZodString;
5059
- }, "strip", import("zod").ZodTypeAny, {
5060
- id: string;
5061
- address: string;
5062
- name: string;
5063
- createdAt: Date;
5064
- updatedAt: Date;
5065
- deletedAt: Date | null;
5066
- }, {
5067
- id: string;
5068
- address: string;
5069
- name: string;
5070
- createdAt: Date;
5071
- updatedAt: Date;
5072
- deletedAt: Date | null;
5073
- }>, "many">;
5074
- }, "strip", import("zod").ZodTypeAny, {
5075
- data: {
5076
- id: string;
5077
- address: string;
5078
- name: string;
5079
- createdAt: Date;
5080
- updatedAt: Date;
5081
- deletedAt: Date | null;
5082
- }[];
5083
- requestId: string;
5084
- }, {
5085
- data: {
5086
- id: string;
5087
- address: string;
5088
- name: string;
5089
- createdAt: Date;
5090
- updatedAt: Date;
5091
- deletedAt: Date | null;
5092
- }[];
5093
- requestId: string;
5094
- }>;
5095
- };
5096
- path: "mail/room/:id/participants";
5097
- };
5098
- update: {
5099
- body: import("zod").ZodObject<{
5100
- disposition: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"resolved">, import("zod").ZodLiteral<"follow up">, import("zod").ZodLiteral<"escalated">, import("zod").ZodLiteral<"dropped">, import("zod").ZodLiteral<"prank">, import("zod").ZodLiteral<"blank">]>>>;
5101
- assigneeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
5102
- note: import("zod").ZodOptional<import("zod").ZodString>;
5103
- tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
5104
- handover: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
5105
- selfAssign: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
5106
- }, "strip", import("zod").ZodTypeAny, {
5107
- disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
5108
- assigneeId?: string | null | undefined;
5109
- note?: string | undefined;
5110
- tags?: string[] | undefined;
5111
- handover?: boolean | null | undefined;
5112
- selfAssign?: boolean | null | undefined;
5113
- }, {
5114
- disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
5115
- assigneeId?: string | null | undefined;
5116
- note?: string | undefined;
5117
- tags?: string[] | undefined;
5118
- handover?: boolean | "false" | "true" | null | undefined;
5119
- selfAssign?: boolean | "false" | "true" | null | undefined;
5120
- }>;
5121
- summary: "Update a mail room by id";
5122
- method: "PATCH";
5123
- pathParams: import("zod").ZodObject<{
5124
- id: import("zod").ZodString;
5125
- }, "strip", import("zod").ZodTypeAny, {
5126
- id: string;
5127
- }, {
5128
- id: string;
5129
- }>;
5130
4094
  responses: {
5131
4095
  401: import("zod").ZodObject<{
5132
4096
  message: import("zod").ZodString;
@@ -6884,150 +5848,6 @@ export declare const apiContract: {
6884
5848
  };
6885
5849
  }>;
6886
5850
  unReadMessageCount: import("zod").ZodNumber;
6887
- cxlog: import("zod").ZodObject<{
6888
- id: import("zod").ZodString;
6889
- createdAt: import("zod").ZodDate;
6890
- updatedAt: import("zod").ZodDate;
6891
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6892
- caseId: import("zod").ZodNumber;
6893
- entityId: import("zod").ZodString;
6894
- entityName: import("zod").ZodString;
6895
- contactId: import("zod").ZodNullable<import("zod").ZodString>;
6896
- channel: import("zod").ZodNullable<import("zod").ZodString>;
6897
- queueId: import("zod").ZodNullable<import("zod").ZodString>;
6898
- agentId: import("zod").ZodNullable<import("zod").ZodString>;
6899
- direction: import("zod").ZodNullable<import("zod").ZodString>;
6900
- startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
6901
- handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
6902
- firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
6903
- wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
6904
- id: import("zod").ZodString;
6905
- createdAt: import("zod").ZodDate;
6906
- updatedAt: import("zod").ZodDate;
6907
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6908
- note: import("zod").ZodNullable<import("zod").ZodString>;
6909
- disposition: import("zod").ZodNullable<import("zod").ZodString>;
6910
- callFrom: import("zod").ZodNullable<import("zod").ZodString>;
6911
- callTo: import("zod").ZodNullable<import("zod").ZodString>;
6912
- tags: import("zod").ZodArray<import("zod").ZodObject<{
6913
- id: import("zod").ZodString;
6914
- createdAt: import("zod").ZodDate;
6915
- updatedAt: import("zod").ZodDate;
6916
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6917
- name: import("zod").ZodString;
6918
- }, "strip", import("zod").ZodTypeAny, {
6919
- id: string;
6920
- name: string;
6921
- createdAt: Date;
6922
- updatedAt: Date;
6923
- deletedAt: Date | null;
6924
- }, {
6925
- id: string;
6926
- name: string;
6927
- createdAt: Date;
6928
- updatedAt: Date;
6929
- deletedAt: Date | null;
6930
- }>, "many">;
6931
- }, "strip", import("zod").ZodTypeAny, {
6932
- id: string;
6933
- disposition: string | null;
6934
- createdAt: Date;
6935
- updatedAt: Date;
6936
- deletedAt: Date | null;
6937
- tags: {
6938
- id: string;
6939
- name: string;
6940
- createdAt: Date;
6941
- updatedAt: Date;
6942
- deletedAt: Date | null;
6943
- }[];
6944
- callFrom: string | null;
6945
- callTo: string | null;
6946
- note: string | null;
6947
- }, {
6948
- id: string;
6949
- disposition: string | null;
6950
- createdAt: Date;
6951
- updatedAt: Date;
6952
- deletedAt: Date | null;
6953
- tags: {
6954
- id: string;
6955
- name: string;
6956
- createdAt: Date;
6957
- updatedAt: Date;
6958
- deletedAt: Date | null;
6959
- }[];
6960
- callFrom: string | null;
6961
- callTo: string | null;
6962
- note: string | null;
6963
- }>>;
6964
- }, "strip", import("zod").ZodTypeAny, {
6965
- id: string;
6966
- channel: string | null;
6967
- direction: string | null;
6968
- createdAt: Date;
6969
- updatedAt: Date;
6970
- deletedAt: Date | null;
6971
- entityId: string;
6972
- queueId: string | null;
6973
- contactId: string | null;
6974
- caseId: number;
6975
- entityName: string;
6976
- agentId: string | null;
6977
- startedDate: Date | null;
6978
- handledTime: number | null;
6979
- firstResponseTime: number | null;
6980
- wrapUpForm: {
6981
- id: string;
6982
- disposition: string | null;
6983
- createdAt: Date;
6984
- updatedAt: Date;
6985
- deletedAt: Date | null;
6986
- tags: {
6987
- id: string;
6988
- name: string;
6989
- createdAt: Date;
6990
- updatedAt: Date;
6991
- deletedAt: Date | null;
6992
- }[];
6993
- callFrom: string | null;
6994
- callTo: string | null;
6995
- note: string | null;
6996
- } | null;
6997
- }, {
6998
- id: string;
6999
- channel: string | null;
7000
- direction: string | null;
7001
- createdAt: Date;
7002
- updatedAt: Date;
7003
- deletedAt: Date | null;
7004
- entityId: string;
7005
- queueId: string | null;
7006
- contactId: string | null;
7007
- caseId: number;
7008
- entityName: string;
7009
- agentId: string | null;
7010
- startedDate: Date | null;
7011
- handledTime: number | null;
7012
- firstResponseTime: number | null;
7013
- wrapUpForm: {
7014
- id: string;
7015
- disposition: string | null;
7016
- createdAt: Date;
7017
- updatedAt: Date;
7018
- deletedAt: Date | null;
7019
- tags: {
7020
- id: string;
7021
- name: string;
7022
- createdAt: Date;
7023
- updatedAt: Date;
7024
- deletedAt: Date | null;
7025
- }[];
7026
- callFrom: string | null;
7027
- callTo: string | null;
7028
- note: string | null;
7029
- } | null;
7030
- }>;
7031
5851
  }, "strip", import("zod").ZodTypeAny, {
7032
5852
  id: string;
7033
5853
  direction: string;
@@ -7130,40 +5950,6 @@ export declare const apiContract: {
7130
5950
  notificationCount: number | null;
7131
5951
  };
7132
5952
  resolved: boolean;
7133
- cxlog: {
7134
- id: string;
7135
- channel: string | null;
7136
- direction: string | null;
7137
- createdAt: Date;
7138
- updatedAt: Date;
7139
- deletedAt: Date | null;
7140
- entityId: string;
7141
- queueId: string | null;
7142
- contactId: string | null;
7143
- caseId: number;
7144
- entityName: string;
7145
- agentId: string | null;
7146
- startedDate: Date | null;
7147
- handledTime: number | null;
7148
- firstResponseTime: number | null;
7149
- wrapUpForm: {
7150
- id: string;
7151
- disposition: string | null;
7152
- createdAt: Date;
7153
- updatedAt: Date;
7154
- deletedAt: Date | null;
7155
- tags: {
7156
- id: string;
7157
- name: string;
7158
- createdAt: Date;
7159
- updatedAt: Date;
7160
- deletedAt: Date | null;
7161
- }[];
7162
- callFrom: string | null;
7163
- callTo: string | null;
7164
- note: string | null;
7165
- } | null;
7166
- };
7167
5953
  assigneeId: string | null;
7168
5954
  subject: string;
7169
5955
  from: {
@@ -7574,40 +6360,6 @@ export declare const apiContract: {
7574
6360
  notificationCount: number | null;
7575
6361
  };
7576
6362
  resolved: boolean;
7577
- cxlog: {
7578
- id: string;
7579
- channel: string | null;
7580
- direction: string | null;
7581
- createdAt: Date;
7582
- updatedAt: Date;
7583
- deletedAt: Date | null;
7584
- entityId: string;
7585
- queueId: string | null;
7586
- contactId: string | null;
7587
- caseId: number;
7588
- entityName: string;
7589
- agentId: string | null;
7590
- startedDate: Date | null;
7591
- handledTime: number | null;
7592
- firstResponseTime: number | null;
7593
- wrapUpForm: {
7594
- id: string;
7595
- disposition: string | null;
7596
- createdAt: Date;
7597
- updatedAt: Date;
7598
- deletedAt: Date | null;
7599
- tags: {
7600
- id: string;
7601
- name: string;
7602
- createdAt: Date;
7603
- updatedAt: Date;
7604
- deletedAt: Date | null;
7605
- }[];
7606
- callFrom: string | null;
7607
- callTo: string | null;
7608
- note: string | null;
7609
- } | null;
7610
- };
7611
6363
  assigneeId: string | null;
7612
6364
  subject: string;
7613
6365
  from: {
@@ -8020,40 +6772,6 @@ export declare const apiContract: {
8020
6772
  notificationCount: number | null;
8021
6773
  };
8022
6774
  resolved: boolean;
8023
- cxlog: {
8024
- id: string;
8025
- channel: string | null;
8026
- direction: string | null;
8027
- createdAt: Date;
8028
- updatedAt: Date;
8029
- deletedAt: Date | null;
8030
- entityId: string;
8031
- queueId: string | null;
8032
- contactId: string | null;
8033
- caseId: number;
8034
- entityName: string;
8035
- agentId: string | null;
8036
- startedDate: Date | null;
8037
- handledTime: number | null;
8038
- firstResponseTime: number | null;
8039
- wrapUpForm: {
8040
- id: string;
8041
- disposition: string | null;
8042
- createdAt: Date;
8043
- updatedAt: Date;
8044
- deletedAt: Date | null;
8045
- tags: {
8046
- id: string;
8047
- name: string;
8048
- createdAt: Date;
8049
- updatedAt: Date;
8050
- deletedAt: Date | null;
8051
- }[];
8052
- callFrom: string | null;
8053
- callTo: string | null;
8054
- note: string | null;
8055
- } | null;
8056
- };
8057
6775
  assigneeId: string | null;
8058
6776
  subject: string;
8059
6777
  from: {
@@ -8467,40 +7185,6 @@ export declare const apiContract: {
8467
7185
  notificationCount: number | null;
8468
7186
  };
8469
7187
  resolved: boolean;
8470
- cxlog: {
8471
- id: string;
8472
- channel: string | null;
8473
- direction: string | null;
8474
- createdAt: Date;
8475
- updatedAt: Date;
8476
- deletedAt: Date | null;
8477
- entityId: string;
8478
- queueId: string | null;
8479
- contactId: string | null;
8480
- caseId: number;
8481
- entityName: string;
8482
- agentId: string | null;
8483
- startedDate: Date | null;
8484
- handledTime: number | null;
8485
- firstResponseTime: number | null;
8486
- wrapUpForm: {
8487
- id: string;
8488
- disposition: string | null;
8489
- createdAt: Date;
8490
- updatedAt: Date;
8491
- deletedAt: Date | null;
8492
- tags: {
8493
- id: string;
8494
- name: string;
8495
- createdAt: Date;
8496
- updatedAt: Date;
8497
- deletedAt: Date | null;
8498
- }[];
8499
- callFrom: string | null;
8500
- callTo: string | null;
8501
- note: string | null;
8502
- } | null;
8503
- };
8504
7188
  assigneeId: string | null;
8505
7189
  subject: string;
8506
7190
  from: {
@@ -8815,16 +7499,16 @@ export declare const apiContract: {
8815
7499
  };
8816
7500
  path: "mail/room/:id";
8817
7501
  };
8818
- markAsRead: {
8819
- body: import("zod").ZodObject<{
7502
+ getAttachments: {
7503
+ summary: "Get all the attachments of a room";
7504
+ method: "GET";
7505
+ pathParams: import("zod").ZodObject<{
8820
7506
  id: import("zod").ZodString;
8821
7507
  }, "strip", import("zod").ZodTypeAny, {
8822
7508
  id: string;
8823
7509
  }, {
8824
7510
  id: string;
8825
7511
  }>;
8826
- summary: "Mark all the unread messages of a room as read";
8827
- method: "POST";
8828
7512
  responses: {
8829
7513
  401: import("zod").ZodObject<{
8830
7514
  message: import("zod").ZodString;
@@ -8858,20 +7542,248 @@ export declare const apiContract: {
8858
7542
  }>;
8859
7543
  200: import("zod").ZodObject<{
8860
7544
  requestId: import("zod").ZodString;
7545
+ data: import("zod").ZodArray<import("zod").ZodObject<{
7546
+ fileName: import("zod").ZodString;
7547
+ fileType: import("zod").ZodString;
7548
+ emailEngineAttachmentId: import("zod").ZodString;
7549
+ uploadId: import("zod").ZodString;
7550
+ messageId: import("zod").ZodString;
7551
+ roomId: import("zod").ZodString;
7552
+ upload: import("zod").ZodObject<{
7553
+ id: import("zod").ZodString;
7554
+ createdAt: import("zod").ZodDate;
7555
+ updatedAt: import("zod").ZodDate;
7556
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
7557
+ bucketName: import("zod").ZodString;
7558
+ fileName: import("zod").ZodString;
7559
+ fileSize: import("zod").ZodNumber;
7560
+ fileKey: import("zod").ZodString;
7561
+ fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
7562
+ status: import("zod").ZodOptional<import("zod").ZodString>;
7563
+ }, "strip", import("zod").ZodTypeAny, {
7564
+ id: string;
7565
+ createdAt: Date;
7566
+ updatedAt: Date;
7567
+ deletedAt: Date | null;
7568
+ fileName: string;
7569
+ fileKey: string;
7570
+ bucketName: string;
7571
+ fileSize: number;
7572
+ fileUrl: string | null;
7573
+ status?: string | undefined;
7574
+ }, {
7575
+ id: string;
7576
+ createdAt: Date;
7577
+ updatedAt: Date;
7578
+ deletedAt: Date | null;
7579
+ fileName: string;
7580
+ fileKey: string;
7581
+ bucketName: string;
7582
+ fileSize: number;
7583
+ fileUrl: string | null;
7584
+ status?: string | undefined;
7585
+ }>;
7586
+ }, "strip", import("zod").ZodTypeAny, {
7587
+ fileName: string;
7588
+ fileType: string;
7589
+ uploadId: string;
7590
+ upload: {
7591
+ id: string;
7592
+ createdAt: Date;
7593
+ updatedAt: Date;
7594
+ deletedAt: Date | null;
7595
+ fileName: string;
7596
+ fileKey: string;
7597
+ bucketName: string;
7598
+ fileSize: number;
7599
+ fileUrl: string | null;
7600
+ status?: string | undefined;
7601
+ };
7602
+ roomId: string;
7603
+ messageId: string;
7604
+ emailEngineAttachmentId: string;
7605
+ }, {
7606
+ fileName: string;
7607
+ fileType: string;
7608
+ uploadId: string;
7609
+ upload: {
7610
+ id: string;
7611
+ createdAt: Date;
7612
+ updatedAt: Date;
7613
+ deletedAt: Date | null;
7614
+ fileName: string;
7615
+ fileKey: string;
7616
+ bucketName: string;
7617
+ fileSize: number;
7618
+ fileUrl: string | null;
7619
+ status?: string | undefined;
7620
+ };
7621
+ roomId: string;
7622
+ messageId: string;
7623
+ emailEngineAttachmentId: string;
7624
+ }>, "many">;
7625
+ }, "strip", import("zod").ZodTypeAny, {
7626
+ data: {
7627
+ fileName: string;
7628
+ fileType: string;
7629
+ uploadId: string;
7630
+ upload: {
7631
+ id: string;
7632
+ createdAt: Date;
7633
+ updatedAt: Date;
7634
+ deletedAt: Date | null;
7635
+ fileName: string;
7636
+ fileKey: string;
7637
+ bucketName: string;
7638
+ fileSize: number;
7639
+ fileUrl: string | null;
7640
+ status?: string | undefined;
7641
+ };
7642
+ roomId: string;
7643
+ messageId: string;
7644
+ emailEngineAttachmentId: string;
7645
+ }[];
7646
+ requestId: string;
7647
+ }, {
7648
+ data: {
7649
+ fileName: string;
7650
+ fileType: string;
7651
+ uploadId: string;
7652
+ upload: {
7653
+ id: string;
7654
+ createdAt: Date;
7655
+ updatedAt: Date;
7656
+ deletedAt: Date | null;
7657
+ fileName: string;
7658
+ fileKey: string;
7659
+ bucketName: string;
7660
+ fileSize: number;
7661
+ fileUrl: string | null;
7662
+ status?: string | undefined;
7663
+ };
7664
+ roomId: string;
7665
+ messageId: string;
7666
+ emailEngineAttachmentId: string;
7667
+ }[];
7668
+ requestId: string;
7669
+ }>;
7670
+ };
7671
+ path: "mail/room/:id/attachments";
7672
+ };
7673
+ getParticipants: {
7674
+ summary: "Get all the attachments of a room";
7675
+ method: "GET";
7676
+ pathParams: import("zod").ZodObject<{
7677
+ id: import("zod").ZodString;
7678
+ }, "strip", import("zod").ZodTypeAny, {
7679
+ id: string;
7680
+ }, {
7681
+ id: string;
7682
+ }>;
7683
+ responses: {
7684
+ 401: import("zod").ZodObject<{
8861
7685
  message: import("zod").ZodString;
7686
+ error: import("zod").ZodAny;
8862
7687
  }, "strip", import("zod").ZodTypeAny, {
8863
7688
  message: string;
8864
- requestId: string;
7689
+ error?: any;
8865
7690
  }, {
8866
7691
  message: string;
7692
+ error?: any;
7693
+ }>;
7694
+ 404: import("zod").ZodObject<{
7695
+ message: import("zod").ZodString;
7696
+ error: import("zod").ZodAny;
7697
+ }, "strip", import("zod").ZodTypeAny, {
7698
+ message: string;
7699
+ error?: any;
7700
+ }, {
7701
+ message: string;
7702
+ error?: any;
7703
+ }>;
7704
+ 422: import("zod").ZodObject<{
7705
+ message: import("zod").ZodString;
7706
+ error: import("zod").ZodAny;
7707
+ }, "strip", import("zod").ZodTypeAny, {
7708
+ message: string;
7709
+ error?: any;
7710
+ }, {
7711
+ message: string;
7712
+ error?: any;
7713
+ }>;
7714
+ 200: import("zod").ZodObject<{
7715
+ requestId: import("zod").ZodString;
7716
+ data: import("zod").ZodArray<import("zod").ZodObject<{
7717
+ id: import("zod").ZodString;
7718
+ createdAt: import("zod").ZodDate;
7719
+ updatedAt: import("zod").ZodDate;
7720
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
7721
+ name: import("zod").ZodString;
7722
+ address: import("zod").ZodString;
7723
+ }, "strip", import("zod").ZodTypeAny, {
7724
+ id: string;
7725
+ address: string;
7726
+ name: string;
7727
+ createdAt: Date;
7728
+ updatedAt: Date;
7729
+ deletedAt: Date | null;
7730
+ }, {
7731
+ id: string;
7732
+ address: string;
7733
+ name: string;
7734
+ createdAt: Date;
7735
+ updatedAt: Date;
7736
+ deletedAt: Date | null;
7737
+ }>, "many">;
7738
+ }, "strip", import("zod").ZodTypeAny, {
7739
+ data: {
7740
+ id: string;
7741
+ address: string;
7742
+ name: string;
7743
+ createdAt: Date;
7744
+ updatedAt: Date;
7745
+ deletedAt: Date | null;
7746
+ }[];
7747
+ requestId: string;
7748
+ }, {
7749
+ data: {
7750
+ id: string;
7751
+ address: string;
7752
+ name: string;
7753
+ createdAt: Date;
7754
+ updatedAt: Date;
7755
+ deletedAt: Date | null;
7756
+ }[];
8867
7757
  requestId: string;
8868
7758
  }>;
8869
7759
  };
8870
- path: "mail/room/mark_as_read";
7760
+ path: "mail/room/:id/participants";
8871
7761
  };
8872
- getById: {
8873
- summary: "Get a mail room by id";
8874
- method: "GET";
7762
+ update: {
7763
+ body: import("zod").ZodObject<{
7764
+ resolved: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
7765
+ assigneeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
7766
+ note: import("zod").ZodOptional<import("zod").ZodString>;
7767
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
7768
+ handover: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
7769
+ selfAssign: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
7770
+ }, "strip", import("zod").ZodTypeAny, {
7771
+ resolved?: boolean | null | undefined;
7772
+ assigneeId?: string | null | undefined;
7773
+ note?: string | undefined;
7774
+ tags?: string[] | undefined;
7775
+ handover?: boolean | null | undefined;
7776
+ selfAssign?: boolean | null | undefined;
7777
+ }, {
7778
+ resolved?: boolean | "false" | "true" | null | undefined;
7779
+ assigneeId?: string | null | undefined;
7780
+ note?: string | undefined;
7781
+ tags?: string[] | undefined;
7782
+ handover?: boolean | "false" | "true" | null | undefined;
7783
+ selfAssign?: boolean | "false" | "true" | null | undefined;
7784
+ }>;
7785
+ summary: "Update a mail room by id";
7786
+ method: "PATCH";
8875
7787
  pathParams: import("zod").ZodObject<{
8876
7788
  id: import("zod").ZodString;
8877
7789
  }, "strip", import("zod").ZodTypeAny, {
@@ -10636,150 +9548,6 @@ export declare const apiContract: {
10636
9548
  };
10637
9549
  }>;
10638
9550
  unReadMessageCount: import("zod").ZodNumber;
10639
- cxlog: import("zod").ZodObject<{
10640
- id: import("zod").ZodString;
10641
- createdAt: import("zod").ZodDate;
10642
- updatedAt: import("zod").ZodDate;
10643
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
10644
- caseId: import("zod").ZodNumber;
10645
- entityId: import("zod").ZodString;
10646
- entityName: import("zod").ZodString;
10647
- contactId: import("zod").ZodNullable<import("zod").ZodString>;
10648
- channel: import("zod").ZodNullable<import("zod").ZodString>;
10649
- queueId: import("zod").ZodNullable<import("zod").ZodString>;
10650
- agentId: import("zod").ZodNullable<import("zod").ZodString>;
10651
- direction: import("zod").ZodNullable<import("zod").ZodString>;
10652
- startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
10653
- handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
10654
- firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
10655
- wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
10656
- id: import("zod").ZodString;
10657
- createdAt: import("zod").ZodDate;
10658
- updatedAt: import("zod").ZodDate;
10659
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
10660
- note: import("zod").ZodNullable<import("zod").ZodString>;
10661
- disposition: import("zod").ZodNullable<import("zod").ZodString>;
10662
- callFrom: import("zod").ZodNullable<import("zod").ZodString>;
10663
- callTo: import("zod").ZodNullable<import("zod").ZodString>;
10664
- tags: import("zod").ZodArray<import("zod").ZodObject<{
10665
- id: import("zod").ZodString;
10666
- createdAt: import("zod").ZodDate;
10667
- updatedAt: import("zod").ZodDate;
10668
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
10669
- name: import("zod").ZodString;
10670
- }, "strip", import("zod").ZodTypeAny, {
10671
- id: string;
10672
- name: string;
10673
- createdAt: Date;
10674
- updatedAt: Date;
10675
- deletedAt: Date | null;
10676
- }, {
10677
- id: string;
10678
- name: string;
10679
- createdAt: Date;
10680
- updatedAt: Date;
10681
- deletedAt: Date | null;
10682
- }>, "many">;
10683
- }, "strip", import("zod").ZodTypeAny, {
10684
- id: string;
10685
- disposition: string | null;
10686
- createdAt: Date;
10687
- updatedAt: Date;
10688
- deletedAt: Date | null;
10689
- tags: {
10690
- id: string;
10691
- name: string;
10692
- createdAt: Date;
10693
- updatedAt: Date;
10694
- deletedAt: Date | null;
10695
- }[];
10696
- callFrom: string | null;
10697
- callTo: string | null;
10698
- note: string | null;
10699
- }, {
10700
- id: string;
10701
- disposition: string | null;
10702
- createdAt: Date;
10703
- updatedAt: Date;
10704
- deletedAt: Date | null;
10705
- tags: {
10706
- id: string;
10707
- name: string;
10708
- createdAt: Date;
10709
- updatedAt: Date;
10710
- deletedAt: Date | null;
10711
- }[];
10712
- callFrom: string | null;
10713
- callTo: string | null;
10714
- note: string | null;
10715
- }>>;
10716
- }, "strip", import("zod").ZodTypeAny, {
10717
- id: string;
10718
- channel: string | null;
10719
- direction: string | null;
10720
- createdAt: Date;
10721
- updatedAt: Date;
10722
- deletedAt: Date | null;
10723
- entityId: string;
10724
- queueId: string | null;
10725
- contactId: string | null;
10726
- caseId: number;
10727
- entityName: string;
10728
- agentId: string | null;
10729
- startedDate: Date | null;
10730
- handledTime: number | null;
10731
- firstResponseTime: number | null;
10732
- wrapUpForm: {
10733
- id: string;
10734
- disposition: string | null;
10735
- createdAt: Date;
10736
- updatedAt: Date;
10737
- deletedAt: Date | null;
10738
- tags: {
10739
- id: string;
10740
- name: string;
10741
- createdAt: Date;
10742
- updatedAt: Date;
10743
- deletedAt: Date | null;
10744
- }[];
10745
- callFrom: string | null;
10746
- callTo: string | null;
10747
- note: string | null;
10748
- } | null;
10749
- }, {
10750
- id: string;
10751
- channel: string | null;
10752
- direction: string | null;
10753
- createdAt: Date;
10754
- updatedAt: Date;
10755
- deletedAt: Date | null;
10756
- entityId: string;
10757
- queueId: string | null;
10758
- contactId: string | null;
10759
- caseId: number;
10760
- entityName: string;
10761
- agentId: string | null;
10762
- startedDate: Date | null;
10763
- handledTime: number | null;
10764
- firstResponseTime: number | null;
10765
- wrapUpForm: {
10766
- id: string;
10767
- disposition: string | null;
10768
- createdAt: Date;
10769
- updatedAt: Date;
10770
- deletedAt: Date | null;
10771
- tags: {
10772
- id: string;
10773
- name: string;
10774
- createdAt: Date;
10775
- updatedAt: Date;
10776
- deletedAt: Date | null;
10777
- }[];
10778
- callFrom: string | null;
10779
- callTo: string | null;
10780
- note: string | null;
10781
- } | null;
10782
- }>;
10783
9551
  }, "strip", import("zod").ZodTypeAny, {
10784
9552
  id: string;
10785
9553
  direction: string;
@@ -10882,40 +9650,6 @@ export declare const apiContract: {
10882
9650
  notificationCount: number | null;
10883
9651
  };
10884
9652
  resolved: boolean;
10885
- cxlog: {
10886
- id: string;
10887
- channel: string | null;
10888
- direction: string | null;
10889
- createdAt: Date;
10890
- updatedAt: Date;
10891
- deletedAt: Date | null;
10892
- entityId: string;
10893
- queueId: string | null;
10894
- contactId: string | null;
10895
- caseId: number;
10896
- entityName: string;
10897
- agentId: string | null;
10898
- startedDate: Date | null;
10899
- handledTime: number | null;
10900
- firstResponseTime: number | null;
10901
- wrapUpForm: {
10902
- id: string;
10903
- disposition: string | null;
10904
- createdAt: Date;
10905
- updatedAt: Date;
10906
- deletedAt: Date | null;
10907
- tags: {
10908
- id: string;
10909
- name: string;
10910
- createdAt: Date;
10911
- updatedAt: Date;
10912
- deletedAt: Date | null;
10913
- }[];
10914
- callFrom: string | null;
10915
- callTo: string | null;
10916
- note: string | null;
10917
- } | null;
10918
- };
10919
9653
  assigneeId: string | null;
10920
9654
  subject: string;
10921
9655
  from: {
@@ -11326,40 +10060,6 @@ export declare const apiContract: {
11326
10060
  notificationCount: number | null;
11327
10061
  };
11328
10062
  resolved: boolean;
11329
- cxlog: {
11330
- id: string;
11331
- channel: string | null;
11332
- direction: string | null;
11333
- createdAt: Date;
11334
- updatedAt: Date;
11335
- deletedAt: Date | null;
11336
- entityId: string;
11337
- queueId: string | null;
11338
- contactId: string | null;
11339
- caseId: number;
11340
- entityName: string;
11341
- agentId: string | null;
11342
- startedDate: Date | null;
11343
- handledTime: number | null;
11344
- firstResponseTime: number | null;
11345
- wrapUpForm: {
11346
- id: string;
11347
- disposition: string | null;
11348
- createdAt: Date;
11349
- updatedAt: Date;
11350
- deletedAt: Date | null;
11351
- tags: {
11352
- id: string;
11353
- name: string;
11354
- createdAt: Date;
11355
- updatedAt: Date;
11356
- deletedAt: Date | null;
11357
- }[];
11358
- callFrom: string | null;
11359
- callTo: string | null;
11360
- note: string | null;
11361
- } | null;
11362
- };
11363
10063
  assigneeId: string | null;
11364
10064
  subject: string;
11365
10065
  from: {
@@ -11772,40 +10472,6 @@ export declare const apiContract: {
11772
10472
  notificationCount: number | null;
11773
10473
  };
11774
10474
  resolved: boolean;
11775
- cxlog: {
11776
- id: string;
11777
- channel: string | null;
11778
- direction: string | null;
11779
- createdAt: Date;
11780
- updatedAt: Date;
11781
- deletedAt: Date | null;
11782
- entityId: string;
11783
- queueId: string | null;
11784
- contactId: string | null;
11785
- caseId: number;
11786
- entityName: string;
11787
- agentId: string | null;
11788
- startedDate: Date | null;
11789
- handledTime: number | null;
11790
- firstResponseTime: number | null;
11791
- wrapUpForm: {
11792
- id: string;
11793
- disposition: string | null;
11794
- createdAt: Date;
11795
- updatedAt: Date;
11796
- deletedAt: Date | null;
11797
- tags: {
11798
- id: string;
11799
- name: string;
11800
- createdAt: Date;
11801
- updatedAt: Date;
11802
- deletedAt: Date | null;
11803
- }[];
11804
- callFrom: string | null;
11805
- callTo: string | null;
11806
- note: string | null;
11807
- } | null;
11808
- };
11809
10475
  assigneeId: string | null;
11810
10476
  subject: string;
11811
10477
  from: {
@@ -12219,40 +10885,6 @@ export declare const apiContract: {
12219
10885
  notificationCount: number | null;
12220
10886
  };
12221
10887
  resolved: boolean;
12222
- cxlog: {
12223
- id: string;
12224
- channel: string | null;
12225
- direction: string | null;
12226
- createdAt: Date;
12227
- updatedAt: Date;
12228
- deletedAt: Date | null;
12229
- entityId: string;
12230
- queueId: string | null;
12231
- contactId: string | null;
12232
- caseId: number;
12233
- entityName: string;
12234
- agentId: string | null;
12235
- startedDate: Date | null;
12236
- handledTime: number | null;
12237
- firstResponseTime: number | null;
12238
- wrapUpForm: {
12239
- id: string;
12240
- disposition: string | null;
12241
- createdAt: Date;
12242
- updatedAt: Date;
12243
- deletedAt: Date | null;
12244
- tags: {
12245
- id: string;
12246
- name: string;
12247
- createdAt: Date;
12248
- updatedAt: Date;
12249
- deletedAt: Date | null;
12250
- }[];
12251
- callFrom: string | null;
12252
- callTo: string | null;
12253
- note: string | null;
12254
- } | null;
12255
- };
12256
10888
  assigneeId: string | null;
12257
10889
  subject: string;
12258
10890
  from: {
@@ -12567,6 +11199,60 @@ export declare const apiContract: {
12567
11199
  };
12568
11200
  path: "mail/room/:id";
12569
11201
  };
11202
+ markAsRead: {
11203
+ summary: "Mark all the un read messages as read";
11204
+ method: "GET";
11205
+ pathParams: import("zod").ZodObject<{
11206
+ id: import("zod").ZodString;
11207
+ }, "strip", import("zod").ZodTypeAny, {
11208
+ id: string;
11209
+ }, {
11210
+ id: string;
11211
+ }>;
11212
+ responses: {
11213
+ 401: import("zod").ZodObject<{
11214
+ message: import("zod").ZodString;
11215
+ error: import("zod").ZodAny;
11216
+ }, "strip", import("zod").ZodTypeAny, {
11217
+ message: string;
11218
+ error?: any;
11219
+ }, {
11220
+ message: string;
11221
+ error?: any;
11222
+ }>;
11223
+ 404: import("zod").ZodObject<{
11224
+ message: import("zod").ZodString;
11225
+ error: import("zod").ZodAny;
11226
+ }, "strip", import("zod").ZodTypeAny, {
11227
+ message: string;
11228
+ error?: any;
11229
+ }, {
11230
+ message: string;
11231
+ error?: any;
11232
+ }>;
11233
+ 422: import("zod").ZodObject<{
11234
+ message: import("zod").ZodString;
11235
+ error: import("zod").ZodAny;
11236
+ }, "strip", import("zod").ZodTypeAny, {
11237
+ message: string;
11238
+ error?: any;
11239
+ }, {
11240
+ message: string;
11241
+ error?: any;
11242
+ }>;
11243
+ 200: import("zod").ZodObject<{
11244
+ requestId: import("zod").ZodString;
11245
+ message: import("zod").ZodString;
11246
+ }, "strip", import("zod").ZodTypeAny, {
11247
+ message: string;
11248
+ requestId: string;
11249
+ }, {
11250
+ message: string;
11251
+ requestId: string;
11252
+ }>;
11253
+ };
11254
+ path: "mail/room/:id";
11255
+ };
12570
11256
  };
12571
11257
  message: {
12572
11258
  submit: {
@@ -12711,7 +11397,7 @@ export declare const apiContract: {
12711
11397
  presignedUrl: string;
12712
11398
  }[] | undefined;
12713
11399
  }>;
12714
- summary: "Submit a message such as compose, reply or forward";
11400
+ summary: "Submit a message such compose, reply or forward";
12715
11401
  method: "POST";
12716
11402
  responses: {
12717
11403
  500: import("zod").ZodObject<{
@@ -12792,63 +11478,6 @@ export declare const apiContract: {
12792
11478
  };
12793
11479
  path: "mail/message/submit";
12794
11480
  };
12795
- getTotalUnreadMessageCount: {
12796
- summary: "Get total unread messages counts";
12797
- method: "GET";
12798
- responses: {
12799
- 401: import("zod").ZodObject<{
12800
- message: import("zod").ZodString;
12801
- error: import("zod").ZodAny;
12802
- }, "strip", import("zod").ZodTypeAny, {
12803
- message: string;
12804
- error?: any;
12805
- }, {
12806
- message: string;
12807
- error?: any;
12808
- }>;
12809
- 404: import("zod").ZodObject<{
12810
- message: import("zod").ZodString;
12811
- error: import("zod").ZodAny;
12812
- }, "strip", import("zod").ZodTypeAny, {
12813
- message: string;
12814
- error?: any;
12815
- }, {
12816
- message: string;
12817
- error?: any;
12818
- }>;
12819
- 422: import("zod").ZodObject<{
12820
- message: import("zod").ZodString;
12821
- error: import("zod").ZodAny;
12822
- }, "strip", import("zod").ZodTypeAny, {
12823
- message: string;
12824
- error?: any;
12825
- }, {
12826
- message: string;
12827
- error?: any;
12828
- }>;
12829
- 200: import("zod").ZodObject<{
12830
- requestId: import("zod").ZodString;
12831
- data: import("zod").ZodObject<{
12832
- count: import("zod").ZodNumber;
12833
- }, "strip", import("zod").ZodTypeAny, {
12834
- count: number;
12835
- }, {
12836
- count: number;
12837
- }>;
12838
- }, "strip", import("zod").ZodTypeAny, {
12839
- data: {
12840
- count: number;
12841
- };
12842
- requestId: string;
12843
- }, {
12844
- data: {
12845
- count: number;
12846
- };
12847
- requestId: string;
12848
- }>;
12849
- };
12850
- path: "mail/message/new_message_count";
12851
- };
12852
11481
  getById: {
12853
11482
  summary: "Get a message by id";
12854
11483
  method: "GET";
@@ -13499,71 +12128,8 @@ export declare const apiContract: {
13499
12128
  'x-client-timezone'?: string | undefined;
13500
12129
  }>>>;
13501
12130
  };
13502
- sync: {
13503
- summary: "Sync all accounts state from email engine to system";
13504
- method: "GET";
13505
- responses: {
13506
- 401: import("zod").ZodObject<{
13507
- message: import("zod").ZodString;
13508
- error: import("zod").ZodAny;
13509
- }, "strip", import("zod").ZodTypeAny, {
13510
- message: string;
13511
- error?: any;
13512
- }, {
13513
- message: string;
13514
- error?: any;
13515
- }>;
13516
- 404: import("zod").ZodObject<{
13517
- message: import("zod").ZodString;
13518
- error: import("zod").ZodAny;
13519
- }, "strip", import("zod").ZodTypeAny, {
13520
- message: string;
13521
- error?: any;
13522
- }, {
13523
- message: string;
13524
- error?: any;
13525
- }>;
13526
- 422: import("zod").ZodObject<{
13527
- message: import("zod").ZodString;
13528
- error: import("zod").ZodAny;
13529
- }, "strip", import("zod").ZodTypeAny, {
13530
- message: string;
13531
- error?: any;
13532
- }, {
13533
- message: string;
13534
- error?: any;
13535
- }>;
13536
- 200: import("zod").ZodObject<{
13537
- requestId: import("zod").ZodString;
13538
- message: import("zod").ZodString;
13539
- }, "strip", import("zod").ZodTypeAny, {
13540
- message: string;
13541
- requestId: string;
13542
- }, {
13543
- message: string;
13544
- requestId: string;
13545
- }>;
13546
- };
13547
- path: "mail/account/sync";
13548
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
13549
- 'x-tenant': import("zod").ZodString;
13550
- authorization: import("zod").ZodString;
13551
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
13552
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
13553
- }, "strip", import("zod").ZodTypeAny, {
13554
- 'x-tenant': string;
13555
- authorization: string;
13556
- 'x-client-timezone': string;
13557
- 'x-code'?: string | undefined;
13558
- }, {
13559
- 'x-tenant': string;
13560
- authorization: string;
13561
- 'x-code'?: string | undefined;
13562
- 'x-client-timezone'?: string | undefined;
13563
- }>>>;
13564
- };
13565
12131
  getById: {
13566
- summary: "Get an account by id";
12132
+ summary: "Get a account by id";
13567
12133
  method: "GET";
13568
12134
  pathParams: import("zod").ZodObject<{
13569
12135
  id: import("zod").ZodString;
@@ -13788,13 +12354,6 @@ export declare const apiContract: {
13788
12354
  getAll: {
13789
12355
  summary: "Get all accounts";
13790
12356
  method: "GET";
13791
- query: import("zod").ZodOptional<import("zod").ZodObject<{
13792
- state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
13793
- }, "strip", import("zod").ZodTypeAny, {
13794
- state?: "connected" | "disconnected" | undefined;
13795
- }, {
13796
- state?: "connected" | "disconnected" | undefined;
13797
- }>>;
13798
12357
  responses: {
13799
12358
  401: import("zod").ZodObject<{
13800
12359
  message: import("zod").ZodString;
@@ -41918,734 +40477,6 @@ export declare const apiContract: {
41918
40477
  }>>>;
41919
40478
  };
41920
40479
  };
41921
- snippet: {
41922
- createSnippetGroup: {
41923
- body: import("zod").ZodObject<{
41924
- name: import("zod").ZodString;
41925
- platformType: import("zod").ZodString;
41926
- }, "strip", import("zod").ZodTypeAny, {
41927
- name: string;
41928
- platformType: string;
41929
- }, {
41930
- name: string;
41931
- platformType: string;
41932
- }>;
41933
- method: "POST";
41934
- responses: {
41935
- 201: import("zod").ZodObject<{
41936
- requestId: import("zod").ZodString;
41937
- snippetgroup: import("zod").ZodObject<{
41938
- id: import("zod").ZodString;
41939
- createdAt: import("zod").ZodDate;
41940
- updatedAt: import("zod").ZodDate;
41941
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41942
- name: import("zod").ZodString;
41943
- platformType: import("zod").ZodString;
41944
- }, "strip", import("zod").ZodTypeAny, {
41945
- id: string;
41946
- name: string;
41947
- createdAt: Date;
41948
- updatedAt: Date;
41949
- deletedAt: Date | null;
41950
- platformType: string;
41951
- }, {
41952
- id: string;
41953
- name: string;
41954
- createdAt: Date;
41955
- updatedAt: Date;
41956
- deletedAt: Date | null;
41957
- platformType: string;
41958
- }>;
41959
- }, "strip", import("zod").ZodTypeAny, {
41960
- requestId: string;
41961
- snippetgroup: {
41962
- id: string;
41963
- name: string;
41964
- createdAt: Date;
41965
- updatedAt: Date;
41966
- deletedAt: Date | null;
41967
- platformType: string;
41968
- };
41969
- }, {
41970
- requestId: string;
41971
- snippetgroup: {
41972
- id: string;
41973
- name: string;
41974
- createdAt: Date;
41975
- updatedAt: Date;
41976
- deletedAt: Date | null;
41977
- platformType: string;
41978
- };
41979
- }>;
41980
- 500: import("zod").ZodObject<{
41981
- message: import("zod").ZodString;
41982
- error: import("zod").ZodAny;
41983
- }, "strip", import("zod").ZodTypeAny, {
41984
- message: string;
41985
- error?: any;
41986
- }, {
41987
- message: string;
41988
- error?: any;
41989
- }>;
41990
- };
41991
- path: "snippets/groups";
41992
- };
41993
- getSnippetGroups: {
41994
- method: "GET";
41995
- query: null;
41996
- responses: {
41997
- 200: import("zod").ZodObject<{
41998
- requestId: import("zod").ZodString;
41999
- snippetgroups: import("zod").ZodArray<import("zod").ZodObject<{
42000
- id: import("zod").ZodString;
42001
- createdAt: import("zod").ZodDate;
42002
- updatedAt: import("zod").ZodDate;
42003
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
42004
- name: import("zod").ZodString;
42005
- platformType: import("zod").ZodString;
42006
- }, "strip", import("zod").ZodTypeAny, {
42007
- id: string;
42008
- name: string;
42009
- createdAt: Date;
42010
- updatedAt: Date;
42011
- deletedAt: Date | null;
42012
- platformType: string;
42013
- }, {
42014
- id: string;
42015
- name: string;
42016
- createdAt: Date;
42017
- updatedAt: Date;
42018
- deletedAt: Date | null;
42019
- platformType: string;
42020
- }>, "many">;
42021
- }, "strip", import("zod").ZodTypeAny, {
42022
- requestId: string;
42023
- snippetgroups: {
42024
- id: string;
42025
- name: string;
42026
- createdAt: Date;
42027
- updatedAt: Date;
42028
- deletedAt: Date | null;
42029
- platformType: string;
42030
- }[];
42031
- }, {
42032
- requestId: string;
42033
- snippetgroups: {
42034
- id: string;
42035
- name: string;
42036
- createdAt: Date;
42037
- updatedAt: Date;
42038
- deletedAt: Date | null;
42039
- platformType: string;
42040
- }[];
42041
- }>;
42042
- 500: import("zod").ZodObject<{
42043
- message: import("zod").ZodString;
42044
- error: import("zod").ZodAny;
42045
- }, "strip", import("zod").ZodTypeAny, {
42046
- message: string;
42047
- error?: any;
42048
- }, {
42049
- message: string;
42050
- error?: any;
42051
- }>;
42052
- };
42053
- path: "snippets/groups";
42054
- };
42055
- updateSnippetGroup: {
42056
- body: import("zod").ZodObject<{
42057
- name: import("zod").ZodOptional<import("zod").ZodString>;
42058
- platformType: import("zod").ZodOptional<import("zod").ZodString>;
42059
- }, "strip", import("zod").ZodTypeAny, {
42060
- name?: string | undefined;
42061
- platformType?: string | undefined;
42062
- }, {
42063
- name?: string | undefined;
42064
- platformType?: string | undefined;
42065
- }>;
42066
- method: "PATCH";
42067
- pathParams: import("zod").ZodObject<{
42068
- id: import("zod").ZodString;
42069
- }, "strip", import("zod").ZodTypeAny, {
42070
- id: string;
42071
- }, {
42072
- id: string;
42073
- }>;
42074
- responses: {
42075
- 200: import("zod").ZodObject<{
42076
- requestId: import("zod").ZodString;
42077
- snippetgroup: import("zod").ZodObject<{
42078
- id: import("zod").ZodString;
42079
- createdAt: import("zod").ZodDate;
42080
- updatedAt: import("zod").ZodDate;
42081
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
42082
- name: import("zod").ZodString;
42083
- platformType: import("zod").ZodString;
42084
- }, "strip", import("zod").ZodTypeAny, {
42085
- id: string;
42086
- name: string;
42087
- createdAt: Date;
42088
- updatedAt: Date;
42089
- deletedAt: Date | null;
42090
- platformType: string;
42091
- }, {
42092
- id: string;
42093
- name: string;
42094
- createdAt: Date;
42095
- updatedAt: Date;
42096
- deletedAt: Date | null;
42097
- platformType: string;
42098
- }>;
42099
- }, "strip", import("zod").ZodTypeAny, {
42100
- requestId: string;
42101
- snippetgroup: {
42102
- id: string;
42103
- name: string;
42104
- createdAt: Date;
42105
- updatedAt: Date;
42106
- deletedAt: Date | null;
42107
- platformType: string;
42108
- };
42109
- }, {
42110
- requestId: string;
42111
- snippetgroup: {
42112
- id: string;
42113
- name: string;
42114
- createdAt: Date;
42115
- updatedAt: Date;
42116
- deletedAt: Date | null;
42117
- platformType: string;
42118
- };
42119
- }>;
42120
- 500: import("zod").ZodObject<{
42121
- message: import("zod").ZodString;
42122
- error: import("zod").ZodAny;
42123
- }, "strip", import("zod").ZodTypeAny, {
42124
- message: string;
42125
- error?: any;
42126
- }, {
42127
- message: string;
42128
- error?: any;
42129
- }>;
42130
- };
42131
- path: "snippets/groups/:id";
42132
- };
42133
- deleteSnippetGroup: {
42134
- body: null;
42135
- method: "DELETE";
42136
- pathParams: import("zod").ZodObject<{
42137
- id: import("zod").ZodString;
42138
- }, "strip", import("zod").ZodTypeAny, {
42139
- id: string;
42140
- }, {
42141
- id: string;
42142
- }>;
42143
- responses: {
42144
- 200: import("zod").ZodObject<{
42145
- requestId: import("zod").ZodString;
42146
- }, "strip", import("zod").ZodTypeAny, {
42147
- requestId: string;
42148
- }, {
42149
- requestId: string;
42150
- }>;
42151
- 500: import("zod").ZodObject<{
42152
- message: import("zod").ZodString;
42153
- error: import("zod").ZodAny;
42154
- }, "strip", import("zod").ZodTypeAny, {
42155
- message: string;
42156
- error?: any;
42157
- }, {
42158
- message: string;
42159
- error?: any;
42160
- }>;
42161
- };
42162
- path: "snippets/groups/:id";
42163
- };
42164
- getSnippets: {
42165
- method: "GET";
42166
- responses: {
42167
- 200: import("zod").ZodObject<{
42168
- requestId: import("zod").ZodString;
42169
- snippets: import("zod").ZodArray<import("zod").ZodObject<{
42170
- id: import("zod").ZodString;
42171
- createdAt: import("zod").ZodDate;
42172
- updatedAt: import("zod").ZodDate;
42173
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
42174
- shortcutName: import("zod").ZodString;
42175
- contentType: import("zod").ZodString;
42176
- contentValue: import("zod").ZodNullable<import("zod").ZodString>;
42177
- uploadId: import("zod").ZodNullable<import("zod").ZodString>;
42178
- order: import("zod").ZodOptional<import("zod").ZodNumber>;
42179
- snippetGroupId: import("zod").ZodString;
42180
- snippetGroup: import("zod").ZodObject<{
42181
- id: import("zod").ZodString;
42182
- createdAt: import("zod").ZodDate;
42183
- updatedAt: import("zod").ZodDate;
42184
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
42185
- name: import("zod").ZodString;
42186
- platformType: import("zod").ZodString;
42187
- }, "strip", import("zod").ZodTypeAny, {
42188
- id: string;
42189
- name: string;
42190
- createdAt: Date;
42191
- updatedAt: Date;
42192
- deletedAt: Date | null;
42193
- platformType: string;
42194
- }, {
42195
- id: string;
42196
- name: string;
42197
- createdAt: Date;
42198
- updatedAt: Date;
42199
- deletedAt: Date | null;
42200
- platformType: string;
42201
- }>;
42202
- }, "strip", import("zod").ZodTypeAny, {
42203
- id: string;
42204
- createdAt: Date;
42205
- updatedAt: Date;
42206
- deletedAt: Date | null;
42207
- contentType: string;
42208
- uploadId: string | null;
42209
- shortcutName: string;
42210
- contentValue: string | null;
42211
- snippetGroupId: string;
42212
- snippetGroup: {
42213
- id: string;
42214
- name: string;
42215
- createdAt: Date;
42216
- updatedAt: Date;
42217
- deletedAt: Date | null;
42218
- platformType: string;
42219
- };
42220
- order?: number | undefined;
42221
- }, {
42222
- id: string;
42223
- createdAt: Date;
42224
- updatedAt: Date;
42225
- deletedAt: Date | null;
42226
- contentType: string;
42227
- uploadId: string | null;
42228
- shortcutName: string;
42229
- contentValue: string | null;
42230
- snippetGroupId: string;
42231
- snippetGroup: {
42232
- id: string;
42233
- name: string;
42234
- createdAt: Date;
42235
- updatedAt: Date;
42236
- deletedAt: Date | null;
42237
- platformType: string;
42238
- };
42239
- order?: number | undefined;
42240
- }>, "many">;
42241
- }, "strip", import("zod").ZodTypeAny, {
42242
- requestId: string;
42243
- snippets: {
42244
- id: string;
42245
- createdAt: Date;
42246
- updatedAt: Date;
42247
- deletedAt: Date | null;
42248
- contentType: string;
42249
- uploadId: string | null;
42250
- shortcutName: string;
42251
- contentValue: string | null;
42252
- snippetGroupId: string;
42253
- snippetGroup: {
42254
- id: string;
42255
- name: string;
42256
- createdAt: Date;
42257
- updatedAt: Date;
42258
- deletedAt: Date | null;
42259
- platformType: string;
42260
- };
42261
- order?: number | undefined;
42262
- }[];
42263
- }, {
42264
- requestId: string;
42265
- snippets: {
42266
- id: string;
42267
- createdAt: Date;
42268
- updatedAt: Date;
42269
- deletedAt: Date | null;
42270
- contentType: string;
42271
- uploadId: string | null;
42272
- shortcutName: string;
42273
- contentValue: string | null;
42274
- snippetGroupId: string;
42275
- snippetGroup: {
42276
- id: string;
42277
- name: string;
42278
- createdAt: Date;
42279
- updatedAt: Date;
42280
- deletedAt: Date | null;
42281
- platformType: string;
42282
- };
42283
- order?: number | undefined;
42284
- }[];
42285
- }>;
42286
- 500: import("zod").ZodObject<{
42287
- message: import("zod").ZodString;
42288
- error: import("zod").ZodAny;
42289
- }, "strip", import("zod").ZodTypeAny, {
42290
- message: string;
42291
- error?: any;
42292
- }, {
42293
- message: string;
42294
- error?: any;
42295
- }>;
42296
- };
42297
- path: "snippets";
42298
- };
42299
- createSnippet: {
42300
- body: import("zod").ZodObject<{
42301
- shortcutName: import("zod").ZodString;
42302
- contentType: import("zod").ZodString;
42303
- contentValue: import("zod").ZodOptional<import("zod").ZodString>;
42304
- snippetGroupId: import("zod").ZodString;
42305
- platformType: import("zod").ZodString;
42306
- }, "strip", import("zod").ZodTypeAny, {
42307
- contentType: string;
42308
- platformType: string;
42309
- shortcutName: string;
42310
- snippetGroupId: string;
42311
- contentValue?: string | undefined;
42312
- }, {
42313
- contentType: string;
42314
- platformType: string;
42315
- shortcutName: string;
42316
- snippetGroupId: string;
42317
- contentValue?: string | undefined;
42318
- }>;
42319
- method: "POST";
42320
- responses: {
42321
- 201: import("zod").ZodObject<{
42322
- requestId: import("zod").ZodString;
42323
- snippet: import("zod").ZodObject<{
42324
- id: import("zod").ZodString;
42325
- createdAt: import("zod").ZodDate;
42326
- updatedAt: import("zod").ZodDate;
42327
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
42328
- shortcutName: import("zod").ZodString;
42329
- contentType: import("zod").ZodString;
42330
- contentValue: import("zod").ZodNullable<import("zod").ZodString>;
42331
- uploadId: import("zod").ZodNullable<import("zod").ZodString>;
42332
- order: import("zod").ZodOptional<import("zod").ZodNumber>;
42333
- snippetGroupId: import("zod").ZodString;
42334
- snippetGroup: import("zod").ZodObject<{
42335
- id: import("zod").ZodString;
42336
- createdAt: import("zod").ZodDate;
42337
- updatedAt: import("zod").ZodDate;
42338
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
42339
- name: import("zod").ZodString;
42340
- platformType: import("zod").ZodString;
42341
- }, "strip", import("zod").ZodTypeAny, {
42342
- id: string;
42343
- name: string;
42344
- createdAt: Date;
42345
- updatedAt: Date;
42346
- deletedAt: Date | null;
42347
- platformType: string;
42348
- }, {
42349
- id: string;
42350
- name: string;
42351
- createdAt: Date;
42352
- updatedAt: Date;
42353
- deletedAt: Date | null;
42354
- platformType: string;
42355
- }>;
42356
- }, "strip", import("zod").ZodTypeAny, {
42357
- id: string;
42358
- createdAt: Date;
42359
- updatedAt: Date;
42360
- deletedAt: Date | null;
42361
- contentType: string;
42362
- uploadId: string | null;
42363
- shortcutName: string;
42364
- contentValue: string | null;
42365
- snippetGroupId: string;
42366
- snippetGroup: {
42367
- id: string;
42368
- name: string;
42369
- createdAt: Date;
42370
- updatedAt: Date;
42371
- deletedAt: Date | null;
42372
- platformType: string;
42373
- };
42374
- order?: number | undefined;
42375
- }, {
42376
- id: string;
42377
- createdAt: Date;
42378
- updatedAt: Date;
42379
- deletedAt: Date | null;
42380
- contentType: string;
42381
- uploadId: string | null;
42382
- shortcutName: string;
42383
- contentValue: string | null;
42384
- snippetGroupId: string;
42385
- snippetGroup: {
42386
- id: string;
42387
- name: string;
42388
- createdAt: Date;
42389
- updatedAt: Date;
42390
- deletedAt: Date | null;
42391
- platformType: string;
42392
- };
42393
- order?: number | undefined;
42394
- }>;
42395
- }, "strip", import("zod").ZodTypeAny, {
42396
- requestId: string;
42397
- snippet: {
42398
- id: string;
42399
- createdAt: Date;
42400
- updatedAt: Date;
42401
- deletedAt: Date | null;
42402
- contentType: string;
42403
- uploadId: string | null;
42404
- shortcutName: string;
42405
- contentValue: string | null;
42406
- snippetGroupId: string;
42407
- snippetGroup: {
42408
- id: string;
42409
- name: string;
42410
- createdAt: Date;
42411
- updatedAt: Date;
42412
- deletedAt: Date | null;
42413
- platformType: string;
42414
- };
42415
- order?: number | undefined;
42416
- };
42417
- }, {
42418
- requestId: string;
42419
- snippet: {
42420
- id: string;
42421
- createdAt: Date;
42422
- updatedAt: Date;
42423
- deletedAt: Date | null;
42424
- contentType: string;
42425
- uploadId: string | null;
42426
- shortcutName: string;
42427
- contentValue: string | null;
42428
- snippetGroupId: string;
42429
- snippetGroup: {
42430
- id: string;
42431
- name: string;
42432
- createdAt: Date;
42433
- updatedAt: Date;
42434
- deletedAt: Date | null;
42435
- platformType: string;
42436
- };
42437
- order?: number | undefined;
42438
- };
42439
- }>;
42440
- 500: import("zod").ZodObject<{
42441
- message: import("zod").ZodString;
42442
- error: import("zod").ZodAny;
42443
- }, "strip", import("zod").ZodTypeAny, {
42444
- message: string;
42445
- error?: any;
42446
- }, {
42447
- message: string;
42448
- error?: any;
42449
- }>;
42450
- };
42451
- path: "snippets";
42452
- };
42453
- updateSnippet: {
42454
- body: import("zod").ZodObject<{
42455
- contentType: import("zod").ZodString;
42456
- platformType: import("zod").ZodString;
42457
- shortcutName: import("zod").ZodString;
42458
- contentValue: import("zod").ZodOptional<import("zod").ZodString>;
42459
- snippetGroupId: import("zod").ZodString;
42460
- snippetContentId: import("zod").ZodString;
42461
- }, "strip", import("zod").ZodTypeAny, {
42462
- contentType: string;
42463
- platformType: string;
42464
- shortcutName: string;
42465
- snippetGroupId: string;
42466
- snippetContentId: string;
42467
- contentValue?: string | undefined;
42468
- }, {
42469
- contentType: string;
42470
- platformType: string;
42471
- shortcutName: string;
42472
- snippetGroupId: string;
42473
- snippetContentId: string;
42474
- contentValue?: string | undefined;
42475
- }>;
42476
- method: "PATCH";
42477
- pathParams: import("zod").ZodObject<{
42478
- id: import("zod").ZodString;
42479
- }, "strip", import("zod").ZodTypeAny, {
42480
- id: string;
42481
- }, {
42482
- id: string;
42483
- }>;
42484
- responses: {
42485
- 200: import("zod").ZodObject<{
42486
- requestId: import("zod").ZodString;
42487
- snippet: import("zod").ZodObject<{
42488
- id: import("zod").ZodString;
42489
- createdAt: import("zod").ZodDate;
42490
- updatedAt: import("zod").ZodDate;
42491
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
42492
- shortcutName: import("zod").ZodString;
42493
- contentType: import("zod").ZodString;
42494
- contentValue: import("zod").ZodNullable<import("zod").ZodString>;
42495
- uploadId: import("zod").ZodNullable<import("zod").ZodString>;
42496
- order: import("zod").ZodOptional<import("zod").ZodNumber>;
42497
- snippetGroupId: import("zod").ZodString;
42498
- snippetGroup: import("zod").ZodObject<{
42499
- id: import("zod").ZodString;
42500
- createdAt: import("zod").ZodDate;
42501
- updatedAt: import("zod").ZodDate;
42502
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
42503
- name: import("zod").ZodString;
42504
- platformType: import("zod").ZodString;
42505
- }, "strip", import("zod").ZodTypeAny, {
42506
- id: string;
42507
- name: string;
42508
- createdAt: Date;
42509
- updatedAt: Date;
42510
- deletedAt: Date | null;
42511
- platformType: string;
42512
- }, {
42513
- id: string;
42514
- name: string;
42515
- createdAt: Date;
42516
- updatedAt: Date;
42517
- deletedAt: Date | null;
42518
- platformType: string;
42519
- }>;
42520
- }, "strip", import("zod").ZodTypeAny, {
42521
- id: string;
42522
- createdAt: Date;
42523
- updatedAt: Date;
42524
- deletedAt: Date | null;
42525
- contentType: string;
42526
- uploadId: string | null;
42527
- shortcutName: string;
42528
- contentValue: string | null;
42529
- snippetGroupId: string;
42530
- snippetGroup: {
42531
- id: string;
42532
- name: string;
42533
- createdAt: Date;
42534
- updatedAt: Date;
42535
- deletedAt: Date | null;
42536
- platformType: string;
42537
- };
42538
- order?: number | undefined;
42539
- }, {
42540
- id: string;
42541
- createdAt: Date;
42542
- updatedAt: Date;
42543
- deletedAt: Date | null;
42544
- contentType: string;
42545
- uploadId: string | null;
42546
- shortcutName: string;
42547
- contentValue: string | null;
42548
- snippetGroupId: string;
42549
- snippetGroup: {
42550
- id: string;
42551
- name: string;
42552
- createdAt: Date;
42553
- updatedAt: Date;
42554
- deletedAt: Date | null;
42555
- platformType: string;
42556
- };
42557
- order?: number | undefined;
42558
- }>;
42559
- }, "strip", import("zod").ZodTypeAny, {
42560
- requestId: string;
42561
- snippet: {
42562
- id: string;
42563
- createdAt: Date;
42564
- updatedAt: Date;
42565
- deletedAt: Date | null;
42566
- contentType: string;
42567
- uploadId: string | null;
42568
- shortcutName: string;
42569
- contentValue: string | null;
42570
- snippetGroupId: string;
42571
- snippetGroup: {
42572
- id: string;
42573
- name: string;
42574
- createdAt: Date;
42575
- updatedAt: Date;
42576
- deletedAt: Date | null;
42577
- platformType: string;
42578
- };
42579
- order?: number | undefined;
42580
- };
42581
- }, {
42582
- requestId: string;
42583
- snippet: {
42584
- id: string;
42585
- createdAt: Date;
42586
- updatedAt: Date;
42587
- deletedAt: Date | null;
42588
- contentType: string;
42589
- uploadId: string | null;
42590
- shortcutName: string;
42591
- contentValue: string | null;
42592
- snippetGroupId: string;
42593
- snippetGroup: {
42594
- id: string;
42595
- name: string;
42596
- createdAt: Date;
42597
- updatedAt: Date;
42598
- deletedAt: Date | null;
42599
- platformType: string;
42600
- };
42601
- order?: number | undefined;
42602
- };
42603
- }>;
42604
- 500: import("zod").ZodObject<{
42605
- message: import("zod").ZodString;
42606
- error: import("zod").ZodAny;
42607
- }, "strip", import("zod").ZodTypeAny, {
42608
- message: string;
42609
- error?: any;
42610
- }, {
42611
- message: string;
42612
- error?: any;
42613
- }>;
42614
- };
42615
- path: "snippets/:id";
42616
- };
42617
- deleteSnippet: {
42618
- body: null;
42619
- method: "DELETE";
42620
- pathParams: import("zod").ZodObject<{
42621
- id: import("zod").ZodString;
42622
- }, "strip", import("zod").ZodTypeAny, {
42623
- id: string;
42624
- }, {
42625
- id: string;
42626
- }>;
42627
- responses: {
42628
- 200: import("zod").ZodObject<{
42629
- requestId: import("zod").ZodString;
42630
- }, "strip", import("zod").ZodTypeAny, {
42631
- requestId: string;
42632
- }, {
42633
- requestId: string;
42634
- }>;
42635
- 500: import("zod").ZodObject<{
42636
- message: import("zod").ZodString;
42637
- error: import("zod").ZodAny;
42638
- }, "strip", import("zod").ZodTypeAny, {
42639
- message: string;
42640
- error?: any;
42641
- }, {
42642
- message: string;
42643
- error?: any;
42644
- }>;
42645
- };
42646
- path: "snippets/:id";
42647
- };
42648
- };
42649
40480
  };
42650
40481
  export declare const contactContract: {
42651
40482
  contact: {
@@ -159468,9 +157299,9 @@ export declare const chatContract: {
159468
157299
  page: import("zod").ZodDefault<import("zod").ZodNumber>;
159469
157300
  pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
159470
157301
  query: import("zod").ZodString;
159471
- type: import("zod").ZodDefault<import("zod").ZodEnum<["contact", "message"]>>;
157302
+ type: import("zod").ZodDefault<import("zod").ZodEnum<["contact", "message", "caseId"]>>;
159472
157303
  }, "strip", import("zod").ZodTypeAny, {
159473
- type: "message" | "contact";
157304
+ type: "message" | "contact" | "caseId";
159474
157305
  page: number;
159475
157306
  pageSize: number;
159476
157307
  query: string;
@@ -159478,7 +157309,7 @@ export declare const chatContract: {
159478
157309
  query: string;
159479
157310
  page?: number | undefined;
159480
157311
  pageSize?: number | undefined;
159481
- type?: "message" | "contact" | undefined;
157312
+ type?: "message" | "contact" | "caseId" | undefined;
159482
157313
  }>;
159483
157314
  responses: {
159484
157315
  200: import("zod").ZodObject<{