@@ -7,11 +7,31 @@ import {
77 AssociateWhatsAppBusinessAccountCommandInput ,
88 AssociateWhatsAppBusinessAccountCommandOutput ,
99} 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" ;
1025import {
1126 DeleteWhatsAppMessageMediaCommand ,
1227 DeleteWhatsAppMessageMediaCommandInput ,
1328 DeleteWhatsAppMessageMediaCommandOutput ,
1429} from "./commands/DeleteWhatsAppMessageMediaCommand" ;
30+ import {
31+ DeleteWhatsAppMessageTemplateCommand ,
32+ DeleteWhatsAppMessageTemplateCommandInput ,
33+ DeleteWhatsAppMessageTemplateCommandOutput ,
34+ } from "./commands/DeleteWhatsAppMessageTemplateCommand" ;
1535import {
1636 DisassociateWhatsAppBusinessAccountCommand ,
1737 DisassociateWhatsAppBusinessAccountCommandInput ,
@@ -32,6 +52,11 @@ import {
3252 GetWhatsAppMessageMediaCommandInput ,
3353 GetWhatsAppMessageMediaCommandOutput ,
3454} from "./commands/GetWhatsAppMessageMediaCommand" ;
55+ import {
56+ GetWhatsAppMessageTemplateCommand ,
57+ GetWhatsAppMessageTemplateCommandInput ,
58+ GetWhatsAppMessageTemplateCommandOutput ,
59+ } from "./commands/GetWhatsAppMessageTemplateCommand" ;
3560import {
3661 ListLinkedWhatsAppBusinessAccountsCommand ,
3762 ListLinkedWhatsAppBusinessAccountsCommandInput ,
@@ -42,6 +67,16 @@ import {
4267 ListTagsForResourceCommandInput ,
4368 ListTagsForResourceCommandOutput ,
4469} 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" ;
4580import {
4681 PostWhatsAppMessageMediaCommand ,
4782 PostWhatsAppMessageMediaCommandInput ,
@@ -63,22 +98,35 @@ import {
6398 UntagResourceCommandInput ,
6499 UntagResourceCommandOutput ,
65100} from "./commands/UntagResourceCommand" ;
101+ import {
102+ UpdateWhatsAppMessageTemplateCommand ,
103+ UpdateWhatsAppMessageTemplateCommandInput ,
104+ UpdateWhatsAppMessageTemplateCommandOutput ,
105+ } from "./commands/UpdateWhatsAppMessageTemplateCommand" ;
66106import { SocialMessagingClient , SocialMessagingClientConfig } from "./SocialMessagingClient" ;
67107
68108const commands = {
69109 AssociateWhatsAppBusinessAccountCommand,
110+ CreateWhatsAppMessageTemplateCommand,
111+ CreateWhatsAppMessageTemplateFromLibraryCommand,
112+ CreateWhatsAppMessageTemplateMediaCommand,
70113 DeleteWhatsAppMessageMediaCommand,
114+ DeleteWhatsAppMessageTemplateCommand,
71115 DisassociateWhatsAppBusinessAccountCommand,
72116 GetLinkedWhatsAppBusinessAccountCommand,
73117 GetLinkedWhatsAppBusinessAccountPhoneNumberCommand,
74118 GetWhatsAppMessageMediaCommand,
119+ GetWhatsAppMessageTemplateCommand,
75120 ListLinkedWhatsAppBusinessAccountsCommand,
76121 ListTagsForResourceCommand,
122+ ListWhatsAppMessageTemplatesCommand,
123+ ListWhatsAppTemplateLibraryCommand,
77124 PostWhatsAppMessageMediaCommand,
78125 PutWhatsAppBusinessAccountEventDestinationsCommand,
79126 SendWhatsAppMessageCommand,
80127 TagResourceCommand,
81128 UntagResourceCommand,
129+ UpdateWhatsAppMessageTemplateCommand,
82130} ;
83131
84132export interface SocialMessaging {
@@ -100,6 +148,57 @@ export interface SocialMessaging {
100148 cb : ( err : any , data ?: AssociateWhatsAppBusinessAccountCommandOutput ) => void
101149 ) : void ;
102150
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+
103202 /**
104203 * @see {@link DeleteWhatsAppMessageMediaCommand }
105204 */
@@ -117,6 +216,23 @@ export interface SocialMessaging {
117216 cb : ( err : any , data ?: DeleteWhatsAppMessageMediaCommandOutput ) => void
118217 ) : void ;
119218
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+
120236 /**
121237 * @see {@link DisassociateWhatsAppBusinessAccountCommand }
122238 */
@@ -185,6 +301,23 @@ export interface SocialMessaging {
185301 cb : ( err : any , data ?: GetWhatsAppMessageMediaCommandOutput ) => void
186302 ) : void ;
187303
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+
188321 /**
189322 * @see {@link ListLinkedWhatsAppBusinessAccountsCommand }
190323 */
@@ -220,6 +353,40 @@ export interface SocialMessaging {
220353 cb : ( err : any , data ?: ListTagsForResourceCommandOutput ) => void
221354 ) : void ;
222355
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+
223390 /**
224391 * @see {@link PostWhatsAppMessageMediaCommand }
225392 */
@@ -292,6 +459,23 @@ export interface SocialMessaging {
292459 options : __HttpHandlerOptions ,
293460 cb : ( err : any , data ?: UntagResourceCommandOutput ) => void
294461 ) : 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 ;
295479}
296480
297481/**
0 commit comments