@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.
@@ -1566,14 +1566,14 @@ export declare const cxLogContract: {
1566
1566
  telephonySignature: string | null;
1567
1567
  };
1568
1568
  }>;
1569
- channel: z.ZodOptional<z.ZodObject<{
1570
- id: z.ZodOptional<z.ZodString>;
1571
- createdAt: z.ZodOptional<z.ZodDate>;
1572
- updatedAt: z.ZodOptional<z.ZodDate>;
1573
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1574
- name: z.ZodOptional<z.ZodString>;
1575
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
1576
- metadata: z.ZodOptional<z.ZodObject<{
1569
+ channel: z.ZodObject<{
1570
+ id: z.ZodString;
1571
+ createdAt: z.ZodDate;
1572
+ updatedAt: z.ZodDate;
1573
+ deletedAt: z.ZodNullable<z.ZodDate>;
1574
+ name: z.ZodString;
1575
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
1576
+ metadata: z.ZodObject<{
1577
1577
  id: z.ZodString;
1578
1578
  name: z.ZodString;
1579
1579
  accessToken: z.ZodString;
@@ -1591,14 +1591,14 @@ export declare const cxLogContract: {
1591
1591
  accessToken: string;
1592
1592
  channelSecret?: string | undefined;
1593
1593
  additionalCredentials?: any;
1594
- }>>;
1595
- brandName: z.ZodOptional<z.ZodString>;
1596
- platformId: z.ZodOptional<z.ZodString>;
1597
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
1598
- isReloginRequired: z.ZodOptional<z.ZodBoolean>;
1599
- connectedUserName: z.ZodOptional<z.ZodString>;
1600
- connectedUserId: z.ZodOptional<z.ZodString>;
1601
- actor: z.ZodOptional<z.ZodObject<{
1594
+ }>;
1595
+ brandName: z.ZodString;
1596
+ platformId: z.ZodString;
1597
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
1598
+ isReloginRequired: z.ZodBoolean;
1599
+ connectedUserName: z.ZodString;
1600
+ connectedUserId: z.ZodString;
1601
+ actor: z.ZodObject<{
1602
1602
  id: z.ZodString;
1603
1603
  createdAt: z.ZodDate;
1604
1604
  updatedAt: z.ZodDate;
@@ -1801,28 +1801,23 @@ export declare const cxLogContract: {
1801
1801
  extensionName: string;
1802
1802
  telephonySignature: string | null;
1803
1803
  };
1804
- }>>;
1804
+ }>;
1805
1805
  }, "strip", z.ZodTypeAny, {
1806
- id?: string | undefined;
1807
- createdAt?: Date | undefined;
1808
- updatedAt?: Date | undefined;
1809
- deletedAt?: Date | null | undefined;
1810
- name?: string | undefined;
1811
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
1812
- metadata?: {
1806
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1807
+ id: string;
1808
+ name: string;
1809
+ metadata: {
1813
1810
  id: string;
1814
1811
  name: string;
1815
1812
  accessToken: string;
1816
1813
  channelSecret?: string | undefined;
1817
1814
  additionalCredentials?: any;
1818
- } | undefined;
1819
- brandName?: string | undefined;
1820
- platformId?: string | undefined;
1821
- status?: boolean | undefined;
1822
- isReloginRequired?: boolean | undefined;
1823
- connectedUserName?: string | undefined;
1824
- connectedUserId?: string | undefined;
1825
- actor?: {
1815
+ };
1816
+ status: boolean;
1817
+ createdAt: Date;
1818
+ updatedAt: Date;
1819
+ deletedAt: Date | null;
1820
+ actor: {
1826
1821
  id: string;
1827
1822
  address: string | null;
1828
1823
  name: string;
@@ -1865,28 +1860,28 @@ export declare const cxLogContract: {
1865
1860
  extensionName: string;
1866
1861
  telephonySignature: string | null;
1867
1862
  };
1868
- } | undefined;
1863
+ };
1864
+ brandName: string;
1865
+ platformId: string;
1866
+ isReloginRequired: boolean;
1867
+ connectedUserName: string;
1868
+ connectedUserId: string;
1869
1869
  }, {
1870
- id?: string | undefined;
1871
- createdAt?: Date | undefined;
1872
- updatedAt?: Date | undefined;
1873
- deletedAt?: Date | null | undefined;
1874
- name?: string | undefined;
1875
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
1876
- metadata?: {
1870
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1871
+ id: string;
1872
+ name: string;
1873
+ metadata: {
1877
1874
  id: string;
1878
1875
  name: string;
1879
1876
  accessToken: string;
1880
1877
  channelSecret?: string | undefined;
1881
1878
  additionalCredentials?: any;
1882
- } | undefined;
1883
- brandName?: string | undefined;
1884
- platformId?: string | undefined;
1885
- status?: boolean | undefined;
1886
- isReloginRequired?: boolean | undefined;
1887
- connectedUserName?: string | undefined;
1888
- connectedUserId?: string | undefined;
1889
- actor?: {
1879
+ };
1880
+ status: boolean;
1881
+ createdAt: Date;
1882
+ updatedAt: Date;
1883
+ deletedAt: Date | null;
1884
+ actor: {
1890
1885
  id: string;
1891
1886
  address: string | null;
1892
1887
  name: string;
@@ -1929,10 +1924,80 @@ export declare const cxLogContract: {
1929
1924
  extensionName: string;
1930
1925
  telephonySignature: string | null;
1931
1926
  };
1932
- } | undefined;
1933
- }>>;
1927
+ };
1928
+ brandName: string;
1929
+ platformId: string;
1930
+ isReloginRequired: boolean;
1931
+ connectedUserName: string;
1932
+ connectedUserId: string;
1933
+ }>;
1934
1934
  }, "strip", z.ZodTypeAny, {
1935
1935
  id: string;
1936
+ channel: {
1937
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1938
+ id: string;
1939
+ name: string;
1940
+ metadata: {
1941
+ id: string;
1942
+ name: string;
1943
+ accessToken: string;
1944
+ channelSecret?: string | undefined;
1945
+ additionalCredentials?: any;
1946
+ };
1947
+ status: boolean;
1948
+ createdAt: Date;
1949
+ updatedAt: Date;
1950
+ deletedAt: Date | null;
1951
+ actor: {
1952
+ id: string;
1953
+ address: string | null;
1954
+ name: string;
1955
+ email: string;
1956
+ createdAt: Date;
1957
+ updatedAt: Date;
1958
+ deletedAt: Date | null;
1959
+ emailVerifiedAt: Date | null;
1960
+ password: string;
1961
+ phone: string | null;
1962
+ notificationCount: number | null;
1963
+ roles: {
1964
+ id: string;
1965
+ description: string | null;
1966
+ createdAt: Date;
1967
+ updatedAt: Date;
1968
+ deletedAt: Date | null;
1969
+ systemName: string;
1970
+ displayName: string;
1971
+ permissions: {
1972
+ id: string;
1973
+ description: string | null;
1974
+ createdAt: Date;
1975
+ updatedAt: Date;
1976
+ deletedAt: Date | null;
1977
+ systemName: string;
1978
+ displayName: string;
1979
+ }[];
1980
+ }[];
1981
+ extension: {
1982
+ id: string;
1983
+ createdAt: Date;
1984
+ updatedAt: Date;
1985
+ deletedAt: Date | null;
1986
+ userId: string | null;
1987
+ sipServerUrl: string;
1988
+ sipUserName: string;
1989
+ webphoneLoginUser: string;
1990
+ extensionId: string | null;
1991
+ extensionName: string;
1992
+ telephonySignature: string | null;
1993
+ };
1994
+ };
1995
+ brandName: string;
1996
+ platformId: string;
1997
+ isReloginRequired: boolean;
1998
+ connectedUserName: string;
1999
+ connectedUserId: string;
2000
+ };
1936
2001
  direction: "incoming" | "outgoing" | "system";
1937
2002
  createdAt: Date;
1938
2003
  updatedAt: Date;
@@ -2144,27 +2209,24 @@ export declare const cxLogContract: {
2144
2209
  telephonySignature: string | null;
2145
2210
  };
2146
2211
  };
