@kl1/contracts 1.0.74 → 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;
@@ -2840,6 +2840,71 @@ export declare const lineContract: {
2840
2840
  }>;
2841
2841
  }, "strip", z.ZodTypeAny, {
2842
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
+ };
2843
2908
  direction: "incoming" | "outgoing" | "system";
2844
2909
  createdAt: Date;
2845
2910
  updatedAt: Date;
@@ -3085,27 +3150,24 @@ export declare const lineContract: {
3085
3150
  callTo: string | null;
3086
3151
  } | null;
3087
3152
  };
3088
- channel?: {
3089
- id?: string | undefined;
3090
- createdAt?: Date | undefined;
3091
- updatedAt?: Date | undefined;
3092
- deletedAt?: Date | null | undefined;
3093
- name?: string | undefined;
3094
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3095
- 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: {
3096
3160
  id: string;
3097
3161
  name: string;
3098
3162
  accessToken: string;
3099
3163
  channelSecret?: string | undefined;
3100
3164
  additionalCredentials?: any;
3101
- } | undefined;
3102
- brandName?: string | undefined;
3103
- platformId?: string | undefined;
3104
- status?: boolean | undefined;
3105
- isReloginRequired?: boolean | undefined;
3106
- connectedUserName?: string | undefined;
3107
- connectedUserId?: string | undefined;
3108
- actor?: {
3165
+ };
3166
+ status: boolean;
3167
+ createdAt: Date;
3168
+ updatedAt: Date;
3169
+ deletedAt: Date | null;
3170
+ actor: {
3109
3171
  id: string;
3110
3172
  address: string | null;
3111
3173
  name: string;
@@ -3148,10 +3210,13 @@ export declare const lineContract: {
3148
3210
  extensionName: string;
3149
3211
  telephonySignature: string | null;
3150
3212
  };
3151
- } | undefined;
3152
- } | undefined;
3153
- }, {
3154
- id: string;
3213
+ };
3214
+ brandName: string;
3215
+ platformId: string;
3216
+ isReloginRequired: boolean;
3217
+ connectedUserName: string;
3218
+ connectedUserId: string;
3219
+ };
3155
3220
  direction: "incoming" | "outgoing" | "system";
3156
3221
  createdAt: Date;
3157
3222
  updatedAt: Date;
@@ -3397,71 +3462,6 @@ export declare const lineContract: {
3397
3462
  callTo: string | null;
3398
3463
  } | null;
3399
3464
  };
3400
- channel?: {
3401
- id?: string | undefined;
3402
- createdAt?: Date | undefined;
3403
- updatedAt?: Date | undefined;
3404
- deletedAt?: Date | null | undefined;
3405
- name?: string | undefined;
3406
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3407
- metadata?: {
3408
- id: string;
3409
- name: string;
3410
- accessToken: string;
3411
- channelSecret?: string | undefined;
3412
- additionalCredentials?: any;
3413
- } | undefined;
3414
- brandName?: string | undefined;
3415
- platformId?: string | undefined;
3416
- status?: boolean | undefined;
3417
- isReloginRequired?: boolean | undefined;
3418
- connectedUserName?: string | undefined;
3419
- connectedUserId?: string | undefined;
3420
- actor?: {
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
- } | undefined;
3464
- } | undefined;
3465
3465
  }>;
3466
3466
  upload: z.ZodObject<{
3467
3467
  id: z.ZodString;
@@ -4215,6 +4215,71 @@ export declare const lineContract: {
4215
4215
  imageSetId: string;
4216
4216
  room: {
4217
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
+ };
4218
4283
  direction: "incoming" | "outgoing" | "system";
4219
4284
  createdAt: Date;
4220
4285
  updatedAt: Date;
@@ -4460,71 +4525,6 @@ export declare const lineContract: {
4460
4525
  callTo: string | null;
4461
4526
  } | null;
4462
4527
  };
4463
- channel?: {
4464
- id?: string | undefined;
4465
- createdAt?: Date | undefined;
4466
- updatedAt?: Date | undefined;
4467
- deletedAt?: Date | null | undefined;
4468
- name?: string | undefined;
4469
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4470
- metadata?: {
4471
- id: string;
4472
- name: string;
4473
- accessToken: string;
4474
- channelSecret?: string | undefined;
4475
- additionalCredentials?: any;
4476
- } | undefined;
4477
- brandName?: string | undefined;
4478
- platformId?: string | undefined;
4479
- status?: boolean | undefined;
4480
- isReloginRequired?: boolean | undefined;
4481
- connectedUserName?: string | undefined;
4482
- connectedUserId?: string | undefined;
4483
- actor?: {
4484
- id: string;
4485
- address: string | null;
4486
- name: string;
4487
- email: string;
4488
- createdAt: Date;
4489
- updatedAt: Date;
4490
- deletedAt: Date | null;
4491
- emailVerifiedAt: Date | null;
4492
- password: string;
4493
- phone: string | null;
4494
- notificationCount: number | null;
4495
- roles: {
4496
- id: string;
4497
- description: string | null;
4498
- createdAt: Date;
4499
- updatedAt: Date;
4500
- deletedAt: Date | null;
4501
- systemName: string;
4502
- displayName: string;
4503
- permissions: {
4504
- id: string;
4505
- description: string | null;
4506
- createdAt: Date;
4507
- updatedAt: Date;
4508
- deletedAt: Date | null;
4509
- systemName: string;
4510
- displayName: string;
4511
- }[];
4512
- }[];
4513
- extension: {
4514
- id: string;
4515
- createdAt: Date;
4516
- updatedAt: Date;
4517
- deletedAt: Date | null;
4518
- userId: string | null;
4519
- sipServerUrl: string;
4520
- sipUserName: string;
4521
- webphoneLoginUser: string;
4522
- extensionId: string | null;
4523
- extensionName: string;
4524
- telephonySignature: string | null;
4525
- };
4526
- } | undefined;
4527
- } | undefined;
4528
4528
  };
