@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.
- package/dist/index.js +29 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -15
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +1771 -1228
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +50 -50
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +2573 -2656
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +401 -413
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +395 -413
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +6820 -6389
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +395 -400
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +265 -271
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +399 -408
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +399 -408
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +399 -408
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +610 -619
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +3 -0
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/validation.d.ts +3 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -15,7 +15,6 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
15
15
|
startedDate: z.ZodNullable<z.ZodDate>;
|
16
16
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
17
17
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
18
|
-
disposition: z.ZodNullable<z.ZodString>;
|
19
18
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
20
19
|
id: z.ZodString;
|
21
20
|
createdAt: z.ZodDate;
|
@@ -80,7 +79,6 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
80
79
|
}, "strip", z.ZodTypeAny, {
|
81
80
|
id: string;
|
82
81
|
channel: string | null;
|
83
|
-
disposition: string | null;
|
84
82
|
direction: string | null;
|
85
83
|
createdAt: Date;
|
86
84
|
updatedAt: Date;
|
@@ -114,7 +112,6 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
114
112
|
}, {
|
115
113
|
id: string;
|
116
114
|
channel: string | null;
|
117
|
-
disposition: string | null;
|
118
115
|
direction: string | null;
|
119
116
|
createdAt: Date;
|
120
117
|
updatedAt: Date;
|
@@ -161,7 +158,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
161
158
|
startedDate: z.ZodNullable<z.ZodString>;
|
162
159
|
handledTime: z.ZodNullable<z.ZodString>;
|
163
160
|
firstResponseTime: z.ZodNullable<z.ZodString>;
|
164
|
-
disposition: z.ZodNullable<z.ZodString>;
|
165
161
|
slaMeet: z.ZodNullable<z.ZodString>;
|
166
162
|
evaluateForm: z.ZodNullable<z.ZodObject<{
|
167
163
|
id: z.ZodString;
|
@@ -1604,14 +1600,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1604
1600
|
telephonySignature: string | null;
|
1605
1601
|
};
|
1606
1602
|
}>;
|
1607
|
-
channel: z.
|
1608
|
-
id: z.
|
1609
|
-
createdAt: z.
|
1610
|
-
updatedAt: z.
|
1611
|
-
deletedAt: z.
|
1612
|
-
name: z.
|
1613
|
-
type: z.
|
1614
|
-
metadata: z.
|
1603
|
+
channel: z.ZodObject<{
|
1604
|
+
id: z.ZodString;
|
1605
|
+
createdAt: z.ZodDate;
|
1606
|
+
updatedAt: z.ZodDate;
|
1607
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1608
|
+
name: z.ZodString;
|
1609
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
1610
|
+
metadata: z.ZodObject<{
|
1615
1611
|
id: z.ZodString;
|
1616
1612
|
name: z.ZodString;
|
1617
1613
|
accessToken: z.ZodString;
|
@@ -1629,14 +1625,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1629
1625
|
accessToken: string;
|
1630
1626
|
channelSecret?: string | undefined;
|
1631
1627
|
additionalCredentials?: any;
|
1632
|
-
}
|
1633
|
-
brandName: z.
|
1634
|
-
platformId: z.
|
1635
|
-
status: z.
|
1636
|
-
isReloginRequired: z.
|
1637
|
-
connectedUserName: z.
|
1638
|
-
connectedUserId: z.
|
1639
|
-
actor: z.
|
1628
|
+
}>;
|
1629
|
+
brandName: z.ZodString;
|
1630
|
+
platformId: z.ZodString;
|
1631
|
+
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
1632
|
+
isReloginRequired: z.ZodBoolean;
|
1633
|
+
connectedUserName: z.ZodString;
|
1634
|
+
connectedUserId: z.ZodString;
|
1635
|
+
actor: z.ZodObject<{
|
1640
1636
|
id: z.ZodString;
|
1641
1637
|
createdAt: z.ZodDate;
|
1642
1638
|
updatedAt: z.ZodDate;
|
@@ -1839,28 +1835,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1839
1835
|
extensionName: string;
|
1840
1836
|
telephonySignature: string | null;
|
1841
1837
|
};
|
1842
|
-
}
|
1838
|
+
}>;
|
1843
1839
|
}, "strip", z.ZodTypeAny, {
|
1844
|
-
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
name?: string | undefined;
|
1849
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1850
|
-
metadata?: {
|
1840
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1841
|
+
id: string;
|
1842
|
+
name: string;
|
1843
|
+
metadata: {
|
1851
1844
|
id: string;
|
1852
1845
|
name: string;
|
1853
1846
|
accessToken: string;
|
1854
1847
|
channelSecret?: string | undefined;
|
1855
1848
|
additionalCredentials?: any;
|
1856
|
-
}
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
connectedUserId?: string | undefined;
|
1863
|
-
actor?: {
|
1849
|
+
};
|
1850
|
+
status: boolean;
|
1851
|
+
createdAt: Date;
|
1852
|
+
updatedAt: Date;
|
1853
|
+
deletedAt: Date | null;
|
1854
|
+
actor: {
|
1864
1855
|
id: string;
|
1865
1856
|
address: string | null;
|
1866
1857
|
name: string;
|
@@ -1903,28 +1894,28 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1903
1894
|
extensionName: string;
|
1904
1895
|
telephonySignature: string | null;
|
1905
1896
|
};
|
1906
|
-
}
|
1897
|
+
};
|
1898
|
+
brandName: string;
|
1899
|
+
platformId: string;
|
1900
|
+
isReloginRequired: boolean;
|
1901
|
+
connectedUserName: string;
|
1902
|
+
connectedUserId: string;
|
1907
1903
|
}, {
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
name?: string | undefined;
|
1913
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
1914
|
-
metadata?: {
|
1904
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1905
|
+
id: string;
|
1906
|
+
name: string;
|
1907
|
+
metadata: {
|
1915
1908
|
id: string;
|
1916
1909
|
name: string;
|
1917
1910
|
accessToken: string;
|
1918
1911
|
channelSecret?: string | undefined;
|
1919
1912
|
additionalCredentials?: any;
|
1920
|
-
}
|
1921
|
-
|
1922
|
-
|
1923
|
-
|
1924
|
-
|
1925
|
-
|
1926
|
-
connectedUserId?: string | undefined;
|
1927
|
-
actor?: {
|
1913
|
+
};
|
1914
|
+
status: boolean;
|
1915
|
+
createdAt: Date;
|
1916
|
+
updatedAt: Date;
|
1917
|
+
deletedAt: Date | null;
|
1918
|
+
actor: {
|
1928
1919
|
id: string;
|
1929
1920
|
address: string | null;
|
1930
1921
|
name: string;
|
@@ -1967,10 +1958,80 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1967
1958
|
extensionName: string;
|
1968
1959
|
telephonySignature: string | null;
|
1969
1960
|
};
|
1970
|
-
}
|
1971
|
-
|
1961
|
+
};
|
1962
|
+
brandName: string;
|
1963
|
+
platformId: string;
|
1964
|
+
isReloginRequired: boolean;
|
1965
|
+
connectedUserName: string;
|
1966
|
+
connectedUserId: string;
|
1967
|
+
}>;
|
1972
1968
|
}, "strip", z.ZodTypeAny, {
|
1973
1969
|
id: string;
|
1970
|
+
channel: {
|
1971
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1972
|
+
id: string;
|
1973
|
+
name: string;
|
1974
|
+
metadata: {
|
1975
|
+
id: string;
|
1976
|
+
name: string;
|
1977
|
+
accessToken: string;
|
1978
|
+
channelSecret?: string | undefined;
|
1979
|
+
additionalCredentials?: any;
|
1980
|
+
};
|
1981
|
+
status: boolean;
|
1982
|
+
createdAt: Date;
|
1983
|
+
updatedAt: Date;
|
1984
|
+
deletedAt: Date | null;
|
1985
|
+
actor: {
|
1986
|
+
id: string;
|
1987
|
+
address: string | null;
|
1988
|
+
name: string;
|
1989
|
+
email: string;
|
1990
|
+
createdAt: Date;
|
1991
|
+
updatedAt: Date;
|
1992
|
+
deletedAt: Date | null;
|
1993
|
+
emailVerifiedAt: Date | null;
|
1994
|
+
password: string;
|
1995
|
+
phone: string | null;
|
1996
|
+
notificationCount: number | null;
|
1997
|
+
roles: {
|
1998
|
+
id: string;
|
1999
|
+
description: string | null;
|
2000
|
+
createdAt: Date;
|
2001
|
+
updatedAt: Date;
|
2002
|
+
deletedAt: Date | null;
|
2003
|
+
systemName: string;
|
2004
|
+
displayName: string;
|
2005
|
+
permissions: {
|
2006
|
+
id: string;
|
2007
|
+
description: string | null;
|
2008
|
+
createdAt: Date;
|
2009
|
+
updatedAt: Date;
|
2010
|
+
deletedAt: Date | null;
|
2011
|
+
systemName: string;
|
2012
|
+
displayName: string;
|
2013
|
+
}[];
|
2014
|
+
}[];
|
2015
|
+
extension: {
|
2016
|
+
id: string;
|
2017
|
+
createdAt: Date;
|
2018
|
+
updatedAt: Date;
|
2019
|
+
deletedAt: Date | null;
|
2020
|
+
userId: string | null;
|
2021
|
+
sipServerUrl: string;
|
2022
|
+
sipUserName: string;
|
2023
|
+
webphoneLoginUser: string;
|
2024
|
+
extensionId: string | null;
|
2025
|
+
extensionName: string;
|
2026
|
+
telephonySignature: string | null;
|
2027
|
+
};
|
2028
|
+
};
|
2029
|
+
brandName: string;
|
2030
|
+
platformId: string;
|
2031
|
+
isReloginRequired: boolean;
|
2032
|
+
connectedUserName: string;
|
2033
|
+
connectedUserId: string;
|
2034
|
+
};
|
1974
2035
|
direction: "incoming" | "outgoing" | "system";
|
1975
2036
|
createdAt: Date;
|
1976
2037
|
updatedAt: Date;
|
@@ -2182,27 +2243,24 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2182
2243
|
telephonySignature: string | null;
|
2183
2244
|
};
|
2184
2245
|
};
|
2185
|
-
|
2186
|
-
|
2187
|
-
|
2188
|
-
|
2189
|
-
|
2190
|
-
name
|
2191
|
-
|
2192
|
-
metadata?: {
|
2246
|
+
}, {
|
2247
|
+
id: string;
|
2248
|
+
channel: {
|
2249
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2250
|
+
id: string;
|
2251
|
+
name: string;
|
2252
|
+
metadata: {
|
2193
2253
|
id: string;
|
2194
2254
|
name: string;
|
2195
2255
|
accessToken: string;
|
2196
2256
|
channelSecret?: string | undefined;
|
2197
2257
|
additionalCredentials?: any;
|
2198
|
-
}
|
2199
|
-
|
2200
|
-
|
2201
|
-
|
2202
|
-
|
2203
|
-
|
2204
|
-
connectedUserId?: string | undefined;
|
2205
|
-
actor?: {
|
2258
|
+
};
|
2259
|
+
status: boolean;
|
2260
|
+
createdAt: Date;
|
2261
|
+
updatedAt: Date;
|
2262
|
+
deletedAt: Date | null;
|
2263
|
+
actor: {
|
2206
2264
|
id: string;
|
2207
2265
|
address: string | null;
|
2208
2266
|
name: string;
|
@@ -2245,10 +2303,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2245
2303
|
extensionName: string;
|
2246
2304
|
telephonySignature: string | null;
|
2247
2305
|
};
|
2248
|
-
}
|
2249
|
-
|
2250
|
-
|
2251
|
-
|
2306
|
+
};
|
2307
|
+
brandName: string;
|
2308
|
+
platformId: string;
|
2309
|
+
isReloginRequired: boolean;
|
2310
|
+
connectedUserName: string;
|
2311
|
+
connectedUserId: string;
|
2312
|
+
};
|
2252
2313
|
direction: "incoming" | "outgoing" | "system";
|
2253
2314
|
createdAt: Date;
|
2254
2315
|
updatedAt: Date;
|
@@ -2460,71 +2521,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2460
2521
|
telephonySignature: string | null;
|
2461
2522
|
};
|
2462
2523
|
};
|
2463
|
-
channel?: {
|
2464
|
-
id?: string | undefined;
|
2465
|
-
createdAt?: Date | undefined;
|
2466
|
-
updatedAt?: Date | undefined;
|
2467
|
-
deletedAt?: Date | null | undefined;
|
2468
|
-
name?: string | undefined;
|
2469
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2470
|
-
metadata?: {
|
2471
|
-
id: string;
|
2472
|
-
name: string;
|
2473
|
-
accessToken: string;
|
2474
|
-
channelSecret?: string | undefined;
|
2475
|
-
additionalCredentials?: any;
|
2476
|
-
} | undefined;
|
2477
|
-
brandName?: string | undefined;
|
2478
|
-
platformId?: string | undefined;
|
2479
|
-
status?: boolean | undefined;
|
2480
|
-
isReloginRequired?: boolean | undefined;
|
2481
|
-
connectedUserName?: string | undefined;
|
2482
|
-
connectedUserId?: string | undefined;
|
2483
|
-
actor?: {
|
2484
|
-
id: string;
|
2485
|
-
address: string | null;
|
2486
|
-
name: string;
|
2487
|
-
email: string;
|
2488
|
-
createdAt: Date;
|
2489
|
-
updatedAt: Date;
|
2490
|
-
deletedAt: Date | null;
|
2491
|
-
emailVerifiedAt: Date | null;
|
2492
|
-
password: string;
|
2493
|
-
phone: string | null;
|
2494
|
-
notificationCount: number | null;
|
2495
|
-
roles: {
|
2496
|
-
id: string;
|
2497
|
-
description: string | null;
|
2498
|
-
createdAt: Date;
|
2499
|
-
updatedAt: Date;
|
2500
|
-
deletedAt: Date | null;
|
2501
|
-
systemName: string;
|
2502
|
-
displayName: string;
|
2503
|
-
permissions: {
|
2504
|
-
id: string;
|
2505
|
-
description: string | null;
|
2506
|
-
createdAt: Date;
|
2507
|
-
updatedAt: Date;
|
2508
|
-
deletedAt: Date | null;
|
2509
|
-
systemName: string;
|
2510
|
-
displayName: string;
|
2511
|
-
}[];
|
2512
|
-
}[];
|
2513
|
-
extension: {
|
2514
|
-
id: string;
|
2515
|
-
createdAt: Date;
|
2516
|
-
updatedAt: Date;
|
2517
|
-
deletedAt: Date | null;
|
2518
|
-
userId: string | null;
|
2519
|
-
sipServerUrl: string;
|
2520
|
-
sipUserName: string;
|
2521
|
-
webphoneLoginUser: string;
|
2522
|
-
extensionId: string | null;
|
2523
|
-
extensionName: string;
|
2524
|
-
telephonySignature: string | null;
|
2525
|
-
};
|
2526
|
-
} | undefined;
|
2527
|
-
} | undefined;
|
2528
2524
|
}>>;
|
2529
2525
|
telephonyCdr: z.ZodNullable<z.ZodObject<{
|
2530
2526
|
id: z.ZodString;
|
@@ -4931,7 +4927,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4931
4927
|
}, "strip", z.ZodTypeAny, {
|
4932
4928
|
id: string;
|
4933
4929
|
channel: string | null;
|
4934
|
-
disposition: string | null;
|
4935
4930
|
direction: string | null;
|
4936
4931
|
createdAt: Date;
|
4937
4932
|
updatedAt: Date;
|
@@ -5058,6 +5053,71 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5058
5053
|
} | null;
|
5059
5054
|
room: {
|
5060
5055
|
id: string;
|
5056
|
+
channel: {
|
5057
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5058
|
+
id: string;
|
5059
|
+
name: string;
|
5060
|
+
metadata: {
|
5061
|
+
id: string;
|
5062
|
+
name: string;
|
5063
|
+
accessToken: string;
|
5064
|
+
channelSecret?: string | undefined;
|
5065
|
+
additionalCredentials?: any;
|
5066
|
+
};
|
5067
|
+
status: boolean;
|
5068
|
+
createdAt: Date;
|
5069
|
+
updatedAt: Date;
|
5070
|
+
deletedAt: Date | null;
|
5071
|
+
actor: {
|
5072
|
+
id: string;
|
5073
|
+
address: string | null;
|
5074
|
+
name: string;
|
5075
|
+
email: string;
|
5076
|
+
createdAt: Date;
|
5077
|
+
updatedAt: Date;
|
5078
|
+
deletedAt: Date | null;
|
5079
|
+
emailVerifiedAt: Date | null;
|
5080
|
+
password: string;
|
5081
|
+
phone: string | null;
|
5082
|
+
notificationCount: number | null;
|
5083
|
+
roles: {
|
5084
|
+
id: string;
|
5085
|
+
description: string | null;
|
5086
|
+
createdAt: Date;
|
5087
|
+
updatedAt: Date;
|
5088
|
+
deletedAt: Date | null;
|
5089
|
+
systemName: string;
|
5090
|
+
displayName: string;
|
5091
|
+
permissions: {
|
5092
|
+
id: string;
|
5093
|
+
description: string | null;
|
5094
|
+
createdAt: Date;
|
5095
|
+
updatedAt: Date;
|
5096
|
+
deletedAt: Date | null;
|
5097
|
+
systemName: string;
|
5098
|
+
displayName: string;
|
5099
|
+
}[];
|
5100
|
+
}[];
|
5101
|
+
extension: {
|
5102
|
+
id: string;
|
5103
|
+
createdAt: Date;
|
5104
|
+
updatedAt: Date;
|
5105
|
+
deletedAt: Date | null;
|
5106
|
+
userId: string | null;
|
5107
|
+
sipServerUrl: string;
|
5108
|
+
sipUserName: string;
|
5109
|
+
webphoneLoginUser: string;
|
5110
|
+
extensionId: string | null;
|
5111
|
+
extensionName: string;
|
5112
|
+
telephonySignature: string | null;
|
5113
|
+
};
|
5114
|
+
};
|
5115
|
+
brandName: string;
|
5116
|
+
platformId: string;
|
5117
|
+
isReloginRequired: boolean;
|
5118
|
+
connectedUserName: string;
|
5119
|
+
connectedUserId: string;
|
5120
|
+
};
|
5061
5121
|
direction: "incoming" | "outgoing" | "system";
|
5062
5122
|
createdAt: Date;
|
5063
5123
|
updatedAt: Date;
|
@@ -5269,71 +5329,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5269
5329
|
telephonySignature: string | null;
|
5270
5330
|
};
|
5271
5331
|
};
|
5272
|
-
channel?: {
|
5273
|
-
id?: string | undefined;
|
5274
|
-
createdAt?: Date | undefined;
|
5275
|
-
updatedAt?: Date | undefined;
|
5276
|
-
deletedAt?: Date | null | undefined;
|
5277
|
-
name?: string | undefined;
|
5278
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5279
|
-
metadata?: {
|
5280
|
-
id: string;
|
5281
|
-
name: string;
|
5282
|
-
accessToken: string;
|
5283
|
-
channelSecret?: string | undefined;
|
5284
|
-
additionalCredentials?: any;
|
5285
|
-
} | undefined;
|
5286
|
-
brandName?: string | undefined;
|
5287
|
-
platformId?: string | undefined;
|
5288
|
-
status?: boolean | undefined;
|
5289
|
-
isReloginRequired?: boolean | undefined;
|
5290
|
-
connectedUserName?: string | undefined;
|
5291
|
-
connectedUserId?: string | undefined;
|
5292
|
-
actor?: {
|
5293
|
-
id: string;
|
5294
|
-
address: string | null;
|
5295
|
-
name: string;
|
5296
|
-
email: string;
|
5297
|
-
createdAt: Date;
|
5298
|
-
updatedAt: Date;
|
5299
|
-
deletedAt: Date | null;
|
5300
|
-
emailVerifiedAt: Date | null;
|
5301
|
-
password: string;
|
5302
|
-
phone: string | null;
|
5303
|
-
notificationCount: number | null;
|
5304
|
-
roles: {
|
5305
|
-
id: string;
|
5306
|
-
description: string | null;
|
5307
|
-
createdAt: Date;
|
5308
|
-
updatedAt: Date;
|
5309
|
-
deletedAt: Date | null;
|
5310
|
-
systemName: string;
|
5311
|
-
displayName: string;
|
5312
|
-
permissions: {
|
5313
|
-
id: string;
|
5314
|
-
description: string | null;
|
5315
|
-
createdAt: Date;
|
5316
|
-
updatedAt: Date;
|
5317
|
-
deletedAt: Date | null;
|
5318
|
-
systemName: string;
|
5319
|
-
displayName: string;
|
5320
|
-
}[];
|
5321
|
-
}[];
|
5322
|
-
extension: {
|
5323
|
-
id: string;
|
5324
|
-
createdAt: Date;
|
5325
|
-
updatedAt: Date;
|
5326
|
-
deletedAt: Date | null;
|
5327
|
-
userId: string | null;
|
5328
|
-
sipServerUrl: string;
|
5329
|
-
sipUserName: string;
|
5330
|
-
webphoneLoginUser: string;
|
5331
|
-
extensionId: string | null;
|
5332
|
-
extensionName: string;
|
5333
|
-
telephonySignature: string | null;
|
5334
|
-
};
|
5335
|
-
} | undefined;
|
5336
|
-
} | undefined;
|
5337
5332
|
} | null;
|
5338
5333
|
customerPhone: string | null;
|
5339
5334
|
channelType: string | null;
|
@@ -5599,7 +5594,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5599
5594
|
}, {
|
5600
5595
|
id: string;
|
5601
5596
|
channel: string | null;
|
5602
|
-
disposition: string | null;
|
5603
5597
|
direction: string | null;
|
5604
5598
|
createdAt: Date;
|
5605
5599
|
updatedAt: Date;
|
@@ -5726,6 +5720,71 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5726
5720
|
} | null;
|
5727
5721
|
room: {
|
5728
5722
|
id: string;
|
5723
|
+
channel: {
|
5724
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5725
|
+
id: string;
|
5726
|
+
name: string;
|
5727
|
+
metadata: {
|
5728
|
+
id: string;
|
5729
|
+
name: string;
|
5730
|
+
accessToken: string;
|
5731
|
+
channelSecret?: string | undefined;
|
5732
|
+
additionalCredentials?: any;
|
5733
|
+
};
|
5734
|
+
status: boolean;
|
5735
|
+
createdAt: Date;
|
5736
|
+
updatedAt: Date;
|
5737
|
+
deletedAt: Date | null;
|
5738
|
+
actor: {
|
5739
|
+
id: string;
|
5740
|
+
address: string | null;
|
5741
|
+
name: string;
|
5742
|
+
email: string;
|
5743
|
+
createdAt: Date;
|
5744
|
+
updatedAt: Date;
|
5745
|
+
deletedAt: Date | null;
|
5746
|
+
emailVerifiedAt: Date | null;
|
5747
|
+
password: string;
|
5748
|
+
phone: string | null;
|
5749
|
+
notificationCount: number | null;
|
5750
|
+
roles: {
|
5751
|
+
id: string;
|
5752
|
+
description: string | null;
|
5753
|
+
createdAt: Date;
|
5754
|
+
updatedAt: Date;
|
5755
|
+
deletedAt: Date | null;
|
5756
|
+
systemName: string;
|
5757
|
+
displayName: string;
|
5758
|
+
permissions: {
|
5759
|
+
id: string;
|
5760
|
+
description: string | null;
|
5761
|
+
createdAt: Date;
|
5762
|
+
updatedAt: Date;
|
5763
|
+
deletedAt: Date | null;
|
5764
|
+
systemName: string;
|
5765
|
+
displayName: string;
|
5766
|
+
}[];
|
5767
|
+
}[];
|
5768
|
+
extension: {
|
5769
|
+
id: string;
|
5770
|
+
createdAt: Date;
|
5771
|
+
updatedAt: Date;
|
5772
|
+
deletedAt: Date | null;
|
5773
|
+
userId: string | null;
|
5774
|
+
sipServerUrl: string;
|
5775
|
+
sipUserName: string;
|
5776
|
+
webphoneLoginUser: string;
|
5777
|
+
extensionId: string | null;
|
5778
|
+
extensionName: string;
|
5779
|
+
telephonySignature: string | null;
|
5780
|
+
};
|
5781
|
+
};
|
5782
|
+
brandName: string;
|
5783
|
+
platformId: string;
|
5784
|
+
isReloginRequired: boolean;
|
5785
|
+
connectedUserName: string;
|
5786
|
+
connectedUserId: string;
|
5787
|
+
};
|
5729
5788
|
direction: "incoming" | "outgoing" | "system";
|
5730
5789
|
createdAt: Date;
|
5731
5790
|
updatedAt: Date;
|
@@ -5937,71 +5996,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5937
5996
|
telephonySignature: string | null;
|
5938
5997
|
};
|
5939
5998
|
};
|
5940
|
-
channel?: {
|
5941
|
-
id?: string | undefined;
|
5942
|
-
createdAt?: Date | undefined;
|
5943
|
-
updatedAt?: Date | undefined;
|
5944
|
-
deletedAt?: Date | null | undefined;
|
5945
|
-
name?: string | undefined;
|
5946
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5947
|
-
metadata?: {
|
5948
|
-
id: string;
|
5949
|
-
name: string;
|
5950
|
-
accessToken: string;
|
5951
|
-
channelSecret?: string | undefined;
|
5952
|
-
additionalCredentials?: any;
|
5953
|
-
} | undefined;
|
5954
|
-
brandName?: string | undefined;
|
5955
|
-
platformId?: string | undefined;
|
5956
|
-
status?: boolean | undefined;
|
5957
|
-
isReloginRequired?: boolean | undefined;
|
5958
|
-
connectedUserName?: string | undefined;
|
5959
|
-
connectedUserId?: string | undefined;
|
5960
|
-
actor?: {
|
5961
|
-
id: string;
|
5962
|
-
address: string | null;
|
5963
|
-
name: string;
|
5964
|
-
email: string;
|
5965
|
-
createdAt: Date;
|
5966
|
-
updatedAt: Date;
|
5967
|
-
deletedAt: Date | null;
|
5968
|
-
emailVerifiedAt: Date | null;
|
5969
|
-
password: string;
|
5970
|
-
phone: string | null;
|
5971
|
-
notificationCount: number | null;
|
5972
|
-
roles: {
|
5973
|
-
id: string;
|
5974
|
-
description: string | null;
|
5975
|
-
createdAt: Date;
|
5976
|
-
updatedAt: Date;
|
5977
|
-
deletedAt: Date | null;
|
5978
|
-
systemName: string;
|
5979
|
-
displayName: string;
|
5980
|
-
permissions: {
|
5981
|
-
id: string;
|
5982
|
-
description: string | null;
|
5983
|
-
createdAt: Date;
|
5984
|
-
updatedAt: Date;
|
5985
|
-
deletedAt: Date | null;
|
5986
|
-
systemName: string;
|
5987
|
-
displayName: string;
|
5988
|
-
}[];
|
5989
|
-
}[];
|
5990
|
-
extension: {
|
5991
|
-
id: string;
|
5992
|
-
createdAt: Date;
|
5993
|
-
updatedAt: Date;
|
5994
|
-
deletedAt: Date | null;
|
5995
|
-
userId: string | null;
|
5996
|
-
sipServerUrl: string;
|
5997
|
-
sipUserName: string;
|
5998
|
-
webphoneLoginUser: string;
|
5999
|
-
extensionId: string | null;
|
6000
|
-
extensionName: string;
|
6001
|
-
telephonySignature: string | null;
|
6002
|
-
};
|
6003
|
-
} | undefined;
|
6004
|
-
} | undefined;
|
6005
5999
|
} | null;
|
6006
6000
|
customerPhone: string | null;
|
6007
6001
|
channelType: string | null;
|