2147
- channel?: {
2148
- id?: string | undefined;
2149
- createdAt?: Date | undefined;
2150
- updatedAt?: Date | undefined;
2151
- deletedAt?: Date | null | undefined;
2152
- name?: string | undefined;
2153
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2154
- metadata?: {
2212
+ }, {
2213
+ id: string;
2214
+ channel: {
2215
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2216
+ id: string;
2217
+ name: string;
2218
+ metadata: {
2155
2219
  id: string;
2156
2220
  name: string;
2157
2221
  accessToken: string;
2158
2222
  channelSecret?: string | undefined;
2159
2223
  additionalCredentials?: any;
2160
- } | undefined;
2161
- brandName?: string | undefined;
2162
- platformId?: string | undefined;
2163
- status?: boolean | undefined;
2164
- isReloginRequired?: boolean | undefined;
2165
- connectedUserName?: string | undefined;
2166
- connectedUserId?: string | undefined;
2167
- actor?: {
2224
+ };
2225
+ status: boolean;
2226
+ createdAt: Date;
2227
+ updatedAt: Date;
2228
+ deletedAt: Date | null;
2229
+ actor: {
2168
2230
  id: string;
2169
2231
  address: string | null;
2170
2232
  name: string;
@@ -2207,10 +2269,13 @@ export declare const cxLogContract: {
2207
2269
  extensionName: string;
2208
2270
  telephonySignature: string | null;
2209
2271
  };
2210
- } | undefined;
2211
- } | undefined;
2212
- }, {
2213
- id: string;
2272
+ };
2273
+ brandName: string;
2274
+ platformId: string;
2275
+ isReloginRequired: boolean;
2276
+ connectedUserName: string;
2277
+ connectedUserId: string;
2278
+ };
2214
2279
  direction: "incoming" | "outgoing" | "system";
