@aws-sdk/client-socialmessaging 3.1059.0 → 3.1061.0

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 (67) hide show
  1. package/README.md +77 -7
  2. package/dist-cjs/index.js +160 -0
  3. package/dist-cjs/schemas/schemas_0.js +262 -14
  4. package/dist-es/SocialMessaging.js +24 -0
  5. package/dist-es/commands/CreateWhatsAppFlowCommand.js +16 -0
  6. package/dist-es/commands/DeleteWhatsAppFlowCommand.js +16 -0
  7. package/dist-es/commands/DeprecateWhatsAppFlowCommand.js +16 -0
  8. package/dist-es/commands/GetWhatsAppFlowCommand.js +16 -0
  9. package/dist-es/commands/GetWhatsAppFlowPreviewCommand.js +16 -0
  10. package/dist-es/commands/ListWhatsAppFlowAssetsCommand.js +16 -0
  11. package/dist-es/commands/ListWhatsAppFlowsCommand.js +16 -0
  12. package/dist-es/commands/PublishWhatsAppFlowCommand.js +16 -0
  13. package/dist-es/commands/UpdateWhatsAppFlowAssetsCommand.js +16 -0
  14. package/dist-es/commands/UpdateWhatsAppFlowCommand.js +16 -0
  15. package/dist-es/commands/index.js +10 -0
  16. package/dist-es/models/enums.js +11 -0
  17. package/dist-es/pagination/ListWhatsAppFlowAssetsPaginator.js +4 -0
  18. package/dist-es/pagination/ListWhatsAppFlowsPaginator.js +4 -0
  19. package/dist-es/pagination/index.js +2 -0
  20. package/dist-es/schemas/schemas_0.js +259 -12
  21. package/dist-types/SocialMessaging.d.ts +84 -0
  22. package/dist-types/SocialMessagingClient.d.ts +12 -2
  23. package/dist-types/commands/CreateWhatsAppFlowCommand.d.ts +113 -0
  24. package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +3 -0
  25. package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +3 -0
  26. package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +3 -0
  27. package/dist-types/commands/DeleteWhatsAppFlowCommand.d.ts +100 -0
  28. package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +3 -0
  29. package/dist-types/commands/DeprecateWhatsAppFlowCommand.d.ts +100 -0
  30. package/dist-types/commands/GetWhatsAppFlowCommand.d.ts +139 -0
  31. package/dist-types/commands/GetWhatsAppFlowPreviewCommand.d.ts +107 -0
  32. package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +3 -0
  33. package/dist-types/commands/ListWhatsAppFlowAssetsCommand.d.ts +111 -0
  34. package/dist-types/commands/ListWhatsAppFlowsCommand.d.ts +116 -0
  35. package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +3 -0
  36. package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +3 -0
  37. package/dist-types/commands/PublishWhatsAppFlowCommand.d.ts +100 -0
  38. package/dist-types/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +105 -0
  39. package/dist-types/commands/UpdateWhatsAppFlowCommand.d.ts +104 -0
  40. package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +3 -0
  41. package/dist-types/commands/index.d.ts +10 -0
  42. package/dist-types/models/enums.d.ts +19 -0
  43. package/dist-types/models/models_0.d.ts +518 -1
  44. package/dist-types/pagination/ListWhatsAppFlowAssetsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListWhatsAppFlowsPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/schemas/schemas_0.d.ts +37 -0
  48. package/dist-types/ts3.4/SocialMessaging.d.ts +184 -0
  49. package/dist-types/ts3.4/SocialMessagingClient.d.ts +60 -0
  50. package/dist-types/ts3.4/commands/CreateWhatsAppFlowCommand.d.ts +53 -0
  51. package/dist-types/ts3.4/commands/DeleteWhatsAppFlowCommand.d.ts +53 -0
  52. package/dist-types/ts3.4/commands/DeprecateWhatsAppFlowCommand.d.ts +53 -0
  53. package/dist-types/ts3.4/commands/GetWhatsAppFlowCommand.d.ts +52 -0
  54. package/dist-types/ts3.4/commands/GetWhatsAppFlowPreviewCommand.d.ts +53 -0
  55. package/dist-types/ts3.4/commands/ListWhatsAppFlowAssetsCommand.d.ts +53 -0
  56. package/dist-types/ts3.4/commands/ListWhatsAppFlowsCommand.d.ts +52 -0
  57. package/dist-types/ts3.4/commands/PublishWhatsAppFlowCommand.d.ts +53 -0
  58. package/dist-types/ts3.4/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +53 -0
  59. package/dist-types/ts3.4/commands/UpdateWhatsAppFlowCommand.d.ts +53 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  61. package/dist-types/ts3.4/models/enums.d.ts +13 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +126 -1
  63. package/dist-types/ts3.4/pagination/ListWhatsAppFlowAssetsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/ListWhatsAppFlowsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
  67. package/package.json +3 -3
