@kl1/contracts 1.0.74 → 1.0.76

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.
@@ -1949,14 +1949,14 @@ export declare const messengerContract: {
1949
1949
  telephonySignature: string | null;
1950
1950
  };
1951
1951
  }>;
1952
- channel: z.ZodOptional<z.ZodObject<{
1953
- id: z.ZodOptional<z.ZodString>;
1954
- createdAt: z.ZodOptional<z.ZodDate>;
1955
- updatedAt: z.ZodOptional<z.ZodDate>;
1956
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1957
- name: z.ZodOptional<z.ZodString>;
1958
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
1959
- metadata: z.ZodOptional<z.ZodObject<{
1952
+ channel: z.ZodObject<{
1953
+ id: z.ZodString;
1954
+ createdAt: z.ZodDate;
1955
+ updatedAt: z.ZodDate;
1956
+ deletedAt: z.ZodNullable<z.ZodDate>;
1957
+ name: z.ZodString;
1958
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
1959
+ metadata: z.ZodObject<{
1960
1960
  id: z.ZodString;
1961
1961
  name: z.ZodString;
1962
1962
  accessToken: z.ZodString;
@@ -1974,14 +1974,14 @@ export declare const messengerContract: {
1974
1974
  accessToken: string;
1975
1975
  channelSecret?: string | undefined;
1976
1976
  additionalCredentials?: any;
1977
- }>>;
1978
- brandName: z.ZodOptional<z.ZodString>;
1979
- platformId: z.ZodOptional<z.ZodString>;
1980
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
1981
- isReloginRequired: z.ZodOptional<z.ZodBoolean>;
1982
- connectedUserName: z.ZodOptional<z.ZodString>;
1983
- connectedUserId: z.ZodOptional<z.ZodString>;
1984
- actor: z.ZodOptional<z.ZodObject<{
1977
+ }>;
1978
+ brandName: z.ZodString;
1979
+ platformId: z.ZodString;
1980
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
1981
+ isReloginRequired: z.ZodBoolean;
1982
+ connectedUserName: z.ZodString;
1983
+ connectedUserId: z.ZodString;
1984
+ actor: z.ZodObject<{
1985
1985
  id: z.ZodString;
1986
1986
  createdAt: z.ZodDate;
1987
1987
  updatedAt: z.ZodDate;
@@ -2184,28 +2184,23 @@ export declare const messengerContract: {
2184
2184
  extensionName: string;
2185
2185
  telephonySignature: string | null;
2186
2186
  };
2187
- }>>;
2187
+ }>;
2188
2188
  }, "strip", z.ZodTypeAny, {
2189
- id?: string | undefined;
2190
- createdAt?: Date | undefined;
2191
- updatedAt?: Date | undefined;
2192
- deletedAt?: Date | null | undefined;
2193
- name?: string | undefined;
2194
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2195
- metadata?: {
2189
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2190
+ id: string;
2191
+ name: string;
2192
+ metadata: {
2196
2193
  id: string;
2197
2194
  name: string;
2198
2195
  accessToken: string;
2199
2196
  channelSecret?: string | undefined;
2200
2197
  additionalCredentials?: any;
2201
- } | undefined;
2202
- brandName?: string | undefined;
2203
- platformId?: string | undefined;
2204
- status?: boolean | undefined;
2205
- isReloginRequired?: boolean | undefined;
2206
- connectedUserName?: string | undefined;
2207
- connectedUserId?: string | undefined;
2208
- actor?: {
2198
+ };
2199
+ status: boolean;
2200
+ createdAt: Date;
2201
+ updatedAt: Date;
2202
+ deletedAt: Date | null;
2203
+ actor: {
2209
2204
  id: string;
2210
2205
  address: string | null;
2211
2206
  name: string;
@@ -2248,28 +2243,28 @@ export declare const messengerContract: {
2248
2243
  extensionName: string;
2249
2244
  telephonySignature: string | null;
2250
2245
  };
2251
- } | undefined;
2246
+ };
2247
+ brandName: string;
2248
+ platformId: string;
2249
+ isReloginRequired: boolean;
2250
+ connectedUserName: string;
2251
+ connectedUserId: string;
2252
2252
  }, {
2253
- id?: string | undefined;
2254
- createdAt?: Date | undefined;
2255
- updatedAt?: Date | undefined;
2256
- deletedAt?: Date | null | undefined;
2257
- name?: string | undefined;
2258
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2259
- metadata?: {
2253
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2254
+ id: string;
2255
+ name: string;
2256
+ metadata: {
2260
2257
  id: string;
2261
2258
  name: string;
2262
2259
  accessToken: string;
2263
2260
  channelSecret?: string | undefined;
2264
2261
  additionalCredentials?: any;
2265
- } | undefined;
2266
- brandName?: string | undefined;
2267
- platformId?: string | undefined;
2268
- status?: boolean | undefined;
2269
- isReloginRequired?: boolean | undefined;
2270
- connectedUserName?: string | undefined;
2271
- connectedUserId?: string | undefined;
2272
- actor?: {
2262
+ };
2263
+ status: boolean;
2264
+ createdAt: Date;
2265
+ updatedAt: Date;
2266
+ deletedAt: Date | null;
2267
+ actor: {
2273
2268
  id: string;
2274
2269
  address: string | null;
2275
2270
  name: string;
@@ -2312,8 +2307,13 @@ export declare const messengerContract: {
2312
2307
  extensionName: string;
2313
2308
  telephonySignature: string | null;
2314
2309
  };
2315
- } | undefined;
2316
- }>>;
2310
+ };
2311
+ brandName: string;
2312
+ platformId: string;
2313
+ isReloginRequired: boolean;
2314
+ connectedUserName: string;
2315
+ connectedUserId: string;
2316
+ }>;
2317
2317
  cxlog: z.ZodObject<{
2318
2318
  id: z.ZodString;
2319
2319
  createdAt: z.ZodDate;
@@ -2460,6 +2460,71 @@ export declare const messengerContract: {
2460
2460
  }>;
2461
2461
  }, "strip", z.ZodTypeAny, {
2462
2462
  id: string;
2463
+ channel: {
2464
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2465
+ id: string;
2466
+ name: string;
2467
+ metadata: {
2468
+ id: string;
2469
+ name: string;
2470
+ accessToken: string;
2471
+ channelSecret?: string | undefined;
2472
+ additionalCredentials?: any;
2473
+ };
2474
+ status: boolean;
2475
+ createdAt: Date;
2476
+ updatedAt: Date;
2477
+ deletedAt: Date | null;
2478
+ actor: {
2479
+ id: string;
2480
+ address: string | null;
2481
+ name: string;
2482
+ email: string;
2483
+ createdAt: Date;
2484
+ updatedAt: Date;
2485
+ deletedAt: Date | null;
2486
+ emailVerifiedAt: Date | null;
2487
+ password: string;
2488
+ phone: string | null;
2489
+ notificationCount: number | null;
2490
+ roles: {
2491
+ id: string;
2492
+ description: string | null;
2493
+ createdAt: Date;
2494
+ updatedAt: Date;
2495
+ deletedAt: Date | null;
2496
+ systemName: string;
2497
+ displayName: string;
2498
+ permissions: {
2499
+ id: string;
2500
+ description: string | null;
2501
+ createdAt: Date;
2502
+ updatedAt: Date;
2503
+ deletedAt: Date | null;
2504
+ systemName: string;
2505
+ displayName: string;
2506
+ }[];
2507
+ }[];
2508
+ extension: {
2509
+ id: string;
2510
+ createdAt: Date;
2511
+ updatedAt: Date;
2512
+ deletedAt: Date | null;
2513
+ userId: string | null;
2514
+ sipServerUrl: string;
2515
+ sipUserName: string;
2516
+ webphoneLoginUser: string;
2517
+ extensionId: string | null;
2518
+ extensionName: string;
2519
+ telephonySignature: string | null;
2520
+ };
2521
+ };
2522
+ brandName: string;
2523
+ platformId: string;
2524
+ isReloginRequired: boolean;
2525
+ connectedUserName: string;
2526
+ connectedUserId: string;
2527
+ };
2463
2528
  direction: "incoming" | "outgoing" | "system";
2464
2529
  createdAt: Date;
2465
2530
  updatedAt: Date;
@@ -2705,27 +2770,24 @@ export declare const messengerContract: {
2705
2770
  callTo: string | null;
2706
2771
  } | null;
2707
2772
  };
2708
- channel?: {
2709
- id?: string | undefined;
2710
- createdAt?: Date | undefined;
2711
- updatedAt?: Date | undefined;
2712
- deletedAt?: Date | null | undefined;
2713
- name?: string | undefined;
2714
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2715
- metadata?: {
2773
+ }, {
2774
+ id: string;
2775
+ channel: {
2776
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2777
+ id: string;
2778
+ name: string;
2779
+ metadata: {
2716
2780
  id: string;
2717
2781
  name: string;
2718
2782
  accessToken: string;
2719
2783
  channelSecret?: string | undefined;
2720
2784
  additionalCredentials?: any;
2721
- } | undefined;
2722
- brandName?: string | undefined;
2723
- platformId?: string | undefined;
2724
- status?: boolean | undefined;
2725
- isReloginRequired?: boolean | undefined;
2726
- connectedUserName?: string | undefined;
2727
- connectedUserId?: string | undefined;
2728
- actor?: {
2785
+ };
2786
+ status: boolean;
2787
+ createdAt: Date;
2788
+ updatedAt: Date;
2789
+ deletedAt: Date | null;
2790
+ actor: {
2729
2791
  id: string;
2730
2792
  address: string | null;
2731
2793
  name: string;
@@ -2768,10 +2830,13 @@ export declare const messengerContract: {
2768
2830
  extensionName: string;
2769
2831
  telephonySignature: string | null;
2770
2832
  };
2771
- } | undefined;
2772
- } | undefined;
2773
- }, {
2774
- id: string;
2833
+ };
2834
+ brandName: string;
2835
+ platformId: string;
2836
+ isReloginRequired: boolean;
2837
+ connectedUserName: string;
2838
+ connectedUserId: string;
2839
+ };
2775
2840
  direction: "incoming" | "outgoing" | "system";
2776
2841
  createdAt: Date;
2777
2842
  updatedAt: Date;
@@ -3017,71 +3082,6 @@ export declare const messengerContract: {
3017
3082
  callTo: string | null;
3018
3083
  } | null;
3019
3084
  };