2215
2280
  createdAt: Date;
2216
2281
  updatedAt: Date;
@@ -2422,71 +2487,6 @@ export declare const cxLogContract: {
2422
2487
  telephonySignature: string | null;
2423
2488
  };
2424
2489
  };
2425
- channel?: {
2426
- id?: string | undefined;
2427
- createdAt?: Date | undefined;
2428
- updatedAt?: Date | undefined;
2429
- deletedAt?: Date | null | undefined;
2430
- name?: string | undefined;
2431
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2432
- metadata?: {
2433
- id: string;
2434
- name: string;
2435
- accessToken: string;
2436
- channelSecret?: string | undefined;
2437
- additionalCredentials?: any;
2438
- } | undefined;
2439
- brandName?: string | undefined;
2440
- platformId?: string | undefined;
2441
- status?: boolean | undefined;
2442
- isReloginRequired?: boolean | undefined;
2443
- connectedUserName?: string | undefined;
2444
- connectedUserId?: string | undefined;
2445
- actor?: {
2446
- id: string;
2447
- address: string | null;
2448
- name: string;
2449
- email: string;
2450
- createdAt: Date;
2451
- updatedAt: Date;
2452
- deletedAt: Date | null;
2453
- emailVerifiedAt: Date | null;
2454
- password: string;
2455
- phone: string | null;
2456
- notificationCount: number | null;
2457
- roles: {
2458
- id: string;
2459
- description: string | null;
2460
- createdAt: Date;
2461
- updatedAt: Date;
2462
- deletedAt: Date | null;
2463
- systemName: string;
2464
- displayName: string;
2465
- permissions: {
2466
- id: string;
2467
- description: string | null;
2468
- createdAt: Date;
2469
- updatedAt: Date;
2470
- deletedAt: Date | null;
2471
- systemName: string;
2472
- displayName: string;
2473
- }[];
2474
- }[];
2475
- extension: {
2476
- id: string;
2477
- createdAt: Date;
2478
- updatedAt: Date;
2479
- deletedAt: Date | null;
2480
- userId: string | null;
2481
- sipServerUrl: string;
2482
- sipUserName: string;
2483
- webphoneLoginUser: string;
2484
- extensionId: string | null;
2485
- extensionName: string;
2486
- telephonySignature: string | null;
2487
- };
2488
- } | undefined;
2489
- } | undefined;
2490
2490
  }>>;
