@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.
@@ -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;
@@ -2330,7 +2330,6 @@ export declare const messengerContract: {
2330
2330
  startedDate: z.ZodNullable<z.ZodDate>;
2331
2331
  handledTime: z.ZodNullable<z.ZodNumber>;
2332
2332
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
2333
- disposition: z.ZodNullable<z.ZodString>;
2334
2333
  wrapUpForm: z.ZodNullable<z.ZodObject<{
2335
2334
  id: z.ZodString;
2336
2335
  createdAt: z.ZodDate;
@@ -2395,7 +2394,6 @@ export declare const messengerContract: {
2395
2394
  }, "strip", z.ZodTypeAny, {
2396
2395
  id: string;
2397
2396
  channel: string | null;
2398
- disposition: string | null;
2399
2397
  direction: string | null;
2400
2398
  createdAt: Date;
2401
2399
  updatedAt: Date;
@@ -2429,7 +2427,6 @@ export declare const messengerContract: {
2429
2427
  }, {
2430
2428
  id: string;
2431
2429
  channel: string | null;
2432
- disposition: string | null;
2433
2430
  direction: string | null;
2434
2431
  createdAt: Date;
2435
2432
  updatedAt: Date;
@@ -2463,6 +2460,71 @@ export declare const messengerContract: {
2463
2460
  }>;
2464
2461
  }, "strip", z.ZodTypeAny, {
2465
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
+ };
2466
2528
  direction: "incoming" | "outgoing" | "system";
2467
2529
  createdAt: Date;
2468
2530
  updatedAt: Date;
@@ -2677,7 +2739,6 @@ export declare const messengerContract: {
2677
2739
  cxlog: {
2678
2740
  id: string;
2679
2741
  channel: string | null;
2680
- disposition: string | null;
2681
2742
  direction: string | null;
2682
2743
  createdAt: Date;
2683
2744
  updatedAt: Date;
@@ -2709,27 +2770,24 @@ export declare const messengerContract: {
2709
2770
  callTo: string | null;
2710
2771
  } | null;
2711
2772
  };
2712
- channel?: {
2713
- id?: string | undefined;
2714
- createdAt?: Date | undefined;
2715
- updatedAt?: Date | undefined;
2716
- deletedAt?: Date | null | undefined;
2717
- name?: string | undefined;
2718
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2719
- 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: {
2720
2780
  id: string;
2721
2781
  name: string;
2722
2782
  accessToken: string;
2723
2783
  channelSecret?: string | undefined;
2724
2784
  additionalCredentials?: any;
2725
- } | undefined;
2726
- brandName?: string | undefined;
2727
- platformId?: string | undefined;
2728
- status?: boolean | undefined;
2729
- isReloginRequired?: boolean | undefined;
2730
- connectedUserName?: string | undefined;
2731
- connectedUserId?: string | undefined;
2732
- actor?: {
2785
+ };
2786
+ status: boolean;
2787
+ createdAt: Date;
2788
+ updatedAt: Date;
2789
+ deletedAt: Date | null;
2790
+ actor: {
2733
2791
  id: string;
2734
2792
  address: string | null;
2735
2793
  name: string;
@@ -2772,10 +2830,13 @@ export declare const messengerContract: {
2772
2830
  extensionName: string;
2773
2831
  telephonySignature: string | null;
2774
2832
  };
2775
- } | undefined;
2776
- } | undefined;
2777
- }, {
2778
- id: string;
2833
+ };
2834
+ brandName: string;
2835
+ platformId: string;
2836
+ isReloginRequired: boolean;
2837
+ connectedUserName: string;
2838
+ connectedUserId: string;
2839
+ };
2779
2840
  direction: "incoming" | "outgoing" | "system";
2780
2841
  createdAt: Date;
2781
2842
  updatedAt: Date;
@@ -2990,7 +3051,6 @@ export declare const messengerContract: {
2990
3051
  cxlog: {
2991
3052
  id: string;
2992
3053
  channel: string | null;
2993
- disposition: string | null;
2994
3054
  direction: string | null;
2995
3055
  createdAt: Date;
2996
3056
  updatedAt: Date;
@@ -3022,71 +3082,6 @@ export declare const messengerContract: {
3022
3082
  callTo: string | null;
3023
3083
  } | null;
3024
3084
  };
3025
- channel?: {
3026
- id?: string | undefined;
3027
- createdAt?: Date | undefined;
3028
- updatedAt?: Date | undefined;
3029
- deletedAt?: Date | null | undefined;
3030
- name?: string | undefined;
3031
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3032
- metadata?: {
3033
- id: string;
3034
- name: string;
3035
- accessToken: string;
3036
- channelSecret?: string | undefined;
3037
- additionalCredentials?: any;
3038
- } | undefined;
3039
- brandName?: string | undefined;
3040
- platformId?: string | undefined;
3041
- status?: boolean | undefined;
3042
- isReloginRequired?: boolean | undefined;
3043
- connectedUserName?: string | undefined;
3044
- connectedUserId?: string | undefined;
3045
- actor?: {
3046
- id: string;
3047
- address: string | null;
3048
- name: string;
3049
- email: string;
3050
- createdAt: Date;
3051
- updatedAt: Date;
3052
- deletedAt: Date | null;
3053
- emailVerifiedAt: Date | null;
3054
- password: string;
3055
- phone: string | null;
3056
- notificationCount: number | null;
3057
- roles: {
3058
- id: string;
3059
- description: string | null;
3060
- createdAt: Date;
3061
- updatedAt: Date;
3062
- deletedAt: Date | null;
3063
- systemName: string;
3064
- displayName: string;
3065
- permissions: {
3066
- id: string;
3067
- description: string | null;
3068
- createdAt: Date;
3069
- updatedAt: Date;
3070
- deletedAt: Date | null;
3071
- systemName: string;
3072
- displayName: string;
3073
- }[];
3074
- }[];
3075
- extension: {
3076
- id: string;
3077
- createdAt: Date;
3078
- updatedAt: Date;
3079
- deletedAt: Date | null;
3080
- userId: string | null;
3081
- sipServerUrl: string;
3082
- sipUserName: string;
3083
- webphoneLoginUser: string;
3084
- extensionId: string | null;
3085
- extensionName: string;
3086
- telephonySignature: string | null;
3087
- };
3088
- } | undefined;
3089
- } | undefined;
3090
3085
  }>;
3091
3086
  upload: z.ZodObject<{
3092
3087
  id: z.ZodString;
@@ -3840,6 +3835,71 @@ export declare const messengerContract: {
3840
3835
  imageSetId: string;
3841
3836
  room: {
3842
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
+ };
3843
3903
  direction: "incoming" | "outgoing" | "system";
3844
3904
  createdAt: Date;
3845
3905
  updatedAt: Date;
@@ -4054,7 +4114,6 @@ export declare const messengerContract: {
4054
4114
  cxlog: {
4055
4115
  id: string;
4056
4116
  channel: string | null;
4057
- disposition: string | null;
4058
4117
  direction: string | null;
4059
4118
  createdAt: Date;
4060
4119
  updatedAt: Date;
@@ -4086,71 +4145,6 @@ export declare const messengerContract: {
4086
4145
  callTo: string | null;
4087
4146
  } | null;
4088
4147
  };
4089
- channel?: {
4090
- id?: string | undefined;
4091
- createdAt?: Date | undefined;
4092
- updatedAt?: Date | undefined;
4093
- deletedAt?: Date | null | undefined;
4094
- name?: string | undefined;
4095
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4096
- metadata?: {
4097
- id: string;
4098
- name: string;
4099
- accessToken: string;
4100
- channelSecret?: string | undefined;
4101
- additionalCredentials?: any;
4102
- } | undefined;
4103
- brandName?: string | undefined;
4104
- platformId?: string | undefined;
4105
- status?: boolean | undefined;
4106
- isReloginRequired?: boolean | undefined;
4107
- connectedUserName?: string | undefined;
4108
- connectedUserId?: string | undefined;
4109
- actor?: {
4110
- id: string;
4111
- address: string | null;
4112
- name: string;
4113
- email: string;
4114
- createdAt: Date;
4115
- updatedAt: Date;
4116
- deletedAt: Date | null;
4117
- emailVerifiedAt: Date | null;
4118
- password: string;
4119
- phone: string | null;
4120
- notificationCount: number | null;
4121
- roles: {
4122
- id: string;
4123
- description: string | null;
4124
- createdAt: Date;
4125
- updatedAt: Date;
4126
- deletedAt: Date | null;
4127
- systemName: string;
4128
- displayName: string;
4129
- permissions: {
4130
- id: string;
4131
- description: string | null;
4132
- createdAt: Date;
4133
- updatedAt: Date;
4134
- deletedAt: Date | null;
4135
- systemName: string;
4136
- displayName: string;
4137
- }[];
4138
- }[];
4139
- extension: {
4140
- id: string;
4141
- createdAt: Date;
4142
- updatedAt: Date;
4143
- deletedAt: Date | null;
4144
- userId: string | null;
4145
- sipServerUrl: string;
4146
- sipUserName: string;
4147
- webphoneLoginUser: string;
4148
- extensionId: string | null;
4149
- extensionName: string;
4150
- telephonySignature: string | null;
4151
- };
4152
- } | undefined;
4153
- } | undefined;
4154
4148
  };
4155
4149
  upload: {
4156
4150
  id: string;
@@ -4316,10 +4310,75 @@ export declare const messengerContract: {
4316
4310
  imageSetId: string;
4317
4311
  room: {
4318
4312
  id: string;
4319
- direction: "incoming" | "outgoing" | "system";
4320
- createdAt: Date;
4321
- updatedAt: Date;
4322
- 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;
4323
4382
  actor: {
4324
4383
  id: string;
4325
4384
  address: string | null;
@@ -4530,7 +4589,6 @@ export declare const messengerContract: {
4530
4589
  cxlog: {
4531
4590
  id: string;
4532
4591
  channel: string | null;
4533
- disposition: string | null;
4534
4592
  direction: string | null;
4535
4593
  createdAt: Date;
4536
4594
  updatedAt: Date;
@@ -4562,71 +4620,6 @@ export declare const messengerContract: {
4562
4620
  callTo: string | null;
4563
4621
  } | null;
4564
4622
  };
4565
- channel?: {
4566
- id?: string | undefined;
4567
- createdAt?: Date | undefined;
4568
- updatedAt?: Date | undefined;
4569
- deletedAt?: Date | null | undefined;
4570
- name?: string | undefined;
4571
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4572
- metadata?: {
4573
- id: string;
4574
- name: string;
4575
- accessToken: string;
4576
- channelSecret?: string | undefined;
4577
- additionalCredentials?: any;
4578
- } | undefined;
4579
- brandName?: string | undefined;
4580
- platformId?: string | undefined;
4581
- status?: boolean | undefined;
4582
- isReloginRequired?: boolean | undefined;
4583
- connectedUserName?: string | undefined;
4584
- connectedUserId?: string | undefined;
4585
- actor?: {
4586
- id: string;
4587
- address: string | null;
4588
- name: string;
4589
- email: string;
4590
- createdAt: Date;
4591
- updatedAt: Date;
4592
- deletedAt: Date | null;
4593
- emailVerifiedAt: Date | null;
4594
- password: string;
4595
- phone: string | null;
4596
- notificationCount: number | null;
4597
- roles: {
4598
- id: string;
4599
- description: string | null;
4600
- createdAt: Date;
4601
- updatedAt: Date;
4602
- deletedAt: Date | null;
4603
- systemName: string;
4604
- displayName: string;
4605
- permissions: {
4606
- id: string;
4607
- description: string | null;
4608
- createdAt: Date;
4609
- updatedAt: Date;
4610
- deletedAt: Date | null;
4611
- systemName: string;
4612
- displayName: string;
4613
- }[];
4614
- }[];
4615
- extension: {
4616
- id: string;
4617
- createdAt: Date;
4618
- updatedAt: Date;
4619
- deletedAt: Date | null;
4620
- userId: string | null;
4621
- sipServerUrl: string;
4622
- sipUserName: string;
4623
- webphoneLoginUser: string;
4624
- extensionId: string | null;
4625
- extensionName: string;
4626
- telephonySignature: string | null;
4627
- };
4628
- } | undefined;
4629
- } | undefined;
4630
4623
  };
4631
4624
  upload: {
4632
4625
  id: string;
@@ -4794,6 +4787,71 @@ export declare const messengerContract: {
4794
4787
  imageSetId: string;
4795
4788
  room: {
4796
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
+ };
4797
4855
  direction: "incoming" | "outgoing" | "system";
4798
4856
  createdAt: Date;
4799
4857
  updatedAt: Date;
@@ -5008,7 +5066,6 @@ export declare const messengerContract: {
5008
5066
  cxlog: {
5009
5067
  id: string;
5010
5068
  channel: string | null;
5011
- disposition: string | null;
5012
5069
  direction: string | null;
5013
5070
  createdAt: Date;
5014
5071
  updatedAt: Date;
@@ -5040,71 +5097,6 @@ export declare const messengerContract: {
5040
5097
  callTo: string | null;
5041
5098
  } | null;
5042
5099
  };
5043
- channel?: {
5044
- id?: string | undefined;
5045
- createdAt?: Date | undefined;
5046
- updatedAt?: Date | undefined;
5047
- deletedAt?: Date | null | undefined;
5048
- name?: string | undefined;
5049
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5050
- metadata?: {
5051
- id: string;
5052
- name: string;
5053
- accessToken: string;
5054
- channelSecret?: string | undefined;
5055
- additionalCredentials?: any;
5056
- } | undefined;
5057
- brandName?: string | undefined;
5058
- platformId?: string | undefined;
5059
- status?: boolean | undefined;
5060
- isReloginRequired?: boolean | undefined;
5061
- connectedUserName?: string | undefined;
5062
- connectedUserId?: string | undefined;
5063
- actor?: {
5064
- id: string;
5065
- address: string | null;
5066
- name: string;
5067
- email: string;
5068
- createdAt: Date;
5069
- updatedAt: Date;
5070
- deletedAt: Date | null;
5071
- emailVerifiedAt: Date | null;
5072
- password: string;
5073
- phone: string | null;
5074
- notificationCount: number | null;
5075
- roles: {
5076
- id: string;
5077
- description: string | null;
5078
- createdAt: Date;
5079
- updatedAt: Date;
5080
- deletedAt: Date | null;
5081
- systemName: string;
5082
- displayName: string;
5083
- permissions: {
5084
- id: string;
5085
- description: string | null;
5086
- createdAt: Date;
5087
- updatedAt: Date;
5088
- deletedAt: Date | null;
5089
- systemName: string;
5090
- displayName: string;
5091
- }[];
5092
- }[];
5093
- extension: {
5094
- id: string;
5095
- createdAt: Date;
5096
- updatedAt: Date;
5097
- deletedAt: Date | null;
5098
- userId: string | null;
5099
- sipServerUrl: string;
5100
- sipUserName: string;
5101
- webphoneLoginUser: string;
5102
- extensionId: string | null;
5103
- extensionName: string;
5104
- telephonySignature: string | null;
5105
- };
5106
- } | undefined;
5107
- } | undefined;
5108
5100
  };
5109
5101
  upload: {
5110
5102
  id: string;
@@ -5273,6 +5265,71 @@ export declare const messengerContract: {
5273
5265
  imageSetId: string;
5274
5266
  room: {
5275
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
+ };
5276
5333
  direction: "incoming" | "outgoing" | "system";
5277
5334
  createdAt: Date;
5278
5335
  updatedAt: Date;
@@ -5487,7 +5544,6 @@ export declare const messengerContract: {
5487
5544
  cxlog: {
5488
5545
  id: string;
5489
5546
  channel: string | null;
5490
- disposition: string | null;
5491
5547
  direction: string | null;
5492
5548
  createdAt: Date;
5493
5549
  updatedAt: Date;
@@ -5519,71 +5575,6 @@ export declare const messengerContract: {
5519
5575
  callTo: string | null;
5520
5576
  } | null;
5521
5577
  };
5522
- channel?: {
5523
- id?: string | undefined;
5524
- createdAt?: Date | undefined;
5525
- updatedAt?: Date | undefined;
5526
- deletedAt?: Date | null | undefined;
5527
- name?: string | undefined;
5528
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5529
- metadata?: {
5530
- id: string;
5531
- name: string;
5532
- accessToken: string;
5533
- channelSecret?: string | undefined;
5534
- additionalCredentials?: any;
5535
- } | undefined;
5536
- brandName?: string | undefined;
5537
- platformId?: string | undefined;
5538
- status?: boolean | undefined;
5539
- isReloginRequired?: boolean | undefined;
5540
- connectedUserName?: string | undefined;
5541
- connectedUserId?: string | undefined;
5542
- actor?: {
5543
- id: string;
5544
- address: string | null;
5545
- name: string;
5546
- email: string;
5547
- createdAt: Date;
5548
- updatedAt: Date;
5549
- deletedAt: Date | null;
5550
- emailVerifiedAt: Date | null;
5551
- password: string;
5552
- phone: string | null;
5553
- notificationCount: number | null;
5554
- roles: {
5555
- id: string;
5556
- description: string | null;
5557
- createdAt: Date;
5558
- updatedAt: Date;
5559
- deletedAt: Date | null;
5560
- systemName: string;
5561
- displayName: string;
5562
- permissions: {
5563
- id: string;
5564
- description: string | null;
5565
- createdAt: Date;
5566
- updatedAt: Date;
5567
- deletedAt: Date | null;
5568
- systemName: string;
5569
- displayName: string;
5570
- }[];
5571
- }[];
5572
- extension: {
5573
- id: string;
5574
- createdAt: Date;
5575
- updatedAt: Date;
5576
- deletedAt: Date | null;
5577
- userId: string | null;
5578
- sipServerUrl: string;
5579
- sipUserName: string;
5580
- webphoneLoginUser: string;
5581
- extensionId: string | null;
5582
- extensionName: string;
5583
- telephonySignature: string | null;
5584
- };
5585
- } | undefined;
5586
- } | undefined;
5587
5578
  };
5588
5579
  upload: {
5589
5580
  id: string;