1 | export declare class Config {
|
2 | static schema: {
|
3 | "version": string;
|
4 | "bot-framework": {
|
5 | "type": string;
|
6 | "properties": {
|
7 | "id": {
|
8 | "type": string;
|
9 | };
|
10 | "serviceUrl": {
|
11 | "type": string;
|
12 | };
|
13 | "channelId": {
|
14 | "type": string;
|
15 | };
|
16 | "from": {
|
17 | "type": string;
|
18 | "properties": {
|
19 | "id": {
|
20 | "type": string;
|
21 | };
|
22 | "name": {
|
23 | "type": string;
|
24 | };
|
25 | };
|
26 | };
|
27 | "conversation": {
|
28 | "type": string;
|
29 | "properties": {
|
30 | "id": {
|
31 | "type": string;
|
32 | };
|
33 | };
|
34 | };
|
35 | "recipient": {
|
36 | "type": string;
|
37 | "properties": {
|
38 | "id": {
|
39 | "type": string;
|
40 | };
|
41 | "name": {
|
42 | "type": string;
|
43 | };
|
44 | };
|
45 | };
|
46 | };
|
47 | "required": string[];
|
48 | };
|
49 | "facebook": {
|
50 | "type": string;
|
51 | "properties": {
|
52 | "object": {
|
53 | "type": string;
|
54 | "default": string;
|
55 | };
|
56 | "entry": {
|
57 | "type": string;
|
58 | "items": {
|
59 | "type": string;
|
60 | "properties": {
|
61 | "id": {
|
62 | "type": string;
|
63 | };
|
64 | "time": {
|
65 | "type": string;
|
66 | };
|
67 | "messaging": {
|
68 | "type": string;
|
69 | "items": {
|
70 | "type": string;
|
71 | "properties": {
|
72 | "timestamp": {
|
73 | "type": string;
|
74 | };
|
75 | "sender": {
|
76 | "type": string;
|
77 | "properties": {
|
78 | "id": {
|
79 | "type": string;
|
80 | };
|
81 | };
|
82 | };
|
83 | "recipient": {
|
84 | "type": string;
|
85 | "properties": {
|
86 | "id": {
|
87 | "type": string;
|
88 | };
|
89 | };
|
90 | };
|
91 | };
|
92 | }[];
|
93 | };
|
94 | "standby": {
|
95 | "type": string;
|
96 | "items": {
|
97 | "type": string;
|
98 | "properties": {
|
99 | "timestamp": {
|
100 | "type": string;
|
101 | };
|
102 | "sender": {
|
103 | "type": string;
|
104 | "properties": {
|
105 | "id": {
|
106 | "type": string;
|
107 | };
|
108 | };
|
109 | };
|
110 | "recipient": {
|
111 | "type": string;
|
112 | "properties": {
|
113 | "id": {
|
114 | "type": string;
|
115 | };
|
116 | };
|
117 | };
|
118 | };
|
119 | }[];
|
120 | };
|
121 | };
|
122 | "required": string[];
|
123 | }[];
|
124 | };
|
125 | };
|
126 | "required": string[];
|
127 | };
|
128 | "slack": {
|
129 | "type": string;
|
130 | "properties": {
|
131 | "type": {
|
132 | "type": string;
|
133 | };
|
134 | "token": {
|
135 | "type": string;
|
136 | };
|
137 | "challenge": {
|
138 | "type": string;
|
139 | };
|
140 | };
|
141 | "required": string[];
|
142 | };
|
143 | "slack-command": {
|
144 | "type": string;
|
145 | "properties": {
|
146 | "ssl_check": {
|
147 | "type": string;
|
148 | };
|
149 | "token": {
|
150 | "type": string;
|
151 | };
|
152 | };
|
153 | "required": string[];
|
154 | };
|
155 | "slack-event": {
|
156 | "type": string;
|
157 | "properties": {
|
158 | "token": {
|
159 | "type": string;
|
160 | };
|
161 | "team_id": {
|
162 | "type": string;
|
163 | };
|
164 | "api_app_id": {
|
165 | "type": string;
|
166 | };
|
167 | "event": {
|
168 | "type": string;
|
169 | "properties": {
|
170 | "type": {
|
171 | "type": string;
|
172 | };
|
173 | "user": {
|
174 | "type": string;
|
175 | };
|
176 | "event_ts": {
|
177 | "type": string;
|
178 | };
|
179 | };
|
180 | };
|
181 | "type": {
|
182 | "type": string;
|
183 | };
|
184 | "event_id": {
|
185 | "type": string;
|
186 | };
|
187 | "event_time": {
|
188 | "type": string;
|
189 | };
|
190 | };
|
191 | "required": string[];
|
192 | };
|
193 | "sendbird": {
|
194 | "type": string;
|
195 | "properties": {
|
196 | "app_id": {
|
197 | "type": string;
|
198 | };
|
199 | "category": {
|
200 | "type": string;
|
201 | };
|
202 | "ts": {
|
203 | "type": string;
|
204 | };
|
205 | "sender": {
|
206 | "type": string;
|
207 | "properties": {
|
208 | "nickname": {
|
209 | "type": string;
|
210 | };
|
211 | "user_id": {
|
212 | "type": string;
|
213 | };
|
214 | "profile_url": {
|
215 | "type": string;
|
216 | };
|
217 | };
|
218 | };
|
219 | "bot": {
|
220 | "type": string;
|
221 | "properties": {
|
222 | "bot_token": {
|
223 | "type": string;
|
224 | };
|
225 | "bot_profile_url": {
|
226 | "type": string;
|
227 | };
|
228 | "bot_nickname": {
|
229 | "type": string;
|
230 | };
|
231 | "bot_userid": {
|
232 | "type": string;
|
233 | };
|
234 | };
|
235 | };
|
236 | "message": {
|
237 | "type": string;
|
238 | "properties": {
|
239 | "text": {
|
240 | "type": string;
|
241 | };
|
242 | };
|
243 | "required": string[];
|
244 | };
|
245 | "channel": {
|
246 | "type": string;
|
247 | "properties": {
|
248 | "channel_type": {
|
249 | "type": string;
|
250 | };
|
251 | "channel_url": {
|
252 | "type": string;
|
253 | };
|
254 | "name": {
|
255 | "type": string;
|
256 | };
|
257 | "cover_url": {
|
258 | "type": string;
|
259 | };
|
260 | };
|
261 | "required": string[];
|
262 | };
|
263 | };
|
264 | "required": string[];
|
265 | };
|
266 | "telegram-callback": {
|
267 | "type": string;
|
268 | "properties": {
|
269 | "update_id": {
|
270 | "type": string;
|
271 | };
|
272 | "callback_query": {
|
273 | "type": string;
|
274 | "properties": {
|
275 | "id": {
|
276 | "type": string;
|
277 | };
|
278 | "from": {
|
279 | "type": string;
|
280 | "properties": {
|
281 | "id": {
|
282 | "type": string;
|
283 | };
|
284 | "is_bot": {
|
285 | "type": string;
|
286 | };
|
287 | "first_name": {
|
288 | "type": string;
|
289 | };
|
290 | "last_name": {
|
291 | "type": string;
|
292 | };
|
293 | "username": {
|
294 | "type": string;
|
295 | };
|
296 | "language_code": {
|
297 | "type": string;
|
298 | };
|
299 | };
|
300 | };
|
301 | "message": {
|
302 | "type": string;
|
303 | "properties": {
|
304 | "message_id": {
|
305 | "type": string;
|
306 | };
|
307 | "date": {
|
308 | "type": string;
|
309 | };
|
310 | "text": {
|
311 | "type": string;
|
312 | };
|
313 | };
|
314 | "required": string[];
|
315 | };
|
316 | };
|
317 | };
|
318 | };
|
319 | "required": string[];
|
320 | };
|
321 | "telegram": {
|
322 | "type": string;
|
323 | "properties": {
|
324 | "update_id": {
|
325 | "type": string;
|
326 | };
|
327 | "message": {
|
328 | "type": string;
|
329 | "properties": {
|
330 | "message_id": {
|
331 | "type": string;
|
332 | };
|
333 | "from": {
|
334 | "type": string;
|
335 | "properties": {
|
336 | "id": {
|
337 | "type": string;
|
338 | };
|
339 | "is_bot": {
|
340 | "type": string;
|
341 | };
|
342 | "first_name": {
|
343 | "type": string;
|
344 | };
|
345 | "last_name": {
|
346 | "type": string;
|
347 | };
|
348 | "username": {
|
349 | "type": string;
|
350 | };
|
351 | "language_code": {
|
352 | "type": string;
|
353 | };
|
354 | };
|
355 | };
|
356 | "chat": {
|
357 | "type": string;
|
358 | "properties": {
|
359 | "id": {
|
360 | "type": string;
|
361 | };
|
362 | "first_name": {
|
363 | "type": string;
|
364 | };
|
365 | "last_name": {
|
366 | "type": string;
|
367 | };
|
368 | "username": {
|
369 | "type": string;
|
370 | };
|
371 | "type": {
|
372 | "type": string;
|
373 | };
|
374 | };
|
375 | "required": string[];
|
376 | };
|
377 | "date": {
|
378 | "type": string;
|
379 | };
|
380 | "text": {
|
381 | "type": string;
|
382 | };
|
383 | };
|
384 | "required": string[];
|
385 | };
|
386 | };
|
387 | "required": string[];
|
388 | };
|
389 | "twilio": {
|
390 | "type": string;
|
391 | "properties": {
|
392 | "Body": {
|
393 | "type": string;
|
394 | };
|
395 | "SmsMessageSid": {
|
396 | "type": string;
|
397 | };
|
398 | "MessageSid": {
|
399 | "type": string;
|
400 | };
|
401 | "AccountSid": {
|
402 | "type": string;
|
403 | };
|
404 | "From": {
|
405 | "type": string;
|
406 | };
|
407 | "SmsSid": {
|
408 | "type": string;
|
409 | };
|
410 | };
|
411 | "required": string[];
|
412 | };
|
413 | "wechat": {
|
414 | "type": string;
|
415 | "properties": {
|
416 | "ToUserName": {
|
417 | "type": string;
|
418 | };
|
419 | "FromUserName": {
|
420 | "type": string;
|
421 | };
|
422 | "CreateTime": {
|
423 | "type": string;
|
424 | };
|
425 | "MsgType": {
|
426 | "type": string;
|
427 | };
|
428 | "Content": {
|
429 | "type": string;
|
430 | };
|
431 | "MsgId": {
|
432 | "type": string;
|
433 | };
|
434 | };
|
435 | "required": string[];
|
436 | };
|
437 | "viber": {
|
438 | "type": string;
|
439 | "properties": {
|
440 | "event": {
|
441 | "type": string;
|
442 | };
|
443 | "timestamp": {
|
444 | "type": string;
|
445 | };
|
446 | "message_token": {
|
447 | "type": string;
|
448 | };
|
449 | "sender": {
|
450 | "type": string;
|
451 | "properties": {
|
452 | "id": {
|
453 | "type": string;
|
454 | };
|
455 | "name": {
|
456 | "type": string;
|
457 | };
|
458 | "avatar": {
|
459 | "type": string;
|
460 | };
|
461 | "language": {
|
462 | "type": string;
|
463 | };
|
464 | "country": {
|
465 | "type": string;
|
466 | };
|
467 | "api_version": {
|
468 | "type": string;
|
469 | };
|
470 | };
|
471 | };
|
472 | "message": {
|
473 | "type": string;
|
474 | "properties": {
|
475 | "text": {
|
476 | "type": string;
|
477 | };
|
478 | "type": {
|
479 | "type": string;
|
480 | };
|
481 | };
|
482 | };
|
483 | };
|
484 | "required": string[];
|
485 | };
|
486 | "kik": {
|
487 | "type": string;
|
488 | "properties": {
|
489 | "entry": {
|
490 | "type": string;
|
491 | "items": {
|
492 | "type": string;
|
493 | "properties": {
|
494 | "chatId": {
|
495 | "type": string;
|
496 | };
|
497 | "id": {
|
498 | "type": string;
|
499 | };
|
500 | "from": {
|
501 | "type": string;
|
502 | };
|
503 | "type": {
|
504 | "type": string;
|
505 | };
|
506 | "body": {
|
507 | "type": string;
|
508 | };
|
509 | "timestamp": {
|
510 | "type": string;
|
511 | };
|
512 | "chatType": {
|
513 | "type": string;
|
514 | };
|
515 | };
|
516 | }[];
|
517 | };
|
518 | };
|
519 | };
|
520 | };
|
521 | }
|