2491
2491
  telephonyCdr: z.ZodNullable<z.ZodObject<{
2492
2492
  id: z.ZodString;
@@ -5019,6 +5019,71 @@ export declare const cxLogContract: {
5019
5019
  } | null;
5020
5020
  room: {
5021
5021
  id: string;
5022
+ channel: {
5023
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5024
+ id: string;
5025
+ name: string;
5026
+ metadata: {
5027
+ id: string;
5028
+ name: string;
5029
+ accessToken: string;
5030
+ channelSecret?: string | undefined;
5031
+ additionalCredentials?: any;
5032
+ };
5033
+ status: boolean;
5034
+ createdAt: Date;
5035
+ updatedAt: Date;
5036
+ deletedAt: Date | null;
5037
+ actor: {
5038
+ id: string;
5039
+ address: string | null;
5040
+ name: string;
5041
+ email: string;
5042
+ createdAt: Date;
5043
+ updatedAt: Date;
5044
+ deletedAt: Date | null;
5045
+ emailVerifiedAt: Date | null;
5046
+ password: string;
5047
+ phone: string | null;
5048
+ notificationCount: number | null;
5049
+ roles: {
5050
+ id: string;
5051
+ description: string | null;
5052
+ createdAt: Date;
5053
+ updatedAt: Date;
5054
+ deletedAt: Date | null;
5055
+ systemName: string;
5056
+ displayName: string;
5057
+ permissions: {
5058
+ id: string;
5059
+ description: string | null;
5060
+ createdAt: Date;
5061
+ updatedAt: Date;
5062
+ deletedAt: Date | null;
5063
+ systemName: string;
5064
+ displayName: string;
5065
+ }[];
5066
+ }[];
5067
+ extension: {
5068
+ id: string;
5069
+ createdAt: Date;
5070
+ updatedAt: Date;
5071
+ deletedAt: Date | null;
5072
+ userId: string | null;
5073
+ sipServerUrl: string;
5074
+ sipUserName: string;
5075
+ webphoneLoginUser: string;
5076
+ extensionId: string | null;
5077
+ extensionName: string;
5078
+ telephonySignature: string | null;
5079
+ };
5080
+ };
5081
+ brandName: string;
5082
+ platformId: string;
5083
+ isReloginRequired: boolean;
5084
+ connectedUserName: string;
5085
+ connectedUserId: string;
5086
+ };
5022
5087
  direction: "incoming" | "outgoing" | "system";
5023
5088
  createdAt: Date;
5024
5089
  updatedAt: Date;
@@ -5230,71 +5295,6 @@ export declare const cxLogContract: {
5230
5295
  telephonySignature: string | null;
5231
5296
  };
5232
5297
  };
5233
- channel?: {
5234
- id?: string | undefined;
5235
- createdAt?: Date | undefined;
5236
- updatedAt?: Date | undefined;
5237
- deletedAt?: Date | null | undefined;
5238
- name?: string | undefined;
5239
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5240
- metadata?: {
5241
- id: string;
5242
- name: string;
5243
- accessToken: string;
5244
- channelSecret?: string | undefined;
5245
- additionalCredentials?: any;
5246
- } | undefined;
5247
- brandName?: string | undefined;
5248
- platformId?: string | undefined;
5249
- status?: boolean | undefined;
5250
- isReloginRequired?: boolean | undefined;
5251
- connectedUserName?: string | undefined;
5252
- connectedUserId?: string | undefined;
5253
- actor?: {
5254
- id: string;
5255
- address: string | null;
5256
- name: string;
5257
- email: string;
5258
- createdAt: Date;
5259
- updatedAt: Date;
5260
- deletedAt: Date | null;
5261
- emailVerifiedAt: Date | null;
5262
- password: string;
5263
- phone: string | null;
5264
- notificationCount: number | null;
5265
- roles: {
5266
- id: string;
5267
- description: string | null;
5268
- createdAt: Date;
5269
- updatedAt: Date;
5270
- deletedAt: Date | null;
5271
- systemName: string;
5272
- displayName: string;
5273
- permissions: {
5274
- id: string;
5275
- description: string | null;
5276
- createdAt: Date;
5277
- updatedAt: Date;
5278
- deletedAt: Date | null;
5279
- systemName: string;
5280
- displayName: string;
5281
- }[];
5282
- }[];
5283
- extension: {
5284
- id: string;
5285
- createdAt: Date;
5286
- updatedAt: Date;
5287
- deletedAt: Date | null;
5288
- userId: string | null;
5289
- sipServerUrl: string;
5290
- sipUserName: string;
5291
- webphoneLoginUser: string;
5292
- extensionId: string | null;
5293
- extensionName: string;
5294
- telephonySignature: string | null;
5295
- };
5296
- } | undefined;
5297
- } | undefined;
5298
5298
  } | null;