4529
4529
  upload: {
4530
4530
  id: string;
@@ -4690,10 +4690,75 @@ export declare const lineContract: {
4690
4690
  imageSetId: string;
4691
4691
  room: {
4692
4692
  id: string;
4693
- direction: "incoming" | "outgoing" | "system";
4694
- createdAt: Date;
4695
- updatedAt: Date;
4696
- 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;
4697
4762
  actor: {
4698
4763
  id: string;
4699
4764
  address: string | null;
@@ -4935,71 +5000,6 @@ export declare const lineContract: {
4935
5000
  callTo: string | null;
4936
5001
  } | null;
4937
5002
  };
4938
- channel?: {
4939
- id?: string | undefined;
4940
- createdAt?: Date | undefined;
4941
- updatedAt?: Date | undefined;
4942
- deletedAt?: Date | null | undefined;
4943
- name?: string | undefined;
4944
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4945
- metadata?: {
4946
- id: string;
4947
- name: string;
4948
- accessToken: string;
4949
- channelSecret?: string | undefined;
4950
- additionalCredentials?: any;
4951
- } | undefined;
4952
- brandName?: string | undefined;
4953
- platformId?: string | undefined;
4954
- status?: boolean | undefined;
4955
- isReloginRequired?: boolean | undefined;
4956
- connectedUserName?: string | undefined;
4957
- connectedUserId?: string | undefined;
4958
- actor?: {
4959
- id: string;
4960
- address: string | null;
4961
- name: string;
4962
- email: string;
4963
- createdAt: Date;
4964
- updatedAt: Date;
4965
- deletedAt: Date | null;
4966
- emailVerifiedAt: Date | null;
4967
- password: string;
4968
- phone: string | null;
4969
- notificationCount: number | null;
4970
- roles: {
4971
- id: string;
4972
- description: string | null;
4973
- createdAt: Date;
4974
- updatedAt: Date;
4975
- deletedAt: Date | null;
4976
- systemName: string;
4977
- displayName: string;
4978
- permissions: {
4979
- id: string;
4980
- description: string | null;
4981
- createdAt: Date;
4982
- updatedAt: Date;
4983
- deletedAt: Date | null;
4984
- systemName: string;
4985
- displayName: string;
4986
- }[];
4987
- }[];
4988
- extension: {
4989
- id: string;
4990
- createdAt: Date;
4991
- updatedAt: Date;
4992
- deletedAt: Date | null;
4993
- userId: string | null;
4994
- sipServerUrl: string;
4995
- sipUserName: string;
4996
- webphoneLoginUser: string;
4997
- extensionId: string | null;
4998
- extensionName: string;
4999
- telephonySignature: string | null;
5000
- };
5001
- } | undefined;
5002
- } | undefined;
5003
5003
  };
5004
5004
  upload: {
5005
5005
  id: string;
@@ -5167,6 +5167,71 @@ export declare const lineContract: {
5167
5167
  imageSetId: string;
5168
5168
  room: {
5169
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
+ };
5170
5235
  direction: "incoming" | "outgoing" | "system";
5171
5236
  createdAt: Date;
5172
5237
  updatedAt: Date;
@@ -5412,71 +5477,6 @@ export declare const lineContract: {
5412
5477
  callTo: string | null;
5413
5478
  } | null;
5414
5479
  };
5415
- channel?: {
5416
- id?: string | undefined;
5417
- createdAt?: Date | undefined;
5418
- updatedAt?: Date | undefined;
5419
- deletedAt?: Date | null | undefined;
5420
- name?: string | undefined;
5421
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5422
- metadata?: {
5423
- id: string;
5424
- name: string;
5425
- accessToken: string;
5426
- channelSecret?: string | undefined;
5427
- additionalCredentials?: any;
5428
- } | undefined;
5429
- brandName?: string | undefined;
5430
- platformId?: string | undefined;
5431
- status?: boolean | undefined;
5432
- isReloginRequired?: boolean | undefined;
5433
- connectedUserName?: string | undefined;
5434
- connectedUserId?: string | undefined;
5435
- actor?: {
5436
- id: string;
5437
- address: string | null;
5438
- name: string;
5439
- email: string;
5440
- createdAt: Date;
5441
- updatedAt: Date;
5442
- deletedAt: Date | null;
5443
- emailVerifiedAt: Date | null;
5444
- password: string;
5445
- phone: string | null;
5446
- notificationCount: number | null;
5447
- roles: {
5448
- id: string;
5449
- description: string | null;
5450
- createdAt: Date;
5451
- updatedAt: Date;
5452
- deletedAt: Date | null;
5453
- systemName: string;
5454
- displayName: string;
5455
- permissions: {
5456
- id: string;
5457
- description: string | null;
5458
- createdAt: Date;
5459
- updatedAt: Date;
5460
- deletedAt: Date | null;
5461
- systemName: string;
5462
- displayName: string;
5463
- }[];
5464
- }[];
5465
- extension: {
5466
- id: string;
5467
- createdAt: Date;
5468
- updatedAt: Date;
5469
- deletedAt: Date | null;
5470
- userId: string | null;
5471
- sipServerUrl: string;
5472
- sipUserName: string;
5473
- webphoneLoginUser: string;
5474
- extensionId: string | null;
5475
- extensionName: string;
5476
- telephonySignature: string | null;
5477
- };
5478
- } | undefined;
5479
- } | undefined;
5480
5480
  };
5481
5481
  upload: {
5482
5482
  id: string;
@@ -5645,6 +5645,71 @@ export declare const lineContract: {
5645
5645
  imageSetId: string;
5646
5646
  room: {
5647
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
+ };
5648
5713
  direction: "incoming" | "outgoing" | "system";
5649
5714
  createdAt: Date;
5650
5715
  updatedAt: Date;
@@ -5890,71 +5955,6 @@ export declare const lineContract: {
5890
5955
  callTo: string | null;
5891
5956
  } | null;
5892
5957
  };
5893
- channel?: {
5894
- id?: string | undefined;
5895
- createdAt?: Date | undefined;
5896
- updatedAt?: Date | undefined;
5897
- deletedAt?: Date | null | undefined;
5898
- name?: string | undefined;
5899
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5900
- metadata?: {
5901
- id: string;
5902
- name: string;
5903
- accessToken: string;
5904
- channelSecret?: string | undefined;
5905
- additionalCredentials?: any;
5906
- } | undefined;
5907
- brandName?: string | undefined;
5908
- platformId?: string | undefined;
5909
- status?: boolean | undefined;
5910
- isReloginRequired?: boolean | undefined;
5911
- connectedUserName?: string | undefined;
5912
- connectedUserId?: string | undefined;
5913
- actor?: {
5914
- id: string;
5915
- address: string | null;
5916
- name: string;
5917
- email: string;
5918
- createdAt: Date;
5919
- updatedAt: Date;
5920
- deletedAt: Date | null;
5921
- emailVerifiedAt: Date | null;
5922
- password: string;
5923
- phone: string | null;
5924
- notificationCount: number | null;
5925
- roles: {
5926
- id: string;
5927
- description: string | null;
5928
- createdAt: Date;
5929
- updatedAt: Date;
5930
- deletedAt: Date | null;
5931
- systemName: string;
5932
- displayName: string;
5933
- permissions: {
5934
- id: string;
5935
- description: string | null;
5936
- createdAt: Date;
5937
- updatedAt: Date;
5938
- deletedAt: Date | null;
5939
- systemName: string;
5940
- displayName: string;
5941
- }[];
5942
- }[];
5943
- extension: {
5944
- id: string;
5945
- createdAt: Date;
5946
- updatedAt: Date;
5947
- deletedAt: Date | null;
5948
- userId: string | null;
5949
- sipServerUrl: string;
5950
- sipUserName: string;
5951
- webphoneLoginUser: string;
5952
- extensionId: string | null;
5953
- extensionName: string;
5954
- telephonySignature: string | null;
5955
- };
5956
- } | undefined;
5957
- } | undefined;
5958
5958
  };
5959
5959
  upload: {
5960
5960
  id: string;