@@ -7,11 +7,31 @@ import {
7
7
AssociateWhatsAppBusinessAccountCommandInput ,
8
8
AssociateWhatsAppBusinessAccountCommandOutput ,
9
9
} from "./commands/AssociateWhatsAppBusinessAccountCommand" ;
10
+ import {
11
+ CreateWhatsAppMessageTemplateCommand ,
12
+ CreateWhatsAppMessageTemplateCommandInput ,
13
+ CreateWhatsAppMessageTemplateCommandOutput ,
14
+ } from "./commands/CreateWhatsAppMessageTemplateCommand" ;
15
+ import {
16
+ CreateWhatsAppMessageTemplateFromLibraryCommand ,
17
+ CreateWhatsAppMessageTemplateFromLibraryCommandInput ,
18
+ CreateWhatsAppMessageTemplateFromLibraryCommandOutput ,
19
+ } from "./commands/CreateWhatsAppMessageTemplateFromLibraryCommand" ;
20
+ import {
21
+ CreateWhatsAppMessageTemplateMediaCommand ,
22
+ CreateWhatsAppMessageTemplateMediaCommandInput ,
23
+ CreateWhatsAppMessageTemplateMediaCommandOutput ,
24
+ } from "./commands/CreateWhatsAppMessageTemplateMediaCommand" ;
10
25
import {
11
26
DeleteWhatsAppMessageMediaCommand ,
12
27
DeleteWhatsAppMessageMediaCommandInput ,
13
28
DeleteWhatsAppMessageMediaCommandOutput ,
14
29
} from "./commands/DeleteWhatsAppMessageMediaCommand" ;
30
+ import {
31
+ DeleteWhatsAppMessageTemplateCommand ,
32
+ DeleteWhatsAppMessageTemplateCommandInput ,
33
+ DeleteWhatsAppMessageTemplateCommandOutput ,
34
+ } from "./commands/DeleteWhatsAppMessageTemplateCommand" ;
15
35
import {
16
36
DisassociateWhatsAppBusinessAccountCommand ,
17
37
DisassociateWhatsAppBusinessAccountCommandInput ,
@@ -32,6 +52,11 @@ import {
32
52
GetWhatsAppMessageMediaCommandInput ,
33
53
GetWhatsAppMessageMediaCommandOutput ,
34
54
} from "./commands/GetWhatsAppMessageMediaCommand" ;
55
+ import {
56
+ GetWhatsAppMessageTemplateCommand ,
57
+ GetWhatsAppMessageTemplateCommandInput ,
58
+ GetWhatsAppMessageTemplateCommandOutput ,
59
+ } from "./commands/GetWhatsAppMessageTemplateCommand" ;
35
60
import {
36
61
ListLinkedWhatsAppBusinessAccountsCommand ,
37
62
ListLinkedWhatsAppBusinessAccountsCommandInput ,
@@ -42,6 +67,16 @@ import {
42
67
ListTagsForResourceCommandInput ,
43
68
ListTagsForResourceCommandOutput ,
44
69
} from "./commands/ListTagsForResourceCommand" ;
70
+ import {
71
+ ListWhatsAppMessageTemplatesCommand ,
72
+ ListWhatsAppMessageTemplatesCommandInput ,
73
+ ListWhatsAppMessageTemplatesCommandOutput ,
74
+ } from "./commands/ListWhatsAppMessageTemplatesCommand" ;
75
+ import {
76
+ ListWhatsAppTemplateLibraryCommand ,
77
+ ListWhatsAppTemplateLibraryCommandInput ,
78
+ ListWhatsAppTemplateLibraryCommandOutput ,
79
+ } from "./commands/ListWhatsAppTemplateLibraryCommand" ;
45
80
import {
46
81
PostWhatsAppMessageMediaCommand ,
47
82
PostWhatsAppMessageMediaCommandInput ,
@@ -63,22 +98,35 @@ import {
63
98
UntagResourceCommandInput ,
64
99
UntagResourceCommandOutput ,
65
100
} from "./commands/UntagResourceCommand" ;
101
+ import {
102
+ UpdateWhatsAppMessageTemplateCommand ,
103
+ UpdateWhatsAppMessageTemplateCommandInput ,
104
+ UpdateWhatsAppMessageTemplateCommandOutput ,
105
+ } from "./commands/UpdateWhatsAppMessageTemplateCommand" ;
66
106
import { SocialMessagingClient , SocialMessagingClientConfig } from "./SocialMessagingClient" ;
67
107
68
108
const commands = {
69
109
AssociateWhatsAppBusinessAccountCommand,
110
+ CreateWhatsAppMessageTemplateCommand,
111
+ CreateWhatsAppMessageTemplateFromLibraryCommand,
112
+ CreateWhatsAppMessageTemplateMediaCommand,
70
113
DeleteWhatsAppMessageMediaCommand,
114
+ DeleteWhatsAppMessageTemplateCommand,
71
115
DisassociateWhatsAppBusinessAccountCommand,
72
116
GetLinkedWhatsAppBusinessAccountCommand,
73
117
GetLinkedWhatsAppBusinessAccountPhoneNumberCommand,
74
118
GetWhatsAppMessageMediaCommand,
119
+ GetWhatsAppMessageTemplateCommand,
75
120
ListLinkedWhatsAppBusinessAccountsCommand,
76
121
ListTagsForResourceCommand,
122
+ ListWhatsAppMessageTemplatesCommand,
123
+ ListWhatsAppTemplateLibraryCommand,
77
124
PostWhatsAppMessageMediaCommand,
78
125
PutWhatsAppBusinessAccountEventDestinationsCommand,
79
126
SendWhatsAppMessageCommand,
80
127
TagResourceCommand,
81
128
UntagResourceCommand,
129
+ UpdateWhatsAppMessageTemplateCommand,
82
130
} ;
83
131
84
132
export interface SocialMessaging {
@@ -100,6 +148,57 @@ export interface SocialMessaging {
100
148
cb : ( err : any , data ?: AssociateWhatsAppBusinessAccountCommandOutput ) => void
101
149
) : void ;
102
150
151
+ /**
152
+ * @see {@link CreateWhatsAppMessageTemplateCommand }
153
+ */
154
+ createWhatsAppMessageTemplate (
155
+ args : CreateWhatsAppMessageTemplateCommandInput ,
156
+ options ?: __HttpHandlerOptions
157
+ ) : Promise < CreateWhatsAppMessageTemplateCommandOutput > ;
158
+ createWhatsAppMessageTemplate (
159
+ args : CreateWhatsAppMessageTemplateCommandInput ,
160
+ cb : ( err : any , data ?: CreateWhatsAppMessageTemplateCommandOutput ) => void
161
+ ) : void ;
162
+ createWhatsAppMessageTemplate (
163
+ args : CreateWhatsAppMessageTemplateCommandInput ,
164
+ options : __HttpHandlerOptions ,
165
+ cb : ( err : any , data ?: CreateWhatsAppMessageTemplateCommandOutput ) => void
166
+ ) : void ;
167
+
168
+ /**
169
+ * @see {@link CreateWhatsAppMessageTemplateFromLibraryCommand }
170
+ */
171
+ createWhatsAppMessageTemplateFromLibrary (
172
+ args : CreateWhatsAppMessageTemplateFromLibraryCommandInput ,
173
+ options ?: __HttpHandlerOptions
174
+ ) : Promise < CreateWhatsAppMessageTemplateFromLibraryCommandOutput > ;
175
+ createWhatsAppMessageTemplateFromLibrary (
176
+ args : CreateWhatsAppMessageTemplateFromLibraryCommandInput ,
177
+ cb : ( err : any , data ?: CreateWhatsAppMessageTemplateFromLibraryCommandOutput ) => void
178
+ ) : void ;
179
+ createWhatsAppMessageTemplateFromLibrary (
180
+ args : CreateWhatsAppMessageTemplateFromLibraryCommandInput ,
181
+ options : __HttpHandlerOptions ,
182
+ cb : ( err : any , data ?: CreateWhatsAppMessageTemplateFromLibraryCommandOutput ) => void
183
+ ) : void ;
184
+
185
+ /**
186
+ * @see {@link CreateWhatsAppMessageTemplateMediaCommand }
187
+ */
188
+ createWhatsAppMessageTemplateMedia (
189
+ args : CreateWhatsAppMessageTemplateMediaCommandInput ,
190
+ options ?: __HttpHandlerOptions
191
+ ) : Promise < CreateWhatsAppMessageTemplateMediaCommandOutput > ;
192
+ createWhatsAppMessageTemplateMedia (
193
+ args : CreateWhatsAppMessageTemplateMediaCommandInput ,
194
+ cb : ( err : any , data ?: CreateWhatsAppMessageTemplateMediaCommandOutput ) => void
195
+ ) : void ;
196
+ createWhatsAppMessageTemplateMedia (
197
+ args : CreateWhatsAppMessageTemplateMediaCommandInput ,
198
+ options : __HttpHandlerOptions ,
199
+ cb : ( err : any , data ?: CreateWhatsAppMessageTemplateMediaCommandOutput ) => void
200
+ ) : void ;
201
+
103
202
/**
104
203
* @see {@link DeleteWhatsAppMessageMediaCommand }
105
204
*/
@@ -117,6 +216,23 @@ export interface SocialMessaging {
117
216
cb : ( err : any , data ?: DeleteWhatsAppMessageMediaCommandOutput ) => void
118
217
) : void ;
119
218
219
+ /**
220
+ * @see {@link DeleteWhatsAppMessageTemplateCommand }
221
+ */
222
+ deleteWhatsAppMessageTemplate (
223
+ args : DeleteWhatsAppMessageTemplateCommandInput ,
224
+ options ?: __HttpHandlerOptions
225
+ ) : Promise < DeleteWhatsAppMessageTemplateCommandOutput > ;
226
+ deleteWhatsAppMessageTemplate (
227
+ args : DeleteWhatsAppMessageTemplateCommandInput ,
228
+ cb : ( err : any , data ?: DeleteWhatsAppMessageTemplateCommandOutput ) => void
229
+ ) : void ;
230
+ deleteWhatsAppMessageTemplate (
231
+ args : DeleteWhatsAppMessageTemplateCommandInput ,
232
+ options : __HttpHandlerOptions ,
233
+ cb : ( err : any , data ?: DeleteWhatsAppMessageTemplateCommandOutput ) => void
234
+ ) : void ;
235
+
120
236
/**
121
237
* @see {@link DisassociateWhatsAppBusinessAccountCommand }
122
238
*/
@@ -185,6 +301,23 @@ export interface SocialMessaging {
185
301
cb : ( err : any , data ?: GetWhatsAppMessageMediaCommandOutput ) => void
186
302
) : void ;
187
303
304
+ /**
305
+ * @see {@link GetWhatsAppMessageTemplateCommand }
306
+ */
307
+ getWhatsAppMessageTemplate (
308
+ args : GetWhatsAppMessageTemplateCommandInput ,
309
+ options ?: __HttpHandlerOptions
310
+ ) : Promise < GetWhatsAppMessageTemplateCommandOutput > ;
311
+ getWhatsAppMessageTemplate (
312
+ args : GetWhatsAppMessageTemplateCommandInput ,
313
+ cb : ( err : any , data ?: GetWhatsAppMessageTemplateCommandOutput ) => void
314
+ ) : void ;
315
+ getWhatsAppMessageTemplate (
316
+ args : GetWhatsAppMessageTemplateCommandInput ,
317
+ options : __HttpHandlerOptions ,
318
+ cb : ( err : any , data ?: GetWhatsAppMessageTemplateCommandOutput ) => void
319
+ ) : void ;
320
+
188
321
/**
189
322
* @see {@link ListLinkedWhatsAppBusinessAccountsCommand }
190
323
*/
@@ -220,6 +353,40 @@ export interface SocialMessaging {
220
353
cb : ( err : any , data ?: ListTagsForResourceCommandOutput ) => void
221
354
) : void ;
222
355
356
+ /**
357
+ * @see {@link ListWhatsAppMessageTemplatesCommand }
358
+ */
359
+ listWhatsAppMessageTemplates (
360
+ args : ListWhatsAppMessageTemplatesCommandInput ,
361
+ options ?: __HttpHandlerOptions
362
+ ) : Promise < ListWhatsAppMessageTemplatesCommandOutput > ;
363
+ listWhatsAppMessageTemplates (
364
+ args : ListWhatsAppMessageTemplatesCommandInput ,
365
+ cb : ( err : any , data ?: ListWhatsAppMessageTemplatesCommandOutput ) => void
366
+ ) : void ;
367
+ listWhatsAppMessageTemplates (
368
+ args : ListWhatsAppMessageTemplatesCommandInput ,
369
+ options : __HttpHandlerOptions ,
370
+ cb : ( err : any , data ?: ListWhatsAppMessageTemplatesCommandOutput ) => void
371
+ ) : void ;
372
+
373
+ /**
374
+ * @see {@link ListWhatsAppTemplateLibraryCommand }
375
+ */
376
+ listWhatsAppTemplateLibrary (
377
+ args : ListWhatsAppTemplateLibraryCommandInput ,
378
+ options ?: __HttpHandlerOptions
379
+ ) : Promise < ListWhatsAppTemplateLibraryCommandOutput > ;
380
+ listWhatsAppTemplateLibrary (
381
+ args : ListWhatsAppTemplateLibraryCommandInput ,
382
+ cb : ( err : any , data ?: ListWhatsAppTemplateLibraryCommandOutput ) => void
383
+ ) : void ;
384
+ listWhatsAppTemplateLibrary (
385
+ args : ListWhatsAppTemplateLibraryCommandInput ,
386
+ options : __HttpHandlerOptions ,
387
+ cb : ( err : any , data ?: ListWhatsAppTemplateLibraryCommandOutput ) => void
388
+ ) : void ;
389
+
223
390
/**
224
391
* @see {@link PostWhatsAppMessageMediaCommand }
225
392
*/
@@ -292,6 +459,23 @@ export interface SocialMessaging {
292
459
options : __HttpHandlerOptions ,
293
460
cb : ( err : any , data ?: UntagResourceCommandOutput ) => void
294
461
) : void ;
462
+
463
+ /**
464
+ * @see {@link UpdateWhatsAppMessageTemplateCommand }
465
+ */
466
+ updateWhatsAppMessageTemplate (
467
+ args : UpdateWhatsAppMessageTemplateCommandInput ,
468
+ options ?: __HttpHandlerOptions
469
+ ) : Promise < UpdateWhatsAppMessageTemplateCommandOutput > ;
470
+ updateWhatsAppMessageTemplate (
471
+ args : UpdateWhatsAppMessageTemplateCommandInput ,
472
+ cb : ( err : any , data ?: UpdateWhatsAppMessageTemplateCommandOutput ) => void
473
+ ) : void ;
474
+ updateWhatsAppMessageTemplate (
475
+ args : UpdateWhatsAppMessageTemplateCommandInput ,
476
+ options : __HttpHandlerOptions ,
477
+ cb : ( err : any , data ?: UpdateWhatsAppMessageTemplateCommandOutput ) => void
478
+ ) : void ;
295
479
}
296
480
297
481
/**
0 commit comments