@kl1/contracts 1.0.44 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +117 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +117 -33
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +193 -0
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +44 -0
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +48 -0
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +1540 -150
- package/dist/src/comment/index.d.ts.map +1 -1
- package/dist/src/comment/schema.d.ts +424 -22
- package/dist/src/comment/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +77 -0
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts +16 -0
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +63 -0
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +5278 -695
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +54 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +46 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +7 -0
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +7 -0
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +5 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +24 -0
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/call-report.schema.d.ts +334 -1
- package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +714 -1
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +698 -0
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +2338 -171
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +327 -12
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +3 -0
- package/dist/src/upload/schema.d.ts.map +1 -1
- package/package.json +1 -1
@@ -313,6 +313,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
313
313
|
fileSize: z.ZodNumber;
|
314
314
|
fileKey: z.ZodString;
|
315
315
|
fileUrl: z.ZodNullable<z.ZodString>;
|
316
|
+
status: z.ZodOptional<z.ZodString>;
|
316
317
|
}, "strip", z.ZodTypeAny, {
|
317
318
|
id: string;
|
318
319
|
createdAt: Date;
|
@@ -323,6 +324,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
323
324
|
bucketName: string;
|
324
325
|
fileSize: number;
|
325
326
|
fileUrl: string | null;
|
327
|
+
status?: string | undefined;
|
326
328
|
}, {
|
327
329
|
id: string;
|
328
330
|
createdAt: Date;
|
@@ -333,6 +335,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
333
335
|
bucketName: string;
|
334
336
|
fileSize: number;
|
335
337
|
fileUrl: string | null;
|
338
|
+
status?: string | undefined;
|
336
339
|
}>;
|
337
340
|
}, "strip", z.ZodTypeAny, {
|
338
341
|
id: string;
|
@@ -350,6 +353,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
350
353
|
bucketName: string;
|
351
354
|
fileSize: number;
|
352
355
|
fileUrl: string | null;
|
356
|
+
status?: string | undefined;
|
353
357
|
};
|
354
358
|
}, {
|
355
359
|
id: string;
|
@@ -367,6 +371,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
367
371
|
bucketName: string;
|
368
372
|
fileSize: number;
|
369
373
|
fileUrl: string | null;
|
374
|
+
status?: string | undefined;
|
370
375
|
};
|
371
376
|
}>, "many">;
|
372
377
|
}, "strip", z.ZodTypeAny, {
|
@@ -408,6 +413,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
408
413
|
bucketName: string;
|
409
414
|
fileSize: number;
|
410
415
|
fileUrl: string | null;
|
416
|
+
status?: string | undefined;
|
411
417
|
};
|
412
418
|
}[];
|
413
419
|
}, {
|
@@ -449,6 +455,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
449
455
|
bucketName: string;
|
450
456
|
fileSize: number;
|
451
457
|
fileUrl: string | null;
|
458
|
+
status?: string | undefined;
|
452
459
|
};
|
453
460
|
}[];
|
454
461
|
}>, "many">;
|
@@ -603,6 +610,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
603
610
|
bucketName: string;
|
604
611
|
fileSize: number;
|
605
612
|
fileUrl: string | null;
|
613
|
+
status?: string | undefined;
|
606
614
|
};
|
607
615
|
}[];
|
608
616
|
}[];
|
@@ -705,6 +713,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
705
713
|
bucketName: string;
|
706
714
|
fileSize: number;
|
707
715
|
fileUrl: string | null;
|
716
|
+
status?: string | undefined;
|
708
717
|
};
|
709
718
|
}[];
|
710
719
|
}[];
|
@@ -806,6 +815,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
806
815
|
fileSize: z.ZodNumber;
|
807
816
|
fileKey: z.ZodString;
|
808
817
|
fileUrl: z.ZodNullable<z.ZodString>;
|
818
|
+
status: z.ZodOptional<z.ZodString>;
|
809
819
|
}, "strip", z.ZodTypeAny, {
|
810
820
|
id: string;
|
811
821
|
createdAt: Date;
|
@@ -816,6 +826,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
816
826
|
bucketName: string;
|
817
827
|
fileSize: number;
|
818
828
|
fileUrl: string | null;
|
829
|
+
status?: string | undefined;
|
819
830
|
}, {
|
820
831
|
id: string;
|
821
832
|
createdAt: Date;
|
@@ -826,6 +837,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
826
837
|
bucketName: string;
|
827
838
|
fileSize: number;
|
828
839
|
fileUrl: string | null;
|
840
|
+
status?: string | undefined;
|
829
841
|
}>>>;
|
830
842
|
serialNumber: z.ZodNullable<z.ZodString>;
|
831
843
|
extensionId: z.ZodNullable<z.ZodString>;
|
@@ -1231,6 +1243,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
1231
1243
|
bucketName: string;
|
1232
1244
|
fileSize: number;
|
1233
1245
|
fileUrl: string | null;
|
1246
|
+
status?: string | undefined;
|
1234
1247
|
};
|
1235
1248
|
}[];
|
1236
1249
|
}[];
|
@@ -1307,6 +1320,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
1307
1320
|
bucketName: string;
|
1308
1321
|
fileSize: number;
|
1309
1322
|
fileUrl: string | null;
|
1323
|
+
status?: string | undefined;
|
1310
1324
|
} | null | undefined;
|
1311
1325
|
extension?: {
|
1312
1326
|
id: string;
|
@@ -1436,6 +1450,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
1436
1450
|
bucketName: string;
|
1437
1451
|
fileSize: number;
|
1438
1452
|
fileUrl: string | null;
|
1453
|
+
status?: string | undefined;
|
1439
1454
|
};
|
1440
1455
|
}[];
|
1441
1456
|
}[];
|
@@ -1512,6 +1527,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
1512
1527
|
bucketName: string;
|
1513
1528
|
fileSize: number;
|
1514
1529
|
fileUrl: string | null;
|
1530
|
+
status?: string | undefined;
|
1515
1531
|
} | null | undefined;
|
1516
1532
|
extension?: {
|
1517
1533
|
id: string;
|
@@ -1571,4 +1587,686 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
|
|
1571
1587
|
} | null | undefined;
|
1572
1588
|
} | null | undefined;
|
1573
1589
|
}>;
|
1590
|
+
export declare const TelephonyTrunkSchema: z.ZodObject<{
|
1591
|
+
id: z.ZodString;
|
1592
|
+
createdAt: z.ZodDate;
|
1593
|
+
updatedAt: z.ZodDate;
|
1594
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1595
|
+
trunkId: z.ZodNullable<z.ZodString>;
|
1596
|
+
trunk: z.ZodNullable<z.ZodString>;
|
1597
|
+
}, "strip", z.ZodTypeAny, {
|
1598
|
+
id: string;
|
1599
|
+
createdAt: Date;
|
1600
|
+
updatedAt: Date;
|
1601
|
+
deletedAt: Date | null;
|
1602
|
+
trunkId: string | null;
|
1603
|
+
trunk: string | null;
|
1604
|
+
}, {
|
1605
|
+
id: string;
|
1606
|
+
createdAt: Date;
|
1607
|
+
updatedAt: Date;
|
1608
|
+
deletedAt: Date | null;
|
1609
|
+
trunkId: string | null;
|
1610
|
+
trunk: string | null;
|
1611
|
+
}>;
|
1612
|
+
export declare const TelephonyTrunkListSchema: z.ZodArray<z.ZodObject<{
|
1613
|
+
id: z.ZodString;
|
1614
|
+
createdAt: z.ZodDate;
|
1615
|
+
updatedAt: z.ZodDate;
|
1616
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1617
|
+
trunkId: z.ZodNullable<z.ZodString>;
|
1618
|
+
trunk: z.ZodNullable<z.ZodString>;
|
1619
|
+
}, "strip", z.ZodTypeAny, {
|
1620
|
+
id: string;
|
1621
|
+
createdAt: Date;
|
1622
|
+
updatedAt: Date;
|
1623
|
+
deletedAt: Date | null;
|
1624
|
+
trunkId: string | null;
|
1625
|
+
trunk: string | null;
|
1626
|
+
}, {
|
1627
|
+
id: string;
|
1628
|
+
createdAt: Date;
|
1629
|
+
updatedAt: Date;
|
1630
|
+
deletedAt: Date | null;
|
1631
|
+
trunkId: string | null;
|
1632
|
+
trunk: string | null;
|
1633
|
+
}>, "many">;
|
1634
|
+
export declare const TelephonyQueueSchema: z.ZodObject<{
|
1635
|
+
id: z.ZodString;
|
1636
|
+
createdAt: z.ZodDate;
|
1637
|
+
updatedAt: z.ZodDate;
|
1638
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1639
|
+
queueId: z.ZodNumber;
|
1640
|
+
queueName: z.ZodString;
|
1641
|
+
queueNumber: z.ZodString;
|
1642
|
+
maximumWaitingTime: z.ZodNumber;
|
1643
|
+
}, "strip", z.ZodTypeAny, {
|
1644
|
+
id: string;
|
1645
|
+
createdAt: Date;
|
1646
|
+
updatedAt: Date;
|
1647
|
+
deletedAt: Date | null;
|
1648
|
+
queueId: number;
|
1649
|
+
queueName: string;
|
1650
|
+
queueNumber: string;
|
1651
|
+
maximumWaitingTime: number;
|
1652
|
+
}, {
|
1653
|
+
id: string;
|
1654
|
+
createdAt: Date;
|
1655
|
+
updatedAt: Date;
|
1656
|
+
deletedAt: Date | null;
|
1657
|
+
queueId: number;
|
1658
|
+
queueName: string;
|
1659
|
+
queueNumber: string;
|
1660
|
+
maximumWaitingTime: number;
|
1661
|
+
}>;
|
1662
|
+
export declare const TelephonyQueueListSchmea: z.ZodArray<z.ZodObject<{
|
1663
|
+
id: z.ZodString;
|
1664
|
+
createdAt: z.ZodDate;
|
1665
|
+
updatedAt: z.ZodDate;
|
1666
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1667
|
+
queueId: z.ZodNumber;
|
1668
|
+
queueName: z.ZodString;
|
1669
|
+
queueNumber: z.ZodString;
|
1670
|
+
maximumWaitingTime: z.ZodNumber;
|
1671
|
+
}, "strip", z.ZodTypeAny, {
|
1672
|
+
id: string;
|
1673
|
+
createdAt: Date;
|
1674
|
+
updatedAt: Date;
|
1675
|
+
deletedAt: Date | null;
|
1676
|
+
queueId: number;
|
1677
|
+
queueName: string;
|
1678
|
+
queueNumber: string;
|
1679
|
+
maximumWaitingTime: number;
|
1680
|
+
}, {
|
1681
|
+
id: string;
|
1682
|
+
createdAt: Date;
|
1683
|
+
updatedAt: Date;
|
1684
|
+
deletedAt: Date | null;
|
1685
|
+
queueId: number;
|
1686
|
+
queueName: string;
|
1687
|
+
queueNumber: string;
|
1688
|
+
maximumWaitingTime: number;
|
1689
|
+
}>, "many">;
|
1690
|
+
export declare const TelephonyExtensionSchema: z.ZodObject<{
|
1691
|
+
id: z.ZodString;
|
1692
|
+
createdAt: z.ZodDate;
|
1693
|
+
updatedAt: z.ZodDate;
|
1694
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1695
|
+
user: z.ZodNullable<z.ZodOptional<z.ZodObject<Omit<{
|
1696
|
+
id: z.ZodString;
|
1697
|
+
createdAt: z.ZodDate;
|
1698
|
+
updatedAt: z.ZodDate;
|
1699
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1700
|
+
name: z.ZodString;
|
1701
|
+
email: z.ZodString;
|
1702
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
1703
|
+
password: z.ZodString;
|
1704
|
+
address: z.ZodNullable<z.ZodString>;
|
1705
|
+
phone: z.ZodNullable<z.ZodString>;
|
1706
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1707
|
+
roles: z.ZodArray<z.ZodObject<{
|
1708
|
+
id: z.ZodString;
|
1709
|
+
createdAt: z.ZodDate;
|
1710
|
+
updatedAt: z.ZodDate;
|
1711
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1712
|
+
systemName: z.ZodString;
|
1713
|
+
displayName: z.ZodString;
|
1714
|
+
description: z.ZodNullable<z.ZodString>;
|
1715
|
+
permissions: z.ZodArray<z.ZodObject<{
|
1716
|
+
id: z.ZodString;
|
1717
|
+
createdAt: z.ZodDate;
|
1718
|
+
updatedAt: z.ZodDate;
|
1719
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1720
|
+
systemName: z.ZodString;
|
1721
|
+
displayName: z.ZodString;
|
1722
|
+
description: z.ZodNullable<z.ZodString>;
|
1723
|
+
}, "strip", z.ZodTypeAny, {
|
1724
|
+
id: string;
|
1725
|
+
description: string | null;
|
1726
|
+
createdAt: Date;
|
1727
|
+
updatedAt: Date;
|
1728
|
+
deletedAt: Date | null;
|
1729
|
+
systemName: string;
|
1730
|
+
displayName: string;
|
1731
|
+
}, {
|
1732
|
+
id: string;
|
1733
|
+
description: string | null;
|
1734
|
+
createdAt: Date;
|
1735
|
+
updatedAt: Date;
|
1736
|
+
deletedAt: Date | null;
|
1737
|
+
systemName: string;
|
1738
|
+
displayName: string;
|
1739
|
+
}>, "many">;
|
1740
|
+
}, "strip", z.ZodTypeAny, {
|
1741
|
+
id: string;
|
1742
|
+
description: string | null;
|
1743
|
+
createdAt: Date;
|
1744
|
+
updatedAt: Date;
|
1745
|
+
deletedAt: Date | null;
|
1746
|
+
systemName: string;
|
1747
|
+
displayName: string;
|
1748
|
+
permissions: {
|
1749
|
+
id: string;
|
1750
|
+
description: string | null;
|
1751
|
+
createdAt: Date;
|
1752
|
+
updatedAt: Date;
|
1753
|
+
deletedAt: Date | null;
|
1754
|
+
systemName: string;
|
1755
|
+
displayName: string;
|
1756
|
+
}[];
|
1757
|
+
}, {
|
1758
|
+
id: string;
|
1759
|
+
description: string | null;
|
1760
|
+
createdAt: Date;
|
1761
|
+
updatedAt: Date;
|
1762
|
+
deletedAt: Date | null;
|
1763
|
+
systemName: string;
|
1764
|
+
displayName: string;
|
1765
|
+
permissions: {
|
1766
|
+
id: string;
|
1767
|
+
description: string | null;
|
1768
|
+
createdAt: Date;
|
1769
|
+
updatedAt: Date;
|
1770
|
+
deletedAt: Date | null;
|
1771
|
+
systemName: string;
|
1772
|
+
displayName: string;
|
1773
|
+
}[];
|
1774
|
+
}>, "many">;
|
1775
|
+
extension: z.ZodObject<{
|
1776
|
+
id: z.ZodString;
|
1777
|
+
createdAt: z.ZodDate;
|
1778
|
+
updatedAt: z.ZodDate;
|
1779
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1780
|
+
userId: z.ZodNullable<z.ZodString>;
|
1781
|
+
sipServerUrl: z.ZodString;
|
1782
|
+
sipUserName: z.ZodString;
|
1783
|
+
webphoneLoginUser: z.ZodString;
|
1784
|
+
extensionId: z.ZodNumber;
|
1785
|
+
extensionName: z.ZodString;
|
1786
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
1787
|
+
}, "strip", z.ZodTypeAny, {
|
1788
|
+
id: string;
|
1789
|
+
createdAt: Date;
|
1790
|
+
updatedAt: Date;
|
1791
|
+
deletedAt: Date | null;
|
1792
|
+
userId: string | null;
|
1793
|
+
sipServerUrl: string;
|
1794
|
+
sipUserName: string;
|
1795
|
+
webphoneLoginUser: string;
|
1796
|
+
extensionId: number;
|
1797
|
+
extensionName: string;
|
1798
|
+
telephonySignature: string | null;
|
1799
|
+
}, {
|
1800
|
+
id: string;
|
1801
|
+
createdAt: Date;
|
1802
|
+
updatedAt: Date;
|
1803
|
+
deletedAt: Date | null;
|
1804
|
+
userId: string | null;
|
1805
|
+
sipServerUrl: string;
|
1806
|
+
sipUserName: string;
|
1807
|
+
webphoneLoginUser: string;
|
1808
|
+
extensionId: number;
|
1809
|
+
extensionName: string;
|
1810
|
+
telephonySignature: string | null;
|
1811
|
+
}>;
|
1812
|
+
}, "extension">, "strip", z.ZodTypeAny, {
|
1813
|
+
id: string;
|
1814
|
+
address: string | null;
|
1815
|
+
name: string;
|
1816
|
+
email: string;
|
1817
|
+
createdAt: Date;
|
1818
|
+
updatedAt: Date;
|
1819
|
+
deletedAt: Date | null;
|
1820
|
+
emailVerifiedAt: Date | null;
|
1821
|
+
password: string;
|
1822
|
+
phone: string | null;
|
1823
|
+
notificationCount: number | null;
|
1824
|
+
roles: {
|
1825
|
+
id: string;
|
1826
|
+
description: string | null;
|
1827
|
+
createdAt: Date;
|
1828
|
+
updatedAt: Date;
|
1829
|
+
deletedAt: Date | null;
|
1830
|
+
systemName: string;
|
1831
|
+
displayName: string;
|
1832
|
+
permissions: {
|
1833
|
+
id: string;
|
1834
|
+
description: string | null;
|
1835
|
+
createdAt: Date;
|
1836
|
+
updatedAt: Date;
|
1837
|
+
deletedAt: Date | null;
|
1838
|
+
systemName: string;
|
1839
|
+
displayName: string;
|
1840
|
+
}[];
|
1841
|
+
}[];
|
1842
|
+
}, {
|
1843
|
+
id: string;
|
1844
|
+
address: string | null;
|
1845
|
+
name: string;
|
1846
|
+
email: string;
|
1847
|
+
createdAt: Date;
|
1848
|
+
updatedAt: Date;
|
1849
|
+
deletedAt: Date | null;
|
1850
|
+
emailVerifiedAt: Date | null;
|
1851
|
+
password: string;
|
1852
|
+
phone: string | null;
|
1853
|
+
notificationCount: number | null;
|
1854
|
+
roles: {
|
1855
|
+
id: string;
|
1856
|
+
description: string | null;
|
1857
|
+
createdAt: Date;
|
1858
|
+
updatedAt: Date;
|
1859
|
+
deletedAt: Date | null;
|
1860
|
+
systemName: string;
|
1861
|
+
displayName: string;
|
1862
|
+
permissions: {
|
1863
|
+
id: string;
|
1864
|
+
description: string | null;
|
1865
|
+
createdAt: Date;
|
1866
|
+
updatedAt: Date;
|
1867
|
+
deletedAt: Date | null;
|
1868
|
+
systemName: string;
|
1869
|
+
displayName: string;
|
1870
|
+
}[];
|
1871
|
+
}[];
|
1872
|
+
}>>>;
|
1873
|
+
sipServerUrl: z.ZodNullable<z.ZodString>;
|
1874
|
+
sipUserName: z.ZodNullable<z.ZodString>;
|
1875
|
+
sipPassword: z.ZodNullable<z.ZodString>;
|
1876
|
+
yeastarSignature: z.ZodNullable<z.ZodString>;
|
1877
|
+
userId: z.ZodNullable<z.ZodString>;
|
1878
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
1879
|
+
extensionName: z.ZodNullable<z.ZodString>;
|
1880
|
+
}, "strip", z.ZodTypeAny, {
|
1881
|
+
id: string;
|
1882
|
+
createdAt: Date;
|
1883
|
+
updatedAt: Date;
|
1884
|
+
deletedAt: Date | null;
|
1885
|
+
userId: string | null;
|
1886
|
+
sipServerUrl: string | null;
|
1887
|
+
sipUserName: string | null;
|
1888
|
+
extensionId: string | null;
|
1889
|
+
extensionName: string | null;
|
1890
|
+
sipPassword: string | null;
|
1891
|
+
yeastarSignature: string | null;
|
1892
|
+
user?: {
|
1893
|
+
id: string;
|
1894
|
+
address: string | null;
|
1895
|
+
name: string;
|
1896
|
+
email: string;
|
1897
|
+
createdAt: Date;
|
1898
|
+
updatedAt: Date;
|
1899
|
+
deletedAt: Date | null;
|
1900
|
+
emailVerifiedAt: Date | null;
|
1901
|
+
password: string;
|
1902
|
+
phone: string | null;
|
1903
|
+
notificationCount: number | null;
|
1904
|
+
roles: {
|
1905
|
+
id: string;
|
1906
|
+
description: string | null;
|
1907
|
+
createdAt: Date;
|
1908
|
+
updatedAt: Date;
|
1909
|
+
deletedAt: Date | null;
|
1910
|
+
systemName: string;
|
1911
|
+
displayName: string;
|
1912
|
+
permissions: {
|
1913
|
+
id: string;
|
1914
|
+
description: string | null;
|
1915
|
+
createdAt: Date;
|
1916
|
+
updatedAt: Date;
|
1917
|
+
deletedAt: Date | null;
|
1918
|
+
systemName: string;
|
1919
|
+
displayName: string;
|
1920
|
+
}[];
|
1921
|
+
}[];
|
1922
|
+
} | null | undefined;
|
1923
|
+
}, {
|
1924
|
+
id: string;
|
1925
|
+
createdAt: Date;
|
1926
|
+
updatedAt: Date;
|
1927
|
+
deletedAt: Date | null;
|
1928
|
+
userId: string | null;
|
1929
|
+
sipServerUrl: string | null;
|
1930
|
+
sipUserName: string | null;
|
1931
|
+
extensionId: string | null;
|
1932
|
+
extensionName: string | null;
|
1933
|
+
sipPassword: string | null;
|
1934
|
+
yeastarSignature: string | null;
|
1935
|
+
user?: {
|
1936
|
+
id: string;
|
1937
|
+
address: string | null;
|
1938
|
+
name: string;
|
1939
|
+
email: string;
|
1940
|
+
createdAt: Date;
|
1941
|
+
updatedAt: Date;
|
1942
|
+
deletedAt: Date | null;
|
1943
|
+
emailVerifiedAt: Date | null;
|
1944
|
+
password: string;
|
1945
|
+
phone: string | null;
|
1946
|
+
notificationCount: number | null;
|
1947
|
+
roles: {
|
1948
|
+
id: string;
|
1949
|
+
description: string | null;
|
1950
|
+
createdAt: Date;
|
1951
|
+
updatedAt: Date;
|
1952
|
+
deletedAt: Date | null;
|
1953
|
+
systemName: string;
|
1954
|
+
displayName: string;
|
1955
|
+
permissions: {
|
1956
|
+
id: string;
|
1957
|
+
description: string | null;
|
1958
|
+
createdAt: Date;
|
1959
|
+
updatedAt: Date;
|
1960
|
+
deletedAt: Date | null;
|
1961
|
+
systemName: string;
|
1962
|
+
displayName: string;
|
1963
|
+
}[];
|
1964
|
+
}[];
|
1965
|
+
} | null | undefined;
|
1966
|
+
}>;
|
1967
|
+
export declare const TelephonyExtensionListSchema: z.ZodArray<z.ZodObject<{
|
1968
|
+
id: z.ZodString;
|
1969
|
+
createdAt: z.ZodDate;
|
1970
|
+
updatedAt: z.ZodDate;
|
1971
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1972
|
+
user: z.ZodNullable<z.ZodOptional<z.ZodObject<Omit<{
|
1973
|
+
id: z.ZodString;
|
1974
|
+
createdAt: z.ZodDate;
|
1975
|
+
updatedAt: z.ZodDate;
|
1976
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1977
|
+
name: z.ZodString;
|
1978
|
+
email: z.ZodString;
|
1979
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
1980
|
+
password: z.ZodString;
|
1981
|
+
address: z.ZodNullable<z.ZodString>;
|
1982
|
+
phone: z.ZodNullable<z.ZodString>;
|
1983
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1984
|
+
roles: z.ZodArray<z.ZodObject<{
|
1985
|
+
id: z.ZodString;
|
1986
|
+
createdAt: z.ZodDate;
|
1987
|
+
updatedAt: z.ZodDate;
|
1988
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1989
|
+
systemName: z.ZodString;
|
1990
|
+
displayName: z.ZodString;
|
1991
|
+
description: z.ZodNullable<z.ZodString>;
|
1992
|
+
permissions: z.ZodArray<z.ZodObject<{
|
1993
|
+
id: z.ZodString;
|
1994
|
+
createdAt: z.ZodDate;
|
1995
|
+
updatedAt: z.ZodDate;
|
1996
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1997
|
+
systemName: z.ZodString;
|
1998
|
+
displayName: z.ZodString;
|
1999
|
+
description: z.ZodNullable<z.ZodString>;
|
2000
|
+
}, "strip", z.ZodTypeAny, {
|
2001
|
+
id: string;
|
2002
|
+
description: string | null;
|
2003
|
+
createdAt: Date;
|
2004
|
+
updatedAt: Date;
|
2005
|
+
deletedAt: Date | null;
|
2006
|
+
systemName: string;
|
2007
|
+
displayName: string;
|
2008
|
+
}, {
|
2009
|
+
id: string;
|
2010
|
+
description: string | null;
|
2011
|
+
createdAt: Date;
|
2012
|
+
updatedAt: Date;
|
2013
|
+
deletedAt: Date | null;
|
2014
|
+
systemName: string;
|
2015
|
+
displayName: string;
|
2016
|
+
}>, "many">;
|
2017
|
+
}, "strip", z.ZodTypeAny, {
|
2018
|
+
id: string;
|
2019
|
+
description: string | null;
|
2020
|
+
createdAt: Date;
|
2021
|
+
updatedAt: Date;
|
2022
|
+
deletedAt: Date | null;
|
2023
|
+
systemName: string;
|
2024
|
+
displayName: string;
|
2025
|
+
permissions: {
|
2026
|
+
id: string;
|
2027
|
+
description: string | null;
|
2028
|
+
createdAt: Date;
|
2029
|
+
updatedAt: Date;
|
2030
|
+
deletedAt: Date | null;
|
2031
|
+
systemName: string;
|
2032
|
+
displayName: string;
|
2033
|
+
}[];
|
2034
|
+
}, {
|
2035
|
+
id: string;
|
2036
|
+
description: string | null;
|
2037
|
+
createdAt: Date;
|
2038
|
+
updatedAt: Date;
|
2039
|
+
deletedAt: Date | null;
|
2040
|
+
systemName: string;
|
2041
|
+
displayName: string;
|
2042
|
+
permissions: {
|
2043
|
+
id: string;
|
2044
|
+
description: string | null;
|
2045
|
+
createdAt: Date;
|
2046
|
+
updatedAt: Date;
|
2047
|
+
deletedAt: Date | null;
|
2048
|
+
systemName: string;
|
2049
|
+
displayName: string;
|
2050
|
+
}[];
|
2051
|
+
}>, "many">;
|
2052
|
+
extension: z.ZodObject<{
|
2053
|
+
id: z.ZodString;
|
2054
|
+
createdAt: z.ZodDate;
|
2055
|
+
updatedAt: z.ZodDate;
|
2056
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2057
|
+
userId: z.ZodNullable<z.ZodString>;
|
2058
|
+
sipServerUrl: z.ZodString;
|
2059
|
+
sipUserName: z.ZodString;
|
2060
|
+
webphoneLoginUser: z.ZodString;
|
2061
|
+
extensionId: z.ZodNumber;
|
2062
|
+
extensionName: z.ZodString;
|
2063
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
2064
|
+
}, "strip", z.ZodTypeAny, {
|
2065
|
+
id: string;
|
2066
|
+
createdAt: Date;
|
2067
|
+
updatedAt: Date;
|
2068
|
+
deletedAt: Date | null;
|
2069
|
+
userId: string | null;
|
2070
|
+
sipServerUrl: string;
|
2071
|
+
sipUserName: string;
|
2072
|
+
webphoneLoginUser: string;
|
2073
|
+
extensionId: number;
|
2074
|
+
extensionName: string;
|
2075
|
+
telephonySignature: string | null;
|
2076
|
+
}, {
|
2077
|
+
id: string;
|
2078
|
+
createdAt: Date;
|
2079
|
+
updatedAt: Date;
|
2080
|
+
deletedAt: Date | null;
|
2081
|
+
userId: string | null;
|
2082
|
+
sipServerUrl: string;
|
2083
|
+
sipUserName: string;
|
2084
|
+
webphoneLoginUser: string;
|
2085
|
+
extensionId: number;
|
2086
|
+
extensionName: string;
|
2087
|
+
telephonySignature: string | null;
|
2088
|
+
}>;
|
2089
|
+
}, "extension">, "strip", z.ZodTypeAny, {
|
2090
|
+
id: string;
|
2091
|
+
address: string | null;
|
2092
|
+
name: string;
|
2093
|
+
email: string;
|
2094
|
+
createdAt: Date;
|
2095
|
+
updatedAt: Date;
|
2096
|
+
deletedAt: Date | null;
|
2097
|
+
emailVerifiedAt: Date | null;
|
2098
|
+
password: string;
|
2099
|
+
phone: string | null;
|
2100
|
+
notificationCount: number | null;
|
2101
|
+
roles: {
|
2102
|
+
id: string;
|
2103
|
+
description: string | null;
|
2104
|
+
createdAt: Date;
|
2105
|
+
updatedAt: Date;
|
2106
|
+
deletedAt: Date | null;
|
2107
|
+
systemName: string;
|
2108
|
+
displayName: string;
|
2109
|
+
permissions: {
|
2110
|
+
id: string;
|
2111
|
+
description: string | null;
|
2112
|
+
createdAt: Date;
|
2113
|
+
updatedAt: Date;
|
2114
|
+
deletedAt: Date | null;
|
2115
|
+
systemName: string;
|
2116
|
+
displayName: string;
|
2117
|
+
}[];
|
2118
|
+
}[];
|
2119
|
+
}, {
|
2120
|
+
id: string;
|
2121
|
+
address: string | null;
|
2122
|
+
name: string;
|
2123
|
+
email: string;
|
2124
|
+
createdAt: Date;
|
2125
|
+
updatedAt: Date;
|
2126
|
+
deletedAt: Date | null;
|
2127
|
+
emailVerifiedAt: Date | null;
|
2128
|
+
password: string;
|
2129
|
+
phone: string | null;
|
2130
|
+
notificationCount: number | null;
|
2131
|
+
roles: {
|
2132
|
+
id: string;
|
2133
|
+
description: string | null;
|
2134
|
+
createdAt: Date;
|
2135
|
+
updatedAt: Date;
|
2136
|
+
deletedAt: Date | null;
|
2137
|
+
systemName: string;
|
2138
|
+
displayName: string;
|
2139
|
+
permissions: {
|
2140
|
+
id: string;
|
2141
|
+
description: string | null;
|
2142
|
+
createdAt: Date;
|
2143
|
+
updatedAt: Date;
|
2144
|
+
deletedAt: Date | null;
|
2145
|
+
systemName: string;
|
2146
|
+
displayName: string;
|
2147
|
+
}[];
|
2148
|
+
}[];
|
2149
|
+
}>>>;
|
2150
|
+
sipServerUrl: z.ZodNullable<z.ZodString>;
|
2151
|
+
sipUserName: z.ZodNullable<z.ZodString>;
|
2152
|
+
sipPassword: z.ZodNullable<z.ZodString>;
|
2153
|
+
yeastarSignature: z.ZodNullable<z.ZodString>;
|
2154
|
+
userId: z.ZodNullable<z.ZodString>;
|
2155
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
2156
|
+
extensionName: z.ZodNullable<z.ZodString>;
|
2157
|
+
}, "strip", z.ZodTypeAny, {
|
2158
|
+
id: string;
|
2159
|
+
createdAt: Date;
|
2160
|
+
updatedAt: Date;
|
2161
|
+
deletedAt: Date | null;
|
2162
|
+
userId: string | null;
|
2163
|
+
sipServerUrl: string | null;
|
2164
|
+
sipUserName: string | null;
|
2165
|
+
extensionId: string | null;
|
2166
|
+
extensionName: string | null;
|
2167
|
+
sipPassword: string | null;
|
2168
|
+
yeastarSignature: string | null;
|
2169
|
+
user?: {
|
2170
|
+
id: string;
|
2171
|
+
address: string | null;
|
2172
|
+
name: string;
|
2173
|
+
email: string;
|
2174
|
+
createdAt: Date;
|
2175
|
+
updatedAt: Date;
|
2176
|
+
deletedAt: Date | null;
|
2177
|
+
emailVerifiedAt: Date | null;
|
2178
|
+
password: string;
|
2179
|
+
phone: string | null;
|
2180
|
+
notificationCount: number | null;
|
2181
|
+
roles: {
|
2182
|
+
id: string;
|
2183
|
+
description: string | null;
|
2184
|
+
createdAt: Date;
|
2185
|
+
updatedAt: Date;
|
2186
|
+
deletedAt: Date | null;
|
2187
|
+
systemName: string;
|
2188
|
+
displayName: string;
|
2189
|
+
permissions: {
|
2190
|
+
id: string;
|
2191
|
+
description: string | null;
|
2192
|
+
createdAt: Date;
|
2193
|
+
updatedAt: Date;
|
2194
|
+
deletedAt: Date | null;
|
2195
|
+
systemName: string;
|
2196
|
+
displayName: string;
|
2197
|
+
}[];
|
2198
|
+
}[];
|
2199
|
+
} | null | undefined;
|
2200
|
+
}, {
|
2201
|
+
id: string;
|
2202
|
+
createdAt: Date;
|
2203
|
+
updatedAt: Date;
|
2204
|
+
deletedAt: Date | null;
|
2205
|
+
userId: string | null;
|
2206
|
+
sipServerUrl: string | null;
|
2207
|
+
sipUserName: string | null;
|
2208
|
+
extensionId: string | null;
|
2209
|
+
extensionName: string | null;
|
2210
|
+
sipPassword: string | null;
|
2211
|
+
yeastarSignature: string | null;
|
2212
|
+
user?: {
|
2213
|
+
id: string;
|
2214
|
+
address: string | null;
|
2215
|
+
name: string;
|
2216
|
+
email: string;
|
2217
|
+
createdAt: Date;
|
2218
|
+
updatedAt: Date;
|
2219
|
+
deletedAt: Date | null;
|
2220
|
+
emailVerifiedAt: Date | null;
|
2221
|
+
password: string;
|
2222
|
+
phone: string | null;
|
2223
|
+
notificationCount: number | null;
|
2224
|
+
roles: {
|
2225
|
+
id: string;
|
2226
|
+
description: string | null;
|
2227
|
+
createdAt: Date;
|
2228
|
+
updatedAt: Date;
|
2229
|
+
deletedAt: Date | null;
|
2230
|
+
systemName: string;
|
2231
|
+
displayName: string;
|
2232
|
+
permissions: {
|
2233
|
+
id: string;
|
2234
|
+
description: string | null;
|
2235
|
+
createdAt: Date;
|
2236
|
+
updatedAt: Date;
|
2237
|
+
deletedAt: Date | null;
|
2238
|
+
systemName: string;
|
2239
|
+
displayName: string;
|
2240
|
+
}[];
|
2241
|
+
}[];
|
2242
|
+
} | null | undefined;
|
2243
|
+
}>, "many">;
|
2244
|
+
export declare const TelephonyDropdownListSchema: z.ZodObject<{
|
2245
|
+
trunks: z.ZodArray<z.ZodObject<{
|
2246
|
+
id: z.ZodString;
|
2247
|
+
trunk: z.ZodString;
|
2248
|
+
}, "strip", z.ZodTypeAny, {
|
2249
|
+
id: string;
|
2250
|
+
trunk: string;
|
2251
|
+
}, {
|
2252
|
+
id: string;
|
2253
|
+
trunk: string;
|
2254
|
+
}>, "many">;
|
2255
|
+
status: z.ZodArray<z.ZodEnum<["ANSWERED", "NO ANSWER", "FAILED"]>, "many">;
|
2256
|
+
type: z.ZodArray<z.ZodEnum<["Inbound", "Outbound", "Internal"]>, "many">;
|
2257
|
+
}, "strip", z.ZodTypeAny, {
|
2258
|
+
type: ("Inbound" | "Outbound" | "Internal")[];
|
2259
|
+
status: ("ANSWERED" | "NO ANSWER" | "FAILED")[];
|
2260
|
+
trunks: {
|
2261
|
+
id: string;
|
2262
|
+
trunk: string;
|
2263
|
+
}[];
|
2264
|
+
}, {
|
2265
|
+
type: ("Inbound" | "Outbound" | "Internal")[];
|
2266
|
+
status: ("ANSWERED" | "NO ANSWER" | "FAILED")[];
|
2267
|
+
trunks: {
|
2268
|
+
id: string;
|
2269
|
+
trunk: string;
|
2270
|
+
}[];
|
2271
|
+
}>;
|
1574
2272
|
//# sourceMappingURL=schema.d.ts.map
|