5299
5299
  customerPhone: string | null;
5300
5300
  channelType: string | null;
@@ -5686,6 +5686,71 @@ export declare const cxLogContract: {
5686
5686
  } | null;
5687
5687
  room: {
5688
5688
  id: string;
5689
+ channel: {
5690
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5691
+ id: string;
5692
+ name: string;
5693
+ metadata: {
5694
+ id: string;
5695
+ name: string;
5696
+ accessToken: string;
5697
+ channelSecret?: string | undefined;
5698
+ additionalCredentials?: any;
5699
+ };
5700
+ status: boolean;
5701
+ createdAt: Date;
5702
+ updatedAt: Date;
5703
+ deletedAt: Date | null;
5704
+ actor: {
5705
+ id: string;
5706
+ address: string | null;
5707
+ name: string;
5708
+ email: string;
5709
+ createdAt: Date;
5710
+ updatedAt: Date;
5711
+ deletedAt: Date | null;
5712
+ emailVerifiedAt: Date | null;
5713
+ password: string;
5714
+ phone: string | null;
5715
+ notificationCount: number | null;
5716
+ roles: {
5717
+ id: string;
5718
+ description: string | null;
5719
+ createdAt: Date;
5720
+ updatedAt: Date;
5721
+ deletedAt: Date | null;
5722
+ systemName: string;
5723
+ displayName: string;
5724
+ permissions: {
5725
+ id: string;
5726
+ description: string | null;
5727
+ createdAt: Date;
5728
+ updatedAt: Date;
5729
+ deletedAt: Date | null;
5730
+ systemName: string;
5731
+ displayName: string;
5732
+ }[];
5733
+ }[];
5734
+ extension: {
5735
+ id: string;
5736
+ createdAt: Date;
5737
+ updatedAt: Date;
5738
+ deletedAt: Date | null;
5739
+ userId: string | null;
5740
+ sipServerUrl: string;
5741
+ sipUserName: string;
5742
+ webphoneLoginUser: string;
5743
+ extensionId: string | null;
5744
+ extensionName: string;
5745
+ telephonySignature: string | null;
5746
+ };
5747
+ };
5748
+ brandName: string;
5749
+ platformId: string;
5750
+ isReloginRequired: boolean;
5751
+ connectedUserName: string;
5752
+ connectedUserId: string;
5753
+ };
5689
5754
  direction: "incoming" | "outgoing" | "system";
5690
5755
  createdAt: Date;
5691
5756
  updatedAt: Date;
@@ -5897,71 +5962,6 @@ export declare const cxLogContract: {
5897
5962
  telephonySignature: string | null;
5898
5963
  };
5899
5964
  };
