agenza-line-bot-mcp 0.0.1-local

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.
Files changed (85) hide show
  1. package/README.ja.md +199 -0
  2. package/README.md +215 -0
  3. package/dist/common/response.d.ts +14 -0
  4. package/dist/common/response.d.ts.map +1 -0
  5. package/dist/common/response.js +22 -0
  6. package/dist/common/response.js.map +1 -0
  7. package/dist/common/schema/actionSchema.d.ts +139 -0
  8. package/dist/common/schema/actionSchema.d.ts.map +1 -0
  9. package/dist/common/schema/actionSchema.js +85 -0
  10. package/dist/common/schema/actionSchema.js.map +1 -0
  11. package/dist/common/schema/constants.d.ts +2 -0
  12. package/dist/common/schema/constants.d.ts.map +1 -0
  13. package/dist/common/schema/constants.js +2 -0
  14. package/dist/common/schema/constants.js.map +1 -0
  15. package/dist/common/schema/flexMessage.d.ts +1654 -0
  16. package/dist/common/schema/flexMessage.d.ts.map +1 -0
  17. package/dist/common/schema/flexMessage.js +337 -0
  18. package/dist/common/schema/flexMessage.js.map +1 -0
  19. package/dist/common/schema/textMessage.d.ts +12 -0
  20. package/dist/common/schema/textMessage.d.ts.map +1 -0
  21. package/dist/common/schema/textMessage.js +9 -0
  22. package/dist/common/schema/textMessage.js.map +1 -0
  23. package/dist/index.d.ts +18 -0
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +73 -0
  26. package/dist/index.js.map +1 -0
  27. package/dist/tools/AbstractTool.d.ts +9 -0
  28. package/dist/tools/AbstractTool.d.ts.map +1 -0
  29. package/dist/tools/AbstractTool.js +3 -0
  30. package/dist/tools/AbstractTool.js.map +1 -0
  31. package/dist/tools/broadcastFlexMessage.d.ts +9 -0
  32. package/dist/tools/broadcastFlexMessage.d.ts.map +1 -0
  33. package/dist/tools/broadcastFlexMessage.js +28 -0
  34. package/dist/tools/broadcastFlexMessage.js.map +1 -0
  35. package/dist/tools/broadcastTextMessage.d.ts +9 -0
  36. package/dist/tools/broadcastTextMessage.d.ts.map +1 -0
  37. package/dist/tools/broadcastTextMessage.js +27 -0
  38. package/dist/tools/broadcastTextMessage.js.map +1 -0
  39. package/dist/tools/cancelRichMenuDefault.d.ts +9 -0
  40. package/dist/tools/cancelRichMenuDefault.d.ts.map +1 -0
  41. package/dist/tools/cancelRichMenuDefault.js +16 -0
  42. package/dist/tools/cancelRichMenuDefault.js.map +1 -0
  43. package/dist/tools/createRichMenu.d.ts +10 -0
  44. package/dist/tools/createRichMenu.d.ts.map +1 -0
  45. package/dist/tools/createRichMenu.js +278 -0
  46. package/dist/tools/createRichMenu.js.map +1 -0
  47. package/dist/tools/deleteRichMenu.d.ts +9 -0
  48. package/dist/tools/deleteRichMenu.d.ts.map +1 -0
  49. package/dist/tools/deleteRichMenu.js +27 -0
  50. package/dist/tools/deleteRichMenu.js.map +1 -0
  51. package/dist/tools/getMessageQuota.d.ts +9 -0
  52. package/dist/tools/getMessageQuota.d.ts.map +1 -0
  53. package/dist/tools/getMessageQuota.js +21 -0
  54. package/dist/tools/getMessageQuota.js.map +1 -0
  55. package/dist/tools/getProfile.d.ts +10 -0
  56. package/dist/tools/getProfile.d.ts.map +1 -0
  57. package/dist/tools/getProfile.js +34 -0
  58. package/dist/tools/getProfile.js.map +1 -0
  59. package/dist/tools/getRichMenuList.d.ts +9 -0
  60. package/dist/tools/getRichMenuList.d.ts.map +1 -0
  61. package/dist/tools/getRichMenuList.js +21 -0
  62. package/dist/tools/getRichMenuList.js.map +1 -0
  63. package/dist/tools/pushFlexMessage.d.ts +10 -0
  64. package/dist/tools/pushFlexMessage.d.ts.map +1 -0
  65. package/dist/tools/pushFlexMessage.js +40 -0
  66. package/dist/tools/pushFlexMessage.js.map +1 -0
  67. package/dist/tools/pushTextMessage.d.ts +10 -0
  68. package/dist/tools/pushTextMessage.d.ts.map +1 -0
  69. package/dist/tools/pushTextMessage.js +39 -0
  70. package/dist/tools/pushTextMessage.js.map +1 -0
  71. package/dist/tools/setRichMenuDefault.d.ts +9 -0
  72. package/dist/tools/setRichMenuDefault.d.ts.map +1 -0
  73. package/dist/tools/setRichMenuDefault.js +22 -0
  74. package/dist/tools/setRichMenuDefault.js.map +1 -0
  75. package/dist/version.d.ts +3 -0
  76. package/dist/version.d.ts.map +1 -0
  77. package/dist/version.js +3 -0
  78. package/dist/version.js.map +1 -0
  79. package/package.json +54 -0
  80. package/richmenu-template/template-01.md +46 -0
  81. package/richmenu-template/template-02.md +49 -0
  82. package/richmenu-template/template-03.md +74 -0
  83. package/richmenu-template/template-04.md +60 -0
  84. package/richmenu-template/template-05.md +67 -0
  85. package/richmenu-template/template-06.md +66 -0
