@kl1/contracts 1.1.62-uat → 1.1.64-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -3
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +3344 -2524
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +1698 -1874
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +1454 -1630
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/subscription/index.d.ts +996 -0
- package/dist/src/subscription/index.d.ts.map +1 -1
- package/dist/src/subscription/schema.d.ts +1331 -4
- package/dist/src/subscription/schema.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1880,7 +1880,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1880
1880
|
telephonySignature: string | null;
|
1881
1881
|
};
|
1882
1882
|
}>;
|
1883
|
-
|
1883
|
+
assignee: z.ZodNullable<z.ZodObject<{
|
1884
1884
|
id: z.ZodString;
|
1885
1885
|
createdAt: z.ZodDate;
|
1886
1886
|
updatedAt: z.ZodDate;
|
@@ -2084,27 +2084,73 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2084
2084
|
telephonySignature: string | null;
|
2085
2085
|
};
|
2086
2086
|
}>>;
|
2087
|
-
|
2087
|
+
channel: z.ZodObject<{
|
2088
2088
|
id: z.ZodString;
|
2089
2089
|
createdAt: z.ZodDate;
|
2090
2090
|
updatedAt: z.ZodDate;
|
2091
2091
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2092
2092
|
name: z.ZodString;
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
|
2097
|
-
|
2098
|
-
|
2099
|
-
|
2093
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed"]>;
|
2094
|
+
metadata: z.ZodObject<{
|
2095
|
+
id: z.ZodString;
|
2096
|
+
name: z.ZodString;
|
2097
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
2098
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
2099
|
+
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
2100
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2101
|
+
}, "strip", z.ZodTypeAny, {
|
2102
|
+
id: string;
|
2103
|
+
name: string;
|
2104
|
+
accessToken?: string | undefined;
|
2105
|
+
channelSecret?: string | undefined;
|
2106
|
+
additionalCredentials?: any;
|
2107
|
+
lineRichMenuId?: string | null | undefined;
|
2108
|
+
}, {
|
2109
|
+
id: string;
|
2110
|
+
name: string;
|
2111
|
+
accessToken?: string | undefined;
|
2112
|
+
channelSecret?: string | undefined;
|
2113
|
+
additionalCredentials?: any;
|
2114
|
+
lineRichMenuId?: string | null | undefined;
|
2115
|
+
}>;
|
2116
|
+
brandName: z.ZodString;
|
2117
|
+
platformId: z.ZodString;
|
2118
|
+
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
2119
|
+
isReloginRequired: z.ZodBoolean;
|
2120
|
+
connectedUserName: z.ZodString;
|
2121
|
+
connectedUserId: z.ZodString;
|
2122
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
2123
|
+
id: z.ZodString;
|
2124
|
+
name: z.ZodString;
|
2125
|
+
botId: z.ZodString;
|
2126
|
+
integrationId: z.ZodString;
|
2127
|
+
accessToken: z.ZodString;
|
2128
|
+
}, "strip", z.ZodTypeAny, {
|
2129
|
+
id: string;
|
2130
|
+
name: string;
|
2131
|
+
accessToken: string;
|
2132
|
+
botId: string;
|
2133
|
+
integrationId: string;
|
2134
|
+
}, {
|
2135
|
+
id: string;
|
2136
|
+
name: string;
|
2137
|
+
accessToken: string;
|
2138
|
+
botId: string;
|
2139
|
+
integrationId: string;
|
2140
|
+
}>>;
|
2141
|
+
actor: z.ZodObject<{
|
2100
2142
|
id: z.ZodString;
|
2101
2143
|
createdAt: z.ZodDate;
|
2102
2144
|
updatedAt: z.ZodDate;
|
2103
2145
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2104
|
-
|
2105
|
-
|
2106
|
-
|
2107
|
-
|
2146
|
+
name: z.ZodString;
|
2147
|
+
email: z.ZodString;
|
2148
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
2149
|
+
password: z.ZodString;
|
2150
|
+
address: z.ZodNullable<z.ZodString>;
|
2151
|
+
phone: z.ZodNullable<z.ZodString>;
|
2152
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
2153
|
+
roles: z.ZodArray<z.ZodObject<{
|
2108
2154
|
id: z.ZodString;
|
2109
2155
|
createdAt: z.ZodDate;
|
2110
2156
|
updatedAt: z.ZodDate;
|
@@ -2112,6 +2158,31 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2112
2158
|
systemName: z.ZodString;
|
2113
2159
|
displayName: z.ZodString;
|
2114
2160
|
description: z.ZodNullable<z.ZodString>;
|
2161
|
+
permissions: z.ZodArray<z.ZodObject<{
|
2162
|
+
id: z.ZodString;
|
2163
|
+
createdAt: z.ZodDate;
|
2164
|
+
updatedAt: z.ZodDate;
|
2165
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2166
|
+
systemName: z.ZodString;
|
2167
|
+
displayName: z.ZodString;
|
2168
|
+
description: z.ZodNullable<z.ZodString>;
|
2169
|
+
}, "strip", z.ZodTypeAny, {
|
2170
|
+
id: string;
|
2171
|
+
description: string | null;
|
2172
|
+
createdAt: Date;
|
2173
|
+
updatedAt: Date;
|
2174
|
+
deletedAt: Date | null;
|
2175
|
+
systemName: string;
|
2176
|
+
displayName: string;
|
2177
|
+
}, {
|
2178
|
+
id: string;
|
2179
|
+
description: string | null;
|
2180
|
+
createdAt: Date;
|
2181
|
+
updatedAt: Date;
|
2182
|
+
deletedAt: Date | null;
|
2183
|
+
systemName: string;
|
2184
|
+
displayName: string;
|
2185
|
+
}>, "many">;
|
2115
2186
|
}, "strip", z.ZodTypeAny, {
|
2116
2187
|
id: string;
|
2117
2188
|
description: string | null;
|
@@ -2120,6 +2191,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2120
2191
|
deletedAt: Date | null;
|
2121
2192
|
systemName: string;
|
2122
2193
|
displayName: string;
|
2194
|
+
permissions: {
|
2195
|
+
id: string;
|
2196
|
+
description: string | null;
|
2197
|
+
createdAt: Date;
|
2198
|
+
updatedAt: Date;
|
2199
|
+
deletedAt: Date | null;
|
2200
|
+
systemName: string;
|
2201
|
+
displayName: string;
|
2202
|
+
}[];
|
2123
2203
|
}, {
|
2124
2204
|
id: string;
|
2125
2205
|
description: string | null;
|
@@ -2128,16 +2208,66 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2128
2208
|
deletedAt: Date | null;
|
2129
2209
|
systemName: string;
|
2130
2210
|
displayName: string;
|
2211
|
+
permissions: {
|
2212
|
+
id: string;
|
2213
|
+
description: string | null;
|
2214
|
+
createdAt: Date;
|
2215
|
+
updatedAt: Date;
|
2216
|
+
deletedAt: Date | null;
|
2217
|
+
systemName: string;
|
2218
|
+
displayName: string;
|
2219
|
+
}[];
|
2131
2220
|
}>, "many">;
|
2221
|
+
extension: z.ZodObject<{
|
2222
|
+
id: z.ZodString;
|
2223
|
+
createdAt: z.ZodDate;
|
2224
|
+
updatedAt: z.ZodDate;
|
2225
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2226
|
+
userId: z.ZodNullable<z.ZodString>;
|
2227
|
+
sipServerUrl: z.ZodString;
|
2228
|
+
sipUserName: z.ZodString;
|
2229
|
+
webphoneLoginUser: z.ZodString;
|
2230
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
2231
|
+
extensionName: z.ZodString;
|
2232
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
2233
|
+
}, "strip", z.ZodTypeAny, {
|
2234
|
+
id: string;
|
2235
|
+
createdAt: Date;
|
2236
|
+
updatedAt: Date;
|
2237
|
+
deletedAt: Date | null;
|
2238
|
+
userId: string | null;
|
2239
|
+
sipServerUrl: string;
|
2240
|
+
sipUserName: string;
|
2241
|
+
webphoneLoginUser: string;
|
2242
|
+
extensionId: string | null;
|
2243
|
+
extensionName: string;
|
2244
|
+
telephonySignature: string | null;
|
2245
|
+
}, {
|
2246
|
+
id: string;
|
2247
|
+
createdAt: Date;
|
2248
|
+
updatedAt: Date;
|
2249
|
+
deletedAt: Date | null;
|
2250
|
+
userId: string | null;
|
2251
|
+
sipServerUrl: string;
|
2252
|
+
sipUserName: string;
|
2253
|
+
webphoneLoginUser: string;
|
2254
|
+
extensionId: string | null;
|
2255
|
+
extensionName: string;
|
2256
|
+
telephonySignature: string | null;
|
2257
|
+
}>;
|
2132
2258
|
}, "strip", z.ZodTypeAny, {
|
2133
2259
|
id: string;
|
2134
|
-
|
2260
|
+
address: string | null;
|
2261
|
+
name: string;
|
2262
|
+
email: string;
|
2135
2263
|
createdAt: Date;
|
2136
2264
|
updatedAt: Date;
|
2137
2265
|
deletedAt: Date | null;
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2266
|
+
emailVerifiedAt: Date | null;
|
2267
|
+
password: string;
|
2268
|
+
phone: string | null;
|
2269
|
+
notificationCount: number | null;
|
2270
|
+
roles: {
|
2141
2271
|
id: string;
|
2142
2272
|
description: string | null;
|
2143
2273
|
createdAt: Date;
|
@@ -2145,16 +2275,42 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2145
2275
|
deletedAt: Date | null;
|
2146
2276
|
systemName: string;
|
2147
2277
|
displayName: string;
|
2278
|
+
permissions: {
|
2279
|
+
id: string;
|
2280
|
+
description: string | null;
|
2281
|
+
createdAt: Date;
|
2282
|
+
updatedAt: Date;
|
2283
|
+
deletedAt: Date | null;
|
2284
|
+
systemName: string;
|
2285
|
+
displayName: string;
|
2286
|
+
}[];
|
2148
2287
|
}[];
|
2288
|
+
extension: {
|
2289
|
+
id: string;
|
2290
|
+
createdAt: Date;
|
2291
|
+
updatedAt: Date;
|
2292
|
+
deletedAt: Date | null;
|
2293
|
+
userId: string | null;
|
2294
|
+
sipServerUrl: string;
|
2295
|
+
sipUserName: string;
|
2296
|
+
webphoneLoginUser: string;
|
2297
|
+
extensionId: string | null;
|
2298
|
+
extensionName: string;
|
2299
|
+
telephonySignature: string | null;
|
2300
|
+
};
|
2149
2301
|
}, {
|
2150
2302
|
id: string;
|
2151
|
-
|
2303
|
+
address: string | null;
|
2304
|
+
name: string;
|
2305
|
+
email: string;
|
2152
2306
|
createdAt: Date;
|
2153
2307
|
updatedAt: Date;
|
2154
2308
|
deletedAt: Date | null;
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2309
|
+
emailVerifiedAt: Date | null;
|
2310
|
+
password: string;
|
2311
|
+
phone: string | null;
|
2312
|
+
notificationCount: number | null;
|
2313
|
+
roles: {
|
2158
2314
|
id: string;
|
2159
2315
|
description: string | null;
|
2160
2316
|
createdAt: Date;
|
@@ -2162,66 +2318,131 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2162
2318
|
deletedAt: Date | null;
|
2163
2319
|
systemName: string;
|
2164
2320
|
displayName: string;
|
2321
|
+
permissions: {
|
2322
|
+
id: string;
|
2323
|
+
description: string | null;
|
2324
|
+
createdAt: Date;
|
2325
|
+
updatedAt: Date;
|
2326
|
+
deletedAt: Date | null;
|
2327
|
+
systemName: string;
|
2328
|
+
displayName: string;
|
2329
|
+
}[];
|
2165
2330
|
}[];
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
2173
|
-
|
2174
|
-
|
2175
|
-
|
2176
|
-
|
2177
|
-
|
2178
|
-
|
2179
|
-
}
|
2331
|
+
extension: {
|
2332
|
+
id: string;
|
2333
|
+
createdAt: Date;
|
2334
|
+
updatedAt: Date;
|
2335
|
+
deletedAt: Date | null;
|
2336
|
+
userId: string | null;
|
2337
|
+
sipServerUrl: string;
|
2338
|
+
sipUserName: string;
|
2339
|
+
webphoneLoginUser: string;
|
2340
|
+
extensionId: string | null;
|
2341
|
+
extensionName: string;
|
2342
|
+
telephonySignature: string | null;
|
2343
|
+
};
|
2344
|
+
}>;
|
2345
|
+
}, "strip", z.ZodTypeAny, {
|
2346
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
2347
|
+
id: string;
|
2348
|
+
name: string;
|
2349
|
+
metadata: {
|
2350
|
+
id: string;
|
2351
|
+
name: string;
|
2352
|
+
accessToken?: string | undefined;
|
2353
|
+
channelSecret?: string | undefined;
|
2354
|
+
additionalCredentials?: any;
|
2355
|
+
lineRichMenuId?: string | null | undefined;
|
2356
|
+
};
|
2357
|
+
status: boolean;
|
2358
|
+
createdAt: Date;
|
2359
|
+
updatedAt: Date;
|
2360
|
+
deletedAt: Date | null;
|
2361
|
+
actor: {
|
2180
2362
|
id: string;
|
2363
|
+
address: string | null;
|
2364
|
+
name: string;
|
2365
|
+
email: string;
|
2181
2366
|
createdAt: Date;
|
2182
2367
|
updatedAt: Date;
|
2183
2368
|
deletedAt: Date | null;
|
2184
|
-
|
2185
|
-
|
2186
|
-
|
2187
|
-
|
2188
|
-
|
2189
|
-
|
2190
|
-
|
2191
|
-
|
2369
|
+
emailVerifiedAt: Date | null;
|
2370
|
+
password: string;
|
2371
|
+
phone: string | null;
|
2372
|
+
notificationCount: number | null;
|
2373
|
+
roles: {
|
2374
|
+
id: string;
|
2375
|
+
description: string | null;
|
2376
|
+
createdAt: Date;
|
2377
|
+
updatedAt: Date;
|
2378
|
+
deletedAt: Date | null;
|
2379
|
+
systemName: string;
|
2380
|
+
displayName: string;
|
2381
|
+
permissions: {
|
2382
|
+
id: string;
|
2383
|
+
description: string | null;
|
2384
|
+
createdAt: Date;
|
2385
|
+
updatedAt: Date;
|
2386
|
+
deletedAt: Date | null;
|
2387
|
+
systemName: string;
|
2388
|
+
displayName: string;
|
2389
|
+
}[];
|
2390
|
+
}[];
|
2391
|
+
extension: {
|
2392
|
+
id: string;
|
2393
|
+
createdAt: Date;
|
2394
|
+
updatedAt: Date;
|
2395
|
+
deletedAt: Date | null;
|
2396
|
+
userId: string | null;
|
2397
|
+
sipServerUrl: string;
|
2398
|
+
sipUserName: string;
|
2399
|
+
webphoneLoginUser: string;
|
2400
|
+
extensionId: string | null;
|
2401
|
+
extensionName: string;
|
2402
|
+
telephonySignature: string | null;
|
2403
|
+
};
|
2404
|
+
};
|
2405
|
+
brandName: string;
|
2406
|
+
platformId: string;
|
2407
|
+
isReloginRequired: boolean;
|
2408
|
+
connectedUserName: string;
|
2409
|
+
connectedUserId: string;
|
2410
|
+
botpressBot: {
|
2192
2411
|
id: string;
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2196
|
-
|
2197
|
-
|
2198
|
-
|
2199
|
-
|
2200
|
-
extensionId: string | null;
|
2201
|
-
extensionName: string;
|
2202
|
-
telephonySignature: string | null;
|
2203
|
-
}>;
|
2204
|
-
}, "strip", z.ZodTypeAny, {
|
2412
|
+
name: string;
|
2413
|
+
accessToken: string;
|
2414
|
+
botId: string;
|
2415
|
+
integrationId: string;
|
2416
|
+
} | null;
|
2417
|
+
}, {
|
2418
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
2205
2419
|
id: string;
|
2206
|
-
address: string | null;
|
2207
2420
|
name: string;
|
2208
|
-
|
2421
|
+
metadata: {
|
2422
|
+
id: string;
|
2423
|
+
name: string;
|
2424
|
+
accessToken?: string | undefined;
|
2425
|
+
channelSecret?: string | undefined;
|
2426
|
+
additionalCredentials?: any;
|
2427
|
+
lineRichMenuId?: string | null | undefined;
|
2428
|
+
};
|
2429
|
+
status: boolean;
|
2209
2430
|
createdAt: Date;
|
2210
2431
|
updatedAt: Date;
|
2211
2432
|
deletedAt: Date | null;
|
2212
|
-
|
2213
|
-
password: string;
|
2214
|
-
phone: string | null;
|
2215
|
-
notificationCount: number | null;
|
2216
|
-
roles: {
|
2433
|
+
actor: {
|
2217
2434
|
id: string;
|
2218
|
-
|
2435
|
+
address: string | null;
|
2436
|
+
name: string;
|
2437
|
+
email: string;
|
2219
2438
|
createdAt: Date;
|
2220
2439
|
updatedAt: Date;
|
2221
2440
|
deletedAt: Date | null;
|
2222
|
-
|
2223
|
-
|
2224
|
-
|
2441
|
+
emailVerifiedAt: Date | null;
|
2442
|
+
password: string;
|
2443
|
+
phone: string | null;
|
2444
|
+
notificationCount: number | null;
|
2445
|
+
roles: {
|
2225
2446
|
id: string;
|
2226
2447
|
description: string | null;
|
2227
2448
|
createdAt: Date;
|
@@ -2229,22 +2450,123 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2229
2450
|
deletedAt: Date | null;
|
2230
2451
|
systemName: string;
|
2231
2452
|
displayName: string;
|
2453
|
+
permissions: {
|
2454
|
+
id: string;
|
2455
|
+
description: string | null;
|
2456
|
+
createdAt: Date;
|
2457
|
+
updatedAt: Date;
|
2458
|
+
deletedAt: Date | null;
|
2459
|
+
systemName: string;
|
2460
|
+
displayName: string;
|
2461
|
+
}[];
|
2232
2462
|
}[];
|
2233
|
-
|
2234
|
-
|
2463
|
+
extension: {
|
2464
|
+
id: string;
|
2465
|
+
createdAt: Date;
|
2466
|
+
updatedAt: Date;
|
2467
|
+
deletedAt: Date | null;
|
2468
|
+
userId: string | null;
|
2469
|
+
sipServerUrl: string;
|
2470
|
+
sipUserName: string;
|
2471
|
+
webphoneLoginUser: string;
|
2472
|
+
extensionId: string | null;
|
2473
|
+
extensionName: string;
|
2474
|
+
telephonySignature: string | null;
|
2475
|
+
};
|
2476
|
+
};
|
2477
|
+
brandName: string;
|
2478
|
+
platformId: string;
|
2479
|
+
isReloginRequired: boolean;
|
2480
|
+
connectedUserName: string;
|
2481
|
+
connectedUserId: string;
|
2482
|
+
botpressBot: {
|
2483
|
+
id: string;
|
2484
|
+
name: string;
|
2485
|
+
accessToken: string;
|
2486
|
+
botId: string;
|
2487
|
+
integrationId: string;
|
2488
|
+
} | null;
|
2489
|
+
}>;
|
2490
|
+
}, "strip", z.ZodTypeAny, {
|
2491
|
+
id: string;
|
2492
|
+
channel: {
|
2493
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
2494
|
+
id: string;
|
2495
|
+
name: string;
|
2496
|
+
metadata: {
|
2497
|
+
id: string;
|
2498
|
+
name: string;
|
2499
|
+
accessToken?: string | undefined;
|
2500
|
+
channelSecret?: string | undefined;
|
2501
|
+
additionalCredentials?: any;
|
2502
|
+
lineRichMenuId?: string | null | undefined;
|
2503
|
+
};
|
2504
|
+
status: boolean;
|
2505
|
+
createdAt: Date;
|
2506
|
+
updatedAt: Date;
|
2507
|
+
deletedAt: Date | null;
|
2508
|
+
actor: {
|
2235
2509
|
id: string;
|
2510
|
+
address: string | null;
|
2511
|
+
name: string;
|
2512
|
+
email: string;
|
2236
2513
|
createdAt: Date;
|
2237
2514
|
updatedAt: Date;
|
2238
2515
|
deletedAt: Date | null;
|
2239
|
-
|
2240
|
-
|
2241
|
-
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2516
|
+
emailVerifiedAt: Date | null;
|
2517
|
+
password: string;
|
2518
|
+
phone: string | null;
|
2519
|
+
notificationCount: number | null;
|
2520
|
+
roles: {
|
2521
|
+
id: string;
|
2522
|
+
description: string | null;
|
2523
|
+
createdAt: Date;
|
2524
|
+
updatedAt: Date;
|
2525
|
+
deletedAt: Date | null;
|
2526
|
+
systemName: string;
|
2527
|
+
displayName: string;
|
2528
|
+
permissions: {
|
2529
|
+
id: string;
|
2530
|
+
description: string | null;
|
2531
|
+
createdAt: Date;
|
2532
|
+
updatedAt: Date;
|
2533
|
+
deletedAt: Date | null;
|
2534
|
+
systemName: string;
|
2535
|
+
displayName: string;
|
2536
|
+
}[];
|
2537
|
+
}[];
|
2538
|
+
extension: {
|
2539
|
+
id: string;
|
2540
|
+
createdAt: Date;
|
2541
|
+
updatedAt: Date;
|
2542
|
+
deletedAt: Date | null;
|
2543
|
+
userId: string | null;
|
2544
|
+
sipServerUrl: string;
|
2545
|
+
sipUserName: string;
|
2546
|
+
webphoneLoginUser: string;
|
2547
|
+
extensionId: string | null;
|
2548
|
+
extensionName: string;
|
2549
|
+
telephonySignature: string | null;
|
2550
|
+
};
|
2246
2551
|
};
|
2247
|
-
|
2552
|
+
brandName: string;
|
2553
|
+
platformId: string;
|
2554
|
+
isReloginRequired: boolean;
|
2555
|
+
connectedUserName: string;
|
2556
|
+
connectedUserId: string;
|
2557
|
+
botpressBot: {
|
2558
|
+
id: string;
|
2559
|
+
name: string;
|
2560
|
+
accessToken: string;
|
2561
|
+
botId: string;
|
2562
|
+
integrationId: string;
|
2563
|
+
} | null;
|
2564
|
+
};
|
2565
|
+
direction: "incoming" | "outgoing" | "system";
|
2566
|
+
createdAt: Date;
|
2567
|
+
updatedAt: Date;
|
2568
|
+
deletedAt: Date | null;
|
2569
|
+
actor: {
|
2248
2570
|
id: string;
|
2249
2571
|
address: string | null;
|
2250
2572
|
name: string;
|
@@ -2287,125 +2609,127 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2287
2609
|
extensionName: string;
|
2288
2610
|
telephonySignature: string | null;
|
2289
2611
|
};
|
2290
|
-
}
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2299
|
-
|
2300
|
-
|
2301
|
-
|
2302
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
2303
|
-
roles: z.ZodArray<z.ZodObject<{
|
2304
|
-
id: z.ZodString;
|
2305
|
-
createdAt: z.ZodDate;
|
2306
|
-
updatedAt: z.ZodDate;
|
2307
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2308
|
-
systemName: z.ZodString;
|
2309
|
-
displayName: z.ZodString;
|
2310
|
-
description: z.ZodNullable<z.ZodString>;
|
2311
|
-
permissions: z.ZodArray<z.ZodObject<{
|
2312
|
-
id: z.ZodString;
|
2313
|
-
createdAt: z.ZodDate;
|
2314
|
-
updatedAt: z.ZodDate;
|
2315
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2316
|
-
systemName: z.ZodString;
|
2317
|
-
displayName: z.ZodString;
|
2318
|
-
description: z.ZodNullable<z.ZodString>;
|
2319
|
-
}, "strip", z.ZodTypeAny, {
|
2320
|
-
id: string;
|
2321
|
-
description: string | null;
|
2322
|
-
createdAt: Date;
|
2323
|
-
updatedAt: Date;
|
2324
|
-
deletedAt: Date | null;
|
2325
|
-
systemName: string;
|
2326
|
-
displayName: string;
|
2327
|
-
}, {
|
2328
|
-
id: string;
|
2329
|
-
description: string | null;
|
2330
|
-
createdAt: Date;
|
2331
|
-
updatedAt: Date;
|
2332
|
-
deletedAt: Date | null;
|
2333
|
-
systemName: string;
|
2334
|
-
displayName: string;
|
2335
|
-
}>, "many">;
|
2336
|
-
}, "strip", z.ZodTypeAny, {
|
2612
|
+
};
|
2613
|
+
firstResponseTime: number;
|
2614
|
+
lastMessage: string;
|
2615
|
+
handleTime: number;
|
2616
|
+
closeAt: Date;
|
2617
|
+
unreadCount: number;
|
2618
|
+
firstResponseAt: Date;
|
2619
|
+
isLatest: boolean;
|
2620
|
+
platformContact: {
|
2621
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
2622
|
+
id: string;
|
2623
|
+
metadata: {
|
2337
2624
|
id: string;
|
2338
|
-
|
2625
|
+
name: string;
|
2626
|
+
picture?: string | undefined;
|
2627
|
+
additionalCredentials?: any;
|
2628
|
+
};
|
2629
|
+
createdAt: Date;
|
2630
|
+
updatedAt: Date;
|
2631
|
+
deletedAt: Date | null;
|
2632
|
+
contact: {
|
2633
|
+
id: string;
|
2634
|
+
channel: string | null;
|
2635
|
+
address: string | null;
|
2636
|
+
name: string;
|
2339
2637
|
createdAt: Date;
|
2340
2638
|
updatedAt: Date;
|
2341
2639
|
deletedAt: Date | null;
|
2342
|
-
|
2343
|
-
displayName: string;
|
2344
|
-
permissions: {
|
2640
|
+
customFields: {
|
2345
2641
|
id: string;
|
2346
|
-
description: string | null;
|
2347
2642
|
createdAt: Date;
|
2348
2643
|
updatedAt: Date;
|
2349
2644
|
deletedAt: Date | null;
|
2350
|
-
|
2351
|
-
|
2645
|
+
attribute: {
|
2646
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2647
|
+
id: string;
|
2648
|
+
position: number;
|
2649
|
+
createdAt: Date;
|
2650
|
+
updatedAt: Date;
|
2651
|
+
deletedAt: Date | null;
|
2652
|
+
systemName: string;
|
2653
|
+
displayName: string;
|
2654
|
+
isDefault: boolean;
|
2655
|
+
isArchived: boolean;
|
2656
|
+
isRequired: boolean;
|
2657
|
+
isUnique: boolean;
|
2658
|
+
};
|
2659
|
+
textValue: string | null;
|
2660
|
+
booleanValue: boolean | null;
|
2661
|
+
numberValue: number | null;
|
2662
|
+
dateValue: Date | null;
|
2663
|
+
uploads: {
|
2664
|
+
id: string;
|
2665
|
+
status: string | null;
|
2666
|
+
createdAt: Date;
|
2667
|
+
updatedAt: Date;
|
2668
|
+
deletedAt: Date | null;
|
2669
|
+
fileName: string;
|
2670
|
+
fileKey: string;
|
2671
|
+
bucketName: string;
|
2672
|
+
fileSize: number;
|
2673
|
+
fileUrl: string | null;
|
2674
|
+
}[];
|
2352
2675
|
}[];
|
2353
|
-
|
2354
|
-
id: string;
|
2355
|
-
description: string | null;
|
2356
|
-
createdAt: Date;
|
2357
|
-
updatedAt: Date;
|
2358
|
-
deletedAt: Date | null;
|
2359
|
-
systemName: string;
|
2360
|
-
displayName: string;
|
2361
|
-
permissions: {
|
2676
|
+
company: {
|
2362
2677
|
id: string;
|
2363
|
-
description: string | null;
|
2364
2678
|
createdAt: Date;
|
2365
2679
|
updatedAt: Date;
|
2366
2680
|
deletedAt: Date | null;
|
2367
|
-
|
2368
|
-
|
2681
|
+
address?: string | null | undefined;
|
2682
|
+
name?: string | undefined;
|
2683
|
+
phone?: string | null | undefined;
|
2684
|
+
industry?: string | null | undefined;
|
2685
|
+
} | null;
|
2686
|
+
notes: string | null;
|
2687
|
+
contactProfile: string | null;
|
2688
|
+
socialProfileUrl: string | null;
|
2689
|
+
tags: {
|
2690
|
+
id: string;
|
2691
|
+
name: string;
|
2692
|
+
createdAt: Date;
|
2693
|
+
updatedAt: Date;
|
2694
|
+
deletedAt: Date | null;
|
2369
2695
|
}[];
|
2370
|
-
|
2371
|
-
|
2372
|
-
|
2373
|
-
|
2374
|
-
|
2375
|
-
|
2376
|
-
|
2377
|
-
|
2378
|
-
|
2379
|
-
|
2380
|
-
|
2381
|
-
|
2382
|
-
|
2383
|
-
|
2384
|
-
|
2385
|
-
|
2386
|
-
|
2387
|
-
|
2388
|
-
|
2389
|
-
|
2390
|
-
|
2391
|
-
|
2392
|
-
|
2393
|
-
|
2394
|
-
|
2395
|
-
|
2396
|
-
|
2397
|
-
|
2398
|
-
|
2399
|
-
|
2400
|
-
|
2401
|
-
|
2402
|
-
|
2403
|
-
|
2404
|
-
|
2405
|
-
|
2406
|
-
|
2407
|
-
}>;
|
2408
|
-
}, "strip", z.ZodTypeAny, {
|
2696
|
+
contactEmails: {
|
2697
|
+
id: string;
|
2698
|
+
isPrimary: boolean;
|
2699
|
+
email: string;
|
2700
|
+
createdAt: Date;
|
2701
|
+
updatedAt: Date;
|
2702
|
+
deletedAt: Date | null;
|
2703
|
+
}[];
|
2704
|
+
contactPhones: {
|
2705
|
+
id: string;
|
2706
|
+
isPrimary: boolean;
|
2707
|
+
createdAt: Date;
|
2708
|
+
updatedAt: Date;
|
2709
|
+
deletedAt: Date | null;
|
2710
|
+
phone: string;
|
2711
|
+
}[];
|
2712
|
+
activityLogs?: {
|
2713
|
+
id: string;
|
2714
|
+
description: string;
|
2715
|
+
createdAt: Date;
|
2716
|
+
updatedAt: Date;
|
2717
|
+
deletedAt: Date | null;
|
2718
|
+
entityId: string;
|
2719
|
+
entityType: {
|
2720
|
+
id: string;
|
2721
|
+
description: string | null;
|
2722
|
+
createdAt: Date;
|
2723
|
+
updatedAt: Date;
|
2724
|
+
deletedAt: Date | null;
|
2725
|
+
entity: string;
|
2726
|
+
};
|
2727
|
+
}[] | undefined;
|
2728
|
+
};
|
2729
|
+
channelId: string;
|
2730
|
+
socialPlatformId: string;
|
2731
|
+
};
|
2732
|
+
assignee: {
|
2409
2733
|
id: string;
|
2410
2734
|
address: string | null;
|
2411
2735
|
name: string;
|
@@ -2448,907 +2772,87 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2448
2772
|
extensionName: string;
|
2449
2773
|
telephonySignature: string | null;
|
2450
2774
|
};
|
2451
|
-
}
|
2452
|
-
|
2453
|
-
|
2454
|
-
|
2455
|
-
|
2456
|
-
|
2457
|
-
|
2458
|
-
|
2459
|
-
|
2460
|
-
|
2461
|
-
|
2462
|
-
|
2463
|
-
|
2464
|
-
|
2465
|
-
|
2466
|
-
|
2467
|
-
|
2468
|
-
|
2469
|
-
|
2470
|
-
|
2471
|
-
|
2472
|
-
|
2473
|
-
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
|
2487
|
-
|
2488
|
-
|
2489
|
-
|
2490
|
-
|
2491
|
-
|
2492
|
-
|
2493
|
-
|
2494
|
-
|
2495
|
-
|
2496
|
-
|
2497
|
-
|
2498
|
-
|
2499
|
-
|
2500
|
-
|
2501
|
-
|
2502
|
-
|
2503
|
-
|
2504
|
-
|
2505
|
-
|
2506
|
-
|
2507
|
-
|
2508
|
-
|
2509
|
-
|
2510
|
-
|
2511
|
-
|
2512
|
-
|
2513
|
-
|
2514
|
-
|
2515
|
-
|
2516
|
-
|
2517
|
-
|
2518
|
-
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2523
|
-
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2529
|
-
|
2530
|
-
|
2531
|
-
|
2532
|
-
name: z.ZodString;
|
2533
|
-
botId: z.ZodString;
|
2534
|
-
integrationId: z.ZodString;
|
2535
|
-
accessToken: z.ZodString;
|
2536
|
-
}, "strip", z.ZodTypeAny, {
|
2537
|
-
id: string;
|
2538
|
-
name: string;
|
2539
|
-
accessToken: string;
|
2540
|
-
botId: string;
|
2541
|
-
integrationId: string;
|
2542
|
-
}, {
|
2543
|
-
id: string;
|
2544
|
-
name: string;
|
2545
|
-
accessToken: string;
|
2546
|
-
botId: string;
|
2547
|
-
integrationId: string;
|
2548
|
-
}>>;
|
2549
|
-
actor: z.ZodObject<{
|
2550
|
-
id: z.ZodString;
|
2551
|
-
createdAt: z.ZodDate;
|
2552
|
-
updatedAt: z.ZodDate;
|
2553
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2554
|
-
name: z.ZodString;
|
2555
|
-
email: z.ZodString;
|
2556
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
2557
|
-
password: z.ZodString;
|
2558
|
-
address: z.ZodNullable<z.ZodString>;
|
2559
|
-
phone: z.ZodNullable<z.ZodString>;
|
2560
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
2561
|
-
roles: z.ZodArray<z.ZodObject<{
|
2562
|
-
id: z.ZodString;
|
2563
|
-
createdAt: z.ZodDate;
|
2564
|
-
updatedAt: z.ZodDate;
|
2565
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2566
|
-
systemName: z.ZodString;
|
2567
|
-
displayName: z.ZodString;
|
2568
|
-
description: z.ZodNullable<z.ZodString>;
|
2569
|
-
permissions: z.ZodArray<z.ZodObject<{
|
2570
|
-
id: z.ZodString;
|
2571
|
-
createdAt: z.ZodDate;
|
2572
|
-
updatedAt: z.ZodDate;
|
2573
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2574
|
-
systemName: z.ZodString;
|
2575
|
-
displayName: z.ZodString;
|
2576
|
-
description: z.ZodNullable<z.ZodString>;
|
2577
|
-
}, "strip", z.ZodTypeAny, {
|
2578
|
-
id: string;
|
2579
|
-
description: string | null;
|
2580
|
-
createdAt: Date;
|
2581
|
-
updatedAt: Date;
|
2582
|
-
deletedAt: Date | null;
|
2583
|
-
systemName: string;
|
2584
|
-
displayName: string;
|
2585
|
-
}, {
|
2586
|
-
id: string;
|
2587
|
-
description: string | null;
|
2588
|
-
createdAt: Date;
|
2589
|
-
updatedAt: Date;
|
2590
|
-
deletedAt: Date | null;
|
2591
|
-
systemName: string;
|
2592
|
-
displayName: string;
|
2593
|
-
}>, "many">;
|
2594
|
-
}, "strip", z.ZodTypeAny, {
|
2595
|
-
id: string;
|
2596
|
-
description: string | null;
|
2597
|
-
createdAt: Date;
|
2598
|
-
updatedAt: Date;
|
2599
|
-
deletedAt: Date | null;
|
2600
|
-
systemName: string;
|
2601
|
-
displayName: string;
|
2602
|
-
permissions: {
|
2603
|
-
id: string;
|
2604
|
-
description: string | null;
|
2605
|
-
createdAt: Date;
|
2606
|
-
updatedAt: Date;
|
2607
|
-
deletedAt: Date | null;
|
2608
|
-
systemName: string;
|
2609
|
-
displayName: string;
|
2610
|
-
}[];
|
2611
|
-
}, {
|
2612
|
-
id: string;
|
2613
|
-
description: string | null;
|
2614
|
-
createdAt: Date;
|
2615
|
-
updatedAt: Date;
|
2616
|
-
deletedAt: Date | null;
|
2617
|
-
systemName: string;
|
2618
|
-
displayName: string;
|
2619
|
-
permissions: {
|
2620
|
-
id: string;
|
2621
|
-
description: string | null;
|
2622
|
-
createdAt: Date;
|
2623
|
-
updatedAt: Date;
|
2624
|
-
deletedAt: Date | null;
|
2625
|
-
systemName: string;
|
2626
|
-
displayName: string;
|
2627
|
-
}[];
|
2628
|
-
}>, "many">;
|
2629
|
-
extension: z.ZodObject<{
|
2630
|
-
id: z.ZodString;
|
2631
|
-
createdAt: z.ZodDate;
|
2632
|
-
updatedAt: z.ZodDate;
|
2633
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2634
|
-
userId: z.ZodNullable<z.ZodString>;
|
2635
|
-
sipServerUrl: z.ZodString;
|
2636
|
-
sipUserName: z.ZodString;
|
2637
|
-
webphoneLoginUser: z.ZodString;
|
2638
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
2639
|
-
extensionName: z.ZodString;
|
2640
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
2641
|
-
}, "strip", z.ZodTypeAny, {
|
2642
|
-
id: string;
|
2643
|
-
createdAt: Date;
|
2644
|
-
updatedAt: Date;
|
2645
|
-
deletedAt: Date | null;
|
2646
|
-
userId: string | null;
|
2647
|
-
sipServerUrl: string;
|
2648
|
-
sipUserName: string;
|
2649
|
-
webphoneLoginUser: string;
|
2650
|
-
extensionId: string | null;
|
2651
|
-
extensionName: string;
|
2652
|
-
telephonySignature: string | null;
|
2653
|
-
}, {
|
2654
|
-
id: string;
|
2655
|
-
createdAt: Date;
|
2656
|
-
updatedAt: Date;
|
2657
|
-
deletedAt: Date | null;
|
2658
|
-
userId: string | null;
|
2659
|
-
sipServerUrl: string;
|
2660
|
-
sipUserName: string;
|
2661
|
-
webphoneLoginUser: string;
|
2662
|
-
extensionId: string | null;
|
2663
|
-
extensionName: string;
|
2664
|
-
telephonySignature: string | null;
|
2665
|
-
}>;
|
2666
|
-
}, "strip", z.ZodTypeAny, {
|
2667
|
-
id: string;
|
2668
|
-
address: string | null;
|
2669
|
-
name: string;
|
2670
|
-
email: string;
|
2671
|
-
createdAt: Date;
|
2672
|
-
updatedAt: Date;
|
2673
|
-
deletedAt: Date | null;
|
2674
|
-
emailVerifiedAt: Date | null;
|
2675
|
-
password: string;
|
2676
|
-
phone: string | null;
|
2677
|
-
notificationCount: number | null;
|
2678
|
-
roles: {
|
2679
|
-
id: string;
|
2680
|
-
description: string | null;
|
2681
|
-
createdAt: Date;
|
2682
|
-
updatedAt: Date;
|
2683
|
-
deletedAt: Date | null;
|
2684
|
-
systemName: string;
|
2685
|
-
displayName: string;
|
2686
|
-
permissions: {
|
2687
|
-
id: string;
|
2688
|
-
description: string | null;
|
2689
|
-
createdAt: Date;
|
2690
|
-
updatedAt: Date;
|
2691
|
-
deletedAt: Date | null;
|
2692
|
-
systemName: string;
|
2693
|
-
displayName: string;
|
2694
|
-
}[];
|
2695
|
-
}[];
|
2696
|
-
extension: {
|
2697
|
-
id: string;
|
2698
|
-
createdAt: Date;
|
2699
|
-
updatedAt: Date;
|
2700
|
-
deletedAt: Date | null;
|
2701
|
-
userId: string | null;
|
2702
|
-
sipServerUrl: string;
|
2703
|
-
sipUserName: string;
|
2704
|
-
webphoneLoginUser: string;
|
2705
|
-
extensionId: string | null;
|
2706
|
-
extensionName: string;
|
2707
|
-
telephonySignature: string | null;
|
2708
|
-
};
|
2709
|
-
}, {
|
2710
|
-
id: string;
|
2711
|
-
address: string | null;
|
2712
|
-
name: string;
|
2713
|
-
email: string;
|
2714
|
-
createdAt: Date;
|
2715
|
-
updatedAt: Date;
|
2716
|
-
deletedAt: Date | null;
|
2717
|
-
emailVerifiedAt: Date | null;
|
2718
|
-
password: string;
|
2719
|
-
phone: string | null;
|
2720
|
-
notificationCount: number | null;
|
2721
|
-
roles: {
|
2722
|
-
id: string;
|
2723
|
-
description: string | null;
|
2724
|
-
createdAt: Date;
|
2725
|
-
updatedAt: Date;
|
2726
|
-
deletedAt: Date | null;
|
2727
|
-
systemName: string;
|
2728
|
-
displayName: string;
|
2729
|
-
permissions: {
|
2730
|
-
id: string;
|
2731
|
-
description: string | null;
|
2732
|
-
createdAt: Date;
|
2733
|
-
updatedAt: Date;
|
2734
|
-
deletedAt: Date | null;
|
2735
|
-
systemName: string;
|
2736
|
-
displayName: string;
|
2737
|
-
}[];
|
2738
|
-
}[];
|
2739
|
-
extension: {
|
2740
|
-
id: string;
|
2741
|
-
createdAt: Date;
|
2742
|
-
updatedAt: Date;
|
2743
|
-
deletedAt: Date | null;
|
2744
|
-
userId: string | null;
|
2745
|
-
sipServerUrl: string;
|
2746
|
-
sipUserName: string;
|
2747
|
-
webphoneLoginUser: string;
|
2748
|
-
extensionId: string | null;
|
2749
|
-
extensionName: string;
|
2750
|
-
telephonySignature: string | null;
|
2751
|
-
};
|
2752
|
-
}>;
|
2753
|
-
}, "strip", z.ZodTypeAny, {
|
2754
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
2755
|
-
id: string;
|
2756
|
-
name: string;
|
2757
|
-
metadata: {
|
2758
|
-
id: string;
|
2759
|
-
name: string;
|
2760
|
-
accessToken?: string | undefined;
|
2761
|
-
channelSecret?: string | undefined;
|
2762
|
-
additionalCredentials?: any;
|
2763
|
-
lineRichMenuId?: string | null | undefined;
|
2764
|
-
};
|
2765
|
-
status: boolean;
|
2766
|
-
createdAt: Date;
|
2767
|
-
updatedAt: Date;
|
2768
|
-
deletedAt: Date | null;
|
2769
|
-
actor: {
|
2770
|
-
id: string;
|
2771
|
-
address: string | null;
|
2772
|
-
name: string;
|
2773
|
-
email: string;
|
2774
|
-
createdAt: Date;
|
2775
|
-
updatedAt: Date;
|
2776
|
-
deletedAt: Date | null;
|
2777
|
-
emailVerifiedAt: Date | null;
|
2778
|
-
password: string;
|
2779
|
-
phone: string | null;
|
2780
|
-
notificationCount: number | null;
|
2781
|
-
roles: {
|
2782
|
-
id: string;
|
2783
|
-
description: string | null;
|
2784
|
-
createdAt: Date;
|
2785
|
-
updatedAt: Date;
|
2786
|
-
deletedAt: Date | null;
|
2787
|
-
systemName: string;
|
2788
|
-
displayName: string;
|
2789
|
-
permissions: {
|
2790
|
-
id: string;
|
2791
|
-
description: string | null;
|
2792
|
-
createdAt: Date;
|
2793
|
-
updatedAt: Date;
|
2794
|
-
deletedAt: Date | null;
|
2795
|
-
systemName: string;
|
2796
|
-
displayName: string;
|
2797
|
-
}[];
|
2798
|
-
}[];
|
2799
|
-
extension: {
|
2800
|
-
id: string;
|
2801
|
-
createdAt: Date;
|
2802
|
-
updatedAt: Date;
|
2803
|
-
deletedAt: Date | null;
|
2804
|
-
userId: string | null;
|
2805
|
-
sipServerUrl: string;
|
2806
|
-
sipUserName: string;
|
2807
|
-
webphoneLoginUser: string;
|
2808
|
-
extensionId: string | null;
|
2809
|
-
extensionName: string;
|
2810
|
-
telephonySignature: string | null;
|
2811
|
-
};
|
2812
|
-
};
|
2813
|
-
brandName: string;
|
2814
|
-
platformId: string;
|
2815
|
-
isReloginRequired: boolean;
|
2816
|
-
connectedUserName: string;
|
2817
|
-
connectedUserId: string;
|
2818
|
-
botpressBot: {
|
2819
|
-
id: string;
|
2820
|
-
name: string;
|
2821
|
-
accessToken: string;
|
2822
|
-
botId: string;
|
2823
|
-
integrationId: string;
|
2824
|
-
} | null;
|
2825
|
-
}, {
|
2826
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
2827
|
-
id: string;
|
2828
|
-
name: string;
|
2829
|
-
metadata: {
|
2830
|
-
id: string;
|
2831
|
-
name: string;
|
2832
|
-
accessToken?: string | undefined;
|
2833
|
-
channelSecret?: string | undefined;
|
2834
|
-
additionalCredentials?: any;
|
2835
|
-
lineRichMenuId?: string | null | undefined;
|
2836
|
-
};
|
2837
|
-
status: boolean;
|
2838
|
-
createdAt: Date;
|
2839
|
-
updatedAt: Date;
|
2840
|
-
deletedAt: Date | null;
|
2841
|
-
actor: {
|
2842
|
-
id: string;
|
2843
|
-
address: string | null;
|
2844
|
-
name: string;
|
2845
|
-
email: string;
|
2846
|
-
createdAt: Date;
|
2847
|
-
updatedAt: Date;
|
2848
|
-
deletedAt: Date | null;
|
2849
|
-
emailVerifiedAt: Date | null;
|
2850
|
-
password: string;
|
2851
|
-
phone: string | null;
|
2852
|
-
notificationCount: number | null;
|
2853
|
-
roles: {
|
2854
|
-
id: string;
|
2855
|
-
description: string | null;
|
2856
|
-
createdAt: Date;
|
2857
|
-
updatedAt: Date;
|
2858
|
-
deletedAt: Date | null;
|
2859
|
-
systemName: string;
|
2860
|
-
displayName: string;
|
2861
|
-
permissions: {
|
2862
|
-
id: string;
|
2863
|
-
description: string | null;
|
2864
|
-
createdAt: Date;
|
2865
|
-
updatedAt: Date;
|
2866
|
-
deletedAt: Date | null;
|
2867
|
-
systemName: string;
|
2868
|
-
displayName: string;
|
2869
|
-
}[];
|
2870
|
-
}[];
|
2871
|
-
extension: {
|
2872
|
-
id: string;
|
2873
|
-
createdAt: Date;
|
2874
|
-
updatedAt: Date;
|
2875
|
-
deletedAt: Date | null;
|
2876
|
-
userId: string | null;
|
2877
|
-
sipServerUrl: string;
|
2878
|
-
sipUserName: string;
|
2879
|
-
webphoneLoginUser: string;
|
2880
|
-
extensionId: string | null;
|
2881
|
-
extensionName: string;
|
2882
|
-
telephonySignature: string | null;
|
2883
|
-
};
|
2884
|
-
};
|
2885
|
-
brandName: string;
|
2886
|
-
platformId: string;
|
2887
|
-
isReloginRequired: boolean;
|
2888
|
-
connectedUserName: string;
|
2889
|
-
connectedUserId: string;
|
2890
|
-
botpressBot: {
|
2891
|
-
id: string;
|
2892
|
-
name: string;
|
2893
|
-
accessToken: string;
|
2894
|
-
botId: string;
|
2895
|
-
integrationId: string;
|
2896
|
-
} | null;
|
2897
|
-
}>;
|
2898
|
-
}, "strip", z.ZodTypeAny, {
|
2899
|
-
id: string;
|
2900
|
-
channel: {
|
2901
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
2902
|
-
id: string;
|
2903
|
-
name: string;
|
2904
|
-
metadata: {
|
2905
|
-
id: string;
|
2906
|
-
name: string;
|
2907
|
-
accessToken?: string | undefined;
|
2908
|
-
channelSecret?: string | undefined;
|
2909
|
-
additionalCredentials?: any;
|
2910
|
-
lineRichMenuId?: string | null | undefined;
|
2911
|
-
};
|
2912
|
-
status: boolean;
|
2913
|
-
createdAt: Date;
|
2914
|
-
updatedAt: Date;
|
2915
|
-
deletedAt: Date | null;
|
2916
|
-
actor: {
|
2917
|
-
id: string;
|
2918
|
-
address: string | null;
|
2919
|
-
name: string;
|
2920
|
-
email: string;
|
2921
|
-
createdAt: Date;
|
2922
|
-
updatedAt: Date;
|
2923
|
-
deletedAt: Date | null;
|
2924
|
-
emailVerifiedAt: Date | null;
|
2925
|
-
password: string;
|
2926
|
-
phone: string | null;
|
2927
|
-
notificationCount: number | null;
|
2928
|
-
roles: {
|
2929
|
-
id: string;
|
2930
|
-
description: string | null;
|
2931
|
-
createdAt: Date;
|
2932
|
-
updatedAt: Date;
|
2933
|
-
deletedAt: Date | null;
|
2934
|
-
systemName: string;
|
2935
|
-
displayName: string;
|
2936
|
-
permissions: {
|
2937
|
-
id: string;
|
2938
|
-
description: string | null;
|
2939
|
-
createdAt: Date;
|
2940
|
-
updatedAt: Date;
|
2941
|
-
deletedAt: Date | null;
|
2942
|
-
systemName: string;
|
2943
|
-
displayName: string;
|
2944
|
-
}[];
|
2945
|
-
}[];
|
2946
|
-
extension: {
|
2947
|
-
id: string;
|
2948
|
-
createdAt: Date;
|
2949
|
-
updatedAt: Date;
|
2950
|
-
deletedAt: Date | null;
|
2951
|
-
userId: string | null;
|
2952
|
-
sipServerUrl: string;
|
2953
|
-
sipUserName: string;
|
2954
|
-
webphoneLoginUser: string;
|
2955
|
-
extensionId: string | null;
|
2956
|
-
extensionName: string;
|
2957
|
-
telephonySignature: string | null;
|
2958
|
-
};
|
2959
|
-
};
|
2960
|
-
brandName: string;
|
2961
|
-
platformId: string;
|
2962
|
-
isReloginRequired: boolean;
|
2963
|
-
connectedUserName: string;
|
2964
|
-
connectedUserId: string;
|
2965
|
-
botpressBot: {
|
2966
|
-
id: string;
|
2967
|
-
name: string;
|
2968
|
-
accessToken: string;
|
2969
|
-
botId: string;
|
2970
|
-
integrationId: string;
|
2971
|
-
} | null;
|
2972
|
-
};
|
2973
|
-
direction: "incoming" | "outgoing" | "system";
|
2974
|
-
createdAt: Date;
|
2975
|
-
updatedAt: Date;
|
2976
|
-
deletedAt: Date | null;
|
2977
|
-
actor: {
|
2978
|
-
id: string;
|
2979
|
-
address: string | null;
|
2980
|
-
name: string;
|
2981
|
-
email: string;
|
2982
|
-
createdAt: Date;
|
2983
|
-
updatedAt: Date;
|
2984
|
-
deletedAt: Date | null;
|
2985
|
-
emailVerifiedAt: Date | null;
|
2986
|
-
password: string;
|
2987
|
-
phone: string | null;
|
2988
|
-
notificationCount: number | null;
|
2989
|
-
roles: {
|
2990
|
-
id: string;
|
2991
|
-
description: string | null;
|
2992
|
-
createdAt: Date;
|
2993
|
-
updatedAt: Date;
|
2994
|
-
deletedAt: Date | null;
|
2995
|
-
systemName: string;
|
2996
|
-
displayName: string;
|
2997
|
-
permissions: {
|
2998
|
-
id: string;
|
2999
|
-
description: string | null;
|
3000
|
-
createdAt: Date;
|
3001
|
-
updatedAt: Date;
|
3002
|
-
deletedAt: Date | null;
|
3003
|
-
systemName: string;
|
3004
|
-
displayName: string;
|
3005
|
-
}[];
|
3006
|
-
}[];
|
3007
|
-
extension: {
|
3008
|
-
id: string;
|
3009
|
-
createdAt: Date;
|
3010
|
-
updatedAt: Date;
|
3011
|
-
deletedAt: Date | null;
|
3012
|
-
userId: string | null;
|
3013
|
-
sipServerUrl: string;
|
3014
|
-
sipUserName: string;
|
3015
|
-
webphoneLoginUser: string;
|
3016
|
-
extensionId: string | null;
|
3017
|
-
extensionName: string;
|
3018
|
-
telephonySignature: string | null;
|
3019
|
-
};
|
3020
|
-
};
|
3021
|
-
firstResponseTime: number;
|
3022
|
-
lastMessage: string;
|
3023
|
-
handleTime: number;
|
3024
|
-
closeAt: Date;
|
3025
|
-
unreadCount: number;
|
3026
|
-
firstResponseAt: Date;
|
3027
|
-
isLatest: boolean;
|
3028
|
-
platformContact: {
|
3029
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
3030
|
-
id: string;
|
3031
|
-
metadata: {
|
3032
|
-
id: string;
|
3033
|
-
name: string;
|
3034
|
-
picture?: string | undefined;
|
3035
|
-
additionalCredentials?: any;
|
3036
|
-
};
|
3037
|
-
createdAt: Date;
|
3038
|
-
updatedAt: Date;
|
3039
|
-
deletedAt: Date | null;
|
3040
|
-
contact: {
|
3041
|
-
id: string;
|
3042
|
-
channel: string | null;
|
3043
|
-
address: string | null;
|
3044
|
-
name: string;
|
3045
|
-
createdAt: Date;
|
3046
|
-
updatedAt: Date;
|
3047
|
-
deletedAt: Date | null;
|
3048
|
-
customFields: {
|
3049
|
-
id: string;
|
3050
|
-
createdAt: Date;
|
3051
|
-
updatedAt: Date;
|
3052
|
-
deletedAt: Date | null;
|
3053
|
-
attribute: {
|
3054
|
-
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3055
|
-
id: string;
|
3056
|
-
position: number;
|
3057
|
-
createdAt: Date;
|
3058
|
-
updatedAt: Date;
|
3059
|
-
deletedAt: Date | null;
|
3060
|
-
systemName: string;
|
3061
|
-
displayName: string;
|
3062
|
-
isDefault: boolean;
|
3063
|
-
isArchived: boolean;
|
3064
|
-
isRequired: boolean;
|
3065
|
-
isUnique: boolean;
|
3066
|
-
};
|
3067
|
-
textValue: string | null;
|
3068
|
-
booleanValue: boolean | null;
|
3069
|
-
numberValue: number | null;
|
3070
|
-
dateValue: Date | null;
|
3071
|
-
uploads: {
|
3072
|
-
id: string;
|
3073
|
-
status: string | null;
|
3074
|
-
createdAt: Date;
|
3075
|
-
updatedAt: Date;
|
3076
|
-
deletedAt: Date | null;
|
3077
|
-
fileName: string;
|
3078
|
-
fileKey: string;
|
3079
|
-
bucketName: string;
|
3080
|
-
fileSize: number;
|
3081
|
-
fileUrl: string | null;
|
3082
|
-
}[];
|
3083
|
-
}[];
|
3084
|
-
company: {
|
3085
|
-
id: string;
|
3086
|
-
createdAt: Date;
|
3087
|
-
updatedAt: Date;
|
3088
|
-
deletedAt: Date | null;
|
3089
|
-
address?: string | null | undefined;
|
3090
|
-
name?: string | undefined;
|
3091
|
-
phone?: string | null | undefined;
|
3092
|
-
industry?: string | null | undefined;
|
3093
|
-
} | null;
|
3094
|
-
notes: string | null;
|
3095
|
-
contactProfile: string | null;
|
3096
|
-
socialProfileUrl: string | null;
|
3097
|
-
tags: {
|
3098
|
-
id: string;
|
3099
|
-
name: string;
|
3100
|
-
createdAt: Date;
|
3101
|
-
updatedAt: Date;
|
3102
|
-
deletedAt: Date | null;
|
3103
|
-
}[];
|
3104
|
-
contactEmails: {
|
3105
|
-
id: string;
|
3106
|
-
isPrimary: boolean;
|
3107
|
-
email: string;
|
3108
|
-
createdAt: Date;
|
3109
|
-
updatedAt: Date;
|
3110
|
-
deletedAt: Date | null;
|
3111
|
-
}[];
|
3112
|
-
contactPhones: {
|
3113
|
-
id: string;
|
3114
|
-
isPrimary: boolean;
|
3115
|
-
createdAt: Date;
|
3116
|
-
updatedAt: Date;
|
3117
|
-
deletedAt: Date | null;
|
3118
|
-
phone: string;
|
3119
|
-
}[];
|
3120
|
-
activityLogs?: {
|
3121
|
-
id: string;
|
3122
|
-
description: string;
|
3123
|
-
createdAt: Date;
|
3124
|
-
updatedAt: Date;
|
3125
|
-
deletedAt: Date | null;
|
3126
|
-
entityId: string;
|
3127
|
-
entityType: {
|
3128
|
-
id: string;
|
3129
|
-
description: string | null;
|
3130
|
-
createdAt: Date;
|
3131
|
-
updatedAt: Date;
|
3132
|
-
deletedAt: Date | null;
|
3133
|
-
entity: string;
|
3134
|
-
};
|
3135
|
-
}[] | undefined;
|
3136
|
-
};
|
3137
|
-
channelId: string;
|
3138
|
-
socialPlatformId: string;
|
3139
|
-
};
|
3140
|
-
firstAssignee: {
|
3141
|
-
id: string;
|
3142
|
-
address: string | null;
|
3143
|
-
name: string;
|
3144
|
-
email: string;
|
3145
|
-
createdAt: Date;
|
3146
|
-
updatedAt: Date;
|
3147
|
-
deletedAt: Date | null;
|
3148
|
-
emailVerifiedAt: Date | null;
|
3149
|
-
password: string;
|
3150
|
-
phone: string | null;
|
3151
|
-
notificationCount: number | null;
|
3152
|
-
roles: {
|
3153
|
-
id: string;
|
3154
|
-
description: string | null;
|
3155
|
-
createdAt: Date;
|
3156
|
-
updatedAt: Date;
|
3157
|
-
deletedAt: Date | null;
|
3158
|
-
systemName: string;
|
3159
|
-
displayName: string;
|
3160
|
-
permissions: {
|
3161
|
-
id: string;
|
3162
|
-
description: string | null;
|
3163
|
-
createdAt: Date;
|
3164
|
-
updatedAt: Date;
|
3165
|
-
deletedAt: Date | null;
|
3166
|
-
systemName: string;
|
3167
|
-
displayName: string;
|
3168
|
-
}[];
|
3169
|
-
}[];
|
3170
|
-
extension: {
|
3171
|
-
id: string;
|
3172
|
-
createdAt: Date;
|
3173
|
-
updatedAt: Date;
|
3174
|
-
deletedAt: Date | null;
|
3175
|
-
userId: string | null;
|
3176
|
-
sipServerUrl: string;
|
3177
|
-
sipUserName: string;
|
3178
|
-
webphoneLoginUser: string;
|
3179
|
-
extensionId: string | null;
|
3180
|
-
extensionName: string;
|
3181
|
-
telephonySignature: string | null;
|
3182
|
-
};
|
3183
|
-
} | null;
|
3184
|
-
assignee: {
|
3185
|
-
id: string;
|
3186
|
-
address: string | null;
|
3187
|
-
name: string;
|
3188
|
-
email: string;
|
3189
|
-
createdAt: Date;
|
3190
|
-
updatedAt: Date;
|
3191
|
-
deletedAt: Date | null;
|
3192
|
-
emailVerifiedAt: Date | null;
|
3193
|
-
password: string;
|
3194
|
-
phone: string | null;
|
3195
|
-
notificationCount: number | null;
|
3196
|
-
roles: {
|
3197
|
-
id: string;
|
3198
|
-
description: string | null;
|
3199
|
-
createdAt: Date;
|
3200
|
-
updatedAt: Date;
|
3201
|
-
deletedAt: Date | null;
|
3202
|
-
systemName: string;
|
3203
|
-
displayName: string;
|
3204
|
-
permissions: {
|
3205
|
-
id: string;
|
3206
|
-
description: string | null;
|
3207
|
-
createdAt: Date;
|
3208
|
-
updatedAt: Date;
|
3209
|
-
deletedAt: Date | null;
|
3210
|
-
systemName: string;
|
3211
|
-
displayName: string;
|
3212
|
-
}[];
|
3213
|
-
}[];
|
3214
|
-
extension: {
|
3215
|
-
id: string;
|
3216
|
-
createdAt: Date;
|
3217
|
-
updatedAt: Date;
|
3218
|
-
deletedAt: Date | null;
|
3219
|
-
userId: string | null;
|
3220
|
-
sipServerUrl: string;
|
3221
|
-
sipUserName: string;
|
3222
|
-
webphoneLoginUser: string;
|
3223
|
-
extensionId: string | null;
|
3224
|
-
extensionName: string;
|
3225
|
-
telephonySignature: string | null;
|
3226
|
-
};
|
3227
|
-
} | null;
|
3228
|
-
closedAssignee: {
|
3229
|
-
id: string;
|
3230
|
-
address: string | null;
|
3231
|
-
name: string;
|
3232
|
-
email: string;
|
3233
|
-
createdAt: Date;
|
3234
|
-
updatedAt: Date;
|
3235
|
-
deletedAt: Date | null;
|
3236
|
-
emailVerifiedAt: Date | null;
|
3237
|
-
password: string;
|
3238
|
-
phone: string | null;
|
3239
|
-
notificationCount: number | null;
|
3240
|
-
roles: {
|
3241
|
-
id: string;
|
3242
|
-
description: string | null;
|
3243
|
-
createdAt: Date;
|
3244
|
-
updatedAt: Date;
|
3245
|
-
deletedAt: Date | null;
|
3246
|
-
systemName: string;
|
3247
|
-
displayName: string;
|
3248
|
-
permissions: {
|
3249
|
-
id: string;
|
3250
|
-
description: string | null;
|
3251
|
-
createdAt: Date;
|
3252
|
-
updatedAt: Date;
|
3253
|
-
deletedAt: Date | null;
|
3254
|
-
systemName: string;
|
3255
|
-
displayName: string;
|
3256
|
-
}[];
|
3257
|
-
}[];
|
3258
|
-
extension: {
|
3259
|
-
id: string;
|
3260
|
-
createdAt: Date;
|
3261
|
-
updatedAt: Date;
|
3262
|
-
deletedAt: Date | null;
|
3263
|
-
userId: string | null;
|
3264
|
-
sipServerUrl: string;
|
3265
|
-
sipUserName: string;
|
3266
|
-
webphoneLoginUser: string;
|
3267
|
-
extensionId: string | null;
|
3268
|
-
extensionName: string;
|
3269
|
-
telephonySignature: string | null;
|
3270
|
-
};
|
3271
|
-
} | null;
|
3272
|
-
}, {
|
3273
|
-
id: string;
|
3274
|
-
channel: {
|
3275
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
3276
|
-
id: string;
|
3277
|
-
name: string;
|
3278
|
-
metadata: {
|
3279
|
-
id: string;
|
3280
|
-
name: string;
|
3281
|
-
accessToken?: string | undefined;
|
3282
|
-
channelSecret?: string | undefined;
|
3283
|
-
additionalCredentials?: any;
|
3284
|
-
lineRichMenuId?: string | null | undefined;
|
3285
|
-
};
|
3286
|
-
status: boolean;
|
3287
|
-
createdAt: Date;
|
3288
|
-
updatedAt: Date;
|
3289
|
-
deletedAt: Date | null;
|
3290
|
-
actor: {
|
3291
|
-
id: string;
|
3292
|
-
address: string | null;
|
3293
|
-
name: string;
|
3294
|
-
email: string;
|
3295
|
-
createdAt: Date;
|
3296
|
-
updatedAt: Date;
|
3297
|
-
deletedAt: Date | null;
|
3298
|
-
emailVerifiedAt: Date | null;
|
3299
|
-
password: string;
|
3300
|
-
phone: string | null;
|
3301
|
-
notificationCount: number | null;
|
3302
|
-
roles: {
|
3303
|
-
id: string;
|
3304
|
-
description: string | null;
|
3305
|
-
createdAt: Date;
|
3306
|
-
updatedAt: Date;
|
3307
|
-
deletedAt: Date | null;
|
3308
|
-
systemName: string;
|
3309
|
-
displayName: string;
|
3310
|
-
permissions: {
|
3311
|
-
id: string;
|
3312
|
-
description: string | null;
|
3313
|
-
createdAt: Date;
|
3314
|
-
updatedAt: Date;
|
3315
|
-
deletedAt: Date | null;
|
3316
|
-
systemName: string;
|
3317
|
-
displayName: string;
|
3318
|
-
}[];
|
3319
|
-
}[];
|
3320
|
-
extension: {
|
3321
|
-
id: string;
|
3322
|
-
createdAt: Date;
|
3323
|
-
updatedAt: Date;
|
3324
|
-
deletedAt: Date | null;
|
3325
|
-
userId: string | null;
|
3326
|
-
sipServerUrl: string;
|
3327
|
-
sipUserName: string;
|
3328
|
-
webphoneLoginUser: string;
|
3329
|
-
extensionId: string | null;
|
3330
|
-
extensionName: string;
|
3331
|
-
telephonySignature: string | null;
|
3332
|
-
};
|
3333
|
-
};
|
3334
|
-
brandName: string;
|
3335
|
-
platformId: string;
|
3336
|
-
isReloginRequired: boolean;
|
3337
|
-
connectedUserName: string;
|
3338
|
-
connectedUserId: string;
|
3339
|
-
botpressBot: {
|
3340
|
-
id: string;
|
3341
|
-
name: string;
|
3342
|
-
accessToken: string;
|
3343
|
-
botId: string;
|
3344
|
-
integrationId: string;
|
3345
|
-
} | null;
|
3346
|
-
};
|
3347
|
-
direction: "incoming" | "outgoing" | "system";
|
3348
|
-
createdAt: Date;
|
3349
|
-
updatedAt: Date;
|
3350
|
-
deletedAt: Date | null;
|
3351
|
-
actor: {
|
2775
|
+
} | null;
|
2776
|
+
}, {
|
2777
|
+
id: string;
|
2778
|
+
channel: {
|
2779
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed";
|
2780
|
+
id: string;
|
2781
|
+
name: string;
|
2782
|
+
metadata: {
|
2783
|
+
id: string;
|
2784
|
+
name: string;
|
2785
|
+
accessToken?: string | undefined;
|
2786
|
+
channelSecret?: string | undefined;
|
2787
|
+
additionalCredentials?: any;
|
2788
|
+
lineRichMenuId?: string | null | undefined;
|
2789
|
+
};
|
2790
|
+
status: boolean;
|
2791
|
+
createdAt: Date;
|
2792
|
+
updatedAt: Date;
|
2793
|
+
deletedAt: Date | null;
|
2794
|
+
actor: {
|
2795
|
+
id: string;
|
2796
|
+
address: string | null;
|
2797
|
+
name: string;
|
2798
|
+
email: string;
|
2799
|
+
createdAt: Date;
|
2800
|
+
updatedAt: Date;
|
2801
|
+
deletedAt: Date | null;
|
2802
|
+
emailVerifiedAt: Date | null;
|
2803
|
+
password: string;
|
2804
|
+
phone: string | null;
|
2805
|
+
notificationCount: number | null;
|
2806
|
+
roles: {
|
2807
|
+
id: string;
|
2808
|
+
description: string | null;
|
2809
|
+
createdAt: Date;
|
2810
|
+
updatedAt: Date;
|
2811
|
+
deletedAt: Date | null;
|
2812
|
+
systemName: string;
|
2813
|
+
displayName: string;
|
2814
|
+
permissions: {
|
2815
|
+
id: string;
|
2816
|
+
description: string | null;
|
2817
|
+
createdAt: Date;
|
2818
|
+
updatedAt: Date;
|
2819
|
+
deletedAt: Date | null;
|
2820
|
+
systemName: string;
|
2821
|
+
displayName: string;
|
2822
|
+
}[];
|
2823
|
+
}[];
|
2824
|
+
extension: {
|
2825
|
+
id: string;
|
2826
|
+
createdAt: Date;
|
2827
|
+
updatedAt: Date;
|
2828
|
+
deletedAt: Date | null;
|
2829
|
+
userId: string | null;
|
2830
|
+
sipServerUrl: string;
|
2831
|
+
sipUserName: string;
|
2832
|
+
webphoneLoginUser: string;
|
2833
|
+
extensionId: string | null;
|
2834
|
+
extensionName: string;
|
2835
|
+
telephonySignature: string | null;
|
2836
|
+
};
|
2837
|
+
};
|
2838
|
+
brandName: string;
|
2839
|
+
platformId: string;
|
2840
|
+
isReloginRequired: boolean;
|
2841
|
+
connectedUserName: string;
|
2842
|
+
connectedUserId: string;
|
2843
|
+
botpressBot: {
|
2844
|
+
id: string;
|
2845
|
+
name: string;
|
2846
|
+
accessToken: string;
|
2847
|
+
botId: string;
|
2848
|
+
integrationId: string;
|
2849
|
+
} | null;
|
2850
|
+
};
|
2851
|
+
direction: "incoming" | "outgoing" | "system";
|
2852
|
+
createdAt: Date;
|
2853
|
+
updatedAt: Date;
|
2854
|
+
deletedAt: Date | null;
|
2855
|
+
actor: {
|
3352
2856
|
id: string;
|
3353
2857
|
address: string | null;
|
3354
2858
|
name: string;
|
@@ -3511,50 +3015,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3511
3015
|
channelId: string;
|
3512
3016
|
socialPlatformId: string;
|
3513
3017
|
};
|
3514
|
-
firstAssignee: {
|
3515
|
-
id: string;
|
3516
|
-
address: string | null;
|
3517
|
-
name: string;
|
3518
|
-
email: string;
|
3519
|
-
createdAt: Date;
|
3520
|
-
updatedAt: Date;
|
3521
|
-
deletedAt: Date | null;
|
3522
|
-
emailVerifiedAt: Date | null;
|
3523
|
-
password: string;
|
3524
|
-
phone: string | null;
|
3525
|
-
notificationCount: number | null;
|
3526
|
-
roles: {
|
3527
|
-
id: string;
|
3528
|
-
description: string | null;
|
3529
|
-
createdAt: Date;
|
3530
|
-
updatedAt: Date;
|
3531
|
-
deletedAt: Date | null;
|
3532
|
-
systemName: string;
|
3533
|
-
displayName: string;
|
3534
|
-
permissions: {
|
3535
|
-
id: string;
|
3536
|
-
description: string | null;
|
3537
|
-
createdAt: Date;
|
3538
|
-
updatedAt: Date;
|
3539
|
-
deletedAt: Date | null;
|
3540
|
-
systemName: string;
|
3541
|
-
displayName: string;
|
3542
|
-
}[];
|
3543
|
-
}[];
|
3544
|
-
extension: {
|
3545
|
-
id: string;
|
3546
|
-
createdAt: Date;
|
3547
|
-
updatedAt: Date;
|
3548
|
-
deletedAt: Date | null;
|
3549
|
-
userId: string | null;
|
3550
|
-
sipServerUrl: string;
|
3551
|
-
sipUserName: string;
|
3552
|
-
webphoneLoginUser: string;
|
3553
|
-
extensionId: string | null;
|
3554
|
-
extensionName: string;
|
3555
|
-
telephonySignature: string | null;
|
3556
|
-
};
|
3557
|
-
} | null;
|
3558
3018
|
assignee: {
|
3559
3019
|
id: string;
|
3560
3020
|
address: string | null;
|
@@ -3599,50 +3059,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3599
3059
|
telephonySignature: string | null;
|
3600
3060
|
};
|
3601
3061
|
} | null;
|
3602
|
-
closedAssignee: {
|
3603
|
-
id: string;
|
3604
|
-
address: string | null;
|
3605
|
-
name: string;
|
3606
|
-
email: string;
|
3607
|
-
createdAt: Date;
|
3608
|
-
updatedAt: Date;
|
3609
|
-
deletedAt: Date | null;
|
3610
|
-
emailVerifiedAt: Date | null;
|
3611
|
-
password: string;
|
3612
|
-
phone: string | null;
|
3613
|
-
notificationCount: number | null;
|
3614
|
-
roles: {
|
3615
|
-
id: string;
|
3616
|
-
description: string | null;
|
3617
|
-
createdAt: Date;
|
3618
|
-
updatedAt: Date;
|
3619
|
-
deletedAt: Date | null;
|
3620
|
-
systemName: string;
|
3621
|
-
displayName: string;
|
3622
|
-
permissions: {
|
3623
|
-
id: string;
|
3624
|
-
description: string | null;
|
3625
|
-
createdAt: Date;
|
3626
|
-
updatedAt: Date;
|
3627
|
-
deletedAt: Date | null;
|
3628
|
-
systemName: string;
|
3629
|
-
displayName: string;
|
3630
|
-
}[];
|
3631
|
-
}[];
|
3632
|
-
extension: {
|
3633
|
-
id: string;
|
3634
|
-
createdAt: Date;
|
3635
|
-
updatedAt: Date;
|
3636
|
-
deletedAt: Date | null;
|
3637
|
-
userId: string | null;
|
3638
|
-
sipServerUrl: string;
|
3639
|
-
sipUserName: string;
|
3640
|
-
webphoneLoginUser: string;
|
3641
|
-
extensionId: string | null;
|
3642
|
-
extensionName: string;
|
3643
|
-
telephonySignature: string | null;
|
3644
|
-
};
|
3645
|
-
} | null;
|
3646
3062
|
}>>;
|
3647
3063
|
telephonyCdr: z.ZodNullable<z.ZodObject<{
|
3648
3064
|
id: z.ZodString;
|
@@ -6054,7 +5470,95 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6054
5470
|
isArchived: boolean;
|
6055
5471
|
isRequired: boolean;
|
6056
5472
|
isUnique: boolean;
|
6057
|
-
}, {
|
5473
|
+
}, {
|
5474
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5475
|
+
id: string;
|
5476
|
+
position: number;
|
5477
|
+
createdAt: Date;
|
5478
|
+
updatedAt: Date;
|
5479
|
+
deletedAt: Date | null;
|
5480
|
+
systemName: string;
|
5481
|
+
displayName: string;
|
5482
|
+
isDefault: boolean;
|
5483
|
+
isArchived: boolean;
|
5484
|
+
isRequired: boolean;
|
5485
|
+
isUnique: boolean;
|
5486
|
+
}>;
|
5487
|
+
uploads: z.ZodArray<z.ZodObject<{
|
5488
|
+
id: z.ZodString;
|
5489
|
+
createdAt: z.ZodDate;
|
5490
|
+
updatedAt: z.ZodDate;
|
5491
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5492
|
+
bucketName: z.ZodString;
|
5493
|
+
fileName: z.ZodString;
|
5494
|
+
fileSize: z.ZodNumber;
|
5495
|
+
fileKey: z.ZodString;
|
5496
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
5497
|
+
status: z.ZodNullable<z.ZodString>;
|
5498
|
+
}, "strip", z.ZodTypeAny, {
|
5499
|
+
id: string;
|
5500
|
+
status: string | null;
|
5501
|
+
createdAt: Date;
|
5502
|
+
updatedAt: Date;
|
5503
|
+
deletedAt: Date | null;
|
5504
|
+
fileName: string;
|
5505
|
+
fileKey: string;
|
5506
|
+
bucketName: string;
|
5507
|
+
fileSize: number;
|
5508
|
+
fileUrl: string | null;
|
5509
|
+
}, {
|
5510
|
+
id: string;
|
5511
|
+
status: string | null;
|
5512
|
+
createdAt: Date;
|
5513
|
+
updatedAt: Date;
|
5514
|
+
deletedAt: Date | null;
|
5515
|
+
fileName: string;
|
5516
|
+
fileKey: string;
|
5517
|
+
bucketName: string;
|
5518
|
+
fileSize: number;
|
5519
|
+
fileUrl: string | null;
|
5520
|
+
}>, "many">;
|
5521
|
+
}, "strip", z.ZodTypeAny, {
|
5522
|
+
id: string;
|
5523
|
+
createdAt: Date;
|
5524
|
+
updatedAt: Date;
|
5525
|
+
deletedAt: Date | null;
|
5526
|
+
attribute: {
|
5527
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5528
|
+
id: string;
|
5529
|
+
position: number;
|
5530
|
+
createdAt: Date;
|
5531
|
+
updatedAt: Date;
|
5532
|
+
deletedAt: Date | null;
|
5533
|
+
systemName: string;
|
5534
|
+
displayName: string;
|
5535
|
+
isDefault: boolean;
|
5536
|
+
isArchived: boolean;
|
5537
|
+
isRequired: boolean;
|
5538
|
+
isUnique: boolean;
|
5539
|
+
};
|
5540
|
+
textValue: string | null;
|
5541
|
+
booleanValue: boolean | null;
|
5542
|
+
numberValue: number | null;
|
5543
|
+
dateValue: Date | null;
|
5544
|
+
uploads: {
|
5545
|
+
id: string;
|
5546
|
+
status: string | null;
|
5547
|
+
createdAt: Date;
|
5548
|
+
updatedAt: Date;
|
5549
|
+
deletedAt: Date | null;
|
5550
|
+
fileName: string;
|
5551
|
+
fileKey: string;
|
5552
|
+
bucketName: string;
|
5553
|
+
fileSize: number;
|
5554
|
+
fileUrl: string | null;
|
5555
|
+
}[];
|
5556
|
+
}, {
|
5557
|
+
id: string;
|
5558
|
+
createdAt: Date;
|
5559
|
+
updatedAt: Date;
|
5560
|
+
deletedAt: Date | null;
|
5561
|
+
attribute: {
|
6058
5562
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6059
5563
|
id: string;
|
6060
5564
|
position: number;
|
@@ -6067,19 +5571,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6067
5571
|
isArchived: boolean;
|
6068
5572
|
isRequired: boolean;
|
6069
5573
|
isUnique: boolean;
|
6070
|
-
}
|
6071
|
-
|
6072
|
-
|
6073
|
-
|
6074
|
-
|
6075
|
-
|
6076
|
-
bucketName: z.ZodString;
|
6077
|
-
fileName: z.ZodString;
|
6078
|
-
fileSize: z.ZodNumber;
|
6079
|
-
fileKey: z.ZodString;
|
6080
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
6081
|
-
status: z.ZodNullable<z.ZodString>;
|
6082
|
-
}, "strip", z.ZodTypeAny, {
|
5574
|
+
};
|
5575
|
+
textValue: string | null;
|
5576
|
+
booleanValue: boolean | null;
|
5577
|
+
numberValue: number | null;
|
5578
|
+
dateValue: Date | null;
|
5579
|
+
uploads: {
|
6083
5580
|
id: string;
|
6084
5581
|
status: string | null;
|
6085
5582
|
createdAt: Date;
|
@@ -6090,7 +5587,144 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6090
5587
|
bucketName: string;
|
6091
5588
|
fileSize: number;
|
6092
5589
|
fileUrl: string | null;
|
5590
|
+
}[];
|
5591
|
+
}>, "many">;
|
5592
|
+
contactEmails: z.ZodArray<z.ZodObject<{
|
5593
|
+
id: z.ZodString;
|
5594
|
+
createdAt: z.ZodDate;
|
5595
|
+
updatedAt: z.ZodDate;
|
5596
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5597
|
+
email: z.ZodString;
|
5598
|
+
isPrimary: z.ZodBoolean;
|
5599
|
+
}, "strip", z.ZodTypeAny, {
|
5600
|
+
id: string;
|
5601
|
+
isPrimary: boolean;
|
5602
|
+
email: string;
|
5603
|
+
createdAt: Date;
|
5604
|
+
updatedAt: Date;
|
5605
|
+
deletedAt: Date | null;
|
5606
|
+
}, {
|
5607
|
+
id: string;
|
5608
|
+
isPrimary: boolean;
|
5609
|
+
email: string;
|
5610
|
+
createdAt: Date;
|
5611
|
+
updatedAt: Date;
|
5612
|
+
deletedAt: Date | null;
|
5613
|
+
}>, "many">;
|
5614
|
+
contactPhones: z.ZodArray<z.ZodObject<{
|
5615
|
+
id: z.ZodString;
|
5616
|
+
createdAt: z.ZodDate;
|
5617
|
+
updatedAt: z.ZodDate;
|
5618
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5619
|
+
phone: z.ZodString;
|
5620
|
+
isPrimary: z.ZodBoolean;
|
5621
|
+
}, "strip", z.ZodTypeAny, {
|
5622
|
+
id: string;
|
5623
|
+
isPrimary: boolean;
|
5624
|
+
createdAt: Date;
|
5625
|
+
updatedAt: Date;
|
5626
|
+
deletedAt: Date | null;
|
5627
|
+
phone: string;
|
5628
|
+
}, {
|
5629
|
+
id: string;
|
5630
|
+
isPrimary: boolean;
|
5631
|
+
createdAt: Date;
|
5632
|
+
updatedAt: Date;
|
5633
|
+
deletedAt: Date | null;
|
5634
|
+
phone: string;
|
5635
|
+
}>, "many">;
|
5636
|
+
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
5637
|
+
id: z.ZodString;
|
5638
|
+
createdAt: z.ZodDate;
|
5639
|
+
updatedAt: z.ZodDate;
|
5640
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5641
|
+
entityId: z.ZodString;
|
5642
|
+
description: z.ZodString;
|
5643
|
+
entityType: z.ZodObject<{
|
5644
|
+
id: z.ZodString;
|
5645
|
+
createdAt: z.ZodDate;
|
5646
|
+
updatedAt: z.ZodDate;
|
5647
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5648
|
+
entity: z.ZodString;
|
5649
|
+
description: z.ZodNullable<z.ZodString>;
|
5650
|
+
}, "strip", z.ZodTypeAny, {
|
5651
|
+
id: string;
|
5652
|
+
description: string | null;
|
5653
|
+
createdAt: Date;
|
5654
|
+
updatedAt: Date;
|
5655
|
+
deletedAt: Date | null;
|
5656
|
+
entity: string;
|
6093
5657
|
}, {
|
5658
|
+
id: string;
|
5659
|
+
description: string | null;
|
5660
|
+
createdAt: Date;
|
5661
|
+
updatedAt: Date;
|
5662
|
+
deletedAt: Date | null;
|
5663
|
+
entity: string;
|
5664
|
+
}>;
|
5665
|
+
}, "strip", z.ZodTypeAny, {
|
5666
|
+
id: string;
|
5667
|
+
description: string;
|
5668
|
+
createdAt: Date;
|
5669
|
+
updatedAt: Date;
|
5670
|
+
deletedAt: Date | null;
|
5671
|
+
entityId: string;
|
5672
|
+
entityType: {
|
5673
|
+
id: string;
|
5674
|
+
description: string | null;
|
5675
|
+
createdAt: Date;
|
5676
|
+
updatedAt: Date;
|
5677
|
+
deletedAt: Date | null;
|
5678
|
+
entity: string;
|
5679
|
+
};
|
5680
|
+
}, {
|
5681
|
+
id: string;
|
5682
|
+
description: string;
|
5683
|
+
createdAt: Date;
|
5684
|
+
updatedAt: Date;
|
5685
|
+
deletedAt: Date | null;
|
5686
|
+
entityId: string;
|
5687
|
+
entityType: {
|
5688
|
+
id: string;
|
5689
|
+
description: string | null;
|
5690
|
+
createdAt: Date;
|
5691
|
+
updatedAt: Date;
|
5692
|
+
deletedAt: Date | null;
|
5693
|
+
entity: string;
|
5694
|
+
};
|
5695
|
+
}>, "many">>;
|
5696
|
+
}, "strip", z.ZodTypeAny, {
|
5697
|
+
id: string;
|
5698
|
+
channel: string | null;
|
5699
|
+
address: string | null;
|
5700
|
+
name: string;
|
5701
|
+
createdAt: Date;
|
5702
|
+
updatedAt: Date;
|
5703
|
+
deletedAt: Date | null;
|
5704
|
+
customFields: {
|
5705
|
+
id: string;
|
5706
|
+
createdAt: Date;
|
5707
|
+
updatedAt: Date;
|
5708
|
+
deletedAt: Date | null;
|
5709
|
+
attribute: {
|
5710
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5711
|
+
id: string;
|
5712
|
+
position: number;
|
5713
|
+
createdAt: Date;
|
5714
|
+
updatedAt: Date;
|
5715
|
+
deletedAt: Date | null;
|
5716
|
+
systemName: string;
|
5717
|
+
displayName: string;
|
5718
|
+
isDefault: boolean;
|
5719
|
+
isArchived: boolean;
|
5720
|
+
isRequired: boolean;
|
5721
|
+
isUnique: boolean;
|
5722
|
+
};
|
5723
|
+
textValue: string | null;
|
5724
|
+
booleanValue: boolean | null;
|
5725
|
+
numberValue: number | null;
|
5726
|
+
dateValue: Date | null;
|
5727
|
+
uploads: {
|
6094
5728
|
id: string;
|
6095
5729
|
status: string | null;
|
6096
5730
|
createdAt: Date;
|
@@ -6101,8 +5735,69 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6101
5735
|
bucketName: string;
|
6102
5736
|
fileSize: number;
|
6103
5737
|
fileUrl: string | null;
|
6104
|
-
}
|
6105
|
-
}
|
5738
|
+
}[];
|
5739
|
+
}[];
|
5740
|
+
company: {
|
5741
|
+
id: string;
|
5742
|
+
createdAt: Date;
|
5743
|
+
updatedAt: Date;
|
5744
|
+
deletedAt: Date | null;
|
5745
|
+
address?: string | null | undefined;
|
5746
|
+
name?: string | undefined;
|
5747
|
+
phone?: string | null | undefined;
|
5748
|
+
industry?: string | null | undefined;
|
5749
|
+
} | null;
|
5750
|
+
notes: string | null;
|
5751
|
+
contactProfile: string | null;
|
5752
|
+
socialProfileUrl: string | null;
|
5753
|
+
tags: {
|
5754
|
+
id: string;
|
5755
|
+
name: string;
|
5756
|
+
createdAt: Date;
|
5757
|
+
updatedAt: Date;
|
5758
|
+
deletedAt: Date | null;
|
5759
|
+
}[];
|
5760
|
+
contactEmails: {
|
5761
|
+
id: string;
|
5762
|
+
isPrimary: boolean;
|
5763
|
+
email: string;
|
5764
|
+
createdAt: Date;
|
5765
|
+
updatedAt: Date;
|
5766
|
+
deletedAt: Date | null;
|
5767
|
+
}[];
|
5768
|
+
contactPhones: {
|
5769
|
+
id: string;
|
5770
|
+
isPrimary: boolean;
|
5771
|
+
createdAt: Date;
|
5772
|
+
updatedAt: Date;
|
5773
|
+
deletedAt: Date | null;
|
5774
|
+
phone: string;
|
5775
|
+
}[];
|
5776
|
+
activityLogs?: {
|
5777
|
+
id: string;
|
5778
|
+
description: string;
|
5779
|
+
createdAt: Date;
|
5780
|
+
updatedAt: Date;
|
5781
|
+
deletedAt: Date | null;
|
5782
|
+
entityId: string;
|
5783
|
+
entityType: {
|
5784
|
+
id: string;
|
5785
|
+
description: string | null;
|
5786
|
+
createdAt: Date;
|
5787
|
+
updatedAt: Date;
|
5788
|
+
deletedAt: Date | null;
|
5789
|
+
entity: string;
|
5790
|
+
};
|
5791
|
+
}[] | undefined;
|
5792
|
+
}, {
|
5793
|
+
id: string;
|
5794
|
+
channel: string | null;
|
5795
|
+
address: string | null;
|
5796
|
+
name: string;
|
5797
|
+
createdAt: Date;
|
5798
|
+
updatedAt: Date;
|
5799
|
+
deletedAt: Date | null;
|
5800
|
+
customFields: {
|
6106
5801
|
id: string;
|
6107
5802
|
createdAt: Date;
|
6108
5803
|
updatedAt: Date;
|
@@ -6137,99 +5832,291 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6137
5832
|
fileSize: number;
|
6138
5833
|
fileUrl: string | null;
|
6139
5834
|
}[];
|
6140
|
-
}
|
5835
|
+
}[];
|
5836
|
+
company: {
|
6141
5837
|
id: string;
|
6142
5838
|
createdAt: Date;
|
6143
5839
|
updatedAt: Date;
|
6144
5840
|
deletedAt: Date | null;
|
6145
|
-
|
6146
|
-
|
5841
|
+
address?: string | null | undefined;
|
5842
|
+
name?: string | undefined;
|
5843
|
+
phone?: string | null | undefined;
|
5844
|
+
industry?: string | null | undefined;
|
5845
|
+
} | null;
|
5846
|
+
notes: string | null;
|
5847
|
+
contactProfile: string | null;
|
5848
|
+
socialProfileUrl: string | null;
|
5849
|
+
tags: {
|
5850
|
+
id: string;
|
5851
|
+
name: string;
|
5852
|
+
createdAt: Date;
|
5853
|
+
updatedAt: Date;
|
5854
|
+
deletedAt: Date | null;
|
5855
|
+
}[];
|
5856
|
+
contactEmails: {
|
5857
|
+
id: string;
|
5858
|
+
isPrimary: boolean;
|
5859
|
+
email: string;
|
5860
|
+
createdAt: Date;
|
5861
|
+
updatedAt: Date;
|
5862
|
+
deletedAt: Date | null;
|
5863
|
+
}[];
|
5864
|
+
contactPhones: {
|
5865
|
+
id: string;
|
5866
|
+
isPrimary: boolean;
|
5867
|
+
createdAt: Date;
|
5868
|
+
updatedAt: Date;
|
5869
|
+
deletedAt: Date | null;
|
5870
|
+
phone: string;
|
5871
|
+
}[];
|
5872
|
+
activityLogs?: {
|
5873
|
+
id: string;
|
5874
|
+
description: string;
|
5875
|
+
createdAt: Date;
|
5876
|
+
updatedAt: Date;
|
5877
|
+
deletedAt: Date | null;
|
5878
|
+
entityId: string;
|
5879
|
+
entityType: {
|
6147
5880
|
id: string;
|
6148
|
-
|
5881
|
+
description: string | null;
|
5882
|
+
createdAt: Date;
|
5883
|
+
updatedAt: Date;
|
5884
|
+
deletedAt: Date | null;
|
5885
|
+
entity: string;
|
5886
|
+
};
|
5887
|
+
}[] | undefined;
|
5888
|
+
}>>;
|
5889
|
+
firstAssignee: z.ZodNullable<z.ZodObject<{
|
5890
|
+
id: z.ZodString;
|
5891
|
+
createdAt: z.ZodDate;
|
5892
|
+
updatedAt: z.ZodDate;
|
5893
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5894
|
+
name: z.ZodString;
|
5895
|
+
email: z.ZodString;
|
5896
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
5897
|
+
password: z.ZodString;
|
5898
|
+
address: z.ZodNullable<z.ZodString>;
|
5899
|
+
phone: z.ZodNullable<z.ZodString>;
|
5900
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
5901
|
+
roles: z.ZodArray<z.ZodObject<{
|
5902
|
+
id: z.ZodString;
|
5903
|
+
createdAt: z.ZodDate;
|
5904
|
+
updatedAt: z.ZodDate;
|
5905
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5906
|
+
systemName: z.ZodString;
|
5907
|
+
displayName: z.ZodString;
|
5908
|
+
description: z.ZodNullable<z.ZodString>;
|
5909
|
+
permissions: z.ZodArray<z.ZodObject<{
|
5910
|
+
id: z.ZodString;
|
5911
|
+
createdAt: z.ZodDate;
|
5912
|
+
updatedAt: z.ZodDate;
|
5913
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5914
|
+
systemName: z.ZodString;
|
5915
|
+
displayName: z.ZodString;
|
5916
|
+
description: z.ZodNullable<z.ZodString>;
|
5917
|
+
}, "strip", z.ZodTypeAny, {
|
5918
|
+
id: string;
|
5919
|
+
description: string | null;
|
6149
5920
|
createdAt: Date;
|
6150
5921
|
updatedAt: Date;
|
6151
5922
|
deletedAt: Date | null;
|
6152
5923
|
systemName: string;
|
6153
5924
|
displayName: string;
|
6154
|
-
|
6155
|
-
isArchived: boolean;
|
6156
|
-
isRequired: boolean;
|
6157
|
-
isUnique: boolean;
|
6158
|
-
};
|
6159
|
-
textValue: string | null;
|
6160
|
-
booleanValue: boolean | null;
|
6161
|
-
numberValue: number | null;
|
6162
|
-
dateValue: Date | null;
|
6163
|
-
uploads: {
|
5925
|
+
}, {
|
6164
5926
|
id: string;
|
6165
|
-
|
5927
|
+
description: string | null;
|
6166
5928
|
createdAt: Date;
|
6167
5929
|
updatedAt: Date;
|
6168
5930
|
deletedAt: Date | null;
|
6169
|
-
|
6170
|
-
|
6171
|
-
|
6172
|
-
fileSize: number;
|
6173
|
-
fileUrl: string | null;
|
6174
|
-
}[];
|
6175
|
-
}>, "many">;
|
6176
|
-
contactEmails: z.ZodArray<z.ZodObject<{
|
6177
|
-
id: z.ZodString;
|
6178
|
-
createdAt: z.ZodDate;
|
6179
|
-
updatedAt: z.ZodDate;
|
6180
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
6181
|
-
email: z.ZodString;
|
6182
|
-
isPrimary: z.ZodBoolean;
|
5931
|
+
systemName: string;
|
5932
|
+
displayName: string;
|
5933
|
+
}>, "many">;
|
6183
5934
|
}, "strip", z.ZodTypeAny, {
|
6184
5935
|
id: string;
|
6185
|
-
|
6186
|
-
email: string;
|
5936
|
+
description: string | null;
|
6187
5937
|
createdAt: Date;
|
6188
5938
|
updatedAt: Date;
|
6189
5939
|
deletedAt: Date | null;
|
5940
|
+
systemName: string;
|
5941
|
+
displayName: string;
|
5942
|
+
permissions: {
|
5943
|
+
id: string;
|
5944
|
+
description: string | null;
|
5945
|
+
createdAt: Date;
|
5946
|
+
updatedAt: Date;
|
5947
|
+
deletedAt: Date | null;
|
5948
|
+
systemName: string;
|
5949
|
+
displayName: string;
|
5950
|
+
}[];
|
6190
5951
|
}, {
|
6191
5952
|
id: string;
|
6192
|
-
|
6193
|
-
email: string;
|
5953
|
+
description: string | null;
|
6194
5954
|
createdAt: Date;
|
6195
5955
|
updatedAt: Date;
|
6196
5956
|
deletedAt: Date | null;
|
5957
|
+
systemName: string;
|
5958
|
+
displayName: string;
|
5959
|
+
permissions: {
|
5960
|
+
id: string;
|
5961
|
+
description: string | null;
|
5962
|
+
createdAt: Date;
|
5963
|
+
updatedAt: Date;
|
5964
|
+
deletedAt: Date | null;
|
5965
|
+
systemName: string;
|
5966
|
+
displayName: string;
|
5967
|
+
}[];
|
6197
5968
|
}>, "many">;
|
6198
|
-
|
5969
|
+
extension: z.ZodObject<{
|
6199
5970
|
id: z.ZodString;
|
6200
5971
|
createdAt: z.ZodDate;
|
6201
5972
|
updatedAt: z.ZodDate;
|
6202
5973
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6203
|
-
|
6204
|
-
|
5974
|
+
userId: z.ZodNullable<z.ZodString>;
|
5975
|
+
sipServerUrl: z.ZodString;
|
5976
|
+
sipUserName: z.ZodString;
|
5977
|
+
webphoneLoginUser: z.ZodString;
|
5978
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
5979
|
+
extensionName: z.ZodString;
|
5980
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
6205
5981
|
}, "strip", z.ZodTypeAny, {
|
6206
5982
|
id: string;
|
6207
|
-
isPrimary: boolean;
|
6208
5983
|
createdAt: Date;
|
6209
5984
|
updatedAt: Date;
|
6210
5985
|
deletedAt: Date | null;
|
6211
|
-
|
5986
|
+
userId: string | null;
|
5987
|
+
sipServerUrl: string;
|
5988
|
+
sipUserName: string;
|
5989
|
+
webphoneLoginUser: string;
|
5990
|
+
extensionId: string | null;
|
5991
|
+
extensionName: string;
|
5992
|
+
telephonySignature: string | null;
|
6212
5993
|
}, {
|
6213
5994
|
id: string;
|
6214
|
-
isPrimary: boolean;
|
6215
5995
|
createdAt: Date;
|
6216
5996
|
updatedAt: Date;
|
6217
5997
|
deletedAt: Date | null;
|
6218
|
-
|
6219
|
-
|
6220
|
-
|
5998
|
+
userId: string | null;
|
5999
|
+
sipServerUrl: string;
|
6000
|
+
sipUserName: string;
|
6001
|
+
webphoneLoginUser: string;
|
6002
|
+
extensionId: string | null;
|
6003
|
+
extensionName: string;
|
6004
|
+
telephonySignature: string | null;
|
6005
|
+
}>;
|
6006
|
+
}, "strip", z.ZodTypeAny, {
|
6007
|
+
id: string;
|
6008
|
+
address: string | null;
|
6009
|
+
name: string;
|
6010
|
+
email: string;
|
6011
|
+
createdAt: Date;
|
6012
|
+
updatedAt: Date;
|
6013
|
+
deletedAt: Date | null;
|
6014
|
+
emailVerifiedAt: Date | null;
|
6015
|
+
password: string;
|
6016
|
+
phone: string | null;
|
6017
|
+
notificationCount: number | null;
|
6018
|
+
roles: {
|
6019
|
+
id: string;
|
6020
|
+
description: string | null;
|
6021
|
+
createdAt: Date;
|
6022
|
+
updatedAt: Date;
|
6023
|
+
deletedAt: Date | null;
|
6024
|
+
systemName: string;
|
6025
|
+
displayName: string;
|
6026
|
+
permissions: {
|
6027
|
+
id: string;
|
6028
|
+
description: string | null;
|
6029
|
+
createdAt: Date;
|
6030
|
+
updatedAt: Date;
|
6031
|
+
deletedAt: Date | null;
|
6032
|
+
systemName: string;
|
6033
|
+
displayName: string;
|
6034
|
+
}[];
|
6035
|
+
}[];
|
6036
|
+
extension: {
|
6037
|
+
id: string;
|
6038
|
+
createdAt: Date;
|
6039
|
+
updatedAt: Date;
|
6040
|
+
deletedAt: Date | null;
|
6041
|
+
userId: string | null;
|
6042
|
+
sipServerUrl: string;
|
6043
|
+
sipUserName: string;
|
6044
|
+
webphoneLoginUser: string;
|
6045
|
+
extensionId: string | null;
|
6046
|
+
extensionName: string;
|
6047
|
+
telephonySignature: string | null;
|
6048
|
+
};
|
6049
|
+
}, {
|
6050
|
+
id: string;
|
6051
|
+
address: string | null;
|
6052
|
+
name: string;
|
6053
|
+
email: string;
|
6054
|
+
createdAt: Date;
|
6055
|
+
updatedAt: Date;
|
6056
|
+
deletedAt: Date | null;
|
6057
|
+
emailVerifiedAt: Date | null;
|
6058
|
+
password: string;
|
6059
|
+
phone: string | null;
|
6060
|
+
notificationCount: number | null;
|
6061
|
+
roles: {
|
6062
|
+
id: string;
|
6063
|
+
description: string | null;
|
6064
|
+
createdAt: Date;
|
6065
|
+
updatedAt: Date;
|
6066
|
+
deletedAt: Date | null;
|
6067
|
+
systemName: string;
|
6068
|
+
displayName: string;
|
6069
|
+
permissions: {
|
6070
|
+
id: string;
|
6071
|
+
description: string | null;
|
6072
|
+
createdAt: Date;
|
6073
|
+
updatedAt: Date;
|
6074
|
+
deletedAt: Date | null;
|
6075
|
+
systemName: string;
|
6076
|
+
displayName: string;
|
6077
|
+
}[];
|
6078
|
+
}[];
|
6079
|
+
extension: {
|
6080
|
+
id: string;
|
6081
|
+
createdAt: Date;
|
6082
|
+
updatedAt: Date;
|
6083
|
+
deletedAt: Date | null;
|
6084
|
+
userId: string | null;
|
6085
|
+
sipServerUrl: string;
|
6086
|
+
sipUserName: string;
|
6087
|
+
webphoneLoginUser: string;
|
6088
|
+
extensionId: string | null;
|
6089
|
+
extensionName: string;
|
6090
|
+
telephonySignature: string | null;
|
6091
|
+
};
|
6092
|
+
}>>;
|
6093
|
+
agent: z.ZodNullable<z.ZodObject<{
|
6094
|
+
id: z.ZodString;
|
6095
|
+
createdAt: z.ZodDate;
|
6096
|
+
updatedAt: z.ZodDate;
|
6097
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6098
|
+
name: z.ZodString;
|
6099
|
+
email: z.ZodString;
|
6100
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
6101
|
+
password: z.ZodString;
|
6102
|
+
address: z.ZodNullable<z.ZodString>;
|
6103
|
+
phone: z.ZodNullable<z.ZodString>;
|
6104
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
6105
|
+
roles: z.ZodArray<z.ZodObject<{
|
6221
6106
|
id: z.ZodString;
|
6222
6107
|
createdAt: z.ZodDate;
|
6223
6108
|
updatedAt: z.ZodDate;
|
6224
6109
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6225
|
-
|
6226
|
-
|
6227
|
-
|
6110
|
+
systemName: z.ZodString;
|
6111
|
+
displayName: z.ZodString;
|
6112
|
+
description: z.ZodNullable<z.ZodString>;
|
6113
|
+
permissions: z.ZodArray<z.ZodObject<{
|
6228
6114
|
id: z.ZodString;
|
6229
6115
|
createdAt: z.ZodDate;
|
6230
6116
|
updatedAt: z.ZodDate;
|
6231
6117
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6232
|
-
|
6118
|
+
systemName: z.ZodString;
|
6119
|
+
displayName: z.ZodString;
|
6233
6120
|
description: z.ZodNullable<z.ZodString>;
|
6234
6121
|
}, "strip", z.ZodTypeAny, {
|
6235
6122
|
id: string;
|
@@ -6237,240 +6124,177 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6237
6124
|
createdAt: Date;
|
6238
6125
|
updatedAt: Date;
|
6239
6126
|
deletedAt: Date | null;
|
6240
|
-
|
6127
|
+
systemName: string;
|
6128
|
+
displayName: string;
|
6241
6129
|
}, {
|
6242
6130
|
id: string;
|
6243
6131
|
description: string | null;
|
6244
6132
|
createdAt: Date;
|
6245
6133
|
updatedAt: Date;
|
6246
6134
|
deletedAt: Date | null;
|
6247
|
-
|
6248
|
-
|
6135
|
+
systemName: string;
|
6136
|
+
displayName: string;
|
6137
|
+
}>, "many">;
|
6249
6138
|
}, "strip", z.ZodTypeAny, {
|
6250
6139
|
id: string;
|
6251
|
-
description: string;
|
6140
|
+
description: string | null;
|
6252
6141
|
createdAt: Date;
|
6253
6142
|
updatedAt: Date;
|
6254
6143
|
deletedAt: Date | null;
|
6255
|
-
|
6256
|
-
|
6144
|
+
systemName: string;
|
6145
|
+
displayName: string;
|
6146
|
+
permissions: {
|
6257
6147
|
id: string;
|
6258
6148
|
description: string | null;
|
6259
6149
|
createdAt: Date;
|
6260
6150
|
updatedAt: Date;
|
6261
6151
|
deletedAt: Date | null;
|
6262
|
-
|
6263
|
-
|
6152
|
+
systemName: string;
|
6153
|
+
displayName: string;
|
6154
|
+
}[];
|
6264
6155
|
}, {
|
6265
6156
|
id: string;
|
6266
|
-
description: string;
|
6157
|
+
description: string | null;
|
6267
6158
|
createdAt: Date;
|
6268
6159
|
updatedAt: Date;
|
6269
6160
|
deletedAt: Date | null;
|
6270
|
-
|
6271
|
-
|
6161
|
+
systemName: string;
|
6162
|
+
displayName: string;
|
6163
|
+
permissions: {
|
6272
6164
|
id: string;
|
6273
6165
|
description: string | null;
|
6274
6166
|
createdAt: Date;
|
6275
6167
|
updatedAt: Date;
|
6276
6168
|
deletedAt: Date | null;
|
6277
|
-
entity: string;
|
6278
|
-
};
|
6279
|
-
}>, "many">>;
|
6280
|
-
}, "strip", z.ZodTypeAny, {
|
6281
|
-
id: string;
|
6282
|
-
channel: string | null;
|
6283
|
-
address: string | null;
|
6284
|
-
name: string;
|
6285
|
-
createdAt: Date;
|
6286
|
-
updatedAt: Date;
|
6287
|
-
deletedAt: Date | null;
|
6288
|
-
customFields: {
|
6289
|
-
id: string;
|
6290
|
-
createdAt: Date;
|
6291
|
-
updatedAt: Date;
|
6292
|
-
deletedAt: Date | null;
|
6293
|
-
attribute: {
|
6294
|
-
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6295
|
-
id: string;
|
6296
|
-
position: number;
|
6297
|
-
createdAt: Date;
|
6298
|
-
updatedAt: Date;
|
6299
|
-
deletedAt: Date | null;
|
6300
6169
|
systemName: string;
|
6301
6170
|
displayName: string;
|
6302
|
-
isDefault: boolean;
|
6303
|
-
isArchived: boolean;
|
6304
|
-
isRequired: boolean;
|
6305
|
-
isUnique: boolean;
|
6306
|
-
};
|
6307
|
-
textValue: string | null;
|
6308
|
-
booleanValue: boolean | null;
|
6309
|
-
numberValue: number | null;
|
6310
|
-
dateValue: Date | null;
|
6311
|
-
uploads: {
|
6312
|
-
id: string;
|
6313
|
-
status: string | null;
|
6314
|
-
createdAt: Date;
|
6315
|
-
updatedAt: Date;
|
6316
|
-
deletedAt: Date | null;
|
6317
|
-
fileName: string;
|
6318
|
-
fileKey: string;
|
6319
|
-
bucketName: string;
|
6320
|
-
fileSize: number;
|
6321
|
-
fileUrl: string | null;
|
6322
6171
|
}[];
|
6323
|
-
}
|
6324
|
-
|
6325
|
-
id:
|
6326
|
-
createdAt:
|
6327
|
-
updatedAt:
|
6328
|
-
deletedAt:
|
6329
|
-
|
6330
|
-
|
6331
|
-
|
6332
|
-
|
6333
|
-
|
6334
|
-
|
6335
|
-
|
6336
|
-
|
6337
|
-
tags: {
|
6338
|
-
id: string;
|
6339
|
-
name: string;
|
6340
|
-
createdAt: Date;
|
6341
|
-
updatedAt: Date;
|
6342
|
-
deletedAt: Date | null;
|
6343
|
-
}[];
|
6344
|
-
contactEmails: {
|
6345
|
-
id: string;
|
6346
|
-
isPrimary: boolean;
|
6347
|
-
email: string;
|
6348
|
-
createdAt: Date;
|
6349
|
-
updatedAt: Date;
|
6350
|
-
deletedAt: Date | null;
|
6351
|
-
}[];
|
6352
|
-
contactPhones: {
|
6172
|
+
}>, "many">;
|
6173
|
+
extension: z.ZodObject<{
|
6174
|
+
id: z.ZodString;
|
6175
|
+
createdAt: z.ZodDate;
|
6176
|
+
updatedAt: z.ZodDate;
|
6177
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6178
|
+
userId: z.ZodNullable<z.ZodString>;
|
6179
|
+
sipServerUrl: z.ZodString;
|
6180
|
+
sipUserName: z.ZodString;
|
6181
|
+
webphoneLoginUser: z.ZodString;
|
6182
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
6183
|
+
extensionName: z.ZodString;
|
6184
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
6185
|
+
}, "strip", z.ZodTypeAny, {
|
6353
6186
|
id: string;
|
6354
|
-
isPrimary: boolean;
|
6355
6187
|
createdAt: Date;
|
6356
6188
|
updatedAt: Date;
|
6357
6189
|
deletedAt: Date | null;
|
6358
|
-
|
6359
|
-
|
6360
|
-
|
6190
|
+
userId: string | null;
|
6191
|
+
sipServerUrl: string;
|
6192
|
+
sipUserName: string;
|
6193
|
+
webphoneLoginUser: string;
|
6194
|
+
extensionId: string | null;
|
6195
|
+
extensionName: string;
|
6196
|
+
telephonySignature: string | null;
|
6197
|
+
}, {
|
6361
6198
|
id: string;
|
6362
|
-
description: string;
|
6363
6199
|
createdAt: Date;
|
6364
6200
|
updatedAt: Date;
|
6365
6201
|
deletedAt: Date | null;
|
6366
|
-
|
6367
|
-
|
6368
|
-
|
6369
|
-
|
6370
|
-
|
6371
|
-
|
6372
|
-
|
6373
|
-
|
6374
|
-
|
6375
|
-
}[] | undefined;
|
6376
|
-
}, {
|
6202
|
+
userId: string | null;
|
6203
|
+
sipServerUrl: string;
|
6204
|
+
sipUserName: string;
|
6205
|
+
webphoneLoginUser: string;
|
6206
|
+
extensionId: string | null;
|
6207
|
+
extensionName: string;
|
6208
|
+
telephonySignature: string | null;
|
6209
|
+
}>;
|
6210
|
+
}, "strip", z.ZodTypeAny, {
|
6377
6211
|
id: string;
|
6378
|
-
channel: string | null;
|
6379
6212
|
address: string | null;
|
6380
6213
|
name: string;
|
6214
|
+
email: string;
|
6381
6215
|
createdAt: Date;
|
6382
6216
|
updatedAt: Date;
|
6383
6217
|
deletedAt: Date | null;
|
6384
|
-
|
6218
|
+
emailVerifiedAt: Date | null;
|
6219
|
+
password: string;
|
6220
|
+
phone: string | null;
|
6221
|
+
notificationCount: number | null;
|
6222
|
+
roles: {
|
6385
6223
|
id: string;
|
6224
|
+
description: string | null;
|
6386
6225
|
createdAt: Date;
|
6387
6226
|
updatedAt: Date;
|
6388
6227
|
deletedAt: Date | null;
|
6389
|
-
|
6390
|
-
|
6228
|
+
systemName: string;
|
6229
|
+
displayName: string;
|
6230
|
+
permissions: {
|
6391
6231
|
id: string;
|
6392
|
-
|
6232
|
+
description: string | null;
|
6393
6233
|
createdAt: Date;
|
6394
6234
|
updatedAt: Date;
|
6395
6235
|
deletedAt: Date | null;
|
6396
6236
|
systemName: string;
|
6397
6237
|
displayName: string;
|
6398
|
-
isDefault: boolean;
|
6399
|
-
isArchived: boolean;
|
6400
|
-
isRequired: boolean;
|
6401
|
-
isUnique: boolean;
|
6402
|
-
};
|
6403
|
-
textValue: string | null;
|
6404
|
-
booleanValue: boolean | null;
|
6405
|
-
numberValue: number | null;
|
6406
|
-
dateValue: Date | null;
|
6407
|
-
uploads: {
|
6408
|
-
id: string;
|
6409
|
-
status: string | null;
|
6410
|
-
createdAt: Date;
|
6411
|
-
updatedAt: Date;
|
6412
|
-
deletedAt: Date | null;
|
6413
|
-
fileName: string;
|
6414
|
-
fileKey: string;
|
6415
|
-
bucketName: string;
|
6416
|
-
fileSize: number;
|
6417
|
-
fileUrl: string | null;
|
6418
6238
|
}[];
|
6419
6239
|
}[];
|
6420
|
-
|
6421
|
-
id: string;
|
6422
|
-
createdAt: Date;
|
6423
|
-
updatedAt: Date;
|
6424
|
-
deletedAt: Date | null;
|
6425
|
-
address?: string | null | undefined;
|
6426
|
-
name?: string | undefined;
|
6427
|
-
phone?: string | null | undefined;
|
6428
|
-
industry?: string | null | undefined;
|
6429
|
-
} | null;
|
6430
|
-
notes: string | null;
|
6431
|
-
contactProfile: string | null;
|
6432
|
-
socialProfileUrl: string | null;
|
6433
|
-
tags: {
|
6434
|
-
id: string;
|
6435
|
-
name: string;
|
6436
|
-
createdAt: Date;
|
6437
|
-
updatedAt: Date;
|
6438
|
-
deletedAt: Date | null;
|
6439
|
-
}[];
|
6440
|
-
contactEmails: {
|
6441
|
-
id: string;
|
6442
|
-
isPrimary: boolean;
|
6443
|
-
email: string;
|
6444
|
-
createdAt: Date;
|
6445
|
-
updatedAt: Date;
|
6446
|
-
deletedAt: Date | null;
|
6447
|
-
}[];
|
6448
|
-
contactPhones: {
|
6240
|
+
extension: {
|
6449
6241
|
id: string;
|
6450
|
-
isPrimary: boolean;
|
6451
6242
|
createdAt: Date;
|
6452
6243
|
updatedAt: Date;
|
6453
6244
|
deletedAt: Date | null;
|
6454
|
-
|
6455
|
-
|
6456
|
-
|
6245
|
+
userId: string | null;
|
6246
|
+
sipServerUrl: string;
|
6247
|
+
sipUserName: string;
|
6248
|
+
webphoneLoginUser: string;
|
6249
|
+
extensionId: string | null;
|
6250
|
+
extensionName: string;
|
6251
|
+
telephonySignature: string | null;
|
6252
|
+
};
|
6253
|
+
}, {
|
6254
|
+
id: string;
|
6255
|
+
address: string | null;
|
6256
|
+
name: string;
|
6257
|
+
email: string;
|
6258
|
+
createdAt: Date;
|
6259
|
+
updatedAt: Date;
|
6260
|
+
deletedAt: Date | null;
|
6261
|
+
emailVerifiedAt: Date | null;
|
6262
|
+
password: string;
|
6263
|
+
phone: string | null;
|
6264
|
+
notificationCount: number | null;
|
6265
|
+
roles: {
|
6457
6266
|
id: string;
|
6458
|
-
description: string;
|
6267
|
+
description: string | null;
|
6459
6268
|
createdAt: Date;
|
6460
6269
|
updatedAt: Date;
|
6461
6270
|
deletedAt: Date | null;
|
6462
|
-
|
6463
|
-
|
6271
|
+
systemName: string;
|
6272
|
+
displayName: string;
|
6273
|
+
permissions: {
|
6464
6274
|
id: string;
|
6465
6275
|
description: string | null;
|
6466
6276
|
createdAt: Date;
|
6467
6277
|
updatedAt: Date;
|
6468
6278
|
deletedAt: Date | null;
|
6469
|
-
|
6470
|
-
|
6471
|
-
|
6279
|
+
systemName: string;
|
6280
|
+
displayName: string;
|
6281
|
+
}[];
|
6282
|
+
}[];
|
6283
|
+
extension: {
|
6284
|
+
id: string;
|
6285
|
+
createdAt: Date;
|
6286
|
+
updatedAt: Date;
|
6287
|
+
deletedAt: Date | null;
|
6288
|
+
userId: string | null;
|
6289
|
+
sipServerUrl: string;
|
6290
|
+
sipUserName: string;
|
6291
|
+
webphoneLoginUser: string;
|
6292
|
+
extensionId: string | null;
|
6293
|
+
extensionName: string;
|
6294
|
+
telephonySignature: string | null;
|
6295
|
+
};
|
6472
6296
|
}>>;
|
6473
|
-
|
6297
|
+
closedAssignee: z.ZodNullable<z.ZodObject<{
|
6474
6298
|
id: z.ZodString;
|
6475
6299
|
createdAt: z.ZodDate;
|
6476
6300
|
updatedAt: z.ZodDate;
|
@@ -7095,50 +6919,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7095
6919
|
channelId: string;
|
7096
6920
|
socialPlatformId: string;
|
7097
6921
|
};
|
7098
|
-
firstAssignee: {
|
7099
|
-
id: string;
|
7100
|
-
address: string | null;
|
7101
|
-
name: string;
|
7102
|
-
email: string;
|
7103
|
-
createdAt: Date;
|
7104
|
-
updatedAt: Date;
|
7105
|
-
deletedAt: Date | null;
|
7106
|
-
emailVerifiedAt: Date | null;
|
7107
|
-
password: string;
|
7108
|
-
phone: string | null;
|
7109
|
-
notificationCount: number | null;
|
7110
|
-
roles: {
|
7111
|
-
id: string;
|
7112
|
-
description: string | null;
|
7113
|
-
createdAt: Date;
|
7114
|
-
updatedAt: Date;
|
7115
|
-
deletedAt: Date | null;
|
7116
|
-
systemName: string;
|
7117
|
-
displayName: string;
|
7118
|
-
permissions: {
|
7119
|
-
id: string;
|
7120
|
-
description: string | null;
|
7121
|
-
createdAt: Date;
|
7122
|
-
updatedAt: Date;
|
7123
|
-
deletedAt: Date | null;
|
7124
|
-
systemName: string;
|
7125
|
-
displayName: string;
|
7126
|
-
}[];
|
7127
|
-
}[];
|
7128
|
-
extension: {
|
7129
|
-
id: string;
|
7130
|
-
createdAt: Date;
|
7131
|
-
updatedAt: Date;
|
7132
|
-
deletedAt: Date | null;
|
7133
|
-
userId: string | null;
|
7134
|
-
sipServerUrl: string;
|
7135
|
-
sipUserName: string;
|
7136
|
-
webphoneLoginUser: string;
|
7137
|
-
extensionId: string | null;
|
7138
|
-
extensionName: string;
|
7139
|
-
telephonySignature: string | null;
|
7140
|
-
};
|
7141
|
-
} | null;
|
7142
6922
|
assignee: {
|
7143
6923
|
id: string;
|
7144
6924
|
address: string | null;
|
@@ -7183,50 +6963,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7183
6963
|
telephonySignature: string | null;
|
7184
6964
|
};
|
7185
6965
|
} | null;
|
7186
|
-
closedAssignee: {
|
7187
|
-
id: string;
|
7188
|
-
address: string | null;
|
7189
|
-
name: string;
|
7190
|
-
email: string;
|
7191
|
-
createdAt: Date;
|
7192
|
-
updatedAt: Date;
|
7193
|
-
deletedAt: Date | null;
|
7194
|
-
emailVerifiedAt: Date | null;
|
7195
|
-
password: string;
|
7196
|
-
phone: string | null;
|
7197
|
-
notificationCount: number | null;
|
7198
|
-
roles: {
|
7199
|
-
id: string;
|
7200
|
-
description: string | null;
|
7201
|
-
createdAt: Date;
|
7202
|
-
updatedAt: Date;
|
7203
|
-
deletedAt: Date | null;
|
7204
|
-
systemName: string;
|
7205
|
-
displayName: string;
|
7206
|
-
permissions: {
|
7207
|
-
id: string;
|
7208
|
-
description: string | null;
|
7209
|
-
createdAt: Date;
|
7210
|
-
updatedAt: Date;
|
7211
|
-
deletedAt: Date | null;
|
7212
|
-
systemName: string;
|
7213
|
-
displayName: string;
|
7214
|
-
}[];
|
7215
|
-
}[];
|
7216
|
-
extension: {
|
7217
|
-
id: string;
|
7218
|
-
createdAt: Date;
|
7219
|
-
updatedAt: Date;
|
7220
|
-
deletedAt: Date | null;
|
7221
|
-
userId: string | null;
|
7222
|
-
sipServerUrl: string;
|
7223
|
-
sipUserName: string;
|
7224
|
-
webphoneLoginUser: string;
|
7225
|
-
extensionId: string | null;
|
7226
|
-
extensionName: string;
|
7227
|
-
telephonySignature: string | null;
|
7228
|
-
};
|
7229
|
-
} | null;
|
7230
6966
|
} | null;
|
7231
6967
|
telephonyCdr: {
|
7232
6968
|
type: string;
|
@@ -7416,17 +7152,152 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7416
7152
|
} | null | undefined;
|
7417
7153
|
upload?: {
|
7418
7154
|
id: string;
|
7419
|
-
status: string | null;
|
7155
|
+
status: string | null;
|
7156
|
+
createdAt: Date;
|
7157
|
+
updatedAt: Date;
|
7158
|
+
deletedAt: Date | null;
|
7159
|
+
fileName: string;
|
7160
|
+
fileKey: string;
|
7161
|
+
bucketName: string;
|
7162
|
+
fileSize: number;
|
7163
|
+
fileUrl: string | null;
|
7164
|
+
} | null | undefined;
|
7165
|
+
extension?: {
|
7166
|
+
id: string;
|
7167
|
+
createdAt: Date;
|
7168
|
+
updatedAt: Date;
|
7169
|
+
deletedAt: Date | null;
|
7170
|
+
userId: string | null;
|
7171
|
+
sipServerUrl: string;
|
7172
|
+
sipUserName: string;
|
7173
|
+
webphoneLoginUser: string;
|
7174
|
+
extensionId: string | null;
|
7175
|
+
extensionName: string;
|
7176
|
+
telephonySignature: string | null;
|
7177
|
+
user?: {
|
7178
|
+
id: string;
|
7179
|
+
address: string | null;
|
7180
|
+
name: string;
|
7181
|
+
email: string;
|
7182
|
+
createdAt: Date;
|
7183
|
+
updatedAt: Date;
|
7184
|
+
deletedAt: Date | null;
|
7185
|
+
emailVerifiedAt: Date | null;
|
7186
|
+
password: string;
|
7187
|
+
phone: string | null;
|
7188
|
+
notificationCount: number | null;
|
7189
|
+
roles: {
|
7190
|
+
id: string;
|
7191
|
+
description: string | null;
|
7192
|
+
createdAt: Date;
|
7193
|
+
updatedAt: Date;
|
7194
|
+
deletedAt: Date | null;
|
7195
|
+
systemName: string;
|
7196
|
+
displayName: string;
|
7197
|
+
permissions: {
|
7198
|
+
id: string;
|
7199
|
+
description: string | null;
|
7200
|
+
createdAt: Date;
|
7201
|
+
updatedAt: Date;
|
7202
|
+
deletedAt: Date | null;
|
7203
|
+
systemName: string;
|
7204
|
+
displayName: string;
|
7205
|
+
}[];
|
7206
|
+
}[];
|
7207
|
+
extension: {
|
7208
|
+
id: string;
|
7209
|
+
createdAt: Date;
|
7210
|
+
updatedAt: Date;
|
7211
|
+
deletedAt: Date | null;
|
7212
|
+
userId: string | null;
|
7213
|
+
sipServerUrl: string;
|
7214
|
+
sipUserName: string;
|
7215
|
+
webphoneLoginUser: string;
|
7216
|
+
extensionId: string | null;
|
7217
|
+
extensionName: string;
|
7218
|
+
telephonySignature: string | null;
|
7219
|
+
};
|
7220
|
+
} | null | undefined;
|
7221
|
+
} | null | undefined;
|
7222
|
+
} | null;
|
7223
|
+
queue: {
|
7224
|
+
queueName?: string | null | undefined;
|
7225
|
+
} | null;
|
7226
|
+
firstAssignee: {
|
7227
|
+
id: string;
|
7228
|
+
address: string | null;
|
7229
|
+
name: string;
|
7230
|
+
email: string;
|
7231
|
+
createdAt: Date;
|
7232
|
+
updatedAt: Date;
|
7233
|
+
deletedAt: Date | null;
|
7234
|
+
emailVerifiedAt: Date | null;
|
7235
|
+
password: string;
|
7236
|
+
phone: string | null;
|
7237
|
+
notificationCount: number | null;
|
7238
|
+
roles: {
|
7239
|
+
id: string;
|
7240
|
+
description: string | null;
|
7241
|
+
createdAt: Date;
|
7242
|
+
updatedAt: Date;
|
7243
|
+
deletedAt: Date | null;
|
7244
|
+
systemName: string;
|
7245
|
+
displayName: string;
|
7246
|
+
permissions: {
|
7247
|
+
id: string;
|
7248
|
+
description: string | null;
|
7249
|
+
createdAt: Date;
|
7250
|
+
updatedAt: Date;
|
7251
|
+
deletedAt: Date | null;
|
7252
|
+
systemName: string;
|
7253
|
+
displayName: string;
|
7254
|
+
}[];
|
7255
|
+
}[];
|
7256
|
+
extension: {
|
7257
|
+
id: string;
|
7258
|
+
createdAt: Date;
|
7259
|
+
updatedAt: Date;
|
7260
|
+
deletedAt: Date | null;
|
7261
|
+
userId: string | null;
|
7262
|
+
sipServerUrl: string;
|
7263
|
+
sipUserName: string;
|
7264
|
+
webphoneLoginUser: string;
|
7265
|
+
extensionId: string | null;
|
7266
|
+
extensionName: string;
|
7267
|
+
telephonySignature: string | null;
|
7268
|
+
};
|
7269
|
+
} | null;
|
7270
|
+
agent: {
|
7271
|
+
id: string;
|
7272
|
+
address: string | null;
|
7273
|
+
name: string;
|
7274
|
+
email: string;
|
7275
|
+
createdAt: Date;
|
7276
|
+
updatedAt: Date;
|
7277
|
+
deletedAt: Date | null;
|
7278
|
+
emailVerifiedAt: Date | null;
|
7279
|
+
password: string;
|
7280
|
+
phone: string | null;
|
7281
|
+
notificationCount: number | null;
|
7282
|
+
roles: {
|
7283
|
+
id: string;
|
7284
|
+
description: string | null;
|
7420
7285
|
createdAt: Date;
|
7421
7286
|
updatedAt: Date;
|
7422
7287
|
deletedAt: Date | null;
|
7423
|
-
|
7424
|
-
|
7425
|
-
|
7426
|
-
|
7427
|
-
|
7428
|
-
|
7429
|
-
|
7288
|
+
systemName: string;
|
7289
|
+
displayName: string;
|
7290
|
+
permissions: {
|
7291
|
+
id: string;
|
7292
|
+
description: string | null;
|
7293
|
+
createdAt: Date;
|
7294
|
+
updatedAt: Date;
|
7295
|
+
deletedAt: Date | null;
|
7296
|
+
systemName: string;
|
7297
|
+
displayName: string;
|
7298
|
+
}[];
|
7299
|
+
}[];
|
7300
|
+
extension: {
|
7430
7301
|
id: string;
|
7431
7302
|
createdAt: Date;
|
7432
7303
|
updatedAt: Date;
|
@@ -7438,56 +7309,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7438
7309
|
extensionId: string | null;
|
7439
7310
|
extensionName: string;
|
7440
7311
|
telephonySignature: string | null;
|
7441
|
-
|
7442
|
-
id: string;
|
7443
|
-
address: string | null;
|
7444
|
-
name: string;
|
7445
|
-
email: string;
|
7446
|
-
createdAt: Date;
|
7447
|
-
updatedAt: Date;
|
7448
|
-
deletedAt: Date | null;
|
7449
|
-
emailVerifiedAt: Date | null;
|
7450
|
-
password: string;
|
7451
|
-
phone: string | null;
|
7452
|
-
notificationCount: number | null;
|
7453
|
-
roles: {
|
7454
|
-
id: string;
|
7455
|
-
description: string | null;
|
7456
|
-
createdAt: Date;
|
7457
|
-
updatedAt: Date;
|
7458
|
-
deletedAt: Date | null;
|
7459
|
-
systemName: string;
|
7460
|
-
displayName: string;
|
7461
|
-
permissions: {
|
7462
|
-
id: string;
|
7463
|
-
description: string | null;
|
7464
|
-
createdAt: Date;
|
7465
|
-
updatedAt: Date;
|
7466
|
-
deletedAt: Date | null;
|
7467
|
-
systemName: string;
|
7468
|
-
displayName: string;
|
7469
|
-
}[];
|
7470
|
-
}[];
|
7471
|
-
extension: {
|
7472
|
-
id: string;
|
7473
|
-
createdAt: Date;
|
7474
|
-
updatedAt: Date;
|
7475
|
-
deletedAt: Date | null;
|
7476
|
-
userId: string | null;
|
7477
|
-
sipServerUrl: string;
|
7478
|
-
sipUserName: string;
|
7479
|
-
webphoneLoginUser: string;
|
7480
|
-
extensionId: string | null;
|
7481
|
-
extensionName: string;
|
7482
|
-
telephonySignature: string | null;
|
7483
|
-
};
|
7484
|
-
} | null | undefined;
|
7485
|
-
} | null | undefined;
|
7486
|
-
} | null;
|
7487
|
-
queue: {
|
7488
|
-
queueName?: string | null | undefined;
|
7312
|
+
};
|
7489
7313
|
} | null;
|
7490
|
-
|
7314
|
+
closedAssignee: {
|
7491
7315
|
id: string;
|
7492
7316
|
address: string | null;
|
7493
7317
|
name: string;
|
@@ -7952,50 +7776,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7952
7776
|
channelId: string;
|
7953
7777
|
socialPlatformId: string;
|
7954
7778
|
};
|
7955
|
-
firstAssignee: {
|
7956
|
-
id: string;
|
7957
|
-
address: string | null;
|
7958
|
-
name: string;
|
7959
|
-
email: string;
|
7960
|
-
createdAt: Date;
|
7961
|
-
updatedAt: Date;
|
7962
|
-
deletedAt: Date | null;
|
7963
|
-
emailVerifiedAt: Date | null;
|
7964
|
-
password: string;
|
7965
|
-
phone: string | null;
|
7966
|
-
notificationCount: number | null;
|
7967
|
-
roles: {
|
7968
|
-
id: string;
|
7969
|
-
description: string | null;
|
7970
|
-
createdAt: Date;
|
7971
|
-
updatedAt: Date;
|
7972
|
-
deletedAt: Date | null;
|
7973
|
-
systemName: string;
|
7974
|
-
displayName: string;
|
7975
|
-
permissions: {
|
7976
|
-
id: string;
|
7977
|
-
description: string | null;
|
7978
|
-
createdAt: Date;
|
7979
|
-
updatedAt: Date;
|
7980
|
-
deletedAt: Date | null;
|
7981
|
-
systemName: string;
|
7982
|
-
displayName: string;
|
7983
|
-
}[];
|
7984
|
-
}[];
|
7985
|
-
extension: {
|
7986
|
-
id: string;
|
7987
|
-
createdAt: Date;
|
7988
|
-
updatedAt: Date;
|
7989
|
-
deletedAt: Date | null;
|
7990
|
-
userId: string | null;
|
7991
|
-
sipServerUrl: string;
|
7992
|
-
sipUserName: string;
|
7993
|
-
webphoneLoginUser: string;
|
7994
|
-
extensionId: string | null;
|
7995
|
-
extensionName: string;
|
7996
|
-
telephonySignature: string | null;
|
7997
|
-
};
|
7998
|
-
} | null;
|
7999
7779
|
assignee: {
|
8000
7780
|
id: string;
|
8001
7781
|
address: string | null;
|
@@ -8040,50 +7820,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8040
7820
|
telephonySignature: string | null;
|
8041
7821
|
};
|
8042
7822
|
} | null;
|
8043
|
-
closedAssignee: {
|
8044
|
-
id: string;
|
8045
|
-
address: string | null;
|
8046
|
-
name: string;
|
8047
|
-
email: string;
|
8048
|
-
createdAt: Date;
|
8049
|
-
updatedAt: Date;
|
8050
|
-
deletedAt: Date | null;
|
8051
|
-
emailVerifiedAt: Date | null;
|
8052
|
-
password: string;
|
8053
|
-
phone: string | null;
|
8054
|
-
notificationCount: number | null;
|
8055
|
-
roles: {
|
8056
|
-
id: string;
|
8057
|
-
description: string | null;
|
8058
|
-
createdAt: Date;
|
8059
|
-
updatedAt: Date;
|
8060
|
-
deletedAt: Date | null;
|
8061
|
-
systemName: string;
|
8062
|
-
displayName: string;
|
8063
|
-
permissions: {
|
8064
|
-
id: string;
|
8065
|
-
description: string | null;
|
8066
|
-
createdAt: Date;
|
8067
|
-
updatedAt: Date;
|
8068
|
-
deletedAt: Date | null;
|
8069
|
-
systemName: string;
|
8070
|
-
displayName: string;
|
8071
|
-
}[];
|
8072
|
-
}[];
|
8073
|
-
extension: {
|
8074
|
-
id: string;
|
8075
|
-
createdAt: Date;
|
8076
|
-
updatedAt: Date;
|
8077
|
-
deletedAt: Date | null;
|
8078
|
-
userId: string | null;
|
8079
|
-
sipServerUrl: string;
|
8080
|
-
sipUserName: string;
|
8081
|
-
webphoneLoginUser: string;
|
8082
|
-
extensionId: string | null;
|
8083
|
-
extensionName: string;
|
8084
|
-
telephonySignature: string | null;
|
8085
|
-
};
|
8086
|
-
} | null;
|
8087
7823
|
} | null;
|
8088
7824
|
telephonyCdr: {
|
8089
7825
|
type: string;
|
@@ -8344,6 +8080,50 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8344
8080
|
queue: {
|
8345
8081
|
queueName?: string | null | undefined;
|
8346
8082
|
} | null;
|
8083
|
+
firstAssignee: {
|
8084
|
+
id: string;
|
8085
|
+
address: string | null;
|
8086
|
+
name: string;
|
8087
|
+
email: string;
|
8088
|
+
createdAt: Date;
|
8089
|
+
updatedAt: Date;
|
8090
|
+
deletedAt: Date | null;
|
8091
|
+
emailVerifiedAt: Date | null;
|
8092
|
+
password: string;
|
8093
|
+
phone: string | null;
|
8094
|
+
notificationCount: number | null;
|
8095
|
+
roles: {
|
8096
|
+
id: string;
|
8097
|
+
description: string | null;
|
8098
|
+
createdAt: Date;
|
8099
|
+
updatedAt: Date;
|
8100
|
+
deletedAt: Date | null;
|
8101
|
+
systemName: string;
|
8102
|
+
displayName: string;
|
8103
|
+
permissions: {
|
8104
|
+
id: string;
|
8105
|
+
description: string | null;
|
8106
|
+
createdAt: Date;
|
8107
|
+
updatedAt: Date;
|
8108
|
+
deletedAt: Date | null;
|
8109
|
+
systemName: string;
|
8110
|
+
displayName: string;
|
8111
|
+
}[];
|
8112
|
+
}[];
|
8113
|
+
extension: {
|
8114
|
+
id: string;
|
8115
|
+
createdAt: Date;
|
8116
|
+
updatedAt: Date;
|
8117
|
+
deletedAt: Date | null;
|
8118
|
+
userId: string | null;
|
8119
|
+
sipServerUrl: string;
|
8120
|
+
sipUserName: string;
|
8121
|
+
webphoneLoginUser: string;
|
8122
|
+
extensionId: string | null;
|
8123
|
+
extensionName: string;
|
8124
|
+
telephonySignature: string | null;
|
8125
|
+
};
|
8126
|
+
} | null;
|
8347
8127
|
agent: {
|
8348
8128
|
id: string;
|
8349
8129
|
address: string | null;
|
@@ -8388,6 +8168,50 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8388
8168
|
telephonySignature: string | null;
|
8389
8169
|
};
|
8390
8170
|
} | null;
|
8171
|
+
closedAssignee: {
|
8172
|
+
id: string;
|
8173
|
+
address: string | null;
|
8174
|
+
name: string;
|
8175
|
+
email: string;
|
8176
|
+
createdAt: Date;
|
8177
|
+
updatedAt: Date;
|
8178
|
+
deletedAt: Date | null;
|
8179
|
+
emailVerifiedAt: Date | null;
|
8180
|
+
password: string;
|
8181
|
+
phone: string | null;
|
8182
|
+
notificationCount: number | null;
|
8183
|
+
roles: {
|
8184
|
+
id: string;
|
8185
|
+
description: string | null;
|
8186
|
+
createdAt: Date;
|
8187
|
+
updatedAt: Date;
|
8188
|
+
deletedAt: Date | null;
|
8189
|
+
systemName: string;
|
8190
|
+
displayName: string;
|
8191
|
+
permissions: {
|
8192
|
+
id: string;
|
8193
|
+
description: string | null;
|
8194
|
+
createdAt: Date;
|
8195
|
+
updatedAt: Date;
|
8196
|
+
deletedAt: Date | null;
|
8197
|
+
systemName: string;
|
8198
|
+
displayName: string;
|
8199
|
+
}[];
|
8200
|
+
}[];
|
8201
|
+
extension: {
|
8202
|
+
id: string;
|
8203
|
+
createdAt: Date;
|
8204
|
+
updatedAt: Date;
|
8205
|
+
deletedAt: Date | null;
|
8206
|
+
userId: string | null;
|
8207
|
+
sipServerUrl: string;
|
8208
|
+
sipUserName: string;
|
8209
|
+
webphoneLoginUser: string;
|
8210
|
+
extensionId: string | null;
|
8211
|
+
extensionName: string;
|
8212
|
+
telephonySignature: string | null;
|
8213
|
+
};
|
8214
|
+
} | null;
|
8391
8215
|
contactLabel: string[];
|
8392
8216
|
}>;
|
8393
8217
|
//# sourceMappingURL=schema.d.ts.map
|