5900
- channel?: {
5901
- id?: string | undefined;
5902
- createdAt?: Date | undefined;
5903
- updatedAt?: Date | undefined;
5904
- deletedAt?: Date | null | undefined;
5905
- name?: string | undefined;
5906
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5907
- metadata?: {
5908
- id: string;
5909
- name: string;
5910
- accessToken: string;
5911
- channelSecret?: string | undefined;
5912
- additionalCredentials?: any;
5913
- } | undefined;
5914
- brandName?: string | undefined;
5915
- platformId?: string | undefined;
5916
- status?: boolean | undefined;
5917
- isReloginRequired?: boolean | undefined;
5918
- connectedUserName?: string | undefined;
5919
- connectedUserId?: string | undefined;
5920
- actor?: {
5921
- id: string;
5922
- address: string | null;
5923
- name: string;
5924
- email: string;
5925
- createdAt: Date;
5926
- updatedAt: Date;
5927
- deletedAt: Date | null;
5928
- emailVerifiedAt: Date | null;
5929
- password: string;
5930
- phone: string | null;
5931
- notificationCount: number | null;
5932
- roles: {
5933
- id: string;
5934
- description: string | null;
5935
- createdAt: Date;
5936
- updatedAt: Date;
5937
- deletedAt: Date | null;
5938
- systemName: string;
5939
- displayName: string;
5940
- permissions: {
5941
- id: string;
5942
- description: string | null;
5943
- createdAt: Date;
5944
- updatedAt: Date;
5945
- deletedAt: Date | null;
5946
- systemName: string;
5947
- displayName: string;
5948
- }[];
5949
- }[];
5950
- extension: {
5951
- id: string;
5952
- createdAt: Date;
5953
- updatedAt: Date;
5954
- deletedAt: Date | null;
5955
- userId: string | null;
5956
- sipServerUrl: string;
5957
- sipUserName: string;
5958
- webphoneLoginUser: string;
5959
- extensionId: string | null;
5960
- extensionName: string;
5961
- telephonySignature: string | null;
5962
- };
5963
- } | undefined;
5964
- } | undefined;
5965
5965
  } | null;
5966
5966
  customerPhone: string | null;
5967
5967
  channelType: string | null;
@@ -6359,6 +6359,71 @@ export declare const cxLogContract: {
6359
6359
  } | null;
6360
6360
  room: {
6361
6361
  id: string;
6362
+ channel: {
6363
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6364
+ id: string;
6365
+ name: string;
6366
+ metadata: {
6367
+ id: string;
6368
+ name: string;
6369
+ accessToken: string;
6370
+ channelSecret?: string | undefined;
6371
+ additionalCredentials?: any;
6372
+ };
6373
+ status: boolean;
6374
+ createdAt: Date;
6375
+ updatedAt: Date;
6376
+ deletedAt: Date | null;
6377
+ actor: {
6378
+ id: string;
6379
+ address: string | null;
6380
+ name: string;
6381
+ email: string;
6382
+ createdAt: Date;
6383
+ updatedAt: Date;
6384
+ deletedAt: Date | null;
6385
+ emailVerifiedAt: Date | null;
6386
+ password: string;
6387
+ phone: string | null;
6388
+ notificationCount: number | null;
6389
+ roles: {
6390
+ id: string;
6391
+ description: string | null;
6392
+ createdAt: Date;
6393
+ updatedAt: Date;
6394
+ deletedAt: Date | null;
6395
+ systemName: string;
6396
+ displayName: string;
6397
+ permissions: {
6398
+ id: string;
6399
+ description: string | null;
6400
+ createdAt: Date;
6401
+ updatedAt: Date;
6402
+ deletedAt: Date | null;
6403
+ systemName: string;
6404
+ displayName: string;
6405
+ }[];
6406
+ }[];
6407
+ extension: {
6408
+ id: string;
6409
+ createdAt: Date;
6410
+ updatedAt: Date;
6411
+ deletedAt: Date | null;
6412
+ userId: string | null;
6413
+ sipServerUrl: string;
6414
+ sipUserName: string;
6415
+ webphoneLoginUser: string;
6416
+ extensionId: string | null;
6417
+ extensionName: string;
6418
+ telephonySignature: string | null;
6419
+ };
6420
+ };
6421
+ brandName: string;
6422
+ platformId: string;
6423
+ isReloginRequired: boolean;
6424
+ connectedUserName: string;
6425
+ connectedUserId: string;
6426
+ };
6362
6427
  direction: "incoming" | "outgoing" | "system";
6363
6428
  createdAt: Date;
6364
6429
  updatedAt: Date;
@@ -6570,71 +6635,6 @@ export declare const cxLogContract: {
6570
6635
  telephonySignature: string | null;
6571
6636
  };
6572
6637
  };