@@ -0,0 +1,1654 @@
1
+ import { z } from "zod";
2
+ export declare const flexBubbleSchema: z.ZodObject<{
3
+ type: z.ZodLiteral<"bubble">;
4
+ size: z.ZodOptional<z.ZodEnum<["nano", "micro", "deca", "hecto", "kilo", "mega", "giga"]>>;
5
+ direction: z.ZodOptional<z.ZodEnum<["ltr", "rtl"]>>;
6
+ header: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
7
+ hero: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
8
+ body: z.ZodEffects<z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>, any, any>;
9
+ footer: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
10
+ styles: z.ZodOptional<z.ZodObject<{
11
+ header: z.ZodOptional<z.ZodObject<{
12
+ backgroundColor: z.ZodOptional<z.ZodString>;
13
+ separator: z.ZodOptional<z.ZodBoolean>;
14
+ separatorColor: z.ZodOptional<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ backgroundColor?: string;
17
+ separator?: boolean;
18
+ separatorColor?: string;
19
+ }, {
20
+ backgroundColor?: string;
21
+ separator?: boolean;
22
+ separatorColor?: string;
23
+ }>>;
24
+ hero: z.ZodOptional<z.ZodObject<{
25
+ backgroundColor: z.ZodOptional<z.ZodString>;
26
+ separator: z.ZodOptional<z.ZodBoolean>;
27
+ separatorColor: z.ZodOptional<z.ZodString>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ backgroundColor?: string;
30
+ separator?: boolean;
31
+ separatorColor?: string;
32
+ }, {
33
+ backgroundColor?: string;
34
+ separator?: boolean;
35
+ separatorColor?: string;
36
+ }>>;
37
+ body: z.ZodOptional<z.ZodObject<{
38
+ backgroundColor: z.ZodOptional<z.ZodString>;
39
+ separator: z.ZodOptional<z.ZodBoolean>;
40
+ separatorColor: z.ZodOptional<z.ZodString>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ backgroundColor?: string;
43
+ separator?: boolean;
44
+ separatorColor?: string;
45
+ }, {
46
+ backgroundColor?: string;
47
+ separator?: boolean;
48
+ separatorColor?: string;
49
+ }>>;
50
+ footer: z.ZodOptional<z.ZodObject<{
51
+ backgroundColor: z.ZodOptional<z.ZodString>;
52
+ separator: z.ZodOptional<z.ZodBoolean>;
53
+ separatorColor: z.ZodOptional<z.ZodString>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ backgroundColor?: string;
56
+ separator?: boolean;
57
+ separatorColor?: string;
58
+ }, {
59
+ backgroundColor?: string;
60
+ separator?: boolean;
61
+ separatorColor?: string;
62
+ }>>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ body?: {
65
+ backgroundColor?: string;
66
+ separator?: boolean;
67
+ separatorColor?: string;
68
+ };
69
+ footer?: {
70
+ backgroundColor?: string;
71
+ separator?: boolean;
72
+ separatorColor?: string;
73
+ };
74
+ header?: {
75
+ backgroundColor?: string;
76
+ separator?: boolean;
77
+ separatorColor?: string;
78
+ };
79
+ hero?: {
80
+ backgroundColor?: string;
81
+ separator?: boolean;
82
+ separatorColor?: string;
83
+ };
84
+ }, {
85
+ body?: {
86
+ backgroundColor?: string;
87
+ separator?: boolean;
88
+ separatorColor?: string;
89
+ };
90
+ footer?: {
91
+ backgroundColor?: string;
92
+ separator?: boolean;
93
+ separatorColor?: string;
94
+ };
95
+ header?: {
96
+ backgroundColor?: string;
97
+ separator?: boolean;
98
+ separatorColor?: string;
99
+ };
100
+ hero?: {
101
+ backgroundColor?: string;
102
+ separator?: boolean;
103
+ separatorColor?: string;
104
+ };
105
+ }>>;
106
+ action: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
107
+ type: z.ZodLiteral<"postback">;
108
+ data: z.ZodString;
109
+ label: z.ZodString;
110
+ displayText: z.ZodOptional<z.ZodString>;
111
+ inputOption: z.ZodOptional<z.ZodEnum<["closeRichMenu", "openRichMenu", "openKeyboard", "openVoice"]>>;
112
+ fillInText: z.ZodOptional<z.ZodString>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ type?: "postback";
115
+ data?: string;
116
+ label?: string;
117
+ displayText?: string;
118
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
119
+ fillInText?: string;
120
+ }, {
121
+ type?: "postback";
122
+ data?: string;
123
+ label?: string;
124
+ displayText?: string;
125
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
126
+ fillInText?: string;
127
+ }>, z.ZodObject<{
128
+ type: z.ZodLiteral<"message">;
129
+ label: z.ZodString;
130
+ text: z.ZodString;
131
+ }, "strip", z.ZodTypeAny, {
132
+ type?: "message";
133
+ label?: string;
134
+ text?: string;
135
+ }, {
136
+ type?: "message";
137
+ label?: string;
138
+ text?: string;
139
+ }>, z.ZodObject<{
140
+ type: z.ZodLiteral<"uri">;
141
+ label: z.ZodString;
142
+ uri: z.ZodString;
143
+ altUri: z.ZodOptional<z.ZodObject<{
144
+ desktop: z.ZodString;
145
+ }, "strip", z.ZodTypeAny, {
146
+ desktop?: string;
147
+ }, {
148
+ desktop?: string;
149
+ }>>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ type?: "uri";
152
+ label?: string;
153
+ uri?: string;
154
+ altUri?: {
155
+ desktop?: string;
156
+ };
157
+ }, {
158
+ type?: "uri";
159
+ label?: string;
160
+ uri?: string;
161
+ altUri?: {
162
+ desktop?: string;
163
+ };
164
+ }>, z.ZodObject<{
165
+ type: z.ZodLiteral<"datetimepicker">;
166
+ label: z.ZodString;
167
+ data: z.ZodString;
168
+ mode: z.ZodEnum<["date", "time", "datetime"]>;
169
+ initial: z.ZodOptional<z.ZodString>;
170
+ max: z.ZodOptional<z.ZodString>;
171
+ min: z.ZodOptional<z.ZodString>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ max?: string;
174
+ type?: "datetimepicker";
175
+ data?: string;
176
+ min?: string;
177
+ label?: string;
178
+ mode?: "time" | "date" | "datetime";
179
+ initial?: string;
180
+ }, {
181
+ max?: string;
182
+ type?: "datetimepicker";
183
+ data?: string;
184
+ min?: string;
185
+ label?: string;
186
+ mode?: "time" | "date" | "datetime";
187
+ initial?: string;
188
+ }>, z.ZodObject<{
189
+ type: z.ZodLiteral<"camera">;
190
+ label: z.ZodString;
191
+ }, "strip", z.ZodTypeAny, {
192
+ type?: "camera";
193
+ label?: string;
194
+ }, {
195
+ type?: "camera";
196
+ label?: string;
197
+ }>, z.ZodObject<{
198
+ type: z.ZodLiteral<"cameraRoll">;
199
+ label: z.ZodString;
200
+ }, "strip", z.ZodTypeAny, {
201
+ type?: "cameraRoll";
202
+ label?: string;
203
+ }, {
204
+ type?: "cameraRoll";
205
+ label?: string;
206
+ }>, z.ZodObject<{
207
+ type: z.ZodLiteral<"location">;
208
+ label: z.ZodString;
209
+ }, "strip", z.ZodTypeAny, {
210
+ type?: "location";
211
+ label?: string;
212
+ }, {
213
+ type?: "location";
214
+ label?: string;
215
+ }>, z.ZodObject<{
216
+ type: z.ZodLiteral<"richmenuswitch">;
217
+ label: z.ZodString;
218
+ richMenuAliasId: z.ZodString;
219
+ data: z.ZodString;
220
+ }, "strip", z.ZodTypeAny, {
221
+ type?: "richmenuswitch";
222
+ data?: string;
223
+ label?: string;
224
+ richMenuAliasId?: string;
225
+ }, {
226
+ type?: "richmenuswitch";
227
+ data?: string;
228
+ label?: string;
229
+ richMenuAliasId?: string;
230
+ }>, z.ZodObject<{
231
+ type: z.ZodLiteral<"clipboard">;
232
+ label: z.ZodString;
233
+ clipboardText: z.ZodString;
234
+ }, "strip", z.ZodTypeAny, {
235
+ type?: "clipboard";
236
+ label?: string;
237
+ clipboardText?: string;
238
+ }, {
239
+ type?: "clipboard";
240
+ label?: string;
241
+ clipboardText?: string;
242
+ }>]>>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ type?: "bubble";
245
+ direction?: "ltr" | "rtl";
246
+ body?: any;
247
+ footer?: any;
248
+ header?: any;
249
+ action?: {
250
+ type?: "postback";
251
+ data?: string;
252
+ label?: string;
253
+ displayText?: string;
254
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
255
+ fillInText?: string;
256
+ } | {
257
+ type?: "message";
258
+ label?: string;
259
+ text?: string;
260
+ } | {
261
+ type?: "uri";
262
+ label?: string;
263
+ uri?: string;
264
+ altUri?: {
265
+ desktop?: string;
266
+ };
267
+ } | {
268
+ max?: string;
269
+ type?: "datetimepicker";
270
+ data?: string;
271
+ min?: string;
272
+ label?: string;
273
+ mode?: "time" | "date" | "datetime";
274
+ initial?: string;
275
+ } | {
276
+ type?: "camera";
277
+ label?: string;
278
+ } | {
279
+ type?: "cameraRoll";
280
+ label?: string;
281
+ } | {
282
+ type?: "location";
283
+ label?: string;
284
+ } | {
285
+ type?: "richmenuswitch";
286
+ data?: string;
287
+ label?: string;
288
+ richMenuAliasId?: string;
289
+ } | {
290
+ type?: "clipboard";
291
+ label?: string;
292
+ clipboardText?: string;
293
+ };
294
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
295
+ hero?: any;
296
+ styles?: {
297
+ body?: {
298
+ backgroundColor?: string;
299
+ separator?: boolean;
300
+ separatorColor?: string;
301
+ };
302
+ footer?: {
303
+ backgroundColor?: string;
304
+ separator?: boolean;
305
+ separatorColor?: string;
306
+ };
307
+ header?: {
308
+ backgroundColor?: string;
309
+ separator?: boolean;
310
+ separatorColor?: string;
311
+ };
312
+ hero?: {
313
+ backgroundColor?: string;
314
+ separator?: boolean;
315
+ separatorColor?: string;
316
+ };
317
+ };
318
+ }, {
319
+ type?: "bubble";
320
+ direction?: "ltr" | "rtl";
321
+ body?: any;
322
+ footer?: any;
323
+ header?: any;
324
+ action?: {
325
+ type?: "postback";
326
+ data?: string;
327
+ label?: string;
328
+ displayText?: string;
329
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
330
+ fillInText?: string;
331
+ } | {
332
+ type?: "message";
333
+ label?: string;
334
+ text?: string;
335
+ } | {
336
+ type?: "uri";
337
+ label?: string;
338
+ uri?: string;
339
+ altUri?: {
340
+ desktop?: string;
341
+ };
342
+ } | {
343
+ max?: string;
344
+ type?: "datetimepicker";
345
+ data?: string;
346
+ min?: string;
347
+ label?: string;
348
+ mode?: "time" | "date" | "datetime";
349
+ initial?: string;
350
+ } | {
351
+ type?: "camera";
352
+ label?: string;
353
+ } | {
354
+ type?: "cameraRoll";
355
+ label?: string;
356
+ } | {
357
+ type?: "location";
358
+ label?: string;
359
+ } | {
360
+ type?: "richmenuswitch";
361
+ data?: string;
362
+ label?: string;
363
+ richMenuAliasId?: string;
364
+ } | {
365
+ type?: "clipboard";
366
+ label?: string;
367
+ clipboardText?: string;
368
+ };
369
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
370
+ hero?: any;
371
+ styles?: {
372
+ body?: {
373
+ backgroundColor?: string;
374
+ separator?: boolean;
375
+ separatorColor?: string;
376
+ };
377
+ footer?: {
378
+ backgroundColor?: string;
379
+ separator?: boolean;
380
+ separatorColor?: string;
381
+ };
382
+ header?: {
383
+ backgroundColor?: string;
384
+ separator?: boolean;
385
+ separatorColor?: string;
386
+ };
387
+ hero?: {
388
+ backgroundColor?: string;
389
+ separator?: boolean;
390
+ separatorColor?: string;
391
+ };
392
+ };
393
+ }>;
394
+ export declare const flexMessageSchema: z.ZodObject<{
395
+ type: z.ZodDefault<z.ZodLiteral<"flex">>;
396
+ altText: z.ZodString;
397
+ contents: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
398
+ type: z.ZodLiteral<"bubble">;
399
+ size: z.ZodOptional<z.ZodEnum<["nano", "micro", "deca", "hecto", "kilo", "mega", "giga"]>>;
400
+ direction: z.ZodOptional<z.ZodEnum<["ltr", "rtl"]>>;
401
+ header: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
402
+ hero: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
403
+ body: z.ZodEffects<z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>, any, any>;
404
+ footer: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
405
+ styles: z.ZodOptional<z.ZodObject<{
406
+ header: z.ZodOptional<z.ZodObject<{
407
+ backgroundColor: z.ZodOptional<z.ZodString>;
408
+ separator: z.ZodOptional<z.ZodBoolean>;
409
+ separatorColor: z.ZodOptional<z.ZodString>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ backgroundColor?: string;
412
+ separator?: boolean;
413
+ separatorColor?: string;
414
+ }, {
415
+ backgroundColor?: string;
416
+ separator?: boolean;
417
+ separatorColor?: string;
418
+ }>>;
419
+ hero: z.ZodOptional<z.ZodObject<{
420
+ backgroundColor: z.ZodOptional<z.ZodString>;
421
+ separator: z.ZodOptional<z.ZodBoolean>;
422
+ separatorColor: z.ZodOptional<z.ZodString>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ backgroundColor?: string;
425
+ separator?: boolean;
426
+ separatorColor?: string;
427
+ }, {
428
+ backgroundColor?: string;
429
+ separator?: boolean;
430
+ separatorColor?: string;
431
+ }>>;
432
+ body: z.ZodOptional<z.ZodObject<{
433
+ backgroundColor: z.ZodOptional<z.ZodString>;
434
+ separator: z.ZodOptional<z.ZodBoolean>;
435
+ separatorColor: z.ZodOptional<z.ZodString>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ backgroundColor?: string;
438
+ separator?: boolean;
439
+ separatorColor?: string;
440
+ }, {
441
+ backgroundColor?: string;
442
+ separator?: boolean;
443
+ separatorColor?: string;
444
+ }>>;
445
+ footer: z.ZodOptional<z.ZodObject<{
446
+ backgroundColor: z.ZodOptional<z.ZodString>;
447
+ separator: z.ZodOptional<z.ZodBoolean>;
448
+ separatorColor: z.ZodOptional<z.ZodString>;
449
+ }, "strip", z.ZodTypeAny, {
450
+ backgroundColor?: string;
451
+ separator?: boolean;
452
+ separatorColor?: string;
453
+ }, {
454
+ backgroundColor?: string;
455
+ separator?: boolean;
456
+ separatorColor?: string;
457
+ }>>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ body?: {
460
+ backgroundColor?: string;
461
+ separator?: boolean;
462
+ separatorColor?: string;
463
+ };
464
+ footer?: {
465
+ backgroundColor?: string;
466
+ separator?: boolean;
467
+ separatorColor?: string;
468
+ };
469
+ header?: {
470
+ backgroundColor?: string;
471
+ separator?: boolean;
472
+ separatorColor?: string;
473
+ };
474
+ hero?: {
475
+ backgroundColor?: string;
476
+ separator?: boolean;
477
+ separatorColor?: string;
478
+ };
479
+ }, {
480
+ body?: {
481
+ backgroundColor?: string;
482
+ separator?: boolean;
483
+ separatorColor?: string;
484
+ };
485
+ footer?: {
486
+ backgroundColor?: string;
487
+ separator?: boolean;
488
+ separatorColor?: string;
489
+ };
490
+ header?: {
491
+ backgroundColor?: string;
492
+ separator?: boolean;
493
+ separatorColor?: string;
494
+ };
495
+ hero?: {
496
+ backgroundColor?: string;
497
+ separator?: boolean;
498
+ separatorColor?: string;
499
+ };
500
+ }>>;
501
+ action: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
502
+ type: z.ZodLiteral<"postback">;
503
+ data: z.ZodString;
504
+ label: z.ZodString;
505
+ displayText: z.ZodOptional<z.ZodString>;
506
+ inputOption: z.ZodOptional<z.ZodEnum<["closeRichMenu", "openRichMenu", "openKeyboard", "openVoice"]>>;
507
+ fillInText: z.ZodOptional<z.ZodString>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ type?: "postback";
510
+ data?: string;
511
+ label?: string;
512
+ displayText?: string;
513
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
514
+ fillInText?: string;
515
+ }, {
516
+ type?: "postback";
517
+ data?: string;
518
+ label?: string;
519
+ displayText?: string;
520
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
521
+ fillInText?: string;
522
+ }>, z.ZodObject<{
523
+ type: z.ZodLiteral<"message">;
524
+ label: z.ZodString;
525
+ text: z.ZodString;
526
+ }, "strip", z.ZodTypeAny, {
527
+ type?: "message";
528
+ label?: string;
529
+ text?: string;
530
+ }, {
531
+ type?: "message";
532
+ label?: string;
533
+ text?: string;
534
+ }>, z.ZodObject<{
535
+ type: z.ZodLiteral<"uri">;
536
+ label: z.ZodString;
537
+ uri: z.ZodString;
538
+ altUri: z.ZodOptional<z.ZodObject<{
539
+ desktop: z.ZodString;
540
+ }, "strip", z.ZodTypeAny, {
541
+ desktop?: string;
542
+ }, {
543
+ desktop?: string;
544
+ }>>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ type?: "uri";
547
+ label?: string;
548
+ uri?: string;
549
+ altUri?: {
550
+ desktop?: string;
551
+ };
552
+ }, {
553
+ type?: "uri";
554
+ label?: string;
555
+ uri?: string;
556
+ altUri?: {
557
+ desktop?: string;
558
+ };
559
+ }>, z.ZodObject<{
560
+ type: z.ZodLiteral<"datetimepicker">;
561
+ label: z.ZodString;
562
+ data: z.ZodString;
563
+ mode: z.ZodEnum<["date", "time", "datetime"]>;
564
+ initial: z.ZodOptional<z.ZodString>;
565
+ max: z.ZodOptional<z.ZodString>;
566
+ min: z.ZodOptional<z.ZodString>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ max?: string;
569
+ type?: "datetimepicker";
570
+ data?: string;
571
+ min?: string;
572
+ label?: string;
573
+ mode?: "time" | "date" | "datetime";
574
+ initial?: string;
575
+ }, {
576
+ max?: string;
577
+ type?: "datetimepicker";
578
+ data?: string;
579
+ min?: string;
580
+ label?: string;
581
+ mode?: "time" | "date" | "datetime";
582
+ initial?: string;
583
+ }>, z.ZodObject<{
584
+ type: z.ZodLiteral<"camera">;
585
+ label: z.ZodString;
586
+ }, "strip", z.ZodTypeAny, {
587
+ type?: "camera";
588
+ label?: string;
589
+ }, {
590
+ type?: "camera";
591
+ label?: string;
592
+ }>, z.ZodObject<{
593
+ type: z.ZodLiteral<"cameraRoll">;
594
+ label: z.ZodString;
595
+ }, "strip", z.ZodTypeAny, {
596
+ type?: "cameraRoll";
597
+ label?: string;
598
+ }, {
599
+ type?: "cameraRoll";
600
+ label?: string;
601
+ }>, z.ZodObject<{
602
+ type: z.ZodLiteral<"location">;
603
+ label: z.ZodString;
604
+ }, "strip", z.ZodTypeAny, {
605
+ type?: "location";
606
+ label?: string;
607
+ }, {
608
+ type?: "location";
609
+ label?: string;
610
+ }>, z.ZodObject<{
611
+ type: z.ZodLiteral<"richmenuswitch">;
612
+ label: z.ZodString;
613
+ richMenuAliasId: z.ZodString;
614
+ data: z.ZodString;
615
+ }, "strip", z.ZodTypeAny, {
616
+ type?: "richmenuswitch";
617
+ data?: string;
618
+ label?: string;
619
+ richMenuAliasId?: string;
620
+ }, {
621
+ type?: "richmenuswitch";
622
+ data?: string;
623
+ label?: string;
624
+ richMenuAliasId?: string;
625
+ }>, z.ZodObject<{
626
+ type: z.ZodLiteral<"clipboard">;
627
+ label: z.ZodString;
628
+ clipboardText: z.ZodString;
629
+ }, "strip", z.ZodTypeAny, {
630
+ type?: "clipboard";
631
+ label?: string;
632
+ clipboardText?: string;
633
+ }, {
634
+ type?: "clipboard";
635
+ label?: string;
636
+ clipboardText?: string;
637
+ }>]>>;
638
+ }, "strip", z.ZodTypeAny, {
639
+ type?: "bubble";
640
+ direction?: "ltr" | "rtl";
641
+ body?: any;
642
+ footer?: any;
643
+ header?: any;
644
+ action?: {
645
+ type?: "postback";
646
+ data?: string;
647
+ label?: string;
648
+ displayText?: string;
649
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
650
+ fillInText?: string;
651
+ } | {
652
+ type?: "message";
653
+ label?: string;
654
+ text?: string;
655
+ } | {
656
+ type?: "uri";
657
+ label?: string;
658
+ uri?: string;
659
+ altUri?: {
660
+ desktop?: string;
661
+ };
662
+ } | {
663
+ max?: string;
664
+ type?: "datetimepicker";
665
+ data?: string;
666
+ min?: string;
667
+ label?: string;
668
+ mode?: "time" | "date" | "datetime";
669
+ initial?: string;
670
+ } | {
671
+ type?: "camera";
672
+ label?: string;
673
+ } | {
674
+ type?: "cameraRoll";
675
+ label?: string;
676
+ } | {
677
+ type?: "location";
678
+ label?: string;
679
+ } | {
680
+ type?: "richmenuswitch";
681
+ data?: string;
682
+ label?: string;
683
+ richMenuAliasId?: string;
684
+ } | {
685
+ type?: "clipboard";
686
+ label?: string;
687
+ clipboardText?: string;
688
+ };
689
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
690
+ hero?: any;
691
+ styles?: {
692
+ body?: {
693
+ backgroundColor?: string;
694
+ separator?: boolean;
695
+ separatorColor?: string;
696
+ };
697
+ footer?: {
698
+ backgroundColor?: string;
699
+ separator?: boolean;
700
+ separatorColor?: string;
701
+ };
702
+ header?: {
703
+ backgroundColor?: string;
704
+ separator?: boolean;
705
+ separatorColor?: string;
706
+ };
707
+ hero?: {
708
+ backgroundColor?: string;
709
+ separator?: boolean;
710
+ separatorColor?: string;
711
+ };
712
+ };
713
+ }, {
714
+ type?: "bubble";
715
+ direction?: "ltr" | "rtl";
716
+ body?: any;
717
+ footer?: any;
718
+ header?: any;
719
+ action?: {
720
+ type?: "postback";
721
+ data?: string;
722
+ label?: string;
723
+ displayText?: string;
724
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
725
+ fillInText?: string;
726
+ } | {
727
+ type?: "message";
728
+ label?: string;
729
+ text?: string;
730
+ } | {
731
+ type?: "uri";
732
+ label?: string;
733
+ uri?: string;
734
+ altUri?: {
735
+ desktop?: string;
736
+ };
737
+ } | {
738
+ max?: string;
739
+ type?: "datetimepicker";
740
+ data?: string;
741
+ min?: string;
742
+ label?: string;
743
+ mode?: "time" | "date" | "datetime";
744
+ initial?: string;
745
+ } | {
746
+ type?: "camera";
747
+ label?: string;
748
+ } | {
749
+ type?: "cameraRoll";
750
+ label?: string;
751
+ } | {
752
+ type?: "location";
753
+ label?: string;
754
+ } | {
755
+ type?: "richmenuswitch";
756
+ data?: string;
757
+ label?: string;
758
+ richMenuAliasId?: string;
759
+ } | {
760
+ type?: "clipboard";
761
+ label?: string;
762
+ clipboardText?: string;
763
+ };
764
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
765
+ hero?: any;
766
+ styles?: {
767
+ body?: {
768
+ backgroundColor?: string;
769
+ separator?: boolean;
770
+ separatorColor?: string;
771
+ };
772
+ footer?: {
773
+ backgroundColor?: string;
774
+ separator?: boolean;
775
+ separatorColor?: string;
776
+ };
777
+ header?: {
778
+ backgroundColor?: string;
779
+ separator?: boolean;
780
+ separatorColor?: string;
781
+ };
782
+ hero?: {
783
+ backgroundColor?: string;
784
+ separator?: boolean;
785
+ separatorColor?: string;
786
+ };
787
+ };
788
+ }>, z.ZodObject<{
789
+ type: z.ZodLiteral<"carousel">;
790
+ contents: z.ZodArray<z.ZodObject<{
791
+ type: z.ZodLiteral<"bubble">;
792
+ size: z.ZodOptional<z.ZodEnum<["nano", "micro", "deca", "hecto", "kilo", "mega", "giga"]>>;
793
+ direction: z.ZodOptional<z.ZodEnum<["ltr", "rtl"]>>;
794
+ header: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
795
+ hero: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
796
+ body: z.ZodEffects<z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>, any, any>;
797
+ footer: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
798
+ styles: z.ZodOptional<z.ZodObject<{
799
+ header: z.ZodOptional<z.ZodObject<{
800
+ backgroundColor: z.ZodOptional<z.ZodString>;
801
+ separator: z.ZodOptional<z.ZodBoolean>;
802
+ separatorColor: z.ZodOptional<z.ZodString>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ backgroundColor?: string;
805
+ separator?: boolean;
806
+ separatorColor?: string;
807
+ }, {
808
+ backgroundColor?: string;
809
+ separator?: boolean;
810
+ separatorColor?: string;
811
+ }>>;
812
+ hero: z.ZodOptional<z.ZodObject<{
813
+ backgroundColor: z.ZodOptional<z.ZodString>;
814
+ separator: z.ZodOptional<z.ZodBoolean>;
815
+ separatorColor: z.ZodOptional<z.ZodString>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ backgroundColor?: string;
818
+ separator?: boolean;
819
+ separatorColor?: string;
820
+ }, {
821
+ backgroundColor?: string;
822
+ separator?: boolean;
823
+ separatorColor?: string;
824
+ }>>;
825
+ body: z.ZodOptional<z.ZodObject<{
826
+ backgroundColor: z.ZodOptional<z.ZodString>;
827
+ separator: z.ZodOptional<z.ZodBoolean>;
828
+ separatorColor: z.ZodOptional<z.ZodString>;
829
+ }, "strip", z.ZodTypeAny, {
830
+ backgroundColor?: string;
831
+ separator?: boolean;
832
+ separatorColor?: string;
833
+ }, {
834
+ backgroundColor?: string;
835
+ separator?: boolean;
836
+ separatorColor?: string;
837
+ }>>;
838
+ footer: z.ZodOptional<z.ZodObject<{
839
+ backgroundColor: z.ZodOptional<z.ZodString>;
840
+ separator: z.ZodOptional<z.ZodBoolean>;
841
+ separatorColor: z.ZodOptional<z.ZodString>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ backgroundColor?: string;
844
+ separator?: boolean;
845
+ separatorColor?: string;
846
+ }, {
847
+ backgroundColor?: string;
848
+ separator?: boolean;
849
+ separatorColor?: string;
850
+ }>>;
851
+ }, "strip", z.ZodTypeAny, {
852
+ body?: {
853
+ backgroundColor?: string;
854
+ separator?: boolean;
855
+ separatorColor?: string;
856
+ };
857
+ footer?: {
858
+ backgroundColor?: string;
859
+ separator?: boolean;
860
+ separatorColor?: string;
861
+ };
862
+ header?: {
863
+ backgroundColor?: string;
864
+ separator?: boolean;
865
+ separatorColor?: string;
866
+ };
867
+ hero?: {
868
+ backgroundColor?: string;
869
+ separator?: boolean;
870
+ separatorColor?: string;
871
+ };
872
+ }, {
873
+ body?: {
874
+ backgroundColor?: string;
875
+ separator?: boolean;
876
+ separatorColor?: string;
877
+ };
878
+ footer?: {
879
+ backgroundColor?: string;
880
+ separator?: boolean;
881
+ separatorColor?: string;
882
+ };
883
+ header?: {
884
+ backgroundColor?: string;
885
+ separator?: boolean;
886
+ separatorColor?: string;
887
+ };
888
+ hero?: {
889
+ backgroundColor?: string;
890
+ separator?: boolean;
891
+ separatorColor?: string;
892
+ };
893
+ }>>;
894
+ action: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
895
+ type: z.ZodLiteral<"postback">;
896
+ data: z.ZodString;
897
+ label: z.ZodString;
898
+ displayText: z.ZodOptional<z.ZodString>;
899
+ inputOption: z.ZodOptional<z.ZodEnum<["closeRichMenu", "openRichMenu", "openKeyboard", "openVoice"]>>;
900
+ fillInText: z.ZodOptional<z.ZodString>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ type?: "postback";
903
+ data?: string;
904
+ label?: string;
905
+ displayText?: string;
906
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
907
+ fillInText?: string;
908
+ }, {
909
+ type?: "postback";
910
+ data?: string;
911
+ label?: string;
912
+ displayText?: string;
913
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
914
+ fillInText?: string;
915
+ }>, z.ZodObject<{
916
+ type: z.ZodLiteral<"message">;
917
+ label: z.ZodString;
918
+ text: z.ZodString;
919
+ }, "strip", z.ZodTypeAny, {
920
+ type?: "message";
921
+ label?: string;
922
+ text?: string;
923
+ }, {
924
+ type?: "message";
925
+ label?: string;
926
+ text?: string;
927
+ }>, z.ZodObject<{
928
+ type: z.ZodLiteral<"uri">;
929
+ label: z.ZodString;
930
+ uri: z.ZodString;
931
+ altUri: z.ZodOptional<z.ZodObject<{
932
+ desktop: z.ZodString;
933
+ }, "strip", z.ZodTypeAny, {
934
+ desktop?: string;
935
+ }, {
936
+ desktop?: string;
937
+ }>>;
938
+ }, "strip", z.ZodTypeAny, {
939
+ type?: "uri";
940
+ label?: string;
941
+ uri?: string;
942
+ altUri?: {
943
+ desktop?: string;
944
+ };
945
+ }, {
946
+ type?: "uri";
947
+ label?: string;
948
+ uri?: string;
949
+ altUri?: {
950
+ desktop?: string;
951
+ };
952
+ }>, z.ZodObject<{
953
+ type: z.ZodLiteral<"datetimepicker">;
954
+ label: z.ZodString;
955
+ data: z.ZodString;
956
+ mode: z.ZodEnum<["date", "time", "datetime"]>;
957
+ initial: z.ZodOptional<z.ZodString>;
958
+ max: z.ZodOptional<z.ZodString>;
959
+ min: z.ZodOptional<z.ZodString>;
960
+ }, "strip", z.ZodTypeAny, {
961
+ max?: string;
962
+ type?: "datetimepicker";
963
+ data?: string;
964
+ min?: string;
965
+ label?: string;
966
+ mode?: "time" | "date" | "datetime";
967
+ initial?: string;
968
+ }, {
969
+ max?: string;
970
+ type?: "datetimepicker";
971
+ data?: string;
972
+ min?: string;
973
+ label?: string;
974
+ mode?: "time" | "date" | "datetime";
975
+ initial?: string;
976
+ }>, z.ZodObject<{
977
+ type: z.ZodLiteral<"camera">;
978
+ label: z.ZodString;
979
+ }, "strip", z.ZodTypeAny, {
980
+ type?: "camera";
981
+ label?: string;
982
+ }, {
983
+ type?: "camera";
984
+ label?: string;
985
+ }>, z.ZodObject<{
986
+ type: z.ZodLiteral<"cameraRoll">;
987
+ label: z.ZodString;
988
+ }, "strip", z.ZodTypeAny, {
989
+ type?: "cameraRoll";
990
+ label?: string;
991
+ }, {
992
+ type?: "cameraRoll";
993
+ label?: string;
994
+ }>, z.ZodObject<{
995
+ type: z.ZodLiteral<"location">;
996
+ label: z.ZodString;
997
+ }, "strip", z.ZodTypeAny, {
998
+ type?: "location";
999
+ label?: string;
1000
+ }, {
1001
+ type?: "location";
1002
+ label?: string;
1003
+ }>, z.ZodObject<{
1004
+ type: z.ZodLiteral<"richmenuswitch">;
1005
+ label: z.ZodString;
1006
+ richMenuAliasId: z.ZodString;
1007
+ data: z.ZodString;
1008
+ }, "strip", z.ZodTypeAny, {
1009
+ type?: "richmenuswitch";
1010
+ data?: string;
1011
+ label?: string;
1012
+ richMenuAliasId?: string;
1013
+ }, {
1014
+ type?: "richmenuswitch";
1015
+ data?: string;
1016
+ label?: string;
1017
+ richMenuAliasId?: string;
1018
+ }>, z.ZodObject<{
1019
+ type: z.ZodLiteral<"clipboard">;
1020
+ label: z.ZodString;
1021
+ clipboardText: z.ZodString;
1022
+ }, "strip", z.ZodTypeAny, {
1023
+ type?: "clipboard";
1024
+ label?: string;
1025
+ clipboardText?: string;
1026
+ }, {
1027
+ type?: "clipboard";
1028
+ label?: string;
1029
+ clipboardText?: string;
1030
+ }>]>>;
1031
+ }, "strip", z.ZodTypeAny, {
1032
+ type?: "bubble";
1033
+ direction?: "ltr" | "rtl";
1034
+ body?: any;
1035
+ footer?: any;
1036
+ header?: any;
1037
+ action?: {
1038
+ type?: "postback";
1039
+ data?: string;
1040
+ label?: string;
1041
+ displayText?: string;
1042
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
1043
+ fillInText?: string;
1044
+ } | {
1045
+ type?: "message";
1046
+ label?: string;
1047
+ text?: string;
1048
+ } | {
1049
+ type?: "uri";
1050
+ label?: string;
1051
+ uri?: string;
1052
+ altUri?: {
1053
+ desktop?: string;
1054
+ };
1055
+ } | {
1056
+ max?: string;
1057
+ type?: "datetimepicker";
1058
+ data?: string;
1059
+ min?: string;
1060
+ label?: string;
1061
+ mode?: "time" | "date" | "datetime";
1062
+ initial?: string;
1063
+ } | {
1064
+ type?: "camera";
1065
+ label?: string;
1066
+ } | {
1067
+ type?: "cameraRoll";
1068
+ label?: string;
1069
+ } | {
1070
+ type?: "location";
1071
+ label?: string;
1072
+ } | {
1073
+ type?: "richmenuswitch";
1074
+ data?: string;
1075
+ label?: string;
1076
+ richMenuAliasId?: string;
1077
+ } | {
1078
+ type?: "clipboard";
1079
+ label?: string;
1080
+ clipboardText?: string;
1081
+ };
1082
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
1083
+ hero?: any;
1084
+ styles?: {
1085
+ body?: {
1086
+ backgroundColor?: string;
1087
+ separator?: boolean;
1088
+ separatorColor?: string;
1089
+ };
1090
+ footer?: {
1091
+ backgroundColor?: string;
1092
+ separator?: boolean;
1093
+ separatorColor?: string;
1094
+ };
1095
+ header?: {
1096
+ backgroundColor?: string;
1097
+ separator?: boolean;
1098
+ separatorColor?: string;
1099
+ };
1100
+ hero?: {
1101
+ backgroundColor?: string;
1102
+ separator?: boolean;
1103
+ separatorColor?: string;
1104
+ };
1105
+ };
1106
+ }, {
1107
+ type?: "bubble";
1108
+ direction?: "ltr" | "rtl";
1109
+ body?: any;
1110
+ footer?: any;
1111
+ header?: any;
1112
+ action?: {
1113
+ type?: "postback";
1114
+ data?: string;
1115
+ label?: string;
1116
+ displayText?: string;
1117
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
1118
+ fillInText?: string;
1119
+ } | {
1120
+ type?: "message";
1121
+ label?: string;
1122
+ text?: string;
1123
+ } | {
1124
+ type?: "uri";
1125
+ label?: string;
1126
+ uri?: string;
1127
+ altUri?: {
1128
+ desktop?: string;
1129
+ };
1130
+ } | {
1131
+ max?: string;
1132
+ type?: "datetimepicker";
1133
+ data?: string;
1134
+ min?: string;
1135
+ label?: string;
1136
+ mode?: "time" | "date" | "datetime";
1137
+ initial?: string;
1138
+ } | {
1139
+ type?: "camera";
1140
+ label?: string;
1141
+ } | {
1142
+ type?: "cameraRoll";
1143
+ label?: string;
1144
+ } | {
1145
+ type?: "location";
1146
+ label?: string;
1147
+ } | {
1148
+ type?: "richmenuswitch";
1149
+ data?: string;
1150
+ label?: string;
1151
+ richMenuAliasId?: string;
1152
+ } | {
1153
+ type?: "clipboard";
1154
+ label?: string;
1155
+ clipboardText?: string;
1156
+ };
1157
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
1158
+ hero?: any;
1159
+ styles?: {
1160
+ body?: {
1161
+ backgroundColor?: string;
1162
+ separator?: boolean;
1163
+ separatorColor?: string;
1164
+ };
1165
+ footer?: {
1166
+ backgroundColor?: string;
1167
+ separator?: boolean;
1168
+ separatorColor?: string;
1169
+ };
1170
+ header?: {
1171
+ backgroundColor?: string;
1172
+ separator?: boolean;
1173
+ separatorColor?: string;
1174
+ };
1175
+ hero?: {
1176
+ backgroundColor?: string;
1177
+ separator?: boolean;
1178
+ separatorColor?: string;
1179
+ };
1180
+ };
1181
+ }>, "many">;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ type?: "carousel";
1184
+ contents?: {
1185
+ type?: "bubble";
1186
+ direction?: "ltr" | "rtl";
1187
+ body?: any;
1188
+ footer?: any;
1189
+ header?: any;
1190
+ action?: {
1191
+ type?: "postback";
1192
+ data?: string;
1193
+ label?: string;
1194
+ displayText?: string;
1195
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
1196
+ fillInText?: string;
1197
+ } | {
1198
+ type?: "message";
1199
+ label?: string;
1200
+ text?: string;
1201
+ } | {
1202
+ type?: "uri";
1203
+ label?: string;
1204
+ uri?: string;
1205
+ altUri?: {
1206
+ desktop?: string;
1207
+ };
1208
+ } | {
1209
+ max?: string;
1210
+ type?: "datetimepicker";
1211
+ data?: string;
1212
+ min?: string;
1213
+ label?: string;
1214
+ mode?: "time" | "date" | "datetime";
1215
+ initial?: string;
1216
+ } | {
1217
+ type?: "camera";
1218
+ label?: string;
1219
+ } | {
1220
+ type?: "cameraRoll";
1221
+ label?: string;
1222
+ } | {
1223
+ type?: "location";
1224
+ label?: string;
1225
+ } | {
1226
+ type?: "richmenuswitch";
1227
+ data?: string;
1228
+ label?: string;
1229
+ richMenuAliasId?: string;
1230
+ } | {
1231
+ type?: "clipboard";
1232
+ label?: string;
1233
+ clipboardText?: string;
1234
+ };
1235
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
1236
+ hero?: any;
1237
+ styles?: {
1238
+ body?: {
1239
+ backgroundColor?: string;
1240
+ separator?: boolean;
1241
+ separatorColor?: string;
1242
+ };
1243
+ footer?: {
1244
+ backgroundColor?: string;
1245
+ separator?: boolean;
1246
+ separatorColor?: string;
1247
+ };
1248
+ header?: {
1249
+ backgroundColor?: string;
1250
+ separator?: boolean;
1251
+ separatorColor?: string;
1252
+ };
1253
+ hero?: {
1254
+ backgroundColor?: string;
1255
+ separator?: boolean;
1256
+ separatorColor?: string;
1257
+ };
1258
+ };
1259
+ }[];
1260
+ }, {
1261
+ type?: "carousel";
1262
+ contents?: {
1263
+ type?: "bubble";
1264
+ direction?: "ltr" | "rtl";
1265
+ body?: any;
1266
+ footer?: any;
1267
+ header?: any;
1268
+ action?: {
1269
+ type?: "postback";
1270
+ data?: string;
1271
+ label?: string;
1272
+ displayText?: string;
1273
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
1274
+ fillInText?: string;
1275
+ } | {
1276
+ type?: "message";
1277
+ label?: string;
1278
+ text?: string;
1279
+ } | {
1280
+ type?: "uri";
1281
+ label?: string;
1282
+ uri?: string;
1283
+ altUri?: {
1284
+ desktop?: string;
1285
+ };
1286
+ } | {
1287
+ max?: string;
1288
+ type?: "datetimepicker";
1289
+ data?: string;
1290
+ min?: string;
1291
+ label?: string;
1292
+ mode?: "time" | "date" | "datetime";
1293
+ initial?: string;
1294
+ } | {
1295
+ type?: "camera";
1296
+ label?: string;
1297
+ } | {
1298
+ type?: "cameraRoll";
1299
+ label?: string;
1300
+ } | {
1301
+ type?: "location";
1302
+ label?: string;
1303
+ } | {
1304
+ type?: "richmenuswitch";
1305
+ data?: string;
1306
+ label?: string;
1307
+ richMenuAliasId?: string;
1308
+ } | {
1309
+ type?: "clipboard";
1310
+ label?: string;
1311
+ clipboardText?: string;
1312
+ };
1313
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
1314
+ hero?: any;
1315
+ styles?: {
1316
+ body?: {
1317
+ backgroundColor?: string;
1318
+ separator?: boolean;
1319
+ separatorColor?: string;
1320
+ };
1321
+ footer?: {
1322
+ backgroundColor?: string;
1323
+ separator?: boolean;
1324
+ separatorColor?: string;
1325
+ };
1326
+ header?: {
1327
+ backgroundColor?: string;
1328
+ separator?: boolean;
1329
+ separatorColor?: string;
1330
+ };
1331
+ hero?: {
1332
+ backgroundColor?: string;
1333
+ separator?: boolean;
1334
+ separatorColor?: string;
1335
+ };
1336
+ };
1337
+ }[];
1338
+ }>]>;
1339
+ }, "strip", z.ZodTypeAny, {
1340
+ type?: "flex";
1341
+ contents?: {
1342
+ type?: "bubble";
1343
+ direction?: "ltr" | "rtl";
1344
+ body?: any;
1345
+ footer?: any;
1346
+ header?: any;
1347
+ action?: {
1348
+ type?: "postback";
1349
+ data?: string;
1350
+ label?: string;
1351
+ displayText?: string;
1352
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
1353
+ fillInText?: string;
1354
+ } | {
1355
+ type?: "message";
1356
+ label?: string;
1357
+ text?: string;
1358
+ } | {
1359
+ type?: "uri";
1360
+ label?: string;
1361
+ uri?: string;
1362
+ altUri?: {
1363
+ desktop?: string;
1364
+ };
1365
+ } | {
1366
+ max?: string;
1367
+ type?: "datetimepicker";
1368
+ data?: string;
1369
+ min?: string;
1370
+ label?: string;
1371
+ mode?: "time" | "date" | "datetime";
1372
+ initial?: string;
1373
+ } | {
1374
+ type?: "camera";
1375
+ label?: string;
1376
+ } | {
1377
+ type?: "cameraRoll";
1378
+ label?: string;
1379
+ } | {
1380
+ type?: "location";
1381
+ label?: string;
1382
+ } | {
1383
+ type?: "richmenuswitch";
1384
+ data?: string;
1385
+ label?: string;
1386
+ richMenuAliasId?: string;
1387
+ } | {
1388
+ type?: "clipboard";
1389
+ label?: string;
1390
+ clipboardText?: string;
1391
+ };
1392
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
1393
+ hero?: any;
1394
+ styles?: {
1395
+ body?: {
1396
+ backgroundColor?: string;
1397
+ separator?: boolean;
1398
+ separatorColor?: string;
1399
+ };
1400
+ footer?: {
1401
+ backgroundColor?: string;
1402
+ separator?: boolean;
1403
+ separatorColor?: string;
1404
+ };
1405
+ header?: {
1406
+ backgroundColor?: string;
1407
+ separator?: boolean;
1408
+ separatorColor?: string;
1409
+ };
1410
+ hero?: {
1411
+ backgroundColor?: string;
1412
+ separator?: boolean;
1413
+ separatorColor?: string;
1414
+ };
1415
+ };
1416
+ } | {
1417
+ type?: "carousel";
1418
+ contents?: {
1419
+ type?: "bubble";
1420
+ direction?: "ltr" | "rtl";
1421
+ body?: any;
1422
+ footer?: any;
1423
+ header?: any;
1424
+ action?: {
1425
+ type?: "postback";
1426
+ data?: string;
1427
+ label?: string;
1428
+ displayText?: string;
1429
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
1430
+ fillInText?: string;
1431
+ } | {
1432
+ type?: "message";
1433
+ label?: string;
1434
+ text?: string;
1435
+ } | {
1436
+ type?: "uri";
1437
+ label?: string;
1438
+ uri?: string;
1439
+ altUri?: {
1440
+ desktop?: string;
1441
+ };
1442
+ } | {
1443
+ max?: string;
1444
+ type?: "datetimepicker";
1445
+ data?: string;
1446
+ min?: string;
1447
+ label?: string;
1448
+ mode?: "time" | "date" | "datetime";
1449
+ initial?: string;
1450
+ } | {
1451
+ type?: "camera";
1452
+ label?: string;
1453
+ } | {
1454
+ type?: "cameraRoll";
1455
+ label?: string;
1456
+ } | {
1457
+ type?: "location";
1458
+ label?: string;
1459
+ } | {
1460
+ type?: "richmenuswitch";
1461
+ data?: string;
1462
+ label?: string;
1463
+ richMenuAliasId?: string;
1464
+ } | {
1465
+ type?: "clipboard";
1466
+ label?: string;
1467
+ clipboardText?: string;
1468
+ };
1469
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
1470
+ hero?: any;
1471
+ styles?: {
1472
+ body?: {
1473
+ backgroundColor?: string;
1474
+ separator?: boolean;
1475
+ separatorColor?: string;
1476
+ };
1477
+ footer?: {
1478
+ backgroundColor?: string;
1479
+ separator?: boolean;
1480
+ separatorColor?: string;
1481
+ };
1482
+ header?: {
1483
+ backgroundColor?: string;
1484
+ separator?: boolean;
1485
+ separatorColor?: string;
1486
+ };
1487
+ hero?: {
1488
+ backgroundColor?: string;
1489
+ separator?: boolean;
1490
+ separatorColor?: string;
1491
+ };
1492
+ };
1493
+ }[];
1494
+ };
1495
+ altText?: string;
1496
+ }, {
1497
+ type?: "flex";
1498
+ contents?: {
1499
+ type?: "bubble";
1500
+ direction?: "ltr" | "rtl";
1501
+ body?: any;
1502
+ footer?: any;
1503
+ header?: any;
1504
+ action?: {
1505
+ type?: "postback";
1506
+ data?: string;
1507
+ label?: string;
1508
+ displayText?: string;
1509
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
1510
+ fillInText?: string;
1511
+ } | {
1512
+ type?: "message";
1513
+ label?: string;
1514
+ text?: string;
1515
+ } | {
1516
+ type?: "uri";
1517
+ label?: string;
1518
+ uri?: string;
1519
+ altUri?: {
1520
+ desktop?: string;
1521
+ };
1522
+ } | {
1523
+ max?: string;
1524
+ type?: "datetimepicker";
1525
+ data?: string;
1526
+ min?: string;
1527
+ label?: string;
1528
+ mode?: "time" | "date" | "datetime";
1529
+ initial?: string;
1530
+ } | {
1531
+ type?: "camera";
1532
+ label?: string;
1533
+ } | {
1534
+ type?: "cameraRoll";
1535
+ label?: string;
1536
+ } | {
1537
+ type?: "location";
1538
+ label?: string;
1539
+ } | {
1540
+ type?: "richmenuswitch";
1541
+ data?: string;
1542
+ label?: string;
1543
+ richMenuAliasId?: string;
1544
+ } | {
1545
+ type?: "clipboard";
1546
+ label?: string;
1547
+ clipboardText?: string;
1548
+ };
1549
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
1550
+ hero?: any;
1551
+ styles?: {
1552
+ body?: {
1553
+ backgroundColor?: string;
1554
+ separator?: boolean;
1555
+ separatorColor?: string;
1556
+ };
1557
+ footer?: {
1558
+ backgroundColor?: string;
1559
+ separator?: boolean;
1560
+ separatorColor?: string;
1561
+ };
1562
+ header?: {
1563
+ backgroundColor?: string;
1564
+ separator?: boolean;
1565
+ separatorColor?: string;
1566
+ };
1567
+ hero?: {
1568
+ backgroundColor?: string;
1569
+ separator?: boolean;
1570
+ separatorColor?: string;
1571
+ };
1572
+ };
1573
+ } | {
1574
+ type?: "carousel";
1575
+ contents?: {
1576
+ type?: "bubble";
1577
+ direction?: "ltr" | "rtl";
1578
+ body?: any;
1579
+ footer?: any;
1580
+ header?: any;
1581
+ action?: {
1582
+ type?: "postback";
1583
+ data?: string;
1584
+ label?: string;
1585
+ displayText?: string;
1586
+ inputOption?: "closeRichMenu" | "openRichMenu" | "openKeyboard" | "openVoice";
1587
+ fillInText?: string;
1588
+ } | {
1589
+ type?: "message";
1590
+ label?: string;
1591
+ text?: string;
1592
+ } | {
1593
+ type?: "uri";
1594
+ label?: string;
1595
+ uri?: string;
1596
+ altUri?: {
1597
+ desktop?: string;
1598
+ };
1599
+ } | {
1600
+ max?: string;
1601
+ type?: "datetimepicker";
1602
+ data?: string;
1603
+ min?: string;
1604
+ label?: string;
1605
+ mode?: "time" | "date" | "datetime";
1606
+ initial?: string;
1607
+ } | {
1608
+ type?: "camera";
1609
+ label?: string;
1610
+ } | {
1611
+ type?: "cameraRoll";
1612
+ label?: string;
1613
+ } | {
1614
+ type?: "location";
1615
+ label?: string;
1616
+ } | {
1617
+ type?: "richmenuswitch";
1618
+ data?: string;
1619
+ label?: string;
1620
+ richMenuAliasId?: string;
1621
+ } | {
1622
+ type?: "clipboard";
1623
+ label?: string;
1624
+ clipboardText?: string;
1625
+ };
1626
+ size?: "nano" | "micro" | "kilo" | "mega" | "giga" | "deca" | "hecto";
1627
+ hero?: any;
1628
+ styles?: {
1629
+ body?: {
1630
+ backgroundColor?: string;
1631
+ separator?: boolean;
1632
+ separatorColor?: string;
1633
+ };
1634
+ footer?: {
1635
+ backgroundColor?: string;
1636
+ separator?: boolean;
1637
+ separatorColor?: string;
1638
+ };
1639
+ header?: {
1640
+ backgroundColor?: string;
1641
+ separator?: boolean;
1642
+ separatorColor?: string;
1643
+ };
1644
+ hero?: {
1645
+ backgroundColor?: string;
1646
+ separator?: boolean;
1647
+ separatorColor?: string;
1648
+ };
1649
+ };
1650
+ }[];
1651
+ };
1652
+ altText?: string;
1653
+ }>;
1654
+ //# sourceMappingURL=flexMessage.d.ts.map