3020
- channel?: {
3021
- id?: string | undefined;
3022
- createdAt?: Date | undefined;
3023
- updatedAt?: Date | undefined;
3024
- deletedAt?: Date | null | undefined;
3025
- name?: string | undefined;
3026
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3027
- metadata?: {
3028
- id: string;
3029
- name: string;
3030
- accessToken: string;
3031
- channelSecret?: string | undefined;
3032
- additionalCredentials?: any;
3033
- } | undefined;
3034
- brandName?: string | undefined;
3035
- platformId?: string | undefined;
3036
- status?: boolean | undefined;
3037
- isReloginRequired?: boolean | undefined;
3038
- connectedUserName?: string | undefined;
3039
- connectedUserId?: string | undefined;
3040
- actor?: {
3041
- id: string;
3042
- address: string | null;
3043
- name: string;
3044
- email: string;
3045
- createdAt: Date;
3046
- updatedAt: Date;
3047
- deletedAt: Date | null;
3048
- emailVerifiedAt: Date | null;
3049
- password: string;
3050
- phone: string | null;
3051
- notificationCount: number | null;
3052
- roles: {
3053
- id: string;
3054
- description: string | null;
3055
- createdAt: Date;
3056
- updatedAt: Date;
3057
- deletedAt: Date | null;
3058
- systemName: string;
3059
- displayName: string;
3060
- permissions: {
3061
- id: string;
3062
- description: string | null;
3063
- createdAt: Date;
3064
- updatedAt: Date;
3065
- deletedAt: Date | null;
3066
- systemName: string;
3067
- displayName: string;
3068
- }[];
3069
- }[];
3070
- extension: {
3071
- id: string;
3072
- createdAt: Date;
3073
- updatedAt: Date;
3074
- deletedAt: Date | null;
3075
- userId: string | null;
3076
- sipServerUrl: string;
3077
- sipUserName: string;
3078
- webphoneLoginUser: string;
3079
- extensionId: string | null;
3080
- extensionName: string;
3081
- telephonySignature: string | null;
3082
- };
3083
- } | undefined;
3084
- } | undefined;
3085
3085
  }>;