6573
- channel?: {
6574
- id?: string | undefined;
6575
- createdAt?: Date | undefined;
6576
- updatedAt?: Date | undefined;
6577
- deletedAt?: Date | null | undefined;
6578
- name?: string | undefined;
6579
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
6580
- metadata?: {
6581
- id: string;
6582
- name: string;
6583
- accessToken: string;
6584
- channelSecret?: string | undefined;
6585
- additionalCredentials?: any;
6586
- } | undefined;
6587
- brandName?: string | undefined;
6588
- platformId?: string | undefined;
6589
- status?: boolean | undefined;
6590
- isReloginRequired?: boolean | undefined;
6591
- connectedUserName?: string | undefined;
6592
- connectedUserId?: string | undefined;
6593
- actor?: {
6594
- id: string;
6595
- address: string | null;
6596
- name: string;
6597
- email: string;
6598
- createdAt: Date;
6599
- updatedAt: Date;
6600
- deletedAt: Date | null;
6601
- emailVerifiedAt: Date | null;
6602
- password: string;
6603
- phone: string | null;
6604
- notificationCount: number | null;
6605
- roles: {
6606
- id: string;
6607
- description: string | null;
6608
- createdAt: Date;
6609
- updatedAt: Date;
6610
- deletedAt: Date | null;
6611
- systemName: string;
6612
- displayName: string;
6613
- permissions: {
6614
- id: string;
6615
- description: string | null;
6616
- createdAt: Date;
6617
- updatedAt: Date;
6618
- deletedAt: Date | null;
6619
- systemName: string;
6620
- displayName: string;
6621
- }[];
6622
- }[];
6623
- extension: {
6624
- id: string;
6625
- createdAt: Date;
6626
- updatedAt: Date;
6627
- deletedAt: Date | null;
6628
- userId: string | null;
6629
- sipServerUrl: string;
6630
- sipUserName: string;
6631
- webphoneLoginUser: string;
6632
- extensionId: string | null;
6633
- extensionName: string;
6634
- telephonySignature: string | null;
6635
- };
6636
- } | undefined;
6637
- } | undefined;
6638
6638
  } | null;
6639
6639
  customerPhone: string | null;
6640
6640
  channelType: string | null;
@@ -7032,6 +7032,71 @@ export declare const cxLogContract: {
7032
7032
  } | null;