@@ -7,6 +7,10 @@ import {
7
7
  AssociateWhatsAppBusinessAccountCommandInput,
8
8
  AssociateWhatsAppBusinessAccountCommandOutput,
9
9
  } from "./commands/AssociateWhatsAppBusinessAccountCommand";
10
+ import {
11
+ CreateWhatsAppFlowCommandInput,
12
+ CreateWhatsAppFlowCommandOutput,
13
+ } from "./commands/CreateWhatsAppFlowCommand";
10
14
  import {
11
15
  CreateWhatsAppMessageTemplateCommandInput,
12
16
  CreateWhatsAppMessageTemplateCommandOutput,
@@ -19,6 +23,10 @@ import {
19
23
  CreateWhatsAppMessageTemplateMediaCommandInput,
20
24
  CreateWhatsAppMessageTemplateMediaCommandOutput,
21
25
  } from "./commands/CreateWhatsAppMessageTemplateMediaCommand";
26
+ import {
27
+ DeleteWhatsAppFlowCommandInput,
28
+ DeleteWhatsAppFlowCommandOutput,
29
+ } from "./commands/DeleteWhatsAppFlowCommand";
22
30
  import {
23
31
  DeleteWhatsAppMessageMediaCommandInput,
24
32
  DeleteWhatsAppMessageMediaCommandOutput,
@@ -27,6 +35,10 @@ import {
27
35
  DeleteWhatsAppMessageTemplateCommandInput,
28
36
  DeleteWhatsAppMessageTemplateCommandOutput,
29
37
  } from "./commands/DeleteWhatsAppMessageTemplateCommand";
38
+ import {
39
+ DeprecateWhatsAppFlowCommandInput,
40
+ DeprecateWhatsAppFlowCommandOutput,
41
+ } from "./commands/DeprecateWhatsAppFlowCommand";
30
42
  import {
31
43
  DisassociateWhatsAppBusinessAccountCommandInput,
32
44
  DisassociateWhatsAppBusinessAccountCommandOutput,
@@ -39,6 +51,14 @@ import {
39
51
  GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
40
52
  GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
41
53
  } from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
54
+ import {
55
+ GetWhatsAppFlowCommandInput,
56
+ GetWhatsAppFlowCommandOutput,
57
+ } from "./commands/GetWhatsAppFlowCommand";
58
+ import {
59
+ GetWhatsAppFlowPreviewCommandInput,
60
+ GetWhatsAppFlowPreviewCommandOutput,
61
+ } from "./commands/GetWhatsAppFlowPreviewCommand";
42
62
  import {
43
63
  GetWhatsAppMessageMediaCommandInput,
44
64
  GetWhatsAppMessageMediaCommandOutput,
@@ -55,6 +75,14 @@ import {
55
75
  ListTagsForResourceCommandInput,
56
76
  ListTagsForResourceCommandOutput,
57
77
  } from "./commands/ListTagsForResourceCommand";
78
+ import {
79
+ ListWhatsAppFlowAssetsCommandInput,
80
+ ListWhatsAppFlowAssetsCommandOutput,
81
+ } from "./commands/ListWhatsAppFlowAssetsCommand";
82
+ import {
83
+ ListWhatsAppFlowsCommandInput,
84
+ ListWhatsAppFlowsCommandOutput,
85
+ } from "./commands/ListWhatsAppFlowsCommand";
58
86
  import {
59
87
  ListWhatsAppMessageTemplatesCommandInput,
60
88
  ListWhatsAppMessageTemplatesCommandOutput,
@@ -67,6 +95,10 @@ import {
67
95
  PostWhatsAppMessageMediaCommandInput,
68
96
  PostWhatsAppMessageMediaCommandOutput,
69
97
  } from "./commands/PostWhatsAppMessageMediaCommand";
98
+ import {
99
+ PublishWhatsAppFlowCommandInput,
100
+ PublishWhatsAppFlowCommandOutput,
101
+ } from "./commands/PublishWhatsAppFlowCommand";
70
102
  import {
71
103
  PutWhatsAppBusinessAccountEventDestinationsCommandInput,
72
104
  PutWhatsAppBusinessAccountEventDestinationsCommandOutput,
@@ -83,6 +115,14 @@ import {
83
115
  UntagResourceCommandInput,
84
116
  UntagResourceCommandOutput,
85
117
  } from "./commands/UntagResourceCommand";
118
+ import {
119
+ UpdateWhatsAppFlowAssetsCommandInput,
120
+ UpdateWhatsAppFlowAssetsCommandOutput,
121
+ } from "./commands/UpdateWhatsAppFlowAssetsCommand";
122
+ import {
123
+ UpdateWhatsAppFlowCommandInput,
124
+ UpdateWhatsAppFlowCommandOutput,
125
+ } from "./commands/UpdateWhatsAppFlowCommand";
86
126
  import {
87
127
  UpdateWhatsAppMessageTemplateCommandInput,
88
128
  UpdateWhatsAppMessageTemplateCommandOutput,
@@ -103,6 +143,19 @@ export interface SocialMessaging {
103
143
  options: __HttpHandlerOptions,
104
144
  cb: (err: any, data?: AssociateWhatsAppBusinessAccountCommandOutput) => void
105
145
  ): void;
146
+ createWhatsAppFlow(
147
+ args: CreateWhatsAppFlowCommandInput,
148
+ options?: __HttpHandlerOptions
149
+ ): Promise<CreateWhatsAppFlowCommandOutput>;
150
+ createWhatsAppFlow(
151
+ args: CreateWhatsAppFlowCommandInput,
152
+ cb: (err: any, data?: CreateWhatsAppFlowCommandOutput) => void
153
+ ): void;
154
+ createWhatsAppFlow(
155
+ args: CreateWhatsAppFlowCommandInput,
156
+ options: __HttpHandlerOptions,
157
+ cb: (err: any, data?: CreateWhatsAppFlowCommandOutput) => void
158
+ ): void;
106
159
  createWhatsAppMessageTemplate(
107
160
  args: CreateWhatsAppMessageTemplateCommandInput,
108
161
  options?: __HttpHandlerOptions
@@ -154,6 +207,19 @@ export interface SocialMessaging {
154
207
  data?: CreateWhatsAppMessageTemplateMediaCommandOutput
155
208
  ) => void
156
209
  ): void;
210
+ deleteWhatsAppFlow(
211
+ args: DeleteWhatsAppFlowCommandInput,
212
+ options?: __HttpHandlerOptions
213
+ ): Promise<DeleteWhatsAppFlowCommandOutput>;
214
+ deleteWhatsAppFlow(
215
+ args: DeleteWhatsAppFlowCommandInput,
216
+ cb: (err: any, data?: DeleteWhatsAppFlowCommandOutput) => void
217
+ ): void;
218
+ deleteWhatsAppFlow(
219
+ args: DeleteWhatsAppFlowCommandInput,
220
+ options: __HttpHandlerOptions,
221
+ cb: (err: any, data?: DeleteWhatsAppFlowCommandOutput) => void
222
+ ): void;
157
223
  deleteWhatsAppMessageMedia(
158
224
  args: DeleteWhatsAppMessageMediaCommandInput,
159
225
  options?: __HttpHandlerOptions
@@ -180,6 +246,19 @@ export interface SocialMessaging {
180
246
  options: __HttpHandlerOptions,
181
247
  cb: (err: any, data?: DeleteWhatsAppMessageTemplateCommandOutput) => void
182
248
  ): void;
249
+ deprecateWhatsAppFlow(
250
+ args: DeprecateWhatsAppFlowCommandInput,
251
+ options?: __HttpHandlerOptions
252
+ ): Promise<DeprecateWhatsAppFlowCommandOutput>;
253
+ deprecateWhatsAppFlow(
254
+ args: DeprecateWhatsAppFlowCommandInput,
255
+ cb: (err: any, data?: DeprecateWhatsAppFlowCommandOutput) => void
256
+ ): void;
257
+ deprecateWhatsAppFlow(
258
+ args: DeprecateWhatsAppFlowCommandInput,
259
+ options: __HttpHandlerOptions,
260
+ cb: (err: any, data?: DeprecateWhatsAppFlowCommandOutput) => void
261
+ ): void;
183
262
  disassociateWhatsAppBusinessAccount(
184
263
  args: DisassociateWhatsAppBusinessAccountCommandInput,
185
264
  options?: __HttpHandlerOptions
@@ -231,6 +310,32 @@ export interface SocialMessaging {
231
310
  data?: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
232
311
  ) => void
233
312
  ): void;
313
+ getWhatsAppFlow(
314
+ args: GetWhatsAppFlowCommandInput,
315
+ options?: __HttpHandlerOptions
316
+ ): Promise<GetWhatsAppFlowCommandOutput>;
317
+ getWhatsAppFlow(
318
+ args: GetWhatsAppFlowCommandInput,
319
+ cb: (err: any, data?: GetWhatsAppFlowCommandOutput) => void
320
+ ): void;
321
+ getWhatsAppFlow(
322
+ args: GetWhatsAppFlowCommandInput,
323
+ options: __HttpHandlerOptions,
324
+ cb: (err: any, data?: GetWhatsAppFlowCommandOutput) => void
325
+ ): void;
326
+ getWhatsAppFlowPreview(
327
+ args: GetWhatsAppFlowPreviewCommandInput,
328
+ options?: __HttpHandlerOptions
329
+ ): Promise<GetWhatsAppFlowPreviewCommandOutput>;
330
+ getWhatsAppFlowPreview(
331
+ args: GetWhatsAppFlowPreviewCommandInput,
332
+ cb: (err: any, data?: GetWhatsAppFlowPreviewCommandOutput) => void
333
+ ): void;
334
+ getWhatsAppFlowPreview(
335
+ args: GetWhatsAppFlowPreviewCommandInput,
336
+ options: __HttpHandlerOptions,
337
+ cb: (err: any, data?: GetWhatsAppFlowPreviewCommandOutput) => void
338
+ ): void;
234
339
  getWhatsAppMessageMedia(
235
340
  args: GetWhatsAppMessageMediaCommandInput,
236
341
  options?: __HttpHandlerOptions
@@ -290,6 +395,32 @@ export interface SocialMessaging {
290
395
  options: __HttpHandlerOptions,
291
396
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
292
397
  ): void;
398
+ listWhatsAppFlowAssets(
399
+ args: ListWhatsAppFlowAssetsCommandInput,
400
+ options?: __HttpHandlerOptions
401
+ ): Promise<ListWhatsAppFlowAssetsCommandOutput>;
402
+ listWhatsAppFlowAssets(
403
+ args: ListWhatsAppFlowAssetsCommandInput,
404
+ cb: (err: any, data?: ListWhatsAppFlowAssetsCommandOutput) => void
405
+ ): void;
406
+ listWhatsAppFlowAssets(
407
+ args: ListWhatsAppFlowAssetsCommandInput,
408
+ options: __HttpHandlerOptions,
409
+ cb: (err: any, data?: ListWhatsAppFlowAssetsCommandOutput) => void
410
+ ): void;
411
+ listWhatsAppFlows(
412
+ args: ListWhatsAppFlowsCommandInput,
413
+ options?: __HttpHandlerOptions
414
+ ): Promise<ListWhatsAppFlowsCommandOutput>;
415
+ listWhatsAppFlows(
416
+ args: ListWhatsAppFlowsCommandInput,
417
+ cb: (err: any, data?: ListWhatsAppFlowsCommandOutput) => void
418
+ ): void;
419
+ listWhatsAppFlows(
420
+ args: ListWhatsAppFlowsCommandInput,
421
+ options: __HttpHandlerOptions,
422
+ cb: (err: any, data?: ListWhatsAppFlowsCommandOutput) => void
423
+ ): void;
293
424
  listWhatsAppMessageTemplates(
294
425
  args: ListWhatsAppMessageTemplatesCommandInput,
295
426
  options?: __HttpHandlerOptions
@@ -329,6 +460,19 @@ export interface SocialMessaging {
329
460
  options: __HttpHandlerOptions,
330
461
  cb: (err: any, data?: PostWhatsAppMessageMediaCommandOutput) => void
331
462
  ): void;
463
+ publishWhatsAppFlow(
464
+ args: PublishWhatsAppFlowCommandInput,
465
+ options?: __HttpHandlerOptions
466
+ ): Promise<PublishWhatsAppFlowCommandOutput>;
467
+ publishWhatsAppFlow(
468
+ args: PublishWhatsAppFlowCommandInput,
469
+ cb: (err: any, data?: PublishWhatsAppFlowCommandOutput) => void
470
+ ): void;
471
+ publishWhatsAppFlow(
472
+ args: PublishWhatsAppFlowCommandInput,
473
+ options: __HttpHandlerOptions,
474
+ cb: (err: any, data?: PublishWhatsAppFlowCommandOutput) => void
475
+ ): void;
332
476
  putWhatsAppBusinessAccountEventDestinations(
333
477
  args: PutWhatsAppBusinessAccountEventDestinationsCommandInput,
334
478
  options?: __HttpHandlerOptions
@@ -387,6 +531,32 @@ export interface SocialMessaging {
387
531
  options: __HttpHandlerOptions,
388
532
  cb: (err: any, data?: UntagResourceCommandOutput) => void
389
533
  ): void;
534
+ updateWhatsAppFlow(
535
+ args: UpdateWhatsAppFlowCommandInput,
536
+ options?: __HttpHandlerOptions
537
+ ): Promise<UpdateWhatsAppFlowCommandOutput>;
538
+ updateWhatsAppFlow(
539
+ args: UpdateWhatsAppFlowCommandInput,
540
+ cb: (err: any, data?: UpdateWhatsAppFlowCommandOutput) => void
541
+ ): void;
542
+ updateWhatsAppFlow(
543
+ args: UpdateWhatsAppFlowCommandInput,
544
+ options: __HttpHandlerOptions,
545
+ cb: (err: any, data?: UpdateWhatsAppFlowCommandOutput) => void
546
+ ): void;
547
+ updateWhatsAppFlowAssets(
548
+ args: UpdateWhatsAppFlowAssetsCommandInput,
549
+ options?: __HttpHandlerOptions
550
+ ): Promise<UpdateWhatsAppFlowAssetsCommandOutput>;
551
+ updateWhatsAppFlowAssets(
552
+ args: UpdateWhatsAppFlowAssetsCommandInput,
553
+ cb: (err: any, data?: UpdateWhatsAppFlowAssetsCommandOutput) => void
554
+ ): void;
555
+ updateWhatsAppFlowAssets(
556
+ args: UpdateWhatsAppFlowAssetsCommandInput,
557
+ options: __HttpHandlerOptions,
558
+ cb: (err: any, data?: UpdateWhatsAppFlowAssetsCommandOutput) => void
559
+ ): void;
390
560
  updateWhatsAppMessageTemplate(
391
561
  args: UpdateWhatsAppMessageTemplateCommandInput,
392
562
  options?: __HttpHandlerOptions
@@ -407,6 +577,20 @@ export interface SocialMessaging {
407
577
  Exclude<keyof PaginationConfiguration, "client">
408
578
  >
409
579
  ): Paginator<ListLinkedWhatsAppBusinessAccountsCommandOutput>;
580
+ paginateListWhatsAppFlowAssets(
581
+ args: ListWhatsAppFlowAssetsCommandInput,
582
+ paginationConfig?: Pick<
583
+ PaginationConfiguration,
584
+ Exclude<keyof PaginationConfiguration, "client">
585
+ >
586
+ ): Paginator<ListWhatsAppFlowAssetsCommandOutput>;
587
+ paginateListWhatsAppFlows(
588
+ args: ListWhatsAppFlowsCommandInput,
589
+ paginationConfig?: Pick<
590
+ PaginationConfiguration,
591
+ Exclude<keyof PaginationConfiguration, "client">
592
+ >
593
+ ): Paginator<ListWhatsAppFlowsCommandOutput>;
410
594
  paginateListWhatsAppMessageTemplates(
411
595
  args: ListWhatsAppMessageTemplatesCommandInput,
412
596
  paginationConfig?: Pick<
@@ -40,6 +40,10 @@ import {
40
40
  AssociateWhatsAppBusinessAccountCommandInput,
41
41
  AssociateWhatsAppBusinessAccountCommandOutput,
42
42
  } from "./commands/AssociateWhatsAppBusinessAccountCommand";
43
+ import {
44
+ CreateWhatsAppFlowCommandInput,
45
+ CreateWhatsAppFlowCommandOutput,
46
+ } from "./commands/CreateWhatsAppFlowCommand";
43
47
  import {
44
48
  CreateWhatsAppMessageTemplateCommandInput,
45
49
  CreateWhatsAppMessageTemplateCommandOutput,
@@ -52,6 +56,10 @@ import {
52
56
  CreateWhatsAppMessageTemplateMediaCommandInput,
53
57
  CreateWhatsAppMessageTemplateMediaCommandOutput,
54
58
  } from "./commands/CreateWhatsAppMessageTemplateMediaCommand";
59
+ import {
60
+ DeleteWhatsAppFlowCommandInput,
61
+ DeleteWhatsAppFlowCommandOutput,
62
+ } from "./commands/DeleteWhatsAppFlowCommand";
55
63
  import {
56
64
  DeleteWhatsAppMessageMediaCommandInput,
57
65
  DeleteWhatsAppMessageMediaCommandOutput,
@@ -60,6 +68,10 @@ import {
60
68
  DeleteWhatsAppMessageTemplateCommandInput,
61
69
  DeleteWhatsAppMessageTemplateCommandOutput,
62
70
  } from "./commands/DeleteWhatsAppMessageTemplateCommand";
71
+ import {
72
+ DeprecateWhatsAppFlowCommandInput,
73
+ DeprecateWhatsAppFlowCommandOutput,
74
+ } from "./commands/DeprecateWhatsAppFlowCommand";
63
75
  import {
64
76
  DisassociateWhatsAppBusinessAccountCommandInput,
65
77
  DisassociateWhatsAppBusinessAccountCommandOutput,
@@ -72,6 +84,14 @@ import {
72
84
  GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
73
85
  GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
74
86
  } from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
87
+ import {
88
+ GetWhatsAppFlowCommandInput,
89
+ GetWhatsAppFlowCommandOutput,
90
+ } from "./commands/GetWhatsAppFlowCommand";
91
+ import {
92
+ GetWhatsAppFlowPreviewCommandInput,
93
+ GetWhatsAppFlowPreviewCommandOutput,
94
+ } from "./commands/GetWhatsAppFlowPreviewCommand";
75
95
  import {
76
96
  GetWhatsAppMessageMediaCommandInput,
77
97
  GetWhatsAppMessageMediaCommandOutput,
@@ -88,6 +108,14 @@ import {
88
108
  ListTagsForResourceCommandInput,
89
109
  ListTagsForResourceCommandOutput,
90
110
  } from "./commands/ListTagsForResourceCommand";
111
+ import {
112
+ ListWhatsAppFlowAssetsCommandInput,
113
+ ListWhatsAppFlowAssetsCommandOutput,
114
+ } from "./commands/ListWhatsAppFlowAssetsCommand";
115
+ import {
116
+ ListWhatsAppFlowsCommandInput,
117
+ ListWhatsAppFlowsCommandOutput,
118
+ } from "./commands/ListWhatsAppFlowsCommand";
91
119
  import {
92
120
  ListWhatsAppMessageTemplatesCommandInput,
93
121
  ListWhatsAppMessageTemplatesCommandOutput,
@@ -100,6 +128,10 @@ import {
100
128
  PostWhatsAppMessageMediaCommandInput,
101
129
  PostWhatsAppMessageMediaCommandOutput,
102
130
  } from "./commands/PostWhatsAppMessageMediaCommand";
131
+ import {
132
+ PublishWhatsAppFlowCommandInput,
133
+ PublishWhatsAppFlowCommandOutput,
134
+ } from "./commands/PublishWhatsAppFlowCommand";
103
135
  import {
104
136
  PutWhatsAppBusinessAccountEventDestinationsCommandInput,
105
137
  PutWhatsAppBusinessAccountEventDestinationsCommandOutput,
@@ -116,6 +148,14 @@ import {
116
148
  UntagResourceCommandInput,
117
149
  UntagResourceCommandOutput,
118
150
  } from "./commands/UntagResourceCommand";
151
+ import {
152
+ UpdateWhatsAppFlowAssetsCommandInput,
153
+ UpdateWhatsAppFlowAssetsCommandOutput,
154
+ } from "./commands/UpdateWhatsAppFlowAssetsCommand";
155
+ import {
156
+ UpdateWhatsAppFlowCommandInput,
157
+ UpdateWhatsAppFlowCommandOutput,
158
+ } from "./commands/UpdateWhatsAppFlowCommand";
119
159
  import {
120
160
  UpdateWhatsAppMessageTemplateCommandInput,
121
161
  UpdateWhatsAppMessageTemplateCommandOutput,
@@ -129,47 +169,67 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
129
169
  export { __Client };
130
170
  export type ServiceInputTypes =
131
171
  | AssociateWhatsAppBusinessAccountCommandInput
172
+ | CreateWhatsAppFlowCommandInput
132
173
  | CreateWhatsAppMessageTemplateCommandInput
133
174
  | CreateWhatsAppMessageTemplateFromLibraryCommandInput
134
175
  | CreateWhatsAppMessageTemplateMediaCommandInput
176
+ | DeleteWhatsAppFlowCommandInput
135
177
  | DeleteWhatsAppMessageMediaCommandInput
136
178
  | DeleteWhatsAppMessageTemplateCommandInput
179
+ | DeprecateWhatsAppFlowCommandInput
137
180
  | DisassociateWhatsAppBusinessAccountCommandInput
138
181
  | GetLinkedWhatsAppBusinessAccountCommandInput
139
182
  | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput
183
+ | GetWhatsAppFlowCommandInput
184
+ | GetWhatsAppFlowPreviewCommandInput
140
185
  | GetWhatsAppMessageMediaCommandInput
141
186
  | GetWhatsAppMessageTemplateCommandInput
142
187
  | ListLinkedWhatsAppBusinessAccountsCommandInput
143
188
  | ListTagsForResourceCommandInput
189
+ | ListWhatsAppFlowAssetsCommandInput
190
+ | ListWhatsAppFlowsCommandInput
144
191
  | ListWhatsAppMessageTemplatesCommandInput
145
192
  | ListWhatsAppTemplateLibraryCommandInput
146
193
  | PostWhatsAppMessageMediaCommandInput
194
+ | PublishWhatsAppFlowCommandInput
147
195
  | PutWhatsAppBusinessAccountEventDestinationsCommandInput
148
196
  | SendWhatsAppMessageCommandInput
149
197
  | TagResourceCommandInput
150
198
  | UntagResourceCommandInput
199
+ | UpdateWhatsAppFlowAssetsCommandInput
200
+ | UpdateWhatsAppFlowCommandInput
151
201
  | UpdateWhatsAppMessageTemplateCommandInput;
152
202
  export type ServiceOutputTypes =
153
203
  | AssociateWhatsAppBusinessAccountCommandOutput
204
+ | CreateWhatsAppFlowCommandOutput
154
205
  | CreateWhatsAppMessageTemplateCommandOutput
155
206
  | CreateWhatsAppMessageTemplateFromLibraryCommandOutput
156
207
  | CreateWhatsAppMessageTemplateMediaCommandOutput
208
+ | DeleteWhatsAppFlowCommandOutput
157
209
  | DeleteWhatsAppMessageMediaCommandOutput
158
210
  | DeleteWhatsAppMessageTemplateCommandOutput
211
+ | DeprecateWhatsAppFlowCommandOutput
159
212
  | DisassociateWhatsAppBusinessAccountCommandOutput
160
213
  | GetLinkedWhatsAppBusinessAccountCommandOutput
161
214
  | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
215
+ | GetWhatsAppFlowCommandOutput
216
+ | GetWhatsAppFlowPreviewCommandOutput
162
217
  | GetWhatsAppMessageMediaCommandOutput
163
218
  | GetWhatsAppMessageTemplateCommandOutput
164
219
  | ListLinkedWhatsAppBusinessAccountsCommandOutput
165
220
  | ListTagsForResourceCommandOutput
221
+ | ListWhatsAppFlowAssetsCommandOutput
222
+ | ListWhatsAppFlowsCommandOutput
166
223
  | ListWhatsAppMessageTemplatesCommandOutput
167
224
  | ListWhatsAppTemplateLibraryCommandOutput
168
225
  | PostWhatsAppMessageMediaCommandOutput
226
+ | PublishWhatsAppFlowCommandOutput
169
227
  | PutWhatsAppBusinessAccountEventDestinationsCommandOutput
170
228
  | SendWhatsAppMessageCommandOutput
171
229
  | TagResourceCommandOutput
172
230
  | UntagResourceCommandOutput
231
+ | UpdateWhatsAppFlowAssetsCommandOutput
232
+ | UpdateWhatsAppFlowCommandOutput
173
233
  | UpdateWhatsAppMessageTemplateCommandOutput;
174
234
  export interface ClientDefaults
175
235
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateWhatsAppFlowInput,
5
+ CreateWhatsAppFlowOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateWhatsAppFlowCommandInput
15
+ extends CreateWhatsAppFlowInput {}
16
+ export interface CreateWhatsAppFlowCommandOutput
17
+ extends CreateWhatsAppFlowOutput,
18
+ __MetadataBearer {}
19
+ declare const CreateWhatsAppFlowCommand_base: {
20
+ new (
21
+ input: CreateWhatsAppFlowCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ CreateWhatsAppFlowCommandInput,
24
+ CreateWhatsAppFlowCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateWhatsAppFlowCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ CreateWhatsAppFlowCommandInput,
33
+ CreateWhatsAppFlowCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class CreateWhatsAppFlowCommand extends CreateWhatsAppFlowCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: CreateWhatsAppFlowInput;
46
+ output: CreateWhatsAppFlowOutput;
47
+ };
48
+ sdk: {
49
+ input: CreateWhatsAppFlowCommandInput;
50
+ output: CreateWhatsAppFlowCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteWhatsAppFlowInput,
5
+ DeleteWhatsAppFlowOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteWhatsAppFlowCommandInput
15
+ extends DeleteWhatsAppFlowInput {}
16
+ export interface DeleteWhatsAppFlowCommandOutput
17
+ extends DeleteWhatsAppFlowOutput,
18
+ __MetadataBearer {}
19
+ declare const DeleteWhatsAppFlowCommand_base: {
20
+ new (
21
+ input: DeleteWhatsAppFlowCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ DeleteWhatsAppFlowCommandInput,
24
+ DeleteWhatsAppFlowCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteWhatsAppFlowCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ DeleteWhatsAppFlowCommandInput,
33
+ DeleteWhatsAppFlowCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class DeleteWhatsAppFlowCommand extends DeleteWhatsAppFlowCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: DeleteWhatsAppFlowInput;
46
+ output: {};
47
+ };
48
+ sdk: {
49
+ input: DeleteWhatsAppFlowCommandInput;
50
+ output: DeleteWhatsAppFlowCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeprecateWhatsAppFlowInput,
5
+ DeprecateWhatsAppFlowOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeprecateWhatsAppFlowCommandInput
15
+ extends DeprecateWhatsAppFlowInput {}
16
+ export interface DeprecateWhatsAppFlowCommandOutput
17
+ extends DeprecateWhatsAppFlowOutput,
18
+ __MetadataBearer {}
19
+ declare const DeprecateWhatsAppFlowCommand_base: {
20
+ new (
21
+ input: DeprecateWhatsAppFlowCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ DeprecateWhatsAppFlowCommandInput,
24
+ DeprecateWhatsAppFlowCommandOutput,
25
+ SocialMessagingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeprecateWhatsAppFlowCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ DeprecateWhatsAppFlowCommandInput,
33
+ DeprecateWhatsAppFlowCommandOutput,
34
+ SocialMessagingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class DeprecateWhatsAppFlowCommand extends DeprecateWhatsAppFlowCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: DeprecateWhatsAppFlowInput;
46
+ output: {};
47
+ };
48
+ sdk: {
49
+ input: DeprecateWhatsAppFlowCommandInput;
50
+ output: DeprecateWhatsAppFlowCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -0,0 +1,52 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetWhatsAppFlowInput,
5
+ GetWhatsAppFlowOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SocialMessagingClientResolvedConfig,
11
+ } from "../SocialMessagingClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetWhatsAppFlowCommandInput extends GetWhatsAppFlowInput {}
15
+ export interface GetWhatsAppFlowCommandOutput
16
+ extends GetWhatsAppFlowOutput,
17
+ __MetadataBearer {}
18
+ declare const GetWhatsAppFlowCommand_base: {
19
+ new (
20
+ input: GetWhatsAppFlowCommandInput
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ GetWhatsAppFlowCommandInput,
23
+ GetWhatsAppFlowCommandOutput,
24
+ SocialMessagingClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: GetWhatsAppFlowCommandInput
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ GetWhatsAppFlowCommandInput,
32
+ GetWhatsAppFlowCommandOutput,
33
+ SocialMessagingClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
40
+ };
41
+ export declare class GetWhatsAppFlowCommand extends GetWhatsAppFlowCommand_base {
42
+ protected static __types: {
43
+ api: {
44
+ input: GetWhatsAppFlowInput;
45
+ output: GetWhatsAppFlowOutput;
46
+ };
47
+ sdk: {
48
+ input: GetWhatsAppFlowCommandInput;
49
+ output: GetWhatsAppFlowCommandOutput;
50
+ };
51
+ };
52
+ }