@aws-sdk/client-socialmessaging 3.1104.0 → 3.1106.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 +58 -5
- package/dist-es/SocialMessaging.js +4 -0
- package/dist-es/commands/CreateWhatsAppDatasetCommand.js +4 -0
- package/dist-es/commands/SendWhatsAppConversionEventCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +41 -4
- package/dist-types/SocialMessaging.d.ts +14 -0
- package/dist-types/SocialMessagingClient.d.ts +4 -2
- package/dist-types/commands/CreateWhatsAppDatasetCommand.d.ts +96 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +1 -0
- package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +1 -0
- package/dist-types/commands/SendWhatsAppConversionEventCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +60 -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/CreateWhatsAppDatasetCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SendWhatsAppConversionEventCommand.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
|
@@ -213,6 +213,13 @@ AssociateWhatsAppBusinessAccount
|
|
|
213
213
|
</details>
|
|
214
214
|
<details>
|
|
215
215
|
<summary>
|
|
216
|
+
CreateWhatsAppDataset
|
|
217
|
+
</summary>
|
|
218
|
+
|
|
219
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/CreateWhatsAppDatasetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/CreateWhatsAppDatasetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/CreateWhatsAppDatasetCommandOutput/)
|
|
220
|
+
</details>
|
|
221
|
+
<details>
|
|
222
|
+
<summary>
|
|
216
223
|
CreateWhatsAppFlow
|
|
217
224
|
</summary>
|
|
218
225
|
|
|
@@ -381,6 +388,13 @@ PutWhatsAppBusinessAccountEventDestinations
|
|
|
381
388
|
</details>
|
|
382
389
|
<details>
|
|
383
390
|
<summary>
|
|
391
|
+
SendWhatsAppConversionEvent
|
|
392
|
+
</summary>
|
|
393
|
+
|
|
394
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/socialmessaging/command/SendWhatsAppConversionEventCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/SendWhatsAppConversionEventCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-socialmessaging/Interface/SendWhatsAppConversionEventCommandOutput/)
|
|
395
|
+
</details>
|
|
396
|
+
<details>
|
|
397
|
+
<summary>
|
|
384
398
|
SendWhatsAppMessage
|
|
385
399
|
</summary>
|
|
386
400
|
|
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.1105.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -256,6 +256,9 @@ const _AIPT = "AssociateInProgressToken";
|
|
|
256
256
|
const _AWABA = "AssociateWhatsAppBusinessAccount";
|
|
257
257
|
const _AWABAI = "AssociateWhatsAppBusinessAccountInput";
|
|
258
258
|
const _AWABAO = "AssociateWhatsAppBusinessAccountOutput";
|
|
259
|
+
const _CWAD = "CreateWhatsAppDataset";
|
|
260
|
+
const _CWADI = "CreateWhatsAppDatasetInput";
|
|
261
|
+
const _CWADO = "CreateWhatsAppDatasetOutput";
|
|
259
262
|
const _CWAF = "CreateWhatsAppFlow";
|
|
260
263
|
const _CWAFI = "CreateWhatsAppFlowInput";
|
|
261
264
|
const _CWAFO = "CreateWhatsAppFlowOutput";
|
|
@@ -359,6 +362,9 @@ const _RNFE = "ResourceNotFoundException";
|
|
|
359
362
|
const _SA = "SupportedApps";
|
|
360
363
|
const _SF = "S3File";
|
|
361
364
|
const _SPU = "S3PresignedUrl";
|
|
365
|
+
const _SWACE = "SendWhatsAppConversionEvent";
|
|
366
|
+
const _SWACEI = "SendWhatsAppConversionEventInput";
|
|
367
|
+
const _SWACEO = "SendWhatsAppConversionEventOutput";
|
|
362
368
|
const _SWAM = "SendWhatsAppMessage";
|
|
363
369
|
const _SWAMI = "SendWhatsAppMessageInput";
|
|
364
370
|
const _SWAMO = "SendWhatsAppMessageOutput";
|
|
@@ -386,6 +392,7 @@ const _UWAMTO = "UpdateWhatsAppMessageTemplateOutput";
|
|
|
386
392
|
const _VE = "ValidationException";
|
|
387
393
|
const _WABAED = "WhatsAppBusinessAccountEventDestination";
|
|
388
394
|
const _WABAEDh = "WhatsAppBusinessAccountEventDestinations";
|
|
395
|
+
const _WACEB = "WhatsAppConversionEventBlob";
|
|
389
396
|
const _WAMB = "WhatsAppMessageBlob";
|
|
390
397
|
const _WAPND = "WhatsAppPhoneNumberDetail";
|
|
391
398
|
const _WAPNDL = "WhatsAppPhoneNumberDetailList";
|
|
@@ -421,6 +428,7 @@ const _cu = "currency";
|
|
|
421
428
|
const _dAL = "deleteAllLanguages";
|
|
422
429
|
const _dAT = "deleteAllTemplates";
|
|
423
430
|
const _dAV = "dataApiVersion";
|
|
431
|
+
const _dI = "datasetId";
|
|
424
432
|
const _dLR = "dataLocalizationRegion";
|
|
425
433
|
const _dPN = "displayPhoneNumber";
|
|
426
434
|
const _dPNN = "displayPhoneNumberName";
|
|
@@ -431,6 +439,7 @@ const _e = "error";
|
|
|
431
439
|
const _eA = "expiresAt";
|
|
432
440
|
const _eD = "eventDestinations";
|
|
433
441
|
const _eDA = "eventDestinationArn";
|
|
442
|
+
const _eDv = "eventData";
|
|
434
443
|
const _eT = "entityType";
|
|
435
444
|
const _eU = "endpointUri";
|
|
436
445
|
const _en = "entities";
|
|
@@ -489,6 +498,7 @@ const _pr = "preview";
|
|
|
489
498
|
const _qR = "qualityRating";
|
|
490
499
|
const _rA = "resourceArn";
|
|
491
500
|
const _rAo = "roleArn";
|
|
501
|
+
const _rI = "requestId";
|
|
492
502
|
const _rS = "registrationStatus";
|
|
493
503
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.socialmessaging";
|
|
494
504
|
const _sA = "supportedApps";
|
|
@@ -598,6 +608,7 @@ const errorTypeRegistries = [
|
|
|
598
608
|
];
|
|
599
609
|
var AssociateInProgressToken = [0, n0, _AIPT, 8, 0];
|
|
600
610
|
var TwoFactorPin = [0, n0, _TFP, 8, 0];
|
|
611
|
+
var WhatsAppConversionEventBlob = [0, n0, _WACEB, 8, 21];
|
|
601
612
|
var WhatsAppMessageBlob = [0, n0, _WAMB, 8, 21];
|
|
602
613
|
var AssociateWhatsAppBusinessAccountInput$ = [3, n0, _AWABAI,
|
|
603
614
|
0,
|
|
@@ -609,6 +620,16 @@ var AssociateWhatsAppBusinessAccountOutput$ = [3, n0, _AWABAO,
|
|
|
609
620
|
[_sCR, _sCt, _lWABAI],
|
|
610
621
|
[[() => WhatsAppSignupCallbackResult$, 0], 1, 0]
|
|
611
622
|
];
|
|
623
|
+
var CreateWhatsAppDatasetInput$ = [3, n0, _CWADI,
|
|
624
|
+
0,
|
|
625
|
+
[_i],
|
|
626
|
+
[0], 1
|
|
627
|
+
];
|
|
628
|
+
var CreateWhatsAppDatasetOutput$ = [3, n0, _CWADO,
|
|
629
|
+
0,
|
|
630
|
+
[_dI],
|
|
631
|
+
[0], 1
|
|
632
|
+
];
|
|
612
633
|
var CreateWhatsAppFlowInput$ = [3, n0, _CWAFI,
|
|
613
634
|
0,
|
|
614
635
|
[_i, _fN, _ca, _fJ, _p, _cFI],
|
|
@@ -776,8 +797,8 @@ var LibraryTemplateButtonList$ = [3, n0, _LTBL,
|
|
|
776
797
|
];
|
|
777
798
|
var LinkedWhatsAppBusinessAccount$ = [3, n0, _LWABA,
|
|
778
799
|
0,
|
|
779
|
-
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS],
|
|
780
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0], 8
|
|
800
|
+
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS, _dI],
|
|
801
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0, 0], 8
|
|
781
802
|
];
|
|
782
803
|
var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
783
804
|
0,
|
|
@@ -786,8 +807,8 @@ var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
|
786
807
|
];
|
|
787
808
|
var LinkedWhatsAppBusinessAccountSummary$ = [3, n0, _LWABAS,
|
|
788
809
|
0,
|
|
789
|
-
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS],
|
|
790
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0], 7
|
|
810
|
+
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS, _dI],
|
|
811
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0, 0], 7
|
|
791
812
|
];
|
|
792
813
|
var ListLinkedWhatsAppBusinessAccountsInput$ = [3, n0, _LLWABAI,
|
|
793
814
|
0,
|
|
@@ -934,6 +955,16 @@ var S3PresignedUrl$ = [3, n0, _SPU,
|
|
|
934
955
|
[_u, _h],
|
|
935
956
|
[0, 128 | 0], 2
|
|
936
957
|
];
|
|
958
|
+
var SendWhatsAppConversionEventInput$ = [3, n0, _SWACEI,
|
|
959
|
+
0,
|
|
960
|
+
[_i, _dI, _eDv],
|
|
961
|
+
[0, 0, [() => WhatsAppConversionEventBlob, 0]], 3
|
|
962
|
+
];
|
|
963
|
+
var SendWhatsAppConversionEventOutput$ = [3, n0, _SWACEO,
|
|
964
|
+
0,
|
|
965
|
+
[_rI],
|
|
966
|
+
[0], 1
|
|
967
|
+
];
|
|
937
968
|
var SendWhatsAppMessageInput$ = [3, n0, _SWAMI,
|
|
938
969
|
0,
|
|
939
970
|
[_oPNI, _m, _mAV],
|
|
@@ -1090,6 +1121,9 @@ var LinkedAccountWithIncompleteSetup = [2, n0, _LAWIS,
|
|
|
1090
1121
|
var AssociateWhatsAppBusinessAccount$ = [9, n0, _AWABA,
|
|
1091
1122
|
{ [_ht]: ["POST", "/v1/whatsapp/signup", 200] }, () => AssociateWhatsAppBusinessAccountInput$, () => AssociateWhatsAppBusinessAccountOutput$
|
|
1092
1123
|
];
|
|
1124
|
+
var CreateWhatsAppDataset$ = [9, n0, _CWAD,
|
|
1125
|
+
{ [_ht]: ["POST", "/v1/whatsapp/waba/dataset", 200] }, () => CreateWhatsAppDatasetInput$, () => CreateWhatsAppDatasetOutput$
|
|
1126
|
+
];
|
|
1093
1127
|
var CreateWhatsAppFlow$ = [9, n0, _CWAF,
|
|
1094
1128
|
{ [_ht]: ["POST", "/v1/whatsapp/flow/create", 200] }, () => CreateWhatsAppFlowInput$, () => CreateWhatsAppFlowOutput$
|
|
1095
1129
|
];
|
|
@@ -1162,6 +1196,9 @@ var PublishWhatsAppFlow$ = [9, n0, _PWAF,
|
|
|
1162
1196
|
var PutWhatsAppBusinessAccountEventDestinations$ = [9, n0, _PWABAED,
|
|
1163
1197
|
{ [_ht]: ["PUT", "/v1/whatsapp/waba/eventdestinations", 200] }, () => PutWhatsAppBusinessAccountEventDestinationsInput$, () => PutWhatsAppBusinessAccountEventDestinationsOutput$
|
|
1164
1198
|
];
|
|
1199
|
+
var SendWhatsAppConversionEvent$ = [9, n0, _SWACE,
|
|
1200
|
+
{ [_ht]: ["POST", "/v1/whatsapp/waba/dataset/events", 200] }, () => SendWhatsAppConversionEventInput$, () => SendWhatsAppConversionEventOutput$
|
|
1201
|
+
];
|
|
1165
1202
|
var SendWhatsAppMessage$ = [9, n0, _SWAM,
|
|
1166
1203
|
{ [_ht]: ["POST", "/v1/whatsapp/send", 200] }, () => SendWhatsAppMessageInput$, () => SendWhatsAppMessageOutput$
|
|
1167
1204
|
];
|
|
@@ -1334,6 +1371,9 @@ const _mw0 = (Command, cs, config, o) => [];
|
|
|
1334
1371
|
class AssociateWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "AssociateWhatsAppBusinessAccount", AssociateWhatsAppBusinessAccount$) {
|
|
1335
1372
|
}
|
|
1336
1373
|
|
|
1374
|
+
class CreateWhatsAppDatasetCommand extends command(_ep0, _mw0, "CreateWhatsAppDataset", CreateWhatsAppDataset$) {
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1337
1377
|
class CreateWhatsAppFlowCommand extends command(_ep0, _mw0, "CreateWhatsAppFlow", CreateWhatsAppFlow$) {
|
|
1338
1378
|
}
|
|
1339
1379
|
|
|
@@ -1406,6 +1446,9 @@ class PublishWhatsAppFlowCommand extends command(_ep0, _mw0, "PublishWhatsAppFlo
|
|
|
1406
1446
|
class PutWhatsAppBusinessAccountEventDestinationsCommand extends command(_ep0, _mw0, "PutWhatsAppBusinessAccountEventDestinations", PutWhatsAppBusinessAccountEventDestinations$) {
|
|
1407
1447
|
}
|
|
1408
1448
|
|
|
1449
|
+
class SendWhatsAppConversionEventCommand extends command(_ep0, _mw0, "SendWhatsAppConversionEvent", SendWhatsAppConversionEvent$) {
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1409
1452
|
class SendWhatsAppMessageCommand extends command(_ep0, _mw0, "SendWhatsAppMessage", SendWhatsAppMessage$) {
|
|
1410
1453
|
}
|
|
1411
1454
|
|
|
@@ -1436,6 +1479,7 @@ const paginateListWhatsAppTemplateLibrary = createPaginator(SocialMessagingClien
|
|
|
1436
1479
|
|
|
1437
1480
|
const commands = {
|
|
1438
1481
|
AssociateWhatsAppBusinessAccountCommand,
|
|
1482
|
+
CreateWhatsAppDatasetCommand,
|
|
1439
1483
|
CreateWhatsAppFlowCommand,
|
|
1440
1484
|
CreateWhatsAppMessageTemplateCommand,
|
|
1441
1485
|
CreateWhatsAppMessageTemplateFromLibraryCommand,
|
|
@@ -1460,6 +1504,7 @@ const commands = {
|
|
|
1460
1504
|
PostWhatsAppMessageMediaCommand,
|
|
1461
1505
|
PublishWhatsAppFlowCommand,
|
|
1462
1506
|
PutWhatsAppBusinessAccountEventDestinationsCommand,
|
|
1507
|
+
SendWhatsAppConversionEventCommand,
|
|
1463
1508
|
SendWhatsAppMessageCommand,
|
|
1464
1509
|
TagResourceCommand,
|
|
1465
1510
|
UntagResourceCommand,
|
|
@@ -1502,6 +1547,10 @@ exports.AssociateWhatsAppBusinessAccount$ = AssociateWhatsAppBusinessAccount$;
|
|
|
1502
1547
|
exports.AssociateWhatsAppBusinessAccountCommand = AssociateWhatsAppBusinessAccountCommand;
|
|
1503
1548
|
exports.AssociateWhatsAppBusinessAccountInput$ = AssociateWhatsAppBusinessAccountInput$;
|
|
1504
1549
|
exports.AssociateWhatsAppBusinessAccountOutput$ = AssociateWhatsAppBusinessAccountOutput$;
|
|
1550
|
+
exports.CreateWhatsAppDataset$ = CreateWhatsAppDataset$;
|
|
1551
|
+
exports.CreateWhatsAppDatasetCommand = CreateWhatsAppDatasetCommand;
|
|
1552
|
+
exports.CreateWhatsAppDatasetInput$ = CreateWhatsAppDatasetInput$;
|
|
1553
|
+
exports.CreateWhatsAppDatasetOutput$ = CreateWhatsAppDatasetOutput$;
|
|
1505
1554
|
exports.CreateWhatsAppFlow$ = CreateWhatsAppFlow$;
|
|
1506
1555
|
exports.CreateWhatsAppFlowCommand = CreateWhatsAppFlowCommand;
|
|
1507
1556
|
exports.CreateWhatsAppFlowInput$ = CreateWhatsAppFlowInput$;
|
|
@@ -1627,6 +1676,10 @@ exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
|
1627
1676
|
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1628
1677
|
exports.S3File$ = S3File$;
|
|
1629
1678
|
exports.S3PresignedUrl$ = S3PresignedUrl$;
|
|
1679
|
+
exports.SendWhatsAppConversionEvent$ = SendWhatsAppConversionEvent$;
|
|
1680
|
+
exports.SendWhatsAppConversionEventCommand = SendWhatsAppConversionEventCommand;
|
|
1681
|
+
exports.SendWhatsAppConversionEventInput$ = SendWhatsAppConversionEventInput$;
|
|
1682
|
+
exports.SendWhatsAppConversionEventOutput$ = SendWhatsAppConversionEventOutput$;
|
|
1630
1683
|
exports.SendWhatsAppMessage$ = SendWhatsAppMessage$;
|
|
1631
1684
|
exports.SendWhatsAppMessageCommand = SendWhatsAppMessageCommand;
|
|
1632
1685
|
exports.SendWhatsAppMessageInput$ = SendWhatsAppMessageInput$;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { AssociateWhatsAppBusinessAccountCommand, } from "./commands/AssociateWhatsAppBusinessAccountCommand";
|
|
3
|
+
import { CreateWhatsAppDatasetCommand, } from "./commands/CreateWhatsAppDatasetCommand";
|
|
3
4
|
import { CreateWhatsAppFlowCommand, } from "./commands/CreateWhatsAppFlowCommand";
|
|
4
5
|
import { CreateWhatsAppMessageTemplateCommand, } from "./commands/CreateWhatsAppMessageTemplateCommand";
|
|
5
6
|
import { CreateWhatsAppMessageTemplateFromLibraryCommand, } from "./commands/CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
@@ -24,6 +25,7 @@ import { ListWhatsAppTemplateLibraryCommand, } from "./commands/ListWhatsAppTemp
|
|
|
24
25
|
import { PostWhatsAppMessageMediaCommand, } from "./commands/PostWhatsAppMessageMediaCommand";
|
|
25
26
|
import { PublishWhatsAppFlowCommand, } from "./commands/PublishWhatsAppFlowCommand";
|
|
26
27
|
import { PutWhatsAppBusinessAccountEventDestinationsCommand, } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
28
|
+
import { SendWhatsAppConversionEventCommand, } from "./commands/SendWhatsAppConversionEventCommand";
|
|
27
29
|
import { SendWhatsAppMessageCommand, } from "./commands/SendWhatsAppMessageCommand";
|
|
28
30
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
29
31
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -38,6 +40,7 @@ import { paginateListWhatsAppTemplateLibrary } from "./pagination/ListWhatsAppTe
|
|
|
38
40
|
import { SocialMessagingClient } from "./SocialMessagingClient";
|
|
39
41
|
const commands = {
|
|
40
42
|
AssociateWhatsAppBusinessAccountCommand,
|
|
43
|
+
CreateWhatsAppDatasetCommand,
|
|
41
44
|
CreateWhatsAppFlowCommand,
|
|
42
45
|
CreateWhatsAppMessageTemplateCommand,
|
|
43
46
|
CreateWhatsAppMessageTemplateFromLibraryCommand,
|
|
@@ -62,6 +65,7 @@ const commands = {
|
|
|
62
65
|
PostWhatsAppMessageMediaCommand,
|
|
63
66
|
PublishWhatsAppFlowCommand,
|
|
64
67
|
PutWhatsAppBusinessAccountEventDestinationsCommand,
|
|
68
|
+
SendWhatsAppConversionEventCommand,
|
|
65
69
|
SendWhatsAppMessageCommand,
|
|
66
70
|
TagResourceCommand,
|
|
67
71
|
UntagResourceCommand,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AssociateWhatsAppBusinessAccountCommand";
|
|
2
|
+
export * from "./CreateWhatsAppDatasetCommand";
|
|
2
3
|
export * from "./CreateWhatsAppFlowCommand";
|
|
3
4
|
export * from "./CreateWhatsAppMessageTemplateCommand";
|
|
4
5
|
export * from "./CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
@@ -23,6 +24,7 @@ export * from "./ListWhatsAppTemplateLibraryCommand";
|
|
|
23
24
|
export * from "./PostWhatsAppMessageMediaCommand";
|
|
24
25
|
export * from "./PublishWhatsAppFlowCommand";
|
|
25
26
|
export * from "./PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
27
|
+
export * from "./SendWhatsAppConversionEventCommand";
|
|
26
28
|
export * from "./SendWhatsAppMessageCommand";
|
|
27
29
|
export * from "./TagResourceCommand";
|
|
28
30
|
export * from "./UntagResourceCommand";
|
|
@@ -4,6 +4,9 @@ const _AIPT = "AssociateInProgressToken";
|
|
|
4
4
|
const _AWABA = "AssociateWhatsAppBusinessAccount";
|
|
5
5
|
const _AWABAI = "AssociateWhatsAppBusinessAccountInput";
|
|
6
6
|
const _AWABAO = "AssociateWhatsAppBusinessAccountOutput";
|
|
7
|
+
const _CWAD = "CreateWhatsAppDataset";
|
|
8
|
+
const _CWADI = "CreateWhatsAppDatasetInput";
|
|
9
|
+
const _CWADO = "CreateWhatsAppDatasetOutput";
|
|
7
10
|
const _CWAF = "CreateWhatsAppFlow";
|
|
8
11
|
const _CWAFI = "CreateWhatsAppFlowInput";
|
|
9
12
|
const _CWAFO = "CreateWhatsAppFlowOutput";
|
|
@@ -107,6 +110,9 @@ const _RNFE = "ResourceNotFoundException";
|
|
|
107
110
|
const _SA = "SupportedApps";
|
|
108
111
|
const _SF = "S3File";
|
|
109
112
|
const _SPU = "S3PresignedUrl";
|
|
113
|
+
const _SWACE = "SendWhatsAppConversionEvent";
|
|
114
|
+
const _SWACEI = "SendWhatsAppConversionEventInput";
|
|
115
|
+
const _SWACEO = "SendWhatsAppConversionEventOutput";
|
|
110
116
|
const _SWAM = "SendWhatsAppMessage";
|
|
111
117
|
const _SWAMI = "SendWhatsAppMessageInput";
|
|
112
118
|
const _SWAMO = "SendWhatsAppMessageOutput";
|
|
@@ -134,6 +140,7 @@ const _UWAMTO = "UpdateWhatsAppMessageTemplateOutput";
|
|
|
134
140
|
const _VE = "ValidationException";
|
|
135
141
|
const _WABAED = "WhatsAppBusinessAccountEventDestination";
|
|
136
142
|
const _WABAEDh = "WhatsAppBusinessAccountEventDestinations";
|
|
143
|
+
const _WACEB = "WhatsAppConversionEventBlob";
|
|
137
144
|
const _WAMB = "WhatsAppMessageBlob";
|
|
138
145
|
const _WAPND = "WhatsAppPhoneNumberDetail";
|
|
139
146
|
const _WAPNDL = "WhatsAppPhoneNumberDetailList";
|
|
@@ -169,6 +176,7 @@ const _cu = "currency";
|
|
|
169
176
|
const _dAL = "deleteAllLanguages";
|
|
170
177
|
const _dAT = "deleteAllTemplates";
|
|
171
178
|
const _dAV = "dataApiVersion";
|
|
179
|
+
const _dI = "datasetId";
|
|
172
180
|
const _dLR = "dataLocalizationRegion";
|
|
173
181
|
const _dPN = "displayPhoneNumber";
|
|
174
182
|
const _dPNN = "displayPhoneNumberName";
|
|
@@ -179,6 +187,7 @@ const _e = "error";
|
|
|
179
187
|
const _eA = "expiresAt";
|
|
180
188
|
const _eD = "eventDestinations";
|
|
181
189
|
const _eDA = "eventDestinationArn";
|
|
190
|
+
const _eDv = "eventData";
|
|
182
191
|
const _eT = "entityType";
|
|
183
192
|
const _eU = "endpointUri";
|
|
184
193
|
const _en = "entities";
|
|
@@ -237,6 +246,7 @@ const _pr = "preview";
|
|
|
237
246
|
const _qR = "qualityRating";
|
|
238
247
|
const _rA = "resourceArn";
|
|
239
248
|
const _rAo = "roleArn";
|
|
249
|
+
const _rI = "requestId";
|
|
240
250
|
const _rS = "registrationStatus";
|
|
241
251
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.socialmessaging";
|
|
242
252
|
const _sA = "supportedApps";
|
|
@@ -349,6 +359,7 @@ export const errorTypeRegistries = [
|
|
|
349
359
|
];
|
|
350
360
|
var AssociateInProgressToken = [0, n0, _AIPT, 8, 0];
|
|
351
361
|
var TwoFactorPin = [0, n0, _TFP, 8, 0];
|
|
362
|
+
var WhatsAppConversionEventBlob = [0, n0, _WACEB, 8, 21];
|
|
352
363
|
var WhatsAppMessageBlob = [0, n0, _WAMB, 8, 21];
|
|
353
364
|
export var AssociateWhatsAppBusinessAccountInput$ = [3, n0, _AWABAI,
|
|
354
365
|
0,
|
|
@@ -360,6 +371,16 @@ export var AssociateWhatsAppBusinessAccountOutput$ = [3, n0, _AWABAO,
|
|
|
360
371
|
[_sCR, _sCt, _lWABAI],
|
|
361
372
|
[[() => WhatsAppSignupCallbackResult$, 0], 1, 0]
|
|
362
373
|
];
|
|
374
|
+
export var CreateWhatsAppDatasetInput$ = [3, n0, _CWADI,
|
|
375
|
+
0,
|
|
376
|
+
[_i],
|
|
377
|
+
[0], 1
|
|
378
|
+
];
|
|
379
|
+
export var CreateWhatsAppDatasetOutput$ = [3, n0, _CWADO,
|
|
380
|
+
0,
|
|
381
|
+
[_dI],
|
|
382
|
+
[0], 1
|
|
383
|
+
];
|
|
363
384
|
export var CreateWhatsAppFlowInput$ = [3, n0, _CWAFI,
|
|
364
385
|
0,
|
|
365
386
|
[_i, _fN, _ca, _fJ, _p, _cFI],
|
|
@@ -527,8 +548,8 @@ export var LibraryTemplateButtonList$ = [3, n0, _LTBL,
|
|
|
527
548
|
];
|
|
528
549
|
export var LinkedWhatsAppBusinessAccount$ = [3, n0, _LWABA,
|
|
529
550
|
0,
|
|
530
|
-
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS],
|
|
531
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0], 8
|
|
551
|
+
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS, _dI],
|
|
552
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0, 0], 8
|
|
532
553
|
];
|
|
533
554
|
export var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
534
555
|
0,
|
|
@@ -537,8 +558,8 @@ export var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
|
537
558
|
];
|
|
538
559
|
export var LinkedWhatsAppBusinessAccountSummary$ = [3, n0, _LWABAS,
|
|
539
560
|
0,
|
|
540
|
-
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS],
|
|
541
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0], 7
|
|
561
|
+
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS, _dI],
|
|
562
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0, 0], 7
|
|
542
563
|
];
|
|
543
564
|
export var ListLinkedWhatsAppBusinessAccountsInput$ = [3, n0, _LLWABAI,
|
|
544
565
|
0,
|
|
@@ -685,6 +706,16 @@ export var S3PresignedUrl$ = [3, n0, _SPU,
|
|
|
685
706
|
[_u, _h],
|
|
686
707
|
[0, 128 | 0], 2
|
|
687
708
|
];
|
|
709
|
+
export var SendWhatsAppConversionEventInput$ = [3, n0, _SWACEI,
|
|
710
|
+
0,
|
|
711
|
+
[_i, _dI, _eDv],
|
|
712
|
+
[0, 0, [() => WhatsAppConversionEventBlob, 0]], 3
|
|
713
|
+
];
|
|
714
|
+
export var SendWhatsAppConversionEventOutput$ = [3, n0, _SWACEO,
|
|
715
|
+
0,
|
|
716
|
+
[_rI],
|
|
717
|
+
[0], 1
|
|
718
|
+
];
|
|
688
719
|
export var SendWhatsAppMessageInput$ = [3, n0, _SWAMI,
|
|
689
720
|
0,
|
|
690
721
|
[_oPNI, _m, _mAV],
|
|
@@ -853,6 +884,9 @@ var SupportedApp = 128 | 0;
|
|
|
853
884
|
export var AssociateWhatsAppBusinessAccount$ = [9, n0, _AWABA,
|
|
854
885
|
{ [_ht]: ["POST", "/v1/whatsapp/signup", 200] }, () => AssociateWhatsAppBusinessAccountInput$, () => AssociateWhatsAppBusinessAccountOutput$
|
|
855
886
|
];
|
|
887
|
+
export var CreateWhatsAppDataset$ = [9, n0, _CWAD,
|
|
888
|
+
{ [_ht]: ["POST", "/v1/whatsapp/waba/dataset", 200] }, () => CreateWhatsAppDatasetInput$, () => CreateWhatsAppDatasetOutput$
|
|
889
|
+
];
|
|
856
890
|
export var CreateWhatsAppFlow$ = [9, n0, _CWAF,
|
|
857
891
|
{ [_ht]: ["POST", "/v1/whatsapp/flow/create", 200] }, () => CreateWhatsAppFlowInput$, () => CreateWhatsAppFlowOutput$
|
|
858
892
|
];
|
|
@@ -925,6 +959,9 @@ export var PublishWhatsAppFlow$ = [9, n0, _PWAF,
|
|
|
925
959
|
export var PutWhatsAppBusinessAccountEventDestinations$ = [9, n0, _PWABAED,
|
|
926
960
|
{ [_ht]: ["PUT", "/v1/whatsapp/waba/eventdestinations", 200] }, () => PutWhatsAppBusinessAccountEventDestinationsInput$, () => PutWhatsAppBusinessAccountEventDestinationsOutput$
|
|
927
961
|
];
|
|
962
|
+
export var SendWhatsAppConversionEvent$ = [9, n0, _SWACE,
|
|
963
|
+
{ [_ht]: ["POST", "/v1/whatsapp/waba/dataset/events", 200] }, () => SendWhatsAppConversionEventInput$, () => SendWhatsAppConversionEventOutput$
|
|
964
|
+
];
|
|
928
965
|
export var SendWhatsAppMessage$ = [9, n0, _SWAM,
|
|
929
966
|
{ [_ht]: ["POST", "/v1/whatsapp/send", 200] }, () => SendWhatsAppMessageInput$, () => SendWhatsAppMessageOutput$
|
|
930
967
|
];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type AssociateWhatsAppBusinessAccountCommandInput, type AssociateWhatsAppBusinessAccountCommandOutput } from "./commands/AssociateWhatsAppBusinessAccountCommand";
|
|
3
|
+
import { type CreateWhatsAppDatasetCommandInput, type CreateWhatsAppDatasetCommandOutput } from "./commands/CreateWhatsAppDatasetCommand";
|
|
3
4
|
import { type CreateWhatsAppFlowCommandInput, type CreateWhatsAppFlowCommandOutput } from "./commands/CreateWhatsAppFlowCommand";
|
|
4
5
|
import { type CreateWhatsAppMessageTemplateCommandInput, type CreateWhatsAppMessageTemplateCommandOutput } from "./commands/CreateWhatsAppMessageTemplateCommand";
|
|
5
6
|
import { type CreateWhatsAppMessageTemplateFromLibraryCommandInput, type CreateWhatsAppMessageTemplateFromLibraryCommandOutput } from "./commands/CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
@@ -24,6 +25,7 @@ import { type ListWhatsAppTemplateLibraryCommandInput, type ListWhatsAppTemplate
|
|
|
24
25
|
import { type PostWhatsAppMessageMediaCommandInput, type PostWhatsAppMessageMediaCommandOutput } from "./commands/PostWhatsAppMessageMediaCommand";
|
|
25
26
|
import { type PublishWhatsAppFlowCommandInput, type PublishWhatsAppFlowCommandOutput } from "./commands/PublishWhatsAppFlowCommand";
|
|
26
27
|
import { type PutWhatsAppBusinessAccountEventDestinationsCommandInput, type PutWhatsAppBusinessAccountEventDestinationsCommandOutput } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
28
|
+
import { type SendWhatsAppConversionEventCommandInput, type SendWhatsAppConversionEventCommandOutput } from "./commands/SendWhatsAppConversionEventCommand";
|
|
27
29
|
import { type SendWhatsAppMessageCommandInput, type SendWhatsAppMessageCommandOutput } from "./commands/SendWhatsAppMessageCommand";
|
|
28
30
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
29
31
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -39,6 +41,12 @@ export interface SocialMessaging {
|
|
|
39
41
|
associateWhatsAppBusinessAccount(args: AssociateWhatsAppBusinessAccountCommandInput, options?: __HttpHandlerOptions): Promise<AssociateWhatsAppBusinessAccountCommandOutput>;
|
|
40
42
|
associateWhatsAppBusinessAccount(args: AssociateWhatsAppBusinessAccountCommandInput, cb: (err: any, data?: AssociateWhatsAppBusinessAccountCommandOutput) => void): void;
|
|
41
43
|
associateWhatsAppBusinessAccount(args: AssociateWhatsAppBusinessAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateWhatsAppBusinessAccountCommandOutput) => void): void;
|
|
44
|
+
/**
|
|
45
|
+
* @see {@link CreateWhatsAppDatasetCommand}
|
|
46
|
+
*/
|
|
47
|
+
createWhatsAppDataset(args: CreateWhatsAppDatasetCommandInput, options?: __HttpHandlerOptions): Promise<CreateWhatsAppDatasetCommandOutput>;
|
|
48
|
+
createWhatsAppDataset(args: CreateWhatsAppDatasetCommandInput, cb: (err: any, data?: CreateWhatsAppDatasetCommandOutput) => void): void;
|
|
49
|
+
createWhatsAppDataset(args: CreateWhatsAppDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWhatsAppDatasetCommandOutput) => void): void;
|
|
42
50
|
/**
|
|
43
51
|
* @see {@link CreateWhatsAppFlowCommand}
|
|
44
52
|
*/
|
|
@@ -184,6 +192,12 @@ export interface SocialMessaging {
|
|
|
184
192
|
putWhatsAppBusinessAccountEventDestinations(args: PutWhatsAppBusinessAccountEventDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<PutWhatsAppBusinessAccountEventDestinationsCommandOutput>;
|
|
185
193
|
putWhatsAppBusinessAccountEventDestinations(args: PutWhatsAppBusinessAccountEventDestinationsCommandInput, cb: (err: any, data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput) => void): void;
|
|
186
194
|
putWhatsAppBusinessAccountEventDestinations(args: PutWhatsAppBusinessAccountEventDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput) => void): void;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link SendWhatsAppConversionEventCommand}
|
|
197
|
+
*/
|
|
198
|
+
sendWhatsAppConversionEvent(args: SendWhatsAppConversionEventCommandInput, options?: __HttpHandlerOptions): Promise<SendWhatsAppConversionEventCommandOutput>;
|
|
199
|
+
sendWhatsAppConversionEvent(args: SendWhatsAppConversionEventCommandInput, cb: (err: any, data?: SendWhatsAppConversionEventCommandOutput) => void): void;
|
|
200
|
+
sendWhatsAppConversionEvent(args: SendWhatsAppConversionEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendWhatsAppConversionEventCommandOutput) => void): void;
|
|
187
201
|
/**
|
|
188
202
|
* @see {@link SendWhatsAppMessageCommand}
|
|
189
203
|
*/
|
|
@@ -7,6 +7,7 @@ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/re
|
|
|
7
7
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
8
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
9
|
import type { AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput } from "./commands/AssociateWhatsAppBusinessAccountCommand";
|
|
10
|
+
import type { CreateWhatsAppDatasetCommandInput, CreateWhatsAppDatasetCommandOutput } from "./commands/CreateWhatsAppDatasetCommand";
|
|
10
11
|
import type { CreateWhatsAppFlowCommandInput, CreateWhatsAppFlowCommandOutput } from "./commands/CreateWhatsAppFlowCommand";
|
|
11
12
|
import type { CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput } from "./commands/CreateWhatsAppMessageTemplateCommand";
|
|
12
13
|
import type { CreateWhatsAppMessageTemplateFromLibraryCommandInput, CreateWhatsAppMessageTemplateFromLibraryCommandOutput } from "./commands/CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
@@ -31,6 +32,7 @@ import type { ListWhatsAppTemplateLibraryCommandInput, ListWhatsAppTemplateLibra
|
|
|
31
32
|
import type { PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput } from "./commands/PostWhatsAppMessageMediaCommand";
|
|
32
33
|
import type { PublishWhatsAppFlowCommandInput, PublishWhatsAppFlowCommandOutput } from "./commands/PublishWhatsAppFlowCommand";
|
|
33
34
|
import type { PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput } from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
35
|
+
import type { SendWhatsAppConversionEventCommandInput, SendWhatsAppConversionEventCommandOutput } from "./commands/SendWhatsAppConversionEventCommand";
|
|
34
36
|
import type { SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput } from "./commands/SendWhatsAppMessageCommand";
|
|
35
37
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
38
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -43,11 +45,11 @@ export { __Client };
|
|
|
43
45
|
/**
|
|
44
46
|
* @public
|
|
45
47
|
*/
|
|
46
|
-
export type ServiceInputTypes = AssociateWhatsAppBusinessAccountCommandInput | CreateWhatsAppFlowCommandInput | CreateWhatsAppMessageTemplateCommandInput | CreateWhatsAppMessageTemplateFromLibraryCommandInput | CreateWhatsAppMessageTemplateMediaCommandInput | DeleteWhatsAppFlowCommandInput | DeleteWhatsAppMessageMediaCommandInput | DeleteWhatsAppMessageTemplateCommandInput | DeprecateWhatsAppFlowCommandInput | DisassociateWhatsAppBusinessAccountCommandInput | GetLinkedWhatsAppBusinessAccountCommandInput | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput | GetWhatsAppFlowCommandInput | GetWhatsAppFlowPreviewCommandInput | GetWhatsAppMessageMediaCommandInput | GetWhatsAppMessageTemplateCommandInput | ListLinkedWhatsAppBusinessAccountsCommandInput | ListTagsForResourceCommandInput | ListWhatsAppFlowAssetsCommandInput | ListWhatsAppFlowsCommandInput | ListWhatsAppMessageTemplatesCommandInput | ListWhatsAppTemplateLibraryCommandInput | PostWhatsAppMessageMediaCommandInput | PublishWhatsAppFlowCommandInput | PutWhatsAppBusinessAccountEventDestinationsCommandInput | SendWhatsAppMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWhatsAppFlowAssetsCommandInput | UpdateWhatsAppFlowCommandInput | UpdateWhatsAppMessageTemplateCommandInput;
|
|
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;
|
|
47
49
|
/**
|
|
48
50
|
* @public
|
|
49
51
|
*/
|
|
50
|
-
export type ServiceOutputTypes = AssociateWhatsAppBusinessAccountCommandOutput | CreateWhatsAppFlowCommandOutput | CreateWhatsAppMessageTemplateCommandOutput | CreateWhatsAppMessageTemplateFromLibraryCommandOutput | CreateWhatsAppMessageTemplateMediaCommandOutput | DeleteWhatsAppFlowCommandOutput | DeleteWhatsAppMessageMediaCommandOutput | DeleteWhatsAppMessageTemplateCommandOutput | DeprecateWhatsAppFlowCommandOutput | DisassociateWhatsAppBusinessAccountCommandOutput | GetLinkedWhatsAppBusinessAccountCommandOutput | GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput | GetWhatsAppFlowCommandOutput | GetWhatsAppFlowPreviewCommandOutput | GetWhatsAppMessageMediaCommandOutput | GetWhatsAppMessageTemplateCommandOutput | ListLinkedWhatsAppBusinessAccountsCommandOutput | ListTagsForResourceCommandOutput | ListWhatsAppFlowAssetsCommandOutput | ListWhatsAppFlowsCommandOutput | ListWhatsAppMessageTemplatesCommandOutput | ListWhatsAppTemplateLibraryCommandOutput | PostWhatsAppMessageMediaCommandOutput | PublishWhatsAppFlowCommandOutput | PutWhatsAppBusinessAccountEventDestinationsCommandOutput | SendWhatsAppMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWhatsAppFlowAssetsCommandOutput | UpdateWhatsAppFlowCommandOutput | UpdateWhatsAppMessageTemplateCommandOutput;
|
|
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;
|
|
51
53
|
/**
|
|
52
54
|
* @public
|
|
53
55
|
*/
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateWhatsAppDatasetInput, CreateWhatsAppDatasetOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateWhatsAppDatasetCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateWhatsAppDatasetCommandInput extends CreateWhatsAppDatasetInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateWhatsAppDatasetCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateWhatsAppDatasetCommandOutput extends CreateWhatsAppDatasetOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateWhatsAppDatasetCommand_base: {
|
|
22
|
+
new (input: CreateWhatsAppDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppDatasetCommandInput, CreateWhatsAppDatasetCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateWhatsAppDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppDatasetCommandInput, CreateWhatsAppDatasetCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a Meta Conversions API dataset for a WhatsApp Business Account.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SocialMessagingClient, CreateWhatsAppDatasetCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
32
|
+
* // const { SocialMessagingClient, CreateWhatsAppDatasetCommand } = 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 = { // CreateWhatsAppDatasetInput
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new CreateWhatsAppDatasetCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // CreateWhatsAppDatasetOutput
|
|
42
|
+
* // datasetId: "STRING_VALUE", // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param CreateWhatsAppDatasetCommandInput - {@link CreateWhatsAppDatasetCommandInput}
|
|
48
|
+
* @returns {@link CreateWhatsAppDatasetCommandOutput}
|
|
49
|
+
* @see {@link CreateWhatsAppDatasetCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link CreateWhatsAppDatasetCommandOutput} 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 DependencyException} (server fault)
|
|
57
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
60
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
61
|
+
* failure.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
64
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The resource was not found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
70
|
+
* <p>The request was denied due to request throttling.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</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 CreateWhatsAppDatasetCommand extends CreateWhatsAppDatasetCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: CreateWhatsAppDatasetInput;
|
|
89
|
+
output: CreateWhatsAppDatasetOutput;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: CreateWhatsAppDatasetCommandInput;
|
|
93
|
+
output: CreateWhatsAppDatasetCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -53,6 +53,7 @@ declare const GetLinkedWhatsAppBusinessAccountCommand_base: {
|
|
|
53
53
|
* // },
|
|
54
54
|
* // ],
|
|
55
55
|
* // marketingMessagesOnboardingStatus: "STRING_VALUE",
|
|
56
|
+
* // datasetId: "STRING_VALUE",
|
|
56
57
|
* // phoneNumbers: [ // WhatsAppPhoneNumberSummaryList // required
|
|
57
58
|
* // { // WhatsAppPhoneNumberSummary
|
|
58
59
|
* // arn: "STRING_VALUE", // required
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { SendWhatsAppConversionEventInput, SendWhatsAppConversionEventOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link SendWhatsAppConversionEventCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface SendWhatsAppConversionEventCommandInput extends SendWhatsAppConversionEventInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link SendWhatsAppConversionEventCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface SendWhatsAppConversionEventCommandOutput extends SendWhatsAppConversionEventOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const SendWhatsAppConversionEventCommand_base: {
|
|
22
|
+
new (input: SendWhatsAppConversionEventCommandInput): import("@smithy/core/client").CommandImpl<SendWhatsAppConversionEventCommandInput, SendWhatsAppConversionEventCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: SendWhatsAppConversionEventCommandInput): import("@smithy/core/client").CommandImpl<SendWhatsAppConversionEventCommandInput, SendWhatsAppConversionEventCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Sends a conversion event to Meta's Conversions API for the specified WhatsApp Business Account dataset.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SocialMessagingClient, SendWhatsAppConversionEventCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
32
|
+
* // const { SocialMessagingClient, SendWhatsAppConversionEventCommand } = 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 = { // SendWhatsAppConversionEventInput
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* datasetId: "STRING_VALUE", // required
|
|
39
|
+
* eventData: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new SendWhatsAppConversionEventCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // SendWhatsAppConversionEventOutput
|
|
44
|
+
* // requestId: "STRING_VALUE", // required
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param SendWhatsAppConversionEventCommandInput - {@link SendWhatsAppConversionEventCommandInput}
|
|
50
|
+
* @returns {@link SendWhatsAppConversionEventCommandOutput}
|
|
51
|
+
* @see {@link SendWhatsAppConversionEventCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link SendWhatsAppConversionEventCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedByMetaException} (client fault)
|
|
56
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link DependencyException} (server fault)
|
|
59
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
62
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
63
|
+
* failure.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
66
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The resource was not found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
72
|
+
* <p>The request was denied due to request throttling.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link SocialMessagingServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class SendWhatsAppConversionEventCommand extends SendWhatsAppConversionEventCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: SendWhatsAppConversionEventInput;
|
|
91
|
+
output: SendWhatsAppConversionEventOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: SendWhatsAppConversionEventCommandInput;
|
|
95
|
+
output: SendWhatsAppConversionEventCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AssociateWhatsAppBusinessAccountCommand";
|
|
2
|
+
export * from "./CreateWhatsAppDatasetCommand";
|
|
2
3
|
export * from "./CreateWhatsAppFlowCommand";
|
|
3
4
|
export * from "./CreateWhatsAppMessageTemplateCommand";
|
|
4
5
|
export * from "./CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
@@ -23,6 +24,7 @@ export * from "./ListWhatsAppTemplateLibraryCommand";
|
|
|
23
24
|
export * from "./PostWhatsAppMessageMediaCommand";
|
|
24
25
|
export * from "./PublishWhatsAppFlowCommand";
|
|
25
26
|
export * from "./PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
27
|
+
export * from "./SendWhatsAppConversionEventCommand";
|
|
26
28
|
export * from "./SendWhatsAppMessageCommand";
|
|
27
29
|
export * from "./TagResourceCommand";
|
|
28
30
|
export * from "./UntagResourceCommand";
|
|
@@ -332,6 +332,26 @@ export interface AssociateWhatsAppBusinessAccountOutput {
|
|
|
332
332
|
*/
|
|
333
333
|
linkedWhatsAppBusinessAccountId?: string | undefined;
|
|
334
334
|
}
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
export interface CreateWhatsAppDatasetInput {
|
|
339
|
+
/**
|
|
340
|
+
* <p>The ID of the WhatsApp Business Account to create a dataset for, formatted as <code>waba-01234567890123456789012345678901</code>.</p>
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
id: string | undefined;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
export interface CreateWhatsAppDatasetOutput {
|
|
349
|
+
/**
|
|
350
|
+
* <p>The Meta-generated dataset ID, a numeric string of 10 to 20 digits.</p>
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
datasetId: string | undefined;
|
|
354
|
+
}
|
|
335
355
|
/**
|
|
336
356
|
* @public
|
|
337
357
|
*/
|
|
@@ -821,6 +841,11 @@ export interface LinkedWhatsAppBusinessAccount {
|
|
|
821
841
|
* @public
|
|
822
842
|
*/
|
|
823
843
|
marketingMessagesOnboardingStatus?: string | undefined;
|
|
844
|
+
/**
|
|
845
|
+
* <p>The Meta Conversions API dataset ID associated with this WhatsApp Business Account. This value is a numeric string of 10 to 20 digits. This field is not present when no dataset has been created for this account.</p>
|
|
846
|
+
* @public
|
|
847
|
+
*/
|
|
848
|
+
datasetId?: string | undefined;
|
|
824
849
|
/**
|
|
825
850
|
* <p>The phone numbers associated with the Linked WhatsApp Business Account.</p>
|
|
826
851
|
* @public
|
|
@@ -1290,6 +1315,11 @@ export interface LinkedWhatsAppBusinessAccountSummary {
|
|
|
1290
1315
|
* @public
|
|
1291
1316
|
*/
|
|
1292
1317
|
marketingMessagesOnboardingStatus?: string | undefined;
|
|
1318
|
+
/**
|
|
1319
|
+
* <p>The Meta Conversions API dataset ID associated with this WhatsApp Business Account. This value is a numeric string of 10 to 20 digits. This field is not present when no dataset has been created for this account.</p>
|
|
1320
|
+
* @public
|
|
1321
|
+
*/
|
|
1322
|
+
datasetId?: string | undefined;
|
|
1293
1323
|
}
|
|
1294
1324
|
/**
|
|
1295
1325
|
* @public
|
|
@@ -1647,6 +1677,36 @@ export interface PutWhatsAppBusinessAccountEventDestinationsInput {
|
|
|
1647
1677
|
*/
|
|
1648
1678
|
export interface PutWhatsAppBusinessAccountEventDestinationsOutput {
|
|
1649
1679
|
}
|
|
1680
|
+
/**
|
|
1681
|
+
* @public
|
|
1682
|
+
*/
|
|
1683
|
+
export interface SendWhatsAppConversionEventInput {
|
|
1684
|
+
/**
|
|
1685
|
+
* <p>The ID of the WhatsApp Business Account associated with the dataset, formatted as <code>waba-01234567890123456789012345678901</code>.</p>
|
|
1686
|
+
* @public
|
|
1687
|
+
*/
|
|
1688
|
+
id: string | undefined;
|
|
1689
|
+
/**
|
|
1690
|
+
* <p>The Meta-generated dataset ID to send the event to.</p>
|
|
1691
|
+
* @public
|
|
1692
|
+
*/
|
|
1693
|
+
datasetId: string | undefined;
|
|
1694
|
+
/**
|
|
1695
|
+
* <p>The raw Meta Conversions API event payload as a JSON blob. See <a href="https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event">Meta's server event parameters</a> for the supported format.</p>
|
|
1696
|
+
* @public
|
|
1697
|
+
*/
|
|
1698
|
+
eventData: Uint8Array | undefined;
|
|
1699
|
+
}
|
|
1700
|
+
/**
|
|
1701
|
+
* @public
|
|
1702
|
+
*/
|
|
1703
|
+
export interface SendWhatsAppConversionEventOutput {
|
|
1704
|
+
/**
|
|
1705
|
+
* <p>The unique identifier for the conversion event request.</p>
|
|
1706
|
+
* @public
|
|
1707
|
+
*/
|
|
1708
|
+
requestId: string | undefined;
|
|
1709
|
+
}
|
|
1650
1710
|
/**
|
|
1651
1711
|
* @public
|
|
1652
1712
|
*/
|
|
@@ -18,6 +18,8 @@ export declare var ValidationException$: StaticErrorSchema;
|
|
|
18
18
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
19
19
|
export declare var AssociateWhatsAppBusinessAccountInput$: StaticStructureSchema;
|
|
20
20
|
export declare var AssociateWhatsAppBusinessAccountOutput$: StaticStructureSchema;
|
|
21
|
+
export declare var CreateWhatsAppDatasetInput$: StaticStructureSchema;
|
|
22
|
+
export declare var CreateWhatsAppDatasetOutput$: StaticStructureSchema;
|
|
21
23
|
export declare var CreateWhatsAppFlowInput$: StaticStructureSchema;
|
|
22
24
|
export declare var CreateWhatsAppFlowOutput$: StaticStructureSchema;
|
|
23
25
|
export declare var CreateWhatsAppMessageTemplateFromLibraryInput$: StaticStructureSchema;
|
|
@@ -83,6 +85,8 @@ export declare var PutWhatsAppBusinessAccountEventDestinationsInput$: StaticStru
|
|
|
83
85
|
export declare var PutWhatsAppBusinessAccountEventDestinationsOutput$: StaticStructureSchema;
|
|
84
86
|
export declare var S3File$: StaticStructureSchema;
|
|
85
87
|
export declare var S3PresignedUrl$: StaticStructureSchema;
|
|
88
|
+
export declare var SendWhatsAppConversionEventInput$: StaticStructureSchema;
|
|
89
|
+
export declare var SendWhatsAppConversionEventOutput$: StaticStructureSchema;
|
|
86
90
|
export declare var SendWhatsAppMessageInput$: StaticStructureSchema;
|
|
87
91
|
export declare var SendWhatsAppMessageOutput$: StaticStructureSchema;
|
|
88
92
|
export declare var Tag$: StaticStructureSchema;
|
|
@@ -106,6 +110,7 @@ export declare var WhatsAppSetupFinalization$: StaticStructureSchema;
|
|
|
106
110
|
export declare var WhatsAppSignupCallback$: StaticStructureSchema;
|
|
107
111
|
export declare var WhatsAppSignupCallbackResult$: StaticStructureSchema;
|
|
108
112
|
export declare var AssociateWhatsAppBusinessAccount$: StaticOperationSchema;
|
|
113
|
+
export declare var CreateWhatsAppDataset$: StaticOperationSchema;
|
|
109
114
|
export declare var CreateWhatsAppFlow$: StaticOperationSchema;
|
|
110
115
|
export declare var CreateWhatsAppMessageTemplate$: StaticOperationSchema;
|
|
111
116
|
export declare var CreateWhatsAppMessageTemplateFromLibrary$: 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 SendWhatsAppConversionEvent$: StaticOperationSchema;
|
|
133
139
|
export declare var SendWhatsAppMessage$: StaticOperationSchema;
|
|
134
140
|
export declare var TagResource$: StaticOperationSchema;
|
|
135
141
|
export declare var UntagResource$: StaticOperationSchema;
|
|
@@ -7,6 +7,10 @@ import {
|
|
|
7
7
|
AssociateWhatsAppBusinessAccountCommandInput,
|
|
8
8
|
AssociateWhatsAppBusinessAccountCommandOutput,
|
|
9
9
|
} from "./commands/AssociateWhatsAppBusinessAccountCommand";
|
|
10
|
+
import {
|
|
11
|
+
CreateWhatsAppDatasetCommandInput,
|
|
12
|
+
CreateWhatsAppDatasetCommandOutput,
|
|
13
|
+
} from "./commands/CreateWhatsAppDatasetCommand";
|
|
10
14
|
import {
|
|
11
15
|
CreateWhatsAppFlowCommandInput,
|
|
12
16
|
CreateWhatsAppFlowCommandOutput,
|
|
@@ -103,6 +107,10 @@ import {
|
|
|
103
107
|
PutWhatsAppBusinessAccountEventDestinationsCommandInput,
|
|
104
108
|
PutWhatsAppBusinessAccountEventDestinationsCommandOutput,
|
|
105
109
|
} from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
110
|
+
import {
|
|
111
|
+
SendWhatsAppConversionEventCommandInput,
|
|
112
|
+
SendWhatsAppConversionEventCommandOutput,
|
|
113
|
+
} from "./commands/SendWhatsAppConversionEventCommand";
|
|
106
114
|
import {
|
|
107
115
|
SendWhatsAppMessageCommandInput,
|
|
108
116
|
SendWhatsAppMessageCommandOutput,
|
|
@@ -140,6 +148,19 @@ export interface SocialMessaging {
|
|
|
140
148
|
options: __HttpHandlerOptions,
|
|
141
149
|
cb: (err: any, data?: AssociateWhatsAppBusinessAccountCommandOutput) => void,
|
|
142
150
|
): void;
|
|
151
|
+
createWhatsAppDataset(
|
|
152
|
+
args: CreateWhatsAppDatasetCommandInput,
|
|
153
|
+
options?: __HttpHandlerOptions,
|
|
154
|
+
): Promise<CreateWhatsAppDatasetCommandOutput>;
|
|
155
|
+
createWhatsAppDataset(
|
|
156
|
+
args: CreateWhatsAppDatasetCommandInput,
|
|
157
|
+
cb: (err: any, data?: CreateWhatsAppDatasetCommandOutput) => void,
|
|
158
|
+
): void;
|
|
159
|
+
createWhatsAppDataset(
|
|
160
|
+
args: CreateWhatsAppDatasetCommandInput,
|
|
161
|
+
options: __HttpHandlerOptions,
|
|
162
|
+
cb: (err: any, data?: CreateWhatsAppDatasetCommandOutput) => void,
|
|
163
|
+
): void;
|
|
143
164
|
createWhatsAppFlow(
|
|
144
165
|
args: CreateWhatsAppFlowCommandInput,
|
|
145
166
|
options?: __HttpHandlerOptions,
|
|
@@ -453,6 +474,19 @@ export interface SocialMessaging {
|
|
|
453
474
|
options: __HttpHandlerOptions,
|
|
454
475
|
cb: (err: any, data?: PutWhatsAppBusinessAccountEventDestinationsCommandOutput) => void,
|
|
455
476
|
): void;
|
|
477
|
+
sendWhatsAppConversionEvent(
|
|
478
|
+
args: SendWhatsAppConversionEventCommandInput,
|
|
479
|
+
options?: __HttpHandlerOptions,
|
|
480
|
+
): Promise<SendWhatsAppConversionEventCommandOutput>;
|
|
481
|
+
sendWhatsAppConversionEvent(
|
|
482
|
+
args: SendWhatsAppConversionEventCommandInput,
|
|
483
|
+
cb: (err: any, data?: SendWhatsAppConversionEventCommandOutput) => void,
|
|
484
|
+
): void;
|
|
485
|
+
sendWhatsAppConversionEvent(
|
|
486
|
+
args: SendWhatsAppConversionEventCommandInput,
|
|
487
|
+
options: __HttpHandlerOptions,
|
|
488
|
+
cb: (err: any, data?: SendWhatsAppConversionEventCommandOutput) => void,
|
|
489
|
+
): void;
|
|
456
490
|
sendWhatsAppMessage(
|
|
457
491
|
args: SendWhatsAppMessageCommandInput,
|
|
458
492
|
options?: __HttpHandlerOptions,
|
|
@@ -37,6 +37,10 @@ import {
|
|
|
37
37
|
AssociateWhatsAppBusinessAccountCommandInput,
|
|
38
38
|
AssociateWhatsAppBusinessAccountCommandOutput,
|
|
39
39
|
} from "./commands/AssociateWhatsAppBusinessAccountCommand";
|
|
40
|
+
import {
|
|
41
|
+
CreateWhatsAppDatasetCommandInput,
|
|
42
|
+
CreateWhatsAppDatasetCommandOutput,
|
|
43
|
+
} from "./commands/CreateWhatsAppDatasetCommand";
|
|
40
44
|
import {
|
|
41
45
|
CreateWhatsAppFlowCommandInput,
|
|
42
46
|
CreateWhatsAppFlowCommandOutput,
|
|
@@ -133,6 +137,10 @@ import {
|
|
|
133
137
|
PutWhatsAppBusinessAccountEventDestinationsCommandInput,
|
|
134
138
|
PutWhatsAppBusinessAccountEventDestinationsCommandOutput,
|
|
135
139
|
} from "./commands/PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
140
|
+
import {
|
|
141
|
+
SendWhatsAppConversionEventCommandInput,
|
|
142
|
+
SendWhatsAppConversionEventCommandOutput,
|
|
143
|
+
} from "./commands/SendWhatsAppConversionEventCommand";
|
|
136
144
|
import {
|
|
137
145
|
SendWhatsAppMessageCommandInput,
|
|
138
146
|
SendWhatsAppMessageCommandOutput,
|
|
@@ -163,6 +171,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
163
171
|
export { __Client };
|
|
164
172
|
export type ServiceInputTypes =
|
|
165
173
|
| AssociateWhatsAppBusinessAccountCommandInput
|
|
174
|
+
| CreateWhatsAppDatasetCommandInput
|
|
166
175
|
| CreateWhatsAppFlowCommandInput
|
|
167
176
|
| CreateWhatsAppMessageTemplateCommandInput
|
|
168
177
|
| CreateWhatsAppMessageTemplateFromLibraryCommandInput
|
|
@@ -187,6 +196,7 @@ export type ServiceInputTypes =
|
|
|
187
196
|
| PostWhatsAppMessageMediaCommandInput
|
|
188
197
|
| PublishWhatsAppFlowCommandInput
|
|
189
198
|
| PutWhatsAppBusinessAccountEventDestinationsCommandInput
|
|
199
|
+
| SendWhatsAppConversionEventCommandInput
|
|
190
200
|
| SendWhatsAppMessageCommandInput
|
|
191
201
|
| TagResourceCommandInput
|
|
192
202
|
| UntagResourceCommandInput
|
|
@@ -195,6 +205,7 @@ export type ServiceInputTypes =
|
|
|
195
205
|
| UpdateWhatsAppMessageTemplateCommandInput;
|
|
196
206
|
export type ServiceOutputTypes =
|
|
197
207
|
| AssociateWhatsAppBusinessAccountCommandOutput
|
|
208
|
+
| CreateWhatsAppDatasetCommandOutput
|
|
198
209
|
| CreateWhatsAppFlowCommandOutput
|
|
199
210
|
| CreateWhatsAppMessageTemplateCommandOutput
|
|
200
211
|
| CreateWhatsAppMessageTemplateFromLibraryCommandOutput
|
|
@@ -219,6 +230,7 @@ export type ServiceOutputTypes =
|
|
|
219
230
|
| PostWhatsAppMessageMediaCommandOutput
|
|
220
231
|
| PublishWhatsAppFlowCommandOutput
|
|
221
232
|
| PutWhatsAppBusinessAccountEventDestinationsCommandOutput
|
|
233
|
+
| SendWhatsAppConversionEventCommandOutput
|
|
222
234
|
| SendWhatsAppMessageCommandOutput
|
|
223
235
|
| TagResourceCommandOutput
|
|
224
236
|
| UntagResourceCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { CreateWhatsAppDatasetInput, CreateWhatsAppDatasetOutput } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface CreateWhatsAppDatasetCommandInput extends CreateWhatsAppDatasetInput {}
|
|
5
|
+
export interface CreateWhatsAppDatasetCommandOutput
|
|
6
|
+
extends CreateWhatsAppDatasetOutput, __MetadataBearer {}
|
|
7
|
+
declare const CreateWhatsAppDatasetCommand_base: {
|
|
8
|
+
new (
|
|
9
|
+
input: CreateWhatsAppDatasetCommandInput,
|
|
10
|
+
): import("@smithy/core/client").CommandImpl<
|
|
11
|
+
CreateWhatsAppDatasetCommandInput,
|
|
12
|
+
CreateWhatsAppDatasetCommandOutput,
|
|
13
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
14
|
+
import("..").ServiceInputTypes,
|
|
15
|
+
import("..").ServiceOutputTypes
|
|
16
|
+
>;
|
|
17
|
+
new (
|
|
18
|
+
input: CreateWhatsAppDatasetCommandInput,
|
|
19
|
+
): import("@smithy/core/client").CommandImpl<
|
|
20
|
+
CreateWhatsAppDatasetCommandInput,
|
|
21
|
+
CreateWhatsAppDatasetCommandOutput,
|
|
22
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
23
|
+
import("..").ServiceInputTypes,
|
|
24
|
+
import("..").ServiceOutputTypes
|
|
25
|
+
>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
export declare class CreateWhatsAppDatasetCommand extends CreateWhatsAppDatasetCommand_base {
|
|
29
|
+
protected static __types: {
|
|
30
|
+
api: {
|
|
31
|
+
input: CreateWhatsAppDatasetInput;
|
|
32
|
+
output: CreateWhatsAppDatasetOutput;
|
|
33
|
+
};
|
|
34
|
+
sdk: {
|
|
35
|
+
input: CreateWhatsAppDatasetCommandInput;
|
|
36
|
+
output: CreateWhatsAppDatasetCommandOutput;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
SendWhatsAppConversionEventInput,
|
|
4
|
+
SendWhatsAppConversionEventOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface SendWhatsAppConversionEventCommandInput extends SendWhatsAppConversionEventInput {}
|
|
8
|
+
export interface SendWhatsAppConversionEventCommandOutput
|
|
9
|
+
extends SendWhatsAppConversionEventOutput, __MetadataBearer {}
|
|
10
|
+
declare const SendWhatsAppConversionEventCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: SendWhatsAppConversionEventCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
SendWhatsAppConversionEventCommandInput,
|
|
15
|
+
SendWhatsAppConversionEventCommandOutput,
|
|
16
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: SendWhatsAppConversionEventCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
SendWhatsAppConversionEventCommandInput,
|
|
24
|
+
SendWhatsAppConversionEventCommandOutput,
|
|
25
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class SendWhatsAppConversionEventCommand extends SendWhatsAppConversionEventCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: SendWhatsAppConversionEventInput;
|
|
35
|
+
output: SendWhatsAppConversionEventOutput;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: SendWhatsAppConversionEventCommandInput;
|
|
39
|
+
output: SendWhatsAppConversionEventCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AssociateWhatsAppBusinessAccountCommand";
|
|
2
|
+
export * from "./CreateWhatsAppDatasetCommand";
|
|
2
3
|
export * from "./CreateWhatsAppFlowCommand";
|
|
3
4
|
export * from "./CreateWhatsAppMessageTemplateCommand";
|
|
4
5
|
export * from "./CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
@@ -23,6 +24,7 @@ export * from "./ListWhatsAppTemplateLibraryCommand";
|
|
|
23
24
|
export * from "./PostWhatsAppMessageMediaCommand";
|
|
24
25
|
export * from "./PublishWhatsAppFlowCommand";
|
|
25
26
|
export * from "./PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
27
|
+
export * from "./SendWhatsAppConversionEventCommand";
|
|
26
28
|
export * from "./SendWhatsAppMessageCommand";
|
|
27
29
|
export * from "./TagResourceCommand";
|
|
28
30
|
export * from "./UntagResourceCommand";
|
|
@@ -59,6 +59,12 @@ export interface AssociateWhatsAppBusinessAccountOutput {
|
|
|
59
59
|
statusCode?: number | undefined;
|
|
60
60
|
linkedWhatsAppBusinessAccountId?: string | undefined;
|
|
61
61
|
}
|
|
62
|
+
export interface CreateWhatsAppDatasetInput {
|
|
63
|
+
id: string | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface CreateWhatsAppDatasetOutput {
|
|
66
|
+
datasetId: string | undefined;
|
|
67
|
+
}
|
|
62
68
|
export interface CreateWhatsAppFlowInput {
|
|
63
69
|
id: string | undefined;
|
|
64
70
|
flowName: string | undefined;
|
|
@@ -173,6 +179,7 @@ export interface LinkedWhatsAppBusinessAccount {
|
|
|
173
179
|
wabaName: string | undefined;
|
|
174
180
|
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
175
181
|
marketingMessagesOnboardingStatus?: string | undefined;
|
|
182
|
+
datasetId?: string | undefined;
|
|
176
183
|
phoneNumbers: WhatsAppPhoneNumberSummary[] | undefined;
|
|
177
184
|
}
|
|
178
185
|
export interface GetLinkedWhatsAppBusinessAccountOutput {
|
|
@@ -283,6 +290,7 @@ export interface LinkedWhatsAppBusinessAccountSummary {
|
|
|
283
290
|
wabaName: string | undefined;
|
|
284
291
|
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
285
292
|
marketingMessagesOnboardingStatus?: string | undefined;
|
|
293
|
+
datasetId?: string | undefined;
|
|
286
294
|
}
|
|
287
295
|
export interface ListLinkedWhatsAppBusinessAccountsOutput {
|
|
288
296
|
linkedAccounts?: LinkedWhatsAppBusinessAccountSummary[] | undefined;
|
|
@@ -369,6 +377,14 @@ export interface PutWhatsAppBusinessAccountEventDestinationsInput {
|
|
|
369
377
|
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
370
378
|
}
|
|
371
379
|
export interface PutWhatsAppBusinessAccountEventDestinationsOutput {}
|
|
380
|
+
export interface SendWhatsAppConversionEventInput {
|
|
381
|
+
id: string | undefined;
|
|
382
|
+
datasetId: string | undefined;
|
|
383
|
+
eventData: Uint8Array | undefined;
|
|
384
|
+
}
|
|
385
|
+
export interface SendWhatsAppConversionEventOutput {
|
|
386
|
+
requestId: string | undefined;
|
|
387
|
+
}
|
|
372
388
|
export interface UpdateWhatsAppFlowInput {
|
|
373
389
|
id: string | undefined;
|
|
374
390
|
flowId: string | undefined;
|
|
@@ -13,6 +13,8 @@ export declare var ValidationException$: StaticErrorSchema;
|
|
|
13
13
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
14
14
|
export declare var AssociateWhatsAppBusinessAccountInput$: StaticStructureSchema;
|
|
15
15
|
export declare var AssociateWhatsAppBusinessAccountOutput$: StaticStructureSchema;
|
|
16
|
+
export declare var CreateWhatsAppDatasetInput$: StaticStructureSchema;
|
|
17
|
+
export declare var CreateWhatsAppDatasetOutput$: StaticStructureSchema;
|
|
16
18
|
export declare var CreateWhatsAppFlowInput$: StaticStructureSchema;
|
|
17
19
|
export declare var CreateWhatsAppFlowOutput$: StaticStructureSchema;
|
|
18
20
|
export declare var CreateWhatsAppMessageTemplateFromLibraryInput$: StaticStructureSchema;
|
|
@@ -78,6 +80,8 @@ export declare var PutWhatsAppBusinessAccountEventDestinationsInput$: StaticStru
|
|
|
78
80
|
export declare var PutWhatsAppBusinessAccountEventDestinationsOutput$: StaticStructureSchema;
|
|
79
81
|
export declare var S3File$: StaticStructureSchema;
|
|
80
82
|
export declare var S3PresignedUrl$: StaticStructureSchema;
|
|
83
|
+
export declare var SendWhatsAppConversionEventInput$: StaticStructureSchema;
|
|
84
|
+
export declare var SendWhatsAppConversionEventOutput$: StaticStructureSchema;
|
|
81
85
|
export declare var SendWhatsAppMessageInput$: StaticStructureSchema;
|
|
82
86
|
export declare var SendWhatsAppMessageOutput$: StaticStructureSchema;
|
|
83
87
|
export declare var Tag$: StaticStructureSchema;
|
|
@@ -101,6 +105,7 @@ export declare var WhatsAppSetupFinalization$: StaticStructureSchema;
|
|
|
101
105
|
export declare var WhatsAppSignupCallback$: StaticStructureSchema;
|
|
102
106
|
export declare var WhatsAppSignupCallbackResult$: StaticStructureSchema;
|
|
103
107
|
export declare var AssociateWhatsAppBusinessAccount$: StaticOperationSchema;
|
|
108
|
+
export declare var CreateWhatsAppDataset$: StaticOperationSchema;
|
|
104
109
|
export declare var CreateWhatsAppFlow$: StaticOperationSchema;
|
|
105
110
|
export declare var CreateWhatsAppMessageTemplate$: StaticOperationSchema;
|
|
106
111
|
export declare var CreateWhatsAppMessageTemplateFromLibrary$: StaticOperationSchema;
|
|
@@ -125,6 +130,7 @@ export declare var ListWhatsAppTemplateLibrary$: StaticOperationSchema;
|
|
|
125
130
|
export declare var PostWhatsAppMessageMedia$: StaticOperationSchema;
|
|
126
131
|
export declare var PublishWhatsAppFlow$: StaticOperationSchema;
|
|
127
132
|
export declare var PutWhatsAppBusinessAccountEventDestinations$: StaticOperationSchema;
|
|
133
|
+
export declare var SendWhatsAppConversionEvent$: StaticOperationSchema;
|
|
128
134
|
export declare var SendWhatsAppMessage$: StaticOperationSchema;
|
|
129
135
|
export declare var TagResource$: StaticOperationSchema;
|
|
130
136
|
export declare var UntagResource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-socialmessaging",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1106.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",
|