@kl1/contracts 1.2.16-uat → 1.2.18-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1125,11 +1125,8 @@ export declare const telegramContract: {
1125
1125
  responses: {
1126
1126
  200: z.ZodObject<{
1127
1127
  requestId: z.ZodString;
1128
- channel: z.ZodObject<{
1128
+ data: z.ZodObject<{
1129
1129
  id: z.ZodString;
1130
- createdAt: z.ZodDate;
1131
- updatedAt: z.ZodDate;
1132
- deletedAt: z.ZodNullable<z.ZodDate>;
1133
1130
  name: z.ZodString;
1134
1131
  type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
1135
1132
  metadata: z.ZodObject<{
@@ -1180,235 +1177,31 @@ export declare const telegramContract: {
1180
1177
  } | undefined;
1181
1178
  lineRichMenuId?: string | null | undefined;
1182
1179
  }>;
1183
- brandName: z.ZodString;
1184
1180
  platformId: z.ZodString;
1181
+ brandName: z.ZodString;
1185
1182
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
1186
- isReloginRequired: z.ZodBoolean;
1187
- connectedUserName: z.ZodString;
1188
- connectedUserId: z.ZodString;
1189
- botpressBot: z.ZodNullable<z.ZodObject<{
1190
- id: z.ZodString;
1191
- name: z.ZodString;
1192
- botId: z.ZodString;
1193
- integrationId: z.ZodString;
1194
- accessToken: z.ZodString;
1195
- }, "strip", z.ZodTypeAny, {
1196
- id: string;
1197
- name: string;
1198
- accessToken: string;
1199
- botId: string;
1200
- integrationId: string;
1201
- }, {
1202
- id: string;
1203
- name: string;
1204
- accessToken: string;
1205
- botId: string;
1206
- integrationId: string;
1207
- }>>;
1208
- actor: z.ZodObject<{
1183
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1184
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1185
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1186
+ actor: z.ZodOptional<z.ZodObject<{
1209
1187
  id: z.ZodString;
1210
- createdAt: z.ZodDate;
1211
- updatedAt: z.ZodDate;
1212
- deletedAt: z.ZodNullable<z.ZodDate>;
1213
1188
  name: z.ZodString;
1214
1189
  email: z.ZodString;
1215
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1216
- password: z.ZodString;
1217
1190
  address: z.ZodNullable<z.ZodString>;
1218
1191
  phone: z.ZodNullable<z.ZodString>;
1219
- notificationCount: z.ZodNullable<z.ZodNumber>;
1220
- roles: z.ZodArray<z.ZodObject<{
1221
- id: z.ZodString;
1222
- createdAt: z.ZodDate;
1223
- updatedAt: z.ZodDate;
1224
- deletedAt: z.ZodNullable<z.ZodDate>;
1225
- systemName: z.ZodString;
1226
- displayName: z.ZodString;
1227
- description: z.ZodNullable<z.ZodString>;
1228
- permissions: z.ZodArray<z.ZodObject<{
1229
- id: z.ZodString;
1230
- createdAt: z.ZodDate;
1231
- updatedAt: z.ZodDate;
1232
- deletedAt: z.ZodNullable<z.ZodDate>;
1233
- systemName: z.ZodString;
1234
- displayName: z.ZodString;
1235
- description: z.ZodNullable<z.ZodString>;
1236
- }, "strip", z.ZodTypeAny, {
1237
- id: string;
1238
- description: string | null;
1239
- createdAt: Date;
1240
- updatedAt: Date;
1241
- deletedAt: Date | null;
1242
- systemName: string;
1243
- displayName: string;
1244
- }, {
1245
- id: string;
1246
- description: string | null;
1247
- createdAt: Date;
1248
- updatedAt: Date;
1249
- deletedAt: Date | null;
1250
- systemName: string;
1251
- displayName: string;
1252
- }>, "many">;
1253
- }, "strip", z.ZodTypeAny, {
1254
- id: string;
1255
- description: string | null;
1256
- createdAt: Date;
1257
- updatedAt: Date;
1258
- deletedAt: Date | null;
1259
- systemName: string;
1260
- displayName: string;
1261
- permissions: {
1262
- id: string;
1263
- description: string | null;
1264
- createdAt: Date;
1265
- updatedAt: Date;
1266
- deletedAt: Date | null;
1267
- systemName: string;
1268
- displayName: string;
1269
- }[];
1270
- }, {
1271
- id: string;
1272
- description: string | null;
1273
- createdAt: Date;
1274
- updatedAt: Date;
1275
- deletedAt: Date | null;
1276
- systemName: string;
1277
- displayName: string;
1278
- permissions: {
1279
- id: string;
1280
- description: string | null;
1281
- createdAt: Date;
1282
- updatedAt: Date;
1283
- deletedAt: Date | null;
1284
- systemName: string;
1285
- displayName: string;
1286
- }[];
1287
- }>, "many">;
1288
- extension: z.ZodObject<{
1289
- id: z.ZodString;
1290
- createdAt: z.ZodDate;
1291
- updatedAt: z.ZodDate;
1292
- deletedAt: z.ZodNullable<z.ZodDate>;
1293
- userId: z.ZodNullable<z.ZodString>;
1294
- sipServerUrl: z.ZodString;
1295
- sipUserName: z.ZodString;
1296
- webphoneLoginUser: z.ZodString;
1297
- extensionId: z.ZodNullable<z.ZodString>;
1298
- extensionName: z.ZodString;
1299
- telephonySignature: z.ZodNullable<z.ZodString>;
1300
- }, "strip", z.ZodTypeAny, {
1301
- id: string;
1302
- createdAt: Date;
1303
- updatedAt: Date;
1304
- deletedAt: Date | null;
1305
- userId: string | null;
1306
- sipServerUrl: string;
1307
- sipUserName: string;
1308
- webphoneLoginUser: string;
1309
- extensionId: string | null;
1310
- extensionName: string;
1311
- telephonySignature: string | null;
1312
- }, {
1313
- id: string;
1314
- createdAt: Date;
1315
- updatedAt: Date;
1316
- deletedAt: Date | null;
1317
- userId: string | null;
1318
- sipServerUrl: string;
1319
- sipUserName: string;
1320
- webphoneLoginUser: string;
1321
- extensionId: string | null;
1322
- extensionName: string;
1323
- telephonySignature: string | null;
1324
- }>;
1325
1192
  }, "strip", z.ZodTypeAny, {
1326
1193
  id: string;
1327
1194
  address: string | null;
1328
1195
  name: string;
1329
1196
  email: string;
1330
- createdAt: Date;
1331
- updatedAt: Date;
1332
- deletedAt: Date | null;
1333
- emailVerifiedAt: Date | null;
1334
- password: string;
1335
1197
  phone: string | null;
1336
- notificationCount: number | null;
1337
- roles: {
1338
- id: string;
1339
- description: string | null;
1340
- createdAt: Date;
1341
- updatedAt: Date;
1342
- deletedAt: Date | null;
1343
- systemName: string;
1344
- displayName: string;
1345
- permissions: {
1346
- id: string;
1347
- description: string | null;
1348
- createdAt: Date;
1349
- updatedAt: Date;
1350
- deletedAt: Date | null;
1351
- systemName: string;
1352
- displayName: string;
1353
- }[];
1354
- }[];
1355
- extension: {
1356
- id: string;
1357
- createdAt: Date;
1358
- updatedAt: Date;
1359
- deletedAt: Date | null;
1360
- userId: string | null;
1361
- sipServerUrl: string;
1362
- sipUserName: string;
1363
- webphoneLoginUser: string;
1364
- extensionId: string | null;
1365
- extensionName: string;
1366
- telephonySignature: string | null;
1367
- };
1368
1198
  }, {
1369
1199
  id: string;
1370
1200
  address: string | null;
1371
1201
  name: string;
1372
1202
  email: string;
1373
- createdAt: Date;
1374
- updatedAt: Date;
1375
- deletedAt: Date | null;
1376
- emailVerifiedAt: Date | null;
1377
- password: string;
1378
1203
  phone: string | null;
1379
- notificationCount: number | null;
1380
- roles: {
1381
- id: string;
1382
- description: string | null;
1383
- createdAt: Date;
1384
- updatedAt: Date;
1385
- deletedAt: Date | null;
1386
- systemName: string;
1387
- displayName: string;
1388
- permissions: {
1389
- id: string;
1390
- description: string | null;
1391
- createdAt: Date;
1392
- updatedAt: Date;
1393
- deletedAt: Date | null;
1394
- systemName: string;
1395
- displayName: string;
1396
- }[];
1397
- }[];
1398
- extension: {
1399
- id: string;
1400
- createdAt: Date;
1401
- updatedAt: Date;
1402
- deletedAt: Date | null;
1403
- userId: string | null;
1404
- sipServerUrl: string;
1405
- sipUserName: string;
1406
- webphoneLoginUser: string;
1407
- extensionId: string | null;
1408
- extensionName: string;
1409
- telephonySignature: string | null;
1410
- };
1411
- }>;
1204
+ }>>;
1412
1205
  }, "strip", z.ZodTypeAny, {
1413
1206
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1414
1207
  id: string;
@@ -1428,65 +1221,18 @@ export declare const telegramContract: {
1428
1221
  lineRichMenuId?: string | null | undefined;
1429
1222
  };
1430
1223
  status: boolean;
1431
- createdAt: Date;
1432
- updatedAt: Date;
1433
- deletedAt: Date | null;
1434
- actor: {
1224
+ brandName: string;
1225
+ platformId: string;
1226
+ connectedUserName?: string | null | undefined;
1227
+ connectedUserId?: string | null | undefined;
1228
+ lineRichMenuId?: string | null | undefined;
1229
+ actor?: {
1435
1230
  id: string;
1436
1231
  address: string | null;
1437
1232
  name: string;
1438
1233
  email: string;
1439
- createdAt: Date;
1440
- updatedAt: Date;
1441
- deletedAt: Date | null;
1442
- emailVerifiedAt: Date | null;
1443
- password: string;
1444
1234
  phone: string | null;
1445
- notificationCount: number | null;
1446
- roles: {
1447
- id: string;
1448
- description: string | null;
1449
- createdAt: Date;
1450
- updatedAt: Date;
1451
- deletedAt: Date | null;
1452
- systemName: string;
1453
- displayName: string;
1454
- permissions: {
1455
- id: string;
1456
- description: string | null;
1457
- createdAt: Date;
1458
- updatedAt: Date;
1459
- deletedAt: Date | null;
1460
- systemName: string;
1461
- displayName: string;
1462
- }[];
1463
- }[];
1464
- extension: {
1465
- id: string;
1466
- createdAt: Date;
1467
- updatedAt: Date;
1468
- deletedAt: Date | null;
1469
- userId: string | null;
1470
- sipServerUrl: string;
1471
- sipUserName: string;
1472
- webphoneLoginUser: string;
1473
- extensionId: string | null;
1474
- extensionName: string;
1475
- telephonySignature: string | null;
1476
- };
1477
- };
1478
- brandName: string;
1479
- platformId: string;
1480
- isReloginRequired: boolean;
1481
- connectedUserName: string;
1482
- connectedUserId: string;
1483
- botpressBot: {
1484
- id: string;
1485
- name: string;
1486
- accessToken: string;
1487
- botId: string;
1488
- integrationId: string;
1489
- } | null;
1235
+ } | undefined;
1490
1236
  }, {
1491
1237
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1492
1238
  id: string;
@@ -1506,68 +1252,21 @@ export declare const telegramContract: {
1506
1252
  lineRichMenuId?: string | null | undefined;
1507
1253
  };
1508
1254
  status: boolean;
1509
- createdAt: Date;
1510
- updatedAt: Date;
1511
- deletedAt: Date | null;
1512
- actor: {
1255
+ brandName: string;
1256
+ platformId: string;
1257
+ connectedUserName?: string | null | undefined;
1258
+ connectedUserId?: string | null | undefined;
1259
+ lineRichMenuId?: string | null | undefined;
1260
+ actor?: {
1513
1261
  id: string;
1514
1262
  address: string | null;
1515
1263
  name: string;
1516
1264
  email: string;
1517
- createdAt: Date;
1518
- updatedAt: Date;
1519
- deletedAt: Date | null;
1520
- emailVerifiedAt: Date | null;
1521
- password: string;
1522
1265
  phone: string | null;
1523
- notificationCount: number | null;
1524
- roles: {
1525
- id: string;
1526
- description: string | null;
1527
- createdAt: Date;
1528
- updatedAt: Date;
1529
- deletedAt: Date | null;
1530
- systemName: string;
1531
- displayName: string;
1532
- permissions: {
1533
- id: string;
1534
- description: string | null;
1535
- createdAt: Date;
1536
- updatedAt: Date;
1537
- deletedAt: Date | null;
1538
- systemName: string;
1539
- displayName: string;
1540
- }[];
1541
- }[];
1542
- extension: {
1543
- id: string;
1544
- createdAt: Date;
1545
- updatedAt: Date;
1546
- deletedAt: Date | null;
1547
- userId: string | null;
1548
- sipServerUrl: string;
1549
- sipUserName: string;
1550
- webphoneLoginUser: string;
1551
- extensionId: string | null;
1552
- extensionName: string;
1553
- telephonySignature: string | null;
1554
- };
1555
- };
1556
- brandName: string;
1557
- platformId: string;
1558
- isReloginRequired: boolean;
1559
- connectedUserName: string;
1560
- connectedUserId: string;
1561
- botpressBot: {
1562
- id: string;
1563
- name: string;
1564
- accessToken: string;
1565
- botId: string;
1566
- integrationId: string;
1567
- } | null;
1266
+ } | undefined;
1568
1267
  }>;
1569
1268
  }, "strip", z.ZodTypeAny, {
1570
- channel: {
1269
+ data: {
1571
1270
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1572
1271
  id: string;
1573
1272
  name: string;
@@ -1586,69 +1285,22 @@ export declare const telegramContract: {
1586
1285
  lineRichMenuId?: string | null | undefined;
1587
1286
  };
1588
1287
  status: boolean;
1589
- createdAt: Date;
1590
- updatedAt: Date;
1591
- deletedAt: Date | null;
1592
- actor: {
1288
+ brandName: string;
1289
+ platformId: string;
1290
+ connectedUserName?: string | null | undefined;
1291
+ connectedUserId?: string | null | undefined;
1292
+ lineRichMenuId?: string | null | undefined;
1293
+ actor?: {
1593
1294
  id: string;
1594
1295
  address: string | null;
1595
1296
  name: string;
1596
1297
  email: string;
1597
- createdAt: Date;
1598
- updatedAt: Date;
1599
- deletedAt: Date | null;
1600
- emailVerifiedAt: Date | null;
1601
- password: string;
1602
1298
  phone: string | null;
1603
- notificationCount: number | null;
1604
- roles: {
1605
- id: string;
1606
- description: string | null;
1607
- createdAt: Date;
1608
- updatedAt: Date;
1609
- deletedAt: Date | null;
1610
- systemName: string;
1611
- displayName: string;
1612
- permissions: {
1613
- id: string;
1614
- description: string | null;
1615
- createdAt: Date;
1616
- updatedAt: Date;
1617
- deletedAt: Date | null;
1618
- systemName: string;
1619
- displayName: string;
1620
- }[];
1621
- }[];
1622
- extension: {
1623
- id: string;
1624
- createdAt: Date;
1625
- updatedAt: Date;
1626
- deletedAt: Date | null;
1627
- userId: string | null;
1628
- sipServerUrl: string;
1629
- sipUserName: string;
1630
- webphoneLoginUser: string;
1631
- extensionId: string | null;
1632
- extensionName: string;
1633
- telephonySignature: string | null;
1634
- };
1635
- };
1636
- brandName: string;
1637
- platformId: string;
1638
- isReloginRequired: boolean;
1639
- connectedUserName: string;
1640
- connectedUserId: string;
1641
- botpressBot: {
1642
- id: string;
1643
- name: string;
1644
- accessToken: string;
1645
- botId: string;
1646
- integrationId: string;
1647
- } | null;
1299
+ } | undefined;
1648
1300
  };
1649
1301
  requestId: string;
1650
1302
  }, {
1651
- channel: {
1303
+ data: {
1652
1304
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1653
1305
  id: string;
1654
1306
  name: string;
@@ -1663,72 +1315,35 @@ export declare const telegramContract: {
1663
1315
  mobileNumber: string;
1664
1316
  apiKey: string;
1665
1317
  apiSecret: string;
1666
- } | undefined;
1667
- lineRichMenuId?: string | null | undefined;
1668
- };
1669
- status: boolean;
1670
- createdAt: Date;
1671
- updatedAt: Date;
1672
- deletedAt: Date | null;
1673
- actor: {
1674
- id: string;
1675
- address: string | null;
1676
- name: string;
1677
- email: string;
1678
- createdAt: Date;
1679
- updatedAt: Date;
1680
- deletedAt: Date | null;
1681
- emailVerifiedAt: Date | null;
1682
- password: string;
1683
- phone: string | null;
1684
- notificationCount: number | null;
1685
- roles: {
1686
- id: string;
1687
- description: string | null;
1688
- createdAt: Date;
1689
- updatedAt: Date;
1690
- deletedAt: Date | null;
1691
- systemName: string;
1692
- displayName: string;
1693
- permissions: {
1694
- id: string;
1695
- description: string | null;
1696
- createdAt: Date;
1697
- updatedAt: Date;
1698
- deletedAt: Date | null;
1699
- systemName: string;
1700
- displayName: string;
1701
- }[];
1702
- }[];
1703
- extension: {
1704
- id: string;
1705
- createdAt: Date;
1706
- updatedAt: Date;
1707
- deletedAt: Date | null;
1708
- userId: string | null;
1709
- sipServerUrl: string;
1710
- sipUserName: string;
1711
- webphoneLoginUser: string;
1712
- extensionId: string | null;
1713
- extensionName: string;
1714
- telephonySignature: string | null;
1715
- };
1318
+ } | undefined;
1319
+ lineRichMenuId?: string | null | undefined;
1716
1320
  };
1321
+ status: boolean;
1717
1322
  brandName: string;
1718
1323
  platformId: string;
1719
- isReloginRequired: boolean;
1720
- connectedUserName: string;
1721
- connectedUserId: string;
1722
- botpressBot: {
1324
+ connectedUserName?: string | null | undefined;
1325
+ connectedUserId?: string | null | undefined;
1326
+ lineRichMenuId?: string | null | undefined;
1327
+ actor?: {
1723
1328
  id: string;
1329
+ address: string | null;
1724
1330
  name: string;
1725
- accessToken: string;
1726
- botId: string;
1727
- integrationId: string;
1728
- } | null;
1331
+ email: string;
1332
+ phone: string | null;
1333
+ } | undefined;
1729
1334
  };
1730
1335
  requestId: string;
1731
1336
  }>;
1337
+ 500: z.ZodObject<{
1338
+ message: z.ZodString;
1339
+ error: z.ZodAny;
1340
+ }, "strip", z.ZodTypeAny, {
1341
+ message: string;
1342
+ error?: any;
1343
+ }, {
1344
+ message: string;
1345
+ error?: any;
1346
+ }>;
1732
1347
  400: z.ZodObject<{
1733
1348
  message: z.ZodString;
1734
1349
  error: z.ZodAny;
@@ -19451,11 +19066,8 @@ export declare const telegramContract: {
19451
19066
  responses: {
19452
19067
  200: z.ZodObject<{
19453
19068
  requestId: z.ZodString;
19454
- channel: z.ZodObject<{
19069
+ data: z.ZodObject<{
19455
19070
  id: z.ZodString;
19456
- createdAt: z.ZodDate;
19457
- updatedAt: z.ZodDate;
19458
- deletedAt: z.ZodNullable<z.ZodDate>;
19459
19071
  name: z.ZodString;
19460
19072
  type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
19461
19073
  metadata: z.ZodObject<{
@@ -19506,235 +19118,31 @@ export declare const telegramContract: {
19506
19118
  } | undefined;
19507
19119
  lineRichMenuId?: string | null | undefined;
19508
19120
  }>;
19509
- brandName: z.ZodString;
19510
19121
  platformId: z.ZodString;
19122
+ brandName: z.ZodString;
19511
19123
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
19512
- isReloginRequired: z.ZodBoolean;
19513
- connectedUserName: z.ZodString;
19514
- connectedUserId: z.ZodString;
19515
- botpressBot: z.ZodNullable<z.ZodObject<{
19516
- id: z.ZodString;
19517
- name: z.ZodString;
19518
- botId: z.ZodString;
19519
- integrationId: z.ZodString;
19520
- accessToken: z.ZodString;
19521
- }, "strip", z.ZodTypeAny, {
19522
- id: string;
19523
- name: string;
19524
- accessToken: string;
19525
- botId: string;
19526
- integrationId: string;
19527
- }, {
19528
- id: string;
19529
- name: string;
19530
- accessToken: string;
19531
- botId: string;
19532
- integrationId: string;
19533
- }>>;
19534
- actor: z.ZodObject<{
19124
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19125
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19126
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19127
+ actor: z.ZodOptional<z.ZodObject<{
19535
19128
  id: z.ZodString;
19536
- createdAt: z.ZodDate;
19537
- updatedAt: z.ZodDate;
19538
- deletedAt: z.ZodNullable<z.ZodDate>;
19539
19129
  name: z.ZodString;
19540
19130
  email: z.ZodString;
19541
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
19542
- password: z.ZodString;
19543
19131
  address: z.ZodNullable<z.ZodString>;
19544
19132
  phone: z.ZodNullable<z.ZodString>;
19545
- notificationCount: z.ZodNullable<z.ZodNumber>;
19546
- roles: z.ZodArray<z.ZodObject<{
19547
- id: z.ZodString;
19548
- createdAt: z.ZodDate;
19549
- updatedAt: z.ZodDate;
19550
- deletedAt: z.ZodNullable<z.ZodDate>;
19551
- systemName: z.ZodString;
19552
- displayName: z.ZodString;
19553
- description: z.ZodNullable<z.ZodString>;
19554
- permissions: z.ZodArray<z.ZodObject<{
19555
- id: z.ZodString;
19556
- createdAt: z.ZodDate;
19557
- updatedAt: z.ZodDate;
19558
- deletedAt: z.ZodNullable<z.ZodDate>;
19559
- systemName: z.ZodString;
19560
- displayName: z.ZodString;
19561
- description: z.ZodNullable<z.ZodString>;
19562
- }, "strip", z.ZodTypeAny, {
19563
- id: string;
19564
- description: string | null;
19565
- createdAt: Date;
19566
- updatedAt: Date;
19567
- deletedAt: Date | null;
19568
- systemName: string;
19569
- displayName: string;
19570
- }, {
19571
- id: string;
19572
- description: string | null;
19573
- createdAt: Date;
19574
- updatedAt: Date;
19575
- deletedAt: Date | null;
19576
- systemName: string;
19577
- displayName: string;
19578
- }>, "many">;
19579
- }, "strip", z.ZodTypeAny, {
19580
- id: string;
19581
- description: string | null;
19582
- createdAt: Date;
19583
- updatedAt: Date;
19584
- deletedAt: Date | null;
19585
- systemName: string;
19586
- displayName: string;
19587
- permissions: {
19588
- id: string;
19589
- description: string | null;
19590
- createdAt: Date;
19591
- updatedAt: Date;
19592
- deletedAt: Date | null;
19593
- systemName: string;
19594
- displayName: string;
19595
- }[];
19596
- }, {
19597
- id: string;
19598
- description: string | null;
19599
- createdAt: Date;
19600
- updatedAt: Date;
19601
- deletedAt: Date | null;
19602
- systemName: string;
19603
- displayName: string;
19604
- permissions: {
19605
- id: string;
19606
- description: string | null;
19607
- createdAt: Date;
19608
- updatedAt: Date;
19609
- deletedAt: Date | null;
19610
- systemName: string;
19611
- displayName: string;
19612
- }[];
19613
- }>, "many">;
19614
- extension: z.ZodObject<{
19615
- id: z.ZodString;
19616
- createdAt: z.ZodDate;
19617
- updatedAt: z.ZodDate;
19618
- deletedAt: z.ZodNullable<z.ZodDate>;
19619
- userId: z.ZodNullable<z.ZodString>;
19620
- sipServerUrl: z.ZodString;
19621
- sipUserName: z.ZodString;
19622
- webphoneLoginUser: z.ZodString;
19623
- extensionId: z.ZodNullable<z.ZodString>;
19624
- extensionName: z.ZodString;
19625
- telephonySignature: z.ZodNullable<z.ZodString>;
19626
- }, "strip", z.ZodTypeAny, {
19627
- id: string;
19628
- createdAt: Date;
19629
- updatedAt: Date;
19630
- deletedAt: Date | null;
19631
- userId: string | null;
19632
- sipServerUrl: string;
19633
- sipUserName: string;
19634
- webphoneLoginUser: string;
19635
- extensionId: string | null;
19636
- extensionName: string;
19637
- telephonySignature: string | null;
19638
- }, {
19639
- id: string;
19640
- createdAt: Date;
19641
- updatedAt: Date;
19642
- deletedAt: Date | null;
19643
- userId: string | null;
19644
- sipServerUrl: string;
19645
- sipUserName: string;
19646
- webphoneLoginUser: string;
19647
- extensionId: string | null;
19648
- extensionName: string;
19649
- telephonySignature: string | null;
19650
- }>;
19651
19133
  }, "strip", z.ZodTypeAny, {
19652
19134
  id: string;
19653
19135
  address: string | null;
19654
19136
  name: string;
19655
19137
  email: string;
19656
- createdAt: Date;
19657
- updatedAt: Date;
19658
- deletedAt: Date | null;
19659
- emailVerifiedAt: Date | null;
19660
- password: string;
19661
- phone: string | null;
19662
- notificationCount: number | null;
19663
- roles: {
19664
- id: string;
19665
- description: string | null;
19666
- createdAt: Date;
19667
- updatedAt: Date;
19668
- deletedAt: Date | null;
19669
- systemName: string;
19670
- displayName: string;
19671
- permissions: {
19672
- id: string;
19673
- description: string | null;
19674
- createdAt: Date;
19675
- updatedAt: Date;
19676
- deletedAt: Date | null;
19677
- systemName: string;
19678
- displayName: string;
19679
- }[];
19680
- }[];
19681
- extension: {
19682
- id: string;
19683
- createdAt: Date;
19684
- updatedAt: Date;
19685
- deletedAt: Date | null;
19686
- userId: string | null;
19687
- sipServerUrl: string;
19688
- sipUserName: string;
19689
- webphoneLoginUser: string;
19690
- extensionId: string | null;
19691
- extensionName: string;
19692
- telephonySignature: string | null;
19693
- };
19694
- }, {
19695
- id: string;
19696
- address: string | null;
19697
- name: string;
19698
- email: string;
19699
- createdAt: Date;
19700
- updatedAt: Date;
19701
- deletedAt: Date | null;
19702
- emailVerifiedAt: Date | null;
19703
- password: string;
19704
- phone: string | null;
19705
- notificationCount: number | null;
19706
- roles: {
19707
- id: string;
19708
- description: string | null;
19709
- createdAt: Date;
19710
- updatedAt: Date;
19711
- deletedAt: Date | null;
19712
- systemName: string;
19713
- displayName: string;
19714
- permissions: {
19715
- id: string;
19716
- description: string | null;
19717
- createdAt: Date;
19718
- updatedAt: Date;
19719
- deletedAt: Date | null;
19720
- systemName: string;
19721
- displayName: string;
19722
- }[];
19723
- }[];
19724
- extension: {
19725
- id: string;
19726
- createdAt: Date;
19727
- updatedAt: Date;
19728
- deletedAt: Date | null;
19729
- userId: string | null;
19730
- sipServerUrl: string;
19731
- sipUserName: string;
19732
- webphoneLoginUser: string;
19733
- extensionId: string | null;
19734
- extensionName: string;
19735
- telephonySignature: string | null;
19736
- };
19737
- }>;
19138
+ phone: string | null;
19139
+ }, {
19140
+ id: string;
19141
+ address: string | null;
19142
+ name: string;
19143
+ email: string;
19144
+ phone: string | null;
19145
+ }>>;
19738
19146
  }, "strip", z.ZodTypeAny, {
19739
19147
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19740
19148
  id: string;
@@ -19754,65 +19162,18 @@ export declare const telegramContract: {
19754
19162
  lineRichMenuId?: string | null | undefined;
19755
19163
  };
19756
19164
  status: boolean;
19757
- createdAt: Date;
19758
- updatedAt: Date;
19759
- deletedAt: Date | null;
19760
- actor: {
19165
+ brandName: string;
19166
+ platformId: string;
19167
+ connectedUserName?: string | null | undefined;
19168
+ connectedUserId?: string | null | undefined;
19169
+ lineRichMenuId?: string | null | undefined;
19170
+ actor?: {
19761
19171
  id: string;
19762
19172
  address: string | null;
19763
19173
  name: string;
19764
19174
  email: string;
19765
- createdAt: Date;
19766
- updatedAt: Date;
19767
- deletedAt: Date | null;
19768
- emailVerifiedAt: Date | null;
19769
- password: string;
19770
19175
  phone: string | null;
19771
- notificationCount: number | null;
19772
- roles: {
19773
- id: string;
19774
- description: string | null;
19775
- createdAt: Date;
19776
- updatedAt: Date;
19777
- deletedAt: Date | null;
19778
- systemName: string;
19779
- displayName: string;
19780
- permissions: {
19781
- id: string;
19782
- description: string | null;
19783
- createdAt: Date;
19784
- updatedAt: Date;
19785
- deletedAt: Date | null;
19786
- systemName: string;
19787
- displayName: string;
19788
- }[];
19789
- }[];
19790
- extension: {
19791
- id: string;
19792
- createdAt: Date;
19793
- updatedAt: Date;
19794
- deletedAt: Date | null;
19795
- userId: string | null;
19796
- sipServerUrl: string;
19797
- sipUserName: string;
19798
- webphoneLoginUser: string;
19799
- extensionId: string | null;
19800
- extensionName: string;
19801
- telephonySignature: string | null;
19802
- };
19803
- };
19804
- brandName: string;
19805
- platformId: string;
19806
- isReloginRequired: boolean;
19807
- connectedUserName: string;
19808
- connectedUserId: string;
19809
- botpressBot: {
19810
- id: string;
19811
- name: string;
19812
- accessToken: string;
19813
- botId: string;
19814
- integrationId: string;
19815
- } | null;
19176
+ } | undefined;
19816
19177
  }, {
19817
19178
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19818
19179
  id: string;
@@ -19832,68 +19193,21 @@ export declare const telegramContract: {
19832
19193
  lineRichMenuId?: string | null | undefined;
19833
19194
  };
19834
19195
  status: boolean;
19835
- createdAt: Date;
19836
- updatedAt: Date;
19837
- deletedAt: Date | null;
19838
- actor: {
19196
+ brandName: string;
19197
+ platformId: string;
19198
+ connectedUserName?: string | null | undefined;
19199
+ connectedUserId?: string | null | undefined;
19200
+ lineRichMenuId?: string | null | undefined;
19201
+ actor?: {
19839
19202
  id: string;
19840
19203
  address: string | null;
19841
19204
  name: string;
19842
19205
  email: string;
19843
- createdAt: Date;
19844
- updatedAt: Date;
19845
- deletedAt: Date | null;
19846
- emailVerifiedAt: Date | null;
19847
- password: string;
19848
19206
  phone: string | null;
19849
- notificationCount: number | null;
19850
- roles: {
19851
- id: string;
19852
- description: string | null;
19853
- createdAt: Date;
19854
- updatedAt: Date;
19855
- deletedAt: Date | null;
19856
- systemName: string;
19857
- displayName: string;
19858
- permissions: {
19859
- id: string;
19860
- description: string | null;
19861
- createdAt: Date;
19862
- updatedAt: Date;
19863
- deletedAt: Date | null;
19864
- systemName: string;
19865
- displayName: string;
19866
- }[];
19867
- }[];
19868
- extension: {
19869
- id: string;
19870
- createdAt: Date;
19871
- updatedAt: Date;
19872
- deletedAt: Date | null;
19873
- userId: string | null;
19874
- sipServerUrl: string;
19875
- sipUserName: string;
19876
- webphoneLoginUser: string;
19877
- extensionId: string | null;
19878
- extensionName: string;
19879
- telephonySignature: string | null;
19880
- };
19881
- };
19882
- brandName: string;
19883
- platformId: string;
19884
- isReloginRequired: boolean;
19885
- connectedUserName: string;
19886
- connectedUserId: string;
19887
- botpressBot: {
19888
- id: string;
19889
- name: string;
19890
- accessToken: string;
19891
- botId: string;
19892
- integrationId: string;
19893
- } | null;
19207
+ } | undefined;
19894
19208
  }>;
19895
19209
  }, "strip", z.ZodTypeAny, {
19896
- channel: {
19210
+ data: {
19897
19211
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19898
19212
  id: string;
19899
19213
  name: string;
@@ -19912,69 +19226,22 @@ export declare const telegramContract: {
19912
19226
  lineRichMenuId?: string | null | undefined;
19913
19227
  };
19914
19228
  status: boolean;
19915
- createdAt: Date;
19916
- updatedAt: Date;
19917
- deletedAt: Date | null;
19918
- actor: {
19229
+ brandName: string;
19230
+ platformId: string;
19231
+ connectedUserName?: string | null | undefined;
19232
+ connectedUserId?: string | null | undefined;
19233
+ lineRichMenuId?: string | null | undefined;
19234
+ actor?: {
19919
19235
  id: string;
19920
19236
  address: string | null;
19921
19237
  name: string;
19922
19238
  email: string;
19923
- createdAt: Date;
19924
- updatedAt: Date;
19925
- deletedAt: Date | null;
19926
- emailVerifiedAt: Date | null;
19927
- password: string;
19928
19239
  phone: string | null;
19929
- notificationCount: number | null;
19930
- roles: {
19931
- id: string;
19932
- description: string | null;
19933
- createdAt: Date;
19934
- updatedAt: Date;
19935
- deletedAt: Date | null;
19936
- systemName: string;
19937
- displayName: string;
19938
- permissions: {
19939
- id: string;
19940
- description: string | null;
19941
- createdAt: Date;
19942
- updatedAt: Date;
19943
- deletedAt: Date | null;
19944
- systemName: string;
19945
- displayName: string;
19946
- }[];
19947
- }[];
19948
- extension: {
19949
- id: string;
19950
- createdAt: Date;
19951
- updatedAt: Date;
19952
- deletedAt: Date | null;
19953
- userId: string | null;
19954
- sipServerUrl: string;
19955
- sipUserName: string;
19956
- webphoneLoginUser: string;
19957
- extensionId: string | null;
19958
- extensionName: string;
19959
- telephonySignature: string | null;
19960
- };
19961
- };
19962
- brandName: string;
19963
- platformId: string;
19964
- isReloginRequired: boolean;
19965
- connectedUserName: string;
19966
- connectedUserId: string;
19967
- botpressBot: {
19968
- id: string;
19969
- name: string;
19970
- accessToken: string;
19971
- botId: string;
19972
- integrationId: string;
19973
- } | null;
19240
+ } | undefined;
19974
19241
  };
19975
19242
  requestId: string;
19976
19243
  }, {
19977
- channel: {
19244
+ data: {
19978
19245
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19979
19246
  id: string;
19980
19247
  name: string;
@@ -19993,65 +19260,18 @@ export declare const telegramContract: {
19993
19260
  lineRichMenuId?: string | null | undefined;
19994
19261
  };
19995
19262
  status: boolean;
19996
- createdAt: Date;
19997
- updatedAt: Date;
19998
- deletedAt: Date | null;
19999
- actor: {
19263
+ brandName: string;
19264
+ platformId: string;
19265
+ connectedUserName?: string | null | undefined;
19266
+ connectedUserId?: string | null | undefined;
19267
+ lineRichMenuId?: string | null | undefined;
19268
+ actor?: {
20000
19269
  id: string;
20001
19270
  address: string | null;
20002
19271
  name: string;
20003
19272
  email: string;
20004
- createdAt: Date;
20005
- updatedAt: Date;
20006
- deletedAt: Date | null;
20007
- emailVerifiedAt: Date | null;
20008
- password: string;
20009
19273
  phone: string | null;
20010
- notificationCount: number | null;
20011
- roles: {
20012
- id: string;
20013
- description: string | null;
20014
- createdAt: Date;
20015
- updatedAt: Date;
20016
- deletedAt: Date | null;
20017
- systemName: string;
20018
- displayName: string;
20019
- permissions: {
20020
- id: string;
20021
- description: string | null;
20022
- createdAt: Date;
20023
- updatedAt: Date;
20024
- deletedAt: Date | null;
20025
- systemName: string;
20026
- displayName: string;
20027
- }[];
20028
- }[];
20029
- extension: {
20030
- id: string;
20031
- createdAt: Date;
20032
- updatedAt: Date;
20033
- deletedAt: Date | null;
20034
- userId: string | null;
20035
- sipServerUrl: string;
20036
- sipUserName: string;
20037
- webphoneLoginUser: string;
20038
- extensionId: string | null;
20039
- extensionName: string;
20040
- telephonySignature: string | null;
20041
- };
20042
- };
20043
- brandName: string;
20044
- platformId: string;
20045
- isReloginRequired: boolean;
20046
- connectedUserName: string;
20047
- connectedUserId: string;
20048
- botpressBot: {
20049
- id: string;
20050
- name: string;
20051
- accessToken: string;
20052
- botId: string;
20053
- integrationId: string;
20054
- } | null;
19274
+ } | undefined;
20055
19275
  };
20056
19276
  requestId: string;
20057
19277
  }>;