@aws-sdk/client-socialmessaging 3.1125.0 → 3.1127.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 +14 -0
- package/dist-cjs/index.js +57 -5
- package/dist-es/SocialMessaging.js +4 -0
- package/dist-es/commands/GetWhatsAppBusinessPublicKeyCommand.js +4 -0
- package/dist-es/commands/PutWhatsAppBusinessPublicKeyCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +40 -4
- package/dist-types/SocialMessaging.d.ts +14 -0
- package/dist-types/SocialMessagingClient.d.ts +4 -2
- package/dist-types/commands/CreateWhatsAppFlowCommand.d.ts +1 -0
- package/dist-types/commands/GetWhatsAppBusinessPublicKeyCommand.d.ts +97 -0
- package/dist-types/commands/PutWhatsAppBusinessPublicKeyCommand.d.ts +96 -0
- package/dist-types/commands/UpdateWhatsAppFlowCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +78 -0
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/SocialMessaging.d.ts +34 -0
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetWhatsAppBusinessPublicKeyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutWhatsAppBusinessPublicKeyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -297,6 +297,13 @@ GetLinkedWhatsAppBusinessAccountPhoneNumber
|
|
|
297
297
|
</details>
|
|
298
298
|
<details>
|
|
299
299
|
<summary>
|
|
300
|
+
GetWhatsAppBusinessPublicKey
|
|
301
|
+
</summary>
|
|
302
|
+
|
|
303
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/GetWhatsAppBusinessPublicKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetWhatsAppBusinessPublicKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/GetWhatsAppBusinessPublicKeyCommandOutput/)
|
|
304
|
+
</details>
|
|
305
|
+
<details>
|
|
306
|
+
<summary>
|
|
300
307
|
GetWhatsAppFlow
|
|
301
308
|
</summary>
|
|
302
309
|
|
|
@@ -388,6 +395,13 @@ PutWhatsAppBusinessAccountEventDestinations
|
|
|
388
395
|
</details>
|
|
389
396
|
<details>
|
|
390
397
|
<summary>
|
|
398
|
+
PutWhatsAppBusinessPublicKey
|
|
399
|
+
</summary>
|
|
400
|
+
|
|
401
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/PutWhatsAppBusinessPublicKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/PutWhatsAppBusinessPublicKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/PutWhatsAppBusinessPublicKeyCommandOutput/)
|
|
402
|
+
</details>
|
|
403
|
+
<details>
|
|
404
|
+
<summary>
|
|
391
405
|
SendWhatsAppConversionEvent
|
|
392
406
|
</summary>
|
|
393
407
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1126.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -293,6 +293,9 @@ const _GLWABAO = "GetLinkedWhatsAppBusinessAccountOutput";
|
|
|
293
293
|
const _GLWABAPN = "GetLinkedWhatsAppBusinessAccountPhoneNumber";
|
|
294
294
|
const _GLWABAPNI = "GetLinkedWhatsAppBusinessAccountPhoneNumberInput";
|
|
295
295
|
const _GLWABAPNO = "GetLinkedWhatsAppBusinessAccountPhoneNumberOutput";
|
|
296
|
+
const _GWABPK = "GetWhatsAppBusinessPublicKey";
|
|
297
|
+
const _GWABPKI = "GetWhatsAppBusinessPublicKeyInput";
|
|
298
|
+
const _GWABPKO = "GetWhatsAppBusinessPublicKeyOutput";
|
|
296
299
|
const _GWAF = "GetWhatsAppFlow";
|
|
297
300
|
const _GWAFI = "GetWhatsAppFlowInput";
|
|
298
301
|
const _GWAFO = "GetWhatsAppFlowOutput";
|
|
@@ -352,6 +355,9 @@ const _MLTL = "MetaLibraryTemplatesList";
|
|
|
352
355
|
const _PWABAED = "PutWhatsAppBusinessAccountEventDestinations";
|
|
353
356
|
const _PWABAEDI = "PutWhatsAppBusinessAccountEventDestinationsInput";
|
|
354
357
|
const _PWABAEDO = "PutWhatsAppBusinessAccountEventDestinationsOutput";
|
|
358
|
+
const _PWABPK = "PutWhatsAppBusinessPublicKey";
|
|
359
|
+
const _PWABPKI = "PutWhatsAppBusinessPublicKeyInput";
|
|
360
|
+
const _PWABPKO = "PutWhatsAppBusinessPublicKeyOutput";
|
|
355
361
|
const _PWAF = "PublishWhatsAppFlow";
|
|
356
362
|
const _PWAFI = "PublishWhatsAppFlowInput";
|
|
357
363
|
const _PWAFO = "PublishWhatsAppFlowOutput";
|
|
@@ -416,6 +422,8 @@ const _aTc = "accessToken";
|
|
|
416
422
|
const _ap = "application";
|
|
417
423
|
const _ar = "arn";
|
|
418
424
|
const _bN = "bucketName";
|
|
425
|
+
const _bPK = "businessPublicKey";
|
|
426
|
+
const _bPKSS = "businessPublicKeySignatureStatus";
|
|
419
427
|
const _c = "client";
|
|
420
428
|
const _cEM = "codeExpirationMinutes";
|
|
421
429
|
const _cFI = "cloneFlowId";
|
|
@@ -461,6 +469,7 @@ const _i = "id";
|
|
|
461
469
|
const _in = "invalidate";
|
|
462
470
|
const _jV = "jsonVersion";
|
|
463
471
|
const _k = "key";
|
|
472
|
+
const _kKA = "kmsKeyArn";
|
|
464
473
|
const _l = "link";
|
|
465
474
|
const _lA = "linkedAccounts";
|
|
466
475
|
const _lAWIS = "linkedAccountsWithIncompleteSetup";
|
|
@@ -470,6 +479,7 @@ const _lTBIi = "libraryTemplateBodyInputs";
|
|
|
470
479
|
const _lTN = "libraryTemplateName";
|
|
471
480
|
const _lWABAI = "linkedWhatsAppBusinessAccountId";
|
|
472
481
|
const _m = "message";
|
|
482
|
+
const _mAI = "metaAppId";
|
|
473
483
|
const _mAV = "metaApiVersion";
|
|
474
484
|
const _mHH = "metaHeaderHandle";
|
|
475
485
|
const _mI = "mediaId";
|
|
@@ -632,8 +642,8 @@ var CreateWhatsAppDatasetOutput$ = [3, n0, _CWADO,
|
|
|
632
642
|
];
|
|
633
643
|
var CreateWhatsAppFlowInput$ = [3, n0, _CWAFI,
|
|
634
644
|
0,
|
|
635
|
-
[_i, _fN, _ca, _fJ, _p, _cFI],
|
|
636
|
-
[0, 0, 64 | 0, 21, 2, 0], 3
|
|
645
|
+
[_i, _fN, _ca, _fJ, _p, _cFI, _eU],
|
|
646
|
+
[0, 0, 64 | 0, 21, 2, 0, 0], 3
|
|
637
647
|
];
|
|
638
648
|
var CreateWhatsAppFlowOutput$ = [3, n0, _CWAFO,
|
|
639
649
|
0,
|
|
@@ -740,6 +750,16 @@ var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$ = [3, n0, _GLWABAPNO,
|
|
|
740
750
|
[_pN, _lWABAI],
|
|
741
751
|
[() => WhatsAppPhoneNumberDetail$, 0]
|
|
742
752
|
];
|
|
753
|
+
var GetWhatsAppBusinessPublicKeyInput$ = [3, n0, _GWABPKI,
|
|
754
|
+
0,
|
|
755
|
+
[_oPNI],
|
|
756
|
+
[[0, { [_hQ]: _oPNI }]], 1
|
|
757
|
+
];
|
|
758
|
+
var GetWhatsAppBusinessPublicKeyOutput$ = [3, n0, _GWABPKO,
|
|
759
|
+
0,
|
|
760
|
+
[_bPK, _bPKSS],
|
|
761
|
+
[0, 0]
|
|
762
|
+
];
|
|
743
763
|
var GetWhatsAppFlowInput$ = [3, n0, _GWAFI,
|
|
744
764
|
0,
|
|
745
765
|
[_i, _fI],
|
|
@@ -945,6 +965,16 @@ var PutWhatsAppBusinessAccountEventDestinationsOutput$ = [3, n0, _PWABAEDO,
|
|
|
945
965
|
[],
|
|
946
966
|
[]
|
|
947
967
|
];
|
|
968
|
+
var PutWhatsAppBusinessPublicKeyInput$ = [3, n0, _PWABPKI,
|
|
969
|
+
0,
|
|
970
|
+
[_oPNI, _bPK, _kKA],
|
|
971
|
+
[0, 0, 0], 1
|
|
972
|
+
];
|
|
973
|
+
var PutWhatsAppBusinessPublicKeyOutput$ = [3, n0, _PWABPKO,
|
|
974
|
+
0,
|
|
975
|
+
[],
|
|
976
|
+
[]
|
|
977
|
+
];
|
|
948
978
|
var S3File$ = [3, n0, _SF,
|
|
949
979
|
8,
|
|
950
980
|
[_bN, _k],
|
|
@@ -1017,8 +1047,8 @@ var UpdateWhatsAppFlowAssetsOutput$ = [3, n0, _UWAFAO,
|
|
|
1017
1047
|
];
|
|
1018
1048
|
var UpdateWhatsAppFlowInput$ = [3, n0, _UWAFI,
|
|
1019
1049
|
0,
|
|
1020
|
-
[_i, _fI, _fN, _ca],
|
|
1021
|
-
[0, 0, 0, 64 | 0], 2
|
|
1050
|
+
[_i, _fI, _fN, _ca, _eU, _mAI],
|
|
1051
|
+
[0, 0, 0, 64 | 0, 0, 0], 2
|
|
1022
1052
|
];
|
|
1023
1053
|
var UpdateWhatsAppFlowOutput$ = [3, n0, _UWAFO,
|
|
1024
1054
|
0,
|
|
@@ -1157,6 +1187,9 @@ var GetLinkedWhatsAppBusinessAccount$ = [9, n0, _GLWABA,
|
|
|
1157
1187
|
var GetLinkedWhatsAppBusinessAccountPhoneNumber$ = [9, n0, _GLWABAPN,
|
|
1158
1188
|
{ [_ht]: ["GET", "/v1/whatsapp/waba/phone/details", 200] }, () => GetLinkedWhatsAppBusinessAccountPhoneNumberInput$, () => GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$
|
|
1159
1189
|
];
|
|
1190
|
+
var GetWhatsAppBusinessPublicKey$ = [9, n0, _GWABPK,
|
|
1191
|
+
{ [_ht]: ["GET", "/v1/whatsapp/business-public-key", 200] }, () => GetWhatsAppBusinessPublicKeyInput$, () => GetWhatsAppBusinessPublicKeyOutput$
|
|
1192
|
+
];
|
|
1160
1193
|
var GetWhatsAppFlow$ = [9, n0, _GWAF,
|
|
1161
1194
|
{ [_ht]: ["GET", "/v1/whatsapp/flow", 200] }, () => GetWhatsAppFlowInput$, () => GetWhatsAppFlowOutput$
|
|
1162
1195
|
];
|
|
@@ -1196,6 +1229,9 @@ var PublishWhatsAppFlow$ = [9, n0, _PWAF,
|
|
|
1196
1229
|
var PutWhatsAppBusinessAccountEventDestinations$ = [9, n0, _PWABAED,
|
|
1197
1230
|
{ [_ht]: ["PUT", "/v1/whatsapp/waba/eventdestinations", 200] }, () => PutWhatsAppBusinessAccountEventDestinationsInput$, () => PutWhatsAppBusinessAccountEventDestinationsOutput$
|
|
1198
1231
|
];
|
|
1232
|
+
var PutWhatsAppBusinessPublicKey$ = [9, n0, _PWABPK,
|
|
1233
|
+
{ [_ht]: ["PUT", "/v1/whatsapp/business-public-key", 200] }, () => PutWhatsAppBusinessPublicKeyInput$, () => PutWhatsAppBusinessPublicKeyOutput$
|
|
1234
|
+
];
|
|
1199
1235
|
var SendWhatsAppConversionEvent$ = [9, n0, _SWACE,
|
|
1200
1236
|
{ [_ht]: ["POST", "/v1/whatsapp/waba/dataset/events", 200] }, () => SendWhatsAppConversionEventInput$, () => SendWhatsAppConversionEventOutput$
|
|
1201
1237
|
];
|
|
@@ -1407,6 +1443,9 @@ class GetLinkedWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "GetLi
|
|
|
1407
1443
|
class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends command(_ep0, _mw0, "GetLinkedWhatsAppBusinessAccountPhoneNumber", GetLinkedWhatsAppBusinessAccountPhoneNumber$) {
|
|
1408
1444
|
}
|
|
1409
1445
|
|
|
1446
|
+
class GetWhatsAppBusinessPublicKeyCommand extends command(_ep0, _mw0, "GetWhatsAppBusinessPublicKey", GetWhatsAppBusinessPublicKey$) {
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1410
1449
|
class GetWhatsAppFlowCommand extends command(_ep0, _mw0, "GetWhatsAppFlow", GetWhatsAppFlow$) {
|
|
1411
1450
|
}
|
|
1412
1451
|
|
|
@@ -1446,6 +1485,9 @@ class PublishWhatsAppFlowCommand extends command(_ep0, _mw0, "PublishWhatsAppFlo
|
|
|
1446
1485
|
class PutWhatsAppBusinessAccountEventDestinationsCommand extends command(_ep0, _mw0, "PutWhatsAppBusinessAccountEventDestinations", PutWhatsAppBusinessAccountEventDestinations$) {
|
|
1447
1486
|
}
|
|
1448
1487
|
|
|
1488
|
+
class PutWhatsAppBusinessPublicKeyCommand extends command(_ep0, _mw0, "PutWhatsAppBusinessPublicKey", PutWhatsAppBusinessPublicKey$) {
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1449
1491
|
class SendWhatsAppConversionEventCommand extends command(_ep0, _mw0, "SendWhatsAppConversionEvent", SendWhatsAppConversionEvent$) {
|
|
1450
1492
|
}
|
|
1451
1493
|
|
|
@@ -1491,6 +1533,7 @@ const commands = {
|
|
|
1491
1533
|
DisassociateWhatsAppBusinessAccountCommand,
|
|
1492
1534
|
GetLinkedWhatsAppBusinessAccountCommand,
|
|
1493
1535
|
GetLinkedWhatsAppBusinessAccountPhoneNumberCommand,
|
|
1536
|
+
GetWhatsAppBusinessPublicKeyCommand,
|
|
1494
1537
|
GetWhatsAppFlowCommand,
|
|
1495
1538
|
GetWhatsAppFlowPreviewCommand,
|
|
1496
1539
|
GetWhatsAppMessageMediaCommand,
|
|
@@ -1504,6 +1547,7 @@ const commands = {
|
|
|
1504
1547
|
PostWhatsAppMessageMediaCommand,
|
|
1505
1548
|
PublishWhatsAppFlowCommand,
|
|
1506
1549
|
PutWhatsAppBusinessAccountEventDestinationsCommand,
|
|
1550
|
+
PutWhatsAppBusinessPublicKeyCommand,
|
|
1507
1551
|
SendWhatsAppConversionEventCommand,
|
|
1508
1552
|
SendWhatsAppMessageCommand,
|
|
1509
1553
|
TagResourceCommand,
|
|
@@ -1597,6 +1641,10 @@ exports.GetLinkedWhatsAppBusinessAccountPhoneNumber$ = GetLinkedWhatsAppBusiness
|
|
|
1597
1641
|
exports.GetLinkedWhatsAppBusinessAccountPhoneNumberCommand = GetLinkedWhatsAppBusinessAccountPhoneNumberCommand;
|
|
1598
1642
|
exports.GetLinkedWhatsAppBusinessAccountPhoneNumberInput$ = GetLinkedWhatsAppBusinessAccountPhoneNumberInput$;
|
|
1599
1643
|
exports.GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$ = GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$;
|
|
1644
|
+
exports.GetWhatsAppBusinessPublicKey$ = GetWhatsAppBusinessPublicKey$;
|
|
1645
|
+
exports.GetWhatsAppBusinessPublicKeyCommand = GetWhatsAppBusinessPublicKeyCommand;
|
|
1646
|
+
exports.GetWhatsAppBusinessPublicKeyInput$ = GetWhatsAppBusinessPublicKeyInput$;
|
|
1647
|
+
exports.GetWhatsAppBusinessPublicKeyOutput$ = GetWhatsAppBusinessPublicKeyOutput$;
|
|
1600
1648
|
exports.GetWhatsAppFlow$ = GetWhatsAppFlow$;
|
|
1601
1649
|
exports.GetWhatsAppFlowCommand = GetWhatsAppFlowCommand;
|
|
1602
1650
|
exports.GetWhatsAppFlowInput$ = GetWhatsAppFlowInput$;
|
|
@@ -1671,6 +1719,10 @@ exports.PutWhatsAppBusinessAccountEventDestinations$ = PutWhatsAppBusinessAccoun
|
|
|
1671
1719
|
exports.PutWhatsAppBusinessAccountEventDestinationsCommand = PutWhatsAppBusinessAccountEventDestinationsCommand;
|
|
1672
1720
|
exports.PutWhatsAppBusinessAccountEventDestinationsInput$ = PutWhatsAppBusinessAccountEventDestinationsInput$;
|
|
1673
1721
|
exports.PutWhatsAppBusinessAccountEventDestinationsOutput$ = PutWhatsAppBusinessAccountEventDestinationsOutput$;
|
|
1722
|
+
exports.PutWhatsAppBusinessPublicKey$ = PutWhatsAppBusinessPublicKey$;
|
|
1723
|
+
exports.PutWhatsAppBusinessPublicKeyCommand = PutWhatsAppBusinessPublicKeyCommand;
|
|
1724
|
+
exports.PutWhatsAppBusinessPublicKeyInput$ = PutWhatsAppBusinessPublicKeyInput$;
|
|
1725
|
+
exports.PutWhatsAppBusinessPublicKeyOutput$ = PutWhatsAppBusinessPublicKeyOutput$;
|
|
1674
1726
|
exports.RegistrationStatus = RegistrationStatus;
|
|
1675
1727
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1676
1728
|
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
@@ -12,6 +12,7 @@ import { DeprecateWhatsAppFlowCommand, } from "./commands/DeprecateWhatsAppFlowC
|
|
|
12
12
|
import { DisassociateWhatsAppBusinessAccountCommand, } from "./commands/DisassociateWhatsAppBusinessAccountCommand";
|
|
13
13
|
import { GetLinkedWhatsAppBusinessAccountCommand, } from "./commands/GetLinkedWhatsAppBusinessAccountCommand";
|
|
14
14
|
import { GetLinkedWhatsAppBusinessAccountPhoneNumberCommand, } from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
15
|
+
import { GetWhatsAppBusinessPublicKeyCommand, } from "./commands/GetWhatsAppBusinessPublicKeyCommand";
|
|
15
16
|
import { GetWhatsAppFlowCommand, } from "./commands/GetWhatsAppFlowCommand";
|
|
16
17
|
import { GetWhatsAppFlowPreviewCommand, } from "./commands/GetWhatsAppFlowPreviewCommand";
|
|
17
18
|
import { GetWhatsAppMessageMediaCommand, } from "./commands/GetWhatsAppMessageMediaCommand";
|
|
@@ -25,6 +26,7 @@ import { ListWhatsAppTemplateLibraryCommand, } from "./commands/ListWhatsAppTemp
|
|
|
25
26
|
import { PostWhatsAppMessageMediaCommand, } from "./commands/PostWhatsAppMessageMediaCommand";
|
|
26
27
|
import { PublishWhatsAppFlowCommand, } from "./commands/PublishWhatsAppFlowCommand";
|
|
27
28
|
import { PutWhatsAppBusinessAccountEventDestinationsCommand, } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
29
|
+
import { PutWhatsAppBusinessPublicKeyCommand, } from "./commands/PutWhatsAppBusinessPublicKeyCommand";
|
|
28
30
|
import { SendWhatsAppConversionEventCommand, } from "./commands/SendWhatsAppConversionEventCommand";
|
|
29
31
|
import { SendWhatsAppMessageCommand, } from "./commands/SendWhatsAppMessageCommand";
|
|
30
32
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
@@ -52,6 +54,7 @@ const commands = {
|
|
|
52
54
|
DisassociateWhatsAppBusinessAccountCommand,
|
|
53
55
|
GetLinkedWhatsAppBusinessAccountCommand,
|
|
54
56
|
GetLinkedWhatsAppBusinessAccountPhoneNumberCommand,
|
|
57
|
+
GetWhatsAppBusinessPublicKeyCommand,
|
|
55
58
|
GetWhatsAppFlowCommand,
|
|
56
59
|
GetWhatsAppFlowPreviewCommand,
|
|
57
60
|
GetWhatsAppMessageMediaCommand,
|
|
@@ -65,6 +68,7 @@ const commands = {
|
|
|
65
68
|
PostWhatsAppMessageMediaCommand,
|
|
66
69
|
PublishWhatsAppFlowCommand,
|
|
67
70
|
PutWhatsAppBusinessAccountEventDestinationsCommand,
|
|
71
|
+
PutWhatsAppBusinessPublicKeyCommand,
|
|
68
72
|
SendWhatsAppConversionEventCommand,
|
|
69
73
|
SendWhatsAppMessageCommand,
|
|
70
74
|
TagResourceCommand,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { GetWhatsAppBusinessPublicKey$ } from "../schemas/schemas_0";
|
|
3
|
+
export class GetWhatsAppBusinessPublicKeyCommand extends command(_ep0, _mw0, "GetWhatsAppBusinessPublicKey", GetWhatsAppBusinessPublicKey$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { PutWhatsAppBusinessPublicKey$ } from "../schemas/schemas_0";
|
|
3
|
+
export class PutWhatsAppBusinessPublicKeyCommand extends command(_ep0, _mw0, "PutWhatsAppBusinessPublicKey", PutWhatsAppBusinessPublicKey$) {
|
|
4
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./DeprecateWhatsAppFlowCommand";
|
|
|
11
11
|
export * from "./DisassociateWhatsAppBusinessAccountCommand";
|
|
12
12
|
export * from "./GetLinkedWhatsAppBusinessAccountCommand";
|
|
13
13
|
export * from "./GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
14
|
+
export * from "./GetWhatsAppBusinessPublicKeyCommand";
|
|
14
15
|
export * from "./GetWhatsAppFlowCommand";
|
|
15
16
|
export * from "./GetWhatsAppFlowPreviewCommand";
|
|
16
17
|
export * from "./GetWhatsAppMessageMediaCommand";
|
|
@@ -24,6 +25,7 @@ export * from "./ListWhatsAppTemplateLibraryCommand";
|
|
|
24
25
|
export * from "./PostWhatsAppMessageMediaCommand";
|
|
25
26
|
export * from "./PublishWhatsAppFlowCommand";
|
|
26
27
|
export * from "./PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
28
|
+
export * from "./PutWhatsAppBusinessPublicKeyCommand";
|
|
27
29
|
export * from "./SendWhatsAppConversionEventCommand";
|
|
28
30
|
export * from "./SendWhatsAppMessageCommand";
|
|
29
31
|
export * from "./TagResourceCommand";
|
|
@@ -41,6 +41,9 @@ const _GLWABAO = "GetLinkedWhatsAppBusinessAccountOutput";
|
|
|
41
41
|
const _GLWABAPN = "GetLinkedWhatsAppBusinessAccountPhoneNumber";
|
|
42
42
|
const _GLWABAPNI = "GetLinkedWhatsAppBusinessAccountPhoneNumberInput";
|
|
43
43
|
const _GLWABAPNO = "GetLinkedWhatsAppBusinessAccountPhoneNumberOutput";
|
|
44
|
+
const _GWABPK = "GetWhatsAppBusinessPublicKey";
|
|
45
|
+
const _GWABPKI = "GetWhatsAppBusinessPublicKeyInput";
|
|
46
|
+
const _GWABPKO = "GetWhatsAppBusinessPublicKeyOutput";
|
|
44
47
|
const _GWAF = "GetWhatsAppFlow";
|
|
45
48
|
const _GWAFI = "GetWhatsAppFlowInput";
|
|
46
49
|
const _GWAFO = "GetWhatsAppFlowOutput";
|
|
@@ -100,6 +103,9 @@ const _MLTL = "MetaLibraryTemplatesList";
|
|
|
100
103
|
const _PWABAED = "PutWhatsAppBusinessAccountEventDestinations";
|
|
101
104
|
const _PWABAEDI = "PutWhatsAppBusinessAccountEventDestinationsInput";
|
|
102
105
|
const _PWABAEDO = "PutWhatsAppBusinessAccountEventDestinationsOutput";
|
|
106
|
+
const _PWABPK = "PutWhatsAppBusinessPublicKey";
|
|
107
|
+
const _PWABPKI = "PutWhatsAppBusinessPublicKeyInput";
|
|
108
|
+
const _PWABPKO = "PutWhatsAppBusinessPublicKeyOutput";
|
|
103
109
|
const _PWAF = "PublishWhatsAppFlow";
|
|
104
110
|
const _PWAFI = "PublishWhatsAppFlowInput";
|
|
105
111
|
const _PWAFO = "PublishWhatsAppFlowOutput";
|
|
@@ -164,6 +170,8 @@ const _aTc = "accessToken";
|
|
|
164
170
|
const _ap = "application";
|
|
165
171
|
const _ar = "arn";
|
|
166
172
|
const _bN = "bucketName";
|
|
173
|
+
const _bPK = "businessPublicKey";
|
|
174
|
+
const _bPKSS = "businessPublicKeySignatureStatus";
|
|
167
175
|
const _c = "client";
|
|
168
176
|
const _cEM = "codeExpirationMinutes";
|
|
169
177
|
const _cFI = "cloneFlowId";
|
|
@@ -209,6 +217,7 @@ const _i = "id";
|
|
|
209
217
|
const _in = "invalidate";
|
|
210
218
|
const _jV = "jsonVersion";
|
|
211
219
|
const _k = "key";
|
|
220
|
+
const _kKA = "kmsKeyArn";
|
|
212
221
|
const _l = "link";
|
|
213
222
|
const _lA = "linkedAccounts";
|
|
214
223
|
const _lAWIS = "linkedAccountsWithIncompleteSetup";
|
|
@@ -218,6 +227,7 @@ const _lTBIi = "libraryTemplateBodyInputs";
|
|
|
218
227
|
const _lTN = "libraryTemplateName";
|
|
219
228
|
const _lWABAI = "linkedWhatsAppBusinessAccountId";
|
|
220
229
|
const _m = "message";
|
|
230
|
+
const _mAI = "metaAppId";
|
|
221
231
|
const _mAV = "metaApiVersion";
|
|
222
232
|
const _mHH = "metaHeaderHandle";
|
|
223
233
|
const _mI = "mediaId";
|
|
@@ -383,8 +393,8 @@ export var CreateWhatsAppDatasetOutput$ = [3, n0, _CWADO,
|
|
|
383
393
|
];
|
|
384
394
|
export var CreateWhatsAppFlowInput$ = [3, n0, _CWAFI,
|
|
385
395
|
0,
|
|
386
|
-
[_i, _fN, _ca, _fJ, _p, _cFI],
|
|
387
|
-
[0, 0, 64 | 0, 21, 2, 0], 3
|
|
396
|
+
[_i, _fN, _ca, _fJ, _p, _cFI, _eU],
|
|
397
|
+
[0, 0, 64 | 0, 21, 2, 0, 0], 3
|
|
388
398
|
];
|
|
389
399
|
export var CreateWhatsAppFlowOutput$ = [3, n0, _CWAFO,
|
|
390
400
|
0,
|
|
@@ -491,6 +501,16 @@ export var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$ = [3, n0, _GLWABAP
|
|
|
491
501
|
[_pN, _lWABAI],
|
|
492
502
|
[() => WhatsAppPhoneNumberDetail$, 0]
|
|
493
503
|
];
|
|
504
|
+
export var GetWhatsAppBusinessPublicKeyInput$ = [3, n0, _GWABPKI,
|
|
505
|
+
0,
|
|
506
|
+
[_oPNI],
|
|
507
|
+
[[0, { [_hQ]: _oPNI }]], 1
|
|
508
|
+
];
|
|
509
|
+
export var GetWhatsAppBusinessPublicKeyOutput$ = [3, n0, _GWABPKO,
|
|
510
|
+
0,
|
|
511
|
+
[_bPK, _bPKSS],
|
|
512
|
+
[0, 0]
|
|
513
|
+
];
|
|
494
514
|
export var GetWhatsAppFlowInput$ = [3, n0, _GWAFI,
|
|
495
515
|
0,
|
|
496
516
|
[_i, _fI],
|
|
@@ -696,6 +716,16 @@ export var PutWhatsAppBusinessAccountEventDestinationsOutput$ = [3, n0, _PWABAED
|
|
|
696
716
|
[],
|
|
697
717
|
[]
|
|
698
718
|
];
|
|
719
|
+
export var PutWhatsAppBusinessPublicKeyInput$ = [3, n0, _PWABPKI,
|
|
720
|
+
0,
|
|
721
|
+
[_oPNI, _bPK, _kKA],
|
|
722
|
+
[0, 0, 0], 1
|
|
723
|
+
];
|
|
724
|
+
export var PutWhatsAppBusinessPublicKeyOutput$ = [3, n0, _PWABPKO,
|
|
725
|
+
0,
|
|
726
|
+
[],
|
|
727
|
+
[]
|
|
728
|
+
];
|
|
699
729
|
export var S3File$ = [3, n0, _SF,
|
|
700
730
|
8,
|
|
701
731
|
[_bN, _k],
|
|
@@ -768,8 +798,8 @@ export var UpdateWhatsAppFlowAssetsOutput$ = [3, n0, _UWAFAO,
|
|
|
768
798
|
];
|
|
769
799
|
export var UpdateWhatsAppFlowInput$ = [3, n0, _UWAFI,
|
|
770
800
|
0,
|
|
771
|
-
[_i, _fI, _fN, _ca],
|
|
772
|
-
[0, 0, 0, 64 | 0], 2
|
|
801
|
+
[_i, _fI, _fN, _ca, _eU, _mAI],
|
|
802
|
+
[0, 0, 0, 64 | 0, 0, 0], 2
|
|
773
803
|
];
|
|
774
804
|
export var UpdateWhatsAppFlowOutput$ = [3, n0, _UWAFO,
|
|
775
805
|
0,
|
|
@@ -920,6 +950,9 @@ export var GetLinkedWhatsAppBusinessAccount$ = [9, n0, _GLWABA,
|
|
|
920
950
|
export var GetLinkedWhatsAppBusinessAccountPhoneNumber$ = [9, n0, _GLWABAPN,
|
|
921
951
|
{ [_ht]: ["GET", "/v1/whatsapp/waba/phone/details", 200] }, () => GetLinkedWhatsAppBusinessAccountPhoneNumberInput$, () => GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$
|
|
922
952
|
];
|
|
953
|
+
export var GetWhatsAppBusinessPublicKey$ = [9, n0, _GWABPK,
|
|
954
|
+
{ [_ht]: ["GET", "/v1/whatsapp/business-public-key", 200] }, () => GetWhatsAppBusinessPublicKeyInput$, () => GetWhatsAppBusinessPublicKeyOutput$
|
|
955
|
+
];
|
|
923
956
|
export var GetWhatsAppFlow$ = [9, n0, _GWAF,
|
|
924
957
|
{ [_ht]: ["GET", "/v1/whatsapp/flow", 200] }, () => GetWhatsAppFlowInput$, () => GetWhatsAppFlowOutput$
|
|
925
958
|
];
|
|
@@ -959,6 +992,9 @@ export var PublishWhatsAppFlow$ = [9, n0, _PWAF,
|
|
|
959
992
|
export var PutWhatsAppBusinessAccountEventDestinations$ = [9, n0, _PWABAED,
|
|
960
993
|
{ [_ht]: ["PUT", "/v1/whatsapp/waba/eventdestinations", 200] }, () => PutWhatsAppBusinessAccountEventDestinationsInput$, () => PutWhatsAppBusinessAccountEventDestinationsOutput$
|
|
961
994
|
];
|
|
995
|
+
export var PutWhatsAppBusinessPublicKey$ = [9, n0, _PWABPK,
|
|
996
|
+
{ [_ht]: ["PUT", "/v1/whatsapp/business-public-key", 200] }, () => PutWhatsAppBusinessPublicKeyInput$, () => PutWhatsAppBusinessPublicKeyOutput$
|
|
997
|
+
];
|
|
962
998
|
export var SendWhatsAppConversionEvent$ = [9, n0, _SWACE,
|
|
963
999
|
{ [_ht]: ["POST", "/v1/whatsapp/waba/dataset/events", 200] }, () => SendWhatsAppConversionEventInput$, () => SendWhatsAppConversionEventOutput$
|
|
964
1000
|
];
|
|
@@ -12,6 +12,7 @@ import { type DeprecateWhatsAppFlowCommandInput, type DeprecateWhatsAppFlowComma
|
|
|
12
12
|
import { type DisassociateWhatsAppBusinessAccountCommandInput, type DisassociateWhatsAppBusinessAccountCommandOutput } from "./commands/DisassociateWhatsAppBusinessAccountCommand";
|
|
13
13
|
import { type GetLinkedWhatsAppBusinessAccountCommandInput, type GetLinkedWhatsAppBusinessAccountCommandOutput } from "./commands/GetLinkedWhatsAppBusinessAccountCommand";
|
|
14
14
|
import { type GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, type GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput } from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
15
|
+
import { type GetWhatsAppBusinessPublicKeyCommandInput, type GetWhatsAppBusinessPublicKeyCommandOutput } from "./commands/GetWhatsAppBusinessPublicKeyCommand";
|
|
15
16
|
import { type GetWhatsAppFlowCommandInput, type GetWhatsAppFlowCommandOutput } from "./commands/GetWhatsAppFlowCommand";
|
|
16
17
|
import { type GetWhatsAppFlowPreviewCommandInput, type GetWhatsAppFlowPreviewCommandOutput } from "./commands/GetWhatsAppFlowPreviewCommand";
|
|
17
18
|
import { type GetWhatsAppMessageMediaCommandInput, type GetWhatsAppMessageMediaCommandOutput } from "./commands/GetWhatsAppMessageMediaCommand";
|
|
@@ -25,6 +26,7 @@ import { type ListWhatsAppTemplateLibraryCommandInput, type ListWhatsAppTemplate
|
|
|
25
26
|
import { type PostWhatsAppMessageMediaCommandInput, type PostWhatsAppMessageMediaCommandOutput } from "./commands/PostWhatsAppMessageMediaCommand";
|
|
26
27
|
import { type PublishWhatsAppFlowCommandInput, type PublishWhatsAppFlowCommandOutput } from "./commands/PublishWhatsAppFlowCommand";
|
|
27
28
|
import { type PutWhatsAppBusinessAccountEventDestinationsCommandInput, type PutWhatsAppBusinessAccountEventDestinationsCommandOutput } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
29
|
+
import { type PutWhatsAppBusinessPublicKeyCommandInput, type PutWhatsAppBusinessPublicKeyCommandOutput } from "./commands/PutWhatsAppBusinessPublicKeyCommand";
|
|
28
30
|
import { type SendWhatsAppConversionEventCommandInput, type SendWhatsAppConversionEventCommandOutput } from "./commands/SendWhatsAppConversionEventCommand";
|
|
29
31
|
import { type SendWhatsAppMessageCommandInput, type SendWhatsAppMessageCommandOutput } from "./commands/SendWhatsAppMessageCommand";
|
|
30
32
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -113,6 +115,12 @@ export interface SocialMessaging {
|
|
|
113
115
|
getLinkedWhatsAppBusinessAccountPhoneNumber(args: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput>;
|
|
114
116
|
getLinkedWhatsAppBusinessAccountPhoneNumber(args: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, cb: (err: any, data?: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput) => void): void;
|
|
115
117
|
getLinkedWhatsAppBusinessAccountPhoneNumber(args: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput) => void): void;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link GetWhatsAppBusinessPublicKeyCommand}
|
|
120
|
+
*/
|
|
121
|
+
getWhatsAppBusinessPublicKey(args: GetWhatsAppBusinessPublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<GetWhatsAppBusinessPublicKeyCommandOutput>;
|
|
122
|
+
getWhatsAppBusinessPublicKey(args: GetWhatsAppBusinessPublicKeyCommandInput, cb: (err: any, data?: GetWhatsAppBusinessPublicKeyCommandOutput) => void): void;
|
|
123
|
+
getWhatsAppBusinessPublicKey(args: GetWhatsAppBusinessPublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWhatsAppBusinessPublicKeyCommandOutput) => void): void;
|
|
116
124
|
/**
|
|
117
125
|
* @see {@link GetWhatsAppFlowCommand}
|
|
118
126
|
*/
|
|
@@ -192,6 +200,12 @@ export interface SocialMessaging {
|
|
|
192
200
|
putWhatsAppBusinessAccountEventDestinations(args: PutWhatsAppBusinessAccountEventDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<PutWhatsAppBusinessAccountEventDestinationsCommandOutput>;
|
|
193
201
|
putWhatsAppBusinessAccountEventDestinations(args: PutWhatsAppBusinessAccountEventDestinationsCommandInput, cb: (err: any, data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput) => void): void;
|
|
194
202
|
putWhatsAppBusinessAccountEventDestinations(args: PutWhatsAppBusinessAccountEventDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput) => void): void;
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link PutWhatsAppBusinessPublicKeyCommand}
|
|
205
|
+
*/
|
|
206
|
+
putWhatsAppBusinessPublicKey(args: PutWhatsAppBusinessPublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<PutWhatsAppBusinessPublicKeyCommandOutput>;
|
|
207
|
+
putWhatsAppBusinessPublicKey(args: PutWhatsAppBusinessPublicKeyCommandInput, cb: (err: any, data?: PutWhatsAppBusinessPublicKeyCommandOutput) => void): void;
|
|
208
|
+
putWhatsAppBusinessPublicKey(args: PutWhatsAppBusinessPublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutWhatsAppBusinessPublicKeyCommandOutput) => void): void;
|
|
195
209
|
/**
|
|
196
210
|
* @see {@link SendWhatsAppConversionEventCommand}
|
|
197
211
|
*/
|
|
@@ -19,6 +19,7 @@ import type { DeprecateWhatsAppFlowCommandInput, DeprecateWhatsAppFlowCommandOut
|
|
|
19
19
|
import type { DisassociateWhatsAppBusinessAccountCommandInput, DisassociateWhatsAppBusinessAccountCommandOutput } from "./commands/DisassociateWhatsAppBusinessAccountCommand";
|
|
20
20
|
import type { GetLinkedWhatsAppBusinessAccountCommandInput, GetLinkedWhatsAppBusinessAccountCommandOutput } from "./commands/GetLinkedWhatsAppBusinessAccountCommand";
|
|
21
21
|
import type { GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput } from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
22
|
+
import type { GetWhatsAppBusinessPublicKeyCommandInput, GetWhatsAppBusinessPublicKeyCommandOutput } from "./commands/GetWhatsAppBusinessPublicKeyCommand";
|
|
22
23
|
import type { GetWhatsAppFlowCommandInput, GetWhatsAppFlowCommandOutput } from "./commands/GetWhatsAppFlowCommand";
|
|
23
24
|
import type { GetWhatsAppFlowPreviewCommandInput, GetWhatsAppFlowPreviewCommandOutput } from "./commands/GetWhatsAppFlowPreviewCommand";
|
|
24
25
|
import type { GetWhatsAppMessageMediaCommandInput, GetWhatsAppMessageMediaCommandOutput } from "./commands/GetWhatsAppMessageMediaCommand";
|
|
@@ -32,6 +33,7 @@ import type { ListWhatsAppTemplateLibraryCommandInput, ListWhatsAppTemplateLibra
|
|
|
32
33
|
import type { PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput } from "./commands/PostWhatsAppMessageMediaCommand";
|
|
33
34
|
import type { PublishWhatsAppFlowCommandInput, PublishWhatsAppFlowCommandOutput } from "./commands/PublishWhatsAppFlowCommand";
|
|
34
35
|
import type { PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
36
|
+
import type { PutWhatsAppBusinessPublicKeyCommandInput, PutWhatsAppBusinessPublicKeyCommandOutput } from "./commands/PutWhatsAppBusinessPublicKeyCommand";
|
|
35
37
|
import type { SendWhatsAppConversionEventCommandInput, SendWhatsAppConversionEventCommandOutput } from "./commands/SendWhatsAppConversionEventCommand";
|
|
36
38
|
import type { SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput } from "./commands/SendWhatsAppMessageCommand";
|
|
37
39
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -45,11 +47,11 @@ export { __Client };
|
|
|
45
47
|
/**
|
|
46
48
|
* @public
|
|
47
49
|
*/
|
|
48
|
-
export type ServiceInputTypes = AssociateWhatsAppBusinessAccountCommandInput | CreateWhatsAppDatasetCommandInput | CreateWhatsAppFlowCommandInput | CreateWhatsAppMessageTemplateCommandInput | CreateWhatsAppMessageTemplateFromLibraryCommandInput | CreateWhatsAppMessageTemplateMediaCommandInput | DeleteWhatsAppFlowCommandInput | DeleteWhatsAppMessageMediaCommandInput | DeleteWhatsAppMessageTemplateCommandInput | DeprecateWhatsAppFlowCommandInput | DisassociateWhatsAppBusinessAccountCommandInput | GetLinkedWhatsAppBusinessAccountCommandInput | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput | GetWhatsAppFlowCommandInput | GetWhatsAppFlowPreviewCommandInput | GetWhatsAppMessageMediaCommandInput | GetWhatsAppMessageTemplateCommandInput | ListLinkedWhatsAppBusinessAccountsCommandInput | ListTagsForResourceCommandInput | ListWhatsAppFlowAssetsCommandInput | ListWhatsAppFlowsCommandInput | ListWhatsAppMessageTemplatesCommandInput | ListWhatsAppTemplateLibraryCommandInput | PostWhatsAppMessageMediaCommandInput | PublishWhatsAppFlowCommandInput | PutWhatsAppBusinessAccountEventDestinationsCommandInput | SendWhatsAppConversionEventCommandInput | SendWhatsAppMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWhatsAppFlowAssetsCommandInput | UpdateWhatsAppFlowCommandInput | UpdateWhatsAppMessageTemplateCommandInput;
|
|
50
|
+
export type ServiceInputTypes = AssociateWhatsAppBusinessAccountCommandInput | CreateWhatsAppDatasetCommandInput | CreateWhatsAppFlowCommandInput | CreateWhatsAppMessageTemplateCommandInput | CreateWhatsAppMessageTemplateFromLibraryCommandInput | CreateWhatsAppMessageTemplateMediaCommandInput | DeleteWhatsAppFlowCommandInput | DeleteWhatsAppMessageMediaCommandInput | DeleteWhatsAppMessageTemplateCommandInput | DeprecateWhatsAppFlowCommandInput | DisassociateWhatsAppBusinessAccountCommandInput | GetLinkedWhatsAppBusinessAccountCommandInput | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput | GetWhatsAppBusinessPublicKeyCommandInput | GetWhatsAppFlowCommandInput | GetWhatsAppFlowPreviewCommandInput | GetWhatsAppMessageMediaCommandInput | GetWhatsAppMessageTemplateCommandInput | ListLinkedWhatsAppBusinessAccountsCommandInput | ListTagsForResourceCommandInput | ListWhatsAppFlowAssetsCommandInput | ListWhatsAppFlowsCommandInput | ListWhatsAppMessageTemplatesCommandInput | ListWhatsAppTemplateLibraryCommandInput | PostWhatsAppMessageMediaCommandInput | PublishWhatsAppFlowCommandInput | PutWhatsAppBusinessAccountEventDestinationsCommandInput | PutWhatsAppBusinessPublicKeyCommandInput | SendWhatsAppConversionEventCommandInput | SendWhatsAppMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWhatsAppFlowAssetsCommandInput | UpdateWhatsAppFlowCommandInput | UpdateWhatsAppMessageTemplateCommandInput;
|
|
49
51
|
/**
|
|
50
52
|
* @public
|
|
51
53
|
*/
|
|
52
|
-
export type ServiceOutputTypes = AssociateWhatsAppBusinessAccountCommandOutput | CreateWhatsAppDatasetCommandOutput | CreateWhatsAppFlowCommandOutput | CreateWhatsAppMessageTemplateCommandOutput | CreateWhatsAppMessageTemplateFromLibraryCommandOutput | CreateWhatsAppMessageTemplateMediaCommandOutput | DeleteWhatsAppFlowCommandOutput | DeleteWhatsAppMessageMediaCommandOutput | DeleteWhatsAppMessageTemplateCommandOutput | DeprecateWhatsAppFlowCommandOutput | DisassociateWhatsAppBusinessAccountCommandOutput | GetLinkedWhatsAppBusinessAccountCommandOutput | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput | GetWhatsAppFlowCommandOutput | GetWhatsAppFlowPreviewCommandOutput | GetWhatsAppMessageMediaCommandOutput | GetWhatsAppMessageTemplateCommandOutput | ListLinkedWhatsAppBusinessAccountsCommandOutput | ListTagsForResourceCommandOutput | ListWhatsAppFlowAssetsCommandOutput | ListWhatsAppFlowsCommandOutput | ListWhatsAppMessageTemplatesCommandOutput | ListWhatsAppTemplateLibraryCommandOutput | PostWhatsAppMessageMediaCommandOutput | PublishWhatsAppFlowCommandOutput | PutWhatsAppBusinessAccountEventDestinationsCommandOutput | SendWhatsAppConversionEventCommandOutput | SendWhatsAppMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWhatsAppFlowAssetsCommandOutput | UpdateWhatsAppFlowCommandOutput | UpdateWhatsAppMessageTemplateCommandOutput;
|
|
54
|
+
export type ServiceOutputTypes = AssociateWhatsAppBusinessAccountCommandOutput | CreateWhatsAppDatasetCommandOutput | CreateWhatsAppFlowCommandOutput | CreateWhatsAppMessageTemplateCommandOutput | CreateWhatsAppMessageTemplateFromLibraryCommandOutput | CreateWhatsAppMessageTemplateMediaCommandOutput | DeleteWhatsAppFlowCommandOutput | DeleteWhatsAppMessageMediaCommandOutput | DeleteWhatsAppMessageTemplateCommandOutput | DeprecateWhatsAppFlowCommandOutput | DisassociateWhatsAppBusinessAccountCommandOutput | GetLinkedWhatsAppBusinessAccountCommandOutput | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput | GetWhatsAppBusinessPublicKeyCommandOutput | GetWhatsAppFlowCommandOutput | GetWhatsAppFlowPreviewCommandOutput | GetWhatsAppMessageMediaCommandOutput | GetWhatsAppMessageTemplateCommandOutput | ListLinkedWhatsAppBusinessAccountsCommandOutput | ListTagsForResourceCommandOutput | ListWhatsAppFlowAssetsCommandOutput | ListWhatsAppFlowsCommandOutput | ListWhatsAppMessageTemplatesCommandOutput | ListWhatsAppTemplateLibraryCommandOutput | PostWhatsAppMessageMediaCommandOutput | PublishWhatsAppFlowCommandOutput | PutWhatsAppBusinessAccountEventDestinationsCommandOutput | PutWhatsAppBusinessPublicKeyCommandOutput | SendWhatsAppConversionEventCommandOutput | SendWhatsAppMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWhatsAppFlowAssetsCommandOutput | UpdateWhatsAppFlowCommandOutput | UpdateWhatsAppMessageTemplateCommandOutput;
|
|
53
55
|
/**
|
|
54
56
|
* @public
|
|
55
57
|
*/
|
|
@@ -44,6 +44,7 @@ declare const CreateWhatsAppFlowCommand_base: {
|
|
|
44
44
|
* flowJson: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
45
45
|
* publish: true || false,
|
|
46
46
|
* cloneFlowId: "STRING_VALUE",
|
|
47
|
+
* endpointUri: "STRING_VALUE",
|
|
47
48
|
* };
|
|
48
49
|
* const command = new CreateWhatsAppFlowCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetWhatsAppBusinessPublicKeyInput, GetWhatsAppBusinessPublicKeyOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetWhatsAppBusinessPublicKeyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetWhatsAppBusinessPublicKeyCommandInput extends GetWhatsAppBusinessPublicKeyInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetWhatsAppBusinessPublicKeyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetWhatsAppBusinessPublicKeyCommandOutput extends GetWhatsAppBusinessPublicKeyOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetWhatsAppBusinessPublicKeyCommand_base: {
|
|
22
|
+
new (input: GetWhatsAppBusinessPublicKeyCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppBusinessPublicKeyCommandInput, GetWhatsAppBusinessPublicKeyCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetWhatsAppBusinessPublicKeyCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppBusinessPublicKeyCommandInput, GetWhatsAppBusinessPublicKeyCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the business public key for a phone number and its signature status.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SocialMessagingClient, GetWhatsAppBusinessPublicKeyCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
32
|
+
* // const { SocialMessagingClient, GetWhatsAppBusinessPublicKeyCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
33
|
+
* // import type { SocialMessagingClientConfig } from "@aws-sdk/client-socialmessaging";
|
|
34
|
+
* const config = {}; // type is SocialMessagingClientConfig
|
|
35
|
+
* const client = new SocialMessagingClient(config);
|
|
36
|
+
* const input = { // GetWhatsAppBusinessPublicKeyInput
|
|
37
|
+
* originationPhoneNumberId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetWhatsAppBusinessPublicKeyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetWhatsAppBusinessPublicKeyOutput
|
|
42
|
+
* // businessPublicKey: "STRING_VALUE",
|
|
43
|
+
* // businessPublicKeySignatureStatus: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetWhatsAppBusinessPublicKeyCommandInput - {@link GetWhatsAppBusinessPublicKeyCommandInput}
|
|
49
|
+
* @returns {@link GetWhatsAppBusinessPublicKeyCommandOutput}
|
|
50
|
+
* @see {@link GetWhatsAppBusinessPublicKeyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetWhatsAppBusinessPublicKeyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedByMetaException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link DependencyException} (server fault)
|
|
61
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
64
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
65
|
+
* failure.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
68
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The resource was not found.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
74
|
+
* <p>The request was denied due to request throttling.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link SocialMessagingServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class GetWhatsAppBusinessPublicKeyCommand extends GetWhatsAppBusinessPublicKeyCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: GetWhatsAppBusinessPublicKeyInput;
|
|
90
|
+
output: GetWhatsAppBusinessPublicKeyOutput;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: GetWhatsAppBusinessPublicKeyCommandInput;
|
|
94
|
+
output: GetWhatsAppBusinessPublicKeyCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { PutWhatsAppBusinessPublicKeyInput, PutWhatsAppBusinessPublicKeyOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link PutWhatsAppBusinessPublicKeyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface PutWhatsAppBusinessPublicKeyCommandInput extends PutWhatsAppBusinessPublicKeyInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link PutWhatsAppBusinessPublicKeyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface PutWhatsAppBusinessPublicKeyCommandOutput extends PutWhatsAppBusinessPublicKeyOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const PutWhatsAppBusinessPublicKeyCommand_base: {
|
|
22
|
+
new (input: PutWhatsAppBusinessPublicKeyCommandInput): import("@smithy/core/client").CommandImpl<PutWhatsAppBusinessPublicKeyCommandInput, PutWhatsAppBusinessPublicKeyCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: PutWhatsAppBusinessPublicKeyCommandInput): import("@smithy/core/client").CommandImpl<PutWhatsAppBusinessPublicKeyCommandInput, PutWhatsAppBusinessPublicKeyCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Sets the business public key used to encrypt the data exchanged with the endpoint of a data exchange Flow.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SocialMessagingClient, PutWhatsAppBusinessPublicKeyCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
32
|
+
* // const { SocialMessagingClient, PutWhatsAppBusinessPublicKeyCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
33
|
+
* // import type { SocialMessagingClientConfig } from "@aws-sdk/client-socialmessaging";
|
|
34
|
+
* const config = {}; // type is SocialMessagingClientConfig
|
|
35
|
+
* const client = new SocialMessagingClient(config);
|
|
36
|
+
* const input = { // PutWhatsAppBusinessPublicKeyInput
|
|
37
|
+
* originationPhoneNumberId: "STRING_VALUE", // required
|
|
38
|
+
* businessPublicKey: "STRING_VALUE",
|
|
39
|
+
* kmsKeyArn: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new PutWhatsAppBusinessPublicKeyCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param PutWhatsAppBusinessPublicKeyCommandInput - {@link PutWhatsAppBusinessPublicKeyCommandInput}
|
|
48
|
+
* @returns {@link PutWhatsAppBusinessPublicKeyCommandOutput}
|
|
49
|
+
* @see {@link PutWhatsAppBusinessPublicKeyCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link PutWhatsAppBusinessPublicKeyCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedByMetaException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link DependencyException} (server fault)
|
|
60
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
63
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
64
|
+
* failure.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
67
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The resource was not found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
73
|
+
* <p>The request was denied due to request throttling.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link SocialMessagingServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class PutWhatsAppBusinessPublicKeyCommand extends PutWhatsAppBusinessPublicKeyCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: PutWhatsAppBusinessPublicKeyInput;
|
|
89
|
+
output: {};
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: PutWhatsAppBusinessPublicKeyCommandInput;
|
|
93
|
+
output: PutWhatsAppBusinessPublicKeyCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -40,6 +40,8 @@ declare const UpdateWhatsAppFlowCommand_base: {
|
|
|
40
40
|
* categories: [ // MetaFlowCategoryList
|
|
41
41
|
* "SIGN_UP" || "SIGN_IN" || "APPOINTMENT_BOOKING" || "LEAD_GENERATION" || "SHOPPING" || "CONTACT_US" || "CUSTOMER_SUPPORT" || "SURVEY" || "OTHER",
|
|
42
42
|
* ],
|
|
43
|
+
* endpointUri: "STRING_VALUE",
|
|
44
|
+
* metaAppId: "STRING_VALUE",
|
|
43
45
|
* };
|
|
44
46
|
* const command = new UpdateWhatsAppFlowCommand(input);
|
|
45
47
|
* const response = await client.send(command);
|
|
@@ -11,6 +11,7 @@ export * from "./DeprecateWhatsAppFlowCommand";
|
|
|
11
11
|
export * from "./DisassociateWhatsAppBusinessAccountCommand";
|
|
12
12
|
export * from "./GetLinkedWhatsAppBusinessAccountCommand";
|
|
13
13
|
export * from "./GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
14
|
+
export * from "./GetWhatsAppBusinessPublicKeyCommand";
|
|
14
15
|
export * from "./GetWhatsAppFlowCommand";
|
|
15
16
|
export * from "./GetWhatsAppFlowPreviewCommand";
|
|
16
17
|
export * from "./GetWhatsAppMessageMediaCommand";
|
|
@@ -24,6 +25,7 @@ export * from "./ListWhatsAppTemplateLibraryCommand";
|
|
|
24
25
|
export * from "./PostWhatsAppMessageMediaCommand";
|
|
25
26
|
export * from "./PublishWhatsAppFlowCommand";
|
|
26
27
|
export * from "./PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
28
|
+
export * from "./PutWhatsAppBusinessPublicKeyCommand";
|
|
27
29
|
export * from "./SendWhatsAppConversionEventCommand";
|
|
28
30
|
export * from "./SendWhatsAppMessageCommand";
|
|
29
31
|
export * from "./TagResourceCommand";
|
|
@@ -386,6 +386,15 @@ export interface CreateWhatsAppFlowInput {
|
|
|
386
386
|
* @public
|
|
387
387
|
*/
|
|
388
388
|
cloneFlowId?: string | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* Optional HTTPS endpoint for a dynamic Flow, registered with Meta as the
|
|
391
|
+
* Flow's endpoint_uri and called by Meta directly. When omitted, the Flow
|
|
392
|
+
* has no endpoint (static Flow). Meta only calls the endpoint when the
|
|
393
|
+
* Flow JSON also declares data_api_version. To verify that requests
|
|
394
|
+
* originate from Meta, attach your own Meta app via UpdateWhatsAppFlow.
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
endpointUri?: string | undefined;
|
|
389
398
|
}
|
|
390
399
|
/**
|
|
391
400
|
* @public
|
|
@@ -891,6 +900,31 @@ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberOutput {
|
|
|
891
900
|
*/
|
|
892
901
|
linkedWhatsAppBusinessAccountId?: string | undefined;
|
|
893
902
|
}
|
|
903
|
+
/**
|
|
904
|
+
* @public
|
|
905
|
+
*/
|
|
906
|
+
export interface GetWhatsAppBusinessPublicKeyInput {
|
|
907
|
+
/**
|
|
908
|
+
* The unique identifier of the phone number whose business public key to retrieve.
|
|
909
|
+
* @public
|
|
910
|
+
*/
|
|
911
|
+
originationPhoneNumberId: string | undefined;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
export interface GetWhatsAppBusinessPublicKeyOutput {
|
|
917
|
+
/**
|
|
918
|
+
* The stored RSA business public key (PEM), if present.
|
|
919
|
+
* @public
|
|
920
|
+
*/
|
|
921
|
+
businessPublicKey?: string | undefined;
|
|
922
|
+
/**
|
|
923
|
+
* Meta's signing status: "VALID" | "MISMATCH".
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
businessPublicKeySignatureStatus?: string | undefined;
|
|
927
|
+
}
|
|
894
928
|
/**
|
|
895
929
|
* @public
|
|
896
930
|
*/
|
|
@@ -1731,6 +1765,25 @@ export interface UpdateWhatsAppFlowInput {
|
|
|
1731
1765
|
* @public
|
|
1732
1766
|
*/
|
|
1733
1767
|
categories?: MetaFlowCategory[] | undefined;
|
|
1768
|
+
/**
|
|
1769
|
+
* Optional HTTPS endpoint for a dynamic Flow, registered with Meta as the
|
|
1770
|
+
* Flow's endpoint_uri and called by Meta directly. When omitted, the
|
|
1771
|
+
* Flow's endpoint is unchanged.
|
|
1772
|
+
* @public
|
|
1773
|
+
*/
|
|
1774
|
+
endpointUri?: string | undefined;
|
|
1775
|
+
/**
|
|
1776
|
+
* Optional Meta app ID to attach to the Flow. Meta signs data-exchange
|
|
1777
|
+
* requests with the attached app's secret, so attaching your own app is
|
|
1778
|
+
* what enables X-Hub-Signature-256 and flow_token_signature verification
|
|
1779
|
+
* at your endpoint. Meta requires the app to be owned by the same business
|
|
1780
|
+
* that owns the WABA. Attaching your own app is one-way: the service's
|
|
1781
|
+
* app cannot be re-attached afterwards. When omitted, the attached app is
|
|
1782
|
+
* unchanged. (Set via update because Meta ignores application_id at
|
|
1783
|
+
* creation time.)
|
|
1784
|
+
* @public
|
|
1785
|
+
*/
|
|
1786
|
+
metaAppId?: string | undefined;
|
|
1734
1787
|
}
|
|
1735
1788
|
/**
|
|
1736
1789
|
* @public
|
|
@@ -1850,6 +1903,31 @@ export interface PostWhatsAppMessageMediaOutput {
|
|
|
1850
1903
|
*/
|
|
1851
1904
|
mediaId?: string | undefined;
|
|
1852
1905
|
}
|
|
1906
|
+
/**
|
|
1907
|
+
* @public
|
|
1908
|
+
*/
|
|
1909
|
+
export interface PutWhatsAppBusinessPublicKeyInput {
|
|
1910
|
+
/**
|
|
1911
|
+
* The unique identifier of the phone number to associate with the business public key.
|
|
1912
|
+
* @public
|
|
1913
|
+
*/
|
|
1914
|
+
originationPhoneNumberId: string | undefined;
|
|
1915
|
+
/**
|
|
1916
|
+
* PEM-encoded RSA public key. Mutually exclusive with kmsKeyArn.
|
|
1917
|
+
* @public
|
|
1918
|
+
*/
|
|
1919
|
+
businessPublicKey?: string | undefined;
|
|
1920
|
+
/**
|
|
1921
|
+
* Customer-managed KMS asymmetric RSA key ARN. Mutually exclusive with businessPublicKey.
|
|
1922
|
+
* @public
|
|
1923
|
+
*/
|
|
1924
|
+
kmsKeyArn?: string | undefined;
|
|
1925
|
+
}
|
|
1926
|
+
/**
|
|
1927
|
+
* @public
|
|
1928
|
+
*/
|
|
1929
|
+
export interface PutWhatsAppBusinessPublicKeyOutput {
|
|
1930
|
+
}
|
|
1853
1931
|
/**
|
|
1854
1932
|
* @public
|
|
1855
1933
|
*/
|
|
@@ -42,6 +42,8 @@ export declare var GetLinkedWhatsAppBusinessAccountInput$: StaticStructureSchema
|
|
|
42
42
|
export declare var GetLinkedWhatsAppBusinessAccountOutput$: StaticStructureSchema;
|
|
43
43
|
export declare var GetLinkedWhatsAppBusinessAccountPhoneNumberInput$: StaticStructureSchema;
|
|
44
44
|
export declare var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$: StaticStructureSchema;
|
|
45
|
+
export declare var GetWhatsAppBusinessPublicKeyInput$: StaticStructureSchema;
|
|
46
|
+
export declare var GetWhatsAppBusinessPublicKeyOutput$: StaticStructureSchema;
|
|
45
47
|
export declare var GetWhatsAppFlowInput$: StaticStructureSchema;
|
|
46
48
|
export declare var GetWhatsAppFlowOutput$: StaticStructureSchema;
|
|
47
49
|
export declare var GetWhatsAppFlowPreviewInput$: StaticStructureSchema;
|
|
@@ -83,6 +85,8 @@ export declare var PublishWhatsAppFlowInput$: StaticStructureSchema;
|
|
|
83
85
|
export declare var PublishWhatsAppFlowOutput$: StaticStructureSchema;
|
|
84
86
|
export declare var PutWhatsAppBusinessAccountEventDestinationsInput$: StaticStructureSchema;
|
|
85
87
|
export declare var PutWhatsAppBusinessAccountEventDestinationsOutput$: StaticStructureSchema;
|
|
88
|
+
export declare var PutWhatsAppBusinessPublicKeyInput$: StaticStructureSchema;
|
|
89
|
+
export declare var PutWhatsAppBusinessPublicKeyOutput$: StaticStructureSchema;
|
|
86
90
|
export declare var S3File$: StaticStructureSchema;
|
|
87
91
|
export declare var S3PresignedUrl$: StaticStructureSchema;
|
|
88
92
|
export declare var SendWhatsAppConversionEventInput$: StaticStructureSchema;
|
|
@@ -122,6 +126,7 @@ export declare var DeprecateWhatsAppFlow$: StaticOperationSchema;
|
|
|
122
126
|
export declare var DisassociateWhatsAppBusinessAccount$: StaticOperationSchema;
|
|
123
127
|
export declare var GetLinkedWhatsAppBusinessAccount$: StaticOperationSchema;
|
|
124
128
|
export declare var GetLinkedWhatsAppBusinessAccountPhoneNumber$: StaticOperationSchema;
|
|
129
|
+
export declare var GetWhatsAppBusinessPublicKey$: StaticOperationSchema;
|
|
125
130
|
export declare var GetWhatsAppFlow$: StaticOperationSchema;
|
|
126
131
|
export declare var GetWhatsAppFlowPreview$: StaticOperationSchema;
|
|
127
132
|
export declare var GetWhatsAppMessageMedia$: StaticOperationSchema;
|
|
@@ -135,6 +140,7 @@ export declare var ListWhatsAppTemplateLibrary$: StaticOperationSchema;
|
|
|
135
140
|
export declare var PostWhatsAppMessageMedia$: StaticOperationSchema;
|
|
136
141
|
export declare var PublishWhatsAppFlow$: StaticOperationSchema;
|
|
137
142
|
export declare var PutWhatsAppBusinessAccountEventDestinations$: StaticOperationSchema;
|
|
143
|
+
export declare var PutWhatsAppBusinessPublicKey$: StaticOperationSchema;
|
|
138
144
|
export declare var SendWhatsAppConversionEvent$: StaticOperationSchema;
|
|
139
145
|
export declare var SendWhatsAppMessage$: StaticOperationSchema;
|
|
140
146
|
export declare var TagResource$: StaticOperationSchema;
|
|
@@ -55,6 +55,10 @@ import {
|
|
|
55
55
|
GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
|
|
56
56
|
GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
|
|
57
57
|
} from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
58
|
+
import {
|
|
59
|
+
GetWhatsAppBusinessPublicKeyCommandInput,
|
|
60
|
+
GetWhatsAppBusinessPublicKeyCommandOutput,
|
|
61
|
+
} from "./commands/GetWhatsAppBusinessPublicKeyCommand";
|
|
58
62
|
import {
|
|
59
63
|
GetWhatsAppFlowCommandInput,
|
|
60
64
|
GetWhatsAppFlowCommandOutput,
|
|
@@ -107,6 +111,10 @@ import {
|
|
|
107
111
|
PutWhatsAppBusinessAccountEventDestinationsCommandInput,
|
|
108
112
|
PutWhatsAppBusinessAccountEventDestinationsCommandOutput,
|
|
109
113
|
} from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
114
|
+
import {
|
|
115
|
+
PutWhatsAppBusinessPublicKeyCommandInput,
|
|
116
|
+
PutWhatsAppBusinessPublicKeyCommandOutput,
|
|
117
|
+
} from "./commands/PutWhatsAppBusinessPublicKeyCommand";
|
|
110
118
|
import {
|
|
111
119
|
SendWhatsAppConversionEventCommandInput,
|
|
112
120
|
SendWhatsAppConversionEventCommandOutput,
|
|
@@ -304,6 +312,19 @@ export interface SocialMessaging {
|
|
|
304
312
|
options: __HttpHandlerOptions,
|
|
305
313
|
cb: (err: any, data?: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput) => void,
|
|
306
314
|
): void;
|
|
315
|
+
getWhatsAppBusinessPublicKey(
|
|
316
|
+
args: GetWhatsAppBusinessPublicKeyCommandInput,
|
|
317
|
+
options?: __HttpHandlerOptions,
|
|
318
|
+
): Promise<GetWhatsAppBusinessPublicKeyCommandOutput>;
|
|
319
|
+
getWhatsAppBusinessPublicKey(
|
|
320
|
+
args: GetWhatsAppBusinessPublicKeyCommandInput,
|
|
321
|
+
cb: (err: any, data?: GetWhatsAppBusinessPublicKeyCommandOutput) => void,
|
|
322
|
+
): void;
|
|
323
|
+
getWhatsAppBusinessPublicKey(
|
|
324
|
+
args: GetWhatsAppBusinessPublicKeyCommandInput,
|
|
325
|
+
options: __HttpHandlerOptions,
|
|
326
|
+
cb: (err: any, data?: GetWhatsAppBusinessPublicKeyCommandOutput) => void,
|
|
327
|
+
): void;
|
|
307
328
|
getWhatsAppFlow(
|
|
308
329
|
args: GetWhatsAppFlowCommandInput,
|
|
309
330
|
options?: __HttpHandlerOptions,
|
|
@@ -474,6 +495,19 @@ export interface SocialMessaging {
|
|
|
474
495
|
options: __HttpHandlerOptions,
|
|
475
496
|
cb: (err: any, data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput) => void,
|
|
476
497
|
): void;
|
|
498
|
+
putWhatsAppBusinessPublicKey(
|
|
499
|
+
args: PutWhatsAppBusinessPublicKeyCommandInput,
|
|
500
|
+
options?: __HttpHandlerOptions,
|
|
501
|
+
): Promise<PutWhatsAppBusinessPublicKeyCommandOutput>;
|
|
502
|
+
putWhatsAppBusinessPublicKey(
|
|
503
|
+
args: PutWhatsAppBusinessPublicKeyCommandInput,
|
|
504
|
+
cb: (err: any, data?: PutWhatsAppBusinessPublicKeyCommandOutput) => void,
|
|
505
|
+
): void;
|
|
506
|
+
putWhatsAppBusinessPublicKey(
|
|
507
|
+
args: PutWhatsAppBusinessPublicKeyCommandInput,
|
|
508
|
+
options: __HttpHandlerOptions,
|
|
509
|
+
cb: (err: any, data?: PutWhatsAppBusinessPublicKeyCommandOutput) => void,
|
|
510
|
+
): void;
|
|
477
511
|
sendWhatsAppConversionEvent(
|
|
478
512
|
args: SendWhatsAppConversionEventCommandInput,
|
|
479
513
|
options?: __HttpHandlerOptions,
|
|
@@ -85,6 +85,10 @@ import {
|
|
|
85
85
|
GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
|
|
86
86
|
GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
|
|
87
87
|
} from "./commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
88
|
+
import {
|
|
89
|
+
GetWhatsAppBusinessPublicKeyCommandInput,
|
|
90
|
+
GetWhatsAppBusinessPublicKeyCommandOutput,
|
|
91
|
+
} from "./commands/GetWhatsAppBusinessPublicKeyCommand";
|
|
88
92
|
import {
|
|
89
93
|
GetWhatsAppFlowCommandInput,
|
|
90
94
|
GetWhatsAppFlowCommandOutput,
|
|
@@ -137,6 +141,10 @@ import {
|
|
|
137
141
|
PutWhatsAppBusinessAccountEventDestinationsCommandInput,
|
|
138
142
|
PutWhatsAppBusinessAccountEventDestinationsCommandOutput,
|
|
139
143
|
} from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
144
|
+
import {
|
|
145
|
+
PutWhatsAppBusinessPublicKeyCommandInput,
|
|
146
|
+
PutWhatsAppBusinessPublicKeyCommandOutput,
|
|
147
|
+
} from "./commands/PutWhatsAppBusinessPublicKeyCommand";
|
|
140
148
|
import {
|
|
141
149
|
SendWhatsAppConversionEventCommandInput,
|
|
142
150
|
SendWhatsAppConversionEventCommandOutput,
|
|
@@ -183,6 +191,7 @@ export type ServiceInputTypes =
|
|
|
183
191
|
| DisassociateWhatsAppBusinessAccountCommandInput
|
|
184
192
|
| GetLinkedWhatsAppBusinessAccountCommandInput
|
|
185
193
|
| GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput
|
|
194
|
+
| GetWhatsAppBusinessPublicKeyCommandInput
|
|
186
195
|
| GetWhatsAppFlowCommandInput
|
|
187
196
|
| GetWhatsAppFlowPreviewCommandInput
|
|
188
197
|
| GetWhatsAppMessageMediaCommandInput
|
|
@@ -196,6 +205,7 @@ export type ServiceInputTypes =
|
|
|
196
205
|
| PostWhatsAppMessageMediaCommandInput
|
|
197
206
|
| PublishWhatsAppFlowCommandInput
|
|
198
207
|
| PutWhatsAppBusinessAccountEventDestinationsCommandInput
|
|
208
|
+
| PutWhatsAppBusinessPublicKeyCommandInput
|
|
199
209
|
| SendWhatsAppConversionEventCommandInput
|
|
200
210
|
| SendWhatsAppMessageCommandInput
|
|
201
211
|
| TagResourceCommandInput
|
|
@@ -217,6 +227,7 @@ export type ServiceOutputTypes =
|
|
|
217
227
|
| DisassociateWhatsAppBusinessAccountCommandOutput
|
|
218
228
|
| GetLinkedWhatsAppBusinessAccountCommandOutput
|
|
219
229
|
| GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
|
|
230
|
+
| GetWhatsAppBusinessPublicKeyCommandOutput
|
|
220
231
|
| GetWhatsAppFlowCommandOutput
|
|
221
232
|
| GetWhatsAppFlowPreviewCommandOutput
|
|
222
233
|
| GetWhatsAppMessageMediaCommandOutput
|
|
@@ -230,6 +241,7 @@ export type ServiceOutputTypes =
|
|
|
230
241
|
| PostWhatsAppMessageMediaCommandOutput
|
|
231
242
|
| PublishWhatsAppFlowCommandOutput
|
|
232
243
|
| PutWhatsAppBusinessAccountEventDestinationsCommandOutput
|
|
244
|
+
| PutWhatsAppBusinessPublicKeyCommandOutput
|
|
233
245
|
| SendWhatsAppConversionEventCommandOutput
|
|
234
246
|
| SendWhatsAppMessageCommandOutput
|
|
235
247
|
| TagResourceCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetWhatsAppBusinessPublicKeyInput,
|
|
4
|
+
GetWhatsAppBusinessPublicKeyOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface GetWhatsAppBusinessPublicKeyCommandInput extends GetWhatsAppBusinessPublicKeyInput {}
|
|
8
|
+
export interface GetWhatsAppBusinessPublicKeyCommandOutput
|
|
9
|
+
extends GetWhatsAppBusinessPublicKeyOutput, __MetadataBearer {}
|
|
10
|
+
declare const GetWhatsAppBusinessPublicKeyCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: GetWhatsAppBusinessPublicKeyCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
GetWhatsAppBusinessPublicKeyCommandInput,
|
|
15
|
+
GetWhatsAppBusinessPublicKeyCommandOutput,
|
|
16
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: GetWhatsAppBusinessPublicKeyCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
GetWhatsAppBusinessPublicKeyCommandInput,
|
|
24
|
+
GetWhatsAppBusinessPublicKeyCommandOutput,
|
|
25
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class GetWhatsAppBusinessPublicKeyCommand extends GetWhatsAppBusinessPublicKeyCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: GetWhatsAppBusinessPublicKeyInput;
|
|
35
|
+
output: GetWhatsAppBusinessPublicKeyOutput;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: GetWhatsAppBusinessPublicKeyCommandInput;
|
|
39
|
+
output: GetWhatsAppBusinessPublicKeyCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
PutWhatsAppBusinessPublicKeyInput,
|
|
4
|
+
PutWhatsAppBusinessPublicKeyOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface PutWhatsAppBusinessPublicKeyCommandInput extends PutWhatsAppBusinessPublicKeyInput {}
|
|
8
|
+
export interface PutWhatsAppBusinessPublicKeyCommandOutput
|
|
9
|
+
extends PutWhatsAppBusinessPublicKeyOutput, __MetadataBearer {}
|
|
10
|
+
declare const PutWhatsAppBusinessPublicKeyCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: PutWhatsAppBusinessPublicKeyCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
PutWhatsAppBusinessPublicKeyCommandInput,
|
|
15
|
+
PutWhatsAppBusinessPublicKeyCommandOutput,
|
|
16
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: PutWhatsAppBusinessPublicKeyCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
PutWhatsAppBusinessPublicKeyCommandInput,
|
|
24
|
+
PutWhatsAppBusinessPublicKeyCommandOutput,
|
|
25
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class PutWhatsAppBusinessPublicKeyCommand extends PutWhatsAppBusinessPublicKeyCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: PutWhatsAppBusinessPublicKeyInput;
|
|
35
|
+
output: {};
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: PutWhatsAppBusinessPublicKeyCommandInput;
|
|
39
|
+
output: PutWhatsAppBusinessPublicKeyCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./DeprecateWhatsAppFlowCommand";
|
|
|
11
11
|
export * from "./DisassociateWhatsAppBusinessAccountCommand";
|
|
12
12
|
export * from "./GetLinkedWhatsAppBusinessAccountCommand";
|
|
13
13
|
export * from "./GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
14
|
+
export * from "./GetWhatsAppBusinessPublicKeyCommand";
|
|
14
15
|
export * from "./GetWhatsAppFlowCommand";
|
|
15
16
|
export * from "./GetWhatsAppFlowPreviewCommand";
|
|
16
17
|
export * from "./GetWhatsAppMessageMediaCommand";
|
|
@@ -24,6 +25,7 @@ export * from "./ListWhatsAppTemplateLibraryCommand";
|
|
|
24
25
|
export * from "./PostWhatsAppMessageMediaCommand";
|
|
25
26
|
export * from "./PublishWhatsAppFlowCommand";
|
|
26
27
|
export * from "./PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
28
|
+
export * from "./PutWhatsAppBusinessPublicKeyCommand";
|
|
27
29
|
export * from "./SendWhatsAppConversionEventCommand";
|
|
28
30
|
export * from "./SendWhatsAppMessageCommand";
|
|
29
31
|
export * from "./TagResourceCommand";
|
|
@@ -72,6 +72,7 @@ export interface CreateWhatsAppFlowInput {
|
|
|
72
72
|
flowJson?: Uint8Array | undefined;
|
|
73
73
|
publish?: boolean | undefined;
|
|
74
74
|
cloneFlowId?: string | undefined;
|
|
75
|
+
endpointUri?: string | undefined;
|
|
75
76
|
}
|
|
76
77
|
export interface CreateWhatsAppFlowOutput {
|
|
77
78
|
flowId?: string | undefined;
|
|
@@ -192,6 +193,13 @@ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberOutput {
|
|
|
192
193
|
phoneNumber?: WhatsAppPhoneNumberDetail | undefined;
|
|
193
194
|
linkedWhatsAppBusinessAccountId?: string | undefined;
|
|
194
195
|
}
|
|
196
|
+
export interface GetWhatsAppBusinessPublicKeyInput {
|
|
197
|
+
originationPhoneNumberId: string | undefined;
|
|
198
|
+
}
|
|
199
|
+
export interface GetWhatsAppBusinessPublicKeyOutput {
|
|
200
|
+
businessPublicKey?: string | undefined;
|
|
201
|
+
businessPublicKeySignatureStatus?: string | undefined;
|
|
202
|
+
}
|
|
195
203
|
export interface GetWhatsAppFlowInput {
|
|
196
204
|
id: string | undefined;
|
|
197
205
|
flowId: string | undefined;
|
|
@@ -390,6 +398,8 @@ export interface UpdateWhatsAppFlowInput {
|
|
|
390
398
|
flowId: string | undefined;
|
|
391
399
|
flowName?: string | undefined;
|
|
392
400
|
categories?: MetaFlowCategory[] | undefined;
|
|
401
|
+
endpointUri?: string | undefined;
|
|
402
|
+
metaAppId?: string | undefined;
|
|
393
403
|
}
|
|
394
404
|
export interface UpdateWhatsAppFlowOutput {}
|
|
395
405
|
export interface UpdateWhatsAppFlowAssetsInput {
|
|
@@ -419,6 +429,12 @@ export interface PostWhatsAppMessageMediaInput {
|
|
|
419
429
|
export interface PostWhatsAppMessageMediaOutput {
|
|
420
430
|
mediaId?: string | undefined;
|
|
421
431
|
}
|
|
432
|
+
export interface PutWhatsAppBusinessPublicKeyInput {
|
|
433
|
+
originationPhoneNumberId: string | undefined;
|
|
434
|
+
businessPublicKey?: string | undefined;
|
|
435
|
+
kmsKeyArn?: string | undefined;
|
|
436
|
+
}
|
|
437
|
+
export interface PutWhatsAppBusinessPublicKeyOutput {}
|
|
422
438
|
export interface SendWhatsAppMessageInput {
|
|
423
439
|
originationPhoneNumberId: string | undefined;
|
|
424
440
|
message: Uint8Array | undefined;
|
|
@@ -37,6 +37,8 @@ export declare var GetLinkedWhatsAppBusinessAccountInput$: StaticStructureSchema
|
|
|
37
37
|
export declare var GetLinkedWhatsAppBusinessAccountOutput$: StaticStructureSchema;
|
|
38
38
|
export declare var GetLinkedWhatsAppBusinessAccountPhoneNumberInput$: StaticStructureSchema;
|
|
39
39
|
export declare var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$: StaticStructureSchema;
|
|
40
|
+
export declare var GetWhatsAppBusinessPublicKeyInput$: StaticStructureSchema;
|
|
41
|
+
export declare var GetWhatsAppBusinessPublicKeyOutput$: StaticStructureSchema;
|
|
40
42
|
export declare var GetWhatsAppFlowInput$: StaticStructureSchema;
|
|
41
43
|
export declare var GetWhatsAppFlowOutput$: StaticStructureSchema;
|
|
42
44
|
export declare var GetWhatsAppFlowPreviewInput$: StaticStructureSchema;
|
|
@@ -78,6 +80,8 @@ export declare var PublishWhatsAppFlowInput$: StaticStructureSchema;
|
|
|
78
80
|
export declare var PublishWhatsAppFlowOutput$: StaticStructureSchema;
|
|
79
81
|
export declare var PutWhatsAppBusinessAccountEventDestinationsInput$: StaticStructureSchema;
|
|
80
82
|
export declare var PutWhatsAppBusinessAccountEventDestinationsOutput$: StaticStructureSchema;
|
|
83
|
+
export declare var PutWhatsAppBusinessPublicKeyInput$: StaticStructureSchema;
|
|
84
|
+
export declare var PutWhatsAppBusinessPublicKeyOutput$: StaticStructureSchema;
|
|
81
85
|
export declare var S3File$: StaticStructureSchema;
|
|
82
86
|
export declare var S3PresignedUrl$: StaticStructureSchema;
|
|
83
87
|
export declare var SendWhatsAppConversionEventInput$: StaticStructureSchema;
|
|
@@ -117,6 +121,7 @@ export declare var DeprecateWhatsAppFlow$: StaticOperationSchema;
|
|
|
117
121
|
export declare var DisassociateWhatsAppBusinessAccount$: StaticOperationSchema;
|
|
118
122
|
export declare var GetLinkedWhatsAppBusinessAccount$: StaticOperationSchema;
|
|
119
123
|
export declare var GetLinkedWhatsAppBusinessAccountPhoneNumber$: StaticOperationSchema;
|
|
124
|
+
export declare var GetWhatsAppBusinessPublicKey$: StaticOperationSchema;
|
|
120
125
|
export declare var GetWhatsAppFlow$: StaticOperationSchema;
|
|
121
126
|
export declare var GetWhatsAppFlowPreview$: StaticOperationSchema;
|
|
122
127
|
export declare var GetWhatsAppMessageMedia$: StaticOperationSchema;
|
|
@@ -130,6 +135,7 @@ export declare var ListWhatsAppTemplateLibrary$: StaticOperationSchema;
|
|
|
130
135
|
export declare var PostWhatsAppMessageMedia$: StaticOperationSchema;
|
|
131
136
|
export declare var PublishWhatsAppFlow$: StaticOperationSchema;
|
|
132
137
|
export declare var PutWhatsAppBusinessAccountEventDestinations$: StaticOperationSchema;
|
|
138
|
+
export declare var PutWhatsAppBusinessPublicKey$: StaticOperationSchema;
|
|
133
139
|
export declare var SendWhatsAppConversionEvent$: StaticOperationSchema;
|
|
134
140
|
export declare var SendWhatsAppMessage$: StaticOperationSchema;
|
|
135
141
|
export declare var TagResource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-socialmessaging",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1127.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Socialmessaging Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-socialmessaging",
|
|
6
6
|
"license": "Apache-2.0",
|