7033
7033
  room: {
7034
7034
  id: string;
7035
+ channel: {
7036
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7037
+ id: string;
7038
+ name: string;
7039
+ metadata: {
7040
+ id: string;
7041
+ name: string;
7042
+ accessToken: string;
7043
+ channelSecret?: string | undefined;
7044
+ additionalCredentials?: any;
7045
+ };
7046
+ status: boolean;
7047
+ createdAt: Date;
7048
+ updatedAt: Date;
7049
+ deletedAt: Date | null;
7050
+ actor: {
7051
+ id: string;
7052
+ address: string | null;
7053
+ name: string;
7054
+ email: string;
7055
+ createdAt: Date;
7056
+ updatedAt: Date;
7057
+ deletedAt: Date | null;
7058
+ emailVerifiedAt: Date | null;
7059
+ password: string;
7060
+ phone: string | null;
7061
+ notificationCount: number | null;
7062
+ roles: {
7063
+ id: string;
7064
+ description: string | null;
7065
+ createdAt: Date;
7066
+ updatedAt: Date;
7067
+ deletedAt: Date | null;
7068
+ systemName: string;
7069
+ displayName: string;
7070
+ permissions: {
7071
+ id: string;
7072
+ description: string | null;
7073
+ createdAt: Date;
7074
+ updatedAt: Date;
7075
+ deletedAt: Date | null;
7076
+ systemName: string;
7077
+ displayName: string;
7078
+ }[];
7079
+ }[];
7080
+ extension: {
7081
+ id: string;
7082
+ createdAt: Date;
7083
+ updatedAt: Date;
7084
+ deletedAt: Date | null;
7085
+ userId: string | null;
7086
+ sipServerUrl: string;
7087
+ sipUserName: string;
7088
+ webphoneLoginUser: string;
7089
+ extensionId: string | null;
7090
+ extensionName: string;
7091
+ telephonySignature: string | null;
7092
+ };
7093
+ };
7094
+ brandName: string;
7095
+ platformId: string;
7096
+ isReloginRequired: boolean;
7097
+ connectedUserName: string;
7098
+ connectedUserId: string;
7099
+ };
7035
7100
  direction: "incoming" | "outgoing" | "system";
7036
7101
  createdAt: Date;
7037
7102
  updatedAt: Date;
@@ -7243,71 +7308,6 @@ export declare const cxLogContract: {
7243
7308
  telephonySignature: string | null;
7244
7309
  };
7245
7310
  };
7246
- channel?: {
7247
- id?: string | undefined;
7248
- createdAt?: Date | undefined;
7249
- updatedAt?: Date | undefined;
7250
- deletedAt?: Date | null | undefined;
7251
- name?: string | undefined;
7252
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
7253
- metadata?: {
7254
- id: string;
7255
- name: string;
7256
- accessToken: string;
7257
- channelSecret?: string | undefined;
7258
- additionalCredentials?: any;
7259
- } | undefined;
7260
- brandName?: string | undefined;
7261
- platformId?: string | undefined;
7262
- status?: boolean | undefined;
7263
- isReloginRequired?: boolean | undefined;
7264
- connectedUserName?: string | undefined;
7265
- connectedUserId?: string | undefined;
7266
- actor?: {
7267
- id: string;
7268
- address: string | null;
7269
- name: string;
7270
- email: string;
7271
- createdAt: Date;
7272
- updatedAt: Date;
7273
- deletedAt: Date | null;
7274
- emailVerifiedAt: Date | null;
7275
- password: string;
7276
- phone: string | null;
7277
- notificationCount: number | null;
7278
- roles: {
7279
- id: string;
7280
- description: string | null;
7281
- createdAt: Date;
7282
- updatedAt: Date;
7283
- deletedAt: Date | null;
7284
- systemName: string;
7285
- displayName: string;
7286
- permissions: {
7287
- id: string;
7288
- description: string | null;
7289
- createdAt: Date;
7290
- updatedAt: Date;
7291
- deletedAt: Date | null;
7292
- systemName: string;
7293
- displayName: string;
7294
- }[];
7295
- }[];
7296
- extension: {
7297
- id: string;
7298
- createdAt: Date;
7299
- updatedAt: Date;
7300
- deletedAt: Date | null;
7301
- userId: string | null;
7302
- sipServerUrl: string;
7303
- sipUserName: string;
7304
- webphoneLoginUser: string;
7305
- extensionId: string | null;
7306
- extensionName: string;
7307
- telephonySignature: string | null;
7308
- };
7309
- } | undefined;
7310
- } | undefined;
7311
7311
  } | null;
7312
7312
  customerPhone: string | null;
7313
7313
  channelType: string | null;