3086
3086
  upload: z.ZodObject<{
3087
3087
  id: z.ZodString;
@@ -3835,6 +3835,71 @@ export declare const messengerContract: {
3835
3835
  imageSetId: string;
3836
3836
  room: {
3837
3837
  id: string;
3838
+ channel: {
3839
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
3840
+ id: string;
3841
+ name: string;
3842
+ metadata: {
3843
+ id: string;
3844
+ name: string;
3845
+ accessToken: string;
3846
+ channelSecret?: string | undefined;
3847
+ additionalCredentials?: any;
3848
+ };
3849
+ status: boolean;
3850
+ createdAt: Date;
3851
+ updatedAt: Date;
3852
+ deletedAt: Date | null;
3853
+ actor: {
3854
+ id: string;
3855
+ address: string | null;
3856
+ name: string;
3857
+ email: string;
3858
+ createdAt: Date;
3859
+ updatedAt: Date;
3860
+ deletedAt: Date | null;
3861
+ emailVerifiedAt: Date | null;
3862
+ password: string;
3863
+ phone: string | null;
3864
+ notificationCount: number | null;
3865
+ roles: {
3866
+ id: string;
3867
+ description: string | null;
3868
+ createdAt: Date;
3869
+ updatedAt: Date;
3870
+ deletedAt: Date | null;
3871
+ systemName: string;
3872
+ displayName: string;
3873
+ permissions: {
3874
+ id: string;
3875
+ description: string | null;
3876
+ createdAt: Date;
3877
+ updatedAt: Date;
3878
+ deletedAt: Date | null;
3879
+ systemName: string;
3880
+ displayName: string;
3881
+ }[];
3882
+ }[];
3883
+ extension: {
3884
+ id: string;
3885
+ createdAt: Date;
3886
+ updatedAt: Date;
3887
+ deletedAt: Date | null;
3888
+ userId: string | null;
3889
+ sipServerUrl: string;
3890
+ sipUserName: string;
3891
+ webphoneLoginUser: string;
3892
+ extensionId: string | null;
3893
+ extensionName: string;
3894
+ telephonySignature: string | null;
3895
+ };
3896
+ };
3897
+ brandName: string;
3898
+ platformId: string;
3899
+ isReloginRequired: boolean;
3900
+ connectedUserName: string;
3901
+ connectedUserId: string;
3902
+ };
3838
3903
  direction: "incoming" | "outgoing" | "system";
3839
3904
  createdAt: Date;
3840
3905
  updatedAt: Date;
@@ -4080,71 +4145,6 @@ export declare const messengerContract: {
4080
4145
  callTo: string | null;
4081
4146
  } | null;
4082
4147
  };
4083
- channel?: {
4084
- id?: string | undefined;
4085
- createdAt?: Date | undefined;
4086
- updatedAt?: Date | undefined;
4087
- deletedAt?: Date | null | undefined;
4088
- name?: string | undefined;
4089
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4090
- metadata?: {
4091
- id: string;
4092
- name: string;
4093
- accessToken: string;
4094
- channelSecret?: string | undefined;
4095
- additionalCredentials?: any;
4096
- } | undefined;
4097
- brandName?: string | undefined;
4098
- platformId?: string | undefined;
4099
- status?: boolean | undefined;
4100
- isReloginRequired?: boolean | undefined;
4101
- connectedUserName?: string | undefined;
4102
- connectedUserId?: string | undefined;
4103
- actor?: {
4104
- id: string;
4105
- address: string | null;
4106
- name: string;
4107
- email: string;
4108
- createdAt: Date;
4109
- updatedAt: Date;
4110
- deletedAt: Date | null;
4111
- emailVerifiedAt: Date | null;
4112
- password: string;
4113
- phone: string | null;
4114
- notificationCount: number | null;
4115
- roles: {
4116
- id: string;
4117
- description: string | null;
4118
- createdAt: Date;
4119
- updatedAt: Date;
4120
- deletedAt: Date | null;
4121
- systemName: string;
4122
- displayName: string;
4123
- permissions: {
4124
- id: string;
4125
- description: string | null;
4126
- createdAt: Date;
4127
- updatedAt: Date;
4128
- deletedAt: Date | null;
4129
- systemName: string;
4130
- displayName: string;
4131
- }[];
4132
- }[];
4133
- extension: {
4134
- id: string;
4135
- createdAt: Date;
4136
- updatedAt: Date;
4137
- deletedAt: Date | null;
4138
- userId: string | null;
4139
- sipServerUrl: string;
4140
- sipUserName: string;
4141
- webphoneLoginUser: string;
4142
- extensionId: string | null;
4143
- extensionName: string;
4144
- telephonySignature: string | null;
4145
- };
4146
- } | undefined;
4147
- } | undefined;
4148
4148
  };
4149
4149
  upload: {
4150
4150
  id: string;
@@ -4310,10 +4310,75 @@ export declare const messengerContract: {
4310
4310
  imageSetId: string;
4311
4311
  room: {
4312
4312
  id: string;
4313
- direction: "incoming" | "outgoing" | "system";
4314
- createdAt: Date;
4315
- updatedAt: Date;
4316
- deletedAt: Date | null;
4313
+ channel: {
4314
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
4315
+ id: string;
4316
+ name: string;
4317
+ metadata: {
4318
+ id: string;
4319
+ name: string;
4320
+ accessToken: string;
4321
+ channelSecret?: string | undefined;
4322
+ additionalCredentials?: any;
4323
+ };
4324
+ status: boolean;
4325
+ createdAt: Date;
4326
+ updatedAt: Date;
4327
+ deletedAt: Date | null;
4328
+ actor: {
4329
+ id: string;
4330
+ address: string | null;
4331
+ name: string;
4332
+ email: string;
4333
+ createdAt: Date;
4334
+ updatedAt: Date;
4335
+ deletedAt: Date | null;
4336
+ emailVerifiedAt: Date | null;
4337
+ password: string;
4338
+ phone: string | null;
4339
+ notificationCount: number | null;
4340
+ roles: {
4341
+ id: string;
4342
+ description: string | null;
4343
+ createdAt: Date;
4344
+ updatedAt: Date;
4345
+ deletedAt: Date | null;
4346
+ systemName: string;
4347
+ displayName: string;
4348
+ permissions: {
4349
+ id: string;
4350
+ description: string | null;
4351
+ createdAt: Date;
4352
+ updatedAt: Date;
4353
+ deletedAt: Date | null;
4354
+ systemName: string;
4355
+ displayName: string;
4356
+ }[];
4357
+ }[];
4358
+ extension: {
4359
+ id: string;
4360
+ createdAt: Date;
4361
+ updatedAt: Date;
4362
+ deletedAt: Date | null;
4363
+ userId: string | null;
4364
+ sipServerUrl: string;
4365
+ sipUserName: string;
4366
+ webphoneLoginUser: string;
4367
+ extensionId: string | null;
4368
+ extensionName: string;
4369
+ telephonySignature: string | null;
4370
+ };
4371
+ };
4372
+ brandName: string;
4373
+ platformId: string;
4374
+ isReloginRequired: boolean;
4375
+ connectedUserName: string;
4376
+ connectedUserId: string;
4377
+ };
4378
+ direction: "incoming" | "outgoing" | "system";
4379
+ createdAt: Date;
4380
+ updatedAt: Date;
4381
+ deletedAt: Date | null;
4317
4382
  actor: {
4318
4383
  id: string;
4319
4384
  address: string | null;
@@ -4555,71 +4620,6 @@ export declare const messengerContract: {
4555
4620
  callTo: string | null;
4556
4621
  } | null;
4557
4622
  };
4558
- channel?: {
4559
- id?: string | undefined;
4560
- createdAt?: Date | undefined;
4561
- updatedAt?: Date | undefined;
4562
- deletedAt?: Date | null | undefined;
4563
- name?: string | undefined;
4564
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4565
- metadata?: {
4566
- id: string;
4567
- name: string;
4568
- accessToken: string;
4569
- channelSecret?: string | undefined;
4570
- additionalCredentials?: any;
4571
- } | undefined;
4572
- brandName?: string | undefined;
4573
- platformId?: string | undefined;
4574
- status?: boolean | undefined;
4575
- isReloginRequired?: boolean | undefined;
4576
- connectedUserName?: string | undefined;
4577
- connectedUserId?: string | undefined;
4578
- actor?: {
4579
- id: string;
4580
- address: string | null;
4581
- name: string;
4582
- email: string;
4583
- createdAt: Date;
4584
- updatedAt: Date;
4585
- deletedAt: Date | null;
4586
- emailVerifiedAt: Date | null;
4587
- password: string;
4588
- phone: string | null;
4589
- notificationCount: number | null;
4590
- roles: {
4591
- id: string;
4592
- description: string | null;
4593
- createdAt: Date;
4594
- updatedAt: Date;
4595
- deletedAt: Date | null;
4596
- systemName: string;
4597
- displayName: string;
4598
- permissions: {
4599
- id: string;
4600
- description: string | null;
4601
- createdAt: Date;
4602
- updatedAt: Date;
4603
- deletedAt: Date | null;
4604
- systemName: string;
4605
- displayName: string;
4606
- }[];
4607
- }[];
4608
- extension: {
4609
- id: string;
4610
- createdAt: Date;
4611
- updatedAt: Date;
4612
- deletedAt: Date | null;
4613
- userId: string | null;
4614
- sipServerUrl: string;
4615
- sipUserName: string;
4616
- webphoneLoginUser: string;
4617
- extensionId: string | null;
4618
- extensionName: string;
4619
- telephonySignature: string | null;
4620
- };
4621
- } | undefined;
4622
- } | undefined;
4623
4623
  };
4624
4624
  upload: {
4625
4625
  id: string;
@@ -4787,6 +4787,71 @@ export declare const messengerContract: {
4787
4787
  imageSetId: string;
4788
4788
  room: {
4789
4789
  id: string;
4790
+ channel: {
4791
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
4792
+ id: string;
4793
+ name: string;
4794
+ metadata: {
4795
+ id: string;
4796
+ name: string;
4797
+ accessToken: string;
4798
+ channelSecret?: string | undefined;
4799
+ additionalCredentials?: any;
4800
+ };
4801
+ status: boolean;
4802
+ createdAt: Date;
4803
+ updatedAt: Date;
4804
+ deletedAt: Date | null;
4805
+ actor: {
4806
+ id: string;
4807
+ address: string | null;
4808
+ name: string;
4809
+ email: string;
4810
+ createdAt: Date;
4811
+ updatedAt: Date;
4812
+ deletedAt: Date | null;
4813
+ emailVerifiedAt: Date | null;
4814
+ password: string;
4815
+ phone: string | null;
4816
+ notificationCount: number | null;
4817
+ roles: {
4818
+ id: string;
4819
+ description: string | null;
4820
+ createdAt: Date;
4821
+ updatedAt: Date;
4822
+ deletedAt: Date | null;
4823
+ systemName: string;
4824
+ displayName: string;
4825
+ permissions: {
4826
+ id: string;
4827
+ description: string | null;
4828
+ createdAt: Date;
4829
+ updatedAt: Date;
4830
+ deletedAt: Date | null;
4831
+ systemName: string;
4832
+ displayName: string;
4833
+ }[];
4834
+ }[];
4835
+ extension: {
4836
+ id: string;
4837
+ createdAt: Date;
4838
+ updatedAt: Date;
4839
+ deletedAt: Date | null;
4840
+ userId: string | null;
4841
+ sipServerUrl: string;
4842
+ sipUserName: string;
4843
+ webphoneLoginUser: string;
4844
+ extensionId: string | null;
4845
+ extensionName: string;
4846
+ telephonySignature: string | null;
4847
+ };
4848
+ };
4849
+ brandName: string;
4850
+ platformId: string;
4851
+ isReloginRequired: boolean;
4852
+ connectedUserName: string;
4853
+ connectedUserId: string;
4854
+ };
4790
4855
  direction: "incoming" | "outgoing" | "system";
4791
4856
  createdAt: Date;
4792
4857
  updatedAt: Date;
@@ -5032,71 +5097,6 @@ export declare const messengerContract: {
5032
5097
  callTo: string | null;
5033
5098
  } | null;
5034
5099
  };
5035
- channel?: {
5036
- id?: string | undefined;
5037
- createdAt?: Date | undefined;
5038
- updatedAt?: Date | undefined;
5039
- deletedAt?: Date | null | undefined;
5040
- name?: string | undefined;
5041
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5042
- metadata?: {
5043
- id: string;
5044
- name: string;
5045
- accessToken: string;
5046
- channelSecret?: string | undefined;
5047
- additionalCredentials?: any;
5048
- } | undefined;
5049
- brandName?: string | undefined;
5050
- platformId?: string | undefined;
5051
- status?: boolean | undefined;
5052
- isReloginRequired?: boolean | undefined;
5053
- connectedUserName?: string | undefined;
5054
- connectedUserId?: string | undefined;
5055
- actor?: {
5056
- id: string;
5057
- address: string | null;
5058
- name: string;
5059
- email: string;
5060
- createdAt: Date;
5061
- updatedAt: Date;
5062
- deletedAt: Date | null;
5063
- emailVerifiedAt: Date | null;
5064
- password: string;
5065
- phone: string | null;
5066
- notificationCount: number | null;
5067
- roles: {
5068
- id: string;
5069
- description: string | null;
5070
- createdAt: Date;
5071
- updatedAt: Date;
5072
- deletedAt: Date | null;
5073
- systemName: string;
5074
- displayName: string;
5075
- permissions: {
5076
- id: string;
5077
- description: string | null;
5078
- createdAt: Date;
5079
- updatedAt: Date;
5080
- deletedAt: Date | null;
5081
- systemName: string;
5082
- displayName: string;
5083
- }[];
5084
- }[];
5085
- extension: {
5086
- id: string;
5087
- createdAt: Date;
5088
- updatedAt: Date;
5089
- deletedAt: Date | null;
5090
- userId: string | null;
5091
- sipServerUrl: string;
5092
- sipUserName: string;
5093
- webphoneLoginUser: string;
5094
- extensionId: string | null;
5095
- extensionName: string;
5096
- telephonySignature: string | null;
5097
- };
5098
- } | undefined;
5099
- } | undefined;
5100
5100
  };
5101
5101
  upload: {
5102
5102
  id: string;
@@ -5265,6 +5265,71 @@ export declare const messengerContract: {
5265
5265
  imageSetId: string;
5266
5266
  room: {
5267
5267
  id: string;
5268
+ channel: {
5269
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5270
+ id: string;
5271
+ name: string;
5272
+ metadata: {
5273
+ id: string;
5274
+ name: string;
5275
+ accessToken: string;
5276
+ channelSecret?: string | undefined;
5277
+ additionalCredentials?: any;
5278
+ };
5279
+ status: boolean;
5280
+ createdAt: Date;
5281
+ updatedAt: Date;
5282
+ deletedAt: Date | null;
5283
+ actor: {
5284
+ id: string;
5285
+ address: string | null;
5286
+ name: string;
5287
+ email: string;
5288
+ createdAt: Date;
5289
+ updatedAt: Date;
5290
+ deletedAt: Date | null;
5291
+ emailVerifiedAt: Date | null;
5292
+ password: string;
5293
+ phone: string | null;
5294
+ notificationCount: number | null;
5295
+ roles: {
5296
+ id: string;
5297
+ description: string | null;
5298
+ createdAt: Date;
5299
+ updatedAt: Date;
5300
+ deletedAt: Date | null;
5301
+ systemName: string;
5302
+ displayName: string;
5303
+ permissions: {
5304
+ id: string;
5305
+ description: string | null;
5306
+ createdAt: Date;
5307
+ updatedAt: Date;
5308
+ deletedAt: Date | null;
5309
+ systemName: string;
5310
+ displayName: string;
5311
+ }[];
5312
+ }[];
5313
+ extension: {
5314
+ id: string;
5315
+ createdAt: Date;
5316
+ updatedAt: Date;
5317
+ deletedAt: Date | null;
5318
+ userId: string | null;
5319
+ sipServerUrl: string;
5320
+ sipUserName: string;
5321
+ webphoneLoginUser: string;
5322
+ extensionId: string | null;
5323
+ extensionName: string;
5324
+ telephonySignature: string | null;
5325
+ };
5326
+ };
5327
+ brandName: string;
5328
+ platformId: string;
5329
+ isReloginRequired: boolean;
5330
+ connectedUserName: string;
5331
+ connectedUserId: string;
5332
+ };
5268
5333
  direction: "incoming" | "outgoing" | "system";
5269
5334
  createdAt: Date;
5270
5335
  updatedAt: Date;
@@ -5510,71 +5575,6 @@ export declare const messengerContract: {
5510
5575
  callTo: string | null;
5511
5576
  } | null;
5512
5577
  };
5513
- channel?: {
5514
- id?: string | undefined;
5515
- createdAt?: Date | undefined;
5516
- updatedAt?: Date | undefined;
5517
- deletedAt?: Date | null | undefined;
5518
- name?: string | undefined;
5519
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5520
- metadata?: {
5521
- id: string;
5522
- name: string;
5523
- accessToken: string;
5524
- channelSecret?: string | undefined;
5525
- additionalCredentials?: any;
5526
- } | undefined;
5527
- brandName?: string | undefined;
5528
- platformId?: string | undefined;
5529
- status?: boolean | undefined;
5530
- isReloginRequired?: boolean | undefined;
5531
- connectedUserName?: string | undefined;
5532
- connectedUserId?: string | undefined;
5533
- actor?: {
5534
- id: string;
5535
- address: string | null;
5536
- name: string;
5537
- email: string;
5538
- createdAt: Date;
5539
- updatedAt: Date;
5540
- deletedAt: Date | null;
5541
- emailVerifiedAt: Date | null;
5542
- password: string;
5543
- phone: string | null;
5544
- notificationCount: number | null;
5545
- roles: {
5546
- id: string;
5547
- description: string | null;
5548
- createdAt: Date;
5549
- updatedAt: Date;
5550
- deletedAt: Date | null;
5551
- systemName: string;
5552
- displayName: string;
5553
- permissions: {
5554
- id: string;
5555
- description: string | null;
5556
- createdAt: Date;
5557
- updatedAt: Date;
5558
- deletedAt: Date | null;
5559
- systemName: string;
5560
- displayName: string;
5561
- }[];
5562
- }[];
5563
- extension: {
5564
- id: string;
5565
- createdAt: Date;
5566
- updatedAt: Date;
5567
- deletedAt: Date | null;
5568
- userId: string | null;
5569
- sipServerUrl: string;
5570
- sipUserName: string;
5571
- webphoneLoginUser: string;
5572
- extensionId: string | null;
5573
- extensionName: string;
5574
- telephonySignature: string | null;
5575
- };
5576
- } | undefined;
5577
- } | undefined;
5578
5578
  };
5579
5579
  upload: {
5580
5580
  id: string;