@kl1/contracts 1.1.63-uat → 1.1.64-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -2160,7 +2160,7 @@ export declare const apiContract: {
2160
2160
  telephonySignature: string | null;
2161
2161
  };
2162
2162
  }>;
2163
- firstAssignee: import("zod").ZodNullable<import("zod").ZodObject<{
2163
+ assignee: import("zod").ZodNullable<import("zod").ZodObject<{
2164
2164
  id: import("zod").ZodString;
2165
2165
  createdAt: import("zod").ZodDate;
2166
2166
  updatedAt: import("zod").ZodDate;
@@ -2364,27 +2364,73 @@ export declare const apiContract: {
2364
2364
  telephonySignature: string | null;
2365
2365
  };
2366
2366
  }>>;
2367
- assignee: import("zod").ZodNullable<import("zod").ZodObject<{
2367
+ channel: import("zod").ZodObject<{
2368
2368
  id: import("zod").ZodString;
2369
2369
  createdAt: import("zod").ZodDate;
2370
2370
  updatedAt: import("zod").ZodDate;
2371
2371
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2372
2372
  name: import("zod").ZodString;
2373
- email: import("zod").ZodString;
2374
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2375
- password: import("zod").ZodString;
2376
- address: import("zod").ZodNullable<import("zod").ZodString>;
2377
- phone: import("zod").ZodNullable<import("zod").ZodString>;
2378
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
2379
- roles: import("zod").ZodArray<import("zod").ZodObject<{
2373
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed"]>;
2374
+ metadata: import("zod").ZodObject<{
2375
+ id: import("zod").ZodString;
2376
+ name: import("zod").ZodString;
2377
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
2378
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
2379
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
2380
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2381
+ }, "strip", import("zod").ZodTypeAny, {
2382
+ id: string;
2383
+ name: string;
2384
+ accessToken?: string | undefined;
2385
+ channelSecret?: string | undefined;
2386
+ additionalCredentials?: any;
2387
+ lineRichMenuId?: string | null | undefined;
2388
+ }, {
2389
+ id: string;
2390
+ name: string;
2391
+ accessToken?: string | undefined;
2392
+ channelSecret?: string | undefined;
2393
+ additionalCredentials?: any;
2394
+ lineRichMenuId?: string | null | undefined;
2395
+ }>;
2396
+ brandName: import("zod").ZodString;
2397
+ platformId: import("zod").ZodString;
2398
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
2399
+ isReloginRequired: import("zod").ZodBoolean;
2400
+ connectedUserName: import("zod").ZodString;
2401
+ connectedUserId: import("zod").ZodString;
2402
+ botpressBot: import("zod").ZodNullable<import("zod").ZodObject<{
2403
+ id: import("zod").ZodString;
2404
+ name: import("zod").ZodString;
2405
+ botId: import("zod").ZodString;
2406
+ integrationId: import("zod").ZodString;
2407
+ accessToken: import("zod").ZodString;
2408
+ }, "strip", import("zod").ZodTypeAny, {
2409
+ id: string;
2410
+ name: string;
2411
+ accessToken: string;
2412
+ botId: string;
2413
+ integrationId: string;
2414
+ }, {
2415
+ id: string;
2416
+ name: string;
2417
+ accessToken: string;
2418
+ botId: string;
2419
+ integrationId: string;
2420
+ }>>;
2421
+ actor: import("zod").ZodObject<{
2380
2422
  id: import("zod").ZodString;
2381
2423
  createdAt: import("zod").ZodDate;
2382
2424
  updatedAt: import("zod").ZodDate;
2383
2425
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2384
- systemName: import("zod").ZodString;
2385
- displayName: import("zod").ZodString;
2386
- description: import("zod").ZodNullable<import("zod").ZodString>;
2387
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
2426
+ name: import("zod").ZodString;
2427
+ email: import("zod").ZodString;
2428
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2429
+ password: import("zod").ZodString;
2430
+ address: import("zod").ZodNullable<import("zod").ZodString>;
2431
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
2432
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
2433
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
2388
2434
  id: import("zod").ZodString;
2389
2435
  createdAt: import("zod").ZodDate;
2390
2436
  updatedAt: import("zod").ZodDate;
@@ -2392,6 +2438,31 @@ export declare const apiContract: {
2392
2438
  systemName: import("zod").ZodString;
2393
2439
  displayName: import("zod").ZodString;
2394
2440
  description: import("zod").ZodNullable<import("zod").ZodString>;
2441
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
2442
+ id: import("zod").ZodString;
2443
+ createdAt: import("zod").ZodDate;
2444
+ updatedAt: import("zod").ZodDate;
2445
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2446
+ systemName: import("zod").ZodString;
2447
+ displayName: import("zod").ZodString;
2448
+ description: import("zod").ZodNullable<import("zod").ZodString>;
2449
+ }, "strip", import("zod").ZodTypeAny, {
2450
+ id: string;
2451
+ description: string | null;
2452
+ createdAt: Date;
2453
+ updatedAt: Date;
2454
+ deletedAt: Date | null;
2455
+ systemName: string;
2456
+ displayName: string;
2457
+ }, {
2458
+ id: string;
2459
+ description: string | null;
2460
+ createdAt: Date;
2461
+ updatedAt: Date;
2462
+ deletedAt: Date | null;
2463
+ systemName: string;
2464
+ displayName: string;
2465
+ }>, "many">;
2395
2466
  }, "strip", import("zod").ZodTypeAny, {
2396
2467
  id: string;
2397
2468
  description: string | null;
@@ -2400,6 +2471,15 @@ export declare const apiContract: {
2400
2471
  deletedAt: Date | null;
2401
2472
  systemName: string;
2402
2473
  displayName: string;
2474
+ permissions: {
2475
+ id: string;
2476
+ description: string | null;
2477
+ createdAt: Date;
2478
+ updatedAt: Date;
2479
+ deletedAt: Date | null;
2480
+ systemName: string;
2481
+ displayName: string;
2482
+ }[];
2403
2483
  }, {
2404
2484
  id: string;
2405
2485
  description: string | null;
@@ -2408,16 +2488,66 @@ export declare const apiContract: {
2408
2488
  deletedAt: Date | null;
2409
2489
  systemName: string;
2410
2490
  displayName: string;
2491
+ permissions: {
2492
+ id: string;
2493
+ description: string | null;
2494
+ createdAt: Date;
2495
+ updatedAt: Date;
2496
+ deletedAt: Date | null;
2497
+ systemName: string;
2498
+ displayName: string;
2499
+ }[];
2411
2500
  }>, "many">;
2501
+ extension: import("zod").ZodObject<{
2502
+ id: import("zod").ZodString;
2503
+ createdAt: import("zod").ZodDate;
2504
+ updatedAt: import("zod").ZodDate;
2505
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2506
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
2507
+ sipServerUrl: import("zod").ZodString;
2508
+ sipUserName: import("zod").ZodString;
2509
+ webphoneLoginUser: import("zod").ZodString;
2510
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
2511
+ extensionName: import("zod").ZodString;
2512
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
2513
+ }, "strip", import("zod").ZodTypeAny, {
2514
+ id: string;
2515
+ createdAt: Date;
2516
+ updatedAt: Date;
2517
+ deletedAt: Date | null;
2518
+ userId: string | null;
2519
+ sipServerUrl: string;
2520
+ sipUserName: string;
2521
+ webphoneLoginUser: string;
2522
+ extensionId: string | null;
2523
+ extensionName: string;
2524
+ telephonySignature: string | null;
2525
+ }, {
2526
+ id: string;
2527
+ createdAt: Date;
2528
+ updatedAt: Date;
2529
+ deletedAt: Date | null;
2530
+ userId: string | null;
2531
+ sipServerUrl: string;
2532
+ sipUserName: string;
2533
+ webphoneLoginUser: string;
2534
+ extensionId: string | null;
2535
+ extensionName: string;
2536
+ telephonySignature: string | null;
2537
+ }>;
2412
2538
  }, "strip", import("zod").ZodTypeAny, {
2413
2539
  id: string;
2414
- description: string | null;
2540
+ address: string | null;
2541
+ name: string;
2542
+ email: string;
2415
2543
  createdAt: Date;
2416
2544
  updatedAt: Date;
2417
2545
  deletedAt: Date | null;
2418
- systemName: string;
2419
- displayName: string;
2420
- permissions: {
2546
+ emailVerifiedAt: Date | null;
2547
+ password: string;
2548
+ phone: string | null;
2549
+ notificationCount: number | null;
2550
+ roles: {
2421
2551
  id: string;
2422
2552
  description: string | null;
2423
2553
  createdAt: Date;
@@ -2425,16 +2555,42 @@ export declare const apiContract: {
2425
2555
  deletedAt: Date | null;
2426
2556
  systemName: string;
2427
2557
  displayName: string;
2558
+ permissions: {
2559
+ id: string;
2560
+ description: string | null;
2561
+ createdAt: Date;
2562
+ updatedAt: Date;
2563
+ deletedAt: Date | null;
2564
+ systemName: string;
2565
+ displayName: string;
2566
+ }[];
2428
2567
  }[];
2568
+ extension: {
2569
+ id: string;
2570
+ createdAt: Date;
2571
+ updatedAt: Date;
2572
+ deletedAt: Date | null;
2573
+ userId: string | null;
2574
+ sipServerUrl: string;
2575
+ sipUserName: string;
2576
+ webphoneLoginUser: string;
2577
+ extensionId: string | null;
2578
+ extensionName: string;
2579
+ telephonySignature: string | null;
2580
+ };
2429
2581
  }, {
2430
2582
  id: string;
2431
- description: string | null;
2583
+ address: string | null;
2584
+ name: string;
2585
+ email: string;
2432
2586
  createdAt: Date;
2433
2587
  updatedAt: Date;
2434
2588
  deletedAt: Date | null;
2435
- systemName: string;
2436
- displayName: string;
2437
- permissions: {
2589
+ emailVerifiedAt: Date | null;
2590
+ password: string;
2591
+ phone: string | null;
2592
+ notificationCount: number | null;
2593
+ roles: {
2438
2594
  id: string;
2439
2595
  description: string | null;
2440
2596
  createdAt: Date;
@@ -2442,66 +2598,131 @@ export declare const apiContract: {
2442
2598
  deletedAt: Date | null;
2443
2599
  systemName: string;
2444
2600
  displayName: string;
2601
+ permissions: {
2602
+ id: string;
2603
+ description: string | null;
2604
+ createdAt: Date;
2605
+ updatedAt: Date;
2606
+ deletedAt: Date | null;
2607
+ systemName: string;
2608
+ displayName: string;
2609
+ }[];
2445
2610
  }[];
2446
- }>, "many">;
2447
- extension: import("zod").ZodObject<{
2448
- id: import("zod").ZodString;
2449
- createdAt: import("zod").ZodDate;
2450
- updatedAt: import("zod").ZodDate;
2451
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2452
- userId: import("zod").ZodNullable<import("zod").ZodString>;
2453
- sipServerUrl: import("zod").ZodString;
2454
- sipUserName: import("zod").ZodString;
2455
- webphoneLoginUser: import("zod").ZodString;
2456
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
2457
- extensionName: import("zod").ZodString;
2458
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
2459
- }, "strip", import("zod").ZodTypeAny, {
2611
+ extension: {
2612
+ id: string;
2613
+ createdAt: Date;
2614
+ updatedAt: Date;
2615
+ deletedAt: Date | null;
2616
+ userId: string | null;
2617
+ sipServerUrl: string;
2618
+ sipUserName: string;
2619
+ webphoneLoginUser: string;
2620
+ extensionId: string | null;
2621
+ extensionName: string;
2622
+ telephonySignature: string | null;
2623
+ };
2624
+ }>;
2625
+ }, "strip", import("zod").ZodTypeAny, {
2626
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2627
+ id: string;
2628
+ name: string;
2629
+ metadata: {
2630
+ id: string;
2631
+ name: string;
2632
+ accessToken?: string | undefined;
2633
+ channelSecret?: string | undefined;
2634
+ additionalCredentials?: any;
2635
+ lineRichMenuId?: string | null | undefined;
2636
+ };
2637
+ status: boolean;
2638
+ createdAt: Date;
2639
+ updatedAt: Date;
2640
+ deletedAt: Date | null;
2641
+ actor: {
2460
2642
  id: string;
2643
+ address: string | null;
2644
+ name: string;
2645
+ email: string;
2461
2646
  createdAt: Date;
2462
2647
  updatedAt: Date;
2463
2648
  deletedAt: Date | null;
2464
- userId: string | null;
2465
- sipServerUrl: string;
2466
- sipUserName: string;
2467
- webphoneLoginUser: string;
2468
- extensionId: string | null;
2469
- extensionName: string;
2470
- telephonySignature: string | null;
2471
- }, {
2649
+ emailVerifiedAt: Date | null;
2650
+ password: string;
2651
+ phone: string | null;
2652
+ notificationCount: number | null;
2653
+ roles: {
2654
+ id: string;
2655
+ description: string | null;
2656
+ createdAt: Date;
2657
+ updatedAt: Date;
2658
+ deletedAt: Date | null;
2659
+ systemName: string;
2660
+ displayName: string;
2661
+ permissions: {
2662
+ id: string;
2663
+ description: string | null;
2664
+ createdAt: Date;
2665
+ updatedAt: Date;
2666
+ deletedAt: Date | null;
2667
+ systemName: string;
2668
+ displayName: string;
2669
+ }[];
2670
+ }[];
2671
+ extension: {
2672
+ id: string;
2673
+ createdAt: Date;
2674
+ updatedAt: Date;
2675
+ deletedAt: Date | null;
2676
+ userId: string | null;
2677
+ sipServerUrl: string;
2678
+ sipUserName: string;
2679
+ webphoneLoginUser: string;
2680
+ extensionId: string | null;
2681
+ extensionName: string;
2682
+ telephonySignature: string | null;
2683
+ };
2684
+ };
2685
+ brandName: string;
2686
+ platformId: string;
2687
+ isReloginRequired: boolean;
2688
+ connectedUserName: string;
2689
+ connectedUserId: string;
2690
+ botpressBot: {
2472
2691
  id: string;
2473
- createdAt: Date;
2474
- updatedAt: Date;
2475
- deletedAt: Date | null;
2476
- userId: string | null;
2477
- sipServerUrl: string;
2478
- sipUserName: string;
2479
- webphoneLoginUser: string;
2480
- extensionId: string | null;
2481
- extensionName: string;
2482
- telephonySignature: string | null;
2483
- }>;
2484
- }, "strip", import("zod").ZodTypeAny, {
2692
+ name: string;
2693
+ accessToken: string;
2694
+ botId: string;
2695
+ integrationId: string;
2696
+ } | null;
2697
+ }, {
2698
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2485
2699
  id: string;
2486
- address: string | null;
2487
2700
  name: string;
2488
- email: string;
2701
+ metadata: {
2702
+ id: string;
2703
+ name: string;
2704
+ accessToken?: string | undefined;
2705
+ channelSecret?: string | undefined;
2706
+ additionalCredentials?: any;
2707
+ lineRichMenuId?: string | null | undefined;
2708
+ };
2709
+ status: boolean;
2489
2710
  createdAt: Date;
2490
2711
  updatedAt: Date;
2491
2712
  deletedAt: Date | null;
2492
- emailVerifiedAt: Date | null;
2493
- password: string;
2494
- phone: string | null;
2495
- notificationCount: number | null;
2496
- roles: {
2713
+ actor: {
2497
2714
  id: string;
2498
- description: string | null;
2715
+ address: string | null;
2716
+ name: string;
2717
+ email: string;
2499
2718
  createdAt: Date;
2500
2719
  updatedAt: Date;
2501
2720
  deletedAt: Date | null;
2502
- systemName: string;
2503
- displayName: string;
2504
- permissions: {
2721
+ emailVerifiedAt: Date | null;
2722
+ password: string;
2723
+ phone: string | null;
2724
+ notificationCount: number | null;
2725
+ roles: {
2505
2726
  id: string;
2506
2727
  description: string | null;
2507
2728
  createdAt: Date;
@@ -2509,22 +2730,123 @@ export declare const apiContract: {
2509
2730
  deletedAt: Date | null;
2510
2731
  systemName: string;
2511
2732
  displayName: string;
2733
+ permissions: {
2734
+ id: string;
2735
+ description: string | null;
2736
+ createdAt: Date;
2737
+ updatedAt: Date;
2738
+ deletedAt: Date | null;
2739
+ systemName: string;
2740
+ displayName: string;
2741
+ }[];
2512
2742
  }[];
2513
- }[];
2514
- extension: {
2743
+ extension: {
2744
+ id: string;
2745
+ createdAt: Date;
2746
+ updatedAt: Date;
2747
+ deletedAt: Date | null;
2748
+ userId: string | null;
2749
+ sipServerUrl: string;
2750
+ sipUserName: string;
2751
+ webphoneLoginUser: string;
2752
+ extensionId: string | null;
2753
+ extensionName: string;
2754
+ telephonySignature: string | null;
2755
+ };
2756
+ };
2757
+ brandName: string;
2758
+ platformId: string;
2759
+ isReloginRequired: boolean;
2760
+ connectedUserName: string;
2761
+ connectedUserId: string;
2762
+ botpressBot: {
2763
+ id: string;
2764
+ name: string;
2765
+ accessToken: string;
2766
+ botId: string;
2767
+ integrationId: string;
2768
+ } | null;
2769
+ }>;
2770
+ }, "strip", import("zod").ZodTypeAny, {
2771
+ id: string;
2772
+ channel: {
2773
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2774
+ id: string;
2775
+ name: string;
2776
+ metadata: {
2777
+ id: string;
2778
+ name: string;
2779
+ accessToken?: string | undefined;
2780
+ channelSecret?: string | undefined;
2781
+ additionalCredentials?: any;
2782
+ lineRichMenuId?: string | null | undefined;
2783
+ };
2784
+ status: boolean;
2785
+ createdAt: Date;
2786
+ updatedAt: Date;
2787
+ deletedAt: Date | null;
2788
+ actor: {
2515
2789
  id: string;
2790
+ address: string | null;
2791
+ name: string;
2792
+ email: string;
2516
2793
  createdAt: Date;
2517
2794
  updatedAt: Date;
2518
2795
  deletedAt: Date | null;
2519
- userId: string | null;
2520
- sipServerUrl: string;
2521
- sipUserName: string;
2522
- webphoneLoginUser: string;
2523
- extensionId: string | null;
2524
- extensionName: string;
2525
- telephonySignature: string | null;
2796
+ emailVerifiedAt: Date | null;
2797
+ password: string;
2798
+ phone: string | null;
2799
+ notificationCount: number | null;
2800
+ roles: {
2801
+ id: string;
2802
+ description: string | null;
2803
+ createdAt: Date;
2804
+ updatedAt: Date;
2805
+ deletedAt: Date | null;
2806
+ systemName: string;
2807
+ displayName: string;
2808
+ permissions: {
2809
+ id: string;
2810
+ description: string | null;
2811
+ createdAt: Date;
2812
+ updatedAt: Date;
2813
+ deletedAt: Date | null;
2814
+ systemName: string;
2815
+ displayName: string;
2816
+ }[];
2817
+ }[];
2818
+ extension: {
2819
+ id: string;
2820
+ createdAt: Date;
2821
+ updatedAt: Date;
2822
+ deletedAt: Date | null;
2823
+ userId: string | null;
2824
+ sipServerUrl: string;
2825
+ sipUserName: string;
2826
+ webphoneLoginUser: string;
2827
+ extensionId: string | null;
2828
+ extensionName: string;
2829
+ telephonySignature: string | null;
2830
+ };
2526
2831
  };
2527
- }, {
2832
+ brandName: string;
2833
+ platformId: string;
2834
+ isReloginRequired: boolean;
2835
+ connectedUserName: string;
2836
+ connectedUserId: string;
2837
+ botpressBot: {
2838
+ id: string;
2839
+ name: string;
2840
+ accessToken: string;
2841
+ botId: string;
2842
+ integrationId: string;
2843
+ } | null;
2844
+ };
2845
+ direction: "incoming" | "outgoing" | "system";
2846
+ createdAt: Date;
2847
+ updatedAt: Date;
2848
+ deletedAt: Date | null;
2849
+ actor: {
2528
2850
  id: string;
2529
2851
  address: string | null;
2530
2852
  name: string;
@@ -2567,125 +2889,127 @@ export declare const apiContract: {
2567
2889
  extensionName: string;
2568
2890
  telephonySignature: string | null;
2569
2891
  };
2570
- }>>;
2571
- closedAssignee: import("zod").ZodNullable<import("zod").ZodObject<{
2572
- id: import("zod").ZodString;
2573
- createdAt: import("zod").ZodDate;
2574
- updatedAt: import("zod").ZodDate;
2575
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2576
- name: import("zod").ZodString;
2577
- email: import("zod").ZodString;
2578
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2579
- password: import("zod").ZodString;
2580
- address: import("zod").ZodNullable<import("zod").ZodString>;
2581
- phone: import("zod").ZodNullable<import("zod").ZodString>;
2582
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
2583
- roles: import("zod").ZodArray<import("zod").ZodObject<{
2584
- id: import("zod").ZodString;
2585
- createdAt: import("zod").ZodDate;
2586
- updatedAt: import("zod").ZodDate;
2587
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2588
- systemName: import("zod").ZodString;
2589
- displayName: import("zod").ZodString;
2590
- description: import("zod").ZodNullable<import("zod").ZodString>;
2591
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
2592
- id: import("zod").ZodString;
2593
- createdAt: import("zod").ZodDate;
2594
- updatedAt: import("zod").ZodDate;
2595
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2596
- systemName: import("zod").ZodString;
2597
- displayName: import("zod").ZodString;
2598
- description: import("zod").ZodNullable<import("zod").ZodString>;
2599
- }, "strip", import("zod").ZodTypeAny, {
2600
- id: string;
2601
- description: string | null;
2602
- createdAt: Date;
2603
- updatedAt: Date;
2604
- deletedAt: Date | null;
2605
- systemName: string;
2606
- displayName: string;
2607
- }, {
2608
- id: string;
2609
- description: string | null;
2610
- createdAt: Date;
2611
- updatedAt: Date;
2612
- deletedAt: Date | null;
2613
- systemName: string;
2614
- displayName: string;
2615
- }>, "many">;
2616
- }, "strip", import("zod").ZodTypeAny, {
2892
+ };
2893
+ firstResponseTime: number;
2894
+ lastMessage: string;
2895
+ handleTime: number;
2896
+ closeAt: Date;
2897
+ unreadCount: number;
2898
+ firstResponseAt: Date;
2899
+ isLatest: boolean;
2900
+ platformContact: {
2901
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
2902
+ id: string;
2903
+ metadata: {
2617
2904
  id: string;
2618
- description: string | null;
2905
+ name: string;
2906
+ picture?: string | undefined;
2907
+ additionalCredentials?: any;
2908
+ };
2909
+ createdAt: Date;
2910
+ updatedAt: Date;
2911
+ deletedAt: Date | null;
2912
+ contact: {
2913
+ id: string;
2914
+ channel: string | null;
2915
+ address: string | null;
2916
+ name: string;
2619
2917
  createdAt: Date;
2620
2918
  updatedAt: Date;
2621
2919
  deletedAt: Date | null;
2622
- systemName: string;
2623
- displayName: string;
2624
- permissions: {
2920
+ customFields: {
2625
2921
  id: string;
2626
- description: string | null;
2627
2922
  createdAt: Date;
2628
2923
  updatedAt: Date;
2629
2924
  deletedAt: Date | null;
2630
- systemName: string;
2631
- displayName: string;
2925
+ attribute: {
2926
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2927
+ id: string;
2928
+ position: number;
2929
+ createdAt: Date;
2930
+ updatedAt: Date;
2931
+ deletedAt: Date | null;
2932
+ systemName: string;
2933
+ displayName: string;
2934
+ isDefault: boolean;
2935
+ isArchived: boolean;
2936
+ isRequired: boolean;
2937
+ isUnique: boolean;
2938
+ };
2939
+ textValue: string | null;
2940
+ booleanValue: boolean | null;
2941
+ numberValue: number | null;
2942
+ dateValue: Date | null;
2943
+ uploads: {
2944
+ id: string;
2945
+ status: string | null;
2946
+ createdAt: Date;
2947
+ updatedAt: Date;
2948
+ deletedAt: Date | null;
2949
+ fileName: string;
2950
+ fileKey: string;
2951
+ bucketName: string;
2952
+ fileSize: number;
2953
+ fileUrl: string | null;
2954
+ }[];
2632
2955
  }[];
2633
- }, {
2634
- id: string;
2635
- description: string | null;
2636
- createdAt: Date;
2637
- updatedAt: Date;
2638
- deletedAt: Date | null;
2639
- systemName: string;
2640
- displayName: string;
2641
- permissions: {
2956
+ company: {
2642
2957
  id: string;
2643
- description: string | null;
2644
2958
  createdAt: Date;
2645
2959
  updatedAt: Date;
2646
2960
  deletedAt: Date | null;
2647
- systemName: string;
2648
- displayName: string;
2961
+ address?: string | null | undefined;
2962
+ name?: string | undefined;
2963
+ phone?: string | null | undefined;
2964
+ industry?: string | null | undefined;
2965
+ } | null;
2966
+ notes: string | null;
2967
+ contactProfile: string | null;
2968
+ socialProfileUrl: string | null;
2969
+ tags: {
2970
+ id: string;
2971
+ name: string;
2972
+ createdAt: Date;
2973
+ updatedAt: Date;
2974
+ deletedAt: Date | null;
2649
2975
  }[];
2650
- }>, "many">;
2651
- extension: import("zod").ZodObject<{
2652
- id: import("zod").ZodString;
2653
- createdAt: import("zod").ZodDate;
2654
- updatedAt: import("zod").ZodDate;
2655
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2656
- userId: import("zod").ZodNullable<import("zod").ZodString>;
2657
- sipServerUrl: import("zod").ZodString;
2658
- sipUserName: import("zod").ZodString;
2659
- webphoneLoginUser: import("zod").ZodString;
2660
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
2661
- extensionName: import("zod").ZodString;
2662
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
2663
- }, "strip", import("zod").ZodTypeAny, {
2664
- id: string;
2665
- createdAt: Date;
2666
- updatedAt: Date;
2667
- deletedAt: Date | null;
2668
- userId: string | null;
2669
- sipServerUrl: string;
2670
- sipUserName: string;
2671
- webphoneLoginUser: string;
2672
- extensionId: string | null;
2673
- extensionName: string;
2674
- telephonySignature: string | null;
2675
- }, {
2676
- id: string;
2677
- createdAt: Date;
2678
- updatedAt: Date;
2679
- deletedAt: Date | null;
2680
- userId: string | null;
2681
- sipServerUrl: string;
2682
- sipUserName: string;
2683
- webphoneLoginUser: string;
2684
- extensionId: string | null;
2685
- extensionName: string;
2686
- telephonySignature: string | null;
2687
- }>;
2688
- }, "strip", import("zod").ZodTypeAny, {
2976
+ contactEmails: {
2977
+ id: string;
2978
+ isPrimary: boolean;
2979
+ email: string;
2980
+ createdAt: Date;
2981
+ updatedAt: Date;
2982
+ deletedAt: Date | null;
2983
+ }[];
2984
+ contactPhones: {
2985
+ id: string;
2986
+ isPrimary: boolean;
2987
+ createdAt: Date;
2988
+ updatedAt: Date;
2989
+ deletedAt: Date | null;
2990
+ phone: string;
2991
+ }[];
2992
+ activityLogs?: {
2993
+ id: string;
2994
+ description: string;
2995
+ createdAt: Date;
2996
+ updatedAt: Date;
2997
+ deletedAt: Date | null;
2998
+ entityId: string;
2999
+ entityType: {
3000
+ id: string;
3001
+ description: string | null;
3002
+ createdAt: Date;
3003
+ updatedAt: Date;
3004
+ deletedAt: Date | null;
3005
+ entity: string;
3006
+ };
3007
+ }[] | undefined;
3008
+ };
3009
+ channelId: string;
3010
+ socialPlatformId: string;
3011
+ };
3012
+ assignee: {
2689
3013
  id: string;
2690
3014
  address: string | null;
2691
3015
  name: string;
@@ -2728,907 +3052,87 @@ export declare const apiContract: {
2728
3052
  extensionName: string;
2729
3053
  telephonySignature: string | null;
2730
3054
  };
2731
- }, {
2732
- id: string;
2733
- address: string | null;
2734
- name: string;
2735
- email: string;
2736
- createdAt: Date;
2737
- updatedAt: Date;
2738
- deletedAt: Date | null;
2739
- emailVerifiedAt: Date | null;
2740
- password: string;
2741
- phone: string | null;
2742
- notificationCount: number | null;
2743
- roles: {
2744
- id: string;
2745
- description: string | null;
2746
- createdAt: Date;
2747
- updatedAt: Date;
2748
- deletedAt: Date | null;
2749
- systemName: string;
2750
- displayName: string;
2751
- permissions: {
2752
- id: string;
2753
- description: string | null;
2754
- createdAt: Date;
2755
- updatedAt: Date;
2756
- deletedAt: Date | null;
2757
- systemName: string;
2758
- displayName: string;
2759
- }[];
2760
- }[];
2761
- extension: {
2762
- id: string;
2763
- createdAt: Date;
2764
- updatedAt: Date;
2765
- deletedAt: Date | null;
2766
- userId: string | null;
2767
- sipServerUrl: string;
2768
- sipUserName: string;
2769
- webphoneLoginUser: string;
2770
- extensionId: string | null;
2771
- extensionName: string;
2772
- telephonySignature: string | null;
2773
- };
2774
- }>>;
2775
- channel: import("zod").ZodObject<{
2776
- id: import("zod").ZodString;
2777
- createdAt: import("zod").ZodDate;
2778
- updatedAt: import("zod").ZodDate;
2779
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2780
- name: import("zod").ZodString;
2781
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed"]>;
2782
- metadata: import("zod").ZodObject<{
2783
- id: import("zod").ZodString;
2784
- name: import("zod").ZodString;
2785
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
2786
- channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
2787
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
2788
- lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2789
- }, "strip", import("zod").ZodTypeAny, {
2790
- id: string;
2791
- name: string;
2792
- accessToken?: string | undefined;
2793
- channelSecret?: string | undefined;
2794
- additionalCredentials?: any;
2795
- lineRichMenuId?: string | null | undefined;
2796
- }, {
2797
- id: string;
2798
- name: string;
2799
- accessToken?: string | undefined;
2800
- channelSecret?: string | undefined;
2801
- additionalCredentials?: any;
2802
- lineRichMenuId?: string | null | undefined;
2803
- }>;
2804
- brandName: import("zod").ZodString;
2805
- platformId: import("zod").ZodString;
2806
- status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
2807
- isReloginRequired: import("zod").ZodBoolean;
2808
- connectedUserName: import("zod").ZodString;
2809
- connectedUserId: import("zod").ZodString;
2810
- botpressBot: import("zod").ZodNullable<import("zod").ZodObject<{
2811
- id: import("zod").ZodString;
2812
- name: import("zod").ZodString;
2813
- botId: import("zod").ZodString;
2814
- integrationId: import("zod").ZodString;
2815
- accessToken: import("zod").ZodString;
2816
- }, "strip", import("zod").ZodTypeAny, {
2817
- id: string;
2818
- name: string;
2819
- accessToken: string;
2820
- botId: string;
2821
- integrationId: string;
2822
- }, {
2823
- id: string;
2824
- name: string;
2825
- accessToken: string;
2826
- botId: string;
2827
- integrationId: string;
2828
- }>>;
2829
- actor: import("zod").ZodObject<{
2830
- id: import("zod").ZodString;
2831
- createdAt: import("zod").ZodDate;
2832
- updatedAt: import("zod").ZodDate;
2833
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2834
- name: import("zod").ZodString;
2835
- email: import("zod").ZodString;
2836
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2837
- password: import("zod").ZodString;
2838
- address: import("zod").ZodNullable<import("zod").ZodString>;
2839
- phone: import("zod").ZodNullable<import("zod").ZodString>;
2840
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
2841
- roles: import("zod").ZodArray<import("zod").ZodObject<{
2842
- id: import("zod").ZodString;
2843
- createdAt: import("zod").ZodDate;
2844
- updatedAt: import("zod").ZodDate;
2845
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2846
- systemName: import("zod").ZodString;
2847
- displayName: import("zod").ZodString;
2848
- description: import("zod").ZodNullable<import("zod").ZodString>;
2849
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
2850
- id: import("zod").ZodString;
2851
- createdAt: import("zod").ZodDate;
2852
- updatedAt: import("zod").ZodDate;
2853
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2854
- systemName: import("zod").ZodString;
2855
- displayName: import("zod").ZodString;
2856
- description: import("zod").ZodNullable<import("zod").ZodString>;
2857
- }, "strip", import("zod").ZodTypeAny, {
2858
- id: string;
2859
- description: string | null;
2860
- createdAt: Date;
2861
- updatedAt: Date;
2862
- deletedAt: Date | null;
2863
- systemName: string;
2864
- displayName: string;
2865
- }, {
2866
- id: string;
2867
- description: string | null;
2868
- createdAt: Date;
2869
- updatedAt: Date;
2870
- deletedAt: Date | null;
2871
- systemName: string;
2872
- displayName: string;
2873
- }>, "many">;
2874
- }, "strip", import("zod").ZodTypeAny, {
2875
- id: string;
2876
- description: string | null;
2877
- createdAt: Date;
2878
- updatedAt: Date;
2879
- deletedAt: Date | null;
2880
- systemName: string;
2881
- displayName: string;
2882
- permissions: {
2883
- id: string;
2884
- description: string | null;
2885
- createdAt: Date;
2886
- updatedAt: Date;
2887
- deletedAt: Date | null;
2888
- systemName: string;
2889
- displayName: string;
2890
- }[];
2891
- }, {
2892
- id: string;
2893
- description: string | null;
2894
- createdAt: Date;
2895
- updatedAt: Date;
2896
- deletedAt: Date | null;
2897
- systemName: string;
2898
- displayName: string;
2899
- permissions: {
2900
- id: string;
2901
- description: string | null;
2902
- createdAt: Date;
2903
- updatedAt: Date;
2904
- deletedAt: Date | null;
2905
- systemName: string;
2906
- displayName: string;
2907
- }[];
2908
- }>, "many">;
2909
- extension: import("zod").ZodObject<{
2910
- id: import("zod").ZodString;
2911
- createdAt: import("zod").ZodDate;
2912
- updatedAt: import("zod").ZodDate;
2913
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2914
- userId: import("zod").ZodNullable<import("zod").ZodString>;
2915
- sipServerUrl: import("zod").ZodString;
2916
- sipUserName: import("zod").ZodString;
2917
- webphoneLoginUser: import("zod").ZodString;
2918
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
2919
- extensionName: import("zod").ZodString;
2920
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
2921
- }, "strip", import("zod").ZodTypeAny, {
2922
- id: string;
2923
- createdAt: Date;
2924
- updatedAt: Date;
2925
- deletedAt: Date | null;
2926
- userId: string | null;
2927
- sipServerUrl: string;
2928
- sipUserName: string;
2929
- webphoneLoginUser: string;
2930
- extensionId: string | null;
2931
- extensionName: string;
2932
- telephonySignature: string | null;
2933
- }, {
2934
- id: string;
2935
- createdAt: Date;
2936
- updatedAt: Date;
2937
- deletedAt: Date | null;
2938
- userId: string | null;
2939
- sipServerUrl: string;
2940
- sipUserName: string;
2941
- webphoneLoginUser: string;
2942
- extensionId: string | null;
2943
- extensionName: string;
2944
- telephonySignature: string | null;
2945
- }>;
2946
- }, "strip", import("zod").ZodTypeAny, {
2947
- id: string;
2948
- address: string | null;
2949
- name: string;
2950
- email: string;
2951
- createdAt: Date;
2952
- updatedAt: Date;
2953
- deletedAt: Date | null;
2954
- emailVerifiedAt: Date | null;
2955
- password: string;
2956
- phone: string | null;
2957
- notificationCount: number | null;
2958
- roles: {
2959
- id: string;
2960
- description: string | null;
2961
- createdAt: Date;
2962
- updatedAt: Date;
2963
- deletedAt: Date | null;
2964
- systemName: string;
2965
- displayName: string;
2966
- permissions: {
2967
- id: string;
2968
- description: string | null;
2969
- createdAt: Date;
2970
- updatedAt: Date;
2971
- deletedAt: Date | null;
2972
- systemName: string;
2973
- displayName: string;
2974
- }[];
2975
- }[];
2976
- extension: {
2977
- id: string;
2978
- createdAt: Date;
2979
- updatedAt: Date;
2980
- deletedAt: Date | null;
2981
- userId: string | null;
2982
- sipServerUrl: string;
2983
- sipUserName: string;
2984
- webphoneLoginUser: string;
2985
- extensionId: string | null;
2986
- extensionName: string;
2987
- telephonySignature: string | null;
2988
- };
2989
- }, {
2990
- id: string;
2991
- address: string | null;
2992
- name: string;
2993
- email: string;
2994
- createdAt: Date;
2995
- updatedAt: Date;
2996
- deletedAt: Date | null;
2997
- emailVerifiedAt: Date | null;
2998
- password: string;
2999
- phone: string | null;
3000
- notificationCount: number | null;
3001
- roles: {
3002
- id: string;
3003
- description: string | null;
3004
- createdAt: Date;
3005
- updatedAt: Date;
3006
- deletedAt: Date | null;
3007
- systemName: string;
3008
- displayName: string;
3009
- permissions: {
3010
- id: string;
3011
- description: string | null;
3012
- createdAt: Date;
3013
- updatedAt: Date;
3014
- deletedAt: Date | null;
3015
- systemName: string;
3016
- displayName: string;
3017
- }[];
3018
- }[];
3019
- extension: {
3020
- id: string;
3021
- createdAt: Date;
3022
- updatedAt: Date;
3023
- deletedAt: Date | null;
3024
- userId: string | null;
3025
- sipServerUrl: string;
3026
- sipUserName: string;
3027
- webphoneLoginUser: string;
3028
- extensionId: string | null;
3029
- extensionName: string;
3030
- telephonySignature: string | null;
3031
- };
3032
- }>;
3033
- }, "strip", import("zod").ZodTypeAny, {
3034
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
3035
- id: string;
3036
- name: string;
3037
- metadata: {
3038
- id: string;
3039
- name: string;
3040
- accessToken?: string | undefined;
3041
- channelSecret?: string | undefined;
3042
- additionalCredentials?: any;
3043
- lineRichMenuId?: string | null | undefined;
3044
- };
3045
- status: boolean;
3046
- createdAt: Date;
3047
- updatedAt: Date;
3048
- deletedAt: Date | null;
3049
- actor: {
3050
- id: string;
3051
- address: string | null;
3052
- name: string;
3053
- email: string;
3054
- createdAt: Date;
3055
- updatedAt: Date;
3056
- deletedAt: Date | null;
3057
- emailVerifiedAt: Date | null;
3058
- password: string;
3059
- phone: string | null;
3060
- notificationCount: number | null;
3061
- roles: {
3062
- id: string;
3063
- description: string | null;
3064
- createdAt: Date;
3065
- updatedAt: Date;
3066
- deletedAt: Date | null;
3067
- systemName: string;
3068
- displayName: string;
3069
- permissions: {
3070
- id: string;
3071
- description: string | null;
3072
- createdAt: Date;
3073
- updatedAt: Date;
3074
- deletedAt: Date | null;
3075
- systemName: string;
3076
- displayName: string;
3077
- }[];
3078
- }[];
3079
- extension: {
3080
- id: string;
3081
- createdAt: Date;
3082
- updatedAt: Date;
3083
- deletedAt: Date | null;
3084
- userId: string | null;
3085
- sipServerUrl: string;
3086
- sipUserName: string;
3087
- webphoneLoginUser: string;
3088
- extensionId: string | null;
3089
- extensionName: string;
3090
- telephonySignature: string | null;
3091
- };
3092
- };
3093
- brandName: string;
3094
- platformId: string;
3095
- isReloginRequired: boolean;
3096
- connectedUserName: string;
3097
- connectedUserId: string;
3098
- botpressBot: {
3099
- id: string;
3100
- name: string;
3101
- accessToken: string;
3102
- botId: string;
3103
- integrationId: string;
3104
- } | null;
3105
- }, {
3106
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
3107
- id: string;
3108
- name: string;
3109
- metadata: {
3110
- id: string;
3111
- name: string;
3112
- accessToken?: string | undefined;
3113
- channelSecret?: string | undefined;
3114
- additionalCredentials?: any;
3115
- lineRichMenuId?: string | null | undefined;
3116
- };
3117
- status: boolean;
3118
- createdAt: Date;
3119
- updatedAt: Date;
3120
- deletedAt: Date | null;
3121
- actor: {
3122
- id: string;
3123
- address: string | null;
3124
- name: string;
3125
- email: string;
3126
- createdAt: Date;
3127
- updatedAt: Date;
3128
- deletedAt: Date | null;
3129
- emailVerifiedAt: Date | null;
3130
- password: string;
3131
- phone: string | null;
3132
- notificationCount: number | null;
3133
- roles: {
3134
- id: string;
3135
- description: string | null;
3136
- createdAt: Date;
3137
- updatedAt: Date;
3138
- deletedAt: Date | null;
3139
- systemName: string;
3140
- displayName: string;
3141
- permissions: {
3142
- id: string;
3143
- description: string | null;
3144
- createdAt: Date;
3145
- updatedAt: Date;
3146
- deletedAt: Date | null;
3147
- systemName: string;
3148
- displayName: string;
3149
- }[];
3150
- }[];
3151
- extension: {
3152
- id: string;
3153
- createdAt: Date;
3154
- updatedAt: Date;
3155
- deletedAt: Date | null;
3156
- userId: string | null;
3157
- sipServerUrl: string;
3158
- sipUserName: string;
3159
- webphoneLoginUser: string;
3160
- extensionId: string | null;
3161
- extensionName: string;
3162
- telephonySignature: string | null;
3163
- };
3164
- };
3165
- brandName: string;
3166
- platformId: string;
3167
- isReloginRequired: boolean;
3168
- connectedUserName: string;
3169
- connectedUserId: string;
3170
- botpressBot: {
3171
- id: string;
3172
- name: string;
3173
- accessToken: string;
3174
- botId: string;
3175
- integrationId: string;
3176
- } | null;
3177
- }>;
3178
- }, "strip", import("zod").ZodTypeAny, {
3179
- id: string;
3180
- channel: {
3181
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
3182
- id: string;
3183
- name: string;
3184
- metadata: {
3185
- id: string;
3186
- name: string;
3187
- accessToken?: string | undefined;
3188
- channelSecret?: string | undefined;
3189
- additionalCredentials?: any;
3190
- lineRichMenuId?: string | null | undefined;
3191
- };
3192
- status: boolean;
3193
- createdAt: Date;
3194
- updatedAt: Date;
3195
- deletedAt: Date | null;
3196
- actor: {
3197
- id: string;
3198
- address: string | null;
3199
- name: string;
3200
- email: string;
3201
- createdAt: Date;
3202
- updatedAt: Date;
3203
- deletedAt: Date | null;
3204
- emailVerifiedAt: Date | null;
3205
- password: string;
3206
- phone: string | null;
3207
- notificationCount: number | null;
3208
- roles: {
3209
- id: string;
3210
- description: string | null;
3211
- createdAt: Date;
3212
- updatedAt: Date;
3213
- deletedAt: Date | null;
3214
- systemName: string;
3215
- displayName: string;
3216
- permissions: {
3217
- id: string;
3218
- description: string | null;
3219
- createdAt: Date;
3220
- updatedAt: Date;
3221
- deletedAt: Date | null;
3222
- systemName: string;
3223
- displayName: string;
3224
- }[];
3225
- }[];
3226
- extension: {
3227
- id: string;
3228
- createdAt: Date;
3229
- updatedAt: Date;
3230
- deletedAt: Date | null;
3231
- userId: string | null;
3232
- sipServerUrl: string;
3233
- sipUserName: string;
3234
- webphoneLoginUser: string;
3235
- extensionId: string | null;
3236
- extensionName: string;
3237
- telephonySignature: string | null;
3238
- };
3239
- };
3240
- brandName: string;
3241
- platformId: string;
3242
- isReloginRequired: boolean;
3243
- connectedUserName: string;
3244
- connectedUserId: string;
3245
- botpressBot: {
3246
- id: string;
3247
- name: string;
3248
- accessToken: string;
3249
- botId: string;
3250
- integrationId: string;
3251
- } | null;
3252
- };
3253
- direction: "incoming" | "outgoing" | "system";
3254
- createdAt: Date;
3255
- updatedAt: Date;
3256
- deletedAt: Date | null;
3257
- actor: {
3258
- id: string;
3259
- address: string | null;
3260
- name: string;
3261
- email: string;
3262
- createdAt: Date;
3263
- updatedAt: Date;
3264
- deletedAt: Date | null;
3265
- emailVerifiedAt: Date | null;
3266
- password: string;
3267
- phone: string | null;
3268
- notificationCount: number | null;
3269
- roles: {
3270
- id: string;
3271
- description: string | null;
3272
- createdAt: Date;
3273
- updatedAt: Date;
3274
- deletedAt: Date | null;
3275
- systemName: string;
3276
- displayName: string;
3277
- permissions: {
3278
- id: string;
3279
- description: string | null;
3280
- createdAt: Date;
3281
- updatedAt: Date;
3282
- deletedAt: Date | null;
3283
- systemName: string;
3284
- displayName: string;
3285
- }[];
3286
- }[];
3287
- extension: {
3288
- id: string;
3289
- createdAt: Date;
3290
- updatedAt: Date;
3291
- deletedAt: Date | null;
3292
- userId: string | null;
3293
- sipServerUrl: string;
3294
- sipUserName: string;
3295
- webphoneLoginUser: string;
3296
- extensionId: string | null;
3297
- extensionName: string;
3298
- telephonySignature: string | null;
3299
- };
3300
- };
3301
- firstResponseTime: number;
3302
- lastMessage: string;
3303
- handleTime: number;
3304
- closeAt: Date;
3305
- unreadCount: number;
3306
- firstResponseAt: Date;
3307
- isLatest: boolean;
3308
- platformContact: {
3309
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
3310
- id: string;
3311
- metadata: {
3312
- id: string;
3313
- name: string;
3314
- picture?: string | undefined;
3315
- additionalCredentials?: any;
3316
- };
3317
- createdAt: Date;
3318
- updatedAt: Date;
3319
- deletedAt: Date | null;
3320
- contact: {
3321
- id: string;
3322
- channel: string | null;
3323
- address: string | null;
3324
- name: string;
3325
- createdAt: Date;
3326
- updatedAt: Date;
3327
- deletedAt: Date | null;
3328
- customFields: {
3329
- id: string;
3330
- createdAt: Date;
3331
- updatedAt: Date;
3332
- deletedAt: Date | null;
3333
- attribute: {
3334
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3335
- id: string;
3336
- position: number;
3337
- createdAt: Date;
3338
- updatedAt: Date;
3339
- deletedAt: Date | null;
3340
- systemName: string;
3341
- displayName: string;
3342
- isDefault: boolean;
3343
- isArchived: boolean;
3344
- isRequired: boolean;
3345
- isUnique: boolean;
3346
- };
3347
- textValue: string | null;
3348
- booleanValue: boolean | null;
3349
- numberValue: number | null;
3350
- dateValue: Date | null;
3351
- uploads: {
3352
- id: string;
3353
- status: string | null;
3354
- createdAt: Date;
3355
- updatedAt: Date;
3356
- deletedAt: Date | null;
3357
- fileName: string;
3358
- fileKey: string;
3359
- bucketName: string;
3360
- fileSize: number;
3361
- fileUrl: string | null;
3362
- }[];
3363
- }[];
3364
- company: {
3365
- id: string;
3366
- createdAt: Date;
3367
- updatedAt: Date;
3368
- deletedAt: Date | null;
3369
- address?: string | null | undefined;
3370
- name?: string | undefined;
3371
- phone?: string | null | undefined;
3372
- industry?: string | null | undefined;
3373
- } | null;
3374
- notes: string | null;
3375
- contactProfile: string | null;
3376
- socialProfileUrl: string | null;
3377
- tags: {
3378
- id: string;
3379
- name: string;
3380
- createdAt: Date;
3381
- updatedAt: Date;
3382
- deletedAt: Date | null;
3383
- }[];
3384
- contactEmails: {
3385
- id: string;
3386
- isPrimary: boolean;
3387
- email: string;
3388
- createdAt: Date;
3389
- updatedAt: Date;
3390
- deletedAt: Date | null;
3391
- }[];
3392
- contactPhones: {
3393
- id: string;
3394
- isPrimary: boolean;
3395
- createdAt: Date;
3396
- updatedAt: Date;
3397
- deletedAt: Date | null;
3398
- phone: string;
3399
- }[];
3400
- activityLogs?: {
3401
- id: string;
3402
- description: string;
3403
- createdAt: Date;
3404
- updatedAt: Date;
3405
- deletedAt: Date | null;
3406
- entityId: string;
3407
- entityType: {
3408
- id: string;
3409
- description: string | null;
3410
- createdAt: Date;
3411
- updatedAt: Date;
3412
- deletedAt: Date | null;
3413
- entity: string;
3414
- };
3415
- }[] | undefined;
3416
- };
3417
- channelId: string;
3418
- socialPlatformId: string;
3419
- };
3420
- firstAssignee: {
3421
- id: string;
3422
- address: string | null;
3423
- name: string;
3424
- email: string;
3425
- createdAt: Date;
3426
- updatedAt: Date;
3427
- deletedAt: Date | null;
3428
- emailVerifiedAt: Date | null;
3429
- password: string;
3430
- phone: string | null;
3431
- notificationCount: number | null;
3432
- roles: {
3433
- id: string;
3434
- description: string | null;
3435
- createdAt: Date;
3436
- updatedAt: Date;
3437
- deletedAt: Date | null;
3438
- systemName: string;
3439
- displayName: string;
3440
- permissions: {
3441
- id: string;
3442
- description: string | null;
3443
- createdAt: Date;
3444
- updatedAt: Date;
3445
- deletedAt: Date | null;
3446
- systemName: string;
3447
- displayName: string;
3448
- }[];
3449
- }[];
3450
- extension: {
3451
- id: string;
3452
- createdAt: Date;
3453
- updatedAt: Date;
3454
- deletedAt: Date | null;
3455
- userId: string | null;
3456
- sipServerUrl: string;
3457
- sipUserName: string;
3458
- webphoneLoginUser: string;
3459
- extensionId: string | null;
3460
- extensionName: string;
3461
- telephonySignature: string | null;
3462
- };
3463
- } | null;
3464
- assignee: {
3465
- id: string;
3466
- address: string | null;
3467
- name: string;
3468
- email: string;
3469
- createdAt: Date;
3470
- updatedAt: Date;
3471
- deletedAt: Date | null;
3472
- emailVerifiedAt: Date | null;
3473
- password: string;
3474
- phone: string | null;
3475
- notificationCount: number | null;
3476
- roles: {
3477
- id: string;
3478
- description: string | null;
3479
- createdAt: Date;
3480
- updatedAt: Date;
3481
- deletedAt: Date | null;
3482
- systemName: string;
3483
- displayName: string;
3484
- permissions: {
3485
- id: string;
3486
- description: string | null;
3487
- createdAt: Date;
3488
- updatedAt: Date;
3489
- deletedAt: Date | null;
3490
- systemName: string;
3491
- displayName: string;
3492
- }[];
3493
- }[];
3494
- extension: {
3495
- id: string;
3496
- createdAt: Date;
3497
- updatedAt: Date;
3498
- deletedAt: Date | null;
3499
- userId: string | null;
3500
- sipServerUrl: string;
3501
- sipUserName: string;
3502
- webphoneLoginUser: string;
3503
- extensionId: string | null;
3504
- extensionName: string;
3505
- telephonySignature: string | null;
3506
- };
3507
- } | null;
3508
- closedAssignee: {
3509
- id: string;
3510
- address: string | null;
3511
- name: string;
3512
- email: string;
3513
- createdAt: Date;
3514
- updatedAt: Date;
3515
- deletedAt: Date | null;
3516
- emailVerifiedAt: Date | null;
3517
- password: string;
3518
- phone: string | null;
3519
- notificationCount: number | null;
3520
- roles: {
3521
- id: string;
3522
- description: string | null;
3523
- createdAt: Date;
3524
- updatedAt: Date;
3525
- deletedAt: Date | null;
3526
- systemName: string;
3527
- displayName: string;
3528
- permissions: {
3529
- id: string;
3530
- description: string | null;
3531
- createdAt: Date;
3532
- updatedAt: Date;
3533
- deletedAt: Date | null;
3534
- systemName: string;
3535
- displayName: string;
3536
- }[];
3537
- }[];
3538
- extension: {
3539
- id: string;
3540
- createdAt: Date;
3541
- updatedAt: Date;
3542
- deletedAt: Date | null;
3543
- userId: string | null;
3544
- sipServerUrl: string;
3545
- sipUserName: string;
3546
- webphoneLoginUser: string;
3547
- extensionId: string | null;
3548
- extensionName: string;
3549
- telephonySignature: string | null;
3550
- };
3551
- } | null;
3552
- }, {
3553
- id: string;
3554
- channel: {
3555
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
3556
- id: string;
3557
- name: string;
3558
- metadata: {
3559
- id: string;
3560
- name: string;
3561
- accessToken?: string | undefined;
3562
- channelSecret?: string | undefined;
3563
- additionalCredentials?: any;
3564
- lineRichMenuId?: string | null | undefined;
3565
- };
3566
- status: boolean;
3567
- createdAt: Date;
3568
- updatedAt: Date;
3569
- deletedAt: Date | null;
3570
- actor: {
3571
- id: string;
3572
- address: string | null;
3573
- name: string;
3574
- email: string;
3575
- createdAt: Date;
3576
- updatedAt: Date;
3577
- deletedAt: Date | null;
3578
- emailVerifiedAt: Date | null;
3579
- password: string;
3580
- phone: string | null;
3581
- notificationCount: number | null;
3582
- roles: {
3583
- id: string;
3584
- description: string | null;
3585
- createdAt: Date;
3586
- updatedAt: Date;
3587
- deletedAt: Date | null;
3588
- systemName: string;
3589
- displayName: string;
3590
- permissions: {
3591
- id: string;
3592
- description: string | null;
3593
- createdAt: Date;
3594
- updatedAt: Date;
3595
- deletedAt: Date | null;
3596
- systemName: string;
3597
- displayName: string;
3598
- }[];
3599
- }[];
3600
- extension: {
3601
- id: string;
3602
- createdAt: Date;
3603
- updatedAt: Date;
3604
- deletedAt: Date | null;
3605
- userId: string | null;
3606
- sipServerUrl: string;
3607
- sipUserName: string;
3608
- webphoneLoginUser: string;
3609
- extensionId: string | null;
3610
- extensionName: string;
3611
- telephonySignature: string | null;
3612
- };
3613
- };
3614
- brandName: string;
3615
- platformId: string;
3616
- isReloginRequired: boolean;
3617
- connectedUserName: string;
3618
- connectedUserId: string;
3619
- botpressBot: {
3620
- id: string;
3621
- name: string;
3622
- accessToken: string;
3623
- botId: string;
3624
- integrationId: string;
3625
- } | null;
3626
- };
3627
- direction: "incoming" | "outgoing" | "system";
3628
- createdAt: Date;
3629
- updatedAt: Date;
3630
- deletedAt: Date | null;
3631
- actor: {
3055
+ } | null;
3056
+ }, {
3057
+ id: string;
3058
+ channel: {
3059
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
3060
+ id: string;
3061
+ name: string;
3062
+ metadata: {
3063
+ id: string;
3064
+ name: string;
3065
+ accessToken?: string | undefined;
3066
+ channelSecret?: string | undefined;
3067
+ additionalCredentials?: any;
3068
+ lineRichMenuId?: string | null | undefined;
3069
+ };
3070
+ status: boolean;
3071
+ createdAt: Date;
3072
+ updatedAt: Date;
3073
+ deletedAt: Date | null;
3074
+ actor: {
3075
+ id: string;
3076
+ address: string | null;
3077
+ name: string;
3078
+ email: string;
3079
+ createdAt: Date;
3080
+ updatedAt: Date;
3081
+ deletedAt: Date | null;
3082
+ emailVerifiedAt: Date | null;
3083
+ password: string;
3084
+ phone: string | null;
3085
+ notificationCount: number | null;
3086
+ roles: {
3087
+ id: string;
3088
+ description: string | null;
3089
+ createdAt: Date;
3090
+ updatedAt: Date;
3091
+ deletedAt: Date | null;
3092
+ systemName: string;
3093
+ displayName: string;
3094
+ permissions: {
3095
+ id: string;
3096
+ description: string | null;
3097
+ createdAt: Date;
3098
+ updatedAt: Date;
3099
+ deletedAt: Date | null;
3100
+ systemName: string;
3101
+ displayName: string;
3102
+ }[];
3103
+ }[];
3104
+ extension: {
3105
+ id: string;
3106
+ createdAt: Date;
3107
+ updatedAt: Date;
3108
+ deletedAt: Date | null;
3109
+ userId: string | null;
3110
+ sipServerUrl: string;
3111
+ sipUserName: string;
3112
+ webphoneLoginUser: string;
3113
+ extensionId: string | null;
3114
+ extensionName: string;
3115
+ telephonySignature: string | null;
3116
+ };
3117
+ };
3118
+ brandName: string;
3119
+ platformId: string;
3120
+ isReloginRequired: boolean;
3121
+ connectedUserName: string;
3122
+ connectedUserId: string;
3123
+ botpressBot: {
3124
+ id: string;
3125
+ name: string;
3126
+ accessToken: string;
3127
+ botId: string;
3128
+ integrationId: string;
3129
+ } | null;
3130
+ };
3131
+ direction: "incoming" | "outgoing" | "system";
3132
+ createdAt: Date;
3133
+ updatedAt: Date;
3134
+ deletedAt: Date | null;
3135
+ actor: {
3632
3136
  id: string;
3633
3137
  address: string | null;
3634
3138
  name: string;
@@ -3765,121 +3269,33 @@ export declare const apiContract: {
3765
3269
  }[];
3766
3270
  contactPhones: {
3767
3271
  id: string;
3768
- isPrimary: boolean;
3769
- createdAt: Date;
3770
- updatedAt: Date;
3771
- deletedAt: Date | null;
3772
- phone: string;
3773
- }[];
3774
- activityLogs?: {
3775
- id: string;
3776
- description: string;
3777
- createdAt: Date;
3778
- updatedAt: Date;
3779
- deletedAt: Date | null;
3780
- entityId: string;
3781
- entityType: {
3782
- id: string;
3783
- description: string | null;
3784
- createdAt: Date;
3785
- updatedAt: Date;
3786
- deletedAt: Date | null;
3787
- entity: string;
3788
- };
3789
- }[] | undefined;
3790
- };
3791
- channelId: string;
3792
- socialPlatformId: string;
3793
- };
3794
- firstAssignee: {
3795
- id: string;
3796
- address: string | null;
3797
- name: string;
3798
- email: string;
3799
- createdAt: Date;
3800
- updatedAt: Date;
3801
- deletedAt: Date | null;
3802
- emailVerifiedAt: Date | null;
3803
- password: string;
3804
- phone: string | null;
3805
- notificationCount: number | null;
3806
- roles: {
3807
- id: string;
3808
- description: string | null;
3809
- createdAt: Date;
3810
- updatedAt: Date;
3811
- deletedAt: Date | null;
3812
- systemName: string;
3813
- displayName: string;
3814
- permissions: {
3815
- id: string;
3816
- description: string | null;
3817
- createdAt: Date;
3818
- updatedAt: Date;
3819
- deletedAt: Date | null;
3820
- systemName: string;
3821
- displayName: string;
3822
- }[];
3823
- }[];
3824
- extension: {
3825
- id: string;
3826
- createdAt: Date;
3827
- updatedAt: Date;
3828
- deletedAt: Date | null;
3829
- userId: string | null;
3830
- sipServerUrl: string;
3831
- sipUserName: string;
3832
- webphoneLoginUser: string;
3833
- extensionId: string | null;
3834
- extensionName: string;
3835
- telephonySignature: string | null;
3836
- };
3837
- } | null;
3838
- assignee: {
3839
- id: string;
3840
- address: string | null;
3841
- name: string;
3842
- email: string;
3843
- createdAt: Date;
3844
- updatedAt: Date;
3845
- deletedAt: Date | null;
3846
- emailVerifiedAt: Date | null;
3847
- password: string;
3848
- phone: string | null;
3849
- notificationCount: number | null;
3850
- roles: {
3851
- id: string;
3852
- description: string | null;
3853
- createdAt: Date;
3854
- updatedAt: Date;
3855
- deletedAt: Date | null;
3856
- systemName: string;
3857
- displayName: string;
3858
- permissions: {
3859
- id: string;
3860
- description: string | null;
3272
+ isPrimary: boolean;
3861
3273
  createdAt: Date;
3862
3274
  updatedAt: Date;
3863
3275
  deletedAt: Date | null;
3864
- systemName: string;
3865
- displayName: string;
3276
+ phone: string;
3866
3277
  }[];
3867
- }[];
3868
- extension: {
3869
- id: string;
3870
- createdAt: Date;
3871
- updatedAt: Date;
3872
- deletedAt: Date | null;
3873
- userId: string | null;
3874
- sipServerUrl: string;
3875
- sipUserName: string;
3876
- webphoneLoginUser: string;
3877
- extensionId: string | null;
3878
- extensionName: string;
3879
- telephonySignature: string | null;
3278
+ activityLogs?: {
3279
+ id: string;
3280
+ description: string;
3281
+ createdAt: Date;
3282
+ updatedAt: Date;
3283
+ deletedAt: Date | null;
3284
+ entityId: string;
3285
+ entityType: {
3286
+ id: string;
3287
+ description: string | null;
3288
+ createdAt: Date;
3289
+ updatedAt: Date;
3290
+ deletedAt: Date | null;
3291
+ entity: string;
3292
+ };
3293
+ }[] | undefined;
3880
3294
  };
3881
- } | null;
3882
- closedAssignee: {
3295
+ channelId: string;
3296
+ socialPlatformId: string;
3297
+ };
3298
+ assignee: {
3883
3299
  id: string;
3884
3300
  address: string | null;
3885
3301
  name: string;
@@ -6381,8 +5797,287 @@ export declare const apiContract: {
6381
5797
  bucketName: string;
6382
5798
  fileSize: number;
6383
5799
  fileUrl: string | null;
6384
- }>, "many">;
6385
- }, "strip", import("zod").ZodTypeAny, {
5800
+ }>, "many">;
5801
+ }, "strip", import("zod").ZodTypeAny, {
5802
+ id: string;
5803
+ createdAt: Date;
5804
+ updatedAt: Date;
5805
+ deletedAt: Date | null;
5806
+ attribute: {
5807
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5808
+ id: string;
5809
+ position: number;
5810
+ createdAt: Date;
5811
+ updatedAt: Date;
5812
+ deletedAt: Date | null;
5813
+ systemName: string;
5814
+ displayName: string;
5815
+ isDefault: boolean;
5816
+ isArchived: boolean;
5817
+ isRequired: boolean;
5818
+ isUnique: boolean;
5819
+ };
5820
+ textValue: string | null;
5821
+ booleanValue: boolean | null;
5822
+ numberValue: number | null;
5823
+ dateValue: Date | null;
5824
+ uploads: {
5825
+ id: string;
5826
+ status: string | null;
5827
+ createdAt: Date;
5828
+ updatedAt: Date;
5829
+ deletedAt: Date | null;
5830
+ fileName: string;
5831
+ fileKey: string;
5832
+ bucketName: string;
5833
+ fileSize: number;
5834
+ fileUrl: string | null;
5835
+ }[];
5836
+ }, {
5837
+ id: string;
5838
+ createdAt: Date;
5839
+ updatedAt: Date;
5840
+ deletedAt: Date | null;
5841
+ attribute: {
5842
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5843
+ id: string;
5844
+ position: number;
5845
+ createdAt: Date;
5846
+ updatedAt: Date;
5847
+ deletedAt: Date | null;
5848
+ systemName: string;
5849
+ displayName: string;
5850
+ isDefault: boolean;
5851
+ isArchived: boolean;
5852
+ isRequired: boolean;
5853
+ isUnique: boolean;
5854
+ };
5855
+ textValue: string | null;
5856
+ booleanValue: boolean | null;
5857
+ numberValue: number | null;
5858
+ dateValue: Date | null;
5859
+ uploads: {
5860
+ id: string;
5861
+ status: string | null;
5862
+ createdAt: Date;
5863
+ updatedAt: Date;
5864
+ deletedAt: Date | null;
5865
+ fileName: string;
5866
+ fileKey: string;
5867
+ bucketName: string;
5868
+ fileSize: number;
5869
+ fileUrl: string | null;
5870
+ }[];
5871
+ }>, "many">;
5872
+ contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
5873
+ id: import("zod").ZodString;
5874
+ createdAt: import("zod").ZodDate;
5875
+ updatedAt: import("zod").ZodDate;
5876
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5877
+ email: import("zod").ZodString;
5878
+ isPrimary: import("zod").ZodBoolean;
5879
+ }, "strip", import("zod").ZodTypeAny, {
5880
+ id: string;
5881
+ isPrimary: boolean;
5882
+ email: string;
5883
+ createdAt: Date;
5884
+ updatedAt: Date;
5885
+ deletedAt: Date | null;
5886
+ }, {
5887
+ id: string;
5888
+ isPrimary: boolean;
5889
+ email: string;
5890
+ createdAt: Date;
5891
+ updatedAt: Date;
5892
+ deletedAt: Date | null;
5893
+ }>, "many">;
5894
+ contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
5895
+ id: import("zod").ZodString;
5896
+ createdAt: import("zod").ZodDate;
5897
+ updatedAt: import("zod").ZodDate;
5898
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5899
+ phone: import("zod").ZodString;
5900
+ isPrimary: import("zod").ZodBoolean;
5901
+ }, "strip", import("zod").ZodTypeAny, {
5902
+ id: string;
5903
+ isPrimary: boolean;
5904
+ createdAt: Date;
5905
+ updatedAt: Date;
5906
+ deletedAt: Date | null;
5907
+ phone: string;
5908
+ }, {
5909
+ id: string;
5910
+ isPrimary: boolean;
5911
+ createdAt: Date;
5912
+ updatedAt: Date;
5913
+ deletedAt: Date | null;
5914
+ phone: string;
5915
+ }>, "many">;
5916
+ activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
5917
+ id: import("zod").ZodString;
5918
+ createdAt: import("zod").ZodDate;
5919
+ updatedAt: import("zod").ZodDate;
5920
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5921
+ entityId: import("zod").ZodString;
5922
+ description: import("zod").ZodString;
5923
+ entityType: import("zod").ZodObject<{
5924
+ id: import("zod").ZodString;
5925
+ createdAt: import("zod").ZodDate;
5926
+ updatedAt: import("zod").ZodDate;
5927
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5928
+ entity: import("zod").ZodString;
5929
+ description: import("zod").ZodNullable<import("zod").ZodString>;
5930
+ }, "strip", import("zod").ZodTypeAny, {
5931
+ id: string;
5932
+ description: string | null;
5933
+ createdAt: Date;
5934
+ updatedAt: Date;
5935
+ deletedAt: Date | null;
5936
+ entity: string;
5937
+ }, {
5938
+ id: string;
5939
+ description: string | null;
5940
+ createdAt: Date;
5941
+ updatedAt: Date;
5942
+ deletedAt: Date | null;
5943
+ entity: string;
5944
+ }>;
5945
+ }, "strip", import("zod").ZodTypeAny, {
5946
+ id: string;
5947
+ description: string;
5948
+ createdAt: Date;
5949
+ updatedAt: Date;
5950
+ deletedAt: Date | null;
5951
+ entityId: string;
5952
+ entityType: {
5953
+ id: string;
5954
+ description: string | null;
5955
+ createdAt: Date;
5956
+ updatedAt: Date;
5957
+ deletedAt: Date | null;
5958
+ entity: string;
5959
+ };
5960
+ }, {
5961
+ id: string;
5962
+ description: string;
5963
+ createdAt: Date;
5964
+ updatedAt: Date;
5965
+ deletedAt: Date | null;
5966
+ entityId: string;
5967
+ entityType: {
5968
+ id: string;
5969
+ description: string | null;
5970
+ createdAt: Date;
5971
+ updatedAt: Date;
5972
+ deletedAt: Date | null;
5973
+ entity: string;
5974
+ };
5975
+ }>, "many">>;
5976
+ }, "strip", import("zod").ZodTypeAny, {
5977
+ id: string;
5978
+ channel: string | null;
5979
+ address: string | null;
5980
+ name: string;
5981
+ createdAt: Date;
5982
+ updatedAt: Date;
5983
+ deletedAt: Date | null;
5984
+ customFields: {
5985
+ id: string;
5986
+ createdAt: Date;
5987
+ updatedAt: Date;
5988
+ deletedAt: Date | null;
5989
+ attribute: {
5990
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5991
+ id: string;
5992
+ position: number;
5993
+ createdAt: Date;
5994
+ updatedAt: Date;
5995
+ deletedAt: Date | null;
5996
+ systemName: string;
5997
+ displayName: string;
5998
+ isDefault: boolean;
5999
+ isArchived: boolean;
6000
+ isRequired: boolean;
6001
+ isUnique: boolean;
6002
+ };
6003
+ textValue: string | null;
6004
+ booleanValue: boolean | null;
6005
+ numberValue: number | null;
6006
+ dateValue: Date | null;
6007
+ uploads: {
6008
+ id: string;
6009
+ status: string | null;
6010
+ createdAt: Date;
6011
+ updatedAt: Date;
6012
+ deletedAt: Date | null;
6013
+ fileName: string;
6014
+ fileKey: string;
6015
+ bucketName: string;
6016
+ fileSize: number;
6017
+ fileUrl: string | null;
6018
+ }[];
6019
+ }[];
6020
+ company: {
6021
+ id: string;
6022
+ createdAt: Date;
6023
+ updatedAt: Date;
6024
+ deletedAt: Date | null;
6025
+ address?: string | null | undefined;
6026
+ name?: string | undefined;
6027
+ phone?: string | null | undefined;
6028
+ industry?: string | null | undefined;
6029
+ } | null;
6030
+ notes: string | null;
6031
+ contactProfile: string | null;
6032
+ socialProfileUrl: string | null;
6033
+ tags: {
6034
+ id: string;
6035
+ name: string;
6036
+ createdAt: Date;
6037
+ updatedAt: Date;
6038
+ deletedAt: Date | null;
6039
+ }[];
6040
+ contactEmails: {
6041
+ id: string;
6042
+ isPrimary: boolean;
6043
+ email: string;
6044
+ createdAt: Date;
6045
+ updatedAt: Date;
6046
+ deletedAt: Date | null;
6047
+ }[];
6048
+ contactPhones: {
6049
+ id: string;
6050
+ isPrimary: boolean;
6051
+ createdAt: Date;
6052
+ updatedAt: Date;
6053
+ deletedAt: Date | null;
6054
+ phone: string;
6055
+ }[];
6056
+ activityLogs?: {
6057
+ id: string;
6058
+ description: string;
6059
+ createdAt: Date;
6060
+ updatedAt: Date;
6061
+ deletedAt: Date | null;
6062
+ entityId: string;
6063
+ entityType: {
6064
+ id: string;
6065
+ description: string | null;
6066
+ createdAt: Date;
6067
+ updatedAt: Date;
6068
+ deletedAt: Date | null;
6069
+ entity: string;
6070
+ };
6071
+ }[] | undefined;
6072
+ }, {
6073
+ id: string;
6074
+ channel: string | null;
6075
+ address: string | null;
6076
+ name: string;
6077
+ createdAt: Date;
6078
+ updatedAt: Date;
6079
+ deletedAt: Date | null;
6080
+ customFields: {
6386
6081
  id: string;
6387
6082
  createdAt: Date;
6388
6083
  updatedAt: Date;
@@ -6417,99 +6112,291 @@ export declare const apiContract: {
6417
6112
  fileSize: number;
6418
6113
  fileUrl: string | null;
6419
6114
  }[];
6115
+ }[];
6116
+ company: {
6117
+ id: string;
6118
+ createdAt: Date;
6119
+ updatedAt: Date;
6120
+ deletedAt: Date | null;
6121
+ address?: string | null | undefined;
6122
+ name?: string | undefined;
6123
+ phone?: string | null | undefined;
6124
+ industry?: string | null | undefined;
6125
+ } | null;
6126
+ notes: string | null;
6127
+ contactProfile: string | null;
6128
+ socialProfileUrl: string | null;
6129
+ tags: {
6130
+ id: string;
6131
+ name: string;
6132
+ createdAt: Date;
6133
+ updatedAt: Date;
6134
+ deletedAt: Date | null;
6135
+ }[];
6136
+ contactEmails: {
6137
+ id: string;
6138
+ isPrimary: boolean;
6139
+ email: string;
6140
+ createdAt: Date;
6141
+ updatedAt: Date;
6142
+ deletedAt: Date | null;
6143
+ }[];
6144
+ contactPhones: {
6145
+ id: string;
6146
+ isPrimary: boolean;
6147
+ createdAt: Date;
6148
+ updatedAt: Date;
6149
+ deletedAt: Date | null;
6150
+ phone: string;
6151
+ }[];
6152
+ activityLogs?: {
6153
+ id: string;
6154
+ description: string;
6155
+ createdAt: Date;
6156
+ updatedAt: Date;
6157
+ deletedAt: Date | null;
6158
+ entityId: string;
6159
+ entityType: {
6160
+ id: string;
6161
+ description: string | null;
6162
+ createdAt: Date;
6163
+ updatedAt: Date;
6164
+ deletedAt: Date | null;
6165
+ entity: string;
6166
+ };
6167
+ }[] | undefined;
6168
+ }>>;
6169
+ firstAssignee: import("zod").ZodNullable<import("zod").ZodObject<{
6170
+ id: import("zod").ZodString;
6171
+ createdAt: import("zod").ZodDate;
6172
+ updatedAt: import("zod").ZodDate;
6173
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6174
+ name: import("zod").ZodString;
6175
+ email: import("zod").ZodString;
6176
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6177
+ password: import("zod").ZodString;
6178
+ address: import("zod").ZodNullable<import("zod").ZodString>;
6179
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
6180
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
6181
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
6182
+ id: import("zod").ZodString;
6183
+ createdAt: import("zod").ZodDate;
6184
+ updatedAt: import("zod").ZodDate;
6185
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6186
+ systemName: import("zod").ZodString;
6187
+ displayName: import("zod").ZodString;
6188
+ description: import("zod").ZodNullable<import("zod").ZodString>;
6189
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
6190
+ id: import("zod").ZodString;
6191
+ createdAt: import("zod").ZodDate;
6192
+ updatedAt: import("zod").ZodDate;
6193
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6194
+ systemName: import("zod").ZodString;
6195
+ displayName: import("zod").ZodString;
6196
+ description: import("zod").ZodNullable<import("zod").ZodString>;
6197
+ }, "strip", import("zod").ZodTypeAny, {
6198
+ id: string;
6199
+ description: string | null;
6200
+ createdAt: Date;
6201
+ updatedAt: Date;
6202
+ deletedAt: Date | null;
6203
+ systemName: string;
6204
+ displayName: string;
6205
+ }, {
6206
+ id: string;
6207
+ description: string | null;
6208
+ createdAt: Date;
6209
+ updatedAt: Date;
6210
+ deletedAt: Date | null;
6211
+ systemName: string;
6212
+ displayName: string;
6213
+ }>, "many">;
6214
+ }, "strip", import("zod").ZodTypeAny, {
6215
+ id: string;
6216
+ description: string | null;
6217
+ createdAt: Date;
6218
+ updatedAt: Date;
6219
+ deletedAt: Date | null;
6220
+ systemName: string;
6221
+ displayName: string;
6222
+ permissions: {
6223
+ id: string;
6224
+ description: string | null;
6225
+ createdAt: Date;
6226
+ updatedAt: Date;
6227
+ deletedAt: Date | null;
6228
+ systemName: string;
6229
+ displayName: string;
6230
+ }[];
6420
6231
  }, {
6421
6232
  id: string;
6233
+ description: string | null;
6422
6234
  createdAt: Date;
6423
6235
  updatedAt: Date;
6424
6236
  deletedAt: Date | null;
6425
- attribute: {
6426
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6237
+ systemName: string;
6238
+ displayName: string;
6239
+ permissions: {
6427
6240
  id: string;
6428
- position: number;
6241
+ description: string | null;
6429
6242
  createdAt: Date;
6430
6243
  updatedAt: Date;
6431
6244
  deletedAt: Date | null;
6432
6245
  systemName: string;
6433
6246
  displayName: string;
6434
- isDefault: boolean;
6435
- isArchived: boolean;
6436
- isRequired: boolean;
6437
- isUnique: boolean;
6438
- };
6439
- textValue: string | null;
6440
- booleanValue: boolean | null;
6441
- numberValue: number | null;
6442
- dateValue: Date | null;
6443
- uploads: {
6247
+ }[];
6248
+ }>, "many">;
6249
+ extension: import("zod").ZodObject<{
6250
+ id: import("zod").ZodString;
6251
+ createdAt: import("zod").ZodDate;
6252
+ updatedAt: import("zod").ZodDate;
6253
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6254
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
6255
+ sipServerUrl: import("zod").ZodString;
6256
+ sipUserName: import("zod").ZodString;
6257
+ webphoneLoginUser: import("zod").ZodString;
6258
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
6259
+ extensionName: import("zod").ZodString;
6260
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
6261
+ }, "strip", import("zod").ZodTypeAny, {
6262
+ id: string;
6263
+ createdAt: Date;
6264
+ updatedAt: Date;
6265
+ deletedAt: Date | null;
6266
+ userId: string | null;
6267
+ sipServerUrl: string;
6268
+ sipUserName: string;
6269
+ webphoneLoginUser: string;
6270
+ extensionId: string | null;
6271
+ extensionName: string;
6272
+ telephonySignature: string | null;
6273
+ }, {
6274
+ id: string;
6275
+ createdAt: Date;
6276
+ updatedAt: Date;
6277
+ deletedAt: Date | null;
6278
+ userId: string | null;
6279
+ sipServerUrl: string;
6280
+ sipUserName: string;
6281
+ webphoneLoginUser: string;
6282
+ extensionId: string | null;
6283
+ extensionName: string;
6284
+ telephonySignature: string | null;
6285
+ }>;
6286
+ }, "strip", import("zod").ZodTypeAny, {
6287
+ id: string;
6288
+ address: string | null;
6289
+ name: string;
6290
+ email: string;
6291
+ createdAt: Date;
6292
+ updatedAt: Date;
6293
+ deletedAt: Date | null;
6294
+ emailVerifiedAt: Date | null;
6295
+ password: string;
6296
+ phone: string | null;
6297
+ notificationCount: number | null;
6298
+ roles: {
6299
+ id: string;
6300
+ description: string | null;
6301
+ createdAt: Date;
6302
+ updatedAt: Date;
6303
+ deletedAt: Date | null;
6304
+ systemName: string;
6305
+ displayName: string;
6306
+ permissions: {
6444
6307
  id: string;
6445
- status: string | null;
6308
+ description: string | null;
6446
6309
  createdAt: Date;
6447
6310
  updatedAt: Date;
6448
6311
  deletedAt: Date | null;
6449
- fileName: string;
6450
- fileKey: string;
6451
- bucketName: string;
6452
- fileSize: number;
6453
- fileUrl: string | null;
6312
+ systemName: string;
6313
+ displayName: string;
6454
6314
  }[];
6455
- }>, "many">;
6456
- contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
6457
- id: import("zod").ZodString;
6458
- createdAt: import("zod").ZodDate;
6459
- updatedAt: import("zod").ZodDate;
6460
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6461
- email: import("zod").ZodString;
6462
- isPrimary: import("zod").ZodBoolean;
6463
- }, "strip", import("zod").ZodTypeAny, {
6464
- id: string;
6465
- isPrimary: boolean;
6466
- email: string;
6467
- createdAt: Date;
6468
- updatedAt: Date;
6469
- deletedAt: Date | null;
6470
- }, {
6315
+ }[];
6316
+ extension: {
6471
6317
  id: string;
6472
- isPrimary: boolean;
6473
- email: string;
6474
6318
  createdAt: Date;
6475
6319
  updatedAt: Date;
6476
6320
  deletedAt: Date | null;
6477
- }>, "many">;
6478
- contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
6479
- id: import("zod").ZodString;
6480
- createdAt: import("zod").ZodDate;
6481
- updatedAt: import("zod").ZodDate;
6482
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6483
- phone: import("zod").ZodString;
6484
- isPrimary: import("zod").ZodBoolean;
6485
- }, "strip", import("zod").ZodTypeAny, {
6321
+ userId: string | null;
6322
+ sipServerUrl: string;
6323
+ sipUserName: string;
6324
+ webphoneLoginUser: string;
6325
+ extensionId: string | null;
6326
+ extensionName: string;
6327
+ telephonySignature: string | null;
6328
+ };
6329
+ }, {
6330
+ id: string;
6331
+ address: string | null;
6332
+ name: string;
6333
+ email: string;
6334
+ createdAt: Date;
6335
+ updatedAt: Date;
6336
+ deletedAt: Date | null;
6337
+ emailVerifiedAt: Date | null;
6338
+ password: string;
6339
+ phone: string | null;
6340
+ notificationCount: number | null;
6341
+ roles: {
6486
6342
  id: string;
6487
- isPrimary: boolean;
6343
+ description: string | null;
6488
6344
  createdAt: Date;
6489
6345
  updatedAt: Date;
6490
6346
  deletedAt: Date | null;
6491
- phone: string;
6492
- }, {
6347
+ systemName: string;
6348
+ displayName: string;
6349
+ permissions: {
6350
+ id: string;
6351
+ description: string | null;
6352
+ createdAt: Date;
6353
+ updatedAt: Date;
6354
+ deletedAt: Date | null;
6355
+ systemName: string;
6356
+ displayName: string;
6357
+ }[];
6358
+ }[];
6359
+ extension: {
6493
6360
  id: string;
6494
- isPrimary: boolean;
6495
6361
  createdAt: Date;
6496
6362
  updatedAt: Date;
6497
6363
  deletedAt: Date | null;
6498
- phone: string;
6499
- }>, "many">;
6500
- activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
6364
+ userId: string | null;
6365
+ sipServerUrl: string;
6366
+ sipUserName: string;
6367
+ webphoneLoginUser: string;
6368
+ extensionId: string | null;
6369
+ extensionName: string;
6370
+ telephonySignature: string | null;
6371
+ };
6372
+ }>>;
6373
+ agent: import("zod").ZodNullable<import("zod").ZodObject<{
6374
+ id: import("zod").ZodString;
6375
+ createdAt: import("zod").ZodDate;
6376
+ updatedAt: import("zod").ZodDate;
6377
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6378
+ name: import("zod").ZodString;
6379
+ email: import("zod").ZodString;
6380
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6381
+ password: import("zod").ZodString;
6382
+ address: import("zod").ZodNullable<import("zod").ZodString>;
6383
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
6384
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
6385
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
6501
6386
  id: import("zod").ZodString;
6502
6387
  createdAt: import("zod").ZodDate;
6503
6388
  updatedAt: import("zod").ZodDate;
6504
6389
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6505
- entityId: import("zod").ZodString;
6506
- description: import("zod").ZodString;
6507
- entityType: import("zod").ZodObject<{
6390
+ systemName: import("zod").ZodString;
6391
+ displayName: import("zod").ZodString;
6392
+ description: import("zod").ZodNullable<import("zod").ZodString>;
6393
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
6508
6394
  id: import("zod").ZodString;
6509
6395
  createdAt: import("zod").ZodDate;
6510
6396
  updatedAt: import("zod").ZodDate;
6511
6397
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6512
- entity: import("zod").ZodString;
6398
+ systemName: import("zod").ZodString;
6399
+ displayName: import("zod").ZodString;
6513
6400
  description: import("zod").ZodNullable<import("zod").ZodString>;
6514
6401
  }, "strip", import("zod").ZodTypeAny, {
6515
6402
  id: string;
@@ -6517,240 +6404,177 @@ export declare const apiContract: {
6517
6404
  createdAt: Date;
6518
6405
  updatedAt: Date;
6519
6406
  deletedAt: Date | null;
6520
- entity: string;
6407
+ systemName: string;
6408
+ displayName: string;
6521
6409
  }, {
6522
6410
  id: string;
6523
6411
  description: string | null;
6524
6412
  createdAt: Date;
6525
6413
  updatedAt: Date;
6526
6414
  deletedAt: Date | null;
6527
- entity: string;
6528
- }>;
6415
+ systemName: string;
6416
+ displayName: string;
6417
+ }>, "many">;
6529
6418
  }, "strip", import("zod").ZodTypeAny, {
6530
6419
  id: string;
6531
- description: string;
6420
+ description: string | null;
6532
6421
  createdAt: Date;
6533
6422
  updatedAt: Date;
6534
6423
  deletedAt: Date | null;
6535
- entityId: string;
6536
- entityType: {
6424
+ systemName: string;
6425
+ displayName: string;
6426
+ permissions: {
6537
6427
  id: string;
6538
6428
  description: string | null;
6539
6429
  createdAt: Date;
6540
6430
  updatedAt: Date;
6541
6431
  deletedAt: Date | null;
6542
- entity: string;
6543
- };
6432
+ systemName: string;
6433
+ displayName: string;
6434
+ }[];
6544
6435
  }, {
6545
6436
  id: string;
6546
- description: string;
6437
+ description: string | null;
6547
6438
  createdAt: Date;
6548
6439
  updatedAt: Date;
6549
6440
  deletedAt: Date | null;
6550
- entityId: string;
6551
- entityType: {
6441
+ systemName: string;
6442
+ displayName: string;
6443
+ permissions: {
6552
6444
  id: string;
6553
6445
  description: string | null;
6554
6446
  createdAt: Date;
6555
6447
  updatedAt: Date;
6556
6448
  deletedAt: Date | null;
6557
- entity: string;
6558
- };
6559
- }>, "many">>;
6560
- }, "strip", import("zod").ZodTypeAny, {
6561
- id: string;
6562
- channel: string | null;
6563
- address: string | null;
6564
- name: string;
6565
- createdAt: Date;
6566
- updatedAt: Date;
6567
- deletedAt: Date | null;
6568
- customFields: {
6569
- id: string;
6570
- createdAt: Date;
6571
- updatedAt: Date;
6572
- deletedAt: Date | null;
6573
- attribute: {
6574
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6575
- id: string;
6576
- position: number;
6577
- createdAt: Date;
6578
- updatedAt: Date;
6579
- deletedAt: Date | null;
6580
6449
  systemName: string;
6581
6450
  displayName: string;
6582
- isDefault: boolean;
6583
- isArchived: boolean;
6584
- isRequired: boolean;
6585
- isUnique: boolean;
6586
- };
6587
- textValue: string | null;
6588
- booleanValue: boolean | null;
6589
- numberValue: number | null;
6590
- dateValue: Date | null;
6591
- uploads: {
6592
- id: string;
6593
- status: string | null;
6594
- createdAt: Date;
6595
- updatedAt: Date;
6596
- deletedAt: Date | null;
6597
- fileName: string;
6598
- fileKey: string;
6599
- bucketName: string;
6600
- fileSize: number;
6601
- fileUrl: string | null;
6602
6451
  }[];
6603
- }[];
6604
- company: {
6605
- id: string;
6606
- createdAt: Date;
6607
- updatedAt: Date;
6608
- deletedAt: Date | null;
6609
- address?: string | null | undefined;
6610
- name?: string | undefined;
6611
- phone?: string | null | undefined;
6612
- industry?: string | null | undefined;
6613
- } | null;
6614
- notes: string | null;
6615
- contactProfile: string | null;
6616
- socialProfileUrl: string | null;
6617
- tags: {
6618
- id: string;
6619
- name: string;
6620
- createdAt: Date;
6621
- updatedAt: Date;
6622
- deletedAt: Date | null;
6623
- }[];
6624
- contactEmails: {
6452
+ }>, "many">;
6453
+ extension: import("zod").ZodObject<{
6454
+ id: import("zod").ZodString;
6455
+ createdAt: import("zod").ZodDate;
6456
+ updatedAt: import("zod").ZodDate;
6457
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
6458
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
6459
+ sipServerUrl: import("zod").ZodString;
6460
+ sipUserName: import("zod").ZodString;
6461
+ webphoneLoginUser: import("zod").ZodString;
6462
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
6463
+ extensionName: import("zod").ZodString;
6464
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
6465
+ }, "strip", import("zod").ZodTypeAny, {
6625
6466
  id: string;
6626
- isPrimary: boolean;
6627
- email: string;
6628
6467
  createdAt: Date;
6629
6468
  updatedAt: Date;
6630
6469
  deletedAt: Date | null;
6631
- }[];
6632
- contactPhones: {
6470
+ userId: string | null;
6471
+ sipServerUrl: string;
6472
+ sipUserName: string;
6473
+ webphoneLoginUser: string;
6474
+ extensionId: string | null;
6475
+ extensionName: string;
6476
+ telephonySignature: string | null;
6477
+ }, {
6633
6478
  id: string;
6634
- isPrimary: boolean;
6635
6479
  createdAt: Date;
6636
6480
  updatedAt: Date;
6637
6481
  deletedAt: Date | null;
6638
- phone: string;
6639
- }[];
6640
- activityLogs?: {
6482
+ userId: string | null;
6483
+ sipServerUrl: string;
6484
+ sipUserName: string;
6485
+ webphoneLoginUser: string;
6486
+ extensionId: string | null;
6487
+ extensionName: string;
6488
+ telephonySignature: string | null;
6489
+ }>;
6490
+ }, "strip", import("zod").ZodTypeAny, {
6491
+ id: string;
6492
+ address: string | null;
6493
+ name: string;
6494
+ email: string;
6495
+ createdAt: Date;
6496
+ updatedAt: Date;
6497
+ deletedAt: Date | null;
6498
+ emailVerifiedAt: Date | null;
6499
+ password: string;
6500
+ phone: string | null;
6501
+ notificationCount: number | null;
6502
+ roles: {
6641
6503
  id: string;
6642
- description: string;
6504
+ description: string | null;
6643
6505
  createdAt: Date;
6644
6506
  updatedAt: Date;
6645
6507
  deletedAt: Date | null;
6646
- entityId: string;
6647
- entityType: {
6508
+ systemName: string;
6509
+ displayName: string;
6510
+ permissions: {
6648
6511
  id: string;
6649
6512
  description: string | null;
6650
6513
  createdAt: Date;
6651
6514
  updatedAt: Date;
6652
6515
  deletedAt: Date | null;
6653
- entity: string;
6654
- };
6655
- }[] | undefined;
6516
+ systemName: string;
6517
+ displayName: string;
6518
+ }[];
6519
+ }[];
6520
+ extension: {
6521
+ id: string;
6522
+ createdAt: Date;
6523
+ updatedAt: Date;
6524
+ deletedAt: Date | null;
6525
+ userId: string | null;
6526
+ sipServerUrl: string;
6527
+ sipUserName: string;
6528
+ webphoneLoginUser: string;
6529
+ extensionId: string | null;
6530
+ extensionName: string;
6531
+ telephonySignature: string | null;
6532
+ };
6656
6533
  }, {
6657
6534
  id: string;
6658
- channel: string | null;
6659
6535
  address: string | null;
6660
6536
  name: string;
6537
+ email: string;
6661
6538
  createdAt: Date;
6662
6539
  updatedAt: Date;
6663
6540
  deletedAt: Date | null;
6664
- customFields: {
6541
+ emailVerifiedAt: Date | null;
6542
+ password: string;
6543
+ phone: string | null;
6544
+ notificationCount: number | null;
6545
+ roles: {
6665
6546
  id: string;
6547
+ description: string | null;
6666
6548
  createdAt: Date;
6667
6549
  updatedAt: Date;
6668
6550
  deletedAt: Date | null;
6669
- attribute: {
6670
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6551
+ systemName: string;
6552
+ displayName: string;
6553
+ permissions: {
6671
6554
  id: string;
6672
- position: number;
6555
+ description: string | null;
6673
6556
  createdAt: Date;
6674
6557
  updatedAt: Date;
6675
6558
  deletedAt: Date | null;
6676
6559
  systemName: string;
6677
6560
  displayName: string;
6678
- isDefault: boolean;
6679
- isArchived: boolean;
6680
- isRequired: boolean;
6681
- isUnique: boolean;
6682
- };
6683
- textValue: string | null;
6684
- booleanValue: boolean | null;
6685
- numberValue: number | null;
6686
- dateValue: Date | null;
6687
- uploads: {
6688
- id: string;
6689
- status: string | null;
6690
- createdAt: Date;
6691
- updatedAt: Date;
6692
- deletedAt: Date | null;
6693
- fileName: string;
6694
- fileKey: string;
6695
- bucketName: string;
6696
- fileSize: number;
6697
- fileUrl: string | null;
6698
6561
  }[];
6699
6562
  }[];
6700
- company: {
6701
- id: string;
6702
- createdAt: Date;
6703
- updatedAt: Date;
6704
- deletedAt: Date | null;
6705
- address?: string | null | undefined;
6706
- name?: string | undefined;
6707
- phone?: string | null | undefined;
6708
- industry?: string | null | undefined;
6709
- } | null;
6710
- notes: string | null;
6711
- contactProfile: string | null;
6712
- socialProfileUrl: string | null;
6713
- tags: {
6714
- id: string;
6715
- name: string;
6716
- createdAt: Date;
6717
- updatedAt: Date;
6718
- deletedAt: Date | null;
6719
- }[];
6720
- contactEmails: {
6721
- id: string;
6722
- isPrimary: boolean;
6723
- email: string;
6724
- createdAt: Date;
6725
- updatedAt: Date;
6726
- deletedAt: Date | null;
6727
- }[];
6728
- contactPhones: {
6729
- id: string;
6730
- isPrimary: boolean;
6731
- createdAt: Date;
6732
- updatedAt: Date;
6733
- deletedAt: Date | null;
6734
- phone: string;
6735
- }[];
6736
- activityLogs?: {
6563
+ extension: {
6737
6564
  id: string;
6738
- description: string;
6739
6565
  createdAt: Date;
6740
6566
  updatedAt: Date;
6741
6567
  deletedAt: Date | null;
6742
- entityId: string;
6743
- entityType: {
6744
- id: string;
6745
- description: string | null;
6746
- createdAt: Date;
6747
- updatedAt: Date;
6748
- deletedAt: Date | null;
6749
- entity: string;
6750
- };
6751
- }[] | undefined;
6568
+ userId: string | null;
6569
+ sipServerUrl: string;
6570
+ sipUserName: string;
6571
+ webphoneLoginUser: string;
6572
+ extensionId: string | null;
6573
+ extensionName: string;
6574
+ telephonySignature: string | null;
6575
+ };
6752
6576
  }>>;
6753
- agent: import("zod").ZodNullable<import("zod").ZodObject<{
6577
+ closedAssignee: import("zod").ZodNullable<import("zod").ZodObject<{
6754
6578
  id: import("zod").ZodString;
6755
6579
  createdAt: import("zod").ZodDate;
6756
6580
  updatedAt: import("zod").ZodDate;
@@ -7375,50 +7199,6 @@ export declare const apiContract: {
7375
7199
  channelId: string;
7376
7200
  socialPlatformId: string;
7377
7201
  };
7378
- firstAssignee: {
7379
- id: string;
7380
- address: string | null;
7381
- name: string;
7382
- email: string;
7383
- createdAt: Date;
7384
- updatedAt: Date;
7385
- deletedAt: Date | null;
7386
- emailVerifiedAt: Date | null;
7387
- password: string;
7388
- phone: string | null;
7389
- notificationCount: number | null;
7390
- roles: {
7391
- id: string;
7392
- description: string | null;
7393
- createdAt: Date;
7394
- updatedAt: Date;
7395
- deletedAt: Date | null;
7396
- systemName: string;
7397
- displayName: string;
7398
- permissions: {
7399
- id: string;
7400
- description: string | null;
7401
- createdAt: Date;
7402
- updatedAt: Date;
7403
- deletedAt: Date | null;
7404
- systemName: string;
7405
- displayName: string;
7406
- }[];
7407
- }[];
7408
- extension: {
7409
- id: string;
7410
- createdAt: Date;
7411
- updatedAt: Date;
7412
- deletedAt: Date | null;
7413
- userId: string | null;
7414
- sipServerUrl: string;
7415
- sipUserName: string;
7416
- webphoneLoginUser: string;
7417
- extensionId: string | null;
7418
- extensionName: string;
7419
- telephonySignature: string | null;
7420
- };
7421
- } | null;
7422
7202
  assignee: {
7423
7203
  id: string;
7424
7204
  address: string | null;
@@ -7463,50 +7243,6 @@ export declare const apiContract: {
7463
7243
  telephonySignature: string | null;
7464
7244
  };
7465
7245
  } | null;
7466
- closedAssignee: {
7467
- id: string;
7468
- address: string | null;
7469
- name: string;
7470
- email: string;
7471
- createdAt: Date;
7472
- updatedAt: Date;
7473
- deletedAt: Date | null;
7474
- emailVerifiedAt: Date | null;
7475
- password: string;
7476
- phone: string | null;
7477
- notificationCount: number | null;
7478
- roles: {
7479
- id: string;
7480
- description: string | null;
7481
- createdAt: Date;
7482
- updatedAt: Date;
7483
- deletedAt: Date | null;
7484
- systemName: string;
7485
- displayName: string;
7486
- permissions: {
7487
- id: string;
7488
- description: string | null;
7489
- createdAt: Date;
7490
- updatedAt: Date;
7491
- deletedAt: Date | null;
7492
- systemName: string;
7493
- displayName: string;
7494
- }[];
7495
- }[];
7496
- extension: {
7497
- id: string;
7498
- createdAt: Date;
7499
- updatedAt: Date;
7500
- deletedAt: Date | null;
7501
- userId: string | null;
7502
- sipServerUrl: string;
7503
- sipUserName: string;
7504
- webphoneLoginUser: string;
7505
- extensionId: string | null;
7506
- extensionName: string;
7507
- telephonySignature: string | null;
7508
- };
7509
- } | null;
7510
7246
  } | null;
7511
7247
  telephonyCdr: {
7512
7248
  type: string;
@@ -7767,7 +7503,95 @@ export declare const apiContract: {
7767
7503
  queue: {
7768
7504
  queueName?: string | null | undefined;
7769
7505
  } | null;
7770
- agent: {
7506
+ firstAssignee: {
7507
+ id: string;
7508
+ address: string | null;
7509
+ name: string;
7510
+ email: string;
7511
+ createdAt: Date;
7512
+ updatedAt: Date;
7513
+ deletedAt: Date | null;
7514
+ emailVerifiedAt: Date | null;
7515
+ password: string;
7516
+ phone: string | null;
7517
+ notificationCount: number | null;
7518
+ roles: {
7519
+ id: string;
7520
+ description: string | null;
7521
+ createdAt: Date;
7522
+ updatedAt: Date;
7523
+ deletedAt: Date | null;
7524
+ systemName: string;
7525
+ displayName: string;
7526
+ permissions: {
7527
+ id: string;
7528
+ description: string | null;
7529
+ createdAt: Date;
7530
+ updatedAt: Date;
7531
+ deletedAt: Date | null;
7532
+ systemName: string;
7533
+ displayName: string;
7534
+ }[];
7535
+ }[];
7536
+ extension: {
7537
+ id: string;
7538
+ createdAt: Date;
7539
+ updatedAt: Date;
7540
+ deletedAt: Date | null;
7541
+ userId: string | null;
7542
+ sipServerUrl: string;
7543
+ sipUserName: string;
7544
+ webphoneLoginUser: string;
7545
+ extensionId: string | null;
7546
+ extensionName: string;
7547
+ telephonySignature: string | null;
7548
+ };
7549
+ } | null;
7550
+ agent: {
7551
+ id: string;
7552
+ address: string | null;
7553
+ name: string;
7554
+ email: string;
7555
+ createdAt: Date;
7556
+ updatedAt: Date;
7557
+ deletedAt: Date | null;
7558
+ emailVerifiedAt: Date | null;
7559
+ password: string;
7560
+ phone: string | null;
7561
+ notificationCount: number | null;
7562
+ roles: {
7563
+ id: string;
7564
+ description: string | null;
7565
+ createdAt: Date;
7566
+ updatedAt: Date;
7567
+ deletedAt: Date | null;
7568
+ systemName: string;
7569
+ displayName: string;
7570
+ permissions: {
7571
+ id: string;
7572
+ description: string | null;
7573
+ createdAt: Date;
7574
+ updatedAt: Date;
7575
+ deletedAt: Date | null;
7576
+ systemName: string;
7577
+ displayName: string;
7578
+ }[];
7579
+ }[];
7580
+ extension: {
7581
+ id: string;
7582
+ createdAt: Date;
7583
+ updatedAt: Date;
7584
+ deletedAt: Date | null;
7585
+ userId: string | null;
7586
+ sipServerUrl: string;
7587
+ sipUserName: string;
7588
+ webphoneLoginUser: string;
7589
+ extensionId: string | null;
7590
+ extensionName: string;
7591
+ telephonySignature: string | null;
7592
+ };
7593
+ } | null;
7594
+ closedAssignee: {
7771
7595
  id: string;
7772
7596
  address: string | null;
7773
7597
  name: string;
@@ -8232,50 +8056,6 @@ export declare const apiContract: {
8232
8056
  channelId: string;
8233
8057
  socialPlatformId: string;
8234
8058
  };
8235
- firstAssignee: {
8236
- id: string;
8237
- address: string | null;
8238
- name: string;
8239
- email: string;
8240
- createdAt: Date;
8241
- updatedAt: Date;
8242
- deletedAt: Date | null;
8243
- emailVerifiedAt: Date | null;
8244
- password: string;
8245
- phone: string | null;
8246
- notificationCount: number | null;
8247
- roles: {
8248
- id: string;
8249
- description: string | null;
8250
- createdAt: Date;
8251
- updatedAt: Date;
8252
- deletedAt: Date | null;
8253
- systemName: string;
8254
- displayName: string;
8255
- permissions: {
8256
- id: string;
8257
- description: string | null;
8258
- createdAt: Date;
8259
- updatedAt: Date;
8260
- deletedAt: Date | null;
8261
- systemName: string;
8262
- displayName: string;
8263
- }[];
8264
- }[];
8265
- extension: {
8266
- id: string;
8267
- createdAt: Date;
8268
- updatedAt: Date;
8269
- deletedAt: Date | null;
8270
- userId: string | null;
8271
- sipServerUrl: string;
8272
- sipUserName: string;
8273
- webphoneLoginUser: string;
8274
- extensionId: string | null;
8275
- extensionName: string;
8276
- telephonySignature: string | null;
8277
- };
8278
- } | null;
8279
8059
  assignee: {
8280
8060
  id: string;
8281
8061
  address: string | null;
@@ -8320,50 +8100,6 @@ export declare const apiContract: {
8320
8100
  telephonySignature: string | null;
8321
8101
  };
8322
8102
  } | null;
8323
- closedAssignee: {
8324
- id: string;
8325
- address: string | null;
8326
- name: string;
8327
- email: string;
8328
- createdAt: Date;
8329
- updatedAt: Date;
8330
- deletedAt: Date | null;
8331
- emailVerifiedAt: Date | null;
8332
- password: string;
8333
- phone: string | null;
8334
- notificationCount: number | null;
8335
- roles: {
8336
- id: string;
8337
- description: string | null;
8338
- createdAt: Date;
8339
- updatedAt: Date;
8340
- deletedAt: Date | null;
8341
- systemName: string;
8342
- displayName: string;
8343
- permissions: {
8344
- id: string;
8345
- description: string | null;
8346
- createdAt: Date;
8347
- updatedAt: Date;
8348
- deletedAt: Date | null;
8349
- systemName: string;
8350
- displayName: string;
8351
- }[];
8352
- }[];
8353
- extension: {
8354
- id: string;
8355
- createdAt: Date;
8356
- updatedAt: Date;
8357
- deletedAt: Date | null;
8358
- userId: string | null;
8359
- sipServerUrl: string;
8360
- sipUserName: string;
8361
- webphoneLoginUser: string;
8362
- extensionId: string | null;
8363
- extensionName: string;
8364
- telephonySignature: string | null;
8365
- };
8366
- } | null;
8367
8103
  } | null;
8368
8104
  telephonyCdr: {
8369
8105
  type: string;
@@ -8575,56 +8311,144 @@ export declare const apiContract: {
8575
8311
  extensionId: string | null;
8576
8312
  extensionName: string;
8577
8313
  telephonySignature: string | null;
8578
- user?: {
8579
- id: string;
8580
- address: string | null;
8581
- name: string;
8582
- email: string;
8583
- createdAt: Date;
8584
- updatedAt: Date;
8585
- deletedAt: Date | null;
8586
- emailVerifiedAt: Date | null;
8587
- password: string;
8588
- phone: string | null;
8589
- notificationCount: number | null;
8590
- roles: {
8591
- id: string;
8592
- description: string | null;
8593
- createdAt: Date;
8594
- updatedAt: Date;
8595
- deletedAt: Date | null;
8596
- systemName: string;
8597
- displayName: string;
8598
- permissions: {
8599
- id: string;
8600
- description: string | null;
8601
- createdAt: Date;
8602
- updatedAt: Date;
8603
- deletedAt: Date | null;
8604
- systemName: string;
8605
- displayName: string;
8606
- }[];
8607
- }[];
8608
- extension: {
8609
- id: string;
8610
- createdAt: Date;
8611
- updatedAt: Date;
8612
- deletedAt: Date | null;
8613
- userId: string | null;
8614
- sipServerUrl: string;
8615
- sipUserName: string;
8616
- webphoneLoginUser: string;
8617
- extensionId: string | null;
8618
- extensionName: string;
8619
- telephonySignature: string | null;
8620
- };
8621
- } | null | undefined;
8622
- } | null | undefined;
8623
- } | null;
8624
- queue: {
8625
- queueName?: string | null | undefined;
8314
+ user?: {
8315
+ id: string;
8316
+ address: string | null;
8317
+ name: string;
8318
+ email: string;
8319
+ createdAt: Date;
8320
+ updatedAt: Date;
8321
+ deletedAt: Date | null;
8322
+ emailVerifiedAt: Date | null;
8323
+ password: string;
8324
+ phone: string | null;
8325
+ notificationCount: number | null;
8326
+ roles: {
8327
+ id: string;
8328
+ description: string | null;
8329
+ createdAt: Date;
8330
+ updatedAt: Date;
8331
+ deletedAt: Date | null;
8332
+ systemName: string;
8333
+ displayName: string;
8334
+ permissions: {
8335
+ id: string;
8336
+ description: string | null;
8337
+ createdAt: Date;
8338
+ updatedAt: Date;
8339
+ deletedAt: Date | null;
8340
+ systemName: string;
8341
+ displayName: string;
8342
+ }[];
8343
+ }[];
8344
+ extension: {
8345
+ id: string;
8346
+ createdAt: Date;
8347
+ updatedAt: Date;
8348
+ deletedAt: Date | null;
8349
+ userId: string | null;
8350
+ sipServerUrl: string;
8351
+ sipUserName: string;
8352
+ webphoneLoginUser: string;
8353
+ extensionId: string | null;
8354
+ extensionName: string;
8355
+ telephonySignature: string | null;
8356
+ };
8357
+ } | null | undefined;
8358
+ } | null | undefined;
8359
+ } | null;
8360
+ queue: {
8361
+ queueName?: string | null | undefined;
8362
+ } | null;
8363
+ firstAssignee: {
8364
+ id: string;
8365
+ address: string | null;
8366
+ name: string;
8367
+ email: string;
8368
+ createdAt: Date;
8369
+ updatedAt: Date;
8370
+ deletedAt: Date | null;
8371
+ emailVerifiedAt: Date | null;
8372
+ password: string;
8373
+ phone: string | null;
8374
+ notificationCount: number | null;
8375
+ roles: {
8376
+ id: string;
8377
+ description: string | null;
8378
+ createdAt: Date;
8379
+ updatedAt: Date;
8380
+ deletedAt: Date | null;
8381
+ systemName: string;
8382
+ displayName: string;
8383
+ permissions: {
8384
+ id: string;
8385
+ description: string | null;
8386
+ createdAt: Date;
8387
+ updatedAt: Date;
8388
+ deletedAt: Date | null;
8389
+ systemName: string;
8390
+ displayName: string;
8391
+ }[];
8392
+ }[];
8393
+ extension: {
8394
+ id: string;
8395
+ createdAt: Date;
8396
+ updatedAt: Date;
8397
+ deletedAt: Date | null;
8398
+ userId: string | null;
8399
+ sipServerUrl: string;
8400
+ sipUserName: string;
8401
+ webphoneLoginUser: string;
8402
+ extensionId: string | null;
8403
+ extensionName: string;
8404
+ telephonySignature: string | null;
8405
+ };
8406
+ } | null;
8407
+ agent: {
8408
+ id: string;
8409
+ address: string | null;
8410
+ name: string;
8411
+ email: string;
8412
+ createdAt: Date;
8413
+ updatedAt: Date;
8414
+ deletedAt: Date | null;
8415
+ emailVerifiedAt: Date | null;
8416
+ password: string;
8417
+ phone: string | null;
8418
+ notificationCount: number | null;
8419
+ roles: {
8420
+ id: string;
8421
+ description: string | null;
8422
+ createdAt: Date;
8423
+ updatedAt: Date;
8424
+ deletedAt: Date | null;
8425
+ systemName: string;
8426
+ displayName: string;
8427
+ permissions: {
8428
+ id: string;
8429
+ description: string | null;
8430
+ createdAt: Date;
8431
+ updatedAt: Date;
8432
+ deletedAt: Date | null;
8433
+ systemName: string;
8434
+ displayName: string;
8435
+ }[];
8436
+ }[];
8437
+ extension: {
8438
+ id: string;
8439
+ createdAt: Date;
8440
+ updatedAt: Date;
8441
+ deletedAt: Date | null;
8442
+ userId: string | null;
8443
+ sipServerUrl: string;
8444
+ sipUserName: string;
8445
+ webphoneLoginUser: string;
8446
+ extensionId: string | null;
8447
+ extensionName: string;
8448
+ telephonySignature: string | null;
8449
+ };
8626
8450
  } | null;
8627
- agent: {
8451
+ closedAssignee: {
8628
8452
  id: string;
8629
8453
  address: string | null;
8630
8454
  name: string;
@@ -9095,50 +8919,6 @@ export declare const apiContract: {
9095
8919
  channelId: string;
9096
8920
  socialPlatformId: string;
9097
8921
  };
9098
- firstAssignee: {
9099
- id: string;
9100
- address: string | null;
9101
- name: string;
9102
- email: string;
9103
- createdAt: Date;
9104
- updatedAt: Date;
9105
- deletedAt: Date | null;
9106
- emailVerifiedAt: Date | null;
9107
- password: string;
9108
- phone: string | null;
9109
- notificationCount: number | null;
9110
- roles: {
9111
- id: string;
9112
- description: string | null;
9113
- createdAt: Date;
9114
- updatedAt: Date;
9115
- deletedAt: Date | null;
9116
- systemName: string;
9117
- displayName: string;
9118
- permissions: {
9119
- id: string;
9120
- description: string | null;
9121
- createdAt: Date;
9122
- updatedAt: Date;
9123
- deletedAt: Date | null;
9124
- systemName: string;
9125
- displayName: string;
9126
- }[];
9127
- }[];
9128
- extension: {
9129
- id: string;
9130
- createdAt: Date;
9131
- updatedAt: Date;
9132
- deletedAt: Date | null;
9133
- userId: string | null;
9134
- sipServerUrl: string;
9135
- sipUserName: string;
9136
- webphoneLoginUser: string;
9137
- extensionId: string | null;
9138
- extensionName: string;
9139
- telephonySignature: string | null;
9140
- };
9141
- } | null;
9142
8922
  assignee: {
9143
8923
  id: string;
9144
8924
  address: string | null;
@@ -9183,50 +8963,6 @@ export declare const apiContract: {
9183
8963
  telephonySignature: string | null;
9184
8964
  };
9185
8965
  } | null;
9186
- closedAssignee: {
9187
- id: string;
9188
- address: string | null;
9189
- name: string;
9190
- email: string;
9191
- createdAt: Date;
9192
- updatedAt: Date;
9193
- deletedAt: Date | null;
9194
- emailVerifiedAt: Date | null;
9195
- password: string;
9196
- phone: string | null;
9197
- notificationCount: number | null;
9198
- roles: {
9199
- id: string;
9200
- description: string | null;
9201
- createdAt: Date;
9202
- updatedAt: Date;
9203
- deletedAt: Date | null;
9204
- systemName: string;
9205
- displayName: string;
9206
- permissions: {
9207
- id: string;
9208
- description: string | null;
9209
- createdAt: Date;
9210
- updatedAt: Date;
9211
- deletedAt: Date | null;
9212
- systemName: string;
9213
- displayName: string;
9214
- }[];
9215
- }[];
9216
- extension: {
9217
- id: string;
9218
- createdAt: Date;
9219
- updatedAt: Date;
9220
- deletedAt: Date | null;
9221
- userId: string | null;
9222
- sipServerUrl: string;
9223
- sipUserName: string;
9224
- webphoneLoginUser: string;
9225
- extensionId: string | null;
9226
- extensionName: string;
9227
- telephonySignature: string | null;
9228
- };
9229
- } | null;
9230
8966
  } | null;
9231
8967
  telephonyCdr: {
9232
8968
  type: string;
@@ -9416,17 +9152,152 @@ export declare const apiContract: {
9416
9152
  } | null | undefined;
9417
9153
  upload?: {
9418
9154
  id: string;
9419
- status: string | null;
9155
+ status: string | null;
9156
+ createdAt: Date;
9157
+ updatedAt: Date;
9158
+ deletedAt: Date | null;
9159
+ fileName: string;
9160
+ fileKey: string;
9161
+ bucketName: string;
9162
+ fileSize: number;
9163
+ fileUrl: string | null;
9164
+ } | null | undefined;
9165
+ extension?: {
9166
+ id: string;
9167
+ createdAt: Date;
9168
+ updatedAt: Date;
9169
+ deletedAt: Date | null;
9170
+ userId: string | null;
9171
+ sipServerUrl: string;
9172
+ sipUserName: string;
9173
+ webphoneLoginUser: string;
9174
+ extensionId: string | null;
9175
+ extensionName: string;
9176
+ telephonySignature: string | null;
9177
+ user?: {
9178
+ id: string;
9179
+ address: string | null;
9180
+ name: string;
9181
+ email: string;
9182
+ createdAt: Date;
9183
+ updatedAt: Date;
9184
+ deletedAt: Date | null;
9185
+ emailVerifiedAt: Date | null;
9186
+ password: string;
9187
+ phone: string | null;
9188
+ notificationCount: number | null;
9189
+ roles: {
9190
+ id: string;
9191
+ description: string | null;
9192
+ createdAt: Date;
9193
+ updatedAt: Date;
9194
+ deletedAt: Date | null;
9195
+ systemName: string;
9196
+ displayName: string;
9197
+ permissions: {
9198
+ id: string;
9199
+ description: string | null;
9200
+ createdAt: Date;
9201
+ updatedAt: Date;
9202
+ deletedAt: Date | null;
9203
+ systemName: string;
9204
+ displayName: string;
9205
+ }[];
9206
+ }[];
9207
+ extension: {
9208
+ id: string;
9209
+ createdAt: Date;
9210
+ updatedAt: Date;
9211
+ deletedAt: Date | null;
9212
+ userId: string | null;
9213
+ sipServerUrl: string;
9214
+ sipUserName: string;
9215
+ webphoneLoginUser: string;
9216
+ extensionId: string | null;
9217
+ extensionName: string;
9218
+ telephonySignature: string | null;
9219
+ };
9220
+ } | null | undefined;
9221
+ } | null | undefined;
9222
+ } | null;
9223
+ queue: {
9224
+ queueName?: string | null | undefined;
9225
+ } | null;
9226
+ firstAssignee: {
9227
+ id: string;
9228
+ address: string | null;
9229
+ name: string;
9230
+ email: string;
9231
+ createdAt: Date;
9232
+ updatedAt: Date;
9233
+ deletedAt: Date | null;
9234
+ emailVerifiedAt: Date | null;
9235
+ password: string;
9236
+ phone: string | null;
9237
+ notificationCount: number | null;
9238
+ roles: {
9239
+ id: string;
9240
+ description: string | null;
9241
+ createdAt: Date;
9242
+ updatedAt: Date;
9243
+ deletedAt: Date | null;
9244
+ systemName: string;
9245
+ displayName: string;
9246
+ permissions: {
9247
+ id: string;
9248
+ description: string | null;
9249
+ createdAt: Date;
9250
+ updatedAt: Date;
9251
+ deletedAt: Date | null;
9252
+ systemName: string;
9253
+ displayName: string;
9254
+ }[];
9255
+ }[];
9256
+ extension: {
9257
+ id: string;
9258
+ createdAt: Date;
9259
+ updatedAt: Date;
9260
+ deletedAt: Date | null;
9261
+ userId: string | null;
9262
+ sipServerUrl: string;
9263
+ sipUserName: string;
9264
+ webphoneLoginUser: string;
9265
+ extensionId: string | null;
9266
+ extensionName: string;
9267
+ telephonySignature: string | null;
9268
+ };
9269
+ } | null;
9270
+ agent: {
9271
+ id: string;
9272
+ address: string | null;
9273
+ name: string;
9274
+ email: string;
9275
+ createdAt: Date;
9276
+ updatedAt: Date;
9277
+ deletedAt: Date | null;
9278
+ emailVerifiedAt: Date | null;
9279
+ password: string;
9280
+ phone: string | null;
9281
+ notificationCount: number | null;
9282
+ roles: {
9283
+ id: string;
9284
+ description: string | null;
9420
9285
  createdAt: Date;
9421
9286
  updatedAt: Date;
9422
9287
  deletedAt: Date | null;
9423
- fileName: string;
9424
- fileKey: string;
9425
- bucketName: string;
9426
- fileSize: number;
9427
- fileUrl: string | null;
9428
- } | null | undefined;
9429
- extension?: {
9288
+ systemName: string;
9289
+ displayName: string;
9290
+ permissions: {
9291
+ id: string;
9292
+ description: string | null;
9293
+ createdAt: Date;
9294
+ updatedAt: Date;
9295
+ deletedAt: Date | null;
9296
+ systemName: string;
9297
+ displayName: string;
9298
+ }[];
9299
+ }[];
9300
+ extension: {
9430
9301
  id: string;
9431
9302
  createdAt: Date;
9432
9303
  updatedAt: Date;
@@ -9438,56 +9309,9 @@ export declare const apiContract: {
9438
9309
  extensionId: string | null;
9439
9310
  extensionName: string;
9440
9311
  telephonySignature: string | null;
9441
- user?: {
9442
- id: string;
9443
- address: string | null;
9444
- name: string;
9445
- email: string;
9446
- createdAt: Date;
9447
- updatedAt: Date;
9448
- deletedAt: Date | null;
9449
- emailVerifiedAt: Date | null;
9450
- password: string;
9451
- phone: string | null;
9452
- notificationCount: number | null;
9453
- roles: {
9454
- id: string;
9455
- description: string | null;
9456
- createdAt: Date;
9457
- updatedAt: Date;
9458
- deletedAt: Date | null;
9459
- systemName: string;
9460
- displayName: string;
9461
- permissions: {
9462
- id: string;
9463
- description: string | null;
9464
- createdAt: Date;
9465
- updatedAt: Date;
9466
- deletedAt: Date | null;
9467
- systemName: string;
9468
- displayName: string;
9469
- }[];
9470
- }[];
9471
- extension: {
9472
- id: string;
9473
- createdAt: Date;
9474
- updatedAt: Date;
9475
- deletedAt: Date | null;
9476
- userId: string | null;
9477
- sipServerUrl: string;
9478
- sipUserName: string;
9479
- webphoneLoginUser: string;
9480
- extensionId: string | null;
9481
- extensionName: string;
9482
- telephonySignature: string | null;
9483
- };
9484
- } | null | undefined;
9485
- } | null | undefined;
9486
- } | null;
9487
- queue: {
9488
- queueName?: string | null | undefined;
9312
+ };
9489
9313
  } | null;
9490
- agent: {
9314
+ closedAssignee: {
9491
9315
  id: string;
9492
9316
  address: string | null;
9493
9317
  name: string;
@@ -9958,50 +9782,6 @@ export declare const apiContract: {
9958
9782
  channelId: string;
9959
9783
  socialPlatformId: string;
9960
9784
  };
9961
- firstAssignee: {
9962
- id: string;
9963
- address: string | null;
9964
- name: string;
9965
- email: string;
9966
- createdAt: Date;
9967
- updatedAt: Date;
9968
- deletedAt: Date | null;
9969
- emailVerifiedAt: Date | null;
9970
- password: string;
9971
- phone: string | null;
9972
- notificationCount: number | null;
9973
- roles: {
9974
- id: string;
9975
- description: string | null;
9976
- createdAt: Date;
9977
- updatedAt: Date;
9978
- deletedAt: Date | null;
9979
- systemName: string;
9980
- displayName: string;
9981
- permissions: {
9982
- id: string;
9983
- description: string | null;
9984
- createdAt: Date;
9985
- updatedAt: Date;
9986
- deletedAt: Date | null;
9987
- systemName: string;
9988
- displayName: string;
9989
- }[];
9990
- }[];
9991
- extension: {
9992
- id: string;
9993
- createdAt: Date;
9994
- updatedAt: Date;
9995
- deletedAt: Date | null;
9996
- userId: string | null;
9997
- sipServerUrl: string;
9998
- sipUserName: string;
9999
- webphoneLoginUser: string;
10000
- extensionId: string | null;
10001
- extensionName: string;
10002
- telephonySignature: string | null;
10003
- };
10004
- } | null;
10005
9785
  assignee: {
10006
9786
  id: string;
10007
9787
  address: string | null;
@@ -10046,50 +9826,6 @@ export declare const apiContract: {
10046
9826
  telephonySignature: string | null;
10047
9827
  };
10048
9828
  } | null;
10049
- closedAssignee: {
10050
- id: string;
10051
- address: string | null;
10052
- name: string;
10053
- email: string;
10054
- createdAt: Date;
10055
- updatedAt: Date;
10056
- deletedAt: Date | null;
10057
- emailVerifiedAt: Date | null;
10058
- password: string;
10059
- phone: string | null;
10060
- notificationCount: number | null;
10061
- roles: {
10062
- id: string;
10063
- description: string | null;
10064
- createdAt: Date;
10065
- updatedAt: Date;
10066
- deletedAt: Date | null;
10067
- systemName: string;
10068
- displayName: string;
10069
- permissions: {
10070
- id: string;
10071
- description: string | null;
10072
- createdAt: Date;
10073
- updatedAt: Date;
10074
- deletedAt: Date | null;
10075
- systemName: string;
10076
- displayName: string;
10077
- }[];
10078
- }[];
10079
- extension: {
10080
- id: string;
10081
- createdAt: Date;
10082
- updatedAt: Date;
10083
- deletedAt: Date | null;
10084
- userId: string | null;
10085
- sipServerUrl: string;
10086
- sipUserName: string;
10087
- webphoneLoginUser: string;
10088
- extensionId: string | null;
10089
- extensionName: string;
10090
- telephonySignature: string | null;
10091
- };
10092
- } | null;
10093
9829
  } | null;
10094
9830
  telephonyCdr: {
10095
9831
  type: string;
@@ -10350,6 +10086,50 @@ export declare const apiContract: {
10350
10086
  queue: {
10351
10087
  queueName?: string | null | undefined;
10352
10088
  } | null;
10089
+ firstAssignee: {
10090
+ id: string;
10091
+ address: string | null;
10092
+ name: string;
10093
+ email: string;
10094
+ createdAt: Date;
10095
+ updatedAt: Date;
10096
+ deletedAt: Date | null;
10097
+ emailVerifiedAt: Date | null;
10098
+ password: string;
10099
+ phone: string | null;
10100
+ notificationCount: number | null;
10101
+ roles: {
10102
+ id: string;
10103
+ description: string | null;
10104
+ createdAt: Date;
10105
+ updatedAt: Date;
10106
+ deletedAt: Date | null;
10107
+ systemName: string;
10108
+ displayName: string;
10109
+ permissions: {
10110
+ id: string;
10111
+ description: string | null;
10112
+ createdAt: Date;
10113
+ updatedAt: Date;
10114
+ deletedAt: Date | null;
10115
+ systemName: string;
10116
+ displayName: string;
10117
+ }[];
10118
+ }[];
10119
+ extension: {
10120
+ id: string;
10121
+ createdAt: Date;
10122
+ updatedAt: Date;
10123
+ deletedAt: Date | null;
10124
+ userId: string | null;
10125
+ sipServerUrl: string;
10126
+ sipUserName: string;
10127
+ webphoneLoginUser: string;
10128
+ extensionId: string | null;
10129
+ extensionName: string;
10130
+ telephonySignature: string | null;
10131
+ };
10132
+ } | null;
10353
10133
  agent: {
10354
10134
  id: string;
10355
10135
  address: string | null;
@@ -10394,6 +10174,50 @@ export declare const apiContract: {
10394
10174
  telephonySignature: string | null;
10395
10175
  };
10396
10176
  } | null;
10177
+ closedAssignee: {
10178
+ id: string;
10179
+ address: string | null;
10180
+ name: string;
10181
+ email: string;
10182
+ createdAt: Date;
10183
+ updatedAt: Date;
10184
+ deletedAt: Date | null;
10185
+ emailVerifiedAt: Date | null;
10186
+ password: string;
10187
+ phone: string | null;
10188
+ notificationCount: number | null;
10189
+ roles: {
10190
+ id: string;
10191
+ description: string | null;
10192
+ createdAt: Date;
10193
+ updatedAt: Date;
10194
+ deletedAt: Date | null;
10195
+ systemName: string;
10196
+ displayName: string;
10197
+ permissions: {
10198
+ id: string;
10199
+ description: string | null;
10200
+ createdAt: Date;
10201
+ updatedAt: Date;
10202
+ deletedAt: Date | null;
10203
+ systemName: string;
10204
+ displayName: string;
10205
+ }[];
10206
+ }[];
10207
+ extension: {
10208
+ id: string;
10209
+ createdAt: Date;
10210
+ updatedAt: Date;
10211
+ deletedAt: Date | null;
10212
+ userId: string | null;
10213
+ sipServerUrl: string;
10214
+ sipUserName: string;
10215
+ webphoneLoginUser: string;
10216
+ extensionId: string | null;
10217
+ extensionName: string;
10218
+ telephonySignature: string | null;
10219
+ };
10220
+ } | null;
10397
10221
  contactLabel: string[];
10398
10222
  }[];
10399
10223
  }>;