@aws-sdk/client-socialmessaging 3.846.0 → 3.854.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.
- package/README.md +64 -0
- package/dist-cjs/SocialMessaging.js +16 -0
- package/dist-cjs/commands/CreateWhatsAppMessageTemplateCommand.js +26 -0
- package/dist-cjs/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +26 -0
- package/dist-cjs/commands/CreateWhatsAppMessageTemplateMediaCommand.js +27 -0
- package/dist-cjs/commands/DeleteWhatsAppMessageTemplateCommand.js +26 -0
- package/dist-cjs/commands/GetWhatsAppMessageTemplateCommand.js +26 -0
- package/dist-cjs/commands/ListWhatsAppMessageTemplatesCommand.js +26 -0
- package/dist-cjs/commands/ListWhatsAppTemplateLibraryCommand.js +26 -0
- package/dist-cjs/commands/UpdateWhatsAppMessageTemplateCommand.js +26 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +19 -1
- package/dist-cjs/pagination/ListWhatsAppMessageTemplatesPaginator.js +7 -0
- package/dist-cjs/pagination/ListWhatsAppTemplateLibraryPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +265 -4
- package/dist-es/SocialMessaging.js +16 -0
- package/dist-es/commands/CreateWhatsAppMessageTemplateCommand.js +22 -0
- package/dist-es/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +22 -0
- package/dist-es/commands/CreateWhatsAppMessageTemplateMediaCommand.js +23 -0
- package/dist-es/commands/DeleteWhatsAppMessageTemplateCommand.js +22 -0
- package/dist-es/commands/GetWhatsAppMessageTemplateCommand.js +22 -0
- package/dist-es/commands/ListWhatsAppMessageTemplatesCommand.js +22 -0
- package/dist-es/commands/ListWhatsAppTemplateLibraryCommand.js +22 -0
- package/dist-es/commands/UpdateWhatsAppMessageTemplateCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/pagination/ListWhatsAppMessageTemplatesPaginator.js +4 -0
- package/dist-es/pagination/ListWhatsAppTemplateLibraryPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +249 -4
- package/dist-types/SocialMessaging.d.ts +56 -0
- package/dist-types/SocialMessagingClient.d.ts +10 -2
- package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +5 -0
- package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +97 -0
- package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +125 -0
- package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +98 -0
- package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +95 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +1 -0
- package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +95 -0
- package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +106 -0
- package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +129 -0
- package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +550 -28
- package/dist-types/pagination/ListWhatsAppMessageTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWhatsAppTemplateLibraryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/SocialMessaging.d.ts +148 -0
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWhatsAppMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWhatsAppMessageTemplatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWhatsAppTemplateLibraryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +139 -9
- package/dist-types/ts3.4/pagination/ListWhatsAppMessageTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWhatsAppTemplateLibraryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +5 -5
|
@@ -1,26 +1,50 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput } from "../commands/AssociateWhatsAppBusinessAccountCommand";
|
|
4
|
+
import { CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput } from "../commands/CreateWhatsAppMessageTemplateCommand";
|
|
5
|
+
import { CreateWhatsAppMessageTemplateFromLibraryCommandInput, CreateWhatsAppMessageTemplateFromLibraryCommandOutput } from "../commands/CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
6
|
+
import { CreateWhatsAppMessageTemplateMediaCommandInput, CreateWhatsAppMessageTemplateMediaCommandOutput } from "../commands/CreateWhatsAppMessageTemplateMediaCommand";
|
|
4
7
|
import { DeleteWhatsAppMessageMediaCommandInput, DeleteWhatsAppMessageMediaCommandOutput } from "../commands/DeleteWhatsAppMessageMediaCommand";
|
|
8
|
+
import { DeleteWhatsAppMessageTemplateCommandInput, DeleteWhatsAppMessageTemplateCommandOutput } from "../commands/DeleteWhatsAppMessageTemplateCommand";
|
|
5
9
|
import { DisassociateWhatsAppBusinessAccountCommandInput, DisassociateWhatsAppBusinessAccountCommandOutput } from "../commands/DisassociateWhatsAppBusinessAccountCommand";
|
|
6
10
|
import { GetLinkedWhatsAppBusinessAccountCommandInput, GetLinkedWhatsAppBusinessAccountCommandOutput } from "../commands/GetLinkedWhatsAppBusinessAccountCommand";
|
|
7
11
|
import { GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput } from "../commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
8
12
|
import { GetWhatsAppMessageMediaCommandInput, GetWhatsAppMessageMediaCommandOutput } from "../commands/GetWhatsAppMessageMediaCommand";
|
|
13
|
+
import { GetWhatsAppMessageTemplateCommandInput, GetWhatsAppMessageTemplateCommandOutput } from "../commands/GetWhatsAppMessageTemplateCommand";
|
|
9
14
|
import { ListLinkedWhatsAppBusinessAccountsCommandInput, ListLinkedWhatsAppBusinessAccountsCommandOutput } from "../commands/ListLinkedWhatsAppBusinessAccountsCommand";
|
|
10
15
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
16
|
+
import { ListWhatsAppMessageTemplatesCommandInput, ListWhatsAppMessageTemplatesCommandOutput } from "../commands/ListWhatsAppMessageTemplatesCommand";
|
|
17
|
+
import { ListWhatsAppTemplateLibraryCommandInput, ListWhatsAppTemplateLibraryCommandOutput } from "../commands/ListWhatsAppTemplateLibraryCommand";
|
|
11
18
|
import { PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput } from "../commands/PostWhatsAppMessageMediaCommand";
|
|
12
19
|
import { PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput } from "../commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
13
20
|
import { SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput } from "../commands/SendWhatsAppMessageCommand";
|
|
14
21
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
15
22
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
23
|
+
import { UpdateWhatsAppMessageTemplateCommandInput, UpdateWhatsAppMessageTemplateCommandOutput } from "../commands/UpdateWhatsAppMessageTemplateCommand";
|
|
16
24
|
/**
|
|
17
25
|
* serializeAws_restJson1AssociateWhatsAppBusinessAccountCommand
|
|
18
26
|
*/
|
|
19
27
|
export declare const se_AssociateWhatsAppBusinessAccountCommand: (input: AssociateWhatsAppBusinessAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
/**
|
|
29
|
+
* serializeAws_restJson1CreateWhatsAppMessageTemplateCommand
|
|
30
|
+
*/
|
|
31
|
+
export declare const se_CreateWhatsAppMessageTemplateCommand: (input: CreateWhatsAppMessageTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
|
+
/**
|
|
33
|
+
* serializeAws_restJson1CreateWhatsAppMessageTemplateFromLibraryCommand
|
|
34
|
+
*/
|
|
35
|
+
export declare const se_CreateWhatsAppMessageTemplateFromLibraryCommand: (input: CreateWhatsAppMessageTemplateFromLibraryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
|
+
/**
|
|
37
|
+
* serializeAws_restJson1CreateWhatsAppMessageTemplateMediaCommand
|
|
38
|
+
*/
|
|
39
|
+
export declare const se_CreateWhatsAppMessageTemplateMediaCommand: (input: CreateWhatsAppMessageTemplateMediaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
40
|
/**
|
|
21
41
|
* serializeAws_restJson1DeleteWhatsAppMessageMediaCommand
|
|
22
42
|
*/
|
|
23
43
|
export declare const se_DeleteWhatsAppMessageMediaCommand: (input: DeleteWhatsAppMessageMediaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
|
+
/**
|
|
45
|
+
* serializeAws_restJson1DeleteWhatsAppMessageTemplateCommand
|
|
46
|
+
*/
|
|
47
|
+
export declare const se_DeleteWhatsAppMessageTemplateCommand: (input: DeleteWhatsAppMessageTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
48
|
/**
|
|
25
49
|
* serializeAws_restJson1DisassociateWhatsAppBusinessAccountCommand
|
|
26
50
|
*/
|
|
@@ -37,6 +61,10 @@ export declare const se_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand: (inp
|
|
|
37
61
|
* serializeAws_restJson1GetWhatsAppMessageMediaCommand
|
|
38
62
|
*/
|
|
39
63
|
export declare const se_GetWhatsAppMessageMediaCommand: (input: GetWhatsAppMessageMediaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
|
+
/**
|
|
65
|
+
* serializeAws_restJson1GetWhatsAppMessageTemplateCommand
|
|
66
|
+
*/
|
|
67
|
+
export declare const se_GetWhatsAppMessageTemplateCommand: (input: GetWhatsAppMessageTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
68
|
/**
|
|
41
69
|
* serializeAws_restJson1ListLinkedWhatsAppBusinessAccountsCommand
|
|
42
70
|
*/
|
|
@@ -45,6 +73,14 @@ export declare const se_ListLinkedWhatsAppBusinessAccountsCommand: (input: ListL
|
|
|
45
73
|
* serializeAws_restJson1ListTagsForResourceCommand
|
|
46
74
|
*/
|
|
47
75
|
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
76
|
+
/**
|
|
77
|
+
* serializeAws_restJson1ListWhatsAppMessageTemplatesCommand
|
|
78
|
+
*/
|
|
79
|
+
export declare const se_ListWhatsAppMessageTemplatesCommand: (input: ListWhatsAppMessageTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
80
|
+
/**
|
|
81
|
+
* serializeAws_restJson1ListWhatsAppTemplateLibraryCommand
|
|
82
|
+
*/
|
|
83
|
+
export declare const se_ListWhatsAppTemplateLibraryCommand: (input: ListWhatsAppTemplateLibraryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
84
|
/**
|
|
49
85
|
* serializeAws_restJson1PostWhatsAppMessageMediaCommand
|
|
50
86
|
*/
|
|
@@ -65,14 +101,34 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
|
|
|
65
101
|
* serializeAws_restJson1UntagResourceCommand
|
|
66
102
|
*/
|
|
67
103
|
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
104
|
+
/**
|
|
105
|
+
* serializeAws_restJson1UpdateWhatsAppMessageTemplateCommand
|
|
106
|
+
*/
|
|
107
|
+
export declare const se_UpdateWhatsAppMessageTemplateCommand: (input: UpdateWhatsAppMessageTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
108
|
/**
|
|
69
109
|
* deserializeAws_restJson1AssociateWhatsAppBusinessAccountCommand
|
|
70
110
|
*/
|
|
71
111
|
export declare const de_AssociateWhatsAppBusinessAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateWhatsAppBusinessAccountCommandOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* deserializeAws_restJson1CreateWhatsAppMessageTemplateCommand
|
|
114
|
+
*/
|
|
115
|
+
export declare const de_CreateWhatsAppMessageTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWhatsAppMessageTemplateCommandOutput>;
|
|
116
|
+
/**
|
|
117
|
+
* deserializeAws_restJson1CreateWhatsAppMessageTemplateFromLibraryCommand
|
|
118
|
+
*/
|
|
119
|
+
export declare const de_CreateWhatsAppMessageTemplateFromLibraryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWhatsAppMessageTemplateFromLibraryCommandOutput>;
|
|
120
|
+
/**
|
|
121
|
+
* deserializeAws_restJson1CreateWhatsAppMessageTemplateMediaCommand
|
|
122
|
+
*/
|
|
123
|
+
export declare const de_CreateWhatsAppMessageTemplateMediaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWhatsAppMessageTemplateMediaCommandOutput>;
|
|
72
124
|
/**
|
|
73
125
|
* deserializeAws_restJson1DeleteWhatsAppMessageMediaCommand
|
|
74
126
|
*/
|
|
75
127
|
export declare const de_DeleteWhatsAppMessageMediaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWhatsAppMessageMediaCommandOutput>;
|
|
128
|
+
/**
|
|
129
|
+
* deserializeAws_restJson1DeleteWhatsAppMessageTemplateCommand
|
|
130
|
+
*/
|
|
131
|
+
export declare const de_DeleteWhatsAppMessageTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWhatsAppMessageTemplateCommandOutput>;
|
|
76
132
|
/**
|
|
77
133
|
* deserializeAws_restJson1DisassociateWhatsAppBusinessAccountCommand
|
|
78
134
|
*/
|
|
@@ -89,6 +145,10 @@ export declare const de_GetLinkedWhatsAppBusinessAccountPhoneNumberCommand: (out
|
|
|
89
145
|
* deserializeAws_restJson1GetWhatsAppMessageMediaCommand
|
|
90
146
|
*/
|
|
91
147
|
export declare const de_GetWhatsAppMessageMediaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWhatsAppMessageMediaCommandOutput>;
|
|
148
|
+
/**
|
|
149
|
+
* deserializeAws_restJson1GetWhatsAppMessageTemplateCommand
|
|
150
|
+
*/
|
|
151
|
+
export declare const de_GetWhatsAppMessageTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWhatsAppMessageTemplateCommandOutput>;
|
|
92
152
|
/**
|
|
93
153
|
* deserializeAws_restJson1ListLinkedWhatsAppBusinessAccountsCommand
|
|
94
154
|
*/
|
|
@@ -97,6 +157,14 @@ export declare const de_ListLinkedWhatsAppBusinessAccountsCommand: (output: __Ht
|
|
|
97
157
|
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
98
158
|
*/
|
|
99
159
|
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
160
|
+
/**
|
|
161
|
+
* deserializeAws_restJson1ListWhatsAppMessageTemplatesCommand
|
|
162
|
+
*/
|
|
163
|
+
export declare const de_ListWhatsAppMessageTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWhatsAppMessageTemplatesCommandOutput>;
|
|
164
|
+
/**
|
|
165
|
+
* deserializeAws_restJson1ListWhatsAppTemplateLibraryCommand
|
|
166
|
+
*/
|
|
167
|
+
export declare const de_ListWhatsAppTemplateLibraryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWhatsAppTemplateLibraryCommandOutput>;
|
|
100
168
|
/**
|
|
101
169
|
* deserializeAws_restJson1PostWhatsAppMessageMediaCommand
|
|
102
170
|
*/
|
|
@@ -117,3 +185,7 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
|
|
|
117
185
|
* deserializeAws_restJson1UntagResourceCommand
|
|
118
186
|
*/
|
|
119
187
|
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
188
|
+
/**
|
|
189
|
+
* deserializeAws_restJson1UpdateWhatsAppMessageTemplateCommand
|
|
190
|
+
*/
|
|
191
|
+
export declare const de_UpdateWhatsAppMessageTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWhatsAppMessageTemplateCommandOutput>;
|
|
@@ -3,10 +3,26 @@ import {
|
|
|
3
3
|
AssociateWhatsAppBusinessAccountCommandInput,
|
|
4
4
|
AssociateWhatsAppBusinessAccountCommandOutput,
|
|
5
5
|
} from "./commands/AssociateWhatsAppBusinessAccountCommand";
|
|
6
|
+
import {
|
|
7
|
+
CreateWhatsAppMessageTemplateCommandInput,
|
|
8
|
+
CreateWhatsAppMessageTemplateCommandOutput,
|
|
9
|
+
} from "./commands/CreateWhatsAppMessageTemplateCommand";
|
|
10
|
+
import {
|
|
11
|
+
CreateWhatsAppMessageTemplateFromLibraryCommandInput,
|
|
12
|
+
CreateWhatsAppMessageTemplateFromLibraryCommandOutput,
|
|
13
|
+
} from "./commands/CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
14
|
+
import {
|
|
15
|
+
CreateWhatsAppMessageTemplateMediaCommandInput,
|
|
16
|
+
CreateWhatsAppMessageTemplateMediaCommandOutput,
|
|
17
|
+
} from "./commands/CreateWhatsAppMessageTemplateMediaCommand";
|
|
6
18
|
import {
|
|
7
19
|
DeleteWhatsAppMessageMediaCommandInput,
|
|
8
20
|
DeleteWhatsAppMessageMediaCommandOutput,
|
|
9
21
|
} from "./commands/DeleteWhatsAppMessageMediaCommand";
|
|
22
|
+
import {
|
|
23
|
+
DeleteWhatsAppMessageTemplateCommandInput,
|
|
24
|
+
DeleteWhatsAppMessageTemplateCommandOutput,
|
|
25
|
+
} from "./commands/DeleteWhatsAppMessageTemplateCommand";
|
|
10
26
|
import {
|
|
11
27
|
DisassociateWhatsAppBusinessAccountCommandInput,
|
|
12
28
|
DisassociateWhatsAppBusinessAccountCommandOutput,
|
|
@@ -23,6 +39,10 @@ import {
|
|
|
23
39
|
GetWhatsAppMessageMediaCommandInput,
|
|
24
40
|
GetWhatsAppMessageMediaCommandOutput,
|
|
25
41
|
} from "./commands/GetWhatsAppMessageMediaCommand";
|
|
42
|
+
import {
|
|
43
|
+
GetWhatsAppMessageTemplateCommandInput,
|
|
44
|
+
GetWhatsAppMessageTemplateCommandOutput,
|
|
45
|
+
} from "./commands/GetWhatsAppMessageTemplateCommand";
|
|
26
46
|
import {
|
|
27
47
|
ListLinkedWhatsAppBusinessAccountsCommandInput,
|
|
28
48
|
ListLinkedWhatsAppBusinessAccountsCommandOutput,
|
|
@@ -31,6 +51,14 @@ import {
|
|
|
31
51
|
ListTagsForResourceCommandInput,
|
|
32
52
|
ListTagsForResourceCommandOutput,
|
|
33
53
|
} from "./commands/ListTagsForResourceCommand";
|
|
54
|
+
import {
|
|
55
|
+
ListWhatsAppMessageTemplatesCommandInput,
|
|
56
|
+
ListWhatsAppMessageTemplatesCommandOutput,
|
|
57
|
+
} from "./commands/ListWhatsAppMessageTemplatesCommand";
|
|
58
|
+
import {
|
|
59
|
+
ListWhatsAppTemplateLibraryCommandInput,
|
|
60
|
+
ListWhatsAppTemplateLibraryCommandOutput,
|
|
61
|
+
} from "./commands/ListWhatsAppTemplateLibraryCommand";
|
|
34
62
|
import {
|
|
35
63
|
PostWhatsAppMessageMediaCommandInput,
|
|
36
64
|
PostWhatsAppMessageMediaCommandOutput,
|
|
@@ -51,6 +79,10 @@ import {
|
|
|
51
79
|
UntagResourceCommandInput,
|
|
52
80
|
UntagResourceCommandOutput,
|
|
53
81
|
} from "./commands/UntagResourceCommand";
|
|
82
|
+
import {
|
|
83
|
+
UpdateWhatsAppMessageTemplateCommandInput,
|
|
84
|
+
UpdateWhatsAppMessageTemplateCommandOutput,
|
|
85
|
+
} from "./commands/UpdateWhatsAppMessageTemplateCommand";
|
|
54
86
|
import { SocialMessagingClient } from "./SocialMessagingClient";
|
|
55
87
|
export interface SocialMessaging {
|
|
56
88
|
associateWhatsAppBusinessAccount(): Promise<AssociateWhatsAppBusinessAccountCommandOutput>;
|
|
@@ -67,6 +99,57 @@ export interface SocialMessaging {
|
|
|
67
99
|
options: __HttpHandlerOptions,
|
|
68
100
|
cb: (err: any, data?: AssociateWhatsAppBusinessAccountCommandOutput) => void
|
|
69
101
|
): void;
|
|
102
|
+
createWhatsAppMessageTemplate(
|
|
103
|
+
args: CreateWhatsAppMessageTemplateCommandInput,
|
|
104
|
+
options?: __HttpHandlerOptions
|
|
105
|
+
): Promise<CreateWhatsAppMessageTemplateCommandOutput>;
|
|
106
|
+
createWhatsAppMessageTemplate(
|
|
107
|
+
args: CreateWhatsAppMessageTemplateCommandInput,
|
|
108
|
+
cb: (err: any, data?: CreateWhatsAppMessageTemplateCommandOutput) => void
|
|
109
|
+
): void;
|
|
110
|
+
createWhatsAppMessageTemplate(
|
|
111
|
+
args: CreateWhatsAppMessageTemplateCommandInput,
|
|
112
|
+
options: __HttpHandlerOptions,
|
|
113
|
+
cb: (err: any, data?: CreateWhatsAppMessageTemplateCommandOutput) => void
|
|
114
|
+
): void;
|
|
115
|
+
createWhatsAppMessageTemplateFromLibrary(
|
|
116
|
+
args: CreateWhatsAppMessageTemplateFromLibraryCommandInput,
|
|
117
|
+
options?: __HttpHandlerOptions
|
|
118
|
+
): Promise<CreateWhatsAppMessageTemplateFromLibraryCommandOutput>;
|
|
119
|
+
createWhatsAppMessageTemplateFromLibrary(
|
|
120
|
+
args: CreateWhatsAppMessageTemplateFromLibraryCommandInput,
|
|
121
|
+
cb: (
|
|
122
|
+
err: any,
|
|
123
|
+
data?: CreateWhatsAppMessageTemplateFromLibraryCommandOutput
|
|
124
|
+
) => void
|
|
125
|
+
): void;
|
|
126
|
+
createWhatsAppMessageTemplateFromLibrary(
|
|
127
|
+
args: CreateWhatsAppMessageTemplateFromLibraryCommandInput,
|
|
128
|
+
options: __HttpHandlerOptions,
|
|
129
|
+
cb: (
|
|
130
|
+
err: any,
|
|
131
|
+
data?: CreateWhatsAppMessageTemplateFromLibraryCommandOutput
|
|
132
|
+
) => void
|
|
133
|
+
): void;
|
|
134
|
+
createWhatsAppMessageTemplateMedia(
|
|
135
|
+
args: CreateWhatsAppMessageTemplateMediaCommandInput,
|
|
136
|
+
options?: __HttpHandlerOptions
|
|
137
|
+
): Promise<CreateWhatsAppMessageTemplateMediaCommandOutput>;
|
|
138
|
+
createWhatsAppMessageTemplateMedia(
|
|
139
|
+
args: CreateWhatsAppMessageTemplateMediaCommandInput,
|
|
140
|
+
cb: (
|
|
141
|
+
err: any,
|
|
142
|
+
data?: CreateWhatsAppMessageTemplateMediaCommandOutput
|
|
143
|
+
) => void
|
|
144
|
+
): void;
|
|
145
|
+
createWhatsAppMessageTemplateMedia(
|
|
146
|
+
args: CreateWhatsAppMessageTemplateMediaCommandInput,
|
|
147
|
+
options: __HttpHandlerOptions,
|
|
148
|
+
cb: (
|
|
149
|
+
err: any,
|
|
150
|
+
data?: CreateWhatsAppMessageTemplateMediaCommandOutput
|
|
151
|
+
) => void
|
|
152
|
+
): void;
|
|
70
153
|
deleteWhatsAppMessageMedia(
|
|
71
154
|
args: DeleteWhatsAppMessageMediaCommandInput,
|
|
72
155
|
options?: __HttpHandlerOptions
|
|
@@ -80,6 +163,19 @@ export interface SocialMessaging {
|
|
|
80
163
|
options: __HttpHandlerOptions,
|
|
81
164
|
cb: (err: any, data?: DeleteWhatsAppMessageMediaCommandOutput) => void
|
|
82
165
|
): void;
|
|
166
|
+
deleteWhatsAppMessageTemplate(
|
|
167
|
+
args: DeleteWhatsAppMessageTemplateCommandInput,
|
|
168
|
+
options?: __HttpHandlerOptions
|
|
169
|
+
): Promise<DeleteWhatsAppMessageTemplateCommandOutput>;
|
|
170
|
+
deleteWhatsAppMessageTemplate(
|
|
171
|
+
args: DeleteWhatsAppMessageTemplateCommandInput,
|
|
172
|
+
cb: (err: any, data?: DeleteWhatsAppMessageTemplateCommandOutput) => void
|
|
173
|
+
): void;
|
|
174
|
+
deleteWhatsAppMessageTemplate(
|
|
175
|
+
args: DeleteWhatsAppMessageTemplateCommandInput,
|
|
176
|
+
options: __HttpHandlerOptions,
|
|
177
|
+
cb: (err: any, data?: DeleteWhatsAppMessageTemplateCommandOutput) => void
|
|
178
|
+
): void;
|
|
83
179
|
disassociateWhatsAppBusinessAccount(
|
|
84
180
|
args: DisassociateWhatsAppBusinessAccountCommandInput,
|
|
85
181
|
options?: __HttpHandlerOptions
|
|
@@ -144,6 +240,19 @@ export interface SocialMessaging {
|
|
|
144
240
|
options: __HttpHandlerOptions,
|
|
145
241
|
cb: (err: any, data?: GetWhatsAppMessageMediaCommandOutput) => void
|
|
146
242
|
): void;
|
|
243
|
+
getWhatsAppMessageTemplate(
|
|
244
|
+
args: GetWhatsAppMessageTemplateCommandInput,
|
|
245
|
+
options?: __HttpHandlerOptions
|
|
246
|
+
): Promise<GetWhatsAppMessageTemplateCommandOutput>;
|
|
247
|
+
getWhatsAppMessageTemplate(
|
|
248
|
+
args: GetWhatsAppMessageTemplateCommandInput,
|
|
249
|
+
cb: (err: any, data?: GetWhatsAppMessageTemplateCommandOutput) => void
|
|
250
|
+
): void;
|
|
251
|
+
getWhatsAppMessageTemplate(
|
|
252
|
+
args: GetWhatsAppMessageTemplateCommandInput,
|
|
253
|
+
options: __HttpHandlerOptions,
|
|
254
|
+
cb: (err: any, data?: GetWhatsAppMessageTemplateCommandOutput) => void
|
|
255
|
+
): void;
|
|
147
256
|
listLinkedWhatsAppBusinessAccounts(): Promise<ListLinkedWhatsAppBusinessAccountsCommandOutput>;
|
|
148
257
|
listLinkedWhatsAppBusinessAccounts(
|
|
149
258
|
args: ListLinkedWhatsAppBusinessAccountsCommandInput,
|
|
@@ -177,6 +286,32 @@ export interface SocialMessaging {
|
|
|
177
286
|
options: __HttpHandlerOptions,
|
|
178
287
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
179
288
|
): void;
|
|
289
|
+
listWhatsAppMessageTemplates(
|
|
290
|
+
args: ListWhatsAppMessageTemplatesCommandInput,
|
|
291
|
+
options?: __HttpHandlerOptions
|
|
292
|
+
): Promise<ListWhatsAppMessageTemplatesCommandOutput>;
|
|
293
|
+
listWhatsAppMessageTemplates(
|
|
294
|
+
args: ListWhatsAppMessageTemplatesCommandInput,
|
|
295
|
+
cb: (err: any, data?: ListWhatsAppMessageTemplatesCommandOutput) => void
|
|
296
|
+
): void;
|
|
297
|
+
listWhatsAppMessageTemplates(
|
|
298
|
+
args: ListWhatsAppMessageTemplatesCommandInput,
|
|
299
|
+
options: __HttpHandlerOptions,
|
|
300
|
+
cb: (err: any, data?: ListWhatsAppMessageTemplatesCommandOutput) => void
|
|
301
|
+
): void;
|
|
302
|
+
listWhatsAppTemplateLibrary(
|
|
303
|
+
args: ListWhatsAppTemplateLibraryCommandInput,
|
|
304
|
+
options?: __HttpHandlerOptions
|
|
305
|
+
): Promise<ListWhatsAppTemplateLibraryCommandOutput>;
|
|
306
|
+
listWhatsAppTemplateLibrary(
|
|
307
|
+
args: ListWhatsAppTemplateLibraryCommandInput,
|
|
308
|
+
cb: (err: any, data?: ListWhatsAppTemplateLibraryCommandOutput) => void
|
|
309
|
+
): void;
|
|
310
|
+
listWhatsAppTemplateLibrary(
|
|
311
|
+
args: ListWhatsAppTemplateLibraryCommandInput,
|
|
312
|
+
options: __HttpHandlerOptions,
|
|
313
|
+
cb: (err: any, data?: ListWhatsAppTemplateLibraryCommandOutput) => void
|
|
314
|
+
): void;
|
|
180
315
|
postWhatsAppMessageMedia(
|
|
181
316
|
args: PostWhatsAppMessageMediaCommandInput,
|
|
182
317
|
options?: __HttpHandlerOptions
|
|
@@ -248,6 +383,19 @@ export interface SocialMessaging {
|
|
|
248
383
|
options: __HttpHandlerOptions,
|
|
249
384
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
250
385
|
): void;
|
|
386
|
+
updateWhatsAppMessageTemplate(
|
|
387
|
+
args: UpdateWhatsAppMessageTemplateCommandInput,
|
|
388
|
+
options?: __HttpHandlerOptions
|
|
389
|
+
): Promise<UpdateWhatsAppMessageTemplateCommandOutput>;
|
|
390
|
+
updateWhatsAppMessageTemplate(
|
|
391
|
+
args: UpdateWhatsAppMessageTemplateCommandInput,
|
|
392
|
+
cb: (err: any, data?: UpdateWhatsAppMessageTemplateCommandOutput) => void
|
|
393
|
+
): void;
|
|
394
|
+
updateWhatsAppMessageTemplate(
|
|
395
|
+
args: UpdateWhatsAppMessageTemplateCommandInput,
|
|
396
|
+
options: __HttpHandlerOptions,
|
|
397
|
+
cb: (err: any, data?: UpdateWhatsAppMessageTemplateCommandOutput) => void
|
|
398
|
+
): void;
|
|
251
399
|
}
|
|
252
400
|
export declare class SocialMessaging
|
|
253
401
|
extends SocialMessagingClient
|
|
@@ -49,10 +49,26 @@ import {
|
|
|
49
49
|
AssociateWhatsAppBusinessAccountCommandInput,
|
|
50
50
|
AssociateWhatsAppBusinessAccountCommandOutput,
|
|
51
51
|
} from "./commands/AssociateWhatsAppBusinessAccountCommand";
|
|
52
|
+
import {
|
|
53
|
+
CreateWhatsAppMessageTemplateCommandInput,
|
|
54
|
+
CreateWhatsAppMessageTemplateCommandOutput,
|
|
55
|
+
} from "./commands/CreateWhatsAppMessageTemplateCommand";
|
|
56
|
+
import {
|
|
57
|
+
CreateWhatsAppMessageTemplateFromLibraryCommandInput,
|
|
58
|
+
CreateWhatsAppMessageTemplateFromLibraryCommandOutput,
|
|
59
|
+
} from "./commands/CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
60
|
+
import {
|
|
61
|
+
CreateWhatsAppMessageTemplateMediaCommandInput,
|
|
62
|
+
CreateWhatsAppMessageTemplateMediaCommandOutput,
|
|
63
|
+
} from "./commands/CreateWhatsAppMessageTemplateMediaCommand";
|
|
52
64
|
import {
|
|
53
65
|
DeleteWhatsAppMessageMediaCommandInput,
|
|
54
66
|
DeleteWhatsAppMessageMediaCommandOutput,
|
|
55
67
|
} from "./commands/DeleteWhatsAppMessageMediaCommand";
|
|
68
|
+
import {
|
|
69
|
+
DeleteWhatsAppMessageTemplateCommandInput,
|
|
70
|
+
DeleteWhatsAppMessageTemplateCommandOutput,
|
|
71
|
+
} from "./commands/DeleteWhatsAppMessageTemplateCommand";
|
|
56
72
|
import {
|
|
57
73
|
DisassociateWhatsAppBusinessAccountCommandInput,
|
|
58
74
|
DisassociateWhatsAppBusinessAccountCommandOutput,
|
|
@@ -69,6 +85,10 @@ import {
|
|
|
69
85
|
GetWhatsAppMessageMediaCommandInput,
|
|
70
86
|
GetWhatsAppMessageMediaCommandOutput,
|
|
71
87
|
} from "./commands/GetWhatsAppMessageMediaCommand";
|
|
88
|
+
import {
|
|
89
|
+
GetWhatsAppMessageTemplateCommandInput,
|
|
90
|
+
GetWhatsAppMessageTemplateCommandOutput,
|
|
91
|
+
} from "./commands/GetWhatsAppMessageTemplateCommand";
|
|
72
92
|
import {
|
|
73
93
|
ListLinkedWhatsAppBusinessAccountsCommandInput,
|
|
74
94
|
ListLinkedWhatsAppBusinessAccountsCommandOutput,
|
|
@@ -77,6 +97,14 @@ import {
|
|
|
77
97
|
ListTagsForResourceCommandInput,
|
|
78
98
|
ListTagsForResourceCommandOutput,
|
|
79
99
|
} from "./commands/ListTagsForResourceCommand";
|
|
100
|
+
import {
|
|
101
|
+
ListWhatsAppMessageTemplatesCommandInput,
|
|
102
|
+
ListWhatsAppMessageTemplatesCommandOutput,
|
|
103
|
+
} from "./commands/ListWhatsAppMessageTemplatesCommand";
|
|
104
|
+
import {
|
|
105
|
+
ListWhatsAppTemplateLibraryCommandInput,
|
|
106
|
+
ListWhatsAppTemplateLibraryCommandOutput,
|
|
107
|
+
} from "./commands/ListWhatsAppTemplateLibraryCommand";
|
|
80
108
|
import {
|
|
81
109
|
PostWhatsAppMessageMediaCommandInput,
|
|
82
110
|
PostWhatsAppMessageMediaCommandOutput,
|
|
@@ -97,6 +125,10 @@ import {
|
|
|
97
125
|
UntagResourceCommandInput,
|
|
98
126
|
UntagResourceCommandOutput,
|
|
99
127
|
} from "./commands/UntagResourceCommand";
|
|
128
|
+
import {
|
|
129
|
+
UpdateWhatsAppMessageTemplateCommandInput,
|
|
130
|
+
UpdateWhatsAppMessageTemplateCommandOutput,
|
|
131
|
+
} from "./commands/UpdateWhatsAppMessageTemplateCommand";
|
|
100
132
|
import {
|
|
101
133
|
ClientInputEndpointParameters,
|
|
102
134
|
ClientResolvedEndpointParameters,
|
|
@@ -106,32 +138,48 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
106
138
|
export { __Client };
|
|
107
139
|
export type ServiceInputTypes =
|
|
108
140
|
| AssociateWhatsAppBusinessAccountCommandInput
|
|
141
|
+
| CreateWhatsAppMessageTemplateCommandInput
|
|
142
|
+
| CreateWhatsAppMessageTemplateFromLibraryCommandInput
|
|
143
|
+
| CreateWhatsAppMessageTemplateMediaCommandInput
|
|
109
144
|
| DeleteWhatsAppMessageMediaCommandInput
|
|
145
|
+
| DeleteWhatsAppMessageTemplateCommandInput
|
|
110
146
|
| DisassociateWhatsAppBusinessAccountCommandInput
|
|
111
147
|
| GetLinkedWhatsAppBusinessAccountCommandInput
|
|
112
148
|
| GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput
|
|
113
149
|
| GetWhatsAppMessageMediaCommandInput
|
|
150
|
+
| GetWhatsAppMessageTemplateCommandInput
|
|
114
151
|
| ListLinkedWhatsAppBusinessAccountsCommandInput
|
|
115
152
|
| ListTagsForResourceCommandInput
|
|
153
|
+
| ListWhatsAppMessageTemplatesCommandInput
|
|
154
|
+
| ListWhatsAppTemplateLibraryCommandInput
|
|
116
155
|
| PostWhatsAppMessageMediaCommandInput
|
|
117
156
|
| PutWhatsAppBusinessAccountEventDestinationsCommandInput
|
|
118
157
|
| SendWhatsAppMessageCommandInput
|
|
119
158
|
| TagResourceCommandInput
|
|
120
|
-
| UntagResourceCommandInput
|
|
159
|
+
| UntagResourceCommandInput
|
|
160
|
+
| UpdateWhatsAppMessageTemplateCommandInput;
|
|
121
161
|
export type ServiceOutputTypes =
|
|
122
162
|
| AssociateWhatsAppBusinessAccountCommandOutput
|
|
163
|
+
| CreateWhatsAppMessageTemplateCommandOutput
|
|
164
|
+
| CreateWhatsAppMessageTemplateFromLibraryCommandOutput
|
|
165
|
+
| CreateWhatsAppMessageTemplateMediaCommandOutput
|
|
123
166
|
| DeleteWhatsAppMessageMediaCommandOutput
|
|
167
|
+
| DeleteWhatsAppMessageTemplateCommandOutput
|
|
124
168
|
| DisassociateWhatsAppBusinessAccountCommandOutput
|
|
125
169
|
| GetLinkedWhatsAppBusinessAccountCommandOutput
|
|
126
170
|
| GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
|
|
127
171
|
| GetWhatsAppMessageMediaCommandOutput
|
|
172
|
+
| GetWhatsAppMessageTemplateCommandOutput
|
|
128
173
|
| ListLinkedWhatsAppBusinessAccountsCommandOutput
|
|
129
174
|
| ListTagsForResourceCommandOutput
|
|
175
|
+
| ListWhatsAppMessageTemplatesCommandOutput
|
|
176
|
+
| ListWhatsAppTemplateLibraryCommandOutput
|
|
130
177
|
| PostWhatsAppMessageMediaCommandOutput
|
|
131
178
|
| PutWhatsAppBusinessAccountEventDestinationsCommandOutput
|
|
132
179
|
| SendWhatsAppMessageCommandOutput
|
|
133
180
|
| TagResourceCommandOutput
|
|
134
|
-
| UntagResourceCommandOutput
|
|
181
|
+
| UntagResourceCommandOutput
|
|
182
|
+
| UpdateWhatsAppMessageTemplateCommandOutput;
|
|
135
183
|
export interface ClientDefaults
|
|
136
184
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
137
185
|
requestHandler?: __HttpHandlerUserInput;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CreateWhatsAppMessageTemplateInput,
|
|
5
|
+
CreateWhatsAppMessageTemplateOutput,
|
|
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 CreateWhatsAppMessageTemplateCommandInput
|
|
15
|
+
extends CreateWhatsAppMessageTemplateInput {}
|
|
16
|
+
export interface CreateWhatsAppMessageTemplateCommandOutput
|
|
17
|
+
extends CreateWhatsAppMessageTemplateOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateWhatsAppMessageTemplateCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateWhatsAppMessageTemplateCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateWhatsAppMessageTemplateCommandInput,
|
|
24
|
+
CreateWhatsAppMessageTemplateCommandOutput,
|
|
25
|
+
SocialMessagingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateWhatsAppMessageTemplateCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateWhatsAppMessageTemplateCommandInput,
|
|
33
|
+
CreateWhatsAppMessageTemplateCommandOutput,
|
|
34
|
+
SocialMessagingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateWhatsAppMessageTemplateCommand extends CreateWhatsAppMessageTemplateCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CreateWhatsAppMessageTemplateInput;
|
|
44
|
+
output: CreateWhatsAppMessageTemplateOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CreateWhatsAppMessageTemplateCommandInput;
|
|
48
|
+
output: CreateWhatsAppMessageTemplateCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CreateWhatsAppMessageTemplateFromLibraryInput,
|
|
5
|
+
CreateWhatsAppMessageTemplateFromLibraryOutput,
|
|
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 CreateWhatsAppMessageTemplateFromLibraryCommandInput
|
|
15
|
+
extends CreateWhatsAppMessageTemplateFromLibraryInput {}
|
|
16
|
+
export interface CreateWhatsAppMessageTemplateFromLibraryCommandOutput
|
|
17
|
+
extends CreateWhatsAppMessageTemplateFromLibraryOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateWhatsAppMessageTemplateFromLibraryCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateWhatsAppMessageTemplateFromLibraryCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateWhatsAppMessageTemplateFromLibraryCommandInput,
|
|
24
|
+
CreateWhatsAppMessageTemplateFromLibraryCommandOutput,
|
|
25
|
+
SocialMessagingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateWhatsAppMessageTemplateFromLibraryCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateWhatsAppMessageTemplateFromLibraryCommandInput,
|
|
33
|
+
CreateWhatsAppMessageTemplateFromLibraryCommandOutput,
|
|
34
|
+
SocialMessagingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateWhatsAppMessageTemplateFromLibraryCommand extends CreateWhatsAppMessageTemplateFromLibraryCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CreateWhatsAppMessageTemplateFromLibraryInput;
|
|
44
|
+
output: CreateWhatsAppMessageTemplateFromLibraryOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CreateWhatsAppMessageTemplateFromLibraryCommandInput;
|
|
48
|
+
output: CreateWhatsAppMessageTemplateFromLibraryCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CreateWhatsAppMessageTemplateMediaInput,
|
|
5
|
+
CreateWhatsAppMessageTemplateMediaOutput,
|
|
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 CreateWhatsAppMessageTemplateMediaCommandInput
|
|
15
|
+
extends CreateWhatsAppMessageTemplateMediaInput {}
|
|
16
|
+
export interface CreateWhatsAppMessageTemplateMediaCommandOutput
|
|
17
|
+
extends CreateWhatsAppMessageTemplateMediaOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateWhatsAppMessageTemplateMediaCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateWhatsAppMessageTemplateMediaCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateWhatsAppMessageTemplateMediaCommandInput,
|
|
24
|
+
CreateWhatsAppMessageTemplateMediaCommandOutput,
|
|
25
|
+
SocialMessagingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateWhatsAppMessageTemplateMediaCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateWhatsAppMessageTemplateMediaCommandInput,
|
|
33
|
+
CreateWhatsAppMessageTemplateMediaCommandOutput,
|
|
34
|
+
SocialMessagingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateWhatsAppMessageTemplateMediaCommand extends CreateWhatsAppMessageTemplateMediaCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CreateWhatsAppMessageTemplateMediaInput;
|
|
44
|
+
output: CreateWhatsAppMessageTemplateMediaOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CreateWhatsAppMessageTemplateMediaCommandInput;
|
|
48
|
+
output: CreateWhatsAppMessageTemplateMediaCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DeleteWhatsAppMessageTemplateInput,
|
|
5
|
+
DeleteWhatsAppMessageTemplateOutput,
|
|
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 DeleteWhatsAppMessageTemplateCommandInput
|
|
15
|
+
extends DeleteWhatsAppMessageTemplateInput {}
|
|
16
|
+
export interface DeleteWhatsAppMessageTemplateCommandOutput
|
|
17
|
+
extends DeleteWhatsAppMessageTemplateOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteWhatsAppMessageTemplateCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteWhatsAppMessageTemplateCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteWhatsAppMessageTemplateCommandInput,
|
|
24
|
+
DeleteWhatsAppMessageTemplateCommandOutput,
|
|
25
|
+
SocialMessagingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DeleteWhatsAppMessageTemplateCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteWhatsAppMessageTemplateCommandInput,
|
|
33
|
+
DeleteWhatsAppMessageTemplateCommandOutput,
|
|
34
|
+
SocialMessagingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteWhatsAppMessageTemplateCommand extends DeleteWhatsAppMessageTemplateCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteWhatsAppMessageTemplateInput;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteWhatsAppMessageTemplateCommandInput;
|
|
48
|
+
output: DeleteWhatsAppMessageTemplateCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|