@kl1/contracts 1.0.96 → 1.0.97
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 +767 -833
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +767 -832
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +3 -3
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +8 -8
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +361 -738
- 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 +5 -5
- package/dist/src/line/index.d.ts +5 -5
- 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 +5 -5
- package/dist/src/user/index.d.ts +80 -0
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +5 -5
- 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
|
};
|
@@ -205,7 +205,7 @@ export declare const messengerContract: {
|
|
205
205
|
phone: string | null;
|
206
206
|
} | undefined;
|
207
207
|
}>;
|
208
|
-
|
208
|
+
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
210
210
|
id: string;
|
211
211
|
channel: {
|
@@ -233,7 +233,6 @@ export declare const messengerContract: {
|
|
233
233
|
} | undefined;
|
234
234
|
};
|
235
235
|
direction: "incoming" | "outgoing" | "system";
|
236
|
-
status: number;
|
237
236
|
createdAt: string;
|
238
237
|
updatedAt: string;
|
239
238
|
actor: {
|
@@ -264,6 +263,7 @@ export declare const messengerContract: {
|
|
264
263
|
};
|
265
264
|
lastMessage?: string | undefined;
|
266
265
|
handleTime?: number | undefined;
|
266
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
267
267
|
}, {
|
268
268
|
id: string;
|
269
269
|
channel: {
|
@@ -291,7 +291,6 @@ export declare const messengerContract: {
|
|
291
291
|
} | undefined;
|
292
292
|
};
|
293
293
|
direction: "incoming" | "outgoing" | "system";
|
294
|
-
status: number;
|
295
294
|
createdAt: string;
|
296
295
|
updatedAt: string;
|
297
296
|
actor: {
|
@@ -322,6 +321,7 @@ export declare const messengerContract: {
|
|
322
321
|
};
|
323
322
|
lastMessage?: string | undefined;
|
324
323
|
handleTime?: number | undefined;
|
324
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
325
325
|
}>;
|
326
326
|
message: z.ZodObject<{
|
327
327
|
message: z.ZodOptional<z.ZodString>;
|
@@ -483,7 +483,6 @@ export declare const messengerContract: {
|
|
483
483
|
} | undefined;
|
484
484
|
};
|
485
485
|
direction: "incoming" | "outgoing" | "system";
|
486
|
-
status: number;
|
487
486
|
createdAt: string;
|
488
487
|
updatedAt: string;
|
489
488
|
actor: {
|
@@ -514,6 +513,7 @@ export declare const messengerContract: {
|
|
514
513
|
};
|
515
514
|
lastMessage?: string | undefined;
|
516
515
|
handleTime?: number | undefined;
|
516
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
517
517
|
};
|
518
518
|
}, {
|
519
519
|
message: {
|
@@ -571,7 +571,6 @@ export declare const messengerContract: {
|
|
571
571
|
} | undefined;
|
572
572
|
};
|
573
573
|
direction: "incoming" | "outgoing" | "system";
|
574
|
-
status: number;
|
575
574
|
createdAt: string;
|
576
575
|
updatedAt: string;
|
577
576
|
actor: {
|
@@ -602,6 +601,7 @@ export declare const messengerContract: {
|
|
602
601
|
};
|
603
602
|
lastMessage?: string | undefined;
|
604
603
|
handleTime?: number | undefined;
|
604
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
605
605
|
};
|
606
606
|
}>;
|
607
607
|
method: "POST";
|
package/dist/src/user/index.d.ts
CHANGED
@@ -350,6 +350,36 @@ export declare const userContract: {
|
|
350
350
|
message: string;
|
351
351
|
error?: any;
|
352
352
|
}>;
|
353
|
+
404: z.ZodObject<{
|
354
|
+
message: z.ZodString;
|
355
|
+
error: z.ZodAny;
|
356
|
+
}, "strip", z.ZodTypeAny, {
|
357
|
+
message: string;
|
358
|
+
error?: any;
|
359
|
+
}, {
|
360
|
+
message: string;
|
361
|
+
error?: any;
|
362
|
+
}>;
|
363
|
+
422: z.ZodObject<{
|
364
|
+
message: z.ZodString;
|
365
|
+
error: z.ZodAny;
|
366
|
+
}, "strip", z.ZodTypeAny, {
|
367
|
+
message: string;
|
368
|
+
error?: any;
|
369
|
+
}, {
|
370
|
+
message: string;
|
371
|
+
error?: any;
|
372
|
+
}>;
|
373
|
+
500: z.ZodObject<{
|
374
|
+
message: z.ZodString;
|
375
|
+
error: z.ZodAny;
|
376
|
+
}, "strip", z.ZodTypeAny, {
|
377
|
+
message: string;
|
378
|
+
error?: any;
|
379
|
+
}, {
|
380
|
+
message: string;
|
381
|
+
error?: any;
|
382
|
+
}>;
|
353
383
|
};
|
354
384
|
path: "user";
|
355
385
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
@@ -1229,6 +1259,36 @@ export declare const userContract: {
|
|
1229
1259
|
message: string;
|
1230
1260
|
error?: any;
|
1231
1261
|
}>;
|
1262
|
+
404: z.ZodObject<{
|
1263
|
+
message: z.ZodString;
|
1264
|
+
error: z.ZodAny;
|
1265
|
+
}, "strip", z.ZodTypeAny, {
|
1266
|
+
message: string;
|
1267
|
+
error?: any;
|
1268
|
+
}, {
|
1269
|
+
message: string;
|
1270
|
+
error?: any;
|
1271
|
+
}>;
|
1272
|
+
422: z.ZodObject<{
|
1273
|
+
message: z.ZodString;
|
1274
|
+
error: z.ZodAny;
|
1275
|
+
}, "strip", z.ZodTypeAny, {
|
1276
|
+
message: string;
|
1277
|
+
error?: any;
|
1278
|
+
}, {
|
1279
|
+
message: string;
|
1280
|
+
error?: any;
|
1281
|
+
}>;
|
1282
|
+
500: z.ZodObject<{
|
1283
|
+
message: z.ZodString;
|
1284
|
+
error: z.ZodAny;
|
1285
|
+
}, "strip", z.ZodTypeAny, {
|
1286
|
+
message: string;
|
1287
|
+
error?: any;
|
1288
|
+
}, {
|
1289
|
+
message: string;
|
1290
|
+
error?: any;
|
1291
|
+
}>;
|
1232
1292
|
};
|
1233
1293
|
path: "user/:id";
|
1234
1294
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
@@ -1270,6 +1330,26 @@ export declare const userContract: {
|
|
1270
1330
|
message: string;
|
1271
1331
|
requestId: string;
|
1272
1332
|
}>;
|
1333
|
+
404: z.ZodObject<{
|
1334
|
+
message: z.ZodString;
|
1335
|
+
error: z.ZodAny;
|
1336
|
+
}, "strip", z.ZodTypeAny, {
|
1337
|
+
message: string;
|
1338
|
+
error?: any;
|
1339
|
+
}, {
|
1340
|
+
message: string;
|
1341
|
+
error?: any;
|
1342
|
+
}>;
|
1343
|
+
422: z.ZodObject<{
|
1344
|
+
message: z.ZodString;
|
1345
|
+
error: z.ZodAny;
|
1346
|
+
}, "strip", z.ZodTypeAny, {
|
1347
|
+
message: string;
|
1348
|
+
error?: any;
|
1349
|
+
}, {
|
1350
|
+
message: string;
|
1351
|
+
error?: any;
|
1352
|
+
}>;
|
1273
1353
|
500: z.ZodObject<{
|
1274
1354
|
message: z.ZodString;
|
1275
1355
|
error: z.ZodAny;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAUpB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGlE,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGxB,CAAC"}
|
@@ -1299,7 +1299,7 @@ export declare const viberContract: {
|
|
1299
1299
|
phone: string | null;
|
1300
1300
|
} | undefined;
|
1301
1301
|
}>;
|
1302
|
-
|
1302
|
+
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
1303
1303
|
}, "strip", z.ZodTypeAny, {
|
1304
1304
|
id: string;
|
1305
1305
|
channel: {
|
@@ -1327,7 +1327,6 @@ export declare const viberContract: {
|
|
1327
1327
|
} | undefined;
|
1328
1328
|
};
|
1329
1329
|
direction: "incoming" | "outgoing" | "system";
|
1330
|
-
status: number;
|
1331
1330
|
createdAt: string;
|
1332
1331
|
updatedAt: string;
|
1333
1332
|
actor: {
|
@@ -1358,6 +1357,7 @@ export declare const viberContract: {
|
|
1358
1357
|
};
|
1359
1358
|
lastMessage?: string | undefined;
|
1360
1359
|
handleTime?: number | undefined;
|
1360
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1361
1361
|
}, {
|
1362
1362
|
id: string;
|
1363
1363
|
channel: {
|
@@ -1385,7 +1385,6 @@ export declare const viberContract: {
|
|
1385
1385
|
} | undefined;
|
1386
1386
|
};
|
1387
1387
|
direction: "incoming" | "outgoing" | "system";
|
1388
|
-
status: number;
|
1389
1388
|
createdAt: string;
|
1390
1389
|
updatedAt: string;
|
1391
1390
|
actor: {
|
@@ -1416,6 +1415,7 @@ export declare const viberContract: {
|
|
1416
1415
|
};
|
1417
1416
|
lastMessage?: string | undefined;
|
1418
1417
|
handleTime?: number | undefined;
|
1418
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1419
1419
|
}>;
|
1420
1420
|
message: z.ZodObject<{
|
1421
1421
|
message: z.ZodOptional<z.ZodString>;
|
@@ -1577,7 +1577,6 @@ export declare const viberContract: {
|
|
1577
1577
|
} | undefined;
|
1578
1578
|
};
|
1579
1579
|
direction: "incoming" | "outgoing" | "system";
|
1580
|
-
status: number;
|
1581
1580
|
createdAt: string;
|
1582
1581
|
updatedAt: string;
|
1583
1582
|
actor: {
|
@@ -1608,6 +1607,7 @@ export declare const viberContract: {
|
|
1608
1607
|
};
|
1609
1608
|
lastMessage?: string | undefined;
|
1610
1609
|
handleTime?: number | undefined;
|
1610
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1611
1611
|
};
|
1612
1612
|
}, {
|
1613
1613
|
message: {
|
@@ -1665,7 +1665,6 @@ export declare const viberContract: {
|
|
1665
1665
|
} | undefined;
|
1666
1666
|
};
|
1667
1667
|
direction: "incoming" | "outgoing" | "system";
|
1668
|
-
status: number;
|
1669
1668
|
createdAt: string;
|
1670
1669
|
updatedAt: string;
|
1671
1670
|
actor: {
|
@@ -1696,6 +1695,7 @@ export declare const viberContract: {
|
|
1696
1695
|
};
|
1697
1696
|
lastMessage?: string | undefined;
|
1698
1697
|
handleTime?: number | undefined;
|
1698
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1699
1699
|
};
|
1700
1700
|
}>;
|
1701
1701
|
method: "POST";
|