@kl1/contracts 1.0.73 → 1.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2329,14 +2329,14 @@ export declare const lineContract: {
2329
2329
  telephonySignature: string | null;
2330
2330
  };
2331
2331
  }>;
2332
- channel: z.ZodOptional<z.ZodObject<{
2333
- id: z.ZodOptional<z.ZodString>;
2334
- createdAt: z.ZodOptional<z.ZodDate>;
2335
- updatedAt: z.ZodOptional<z.ZodDate>;
2336
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2337
- name: z.ZodOptional<z.ZodString>;
2338
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
2339
- metadata: z.ZodOptional<z.ZodObject<{
2332
+ channel: z.ZodObject<{
2333
+ id: z.ZodString;
2334
+ createdAt: z.ZodDate;
2335
+ updatedAt: z.ZodDate;
2336
+ deletedAt: z.ZodNullable<z.ZodDate>;
2337
+ name: z.ZodString;
2338
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
2339
+ metadata: z.ZodObject<{
2340
2340
  id: z.ZodString;
2341
2341
  name: z.ZodString;
2342
2342
  accessToken: z.ZodString;
@@ -2354,14 +2354,14 @@ export declare const lineContract: {
2354
2354
  accessToken: string;
2355
2355
  channelSecret?: string | undefined;
2356
2356
  additionalCredentials?: any;
2357
- }>>;
2358
- brandName: z.ZodOptional<z.ZodString>;
2359
- platformId: z.ZodOptional<z.ZodString>;
2360
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
2361
- isReloginRequired: z.ZodOptional<z.ZodBoolean>;
2362
- connectedUserName: z.ZodOptional<z.ZodString>;
2363
- connectedUserId: z.ZodOptional<z.ZodString>;
2364
- actor: z.ZodOptional<z.ZodObject<{
2357
+ }>;
2358
+ brandName: z.ZodString;
2359
+ platformId: z.ZodString;
2360
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
2361
+ isReloginRequired: z.ZodBoolean;
2362
+ connectedUserName: z.ZodString;
2363
+ connectedUserId: z.ZodString;
2364
+ actor: z.ZodObject<{
2365
2365
  id: z.ZodString;
2366
2366
  createdAt: z.ZodDate;
2367
2367
  updatedAt: z.ZodDate;
@@ -2564,28 +2564,23 @@ export declare const lineContract: {
2564
2564
  extensionName: string;
2565
2565
  telephonySignature: string | null;
2566
2566
  };
2567
- }>>;
2567
+ }>;
2568
2568
  }, "strip", z.ZodTypeAny, {
2569
- id?: string | undefined;
2570
- createdAt?: Date | undefined;
2571
- updatedAt?: Date | undefined;
2572
- deletedAt?: Date | null | undefined;
2573
- name?: string | undefined;
2574
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2575
- metadata?: {
2569
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2570
+ id: string;
2571
+ name: string;
2572
+ metadata: {
2576
2573
  id: string;
2577
2574
  name: string;
2578
2575
  accessToken: string;
2579
2576
  channelSecret?: string | undefined;
2580
2577
  additionalCredentials?: any;
2581
- } | undefined;
2582
- brandName?: string | undefined;
2583
- platformId?: string | undefined;
2584
- status?: boolean | undefined;
2585
- isReloginRequired?: boolean | undefined;
2586
- connectedUserName?: string | undefined;
2587
- connectedUserId?: string | undefined;
2588
- actor?: {
2578
+ };
2579
+ status: boolean;
2580
+ createdAt: Date;
2581
+ updatedAt: Date;
2582
+ deletedAt: Date | null;
2583
+ actor: {
2589
2584
  id: string;
2590
2585
  address: string | null;
2591
2586
  name: string;
@@ -2628,28 +2623,28 @@ export declare const lineContract: {
2628
2623
  extensionName: string;
2629
2624
  telephonySignature: string | null;
2630
2625
  };
2631
- } | undefined;
2626
+ };
2627
+ brandName: string;
2628
+ platformId: string;
2629
+ isReloginRequired: boolean;
2630
+ connectedUserName: string;
2631
+ connectedUserId: string;
2632
2632
  }, {
2633
- id?: string | undefined;
2634
- createdAt?: Date | undefined;
2635
- updatedAt?: Date | undefined;
2636
- deletedAt?: Date | null | undefined;
2637
- name?: string | undefined;
2638
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2639
- metadata?: {
2633
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2634
+ id: string;
2635
+ name: string;
2636
+ metadata: {
2640
2637
  id: string;
2641
2638
  name: string;
2642
2639
  accessToken: string;
2643
2640
  channelSecret?: string | undefined;
2644
2641
  additionalCredentials?: any;
2645
- } | undefined;
2646
- brandName?: string | undefined;
2647
- platformId?: string | undefined;
2648
- status?: boolean | undefined;
2649
- isReloginRequired?: boolean | undefined;
2650
- connectedUserName?: string | undefined;
2651
- connectedUserId?: string | undefined;
2652
- actor?: {
2642
+ };
2643
+ status: boolean;
2644
+ createdAt: Date;
2645
+ updatedAt: Date;
2646
+ deletedAt: Date | null;
2647
+ actor: {
2653
2648
  id: string;
2654
2649
  address: string | null;
2655
2650
  name: string;
@@ -2692,8 +2687,13 @@ export declare const lineContract: {
2692
2687
  extensionName: string;
2693
2688
  telephonySignature: string | null;
2694
2689
  };
2695
- } | undefined;
2696
- }>>;
2690
+ };
2691
+ brandName: string;
2692
+ platformId: string;
2693
+ isReloginRequired: boolean;
2694
+ connectedUserName: string;
2695
+ connectedUserId: string;
2696
+ }>;
2697
2697
  cxlog: z.ZodObject<{
2698
2698
  id: z.ZodString;
2699
2699
  createdAt: z.ZodDate;
@@ -2710,7 +2710,6 @@ export declare const lineContract: {
2710
2710
  startedDate: z.ZodNullable<z.ZodDate>;
2711
2711
  handledTime: z.ZodNullable<z.ZodNumber>;
2712
2712
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
2713
- disposition: z.ZodNullable<z.ZodString>;
2714
2713
  wrapUpForm: z.ZodNullable<z.ZodObject<{
2715
2714
  id: z.ZodString;
2716
2715
  createdAt: z.ZodDate;
@@ -2775,7 +2774,6 @@ export declare const lineContract: {
2775
2774
  }, "strip", z.ZodTypeAny, {
2776
2775
  id: string;
2777
2776
  channel: string | null;
2778
- disposition: string | null;
2779
2777
  direction: string | null;
2780
2778
  createdAt: Date;
2781
2779
  updatedAt: Date;
@@ -2809,7 +2807,6 @@ export declare const lineContract: {
2809
2807
  }, {
2810
2808
  id: string;
2811
2809
  channel: string | null;
2812
- disposition: string | null;
2813
2810
  direction: string | null;
2814
2811
  createdAt: Date;
2815
2812
  updatedAt: Date;
@@ -2843,6 +2840,71 @@ export declare const lineContract: {
2843
2840
  }>;
2844
2841
  }, "strip", z.ZodTypeAny, {
2845
2842
  id: string;
2843
+ channel: {
2844
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2845
+ id: string;
2846
+ name: string;
2847
+ metadata: {
2848
+ id: string;
2849
+ name: string;
2850
+ accessToken: string;
2851
+ channelSecret?: string | undefined;
2852
+ additionalCredentials?: any;
2853
+ };
2854
+ status: boolean;
2855
+ createdAt: Date;
2856
+ updatedAt: Date;
2857
+ deletedAt: Date | null;
2858
+ actor: {
2859
+ id: string;
2860
+ address: string | null;
2861
+ name: string;
2862
+ email: string;
2863
+ createdAt: Date;
2864
+ updatedAt: Date;
2865
+ deletedAt: Date | null;
2866
+ emailVerifiedAt: Date | null;
2867
+ password: string;
2868
+ phone: string | null;
2869
+ notificationCount: number | null;
2870
+ roles: {
2871
+ id: string;
2872
+ description: string | null;
2873
+ createdAt: Date;
2874
+ updatedAt: Date;
2875
+ deletedAt: Date | null;
2876
+ systemName: string;
2877
+ displayName: string;
2878
+ permissions: {
2879
+ id: string;
2880
+ description: string | null;
2881
+ createdAt: Date;
2882
+ updatedAt: Date;
2883
+ deletedAt: Date | null;
2884
+ systemName: string;
2885
+ displayName: string;
2886
+ }[];
2887
+ }[];
2888
+ extension: {
2889
+ id: string;
2890
+ createdAt: Date;
2891
+ updatedAt: Date;
2892
+ deletedAt: Date | null;
2893
+ userId: string | null;
2894
+ sipServerUrl: string;
2895
+ sipUserName: string;
2896
+ webphoneLoginUser: string;
2897
+ extensionId: string | null;
2898
+ extensionName: string;
2899
+ telephonySignature: string | null;
2900
+ };
2901
+ };
2902
+ brandName: string;
2903
+ platformId: string;
2904
+ isReloginRequired: boolean;
2905
+ connectedUserName: string;
2906
+ connectedUserId: string;
2907
+ };
2846
2908
  direction: "incoming" | "outgoing" | "system";
2847
2909
  createdAt: Date;
2848
2910
  updatedAt: Date;
@@ -3057,7 +3119,6 @@ export declare const lineContract: {
3057
3119
  cxlog: {
3058
3120
  id: string;
3059
3121
  channel: string | null;
3060
- disposition: string | null;
3061
3122
  direction: string | null;
3062
3123
  createdAt: Date;
3063
3124
  updatedAt: Date;
@@ -3089,27 +3150,24 @@ export declare const lineContract: {
3089
3150
  callTo: string | null;
3090
3151
  } | null;
3091
3152
  };
3092
- channel?: {
3093
- id?: string | undefined;
3094
- createdAt?: Date | undefined;
3095
- updatedAt?: Date | undefined;
3096
- deletedAt?: Date | null | undefined;
3097
- name?: string | undefined;
3098
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3099
- metadata?: {
3153
+ }, {
3154
+ id: string;
3155
+ channel: {
3156
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
3157
+ id: string;
3158
+ name: string;
3159
+ metadata: {
3100
3160
  id: string;
3101
3161
  name: string;
3102
3162
  accessToken: string;
3103
3163
  channelSecret?: string | undefined;
3104
3164
  additionalCredentials?: any;
3105
- } | undefined;
3106
- brandName?: string | undefined;
3107
- platformId?: string | undefined;
3108
- status?: boolean | undefined;
3109
- isReloginRequired?: boolean | undefined;
3110
- connectedUserName?: string | undefined;
3111
- connectedUserId?: string | undefined;
3112
- actor?: {
3165
+ };
3166
+ status: boolean;
3167
+ createdAt: Date;
3168
+ updatedAt: Date;
3169
+ deletedAt: Date | null;
3170
+ actor: {
3113
3171
  id: string;
3114
3172
  address: string | null;
3115
3173
  name: string;
@@ -3152,10 +3210,13 @@ export declare const lineContract: {
3152
3210
  extensionName: string;
3153
3211
  telephonySignature: string | null;
3154
3212
  };
3155
- } | undefined;
3156
- } | undefined;
3157
- }, {
3158
- id: string;
3213
+ };
3214
+ brandName: string;
3215
+ platformId: string;
3216
+ isReloginRequired: boolean;
3217
+ connectedUserName: string;
3218
+ connectedUserId: string;
3219
+ };
3159
3220
  direction: "incoming" | "outgoing" | "system";
3160
3221
  createdAt: Date;
3161
3222
  updatedAt: Date;
@@ -3370,7 +3431,6 @@ export declare const lineContract: {
3370
3431
  cxlog: {
3371
3432
  id: string;
3372
3433
  channel: string | null;
3373
- disposition: string | null;
3374
3434
  direction: string | null;
3375
3435
  createdAt: Date;
3376
3436
  updatedAt: Date;
@@ -3402,71 +3462,6 @@ export declare const lineContract: {
3402
3462
  callTo: string | null;
3403
3463
  } | null;
3404
3464
  };
3405
- channel?: {
3406
- id?: string | undefined;
3407
- createdAt?: Date | undefined;
3408
- updatedAt?: Date | undefined;
3409
- deletedAt?: Date | null | undefined;
3410
- name?: string | undefined;
3411
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3412
- metadata?: {
3413
- id: string;
3414
- name: string;
3415
- accessToken: string;
3416
- channelSecret?: string | undefined;
3417
- additionalCredentials?: any;
3418
- } | undefined;
3419
- brandName?: string | undefined;
3420
- platformId?: string | undefined;
3421
- status?: boolean | undefined;
3422
- isReloginRequired?: boolean | undefined;
3423
- connectedUserName?: string | undefined;
3424
- connectedUserId?: string | undefined;
3425
- actor?: {
3426
- id: string;
3427
- address: string | null;
3428
- name: string;
3429
- email: string;
3430
- createdAt: Date;
3431
- updatedAt: Date;
3432
- deletedAt: Date | null;
3433
- emailVerifiedAt: Date | null;
3434
- password: string;
3435
- phone: string | null;
3436
- notificationCount: number | null;
3437
- roles: {
3438
- id: string;
3439
- description: string | null;
3440
- createdAt: Date;
3441
- updatedAt: Date;
3442
- deletedAt: Date | null;
3443
- systemName: string;
3444
- displayName: string;
3445
- permissions: {
3446
- id: string;
3447
- description: string | null;
3448
- createdAt: Date;
3449
- updatedAt: Date;
3450
- deletedAt: Date | null;
3451
- systemName: string;
3452
- displayName: string;
3453
- }[];
3454
- }[];
3455
- extension: {
3456
- id: string;
3457
- createdAt: Date;
3458
- updatedAt: Date;
3459
- deletedAt: Date | null;
3460
- userId: string | null;
3461
- sipServerUrl: string;
3462
- sipUserName: string;
3463
- webphoneLoginUser: string;
3464
- extensionId: string | null;
3465
- extensionName: string;
3466
- telephonySignature: string | null;
3467
- };
3468
- } | undefined;
3469
- } | undefined;
3470
3465
  }>;
3471
3466
  upload: z.ZodObject<{
3472
3467
  id: z.ZodString;
@@ -4220,6 +4215,71 @@ export declare const lineContract: {
4220
4215
  imageSetId: string;
4221
4216
  room: {
4222
4217
  id: string;
4218
+ channel: {
4219
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
4220
+ id: string;
4221
+ name: string;
4222
+ metadata: {
4223
+ id: string;
4224
+ name: string;
4225
+ accessToken: string;
4226
+ channelSecret?: string | undefined;
4227
+ additionalCredentials?: any;
4228
+ };
4229
+ status: boolean;
4230
+ createdAt: Date;
4231
+ updatedAt: Date;
4232
+ deletedAt: Date | null;
4233
+ actor: {
4234
+ id: string;
4235
+ address: string | null;
4236
+ name: string;
4237
+ email: string;
4238
+ createdAt: Date;
4239
+ updatedAt: Date;
4240
+ deletedAt: Date | null;
4241
+ emailVerifiedAt: Date | null;
4242
+ password: string;
4243
+ phone: string | null;
4244
+ notificationCount: number | null;
4245
+ roles: {
4246
+ id: string;
4247
+ description: string | null;
4248
+ createdAt: Date;
4249
+ updatedAt: Date;
4250
+ deletedAt: Date | null;
4251
+ systemName: string;
4252
+ displayName: string;
4253
+ permissions: {
4254
+ id: string;
4255
+ description: string | null;
4256
+ createdAt: Date;
4257
+ updatedAt: Date;
4258
+ deletedAt: Date | null;
4259
+ systemName: string;
4260
+ displayName: string;
4261
+ }[];
4262
+ }[];
4263
+ extension: {
4264
+ id: string;
4265
+ createdAt: Date;
4266
+ updatedAt: Date;
4267
+ deletedAt: Date | null;
4268
+ userId: string | null;
4269
+ sipServerUrl: string;
4270
+ sipUserName: string;
4271
+ webphoneLoginUser: string;
4272
+ extensionId: string | null;
4273
+ extensionName: string;
4274
+ telephonySignature: string | null;
4275
+ };
4276
+ };
4277
+ brandName: string;
4278
+ platformId: string;
4279
+ isReloginRequired: boolean;
4280
+ connectedUserName: string;
4281
+ connectedUserId: string;
4282
+ };
4223
4283
  direction: "incoming" | "outgoing" | "system";
4224
4284
  createdAt: Date;
4225
4285
  updatedAt: Date;
@@ -4434,7 +4494,6 @@ export declare const lineContract: {
4434
4494
  cxlog: {
4435
4495
  id: string;
4436
4496
  channel: string | null;
4437
- disposition: string | null;
4438
4497
  direction: string | null;
4439
4498
  createdAt: Date;
4440
4499
  updatedAt: Date;
@@ -4466,71 +4525,6 @@ export declare const lineContract: {
4466
4525
  callTo: string | null;
4467
4526
  } | null;
4468
4527
  };
4469
- channel?: {
4470
- id?: string | undefined;
4471
- createdAt?: Date | undefined;
4472
- updatedAt?: Date | undefined;
4473
- deletedAt?: Date | null | undefined;
4474
- name?: string | undefined;
4475
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4476
- metadata?: {
4477
- id: string;
4478
- name: string;
4479
- accessToken: string;
4480
- channelSecret?: string | undefined;
4481
- additionalCredentials?: any;
4482
- } | undefined;
4483
- brandName?: string | undefined;
4484
- platformId?: string | undefined;
4485
- status?: boolean | undefined;
4486
- isReloginRequired?: boolean | undefined;
4487
- connectedUserName?: string | undefined;
4488
- connectedUserId?: string | undefined;
4489
- actor?: {
4490
- id: string;
4491
- address: string | null;
4492
- name: string;
4493
- email: string;
4494
- createdAt: Date;
4495
- updatedAt: Date;
4496
- deletedAt: Date | null;
4497
- emailVerifiedAt: Date | null;
4498
- password: string;
4499
- phone: string | null;
4500
- notificationCount: number | null;
4501
- roles: {
4502
- id: string;
4503
- description: string | null;
4504
- createdAt: Date;
4505
- updatedAt: Date;
4506
- deletedAt: Date | null;
4507
- systemName: string;
4508
- displayName: string;
4509
- permissions: {
4510
- id: string;
4511
- description: string | null;
4512
- createdAt: Date;
4513
- updatedAt: Date;
4514
- deletedAt: Date | null;
4515
- systemName: string;
4516
- displayName: string;
4517
- }[];
4518
- }[];
4519
- extension: {
4520
- id: string;
4521
- createdAt: Date;
4522
- updatedAt: Date;
4523
- deletedAt: Date | null;
4524
- userId: string | null;
4525
- sipServerUrl: string;
4526
- sipUserName: string;
4527
- webphoneLoginUser: string;
4528
- extensionId: string | null;
4529
- extensionName: string;
4530
- telephonySignature: string | null;
4531
- };
4532
- } | undefined;
4533
- } | undefined;
4534
4528
  };
4535
4529
  upload: {
4536
4530
  id: string;
@@ -4696,10 +4690,75 @@ export declare const lineContract: {
4696
4690
  imageSetId: string;
4697
4691
  room: {
4698
4692
  id: string;
4699
- direction: "incoming" | "outgoing" | "system";
4700
- createdAt: Date;
4701
- updatedAt: Date;
4702
- deletedAt: Date | null;
4693
+ channel: {
4694
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
4695
+ id: string;
4696
+ name: string;
4697
+ metadata: {
4698
+ id: string;
4699
+ name: string;
4700
+ accessToken: string;
4701
+ channelSecret?: string | undefined;
4702
+ additionalCredentials?: any;
4703
+ };
4704
+ status: boolean;
4705
+ createdAt: Date;
4706
+ updatedAt: Date;
4707
+ deletedAt: Date | null;
4708
+ actor: {
4709
+ id: string;
4710
+ address: string | null;
4711
+ name: string;
4712
+ email: string;
4713
+ createdAt: Date;
4714
+ updatedAt: Date;
4715
+ deletedAt: Date | null;
4716
+ emailVerifiedAt: Date | null;
4717
+ password: string;
4718
+ phone: string | null;
4719
+ notificationCount: number | null;
4720
+ roles: {
4721
+ id: string;
4722
+ description: string | null;
4723
+ createdAt: Date;
4724
+ updatedAt: Date;
4725
+ deletedAt: Date | null;
4726
+ systemName: string;
4727
+ displayName: string;
4728
+ permissions: {
4729
+ id: string;
4730
+ description: string | null;
4731
+ createdAt: Date;
4732
+ updatedAt: Date;
4733
+ deletedAt: Date | null;
4734
+ systemName: string;
4735
+ displayName: string;
4736
+ }[];
4737
+ }[];
4738
+ extension: {
4739
+ id: string;
4740
+ createdAt: Date;
4741
+ updatedAt: Date;
4742
+ deletedAt: Date | null;
4743
+ userId: string | null;
4744
+ sipServerUrl: string;
4745
+ sipUserName: string;
4746
+ webphoneLoginUser: string;
4747
+ extensionId: string | null;
4748
+ extensionName: string;
4749
+ telephonySignature: string | null;
4750
+ };
4751
+ };
4752
+ brandName: string;
4753
+ platformId: string;
4754
+ isReloginRequired: boolean;
4755
+ connectedUserName: string;
4756
+ connectedUserId: string;
4757
+ };
4758
+ direction: "incoming" | "outgoing" | "system";
4759
+ createdAt: Date;
4760
+ updatedAt: Date;
4761
+ deletedAt: Date | null;
4703
4762
  actor: {
4704
4763
  id: string;
4705
4764
  address: string | null;
@@ -4910,7 +4969,6 @@ export declare const lineContract: {
4910
4969
  cxlog: {
4911
4970
  id: string;
4912
4971
  channel: string | null;
4913
- disposition: string | null;
4914
4972
  direction: string | null;
4915
4973
  createdAt: Date;
4916
4974
  updatedAt: Date;
@@ -4942,71 +5000,6 @@ export declare const lineContract: {
4942
5000
  callTo: string | null;
4943
5001
  } | null;
4944
5002
  };
4945
- channel?: {
4946
- id?: string | undefined;
4947
- createdAt?: Date | undefined;
4948
- updatedAt?: Date | undefined;
4949
- deletedAt?: Date | null | undefined;
4950
- name?: string | undefined;
4951
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4952
- metadata?: {
4953
- id: string;
4954
- name: string;
4955
- accessToken: string;
4956
- channelSecret?: string | undefined;
4957
- additionalCredentials?: any;
4958
- } | undefined;
4959
- brandName?: string | undefined;
4960
- platformId?: string | undefined;
4961
- status?: boolean | undefined;
4962
- isReloginRequired?: boolean | undefined;
4963
- connectedUserName?: string | undefined;
4964
- connectedUserId?: string | undefined;
4965
- actor?: {
4966
- id: string;
4967
- address: string | null;
4968
- name: string;
4969
- email: string;
4970
- createdAt: Date;
4971
- updatedAt: Date;
4972
- deletedAt: Date | null;
4973
- emailVerifiedAt: Date | null;
4974
- password: string;
4975
- phone: string | null;
4976
- notificationCount: number | null;
4977
- roles: {
4978
- id: string;
4979
- description: string | null;
4980
- createdAt: Date;
4981
- updatedAt: Date;
4982
- deletedAt: Date | null;
4983
- systemName: string;
4984
- displayName: string;
4985
- permissions: {
4986
- id: string;
4987
- description: string | null;
4988
- createdAt: Date;
4989
- updatedAt: Date;
4990
- deletedAt: Date | null;
4991
- systemName: string;
4992
- displayName: string;
4993
- }[];
4994
- }[];
4995
- extension: {
4996
- id: string;
4997
- createdAt: Date;
4998
- updatedAt: Date;
4999
- deletedAt: Date | null;
5000
- userId: string | null;
5001
- sipServerUrl: string;
5002
- sipUserName: string;
5003
- webphoneLoginUser: string;
5004
- extensionId: string | null;
5005
- extensionName: string;
5006
- telephonySignature: string | null;
5007
- };
5008
- } | undefined;
5009
- } | undefined;
5010
5003
  };
5011
5004
  upload: {
5012
5005
  id: string;
@@ -5174,6 +5167,71 @@ export declare const lineContract: {
5174
5167
  imageSetId: string;
5175
5168
  room: {
5176
5169
  id: string;
5170
+ channel: {
5171
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5172
+ id: string;
5173
+ name: string;
5174
+ metadata: {
5175
+ id: string;
5176
+ name: string;
5177
+ accessToken: string;
5178
+ channelSecret?: string | undefined;
5179
+ additionalCredentials?: any;
5180
+ };
5181
+ status: boolean;
5182
+ createdAt: Date;
5183
+ updatedAt: Date;
5184
+ deletedAt: Date | null;
5185
+ actor: {
5186
+ id: string;
5187
+ address: string | null;
5188
+ name: string;
5189
+ email: string;
5190
+ createdAt: Date;
5191
+ updatedAt: Date;
5192
+ deletedAt: Date | null;
5193
+ emailVerifiedAt: Date | null;
5194
+ password: string;
5195
+ phone: string | null;
5196
+ notificationCount: number | null;
5197
+ roles: {
5198
+ id: string;
5199
+ description: string | null;
5200
+ createdAt: Date;
5201
+ updatedAt: Date;
5202
+ deletedAt: Date | null;
5203
+ systemName: string;
5204
+ displayName: string;
5205
+ permissions: {
5206
+ id: string;
5207
+ description: string | null;
5208
+ createdAt: Date;
5209
+ updatedAt: Date;
5210
+ deletedAt: Date | null;
5211
+ systemName: string;
5212
+ displayName: string;
5213
+ }[];
5214
+ }[];
5215
+ extension: {
5216
+ id: string;
5217
+ createdAt: Date;
5218
+ updatedAt: Date;
5219
+ deletedAt: Date | null;
5220
+ userId: string | null;
5221
+ sipServerUrl: string;
5222
+ sipUserName: string;
5223
+ webphoneLoginUser: string;
5224
+ extensionId: string | null;
5225
+ extensionName: string;
5226
+ telephonySignature: string | null;
5227
+ };
5228
+ };
5229
+ brandName: string;
5230
+ platformId: string;
5231
+ isReloginRequired: boolean;
5232
+ connectedUserName: string;
5233
+ connectedUserId: string;
5234
+ };
5177
5235
  direction: "incoming" | "outgoing" | "system";
5178
5236
  createdAt: Date;
5179
5237
  updatedAt: Date;
@@ -5388,7 +5446,6 @@ export declare const lineContract: {
5388
5446
  cxlog: {
5389
5447
  id: string;
5390
5448
  channel: string | null;
5391
- disposition: string | null;
5392
5449
  direction: string | null;
5393
5450
  createdAt: Date;
5394
5451
  updatedAt: Date;
@@ -5420,71 +5477,6 @@ export declare const lineContract: {
5420
5477
  callTo: string | null;
5421
5478
  } | null;
5422
5479
  };
5423
- channel?: {
5424
- id?: string | undefined;
5425
- createdAt?: Date | undefined;
5426
- updatedAt?: Date | undefined;
5427
- deletedAt?: Date | null | undefined;
5428
- name?: string | undefined;
5429
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5430
- metadata?: {
5431
- id: string;
5432
- name: string;
5433
- accessToken: string;
5434
- channelSecret?: string | undefined;
5435
- additionalCredentials?: any;
5436
- } | undefined;
5437
- brandName?: string | undefined;
5438
- platformId?: string | undefined;
5439
- status?: boolean | undefined;
5440
- isReloginRequired?: boolean | undefined;
5441
- connectedUserName?: string | undefined;
5442
- connectedUserId?: string | undefined;
5443
- actor?: {
5444
- id: string;
5445
- address: string | null;
5446
- name: string;
5447
- email: string;
5448
- createdAt: Date;
5449
- updatedAt: Date;
5450
- deletedAt: Date | null;
5451
- emailVerifiedAt: Date | null;
5452
- password: string;
5453
- phone: string | null;
5454
- notificationCount: number | null;
5455
- roles: {
5456
- id: string;
5457
- description: string | null;
5458
- createdAt: Date;
5459
- updatedAt: Date;
5460
- deletedAt: Date | null;
5461
- systemName: string;
5462
- displayName: string;
5463
- permissions: {
5464
- id: string;
5465
- description: string | null;
5466
- createdAt: Date;
5467
- updatedAt: Date;
5468
- deletedAt: Date | null;
5469
- systemName: string;
5470
- displayName: string;
5471
- }[];
5472
- }[];
5473
- extension: {
5474
- id: string;
5475
- createdAt: Date;
5476
- updatedAt: Date;
5477
- deletedAt: Date | null;
5478
- userId: string | null;
5479
- sipServerUrl: string;
5480
- sipUserName: string;
5481
- webphoneLoginUser: string;
5482
- extensionId: string | null;
5483
- extensionName: string;
5484
- telephonySignature: string | null;
5485
- };
5486
- } | undefined;
5487
- } | undefined;
5488
5480
  };
5489
5481
  upload: {
5490
5482
  id: string;
@@ -5653,6 +5645,71 @@ export declare const lineContract: {
5653
5645
  imageSetId: string;
5654
5646
  room: {
5655
5647
  id: string;
5648
+ channel: {
5649
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5650
+ id: string;
5651
+ name: string;
5652
+ metadata: {
5653
+ id: string;
5654
+ name: string;
5655
+ accessToken: string;
5656
+ channelSecret?: string | undefined;
5657
+ additionalCredentials?: any;
5658
+ };
5659
+ status: boolean;
5660
+ createdAt: Date;
5661
+ updatedAt: Date;
5662
+ deletedAt: Date | null;
5663
+ actor: {
5664
+ id: string;
5665
+ address: string | null;
5666
+ name: string;
5667
+ email: string;
5668
+ createdAt: Date;
5669
+ updatedAt: Date;
5670
+ deletedAt: Date | null;
5671
+ emailVerifiedAt: Date | null;
5672
+ password: string;
5673
+ phone: string | null;
5674
+ notificationCount: number | null;
5675
+ roles: {
5676
+ id: string;
5677
+ description: string | null;
5678
+ createdAt: Date;
5679
+ updatedAt: Date;
5680
+ deletedAt: Date | null;
5681
+ systemName: string;
5682
+ displayName: string;
5683
+ permissions: {
5684
+ id: string;
5685
+ description: string | null;
5686
+ createdAt: Date;
5687
+ updatedAt: Date;
5688
+ deletedAt: Date | null;
5689
+ systemName: string;
5690
+ displayName: string;
5691
+ }[];
5692
+ }[];
5693
+ extension: {
5694
+ id: string;
5695
+ createdAt: Date;
5696
+ updatedAt: Date;
5697
+ deletedAt: Date | null;
5698
+ userId: string | null;
5699
+ sipServerUrl: string;
5700
+ sipUserName: string;
5701
+ webphoneLoginUser: string;
5702
+ extensionId: string | null;
5703
+ extensionName: string;
5704
+ telephonySignature: string | null;
5705
+ };
5706
+ };
5707
+ brandName: string;
5708
+ platformId: string;
5709
+ isReloginRequired: boolean;
5710
+ connectedUserName: string;
5711
+ connectedUserId: string;
5712
+ };
5656
5713
  direction: "incoming" | "outgoing" | "system";
5657
5714
  createdAt: Date;
5658
5715
  updatedAt: Date;
@@ -5867,7 +5924,6 @@ export declare const lineContract: {
5867
5924
  cxlog: {
5868
5925
  id: string;
5869
5926
  channel: string | null;
5870
- disposition: string | null;
5871
5927
  direction: string | null;
5872
5928
  createdAt: Date;
5873
5929
  updatedAt: Date;
@@ -5899,71 +5955,6 @@ export declare const lineContract: {
5899
5955
  callTo: string | null;
5900
5956
  } | null;
5901
5957
  };
5902
- channel?: {
5903
- id?: string | undefined;
5904
- createdAt?: Date | undefined;
5905
- updatedAt?: Date | undefined;
5906
- deletedAt?: Date | null | undefined;
5907
- name?: string | undefined;
5908
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5909
- metadata?: {
5910
- id: string;
5911
- name: string;
5912
- accessToken: string;
5913
- channelSecret?: string | undefined;
5914
- additionalCredentials?: any;
5915
- } | undefined;
5916
- brandName?: string | undefined;
5917
- platformId?: string | undefined;
5918
- status?: boolean | undefined;
5919
- isReloginRequired?: boolean | undefined;
5920
- connectedUserName?: string | undefined;
5921
- connectedUserId?: string | undefined;
5922
- actor?: {
5923
- id: string;
5924
- address: string | null;
5925
- name: string;
5926
- email: string;
5927
- createdAt: Date;
5928
- updatedAt: Date;
5929
- deletedAt: Date | null;
5930
- emailVerifiedAt: Date | null;
5931
- password: string;
5932
- phone: string | null;
5933
- notificationCount: number | null;
5934
- roles: {
5935
- id: string;
5936
- description: string | null;
5937
- createdAt: Date;
5938
- updatedAt: Date;
5939
- deletedAt: Date | null;
5940
- systemName: string;
5941
- displayName: string;
5942
- permissions: {
5943
- id: string;
5944
- description: string | null;
5945
- createdAt: Date;
5946
- updatedAt: Date;
5947
- deletedAt: Date | null;
5948
- systemName: string;
5949
- displayName: string;
5950
- }[];
5951
- }[];
5952
- extension: {
5953
- id: string;
5954
- createdAt: Date;
5955
- updatedAt: Date;
5956
- deletedAt: Date | null;
5957
- userId: string | null;
5958
- sipServerUrl: string;
5959
- sipUserName: string;
5960
- webphoneLoginUser: string;
5961
- extensionId: string | null;
5962
- extensionName: string;
5963
- telephonySignature: string | null;
5964
- };
5965
- } | undefined;
5966
- } | undefined;
5967
5958
  };
5968
5959
  upload: {
5969
5960
  id: string;