@kl1/contracts 1.0.98 → 1.0.99-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.
- package/dist/index.js +768 -856
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +768 -855
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +165 -57
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +24 -8
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +76 -15
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1453 -1941
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +73 -12
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +73 -12
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +132 -132
- package/dist/src/mail/mail-contract.d.ts +258 -715
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server-contract.d.ts +18 -477
- package/dist/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +108 -108
- package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
- package/dist/src/mail/schemas/account.schema.d.ts +32 -32
- package/dist/src/mail/schemas/room-validation.schema.d.ts +36 -36
- package/dist/src/mail/schemas/room.schema.d.ts +28 -28
- package/dist/src/messenger/index.d.ts +73 -12
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +4 -388
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +0 -7
- package/dist/src/user/validation.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +73 -12
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -6,12 +6,12 @@ export declare const MailServerSchema: z.ZodObject<{
|
|
6
6
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
7
|
name: z.ZodString;
|
8
8
|
smtpHost: z.ZodString;
|
9
|
-
smtpPort: z.
|
10
|
-
smtpTlsPort: z.
|
9
|
+
smtpPort: z.ZodString;
|
10
|
+
smtpTlsPort: z.ZodString;
|
11
11
|
useTlsForSmtp: z.ZodBoolean;
|
12
12
|
imapHost: z.ZodString;
|
13
|
-
imapPort: z.
|
14
|
-
imapTlsPort: z.
|
13
|
+
imapPort: z.ZodString;
|
14
|
+
imapTlsPort: z.ZodString;
|
15
15
|
useTlsForImap: z.ZodBoolean;
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
17
17
|
id: string;
|
@@ -20,12 +20,12 @@ export declare const MailServerSchema: z.ZodObject<{
|
|
20
20
|
updatedAt: Date;
|
21
21
|
deletedAt: Date | null;
|
22
22
|
smtpHost: string;
|
23
|
-
smtpPort:
|
24
|
-
smtpTlsPort:
|
23
|
+
smtpPort: string;
|
24
|
+
smtpTlsPort: string;
|
25
25
|
useTlsForSmtp: boolean;
|
26
26
|
imapHost: string;
|
27
|
-
imapPort:
|
28
|
-
imapTlsPort:
|
27
|
+
imapPort: string;
|
28
|
+
imapTlsPort: string;
|
29
29
|
useTlsForImap: boolean;
|
30
30
|
}, {
|
31
31
|
id: string;
|
@@ -34,12 +34,12 @@ export declare const MailServerSchema: z.ZodObject<{
|
|
34
34
|
updatedAt: Date;
|
35
35
|
deletedAt: Date | null;
|
36
36
|
smtpHost: string;
|
37
|
-
smtpPort:
|
38
|
-
smtpTlsPort:
|
37
|
+
smtpPort: string;
|
38
|
+
smtpTlsPort: string;
|
39
39
|
useTlsForSmtp: boolean;
|
40
40
|
imapHost: string;
|
41
|
-
imapPort:
|
42
|
-
imapTlsPort:
|
41
|
+
imapPort: string;
|
42
|
+
imapTlsPort: string;
|
43
43
|
useTlsForImap: boolean;
|
44
44
|
}>;
|
45
45
|
export declare const MailAccountSchema: z.ZodObject<{
|
@@ -58,12 +58,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
58
58
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
59
59
|
name: z.ZodString;
|
60
60
|
smtpHost: z.ZodString;
|
61
|
-
smtpPort: z.
|
62
|
-
smtpTlsPort: z.
|
61
|
+
smtpPort: z.ZodString;
|
62
|
+
smtpTlsPort: z.ZodString;
|
63
63
|
useTlsForSmtp: z.ZodBoolean;
|
64
64
|
imapHost: z.ZodString;
|
65
|
-
imapPort: z.
|
66
|
-
imapTlsPort: z.
|
65
|
+
imapPort: z.ZodString;
|
66
|
+
imapTlsPort: z.ZodString;
|
67
67
|
useTlsForImap: z.ZodBoolean;
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
69
69
|
id: string;
|
@@ -72,12 +72,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
72
72
|
updatedAt: Date;
|
73
73
|
deletedAt: Date | null;
|
74
74
|
smtpHost: string;
|
75
|
-
smtpPort:
|
76
|
-
smtpTlsPort:
|
75
|
+
smtpPort: string;
|
76
|
+
smtpTlsPort: string;
|
77
77
|
useTlsForSmtp: boolean;
|
78
78
|
imapHost: string;
|
79
|
-
imapPort:
|
80
|
-
imapTlsPort:
|
79
|
+
imapPort: string;
|
80
|
+
imapTlsPort: string;
|
81
81
|
useTlsForImap: boolean;
|
82
82
|
}, {
|
83
83
|
id: string;
|
@@ -86,12 +86,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
86
86
|
updatedAt: Date;
|
87
87
|
deletedAt: Date | null;
|
88
88
|
smtpHost: string;
|
89
|
-
smtpPort:
|
90
|
-
smtpTlsPort:
|
89
|
+
smtpPort: string;
|
90
|
+
smtpTlsPort: string;
|
91
91
|
useTlsForSmtp: boolean;
|
92
92
|
imapHost: string;
|
93
|
-
imapPort:
|
94
|
-
imapTlsPort:
|
93
|
+
imapPort: string;
|
94
|
+
imapTlsPort: string;
|
95
95
|
useTlsForImap: boolean;
|
96
96
|
}>;
|
97
97
|
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
@@ -112,12 +112,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
112
112
|
updatedAt: Date;
|
113
113
|
deletedAt: Date | null;
|
114
114
|
smtpHost: string;
|
115
|
-
smtpPort:
|
116
|
-
smtpTlsPort:
|
115
|
+
smtpPort: string;
|
116
|
+
smtpTlsPort: string;
|
117
117
|
useTlsForSmtp: boolean;
|
118
118
|
imapHost: string;
|
119
|
-
imapPort:
|
120
|
-
imapTlsPort:
|
119
|
+
imapPort: string;
|
120
|
+
imapTlsPort: string;
|
121
121
|
useTlsForImap: boolean;
|
122
122
|
};
|
123
123
|
}, {
|
@@ -137,12 +137,12 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
137
137
|
updatedAt: Date;
|
138
138
|
deletedAt: Date | null;
|
139
139
|
smtpHost: string;
|
140
|
-
smtpPort:
|
141
|
-
smtpTlsPort:
|
140
|
+
smtpPort: string;
|
141
|
+
smtpTlsPort: string;
|
142
142
|
useTlsForSmtp: boolean;
|
143
143
|
imapHost: string;
|
144
|
-
imapPort:
|
145
|
-
imapTlsPort:
|
144
|
+
imapPort: string;
|
145
|
+
imapTlsPort: string;
|
146
146
|
useTlsForImap: boolean;
|
147
147
|
};
|
148
148
|
}>;
|
@@ -1656,12 +1656,12 @@ export declare const RoomContractsValidationSchema: {
|
|
1656
1656
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1657
1657
|
name: z.ZodString;
|
1658
1658
|
smtpHost: z.ZodString;
|
1659
|
-
smtpPort: z.
|
1660
|
-
smtpTlsPort: z.
|
1659
|
+
smtpPort: z.ZodString;
|
1660
|
+
smtpTlsPort: z.ZodString;
|
1661
1661
|
useTlsForSmtp: z.ZodBoolean;
|
1662
1662
|
imapHost: z.ZodString;
|
1663
|
-
imapPort: z.
|
1664
|
-
imapTlsPort: z.
|
1663
|
+
imapPort: z.ZodString;
|
1664
|
+
imapTlsPort: z.ZodString;
|
1665
1665
|
useTlsForImap: z.ZodBoolean;
|
1666
1666
|
}, "strip", z.ZodTypeAny, {
|
1667
1667
|
id: string;
|
@@ -1670,12 +1670,12 @@ export declare const RoomContractsValidationSchema: {
|
|
1670
1670
|
updatedAt: Date;
|
1671
1671
|
deletedAt: Date | null;
|
1672
1672
|
smtpHost: string;
|
1673
|
-
smtpPort:
|
1674
|
-
smtpTlsPort:
|
1673
|
+
smtpPort: string;
|
1674
|
+
smtpTlsPort: string;
|
1675
1675
|
useTlsForSmtp: boolean;
|
1676
1676
|
imapHost: string;
|
1677
|
-
imapPort:
|
1678
|
-
imapTlsPort:
|
1677
|
+
imapPort: string;
|
1678
|
+
imapTlsPort: string;
|
1679
1679
|
useTlsForImap: boolean;
|
1680
1680
|
}, {
|
1681
1681
|
id: string;
|
@@ -1684,12 +1684,12 @@ export declare const RoomContractsValidationSchema: {
|
|
1684
1684
|
updatedAt: Date;
|
1685
1685
|
deletedAt: Date | null;
|
1686
1686
|
smtpHost: string;
|
1687
|
-
smtpPort:
|
1688
|
-
smtpTlsPort:
|
1687
|
+
smtpPort: string;
|
1688
|
+
smtpTlsPort: string;
|
1689
1689
|
useTlsForSmtp: boolean;
|
1690
1690
|
imapHost: string;
|
1691
|
-
imapPort:
|
1692
|
-
imapTlsPort:
|
1691
|
+
imapPort: string;
|
1692
|
+
imapTlsPort: string;
|
1693
1693
|
useTlsForImap: boolean;
|
1694
1694
|
}>;
|
1695
1695
|
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
@@ -1710,12 +1710,12 @@ export declare const RoomContractsValidationSchema: {
|
|
1710
1710
|
updatedAt: Date;
|
1711
1711
|
deletedAt: Date | null;
|
1712
1712
|
smtpHost: string;
|
1713
|
-
smtpPort:
|
1714
|
-
smtpTlsPort:
|
1713
|
+
smtpPort: string;
|
1714
|
+
smtpTlsPort: string;
|
1715
1715
|
useTlsForSmtp: boolean;
|
1716
1716
|
imapHost: string;
|
1717
|
-
imapPort:
|
1718
|
-
imapTlsPort:
|
1717
|
+
imapPort: string;
|
1718
|
+
imapTlsPort: string;
|
1719
1719
|
useTlsForImap: boolean;
|
1720
1720
|
};
|
1721
1721
|
}, {
|
@@ -1735,12 +1735,12 @@ export declare const RoomContractsValidationSchema: {
|
|
1735
1735
|
updatedAt: Date;
|
1736
1736
|
deletedAt: Date | null;
|
1737
1737
|
smtpHost: string;
|
1738
|
-
smtpPort:
|
1739
|
-
smtpTlsPort:
|
1738
|
+
smtpPort: string;
|
1739
|
+
smtpTlsPort: string;
|
1740
1740
|
useTlsForSmtp: boolean;
|
1741
1741
|
imapHost: string;
|
1742
|
-
imapPort:
|
1743
|
-
imapTlsPort:
|
1742
|
+
imapPort: string;
|
1743
|
+
imapTlsPort: string;
|
1744
1744
|
useTlsForImap: boolean;
|
1745
1745
|
};
|
1746
1746
|
}>;
|
@@ -2145,12 +2145,12 @@ export declare const RoomContractsValidationSchema: {
|
|
2145
2145
|
updatedAt: Date;
|
2146
2146
|
deletedAt: Date | null;
|
2147
2147
|
smtpHost: string;
|
2148
|
-
smtpPort:
|
2149
|
-
smtpTlsPort:
|
2148
|
+
smtpPort: string;
|
2149
|
+
smtpTlsPort: string;
|
2150
2150
|
useTlsForSmtp: boolean;
|
2151
2151
|
imapHost: string;
|
2152
|
-
imapPort:
|
2153
|
-
imapTlsPort:
|
2152
|
+
imapPort: string;
|
2153
|
+
imapTlsPort: string;
|
2154
2154
|
useTlsForImap: boolean;
|
2155
2155
|
};
|
2156
2156
|
};
|
@@ -2555,12 +2555,12 @@ export declare const RoomContractsValidationSchema: {
|
|
2555
2555
|
updatedAt: Date;
|
2556
2556
|
deletedAt: Date | null;
|
2557
2557
|
smtpHost: string;
|
2558
|
-
smtpPort:
|
2559
|
-
smtpTlsPort:
|
2558
|
+
smtpPort: string;
|
2559
|
+
smtpTlsPort: string;
|
2560
2560
|
useTlsForSmtp: boolean;
|
2561
2561
|
imapHost: string;
|
2562
|
-
imapPort:
|
2563
|
-
imapTlsPort:
|
2562
|
+
imapPort: string;
|
2563
|
+
imapTlsPort: string;
|
2564
2564
|
useTlsForImap: boolean;
|
2565
2565
|
};
|
2566
2566
|
};
|
@@ -2970,12 +2970,12 @@ export declare const RoomContractsValidationSchema: {
|
|
2970
2970
|
updatedAt: Date;
|
2971
2971
|
deletedAt: Date | null;
|
2972
2972
|
smtpHost: string;
|
2973
|
-
smtpPort:
|
2974
|
-
smtpTlsPort:
|
2973
|
+
smtpPort: string;
|
2974
|
+
smtpTlsPort: string;
|
2975
2975
|
useTlsForSmtp: boolean;
|
2976
2976
|
imapHost: string;
|
2977
|
-
imapPort:
|
2978
|
-
imapTlsPort:
|
2977
|
+
imapPort: string;
|
2978
|
+
imapTlsPort: string;
|
2979
2979
|
useTlsForImap: boolean;
|
2980
2980
|
};
|
2981
2981
|
};
|
@@ -3385,12 +3385,12 @@ export declare const RoomContractsValidationSchema: {
|
|
3385
3385
|
updatedAt: Date;
|
3386
3386
|
deletedAt: Date | null;
|
3387
3387
|
smtpHost: string;
|
3388
|
-
smtpPort:
|
3389
|
-
smtpTlsPort:
|
3388
|
+
smtpPort: string;
|
3389
|
+
smtpTlsPort: string;
|
3390
3390
|
useTlsForSmtp: boolean;
|
3391
3391
|
imapHost: string;
|
3392
|
-
imapPort:
|
3393
|
-
imapTlsPort:
|
3392
|
+
imapPort: string;
|
3393
|
+
imapTlsPort: string;
|
3394
3394
|
useTlsForImap: boolean;
|
3395
3395
|
};
|
3396
3396
|
};
|
@@ -1709,12 +1709,12 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1709
1709
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1710
1710
|
name: z.ZodString;
|
1711
1711
|
smtpHost: z.ZodString;
|
1712
|
-
smtpPort: z.
|
1713
|
-
smtpTlsPort: z.
|
1712
|
+
smtpPort: z.ZodString;
|
1713
|
+
smtpTlsPort: z.ZodString;
|
1714
1714
|
useTlsForSmtp: z.ZodBoolean;
|
1715
1715
|
imapHost: z.ZodString;
|
1716
|
-
imapPort: z.
|
1717
|
-
imapTlsPort: z.
|
1716
|
+
imapPort: z.ZodString;
|
1717
|
+
imapTlsPort: z.ZodString;
|
1718
1718
|
useTlsForImap: z.ZodBoolean;
|
1719
1719
|
}, "strip", z.ZodTypeAny, {
|
1720
1720
|
id: string;
|
@@ -1723,12 +1723,12 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1723
1723
|
updatedAt: Date;
|
1724
1724
|
deletedAt: Date | null;
|
1725
1725
|
smtpHost: string;
|
1726
|
-
smtpPort:
|
1727
|
-
smtpTlsPort:
|
1726
|
+
smtpPort: string;
|
1727
|
+
smtpTlsPort: string;
|
1728
1728
|
useTlsForSmtp: boolean;
|
1729
1729
|
imapHost: string;
|
1730
|
-
imapPort:
|
1731
|
-
imapTlsPort:
|
1730
|
+
imapPort: string;
|
1731
|
+
imapTlsPort: string;
|
1732
1732
|
useTlsForImap: boolean;
|
1733
1733
|
}, {
|
1734
1734
|
id: string;
|
@@ -1737,12 +1737,12 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1737
1737
|
updatedAt: Date;
|
1738
1738
|
deletedAt: Date | null;
|
1739
1739
|
smtpHost: string;
|
1740
|
-
smtpPort:
|
1741
|
-
smtpTlsPort:
|
1740
|
+
smtpPort: string;
|
1741
|
+
smtpTlsPort: string;
|
1742
1742
|
useTlsForSmtp: boolean;
|
1743
1743
|
imapHost: string;
|
1744
|
-
imapPort:
|
1745
|
-
imapTlsPort:
|
1744
|
+
imapPort: string;
|
1745
|
+
imapTlsPort: string;
|
1746
1746
|
useTlsForImap: boolean;
|
1747
1747
|
}>;
|
1748
1748
|
state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
|
@@ -1763,12 +1763,12 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1763
1763
|
updatedAt: Date;
|
1764
1764
|
deletedAt: Date | null;
|
1765
1765
|
smtpHost: string;
|
1766
|
-
smtpPort:
|
1767
|
-
smtpTlsPort:
|
1766
|
+
smtpPort: string;
|
1767
|
+
smtpTlsPort: string;
|
1768
1768
|
useTlsForSmtp: boolean;
|
1769
1769
|
imapHost: string;
|
1770
|
-
imapPort:
|
1771
|
-
imapTlsPort:
|
1770
|
+
imapPort: string;
|
1771
|
+
imapTlsPort: string;
|
1772
1772
|
useTlsForImap: boolean;
|
1773
1773
|
};
|
1774
1774
|
}, {
|
@@ -1788,12 +1788,12 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1788
1788
|
updatedAt: Date;
|
1789
1789
|
deletedAt: Date | null;
|
1790
1790
|
smtpHost: string;
|
1791
|
-
smtpPort:
|
1792
|
-
smtpTlsPort:
|
1791
|
+
smtpPort: string;
|
1792
|
+
smtpTlsPort: string;
|
1793
1793
|
useTlsForSmtp: boolean;
|
1794
1794
|
imapHost: string;
|
1795
|
-
imapPort:
|
1796
|
-
imapTlsPort:
|
1795
|
+
imapPort: string;
|
1796
|
+
imapTlsPort: string;
|
1797
1797
|
useTlsForImap: boolean;
|
1798
1798
|
};
|
1799
1799
|
}>;
|
@@ -2198,12 +2198,12 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2198
2198
|
updatedAt: Date;
|
2199
2199
|
deletedAt: Date | null;
|
2200
2200
|
smtpHost: string;
|
2201
|
-
smtpPort:
|
2202
|
-
smtpTlsPort:
|
2201
|
+
smtpPort: string;
|
2202
|
+
smtpTlsPort: string;
|
2203
2203
|
useTlsForSmtp: boolean;
|
2204
2204
|
imapHost: string;
|
2205
|
-
imapPort:
|
2206
|
-
imapTlsPort:
|
2205
|
+
imapPort: string;
|
2206
|
+
imapTlsPort: string;
|
2207
2207
|
useTlsForImap: boolean;
|
2208
2208
|
};
|
2209
2209
|
};
|
@@ -2608,12 +2608,12 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2608
2608
|
updatedAt: Date;
|
2609
2609
|
deletedAt: Date | null;
|
2610
2610
|
smtpHost: string;
|
2611
|
-
smtpPort:
|
2612
|
-
smtpTlsPort:
|
2611
|
+
smtpPort: string;
|
2612
|
+
smtpTlsPort: string;
|
2613
2613
|
useTlsForSmtp: boolean;
|
2614
2614
|
imapHost: string;
|
2615
|
-
imapPort:
|
2616
|
-
imapTlsPort:
|
2615
|
+
imapPort: string;
|
2616
|
+
imapTlsPort: string;
|
2617
2617
|
useTlsForImap: boolean;
|
2618
2618
|
};
|
2619
2619
|
};
|