@kl1/contracts 1.2.21-uat → 1.2.22-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/attribute/index.d.ts +4 -4
- package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
- package/dist/api-contracts/src/auth/index.d.ts +4 -4
- package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
- package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
- package/dist/api-contracts/src/botpress/index.d.ts +28 -28
- package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
- package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
- package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
- package/dist/api-contracts/src/category/index.d.ts +12 -12
- package/dist/api-contracts/src/category/schema.d.ts +2 -2
- package/dist/api-contracts/src/channel/index.d.ts +3170 -590
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +145 -26
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +254 -24
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +26071 -23373
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1838 -1190
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +1803 -851
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +244 -244
- package/dist/api-contracts/src/comment/schema.d.ts +68 -68
- package/dist/api-contracts/src/company/index.d.ts +4 -4
- package/dist/api-contracts/src/company/validation.d.ts +4 -4
- package/dist/api-contracts/src/contact/index.d.ts +246 -246
- package/dist/api-contracts/src/contact/schema.d.ts +26 -26
- package/dist/api-contracts/src/contact/validation.d.ts +134 -134
- package/dist/api-contracts/src/contract.d.ts +43536 -12568
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +388 -260
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +316 -208
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
- package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
- package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
- package/dist/api-contracts/src/extension/index.d.ts +4 -4
- package/dist/api-contracts/src/facebook-feed/index.d.ts +2157 -845
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +163 -75
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +140 -72
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +16 -16
- package/dist/api-contracts/src/hold-label/schema.d.ts +2 -2
- package/dist/api-contracts/src/instagram/index.d.ts +1727 -699
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
- package/dist/api-contracts/src/line/index.d.ts +1616 -704
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +4 -4
- package/dist/api-contracts/src/line/validation.d.ts +173 -65
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
- package/dist/api-contracts/src/mail/mail-contract.d.ts +2118 -2118
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +32 -32
- package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
- package/dist/api-contracts/src/mail/room-contract.d.ts +1444 -1444
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +12 -12
- package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +468 -468
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +458 -458
- package/dist/api-contracts/src/messenger/index.d.ts +1730 -702
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
- package/dist/api-contracts/src/messenger/validation.d.ts +136 -68
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +26 -26
- package/dist/api-contracts/src/notification/schema.d.ts +18 -18
- package/dist/api-contracts/src/notification/validation.d.ts +10 -10
- package/dist/api-contracts/src/public-api/index.d.ts +84 -84
- package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
- package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
- package/dist/api-contracts/src/sms/index.d.ts +311 -115
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +14 -14
- package/dist/api-contracts/src/sms/validation.d.ts +6 -6
- package/dist/api-contracts/src/snippet/index.d.ts +42 -42
- package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
- package/dist/api-contracts/src/subscription/index.d.ts +184 -184
- package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
- package/dist/api-contracts/src/tag/index.d.ts +12 -12
- package/dist/api-contracts/src/tag/schema.d.ts +2 -2
- package/dist/api-contracts/src/telegram/index.d.ts +1367 -631
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
- package/dist/api-contracts/src/ticket/index.d.ts +328 -328
- package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
- package/dist/api-contracts/src/user/index.d.ts +23 -23
- package/dist/api-contracts/src/user/schema.d.ts +2 -2
- package/dist/api-contracts/src/user/validation.d.ts +5 -5
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/viber/index.d.ts +1379 -643
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/validation.d.ts +4 -4
- package/dist/api-contracts/src/webchat/index.d.ts +1037 -565
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
- package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
- package/dist/api-contracts/src/whatsapp/index.d.ts +19978 -0
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -0
- package/dist/api-contracts/src/whatsapp/schema.d.ts +2 -0
- package/dist/api-contracts/src/whatsapp/schema.d.ts.map +1 -0
- package/dist/api-contracts/src/whatsapp/validation.d.ts +76 -0
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -0
- package/dist/api-contracts/src/widget/index.d.ts +24 -24
- package/dist/api-contracts/src/widget/schema.d.ts +2 -2
- package/dist/api-contracts/src/widget/validation.d.ts +4 -4
- package/dist/api-contracts/src/workflow-rule/index.d.ts +448 -232
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/api-contracts/utils.d.ts +1 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +1 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +2491 -2336
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2489 -2336
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -18,13 +18,13 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
18
18
|
picture: z.ZodOptional<z.ZodString>;
|
19
19
|
additionalCredentials: z.ZodAny;
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
21
|
-
id: string;
|
22
21
|
name: string;
|
22
|
+
id: string;
|
23
23
|
picture?: string | undefined;
|
24
24
|
additionalCredentials?: any;
|
25
25
|
}, {
|
26
|
-
id: string;
|
27
26
|
name: string;
|
27
|
+
id: string;
|
28
28
|
picture?: string | undefined;
|
29
29
|
additionalCredentials?: any;
|
30
30
|
}>;
|
@@ -36,16 +36,16 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
36
36
|
contactProfile: z.ZodNullable<z.ZodString>;
|
37
37
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
39
|
+
name: string;
|
39
40
|
channel: string | null;
|
40
41
|
address: string | null;
|
41
|
-
name: string;
|
42
42
|
notes: string | null;
|
43
43
|
contactProfile: string | null;
|
44
44
|
socialProfileUrl: string | null;
|
45
45
|
}, {
|
46
|
+
name: string;
|
46
47
|
channel: string | null;
|
47
48
|
address: string | null;
|
48
|
-
name: string;
|
49
49
|
notes: string | null;
|
50
50
|
contactProfile: string | null;
|
51
51
|
socialProfileUrl: string | null;
|
@@ -53,15 +53,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
54
54
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
55
55
|
metadata: {
|
56
|
-
id: string;
|
57
56
|
name: string;
|
57
|
+
id: string;
|
58
58
|
picture?: string | undefined;
|
59
59
|
additionalCredentials?: any;
|
60
60
|
};
|
61
61
|
contact: {
|
62
|
+
name: string;
|
62
63
|
channel: string | null;
|
63
64
|
address: string | null;
|
64
|
-
name: string;
|
65
65
|
notes: string | null;
|
66
66
|
contactProfile: string | null;
|
67
67
|
socialProfileUrl: string | null;
|
@@ -71,15 +71,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
71
71
|
}, {
|
72
72
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
73
73
|
metadata: {
|
74
|
-
id: string;
|
75
74
|
name: string;
|
75
|
+
id: string;
|
76
76
|
picture?: string | undefined;
|
77
77
|
additionalCredentials?: any;
|
78
78
|
};
|
79
79
|
contact: {
|
80
|
+
name: string;
|
80
81
|
channel: string | null;
|
81
82
|
address: string | null;
|
82
|
-
name: string;
|
83
83
|
notes: string | null;
|
84
84
|
contactProfile: string | null;
|
85
85
|
socialProfileUrl: string | null;
|
@@ -93,13 +93,13 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
93
93
|
address: z.ZodNullable<z.ZodString>;
|
94
94
|
phone: z.ZodNullable<z.ZodString>;
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
96
|
-
address: string | null;
|
97
96
|
name: string;
|
97
|
+
address: string | null;
|
98
98
|
email: string;
|
99
99
|
phone: string | null;
|
100
100
|
}, {
|
101
|
-
address: string | null;
|
102
101
|
name: string;
|
102
|
+
address: string | null;
|
103
103
|
email: string;
|
104
104
|
phone: string | null;
|
105
105
|
}>>;
|
@@ -114,45 +114,93 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
114
114
|
channelSecret: z.ZodOptional<z.ZodString>;
|
115
115
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
116
116
|
senderId: z.ZodOptional<z.ZodString>;
|
117
|
+
whatsapp: z.ZodOptional<z.ZodObject<{
|
118
|
+
wabaBusinessId: z.ZodOptional<z.ZodString>;
|
119
|
+
wabaExternalId: z.ZodString;
|
120
|
+
phoneNumberId: z.ZodString;
|
121
|
+
email: z.ZodString;
|
122
|
+
clientId: z.ZodOptional<z.ZodString>;
|
123
|
+
channelId: z.ZodOptional<z.ZodString>;
|
124
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
125
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
127
|
+
email: string;
|
128
|
+
wabaExternalId: string;
|
129
|
+
phoneNumberId: string;
|
130
|
+
wabaBusinessId?: string | undefined;
|
131
|
+
clientId?: string | undefined;
|
132
|
+
channelId?: string | undefined;
|
133
|
+
status?: "active" | "pending" | undefined;
|
134
|
+
apiKey?: string | undefined;
|
135
|
+
}, {
|
136
|
+
email: string;
|
137
|
+
wabaExternalId: string;
|
138
|
+
phoneNumberId: string;
|
139
|
+
wabaBusinessId?: string | undefined;
|
140
|
+
clientId?: string | undefined;
|
141
|
+
channelId?: string | undefined;
|
142
|
+
status?: "active" | "pending" | undefined;
|
143
|
+
apiKey?: string | undefined;
|
144
|
+
}>>;
|
117
145
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
118
146
|
mobileNumber: z.ZodString;
|
119
147
|
apiKey: z.ZodString;
|
120
148
|
apiSecret: z.ZodString;
|
121
149
|
}, "strip", z.ZodTypeAny, {
|
122
|
-
mobileNumber: string;
|
123
150
|
apiKey: string;
|
151
|
+
mobileNumber: string;
|
124
152
|
apiSecret: string;
|
125
153
|
}, {
|
126
|
-
mobileNumber: string;
|
127
154
|
apiKey: string;
|
155
|
+
mobileNumber: string;
|
128
156
|
apiSecret: string;
|
129
157
|
}>>;
|
130
158
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
131
159
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
132
160
|
}, "strip", z.ZodTypeAny, {
|
133
|
-
id: string;
|
134
161
|
name: string;
|
162
|
+
id: string;
|
135
163
|
accessToken?: string | undefined;
|
136
164
|
channelSecret?: string | undefined;
|
137
165
|
additionalCredentials?: any;
|
138
166
|
senderId?: string | undefined;
|
167
|
+
whatsapp?: {
|
168
|
+
email: string;
|
169
|
+
wabaExternalId: string;
|
170
|
+
phoneNumberId: string;
|
171
|
+
wabaBusinessId?: string | undefined;
|
172
|
+
clientId?: string | undefined;
|
173
|
+
channelId?: string | undefined;
|
174
|
+
status?: "active" | "pending" | undefined;
|
175
|
+
apiKey?: string | undefined;
|
176
|
+
} | undefined;
|
139
177
|
vonageCredentials?: {
|
140
|
-
mobileNumber: string;
|
141
178
|
apiKey: string;
|
179
|
+
mobileNumber: string;
|
142
180
|
apiSecret: string;
|
143
181
|
} | undefined;
|
144
182
|
lineRichMenuId?: string | null | undefined;
|
145
183
|
messengerIntegrationType?: "own" | "business" | undefined;
|
146
184
|
}, {
|
147
|
-
id: string;
|
148
185
|
name: string;
|
186
|
+
id: string;
|
149
187
|
accessToken?: string | undefined;
|
150
188
|
channelSecret?: string | undefined;
|
151
189
|
additionalCredentials?: any;
|
152
190
|
senderId?: string | undefined;
|
191
|
+
whatsapp?: {
|
192
|
+
email: string;
|
193
|
+
wabaExternalId: string;
|
194
|
+
phoneNumberId: string;
|
195
|
+
wabaBusinessId?: string | undefined;
|
196
|
+
clientId?: string | undefined;
|
197
|
+
channelId?: string | undefined;
|
198
|
+
status?: "active" | "pending" | undefined;
|
199
|
+
apiKey?: string | undefined;
|
200
|
+
} | undefined;
|
153
201
|
vonageCredentials?: {
|
154
|
-
mobileNumber: string;
|
155
202
|
apiKey: string;
|
203
|
+
mobileNumber: string;
|
156
204
|
apiSecret: string;
|
157
205
|
} | undefined;
|
158
206
|
lineRichMenuId?: string | null | undefined;
|
@@ -171,32 +219,42 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
171
219
|
address: z.ZodNullable<z.ZodString>;
|
172
220
|
phone: z.ZodNullable<z.ZodString>;
|
173
221
|
}, "strip", z.ZodTypeAny, {
|
222
|
+
name: string;
|
174
223
|
id: string;
|
175
224
|
address: string | null;
|
176
|
-
name: string;
|
177
225
|
email: string;
|
178
226
|
phone: string | null;
|
179
227
|
}, {
|
228
|
+
name: string;
|
180
229
|
id: string;
|
181
230
|
address: string | null;
|
182
|
-
name: string;
|
183
231
|
email: string;
|
184
232
|
phone: string | null;
|
185
233
|
}>>;
|
186
234
|
}, "strip", z.ZodTypeAny, {
|
235
|
+
name: string;
|
187
236
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
188
237
|
id: string;
|
189
|
-
name: string;
|
190
238
|
metadata: {
|
191
|
-
id: string;
|
192
239
|
name: string;
|
240
|
+
id: string;
|
193
241
|
accessToken?: string | undefined;
|
194
242
|
channelSecret?: string | undefined;
|
195
243
|
additionalCredentials?: any;
|
196
244
|
senderId?: string | undefined;
|
245
|
+
whatsapp?: {
|
246
|
+
email: string;
|
247
|
+
wabaExternalId: string;
|
248
|
+
phoneNumberId: string;
|
249
|
+
wabaBusinessId?: string | undefined;
|
250
|
+
clientId?: string | undefined;
|
251
|
+
channelId?: string | undefined;
|
252
|
+
status?: "active" | "pending" | undefined;
|
253
|
+
apiKey?: string | undefined;
|
254
|
+
} | undefined;
|
197
255
|
vonageCredentials?: {
|
198
|
-
mobileNumber: string;
|
199
256
|
apiKey: string;
|
257
|
+
mobileNumber: string;
|
200
258
|
apiSecret: string;
|
201
259
|
} | undefined;
|
202
260
|
lineRichMenuId?: string | null | undefined;
|
@@ -209,26 +267,36 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
209
267
|
connectedUserId?: string | null | undefined;
|
210
268
|
lineRichMenuId?: string | null | undefined;
|
211
269
|
actor?: {
|
270
|
+
name: string;
|
212
271
|
id: string;
|
213
272
|
address: string | null;
|
214
|
-
name: string;
|
215
273
|
email: string;
|
216
274
|
phone: string | null;
|
217
275
|
} | undefined;
|
218
276
|
}, {
|
277
|
+
name: string;
|
219
278
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
220
279
|
id: string;
|
221
|
-
name: string;
|
222
280
|
metadata: {
|
223
|
-
id: string;
|
224
281
|
name: string;
|
282
|
+
id: string;
|
225
283
|
accessToken?: string | undefined;
|
226
284
|
channelSecret?: string | undefined;
|
227
285
|
additionalCredentials?: any;
|
228
286
|
senderId?: string | undefined;
|
287
|
+
whatsapp?: {
|
288
|
+
email: string;
|
289
|
+
wabaExternalId: string;
|
290
|
+
phoneNumberId: string;
|
291
|
+
wabaBusinessId?: string | undefined;
|
292
|
+
clientId?: string | undefined;
|
293
|
+
channelId?: string | undefined;
|
294
|
+
status?: "active" | "pending" | undefined;
|
295
|
+
apiKey?: string | undefined;
|
296
|
+
} | undefined;
|
229
297
|
vonageCredentials?: {
|
230
|
-
mobileNumber: string;
|
231
298
|
apiKey: string;
|
299
|
+
mobileNumber: string;
|
232
300
|
apiSecret: string;
|
233
301
|
} | undefined;
|
234
302
|
lineRichMenuId?: string | null | undefined;
|
@@ -241,9 +309,9 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
241
309
|
connectedUserId?: string | null | undefined;
|
242
310
|
lineRichMenuId?: string | null | undefined;
|
243
311
|
actor?: {
|
312
|
+
name: string;
|
244
313
|
id: string;
|
245
314
|
address: string | null;
|
246
|
-
name: string;
|
247
315
|
email: string;
|
248
316
|
phone: string | null;
|
249
317
|
} | undefined;
|
@@ -251,19 +319,29 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
251
319
|
}, "strip", z.ZodTypeAny, {
|
252
320
|
id: string;
|
253
321
|
channel: {
|
322
|
+
name: string;
|
254
323
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
255
324
|
id: string;
|
256
|
-
name: string;
|
257
325
|
metadata: {
|
258
|
-
id: string;
|
259
326
|
name: string;
|
327
|
+
id: string;
|
260
328
|
accessToken?: string | undefined;
|
261
329
|
channelSecret?: string | undefined;
|
262
330
|
additionalCredentials?: any;
|
263
331
|
senderId?: string | undefined;
|
332
|
+
whatsapp?: {
|
333
|
+
email: string;
|
334
|
+
wabaExternalId: string;
|
335
|
+
phoneNumberId: string;
|
336
|
+
wabaBusinessId?: string | undefined;
|
337
|
+
clientId?: string | undefined;
|
338
|
+
channelId?: string | undefined;
|
339
|
+
status?: "active" | "pending" | undefined;
|
340
|
+
apiKey?: string | undefined;
|
341
|
+
} | undefined;
|
264
342
|
vonageCredentials?: {
|
265
|
-
mobileNumber: string;
|
266
343
|
apiKey: string;
|
344
|
+
mobileNumber: string;
|
267
345
|
apiSecret: string;
|
268
346
|
} | undefined;
|
269
347
|
lineRichMenuId?: string | null | undefined;
|
@@ -276,17 +354,17 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
276
354
|
connectedUserId?: string | null | undefined;
|
277
355
|
lineRichMenuId?: string | null | undefined;
|
278
356
|
actor?: {
|
357
|
+
name: string;
|
279
358
|
id: string;
|
280
359
|
address: string | null;
|
281
|
-
name: string;
|
282
360
|
email: string;
|
283
361
|
phone: string | null;
|
284
362
|
} | undefined;
|
285
363
|
};
|
286
364
|
direction: "incoming" | "outgoing" | "system";
|
287
365
|
actor: {
|
288
|
-
address: string | null;
|
289
366
|
name: string;
|
367
|
+
address: string | null;
|
290
368
|
email: string;
|
291
369
|
phone: string | null;
|
292
370
|
} | null;
|
@@ -294,15 +372,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
294
372
|
platformContact: {
|
295
373
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
296
374
|
metadata: {
|
297
|
-
id: string;
|
298
375
|
name: string;
|
376
|
+
id: string;
|
299
377
|
picture?: string | undefined;
|
300
378
|
additionalCredentials?: any;
|
301
379
|
};
|
302
380
|
contact: {
|
381
|
+
name: string;
|
303
382
|
channel: string | null;
|
304
383
|
address: string | null;
|
305
|
-
name: string;
|
306
384
|
notes: string | null;
|
307
385
|
contactProfile: string | null;
|
308
386
|
socialProfileUrl: string | null;
|
@@ -315,19 +393,29 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
315
393
|
}, {
|
316
394
|
id: string;
|
317
395
|
channel: {
|
396
|
+
name: string;
|
318
397
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
319
398
|
id: string;
|
320
|
-
name: string;
|
321
399
|
metadata: {
|
322
|
-
id: string;
|
323
400
|
name: string;
|
401
|
+
id: string;
|
324
402
|
accessToken?: string | undefined;
|
325
403
|
channelSecret?: string | undefined;
|
326
404
|
additionalCredentials?: any;
|
327
405
|
senderId?: string | undefined;
|
406
|
+
whatsapp?: {
|
407
|
+
email: string;
|
408
|
+
wabaExternalId: string;
|
409
|
+
phoneNumberId: string;
|
410
|
+
wabaBusinessId?: string | undefined;
|
411
|
+
clientId?: string | undefined;
|
412
|
+
channelId?: string | undefined;
|
413
|
+
status?: "active" | "pending" | undefined;
|
414
|
+
apiKey?: string | undefined;
|
415
|
+
} | undefined;
|
328
416
|
vonageCredentials?: {
|
329
|
-
mobileNumber: string;
|
330
417
|
apiKey: string;
|
418
|
+
mobileNumber: string;
|
331
419
|
apiSecret: string;
|
332
420
|
} | undefined;
|
333
421
|
lineRichMenuId?: string | null | undefined;
|
@@ -340,17 +428,17 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
340
428
|
connectedUserId?: string | null | undefined;
|
341
429
|
lineRichMenuId?: string | null | undefined;
|
342
430
|
actor?: {
|
431
|
+
name: string;
|
343
432
|
id: string;
|
344
433
|
address: string | null;
|
345
|
-
name: string;
|
346
434
|
email: string;
|
347
435
|
phone: string | null;
|
348
436
|
} | undefined;
|
349
437
|
};
|
350
438
|
direction: "incoming" | "outgoing" | "system";
|
351
439
|
actor: {
|
352
|
-
address: string | null;
|
353
440
|
name: string;
|
441
|
+
address: string | null;
|
354
442
|
email: string;
|
355
443
|
phone: string | null;
|
356
444
|
} | null;
|
@@ -358,15 +446,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
358
446
|
platformContact: {
|
359
447
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
360
448
|
metadata: {
|
361
|
-
id: string;
|
362
449
|
name: string;
|
450
|
+
id: string;
|
363
451
|
picture?: string | undefined;
|
364
452
|
additionalCredentials?: any;
|
365
453
|
};
|
366
454
|
contact: {
|
455
|
+
name: string;
|
367
456
|
channel: string | null;
|
368
457
|
address: string | null;
|
369
|
-
name: string;
|
370
458
|
notes: string | null;
|
371
459
|
contactProfile: string | null;
|
372
460
|
socialProfileUrl: string | null;
|
@@ -380,7 +468,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
380
468
|
message: z.ZodObject<{
|
381
469
|
message: z.ZodOptional<z.ZodString>;
|
382
470
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
383
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
471
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
384
472
|
readAt: z.ZodOptional<z.ZodDate>;
|
385
473
|
metadata: z.ZodOptional<z.ZodAny>;
|
386
474
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -413,22 +501,22 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
413
501
|
address: z.ZodNullable<z.ZodString>;
|
414
502
|
phone: z.ZodNullable<z.ZodString>;
|
415
503
|
}, "strip", z.ZodTypeAny, {
|
416
|
-
address: string | null;
|
417
504
|
name: string;
|
505
|
+
address: string | null;
|
418
506
|
email: string;
|
419
507
|
phone: string | null;
|
420
508
|
}, {
|
421
|
-
address: string | null;
|
422
509
|
name: string;
|
510
|
+
address: string | null;
|
423
511
|
email: string;
|
424
512
|
phone: string | null;
|
425
513
|
}>;
|
426
514
|
}, "strip", z.ZodTypeAny, {
|
427
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
515
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
428
516
|
direction: "incoming" | "outgoing" | "system";
|
429
517
|
sender: {
|
430
|
-
address: string | null;
|
431
518
|
name: string;
|
519
|
+
address: string | null;
|
432
520
|
email: string;
|
433
521
|
phone: string | null;
|
434
522
|
};
|
@@ -450,11 +538,11 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
450
538
|
fileSize: number;
|
451
539
|
} | undefined;
|
452
540
|
}, {
|
453
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
541
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
454
542
|
direction: "incoming" | "outgoing" | "system";
|
455
543
|
sender: {
|
456
|
-
address: string | null;
|
457
544
|
name: string;
|
545
|
+
address: string | null;
|
458
546
|
email: string;
|
459
547
|
phone: string | null;
|
460
548
|
};
|
@@ -478,11 +566,11 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
478
566
|
}>;
|
479
567
|
}, "strip", z.ZodTypeAny, {
|
480
568
|
message: {
|
481
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
569
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
482
570
|
direction: "incoming" | "outgoing" | "system";
|
483
571
|
sender: {
|
484
|
-
address: string | null;
|
485
572
|
name: string;
|
573
|
+
address: string | null;
|
486
574
|
email: string;
|
487
575
|
phone: string | null;
|
488
576
|
};
|
@@ -507,19 +595,29 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
507
595
|
room: {
|
508
596
|
id: string;
|
509
597
|
channel: {
|
598
|
+
name: string;
|
510
599
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
511
600
|
id: string;
|
512
|
-
name: string;
|
513
601
|
metadata: {
|
514
|
-
id: string;
|
515
602
|
name: string;
|
603
|
+
id: string;
|
516
604
|
accessToken?: string | undefined;
|
517
605
|
channelSecret?: string | undefined;
|
518
606
|
additionalCredentials?: any;
|
519
607
|
senderId?: string | undefined;
|
608
|
+
whatsapp?: {
|
609
|
+
email: string;
|
610
|
+
wabaExternalId: string;
|
611
|
+
phoneNumberId: string;
|
612
|
+
wabaBusinessId?: string | undefined;
|
613
|
+
clientId?: string | undefined;
|
614
|
+
channelId?: string | undefined;
|
615
|
+
status?: "active" | "pending" | undefined;
|
616
|
+
apiKey?: string | undefined;
|
617
|
+
} | undefined;
|
520
618
|
vonageCredentials?: {
|
521
|
-
mobileNumber: string;
|
522
619
|
apiKey: string;
|
620
|
+
mobileNumber: string;
|
523
621
|
apiSecret: string;
|
524
622
|
} | undefined;
|
525
623
|
lineRichMenuId?: string | null | undefined;
|
@@ -532,17 +630,17 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
532
630
|
connectedUserId?: string | null | undefined;
|
533
631
|
lineRichMenuId?: string | null | undefined;
|
534
632
|
actor?: {
|
633
|
+
name: string;
|
535
634
|
id: string;
|
536
635
|
address: string | null;
|
537
|
-
name: string;
|
538
636
|
email: string;
|
539
637
|
phone: string | null;
|
540
638
|
} | undefined;
|
541
639
|
};
|
542
640
|
direction: "incoming" | "outgoing" | "system";
|
543
641
|
actor: {
|
544
|
-
address: string | null;
|
545
642
|
name: string;
|
643
|
+
address: string | null;
|
546
644
|
email: string;
|
547
645
|
phone: string | null;
|
548
646
|
} | null;
|
@@ -550,15 +648,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
550
648
|
platformContact: {
|
551
649
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
552
650
|
metadata: {
|
553
|
-
id: string;
|
554
651
|
name: string;
|
652
|
+
id: string;
|
555
653
|
picture?: string | undefined;
|
556
654
|
additionalCredentials?: any;
|
557
655
|
};
|
558
656
|
contact: {
|
657
|
+
name: string;
|
559
658
|
channel: string | null;
|
560
659
|
address: string | null;
|
561
|
-
name: string;
|
562
660
|
notes: string | null;
|
563
661
|
contactProfile: string | null;
|
564
662
|
socialProfileUrl: string | null;
|
@@ -573,11 +671,11 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
573
671
|
stickerId: number;
|
574
672
|
}, {
|
575
673
|
message: {
|
576
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
674
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
577
675
|
direction: "incoming" | "outgoing" | "system";
|
578
676
|
sender: {
|
579
|
-
address: string | null;
|
580
677
|
name: string;
|
678
|
+
address: string | null;
|
581
679
|
email: string;
|
582
680
|
phone: string | null;
|
583
681
|
};
|
@@ -602,19 +700,29 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
602
700
|
room: {
|
603
701
|
id: string;
|
604
702
|
channel: {
|
703
|
+
name: string;
|
605
704
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
606
705
|
id: string;
|
607
|
-
name: string;
|
608
706
|
metadata: {
|
609
|
-
id: string;
|
610
707
|
name: string;
|
708
|
+
id: string;
|
611
709
|
accessToken?: string | undefined;
|
612
710
|
channelSecret?: string | undefined;
|
613
711
|
additionalCredentials?: any;
|
614
712
|
senderId?: string | undefined;
|
713
|
+
whatsapp?: {
|
714
|
+
email: string;
|
715
|
+
wabaExternalId: string;
|
716
|
+
phoneNumberId: string;
|
717
|
+
wabaBusinessId?: string | undefined;
|
718
|
+
clientId?: string | undefined;
|
719
|
+
channelId?: string | undefined;
|
720
|
+
status?: "active" | "pending" | undefined;
|
721
|
+
apiKey?: string | undefined;
|
722
|
+
} | undefined;
|
615
723
|
vonageCredentials?: {
|
616
|
-
mobileNumber: string;
|
617
724
|
apiKey: string;
|
725
|
+
mobileNumber: string;
|
618
726
|
apiSecret: string;
|
619
727
|
} | undefined;
|
620
728
|
lineRichMenuId?: string | null | undefined;
|
@@ -627,17 +735,17 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
627
735
|
connectedUserId?: string | null | undefined;
|
628
736
|
lineRichMenuId?: string | null | undefined;
|
629
737
|
actor?: {
|
738
|
+
name: string;
|
630
739
|
id: string;
|
631
740
|
address: string | null;
|
632
|
-
name: string;
|
633
741
|
email: string;
|
634
742
|
phone: string | null;
|
635
743
|
} | undefined;
|
636
744
|
};
|
637
745
|
direction: "incoming" | "outgoing" | "system";
|
638
746
|
actor: {
|
639
|
-
address: string | null;
|
640
747
|
name: string;
|
748
|
+
address: string | null;
|
641
749
|
email: string;
|
642
750
|
phone: string | null;
|
643
751
|
} | null;
|
@@ -645,15 +753,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
645
753
|
platformContact: {
|
646
754
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
647
755
|
metadata: {
|
648
|
-
id: string;
|
649
756
|
name: string;
|
757
|
+
id: string;
|
650
758
|
picture?: string | undefined;
|
651
759
|
additionalCredentials?: any;
|
652
760
|
};
|
653
761
|
contact: {
|
762
|
+
name: string;
|
654
763
|
channel: string | null;
|
655
764
|
address: string | null;
|
656
|
-
name: string;
|
657
765
|
notes: string | null;
|
658
766
|
contactProfile: string | null;
|
659
767
|
socialProfileUrl: string | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/line/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,eAAO,MAAM,qBAAqB
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/line/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DhC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC"}
|