@aws-sdk/client-socialmessaging 3.928.0 → 3.929.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 (45) hide show
  1. package/dist-cjs/index.js +1106 -1014
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SocialMessagingClient.js +2 -0
  4. package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +3 -10
  5. package/dist-es/commands/CreateWhatsAppMessageTemplateCommand.js +3 -9
  6. package/dist-es/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +3 -9
  7. package/dist-es/commands/CreateWhatsAppMessageTemplateMediaCommand.js +3 -10
  8. package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +3 -9
  9. package/dist-es/commands/DeleteWhatsAppMessageTemplateCommand.js +3 -9
  10. package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +3 -9
  11. package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +3 -9
  12. package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +3 -9
  13. package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +3 -10
  14. package/dist-es/commands/GetWhatsAppMessageTemplateCommand.js +3 -9
  15. package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +3 -9
  16. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  17. package/dist-es/commands/ListWhatsAppMessageTemplatesCommand.js +3 -9
  18. package/dist-es/commands/ListWhatsAppTemplateLibraryCommand.js +3 -9
  19. package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +3 -10
  20. package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +3 -9
  21. package/dist-es/commands/SendWhatsAppMessageCommand.js +3 -10
  22. package/dist-es/commands/TagResourceCommand.js +3 -9
  23. package/dist-es/commands/UntagResourceCommand.js +3 -9
  24. package/dist-es/commands/UpdateWhatsAppMessageTemplateCommand.js +3 -9
  25. package/dist-es/models/models_0.js +0 -52
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-es/schemas/schemas_0.js +1053 -0
  28. package/dist-types/SocialMessagingClient.d.ts +10 -1
  29. package/dist-types/models/models_0.d.ts +0 -44
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/schemas/schemas_0.d.ts +116 -0
  35. package/dist-types/ts3.4/SocialMessagingClient.d.ts +4 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +0 -31
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +123 -0
  42. package/package.json +2 -2
  43. package/dist-es/protocols/Aws_restJson1.js +0 -789
  44. package/dist-types/protocols/Aws_restJson1.d.ts +0 -191
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -257
@@ -0,0 +1,1053 @@
1
+ const _ADBME = "AccessDeniedByMetaException";
2
+ const _ADE = "AccessDeniedException";
3
+ const _AIPT = "AssociateInProgressToken";
4
+ const _AWABA = "AssociateWhatsAppBusinessAccount";
5
+ const _AWABAI = "AssociateWhatsAppBusinessAccountInput";
6
+ const _AWABAO = "AssociateWhatsAppBusinessAccountOutput";
7
+ const _CWAMT = "CreateWhatsAppMessageTemplate";
8
+ const _CWAMTFL = "CreateWhatsAppMessageTemplateFromLibrary";
9
+ const _CWAMTFLI = "CreateWhatsAppMessageTemplateFromLibraryInput";
10
+ const _CWAMTFLO = "CreateWhatsAppMessageTemplateFromLibraryOutput";
11
+ const _CWAMTI = "CreateWhatsAppMessageTemplateInput";
12
+ const _CWAMTM = "CreateWhatsAppMessageTemplateMedia";
13
+ const _CWAMTMI = "CreateWhatsAppMessageTemplateMediaInput";
14
+ const _CWAMTMO = "CreateWhatsAppMessageTemplateMediaOutput";
15
+ const _CWAMTO = "CreateWhatsAppMessageTemplateOutput";
16
+ const _DE = "DependencyException";
17
+ const _DWABA = "DisassociateWhatsAppBusinessAccount";
18
+ const _DWABAI = "DisassociateWhatsAppBusinessAccountInput";
19
+ const _DWABAO = "DisassociateWhatsAppBusinessAccountOutput";
20
+ const _DWAMM = "DeleteWhatsAppMessageMedia";
21
+ const _DWAMMI = "DeleteWhatsAppMessageMediaInput";
22
+ const _DWAMMO = "DeleteWhatsAppMessageMediaOutput";
23
+ const _DWAMT = "DeleteWhatsAppMessageTemplate";
24
+ const _DWAMTI = "DeleteWhatsAppMessageTemplateInput";
25
+ const _DWAMTO = "DeleteWhatsAppMessageTemplateOutput";
26
+ const _GLWABA = "GetLinkedWhatsAppBusinessAccount";
27
+ const _GLWABAI = "GetLinkedWhatsAppBusinessAccountInput";
28
+ const _GLWABAO = "GetLinkedWhatsAppBusinessAccountOutput";
29
+ const _GLWABAPN = "GetLinkedWhatsAppBusinessAccountPhoneNumber";
30
+ const _GLWABAPNI = "GetLinkedWhatsAppBusinessAccountPhoneNumberInput";
31
+ const _GLWABAPNO = "GetLinkedWhatsAppBusinessAccountPhoneNumberOutput";
32
+ const _GWAMM = "GetWhatsAppMessageMedia";
33
+ const _GWAMMI = "GetWhatsAppMessageMediaInput";
34
+ const _GWAMMO = "GetWhatsAppMessageMediaOutput";
35
+ const _GWAMT = "GetWhatsAppMessageTemplate";
36
+ const _GWAMTI = "GetWhatsAppMessageTemplateInput";
37
+ const _GWAMTO = "GetWhatsAppMessageTemplateOutput";
38
+ const _IPE = "InvalidParametersException";
39
+ const _ISE = "InternalServiceException";
40
+ const _LAWIS = "LinkedAccountWithIncompleteSetup";
41
+ const _LEE = "LimitExceededException";
42
+ const _LLWABA = "ListLinkedWhatsAppBusinessAccounts";
43
+ const _LLWABAI = "ListLinkedWhatsAppBusinessAccountsInput";
44
+ const _LLWABAO = "ListLinkedWhatsAppBusinessAccountsOutput";
45
+ const _LTBI = "LibraryTemplateBodyInputs";
46
+ const _LTBIi = "LibraryTemplateButtonInput";
47
+ const _LTBL = "LibraryTemplateButtonList";
48
+ const _LTFR = "ListTagsForResource";
49
+ const _LTFRI = "ListTagsForResourceInput";
50
+ const _LTFRO = "ListTagsForResourceOutput";
51
+ const _LWABA = "LinkedWhatsAppBusinessAccount";
52
+ const _LWABAIMD = "LinkedWhatsAppBusinessAccountIdMetaData";
53
+ const _LWABAS = "LinkedWhatsAppBusinessAccountSummary";
54
+ const _LWABASL = "LinkedWhatsAppBusinessAccountSummaryList";
55
+ const _LWAMT = "ListWhatsAppMessageTemplates";
56
+ const _LWAMTI = "ListWhatsAppMessageTemplatesInput";
57
+ const _LWAMTO = "ListWhatsAppMessageTemplatesOutput";
58
+ const _LWATL = "ListWhatsAppTemplateLibrary";
59
+ const _LWATLI = "ListWhatsAppTemplateLibraryInput";
60
+ const _LWATLO = "ListWhatsAppTemplateLibraryOutput";
61
+ const _MLT = "MetaLibraryTemplate";
62
+ const _MLTBI = "MetaLibraryTemplateButtonInputs";
63
+ const _MLTBL = "MetaLibraryTemplateButtonList";
64
+ const _MLTD = "MetaLibraryTemplateDefinition";
65
+ const _MLTL = "MetaLibraryTemplatesList";
66
+ const _PWABAED = "PutWhatsAppBusinessAccountEventDestinations";
67
+ const _PWABAEDI = "PutWhatsAppBusinessAccountEventDestinationsInput";
68
+ const _PWABAEDO = "PutWhatsAppBusinessAccountEventDestinationsOutput";
69
+ const _PWAMM = "PostWhatsAppMessageMedia";
70
+ const _PWAMMI = "PostWhatsAppMessageMediaInput";
71
+ const _PWAMMO = "PostWhatsAppMessageMediaOutput";
72
+ const _RNFE = "ResourceNotFoundException";
73
+ const _SA = "SupportedApps";
74
+ const _SF = "S3File";
75
+ const _SPU = "S3PresignedUrl";
76
+ const _SWAM = "SendWhatsAppMessage";
77
+ const _SWAMI = "SendWhatsAppMessageInput";
78
+ const _SWAMO = "SendWhatsAppMessageOutput";
79
+ const _T = "Tag";
80
+ const _TFP = "TwoFactorPin";
81
+ const _TL = "TagList";
82
+ const _TR = "TagResource";
83
+ const _TRE = "ThrottledRequestException";
84
+ const _TRI = "TagResourceInput";
85
+ const _TRO = "TagResourceOutput";
86
+ const _TS = "TemplateSummary";
87
+ const _TSL = "TemplateSummaryList";
88
+ const _UR = "UntagResource";
89
+ const _URI = "UntagResourceInput";
90
+ const _URO = "UntagResourceOutput";
91
+ const _UWAMT = "UpdateWhatsAppMessageTemplate";
92
+ const _UWAMTI = "UpdateWhatsAppMessageTemplateInput";
93
+ const _UWAMTO = "UpdateWhatsAppMessageTemplateOutput";
94
+ const _VE = "ValidationException";
95
+ const _WABAED = "WhatsAppBusinessAccountEventDestination";
96
+ const _WABAEDh = "WhatsAppBusinessAccountEventDestinations";
97
+ const _WAMB = "WhatsAppMessageBlob";
98
+ const _WAPND = "WhatsAppPhoneNumberDetail";
99
+ const _WAPNDL = "WhatsAppPhoneNumberDetailList";
100
+ const _WAPNS = "WhatsAppPhoneNumberSummary";
101
+ const _WAPNSL = "WhatsAppPhoneNumberSummaryList";
102
+ const _WASC = "WhatsAppSignupCallback";
103
+ const _WASCR = "WhatsAppSignupCallbackResult";
104
+ const _WASF = "WhatsAppSetupFinalization";
105
+ const _WPNSF = "WabaPhoneNumberSetupFinalization";
106
+ const _WPNSFL = "WabaPhoneNumberSetupFinalizationList";
107
+ const _WSF = "WabaSetupFinalization";
108
+ const _a = "account";
109
+ const _aCN = "addContactNumber";
110
+ const _aIPT = "associateInProgressToken";
111
+ const _aLML = "addLearnMoreLink";
112
+ const _aN = "accountName";
113
+ const _aSR = "addSecurityRecommendation";
114
+ const _aT = "accessToken";
115
+ const _aTPL = "addTrackPackageLink";
116
+ const _ar = "arn";
117
+ const _bN = "bucketName";
118
+ const _c = "client";
119
+ const _cEM = "codeExpirationMinutes";
120
+ const _cU = "callbackUrl";
121
+ const _ca = "category";
122
+ const _dAL = "deleteAllLanguages";
123
+ const _dAT = "deleteAllTemplates";
124
+ const _dLR = "dataLocalizationRegion";
125
+ const _dPN = "displayPhoneNumber";
126
+ const _dPNN = "displayPhoneNumberName";
127
+ const _dSF = "destinationS3File";
128
+ const _dSPU = "destinationS3PresignedUrl";
129
+ const _e = "error";
130
+ const _eD = "eventDestinations";
131
+ const _eDA = "eventDestinationArn";
132
+ const _f = "filters";
133
+ const _fS = "fileSize";
134
+ const _h = "headers";
135
+ const _hE = "httpError";
136
+ const _hQ = "httpQuery";
137
+ const _ht = "http";
138
+ const _i = "id";
139
+ const _k = "key";
140
+ const _lA = "linkedAccounts";
141
+ const _lAWIS = "linkedAccountsWithIncompleteSetup";
142
+ const _lD = "linkDate";
143
+ const _lTBI = "libraryTemplateButtonInputs";
144
+ const _lTBIi = "libraryTemplateBodyInputs";
145
+ const _lTN = "libraryTemplateName";
146
+ const _lWABAI = "linkedWhatsAppBusinessAccountId";
147
+ const _m = "message";
148
+ const _mAV = "metaApiVersion";
149
+ const _mHH = "metaHeaderHandle";
150
+ const _mI = "mediaId";
151
+ const _mIe = "messageId";
152
+ const _mLT = "metaLibraryTemplate";
153
+ const _mLTe = "metaLibraryTemplates";
154
+ const _mO = "metadataOnly";
155
+ const _mPNI = "metaPhoneNumberId";
156
+ const _mR = "maxResults";
157
+ const _mT = "mimeType";
158
+ const _mTI = "metaTemplateId";
159
+ const _nT = "nextToken";
160
+ const _oPNI = "originationPhoneNumberId";
161
+ const _oT = "otpType";
162
+ const _pN = "phoneNumber";
163
+ const _pNI = "phoneNumberId";
164
+ const _pNP = "phoneNumberParent";
165
+ const _pNh = "phoneNumbers";
166
+ const _qR = "qualityRating";
167
+ const _rA = "resourceArn";
168
+ const _rAo = "roleArn";
169
+ const _rS = "registrationStatus";
170
+ const _s = "success";
171
+ const _sA = "supportedApps";
172
+ const _sC = "signupCallback";
173
+ const _sCR = "signupCallbackResult";
174
+ const _sCt = "statusCode";
175
+ const _sF = "setupFinalization";
176
+ const _sSF = "sourceS3File";
177
+ const _sSPU = "sourceS3PresignedUrl";
178
+ const _se = "server";
179
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.socialmessaging";
180
+ const _t = "template";
181
+ const _tB = "templateBody";
182
+ const _tBe = "templateButtons";
183
+ const _tC = "templateCategory";
184
+ const _tCe = "templateComponents";
185
+ const _tD = "templateDefinition";
186
+ const _tFP = "twoFactorPin";
187
+ const _tH = "templateHeader";
188
+ const _tI = "templateIndustry";
189
+ const _tIe = "templateId";
190
+ const _tK = "tagKeys";
191
+ const _tL = "templateLanguage";
192
+ const _tN = "templateName";
193
+ const _tQS = "templateQualityScore";
194
+ const _tS = "templateStatus";
195
+ const _tT = "templateTopic";
196
+ const _tUC = "templateUseCase";
197
+ const _ta = "tags";
198
+ const _te = "text";
199
+ const _tem = "templates";
200
+ const _ty = "type";
201
+ const _u = "url";
202
+ const _uWAPN = "unregisteredWhatsAppPhoneNumbers";
203
+ const _v = "value";
204
+ const _w = "waba";
205
+ const _wI = "wabaId";
206
+ const _wN = "wabaName";
207
+ const _zTTA = "zeroTapTermsAccepted";
208
+ const n0 = "com.amazonaws.socialmessaging";
209
+ import { TypeRegistry } from "@smithy/core/schema";
210
+ import { AccessDeniedByMetaException as __AccessDeniedByMetaException, AccessDeniedException as __AccessDeniedException, DependencyException as __DependencyException, InternalServiceException as __InternalServiceException, InvalidParametersException as __InvalidParametersException, LimitExceededException as __LimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ThrottledRequestException as __ThrottledRequestException, ValidationException as __ValidationException, } from "../models/index";
211
+ import { SocialMessagingServiceException as __SocialMessagingServiceException } from "../models/SocialMessagingServiceException";
212
+ export var AssociateInProgressToken = [0, n0, _AIPT, 8, 0];
213
+ export var TwoFactorPin = [0, n0, _TFP, 8, 0];
214
+ export var WhatsAppMessageBlob = [0, n0, _WAMB, 8, 21];
215
+ export var AccessDeniedByMetaException = [
216
+ -3,
217
+ n0,
218
+ _ADBME,
219
+ {
220
+ [_e]: _c,
221
+ [_hE]: 403,
222
+ },
223
+ [_m],
224
+ [0],
225
+ ];
226
+ TypeRegistry.for(n0).registerError(AccessDeniedByMetaException, __AccessDeniedByMetaException);
227
+ export var AccessDeniedException = [
228
+ -3,
229
+ n0,
230
+ _ADE,
231
+ {
232
+ [_e]: _c,
233
+ [_hE]: 403,
234
+ },
235
+ [_m],
236
+ [0],
237
+ ];
238
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
239
+ export var AssociateWhatsAppBusinessAccountInput = [
240
+ 3,
241
+ n0,
242
+ _AWABAI,
243
+ 0,
244
+ [_sC, _sF],
245
+ [() => WhatsAppSignupCallback, [() => WhatsAppSetupFinalization, 0]],
246
+ ];
247
+ export var AssociateWhatsAppBusinessAccountOutput = [
248
+ 3,
249
+ n0,
250
+ _AWABAO,
251
+ 0,
252
+ [_sCR, _sCt],
253
+ [[() => WhatsAppSignupCallbackResult, 0], 1],
254
+ ];
255
+ export var CreateWhatsAppMessageTemplateFromLibraryInput = [
256
+ 3,
257
+ n0,
258
+ _CWAMTFLI,
259
+ 0,
260
+ [_mLT, _i],
261
+ [() => MetaLibraryTemplate, 0],
262
+ ];
263
+ export var CreateWhatsAppMessageTemplateFromLibraryOutput = [
264
+ 3,
265
+ n0,
266
+ _CWAMTFLO,
267
+ 0,
268
+ [_mTI, _tS, _ca],
269
+ [0, 0, 0],
270
+ ];
271
+ export var CreateWhatsAppMessageTemplateInput = [3, n0, _CWAMTI, 0, [_tD, _i], [21, 0]];
272
+ export var CreateWhatsAppMessageTemplateMediaInput = [
273
+ 3,
274
+ n0,
275
+ _CWAMTMI,
276
+ 0,
277
+ [_i, _sSF],
278
+ [0, [() => S3File, 0]],
279
+ ];
280
+ export var CreateWhatsAppMessageTemplateMediaOutput = [3, n0, _CWAMTMO, 0, [_mHH], [0]];
281
+ export var CreateWhatsAppMessageTemplateOutput = [
282
+ 3,
283
+ n0,
284
+ _CWAMTO,
285
+ 0,
286
+ [_mTI, _tS, _ca],
287
+ [0, 0, 0],
288
+ ];
289
+ export var DeleteWhatsAppMessageMediaInput = [
290
+ 3,
291
+ n0,
292
+ _DWAMMI,
293
+ 0,
294
+ [_mI, _oPNI],
295
+ [
296
+ [
297
+ 0,
298
+ {
299
+ [_hQ]: _mI,
300
+ },
301
+ ],
302
+ [
303
+ 0,
304
+ {
305
+ [_hQ]: _oPNI,
306
+ },
307
+ ],
308
+ ],
309
+ ];
310
+ export var DeleteWhatsAppMessageMediaOutput = [3, n0, _DWAMMO, 0, [_s], [2]];
311
+ export var DeleteWhatsAppMessageTemplateInput = [
312
+ 3,
313
+ n0,
314
+ _DWAMTI,
315
+ 0,
316
+ [_mTI, _dAL, _i, _tN],
317
+ [
318
+ [
319
+ 0,
320
+ {
321
+ [_hQ]: _mTI,
322
+ },
323
+ ],
324
+ [
325
+ 2,
326
+ {
327
+ [_hQ]: _dAT,
328
+ },
329
+ ],
330
+ [
331
+ 0,
332
+ {
333
+ [_hQ]: _i,
334
+ },
335
+ ],
336
+ [
337
+ 0,
338
+ {
339
+ [_hQ]: _tN,
340
+ },
341
+ ],
342
+ ],
343
+ ];
344
+ export var DeleteWhatsAppMessageTemplateOutput = [3, n0, _DWAMTO, 0, [], []];
345
+ export var DependencyException = [
346
+ -3,
347
+ n0,
348
+ _DE,
349
+ {
350
+ [_e]: _se,
351
+ [_hE]: 502,
352
+ },
353
+ [_m],
354
+ [0],
355
+ ];
356
+ TypeRegistry.for(n0).registerError(DependencyException, __DependencyException);
357
+ export var DisassociateWhatsAppBusinessAccountInput = [
358
+ 3,
359
+ n0,
360
+ _DWABAI,
361
+ 0,
362
+ [_i],
363
+ [
364
+ [
365
+ 0,
366
+ {
367
+ [_hQ]: _i,
368
+ },
369
+ ],
370
+ ],
371
+ ];
372
+ export var DisassociateWhatsAppBusinessAccountOutput = [3, n0, _DWABAO, 0, [], []];
373
+ export var GetLinkedWhatsAppBusinessAccountInput = [
374
+ 3,
375
+ n0,
376
+ _GLWABAI,
377
+ 0,
378
+ [_i],
379
+ [
380
+ [
381
+ 0,
382
+ {
383
+ [_hQ]: _i,
384
+ },
385
+ ],
386
+ ],
387
+ ];
388
+ export var GetLinkedWhatsAppBusinessAccountOutput = [
389
+ 3,
390
+ n0,
391
+ _GLWABAO,
392
+ 0,
393
+ [_a],
394
+ [() => LinkedWhatsAppBusinessAccount],
395
+ ];
396
+ export var GetLinkedWhatsAppBusinessAccountPhoneNumberInput = [
397
+ 3,
398
+ n0,
399
+ _GLWABAPNI,
400
+ 0,
401
+ [_i],
402
+ [
403
+ [
404
+ 0,
405
+ {
406
+ [_hQ]: _i,
407
+ },
408
+ ],
409
+ ],
410
+ ];
411
+ export var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput = [
412
+ 3,
413
+ n0,
414
+ _GLWABAPNO,
415
+ 0,
416
+ [_pN, _lWABAI],
417
+ [() => WhatsAppPhoneNumberDetail, 0],
418
+ ];
419
+ export var GetWhatsAppMessageMediaInput = [
420
+ 3,
421
+ n0,
422
+ _GWAMMI,
423
+ 0,
424
+ [_mI, _oPNI, _mO, _dSPU, _dSF],
425
+ [0, 0, 2, [() => S3PresignedUrl, 0], [() => S3File, 0]],
426
+ ];
427
+ export var GetWhatsAppMessageMediaOutput = [3, n0, _GWAMMO, 0, [_mT, _fS], [0, 1]];
428
+ export var GetWhatsAppMessageTemplateInput = [
429
+ 3,
430
+ n0,
431
+ _GWAMTI,
432
+ 0,
433
+ [_mTI, _i],
434
+ [
435
+ [
436
+ 0,
437
+ {
438
+ [_hQ]: _mTI,
439
+ },
440
+ ],
441
+ [
442
+ 0,
443
+ {
444
+ [_hQ]: _i,
445
+ },
446
+ ],
447
+ ],
448
+ ];
449
+ export var GetWhatsAppMessageTemplateOutput = [3, n0, _GWAMTO, 0, [_t], [0]];
450
+ export var InternalServiceException = [
451
+ -3,
452
+ n0,
453
+ _ISE,
454
+ {
455
+ [_e]: _se,
456
+ [_hE]: 500,
457
+ },
458
+ [_m],
459
+ [0],
460
+ ];
461
+ TypeRegistry.for(n0).registerError(InternalServiceException, __InternalServiceException);
462
+ export var InvalidParametersException = [
463
+ -3,
464
+ n0,
465
+ _IPE,
466
+ {
467
+ [_e]: _c,
468
+ [_hE]: 400,
469
+ },
470
+ [_m],
471
+ [0],
472
+ ];
473
+ TypeRegistry.for(n0).registerError(InvalidParametersException, __InvalidParametersException);
474
+ export var LibraryTemplateBodyInputs = [
475
+ 3,
476
+ n0,
477
+ _LTBI,
478
+ 0,
479
+ [_aCN, _aLML, _aSR, _aTPL, _cEM],
480
+ [2, 2, 2, 2, 1],
481
+ ];
482
+ export var LibraryTemplateButtonInput = [
483
+ 3,
484
+ n0,
485
+ _LTBIi,
486
+ 0,
487
+ [_ty, _pN, _u, _oT, _zTTA, _sA],
488
+ [0, 0, 128 | 0, 0, 2, [1, n0, _SA, 0, 128 | 0]],
489
+ ];
490
+ export var LibraryTemplateButtonList = [
491
+ 3,
492
+ n0,
493
+ _LTBL,
494
+ 0,
495
+ [_ty, _te, _pN, _u, _oT, _zTTA, _sA],
496
+ [0, 0, 0, 0, 0, 2, [1, n0, _SA, 0, 128 | 0]],
497
+ ];
498
+ export var LimitExceededException = [
499
+ -3,
500
+ n0,
501
+ _LEE,
502
+ {
503
+ [_e]: _c,
504
+ [_hE]: 400,
505
+ },
506
+ [_m],
507
+ [0],
508
+ ];
509
+ TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException);
510
+ export var LinkedWhatsAppBusinessAccount = [
511
+ 3,
512
+ n0,
513
+ _LWABA,
514
+ 0,
515
+ [_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh],
516
+ [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList],
517
+ ];
518
+ export var LinkedWhatsAppBusinessAccountIdMetaData = [
519
+ 3,
520
+ n0,
521
+ _LWABAIMD,
522
+ 0,
523
+ [_aN, _rS, _uWAPN, _wI],
524
+ [0, 0, () => WhatsAppPhoneNumberDetailList, 0],
525
+ ];
526
+ export var LinkedWhatsAppBusinessAccountSummary = [
527
+ 3,
528
+ n0,
529
+ _LWABAS,
530
+ 0,
531
+ [_ar, _i, _wI, _rS, _lD, _wN, _eD],
532
+ [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations],
533
+ ];
534
+ export var ListLinkedWhatsAppBusinessAccountsInput = [
535
+ 3,
536
+ n0,
537
+ _LLWABAI,
538
+ 0,
539
+ [_nT, _mR],
540
+ [
541
+ [
542
+ 0,
543
+ {
544
+ [_hQ]: _nT,
545
+ },
546
+ ],
547
+ [
548
+ 1,
549
+ {
550
+ [_hQ]: _mR,
551
+ },
552
+ ],
553
+ ],
554
+ ];
555
+ export var ListLinkedWhatsAppBusinessAccountsOutput = [
556
+ 3,
557
+ n0,
558
+ _LLWABAO,
559
+ 0,
560
+ [_lA, _nT],
561
+ [() => LinkedWhatsAppBusinessAccountSummaryList, 0],
562
+ ];
563
+ export var ListTagsForResourceInput = [
564
+ 3,
565
+ n0,
566
+ _LTFRI,
567
+ 0,
568
+ [_rA],
569
+ [
570
+ [
571
+ 0,
572
+ {
573
+ [_hQ]: _rA,
574
+ },
575
+ ],
576
+ ],
577
+ ];
578
+ export var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_sCt, _ta], [1, () => TagList]];
579
+ export var ListWhatsAppMessageTemplatesInput = [
580
+ 3,
581
+ n0,
582
+ _LWAMTI,
583
+ 0,
584
+ [_i, _nT, _mR],
585
+ [
586
+ [
587
+ 0,
588
+ {
589
+ [_hQ]: _i,
590
+ },
591
+ ],
592
+ [
593
+ 0,
594
+ {
595
+ [_hQ]: _nT,
596
+ },
597
+ ],
598
+ [
599
+ 1,
600
+ {
601
+ [_hQ]: _mR,
602
+ },
603
+ ],
604
+ ],
605
+ ];
606
+ export var ListWhatsAppMessageTemplatesOutput = [
607
+ 3,
608
+ n0,
609
+ _LWAMTO,
610
+ 0,
611
+ [_tem, _nT],
612
+ [() => TemplateSummaryList, 0],
613
+ ];
614
+ export var ListWhatsAppTemplateLibraryInput = [
615
+ 3,
616
+ n0,
617
+ _LWATLI,
618
+ 0,
619
+ [_nT, _mR, _i, _f],
620
+ [
621
+ 0,
622
+ 1,
623
+ [
624
+ 0,
625
+ {
626
+ [_hQ]: _i,
627
+ },
628
+ ],
629
+ 128 | 0,
630
+ ],
631
+ ];
632
+ export var ListWhatsAppTemplateLibraryOutput = [
633
+ 3,
634
+ n0,
635
+ _LWATLO,
636
+ 0,
637
+ [_mLTe, _nT],
638
+ [() => MetaLibraryTemplatesList, 0],
639
+ ];
640
+ export var MetaLibraryTemplate = [
641
+ 3,
642
+ n0,
643
+ _MLT,
644
+ 0,
645
+ [_tN, _lTN, _tC, _tL, _lTBI, _lTBIi],
646
+ [0, 0, 0, 0, () => MetaLibraryTemplateButtonInputs, () => LibraryTemplateBodyInputs],
647
+ ];
648
+ export var MetaLibraryTemplateDefinition = [
649
+ 3,
650
+ n0,
651
+ _MLTD,
652
+ 0,
653
+ [_tN, _tL, _tC, _tT, _tUC, _tI, _tH, _tB, _tBe, _tIe],
654
+ [0, 0, 0, 0, 0, 64 | 0, 0, 0, () => MetaLibraryTemplateButtonList, 0],
655
+ ];
656
+ export var PostWhatsAppMessageMediaInput = [
657
+ 3,
658
+ n0,
659
+ _PWAMMI,
660
+ 0,
661
+ [_oPNI, _sSPU, _sSF],
662
+ [0, [() => S3PresignedUrl, 0], [() => S3File, 0]],
663
+ ];
664
+ export var PostWhatsAppMessageMediaOutput = [3, n0, _PWAMMO, 0, [_mI], [0]];
665
+ export var PutWhatsAppBusinessAccountEventDestinationsInput = [
666
+ 3,
667
+ n0,
668
+ _PWABAEDI,
669
+ 0,
670
+ [_i, _eD],
671
+ [0, () => WhatsAppBusinessAccountEventDestinations],
672
+ ];
673
+ export var PutWhatsAppBusinessAccountEventDestinationsOutput = [3, n0, _PWABAEDO, 0, [], []];
674
+ export var ResourceNotFoundException = [
675
+ -3,
676
+ n0,
677
+ _RNFE,
678
+ {
679
+ [_e]: _c,
680
+ [_hE]: 404,
681
+ },
682
+ [_m],
683
+ [0],
684
+ ];
685
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
686
+ export var S3File = [3, n0, _SF, 8, [_bN, _k], [0, 0]];
687
+ export var S3PresignedUrl = [3, n0, _SPU, 8, [_u, _h], [0, 128 | 0]];
688
+ export var SendWhatsAppMessageInput = [
689
+ 3,
690
+ n0,
691
+ _SWAMI,
692
+ 0,
693
+ [_oPNI, _m, _mAV],
694
+ [0, [() => WhatsAppMessageBlob, 0], 0],
695
+ ];
696
+ export var SendWhatsAppMessageOutput = [3, n0, _SWAMO, 0, [_mIe], [0]];
697
+ export var Tag = [3, n0, _T, 0, [_k, _v], [0, 0]];
698
+ export var TagResourceInput = [3, n0, _TRI, 0, [_rA, _ta], [0, () => TagList]];
699
+ export var TagResourceOutput = [3, n0, _TRO, 0, [_sCt], [1]];
700
+ export var TemplateSummary = [
701
+ 3,
702
+ n0,
703
+ _TS,
704
+ 0,
705
+ [_tN, _mTI, _tS, _tQS, _tL, _tC],
706
+ [0, 0, 0, 0, 0, 0],
707
+ ];
708
+ export var ThrottledRequestException = [
709
+ -3,
710
+ n0,
711
+ _TRE,
712
+ {
713
+ [_e]: _c,
714
+ [_hE]: 429,
715
+ },
716
+ [_m],
717
+ [0],
718
+ ];
719
+ TypeRegistry.for(n0).registerError(ThrottledRequestException, __ThrottledRequestException);
720
+ export var UntagResourceInput = [3, n0, _URI, 0, [_rA, _tK], [0, 64 | 0]];
721
+ export var UntagResourceOutput = [3, n0, _URO, 0, [_sCt], [1]];
722
+ export var UpdateWhatsAppMessageTemplateInput = [
723
+ 3,
724
+ n0,
725
+ _UWAMTI,
726
+ 0,
727
+ [_i, _mTI, _tC, _tCe],
728
+ [0, 0, 0, 21],
729
+ ];
730
+ export var UpdateWhatsAppMessageTemplateOutput = [3, n0, _UWAMTO, 0, [], []];
731
+ export var ValidationException = [
732
+ -3,
733
+ n0,
734
+ _VE,
735
+ {
736
+ [_e]: _c,
737
+ [_hE]: 400,
738
+ },
739
+ [_m],
740
+ [0],
741
+ ];
742
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
743
+ export var WabaPhoneNumberSetupFinalization = [
744
+ 3,
745
+ n0,
746
+ _WPNSF,
747
+ 0,
748
+ [_i, _tFP, _dLR, _ta],
749
+ [0, [() => TwoFactorPin, 0], 0, () => TagList],
750
+ ];
751
+ export var WabaSetupFinalization = [
752
+ 3,
753
+ n0,
754
+ _WSF,
755
+ 0,
756
+ [_i, _eD, _ta],
757
+ [0, () => WhatsAppBusinessAccountEventDestinations, () => TagList],
758
+ ];
759
+ export var WhatsAppBusinessAccountEventDestination = [3, n0, _WABAED, 0, [_eDA, _rAo], [0, 0]];
760
+ export var WhatsAppPhoneNumberDetail = [
761
+ 3,
762
+ n0,
763
+ _WAPND,
764
+ 0,
765
+ [_ar, _pN, _pNI, _mPNI, _dPNN, _dPN, _qR, _dLR],
766
+ [0, 0, 0, 0, 0, 0, 0, 0],
767
+ ];
768
+ export var WhatsAppPhoneNumberSummary = [
769
+ 3,
770
+ n0,
771
+ _WAPNS,
772
+ 0,
773
+ [_ar, _pN, _pNI, _mPNI, _dPNN, _dPN, _qR, _dLR],
774
+ [0, 0, 0, 0, 0, 0, 0, 0],
775
+ ];
776
+ export var WhatsAppSetupFinalization = [
777
+ 3,
778
+ n0,
779
+ _WASF,
780
+ 0,
781
+ [_aIPT, _pNh, _pNP, _w],
782
+ [
783
+ [() => AssociateInProgressToken, 0],
784
+ [() => WabaPhoneNumberSetupFinalizationList, 0],
785
+ 0,
786
+ () => WabaSetupFinalization,
787
+ ],
788
+ ];
789
+ export var WhatsAppSignupCallback = [3, n0, _WASC, 0, [_aT, _cU], [0, 0]];
790
+ export var WhatsAppSignupCallbackResult = [
791
+ 3,
792
+ n0,
793
+ _WASCR,
794
+ 0,
795
+ [_aIPT, _lAWIS],
796
+ [[() => AssociateInProgressToken, 0], () => LinkedAccountWithIncompleteSetup],
797
+ ];
798
+ export var __Unit = "unit";
799
+ export var SocialMessagingServiceException = [-3, _sm, "SocialMessagingServiceException", 0, [], []];
800
+ TypeRegistry.for(_sm).registerError(SocialMessagingServiceException, __SocialMessagingServiceException);
801
+ export var LinkedWhatsAppBusinessAccountSummaryList = [
802
+ 1,
803
+ n0,
804
+ _LWABASL,
805
+ 0,
806
+ () => LinkedWhatsAppBusinessAccountSummary,
807
+ ];
808
+ export var MetaIndustries = 64 | 0;
809
+ export var MetaLibraryTemplateButtonInputs = [1, n0, _MLTBI, 0, () => LibraryTemplateButtonInput];
810
+ export var MetaLibraryTemplateButtonList = [1, n0, _MLTBL, 0, () => LibraryTemplateButtonList];
811
+ export var MetaLibraryTemplatesList = [1, n0, _MLTL, 0, () => MetaLibraryTemplateDefinition];
812
+ export var StringList = 64 | 0;
813
+ export var SupportedApps = [1, n0, _SA, 0, 128 | 0];
814
+ export var TagList = [1, n0, _TL, 0, () => Tag];
815
+ export var TemplateSummaryList = [1, n0, _TSL, 0, () => TemplateSummary];
816
+ export var WabaPhoneNumberSetupFinalizationList = [
817
+ 1,
818
+ n0,
819
+ _WPNSFL,
820
+ 0,
821
+ [() => WabaPhoneNumberSetupFinalization, 0],
822
+ ];
823
+ export var WhatsAppBusinessAccountEventDestinations = [
824
+ 1,
825
+ n0,
826
+ _WABAEDh,
827
+ 0,
828
+ () => WhatsAppBusinessAccountEventDestination,
829
+ ];
830
+ export var WhatsAppPhoneNumberDetailList = [1, n0, _WAPNDL, 0, () => WhatsAppPhoneNumberDetail];
831
+ export var WhatsAppPhoneNumberSummaryList = [1, n0, _WAPNSL, 0, () => WhatsAppPhoneNumberSummary];
832
+ export var Filter = 128 | 0;
833
+ export var Headers = 128 | 0;
834
+ export var LinkedAccountWithIncompleteSetup = [
835
+ 2,
836
+ n0,
837
+ _LAWIS,
838
+ 0,
839
+ 0,
840
+ () => LinkedWhatsAppBusinessAccountIdMetaData,
841
+ ];
842
+ export var MetaUrlWithSuffixExample = 128 | 0;
843
+ export var SupportedApp = 128 | 0;
844
+ export var AssociateWhatsAppBusinessAccount = [
845
+ 9,
846
+ n0,
847
+ _AWABA,
848
+ {
849
+ [_ht]: ["POST", "/v1/whatsapp/signup", 200],
850
+ },
851
+ () => AssociateWhatsAppBusinessAccountInput,
852
+ () => AssociateWhatsAppBusinessAccountOutput,
853
+ ];
854
+ export var CreateWhatsAppMessageTemplate = [
855
+ 9,
856
+ n0,
857
+ _CWAMT,
858
+ {
859
+ [_ht]: ["POST", "/v1/whatsapp/template/put", 200],
860
+ },
861
+ () => CreateWhatsAppMessageTemplateInput,
862
+ () => CreateWhatsAppMessageTemplateOutput,
863
+ ];
864
+ export var CreateWhatsAppMessageTemplateFromLibrary = [
865
+ 9,
866
+ n0,
867
+ _CWAMTFL,
868
+ {
869
+ [_ht]: ["POST", "/v1/whatsapp/template/create", 200],
870
+ },
871
+ () => CreateWhatsAppMessageTemplateFromLibraryInput,
872
+ () => CreateWhatsAppMessageTemplateFromLibraryOutput,
873
+ ];
874
+ export var CreateWhatsAppMessageTemplateMedia = [
875
+ 9,
876
+ n0,
877
+ _CWAMTM,
878
+ {
879
+ [_ht]: ["POST", "/v1/whatsapp/template/media", 200],
880
+ },
881
+ () => CreateWhatsAppMessageTemplateMediaInput,
882
+ () => CreateWhatsAppMessageTemplateMediaOutput,
883
+ ];
884
+ export var DeleteWhatsAppMessageMedia = [
885
+ 9,
886
+ n0,
887
+ _DWAMM,
888
+ {
889
+ [_ht]: ["DELETE", "/v1/whatsapp/media", 200],
890
+ },
891
+ () => DeleteWhatsAppMessageMediaInput,
892
+ () => DeleteWhatsAppMessageMediaOutput,
893
+ ];
894
+ export var DeleteWhatsAppMessageTemplate = [
895
+ 9,
896
+ n0,
897
+ _DWAMT,
898
+ {
899
+ [_ht]: ["DELETE", "/v1/whatsapp/template", 200],
900
+ },
901
+ () => DeleteWhatsAppMessageTemplateInput,
902
+ () => DeleteWhatsAppMessageTemplateOutput,
903
+ ];
904
+ export var DisassociateWhatsAppBusinessAccount = [
905
+ 9,
906
+ n0,
907
+ _DWABA,
908
+ {
909
+ [_ht]: ["DELETE", "/v1/whatsapp/waba/disassociate", 200],
910
+ },
911
+ () => DisassociateWhatsAppBusinessAccountInput,
912
+ () => DisassociateWhatsAppBusinessAccountOutput,
913
+ ];
914
+ export var GetLinkedWhatsAppBusinessAccount = [
915
+ 9,
916
+ n0,
917
+ _GLWABA,
918
+ {
919
+ [_ht]: ["GET", "/v1/whatsapp/waba/details", 200],
920
+ },
921
+ () => GetLinkedWhatsAppBusinessAccountInput,
922
+ () => GetLinkedWhatsAppBusinessAccountOutput,
923
+ ];
924
+ export var GetLinkedWhatsAppBusinessAccountPhoneNumber = [
925
+ 9,
926
+ n0,
927
+ _GLWABAPN,
928
+ {
929
+ [_ht]: ["GET", "/v1/whatsapp/waba/phone/details", 200],
930
+ },
931
+ () => GetLinkedWhatsAppBusinessAccountPhoneNumberInput,
932
+ () => GetLinkedWhatsAppBusinessAccountPhoneNumberOutput,
933
+ ];
934
+ export var GetWhatsAppMessageMedia = [
935
+ 9,
936
+ n0,
937
+ _GWAMM,
938
+ {
939
+ [_ht]: ["POST", "/v1/whatsapp/media/get", 200],
940
+ },
941
+ () => GetWhatsAppMessageMediaInput,
942
+ () => GetWhatsAppMessageMediaOutput,
943
+ ];
944
+ export var GetWhatsAppMessageTemplate = [
945
+ 9,
946
+ n0,
947
+ _GWAMT,
948
+ {
949
+ [_ht]: ["GET", "/v1/whatsapp/template", 200],
950
+ },
951
+ () => GetWhatsAppMessageTemplateInput,
952
+ () => GetWhatsAppMessageTemplateOutput,
953
+ ];
954
+ export var ListLinkedWhatsAppBusinessAccounts = [
955
+ 9,
956
+ n0,
957
+ _LLWABA,
958
+ {
959
+ [_ht]: ["GET", "/v1/whatsapp/waba/list", 200],
960
+ },
961
+ () => ListLinkedWhatsAppBusinessAccountsInput,
962
+ () => ListLinkedWhatsAppBusinessAccountsOutput,
963
+ ];
964
+ export var ListTagsForResource = [
965
+ 9,
966
+ n0,
967
+ _LTFR,
968
+ {
969
+ [_ht]: ["GET", "/v1/tags/list", 200],
970
+ },
971
+ () => ListTagsForResourceInput,
972
+ () => ListTagsForResourceOutput,
973
+ ];
974
+ export var ListWhatsAppMessageTemplates = [
975
+ 9,
976
+ n0,
977
+ _LWAMT,
978
+ {
979
+ [_ht]: ["GET", "/v1/whatsapp/template/list", 200],
980
+ },
981
+ () => ListWhatsAppMessageTemplatesInput,
982
+ () => ListWhatsAppMessageTemplatesOutput,
983
+ ];
984
+ export var ListWhatsAppTemplateLibrary = [
985
+ 9,
986
+ n0,
987
+ _LWATL,
988
+ {
989
+ [_ht]: ["POST", "/v1/whatsapp/template/library", 200],
990
+ },
991
+ () => ListWhatsAppTemplateLibraryInput,
992
+ () => ListWhatsAppTemplateLibraryOutput,
993
+ ];
994
+ export var PostWhatsAppMessageMedia = [
995
+ 9,
996
+ n0,
997
+ _PWAMM,
998
+ {
999
+ [_ht]: ["POST", "/v1/whatsapp/media", 200],
1000
+ },
1001
+ () => PostWhatsAppMessageMediaInput,
1002
+ () => PostWhatsAppMessageMediaOutput,
1003
+ ];
1004
+ export var PutWhatsAppBusinessAccountEventDestinations = [
1005
+ 9,
1006
+ n0,
1007
+ _PWABAED,
1008
+ {
1009
+ [_ht]: ["PUT", "/v1/whatsapp/waba/eventdestinations", 200],
1010
+ },
1011
+ () => PutWhatsAppBusinessAccountEventDestinationsInput,
1012
+ () => PutWhatsAppBusinessAccountEventDestinationsOutput,
1013
+ ];
1014
+ export var SendWhatsAppMessage = [
1015
+ 9,
1016
+ n0,
1017
+ _SWAM,
1018
+ {
1019
+ [_ht]: ["POST", "/v1/whatsapp/send", 200],
1020
+ },
1021
+ () => SendWhatsAppMessageInput,
1022
+ () => SendWhatsAppMessageOutput,
1023
+ ];
1024
+ export var TagResource = [
1025
+ 9,
1026
+ n0,
1027
+ _TR,
1028
+ {
1029
+ [_ht]: ["POST", "/v1/tags/tag-resource", 200],
1030
+ },
1031
+ () => TagResourceInput,
1032
+ () => TagResourceOutput,
1033
+ ];
1034
+ export var UntagResource = [
1035
+ 9,
1036
+ n0,
1037
+ _UR,
1038
+ {
1039
+ [_ht]: ["POST", "/v1/tags/untag-resource", 200],
1040
+ },
1041
+ () => UntagResourceInput,
1042
+ () => UntagResourceOutput,
1043
+ ];
1044
+ export var UpdateWhatsAppMessageTemplate = [
1045
+ 9,
1046
+ n0,
1047
+ _UWAMT,
1048
+ {
1049
+ [_ht]: ["POST", "/v1/whatsapp/template", 200],
1050
+ },
1051
+ () => UpdateWhatsAppMessageTemplateInput,
1052
+ () => UpdateWhatsAppMessageTemplateOutput,
1053
+ ];