@aws-sdk/client-socialmessaging 3.968.0 → 3.969.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/dist-cjs/index.js +39 -36
- package/dist-es/schemas/schemas_0.js +40 -36
- package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +1 -2
- package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +3 -0
- package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +173 -153
- package/dist-types/ts3.4/models/models_0.d.ts +38 -35
- package/package.json +33 -33
package/dist-cjs/index.js
CHANGED
|
@@ -349,6 +349,7 @@ const _bN = "bucketName";
|
|
|
349
349
|
const _c = "client";
|
|
350
350
|
const _cEM = "codeExpirationMinutes";
|
|
351
351
|
const _cU = "callbackUrl";
|
|
352
|
+
const _cULTOO = "ctaUrlLinkTrackingOptedOut";
|
|
352
353
|
const _ca = "category";
|
|
353
354
|
const _dAL = "deleteAllLanguages";
|
|
354
355
|
const _dAT = "deleteAllTemplates";
|
|
@@ -390,6 +391,7 @@ const _mTI = "metaTemplateId";
|
|
|
390
391
|
const _nT = "nextToken";
|
|
391
392
|
const _oPNI = "originationPhoneNumberId";
|
|
392
393
|
const _oT = "otpType";
|
|
394
|
+
const _pF = "parameterFormat";
|
|
393
395
|
const _pN = "phoneNumber";
|
|
394
396
|
const _pNI = "phoneNumberId";
|
|
395
397
|
const _pNP = "phoneNumberParent";
|
|
@@ -410,6 +412,7 @@ const _se = "server";
|
|
|
410
412
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.socialmessaging";
|
|
411
413
|
const _t = "template";
|
|
412
414
|
const _tB = "templateBody";
|
|
415
|
+
const _tBEP = "templateBodyExampleParams";
|
|
413
416
|
const _tBe = "templateButtons";
|
|
414
417
|
const _tC = "templateCategory";
|
|
415
418
|
const _tCe = "templateComponents";
|
|
@@ -465,7 +468,7 @@ var AssociateWhatsAppBusinessAccountOutput$ = [3, n0, _AWABAO,
|
|
|
465
468
|
var CreateWhatsAppMessageTemplateFromLibraryInput$ = [3, n0, _CWAMTFLI,
|
|
466
469
|
0,
|
|
467
470
|
[_mLT, _i],
|
|
468
|
-
[() => MetaLibraryTemplate$, 0]
|
|
471
|
+
[() => MetaLibraryTemplate$, 0], 2
|
|
469
472
|
];
|
|
470
473
|
var CreateWhatsAppMessageTemplateFromLibraryOutput$ = [3, n0, _CWAMTFLO,
|
|
471
474
|
0,
|
|
@@ -475,12 +478,12 @@ var CreateWhatsAppMessageTemplateFromLibraryOutput$ = [3, n0, _CWAMTFLO,
|
|
|
475
478
|
var CreateWhatsAppMessageTemplateInput$ = [3, n0, _CWAMTI,
|
|
476
479
|
0,
|
|
477
480
|
[_tD, _i],
|
|
478
|
-
[21, 0]
|
|
481
|
+
[21, 0], 2
|
|
479
482
|
];
|
|
480
483
|
var CreateWhatsAppMessageTemplateMediaInput$ = [3, n0, _CWAMTMI,
|
|
481
484
|
0,
|
|
482
485
|
[_i, _sSF],
|
|
483
|
-
[0, [() => S3File$, 0]]
|
|
486
|
+
[0, [() => S3File$, 0]], 1
|
|
484
487
|
];
|
|
485
488
|
var CreateWhatsAppMessageTemplateMediaOutput$ = [3, n0, _CWAMTMO,
|
|
486
489
|
0,
|
|
@@ -495,7 +498,7 @@ var CreateWhatsAppMessageTemplateOutput$ = [3, n0, _CWAMTO,
|
|
|
495
498
|
var DeleteWhatsAppMessageMediaInput$ = [3, n0, _DWAMMI,
|
|
496
499
|
0,
|
|
497
500
|
[_mI, _oPNI],
|
|
498
|
-
[[0, { [_hQ]: _mI }], [0, { [_hQ]: _oPNI }]]
|
|
501
|
+
[[0, { [_hQ]: _mI }], [0, { [_hQ]: _oPNI }]], 2
|
|
499
502
|
];
|
|
500
503
|
var DeleteWhatsAppMessageMediaOutput$ = [3, n0, _DWAMMO,
|
|
501
504
|
0,
|
|
@@ -504,8 +507,8 @@ var DeleteWhatsAppMessageMediaOutput$ = [3, n0, _DWAMMO,
|
|
|
504
507
|
];
|
|
505
508
|
var DeleteWhatsAppMessageTemplateInput$ = [3, n0, _DWAMTI,
|
|
506
509
|
0,
|
|
507
|
-
[
|
|
508
|
-
[[0, { [_hQ]:
|
|
510
|
+
[_i, _tN, _mTI, _dAL],
|
|
511
|
+
[[0, { [_hQ]: _i }], [0, { [_hQ]: _tN }], [0, { [_hQ]: _mTI }], [2, { [_hQ]: _dAT }]], 2
|
|
509
512
|
];
|
|
510
513
|
var DeleteWhatsAppMessageTemplateOutput$ = [3, n0, _DWAMTO,
|
|
511
514
|
0,
|
|
@@ -521,7 +524,7 @@ schema.TypeRegistry.for(n0).registerError(DependencyException$, DependencyExcept
|
|
|
521
524
|
var DisassociateWhatsAppBusinessAccountInput$ = [3, n0, _DWABAI,
|
|
522
525
|
0,
|
|
523
526
|
[_i],
|
|
524
|
-
[[0, { [_hQ]: _i }]]
|
|
527
|
+
[[0, { [_hQ]: _i }]], 1
|
|
525
528
|
];
|
|
526
529
|
var DisassociateWhatsAppBusinessAccountOutput$ = [3, n0, _DWABAO,
|
|
527
530
|
0,
|
|
@@ -531,7 +534,7 @@ var DisassociateWhatsAppBusinessAccountOutput$ = [3, n0, _DWABAO,
|
|
|
531
534
|
var GetLinkedWhatsAppBusinessAccountInput$ = [3, n0, _GLWABAI,
|
|
532
535
|
0,
|
|
533
536
|
[_i],
|
|
534
|
-
[[0, { [_hQ]: _i }]]
|
|
537
|
+
[[0, { [_hQ]: _i }]], 1
|
|
535
538
|
];
|
|
536
539
|
var GetLinkedWhatsAppBusinessAccountOutput$ = [3, n0, _GLWABAO,
|
|
537
540
|
0,
|
|
@@ -541,7 +544,7 @@ var GetLinkedWhatsAppBusinessAccountOutput$ = [3, n0, _GLWABAO,
|
|
|
541
544
|
var GetLinkedWhatsAppBusinessAccountPhoneNumberInput$ = [3, n0, _GLWABAPNI,
|
|
542
545
|
0,
|
|
543
546
|
[_i],
|
|
544
|
-
[[0, { [_hQ]: _i }]]
|
|
547
|
+
[[0, { [_hQ]: _i }]], 1
|
|
545
548
|
];
|
|
546
549
|
var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$ = [3, n0, _GLWABAPNO,
|
|
547
550
|
0,
|
|
@@ -551,7 +554,7 @@ var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$ = [3, n0, _GLWABAPNO,
|
|
|
551
554
|
var GetWhatsAppMessageMediaInput$ = [3, n0, _GWAMMI,
|
|
552
555
|
0,
|
|
553
556
|
[_mI, _oPNI, _mO, _dSPU, _dSF],
|
|
554
|
-
[0, 0, 2, [() => S3PresignedUrl$, 0], [() => S3File$, 0]]
|
|
557
|
+
[0, 0, 2, [() => S3PresignedUrl$, 0], [() => S3File$, 0]], 2
|
|
555
558
|
];
|
|
556
559
|
var GetWhatsAppMessageMediaOutput$ = [3, n0, _GWAMMO,
|
|
557
560
|
0,
|
|
@@ -561,7 +564,7 @@ var GetWhatsAppMessageMediaOutput$ = [3, n0, _GWAMMO,
|
|
|
561
564
|
var GetWhatsAppMessageTemplateInput$ = [3, n0, _GWAMTI,
|
|
562
565
|
0,
|
|
563
566
|
[_mTI, _i],
|
|
564
|
-
[[0, { [_hQ]: _mTI }], [0, { [_hQ]: _i }]]
|
|
567
|
+
[[0, { [_hQ]: _mTI }], [0, { [_hQ]: _i }]], 2
|
|
565
568
|
];
|
|
566
569
|
var GetWhatsAppMessageTemplateOutput$ = [3, n0, _GWAMTO,
|
|
567
570
|
0,
|
|
@@ -604,7 +607,7 @@ schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceeded
|
|
|
604
607
|
var LinkedWhatsAppBusinessAccount$ = [3, n0, _LWABA,
|
|
605
608
|
0,
|
|
606
609
|
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh],
|
|
607
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList]
|
|
610
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList], 8
|
|
608
611
|
];
|
|
609
612
|
var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
610
613
|
0,
|
|
@@ -614,7 +617,7 @@ var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
|
614
617
|
var LinkedWhatsAppBusinessAccountSummary$ = [3, n0, _LWABAS,
|
|
615
618
|
0,
|
|
616
619
|
[_ar, _i, _wI, _rS, _lD, _wN, _eD],
|
|
617
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations]
|
|
620
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations], 7
|
|
618
621
|
];
|
|
619
622
|
var ListLinkedWhatsAppBusinessAccountsInput$ = [3, n0, _LLWABAI,
|
|
620
623
|
0,
|
|
@@ -629,7 +632,7 @@ var ListLinkedWhatsAppBusinessAccountsOutput$ = [3, n0, _LLWABAO,
|
|
|
629
632
|
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
630
633
|
0,
|
|
631
634
|
[_rA],
|
|
632
|
-
[[0, { [_hQ]: _rA }]]
|
|
635
|
+
[[0, { [_hQ]: _rA }]], 1
|
|
633
636
|
];
|
|
634
637
|
var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
635
638
|
0,
|
|
@@ -639,7 +642,7 @@ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
|
639
642
|
var ListWhatsAppMessageTemplatesInput$ = [3, n0, _LWAMTI,
|
|
640
643
|
0,
|
|
641
644
|
[_i, _nT, _mR],
|
|
642
|
-
[[0, { [_hQ]: _i }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
645
|
+
[[0, { [_hQ]: _i }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
643
646
|
];
|
|
644
647
|
var ListWhatsAppMessageTemplatesOutput$ = [3, n0, _LWAMTO,
|
|
645
648
|
0,
|
|
@@ -648,8 +651,8 @@ var ListWhatsAppMessageTemplatesOutput$ = [3, n0, _LWAMTO,
|
|
|
648
651
|
];
|
|
649
652
|
var ListWhatsAppTemplateLibraryInput$ = [3, n0, _LWATLI,
|
|
650
653
|
0,
|
|
651
|
-
[_nT, _mR,
|
|
652
|
-
[
|
|
654
|
+
[_i, _nT, _mR, _f],
|
|
655
|
+
[[0, { [_hQ]: _i }], 0, 1, 128 | 0], 1
|
|
653
656
|
];
|
|
654
657
|
var ListWhatsAppTemplateLibraryOutput$ = [3, n0, _LWATLO,
|
|
655
658
|
0,
|
|
@@ -659,17 +662,17 @@ var ListWhatsAppTemplateLibraryOutput$ = [3, n0, _LWATLO,
|
|
|
659
662
|
var MetaLibraryTemplate$ = [3, n0, _MLT,
|
|
660
663
|
0,
|
|
661
664
|
[_tN, _lTN, _tC, _tL, _lTBI, _lTBIi],
|
|
662
|
-
[0, 0, 0, 0, () => MetaLibraryTemplateButtonInputs, () => LibraryTemplateBodyInputs$]
|
|
665
|
+
[0, 0, 0, 0, () => MetaLibraryTemplateButtonInputs, () => LibraryTemplateBodyInputs$], 4
|
|
663
666
|
];
|
|
664
667
|
var MetaLibraryTemplateDefinition$ = [3, n0, _MLTD,
|
|
665
668
|
0,
|
|
666
|
-
[_tN, _tL, _tC, _tT, _tUC, _tI, _tH, _tB, _tBe, _tIe],
|
|
667
|
-
[0, 0, 0, 0, 0, 64 | 0, 0, 0, () => MetaLibraryTemplateButtonList, 0]
|
|
669
|
+
[_tN, _tL, _tC, _tT, _tUC, _tI, _tH, _tB, _tBe, _tIe, _tBEP],
|
|
670
|
+
[0, 0, 0, 0, 0, 64 | 0, 0, 0, () => MetaLibraryTemplateButtonList, 0, 64 | 0]
|
|
668
671
|
];
|
|
669
672
|
var PostWhatsAppMessageMediaInput$ = [3, n0, _PWAMMI,
|
|
670
673
|
0,
|
|
671
674
|
[_oPNI, _sSPU, _sSF],
|
|
672
|
-
[0, [() => S3PresignedUrl$, 0], [() => S3File$, 0]]
|
|
675
|
+
[0, [() => S3PresignedUrl$, 0], [() => S3File$, 0]], 1
|
|
673
676
|
];
|
|
674
677
|
var PostWhatsAppMessageMediaOutput$ = [3, n0, _PWAMMO,
|
|
675
678
|
0,
|
|
@@ -679,7 +682,7 @@ var PostWhatsAppMessageMediaOutput$ = [3, n0, _PWAMMO,
|
|
|
679
682
|
var PutWhatsAppBusinessAccountEventDestinationsInput$ = [3, n0, _PWABAEDI,
|
|
680
683
|
0,
|
|
681
684
|
[_i, _eD],
|
|
682
|
-
[0, () => WhatsAppBusinessAccountEventDestinations]
|
|
685
|
+
[0, () => WhatsAppBusinessAccountEventDestinations], 2
|
|
683
686
|
];
|
|
684
687
|
var PutWhatsAppBusinessAccountEventDestinationsOutput$ = [3, n0, _PWABAEDO,
|
|
685
688
|
0,
|
|
@@ -695,17 +698,17 @@ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNo
|
|
|
695
698
|
var S3File$ = [3, n0, _SF,
|
|
696
699
|
8,
|
|
697
700
|
[_bN, _k],
|
|
698
|
-
[0, 0]
|
|
701
|
+
[0, 0], 2
|
|
699
702
|
];
|
|
700
703
|
var S3PresignedUrl$ = [3, n0, _SPU,
|
|
701
704
|
8,
|
|
702
705
|
[_u, _h],
|
|
703
|
-
[0, 128 | 0]
|
|
706
|
+
[0, 128 | 0], 2
|
|
704
707
|
];
|
|
705
708
|
var SendWhatsAppMessageInput$ = [3, n0, _SWAMI,
|
|
706
709
|
0,
|
|
707
710
|
[_oPNI, _m, _mAV],
|
|
708
|
-
[0, [() => WhatsAppMessageBlob, 0], 0]
|
|
711
|
+
[0, [() => WhatsAppMessageBlob, 0], 0], 3
|
|
709
712
|
];
|
|
710
713
|
var SendWhatsAppMessageOutput$ = [3, n0, _SWAMO,
|
|
711
714
|
0,
|
|
@@ -715,12 +718,12 @@ var SendWhatsAppMessageOutput$ = [3, n0, _SWAMO,
|
|
|
715
718
|
var Tag$ = [3, n0, _T,
|
|
716
719
|
0,
|
|
717
720
|
[_k, _v],
|
|
718
|
-
[0, 0]
|
|
721
|
+
[0, 0], 1
|
|
719
722
|
];
|
|
720
723
|
var TagResourceInput$ = [3, n0, _TRI,
|
|
721
724
|
0,
|
|
722
725
|
[_rA, _ta],
|
|
723
|
-
[0, () => TagList]
|
|
726
|
+
[0, () => TagList], 2
|
|
724
727
|
];
|
|
725
728
|
var TagResourceOutput$ = [3, n0, _TRO,
|
|
726
729
|
0,
|
|
@@ -741,7 +744,7 @@ schema.TypeRegistry.for(n0).registerError(ThrottledRequestException$, ThrottledR
|
|
|
741
744
|
var UntagResourceInput$ = [3, n0, _URI,
|
|
742
745
|
0,
|
|
743
746
|
[_rA, _tK],
|
|
744
|
-
[0, 64 | 0]
|
|
747
|
+
[0, 64 | 0], 2
|
|
745
748
|
];
|
|
746
749
|
var UntagResourceOutput$ = [3, n0, _URO,
|
|
747
750
|
0,
|
|
@@ -750,8 +753,8 @@ var UntagResourceOutput$ = [3, n0, _URO,
|
|
|
750
753
|
];
|
|
751
754
|
var UpdateWhatsAppMessageTemplateInput$ = [3, n0, _UWAMTI,
|
|
752
755
|
0,
|
|
753
|
-
[_i, _mTI, _tC, _tCe],
|
|
754
|
-
[0, 0, 0, 21]
|
|
756
|
+
[_i, _mTI, _pF, _tC, _tCe, _cULTOO],
|
|
757
|
+
[0, 0, 0, 0, 21, 2], 2
|
|
755
758
|
];
|
|
756
759
|
var UpdateWhatsAppMessageTemplateOutput$ = [3, n0, _UWAMTO,
|
|
757
760
|
0,
|
|
@@ -767,7 +770,7 @@ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationExcept
|
|
|
767
770
|
var WabaPhoneNumberSetupFinalization$ = [3, n0, _WPNSF,
|
|
768
771
|
0,
|
|
769
772
|
[_i, _tFP, _dLR, _ta],
|
|
770
|
-
[0, [() => TwoFactorPin, 0], 0, () => TagList]
|
|
773
|
+
[0, [() => TwoFactorPin, 0], 0, () => TagList], 2
|
|
771
774
|
];
|
|
772
775
|
var WabaSetupFinalization$ = [3, n0, _WSF,
|
|
773
776
|
0,
|
|
@@ -777,27 +780,27 @@ var WabaSetupFinalization$ = [3, n0, _WSF,
|
|
|
777
780
|
var WhatsAppBusinessAccountEventDestination$ = [3, n0, _WABAED,
|
|
778
781
|
0,
|
|
779
782
|
[_eDA, _rAo],
|
|
780
|
-
[0, 0]
|
|
783
|
+
[0, 0], 1
|
|
781
784
|
];
|
|
782
785
|
var WhatsAppPhoneNumberDetail$ = [3, n0, _WAPND,
|
|
783
786
|
0,
|
|
784
787
|
[_ar, _pN, _pNI, _mPNI, _dPNN, _dPN, _qR, _dLR],
|
|
785
|
-
[0, 0, 0, 0, 0, 0, 0, 0]
|
|
788
|
+
[0, 0, 0, 0, 0, 0, 0, 0], 7
|
|
786
789
|
];
|
|
787
790
|
var WhatsAppPhoneNumberSummary$ = [3, n0, _WAPNS,
|
|
788
791
|
0,
|
|
789
792
|
[_ar, _pN, _pNI, _mPNI, _dPNN, _dPN, _qR, _dLR],
|
|
790
|
-
[0, 0, 0, 0, 0, 0, 0, 0]
|
|
793
|
+
[0, 0, 0, 0, 0, 0, 0, 0], 7
|
|
791
794
|
];
|
|
792
795
|
var WhatsAppSetupFinalization$ = [3, n0, _WASF,
|
|
793
796
|
0,
|
|
794
797
|
[_aIPT, _pNh, _pNP, _w],
|
|
795
|
-
[[() => AssociateInProgressToken, 0], [() => WabaPhoneNumberSetupFinalizationList, 0], 0, () => WabaSetupFinalization$]
|
|
798
|
+
[[() => AssociateInProgressToken, 0], [() => WabaPhoneNumberSetupFinalizationList, 0], 0, () => WabaSetupFinalization$], 2
|
|
796
799
|
];
|
|
797
800
|
var WhatsAppSignupCallback$ = [3, n0, _WASC,
|
|
798
801
|
0,
|
|
799
802
|
[_aT, _cU],
|
|
800
|
-
[0, 0]
|
|
803
|
+
[0, 0], 1
|
|
801
804
|
];
|
|
802
805
|
var WhatsAppSignupCallbackResult$ = [3, n0, _WASCR,
|
|
803
806
|
0,
|
|
@@ -118,6 +118,7 @@ const _bN = "bucketName";
|
|
|
118
118
|
const _c = "client";
|
|
119
119
|
const _cEM = "codeExpirationMinutes";
|
|
120
120
|
const _cU = "callbackUrl";
|
|
121
|
+
const _cULTOO = "ctaUrlLinkTrackingOptedOut";
|
|
121
122
|
const _ca = "category";
|
|
122
123
|
const _dAL = "deleteAllLanguages";
|
|
123
124
|
const _dAT = "deleteAllTemplates";
|
|
@@ -159,6 +160,7 @@ const _mTI = "metaTemplateId";
|
|
|
159
160
|
const _nT = "nextToken";
|
|
160
161
|
const _oPNI = "originationPhoneNumberId";
|
|
161
162
|
const _oT = "otpType";
|
|
163
|
+
const _pF = "parameterFormat";
|
|
162
164
|
const _pN = "phoneNumber";
|
|
163
165
|
const _pNI = "phoneNumberId";
|
|
164
166
|
const _pNP = "phoneNumberParent";
|
|
@@ -179,6 +181,7 @@ const _se = "server";
|
|
|
179
181
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.socialmessaging";
|
|
180
182
|
const _t = "template";
|
|
181
183
|
const _tB = "templateBody";
|
|
184
|
+
const _tBEP = "templateBodyExampleParams";
|
|
182
185
|
const _tBe = "templateButtons";
|
|
183
186
|
const _tC = "templateCategory";
|
|
184
187
|
const _tCe = "templateComponents";
|
|
@@ -237,7 +240,7 @@ export var AssociateWhatsAppBusinessAccountOutput$ = [3, n0, _AWABAO,
|
|
|
237
240
|
export var CreateWhatsAppMessageTemplateFromLibraryInput$ = [3, n0, _CWAMTFLI,
|
|
238
241
|
0,
|
|
239
242
|
[_mLT, _i],
|
|
240
|
-
[() => MetaLibraryTemplate$, 0]
|
|
243
|
+
[() => MetaLibraryTemplate$, 0], 2
|
|
241
244
|
];
|
|
242
245
|
export var CreateWhatsAppMessageTemplateFromLibraryOutput$ = [3, n0, _CWAMTFLO,
|
|
243
246
|
0,
|
|
@@ -247,12 +250,12 @@ export var CreateWhatsAppMessageTemplateFromLibraryOutput$ = [3, n0, _CWAMTFLO,
|
|
|
247
250
|
export var CreateWhatsAppMessageTemplateInput$ = [3, n0, _CWAMTI,
|
|
248
251
|
0,
|
|
249
252
|
[_tD, _i],
|
|
250
|
-
[21, 0]
|
|
253
|
+
[21, 0], 2
|
|
251
254
|
];
|
|
252
255
|
export var CreateWhatsAppMessageTemplateMediaInput$ = [3, n0, _CWAMTMI,
|
|
253
256
|
0,
|
|
254
257
|
[_i, _sSF],
|
|
255
|
-
[0, [() => S3File$, 0]]
|
|
258
|
+
[0, [() => S3File$, 0]], 1
|
|
256
259
|
];
|
|
257
260
|
export var CreateWhatsAppMessageTemplateMediaOutput$ = [3, n0, _CWAMTMO,
|
|
258
261
|
0,
|
|
@@ -267,7 +270,7 @@ export var CreateWhatsAppMessageTemplateOutput$ = [3, n0, _CWAMTO,
|
|
|
267
270
|
export var DeleteWhatsAppMessageMediaInput$ = [3, n0, _DWAMMI,
|
|
268
271
|
0,
|
|
269
272
|
[_mI, _oPNI],
|
|
270
|
-
[[0, { [_hQ]: _mI }], [0, { [_hQ]: _oPNI }]]
|
|
273
|
+
[[0, { [_hQ]: _mI }], [0, { [_hQ]: _oPNI }]], 2
|
|
271
274
|
];
|
|
272
275
|
export var DeleteWhatsAppMessageMediaOutput$ = [3, n0, _DWAMMO,
|
|
273
276
|
0,
|
|
@@ -276,8 +279,8 @@ export var DeleteWhatsAppMessageMediaOutput$ = [3, n0, _DWAMMO,
|
|
|
276
279
|
];
|
|
277
280
|
export var DeleteWhatsAppMessageTemplateInput$ = [3, n0, _DWAMTI,
|
|
278
281
|
0,
|
|
279
|
-
[
|
|
280
|
-
[[0, { [_hQ]:
|
|
282
|
+
[_i, _tN, _mTI, _dAL],
|
|
283
|
+
[[0, { [_hQ]: _i }], [0, { [_hQ]: _tN }], [0, { [_hQ]: _mTI }], [2, { [_hQ]: _dAT }]], 2
|
|
281
284
|
];
|
|
282
285
|
export var DeleteWhatsAppMessageTemplateOutput$ = [3, n0, _DWAMTO,
|
|
283
286
|
0,
|
|
@@ -293,7 +296,7 @@ TypeRegistry.for(n0).registerError(DependencyException$, DependencyException);
|
|
|
293
296
|
export var DisassociateWhatsAppBusinessAccountInput$ = [3, n0, _DWABAI,
|
|
294
297
|
0,
|
|
295
298
|
[_i],
|
|
296
|
-
[[0, { [_hQ]: _i }]]
|
|
299
|
+
[[0, { [_hQ]: _i }]], 1
|
|
297
300
|
];
|
|
298
301
|
export var DisassociateWhatsAppBusinessAccountOutput$ = [3, n0, _DWABAO,
|
|
299
302
|
0,
|
|
@@ -303,7 +306,7 @@ export var DisassociateWhatsAppBusinessAccountOutput$ = [3, n0, _DWABAO,
|
|
|
303
306
|
export var GetLinkedWhatsAppBusinessAccountInput$ = [3, n0, _GLWABAI,
|
|
304
307
|
0,
|
|
305
308
|
[_i],
|
|
306
|
-
[[0, { [_hQ]: _i }]]
|
|
309
|
+
[[0, { [_hQ]: _i }]], 1
|
|
307
310
|
];
|
|
308
311
|
export var GetLinkedWhatsAppBusinessAccountOutput$ = [3, n0, _GLWABAO,
|
|
309
312
|
0,
|
|
@@ -313,7 +316,7 @@ export var GetLinkedWhatsAppBusinessAccountOutput$ = [3, n0, _GLWABAO,
|
|
|
313
316
|
export var GetLinkedWhatsAppBusinessAccountPhoneNumberInput$ = [3, n0, _GLWABAPNI,
|
|
314
317
|
0,
|
|
315
318
|
[_i],
|
|
316
|
-
[[0, { [_hQ]: _i }]]
|
|
319
|
+
[[0, { [_hQ]: _i }]], 1
|
|
317
320
|
];
|
|
318
321
|
export var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$ = [3, n0, _GLWABAPNO,
|
|
319
322
|
0,
|
|
@@ -323,7 +326,7 @@ export var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$ = [3, n0, _GLWABAP
|
|
|
323
326
|
export var GetWhatsAppMessageMediaInput$ = [3, n0, _GWAMMI,
|
|
324
327
|
0,
|
|
325
328
|
[_mI, _oPNI, _mO, _dSPU, _dSF],
|
|
326
|
-
[0, 0, 2, [() => S3PresignedUrl$, 0], [() => S3File$, 0]]
|
|
329
|
+
[0, 0, 2, [() => S3PresignedUrl$, 0], [() => S3File$, 0]], 2
|
|
327
330
|
];
|
|
328
331
|
export var GetWhatsAppMessageMediaOutput$ = [3, n0, _GWAMMO,
|
|
329
332
|
0,
|
|
@@ -333,7 +336,7 @@ export var GetWhatsAppMessageMediaOutput$ = [3, n0, _GWAMMO,
|
|
|
333
336
|
export var GetWhatsAppMessageTemplateInput$ = [3, n0, _GWAMTI,
|
|
334
337
|
0,
|
|
335
338
|
[_mTI, _i],
|
|
336
|
-
[[0, { [_hQ]: _mTI }], [0, { [_hQ]: _i }]]
|
|
339
|
+
[[0, { [_hQ]: _mTI }], [0, { [_hQ]: _i }]], 2
|
|
337
340
|
];
|
|
338
341
|
export var GetWhatsAppMessageTemplateOutput$ = [3, n0, _GWAMTO,
|
|
339
342
|
0,
|
|
@@ -376,7 +379,7 @@ TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededExcepti
|
|
|
376
379
|
export var LinkedWhatsAppBusinessAccount$ = [3, n0, _LWABA,
|
|
377
380
|
0,
|
|
378
381
|
[_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh],
|
|
379
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList]
|
|
382
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList], 8
|
|
380
383
|
];
|
|
381
384
|
export var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
382
385
|
0,
|
|
@@ -386,7 +389,7 @@ export var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
|
|
|
386
389
|
export var LinkedWhatsAppBusinessAccountSummary$ = [3, n0, _LWABAS,
|
|
387
390
|
0,
|
|
388
391
|
[_ar, _i, _wI, _rS, _lD, _wN, _eD],
|
|
389
|
-
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations]
|
|
392
|
+
[0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations], 7
|
|
390
393
|
];
|
|
391
394
|
export var ListLinkedWhatsAppBusinessAccountsInput$ = [3, n0, _LLWABAI,
|
|
392
395
|
0,
|
|
@@ -401,7 +404,7 @@ export var ListLinkedWhatsAppBusinessAccountsOutput$ = [3, n0, _LLWABAO,
|
|
|
401
404
|
export var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
402
405
|
0,
|
|
403
406
|
[_rA],
|
|
404
|
-
[[0, { [_hQ]: _rA }]]
|
|
407
|
+
[[0, { [_hQ]: _rA }]], 1
|
|
405
408
|
];
|
|
406
409
|
export var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
407
410
|
0,
|
|
@@ -411,7 +414,7 @@ export var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
|
411
414
|
export var ListWhatsAppMessageTemplatesInput$ = [3, n0, _LWAMTI,
|
|
412
415
|
0,
|
|
413
416
|
[_i, _nT, _mR],
|
|
414
|
-
[[0, { [_hQ]: _i }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
417
|
+
[[0, { [_hQ]: _i }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
415
418
|
];
|
|
416
419
|
export var ListWhatsAppMessageTemplatesOutput$ = [3, n0, _LWAMTO,
|
|
417
420
|
0,
|
|
@@ -420,8 +423,8 @@ export var ListWhatsAppMessageTemplatesOutput$ = [3, n0, _LWAMTO,
|
|
|
420
423
|
];
|
|
421
424
|
export var ListWhatsAppTemplateLibraryInput$ = [3, n0, _LWATLI,
|
|
422
425
|
0,
|
|
423
|
-
[_nT, _mR,
|
|
424
|
-
[
|
|
426
|
+
[_i, _nT, _mR, _f],
|
|
427
|
+
[[0, { [_hQ]: _i }], 0, 1, 128 | 0], 1
|
|
425
428
|
];
|
|
426
429
|
export var ListWhatsAppTemplateLibraryOutput$ = [3, n0, _LWATLO,
|
|
427
430
|
0,
|
|
@@ -431,17 +434,17 @@ export var ListWhatsAppTemplateLibraryOutput$ = [3, n0, _LWATLO,
|
|
|
431
434
|
export var MetaLibraryTemplate$ = [3, n0, _MLT,
|
|
432
435
|
0,
|
|
433
436
|
[_tN, _lTN, _tC, _tL, _lTBI, _lTBIi],
|
|
434
|
-
[0, 0, 0, 0, () => MetaLibraryTemplateButtonInputs, () => LibraryTemplateBodyInputs$]
|
|
437
|
+
[0, 0, 0, 0, () => MetaLibraryTemplateButtonInputs, () => LibraryTemplateBodyInputs$], 4
|
|
435
438
|
];
|
|
436
439
|
export var MetaLibraryTemplateDefinition$ = [3, n0, _MLTD,
|
|
437
440
|
0,
|
|
438
|
-
[_tN, _tL, _tC, _tT, _tUC, _tI, _tH, _tB, _tBe, _tIe],
|
|
439
|
-
[0, 0, 0, 0, 0, 64 | 0, 0, 0, () => MetaLibraryTemplateButtonList, 0]
|
|
441
|
+
[_tN, _tL, _tC, _tT, _tUC, _tI, _tH, _tB, _tBe, _tIe, _tBEP],
|
|
442
|
+
[0, 0, 0, 0, 0, 64 | 0, 0, 0, () => MetaLibraryTemplateButtonList, 0, 64 | 0]
|
|
440
443
|
];
|
|
441
444
|
export var PostWhatsAppMessageMediaInput$ = [3, n0, _PWAMMI,
|
|
442
445
|
0,
|
|
443
446
|
[_oPNI, _sSPU, _sSF],
|
|
444
|
-
[0, [() => S3PresignedUrl$, 0], [() => S3File$, 0]]
|
|
447
|
+
[0, [() => S3PresignedUrl$, 0], [() => S3File$, 0]], 1
|
|
445
448
|
];
|
|
446
449
|
export var PostWhatsAppMessageMediaOutput$ = [3, n0, _PWAMMO,
|
|
447
450
|
0,
|
|
@@ -451,7 +454,7 @@ export var PostWhatsAppMessageMediaOutput$ = [3, n0, _PWAMMO,
|
|
|
451
454
|
export var PutWhatsAppBusinessAccountEventDestinationsInput$ = [3, n0, _PWABAEDI,
|
|
452
455
|
0,
|
|
453
456
|
[_i, _eD],
|
|
454
|
-
[0, () => WhatsAppBusinessAccountEventDestinations]
|
|
457
|
+
[0, () => WhatsAppBusinessAccountEventDestinations], 2
|
|
455
458
|
];
|
|
456
459
|
export var PutWhatsAppBusinessAccountEventDestinationsOutput$ = [3, n0, _PWABAEDO,
|
|
457
460
|
0,
|
|
@@ -467,17 +470,17 @@ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundE
|
|
|
467
470
|
export var S3File$ = [3, n0, _SF,
|
|
468
471
|
8,
|
|
469
472
|
[_bN, _k],
|
|
470
|
-
[0, 0]
|
|
473
|
+
[0, 0], 2
|
|
471
474
|
];
|
|
472
475
|
export var S3PresignedUrl$ = [3, n0, _SPU,
|
|
473
476
|
8,
|
|
474
477
|
[_u, _h],
|
|
475
|
-
[0, 128 | 0]
|
|
478
|
+
[0, 128 | 0], 2
|
|
476
479
|
];
|
|
477
480
|
export var SendWhatsAppMessageInput$ = [3, n0, _SWAMI,
|
|
478
481
|
0,
|
|
479
482
|
[_oPNI, _m, _mAV],
|
|
480
|
-
[0, [() => WhatsAppMessageBlob, 0], 0]
|
|
483
|
+
[0, [() => WhatsAppMessageBlob, 0], 0], 3
|
|
481
484
|
];
|
|
482
485
|
export var SendWhatsAppMessageOutput$ = [3, n0, _SWAMO,
|
|
483
486
|
0,
|
|
@@ -487,12 +490,12 @@ export var SendWhatsAppMessageOutput$ = [3, n0, _SWAMO,
|
|
|
487
490
|
export var Tag$ = [3, n0, _T,
|
|
488
491
|
0,
|
|
489
492
|
[_k, _v],
|
|
490
|
-
[0, 0]
|
|
493
|
+
[0, 0], 1
|
|
491
494
|
];
|
|
492
495
|
export var TagResourceInput$ = [3, n0, _TRI,
|
|
493
496
|
0,
|
|
494
497
|
[_rA, _ta],
|
|
495
|
-
[0, () => TagList]
|
|
498
|
+
[0, () => TagList], 2
|
|
496
499
|
];
|
|
497
500
|
export var TagResourceOutput$ = [3, n0, _TRO,
|
|
498
501
|
0,
|
|
@@ -513,7 +516,7 @@ TypeRegistry.for(n0).registerError(ThrottledRequestException$, ThrottledRequestE
|
|
|
513
516
|
export var UntagResourceInput$ = [3, n0, _URI,
|
|
514
517
|
0,
|
|
515
518
|
[_rA, _tK],
|
|
516
|
-
[0, 64 | 0]
|
|
519
|
+
[0, 64 | 0], 2
|
|
517
520
|
];
|
|
518
521
|
export var UntagResourceOutput$ = [3, n0, _URO,
|
|
519
522
|
0,
|
|
@@ -522,8 +525,8 @@ export var UntagResourceOutput$ = [3, n0, _URO,
|
|
|
522
525
|
];
|
|
523
526
|
export var UpdateWhatsAppMessageTemplateInput$ = [3, n0, _UWAMTI,
|
|
524
527
|
0,
|
|
525
|
-
[_i, _mTI, _tC, _tCe],
|
|
526
|
-
[0, 0, 0, 21]
|
|
528
|
+
[_i, _mTI, _pF, _tC, _tCe, _cULTOO],
|
|
529
|
+
[0, 0, 0, 0, 21, 2], 2
|
|
527
530
|
];
|
|
528
531
|
export var UpdateWhatsAppMessageTemplateOutput$ = [3, n0, _UWAMTO,
|
|
529
532
|
0,
|
|
@@ -539,7 +542,7 @@ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
|
539
542
|
export var WabaPhoneNumberSetupFinalization$ = [3, n0, _WPNSF,
|
|
540
543
|
0,
|
|
541
544
|
[_i, _tFP, _dLR, _ta],
|
|
542
|
-
[0, [() => TwoFactorPin, 0], 0, () => TagList]
|
|
545
|
+
[0, [() => TwoFactorPin, 0], 0, () => TagList], 2
|
|
543
546
|
];
|
|
544
547
|
export var WabaSetupFinalization$ = [3, n0, _WSF,
|
|
545
548
|
0,
|
|
@@ -549,27 +552,27 @@ export var WabaSetupFinalization$ = [3, n0, _WSF,
|
|
|
549
552
|
export var WhatsAppBusinessAccountEventDestination$ = [3, n0, _WABAED,
|
|
550
553
|
0,
|
|
551
554
|
[_eDA, _rAo],
|
|
552
|
-
[0, 0]
|
|
555
|
+
[0, 0], 1
|
|
553
556
|
];
|
|
554
557
|
export var WhatsAppPhoneNumberDetail$ = [3, n0, _WAPND,
|
|
555
558
|
0,
|
|
556
559
|
[_ar, _pN, _pNI, _mPNI, _dPNN, _dPN, _qR, _dLR],
|
|
557
|
-
[0, 0, 0, 0, 0, 0, 0, 0]
|
|
560
|
+
[0, 0, 0, 0, 0, 0, 0, 0], 7
|
|
558
561
|
];
|
|
559
562
|
export var WhatsAppPhoneNumberSummary$ = [3, n0, _WAPNS,
|
|
560
563
|
0,
|
|
561
564
|
[_ar, _pN, _pNI, _mPNI, _dPNN, _dPN, _qR, _dLR],
|
|
562
|
-
[0, 0, 0, 0, 0, 0, 0, 0]
|
|
565
|
+
[0, 0, 0, 0, 0, 0, 0, 0], 7
|
|
563
566
|
];
|
|
564
567
|
export var WhatsAppSetupFinalization$ = [3, n0, _WASF,
|
|
565
568
|
0,
|
|
566
569
|
[_aIPT, _pNh, _pNP, _w],
|
|
567
|
-
[[() => AssociateInProgressToken, 0], [() => WabaPhoneNumberSetupFinalizationList, 0], 0, () => WabaSetupFinalization$]
|
|
570
|
+
[[() => AssociateInProgressToken, 0], [() => WabaPhoneNumberSetupFinalizationList, 0], 0, () => WabaSetupFinalization$], 2
|
|
568
571
|
];
|
|
569
572
|
export var WhatsAppSignupCallback$ = [3, n0, _WASC,
|
|
570
573
|
0,
|
|
571
574
|
[_aT, _cU],
|
|
572
|
-
[0, 0]
|
|
575
|
+
[0, 0], 1
|
|
573
576
|
];
|
|
574
577
|
export var WhatsAppSignupCallbackResult$ = [3, n0, _WASCR,
|
|
575
578
|
0,
|
|
@@ -591,6 +594,7 @@ var MetaLibraryTemplateButtonList = [1, n0, _MLTBL,
|
|
|
591
594
|
var MetaLibraryTemplatesList = [1, n0, _MLTL,
|
|
592
595
|
0, () => MetaLibraryTemplateDefinition$
|
|
593
596
|
];
|
|
597
|
+
var MetaTemplateBodyExampleParams = 64 | 0;
|
|
594
598
|
var StringList = 64 | 0;
|
|
595
599
|
var SupportedApps = [1, n0, _SA,
|
|
596
600
|
0, 128 | 0
|
|
@@ -28,6 +28,9 @@ declare const CreateWhatsAppMessageTemplateCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a new WhatsApp message template from a custom definition.</p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>Amazon Web Services End User Messaging Social does not store any WhatsApp message template content.</p>
|
|
33
|
+
* </note>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const GetLinkedWhatsAppBusinessAccountPhoneNumberCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* details.</p>
|
|
30
|
+
* <p>Retrieve the WABA account id and phone number details of a WhatsApp business account phone number.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -75,6 +75,9 @@ declare const ListWhatsAppTemplateLibraryCommand_base: {
|
|
|
75
75
|
* // },
|
|
76
76
|
* // ],
|
|
77
77
|
* // templateId: "STRING_VALUE",
|
|
78
|
+
* // templateBodyExampleParams: [ // MetaTemplateBodyExampleParams
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
78
81
|
* // },
|
|
79
82
|
* // ],
|
|
80
83
|
* // nextToken: "STRING_VALUE",
|
|
@@ -39,8 +39,10 @@ declare const UpdateWhatsAppMessageTemplateCommand_base: {
|
|
|
39
39
|
* const input = { // UpdateWhatsAppMessageTemplateInput
|
|
40
40
|
* id: "STRING_VALUE", // required
|
|
41
41
|
* metaTemplateId: "STRING_VALUE", // required
|
|
42
|
+
* parameterFormat: "STRING_VALUE",
|
|
42
43
|
* templateCategory: "STRING_VALUE",
|
|
43
44
|
* templateComponents: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
45
|
+
* ctaUrlLinkTrackingOptedOut: true || false,
|
|
44
46
|
* };
|
|
45
47
|
* const command = new UpdateWhatsAppMessageTemplateCommand(input);
|
|
46
48
|
* const response = await client.send(command);
|
|
@@ -23,9 +23,9 @@ export interface WabaPhoneNumberSetupFinalization {
|
|
|
23
23
|
/**
|
|
24
24
|
* <p>The unique identifier of the originating phone number associated with the media. Phone
|
|
25
25
|
* number identifiers are formatted as
|
|
26
|
-
* <code>phone-number-id-01234567890123456789012345678901</code>. Use
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/
|
|
28
|
-
* id.</p>
|
|
26
|
+
* <code>phone-number-id-01234567890123456789012345678901</code>. Use the
|
|
27
|
+
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html">GetLinkedWhatsAppBusinessAccount</a>
|
|
28
|
+
* API action to find a phone number's id.</p>
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
31
|
id: string | undefined;
|
|
@@ -511,7 +511,11 @@ export interface S3File {
|
|
|
511
511
|
*/
|
|
512
512
|
bucketName: string | undefined;
|
|
513
513
|
/**
|
|
514
|
-
* <p>The
|
|
514
|
+
* <p>The S3 key prefix that defines the storage location of your media files. The prefix works like a folder path in S3,
|
|
515
|
+
* and is combined with the WhatsApp mediaId to create the final file path.</p>
|
|
516
|
+
* <p>For example, if a media file's WhatsApp mediaId is <code>123.ogg</code>, and the key is <code>audio/example.ogg</code>,
|
|
517
|
+
* the final file path is <code>audio/example.ogg123.ogg</code>.</p>
|
|
518
|
+
* <p>For the same mediaId, a key of <code>audio/</code> results in the file path <code>audio/123.ogg</code>.</p>
|
|
515
519
|
* @public
|
|
516
520
|
*/
|
|
517
521
|
key: string | undefined;
|
|
@@ -554,7 +558,7 @@ export interface DeleteWhatsAppMessageMediaInput {
|
|
|
554
558
|
* <p>The unique identifier of the originating phone number associated with the media. Phone
|
|
555
559
|
* number identifiers are formatted as
|
|
556
560
|
* <code>phone-number-id-01234567890123456789012345678901</code>. Use
|
|
557
|
-
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/
|
|
561
|
+
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html">GetLinkedWhatsAppBusinessAccount</a> to find a phone number's
|
|
558
562
|
* id.</p>
|
|
559
563
|
* @public
|
|
560
564
|
*/
|
|
@@ -607,7 +611,8 @@ export interface DisassociateWhatsAppBusinessAccountInput {
|
|
|
607
611
|
/**
|
|
608
612
|
* <p>The unique identifier of your WhatsApp Business Account. WABA identifiers are formatted as
|
|
609
613
|
* <code>waba-01234567890123456789012345678901</code>. Use
|
|
610
|
-
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_ListLinkedWhatsAppBusinessAccounts.html">ListLinkedWhatsAppBusinessAccounts</a> to list all WABAs
|
|
614
|
+
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_ListLinkedWhatsAppBusinessAccounts.html">ListLinkedWhatsAppBusinessAccounts</a> to list all WABAs
|
|
615
|
+
* and their details.</p>
|
|
611
616
|
* @public
|
|
612
617
|
*/
|
|
613
618
|
id: string | undefined;
|
|
@@ -739,8 +744,8 @@ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberInput {
|
|
|
739
744
|
/**
|
|
740
745
|
* <p>The unique identifier of the phone number. Phone number
|
|
741
746
|
* identifiers are formatted as <code>phone-number-id-01234567890123456789012345678901</code>.
|
|
742
|
-
* Use <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/
|
|
743
|
-
* id.</p>
|
|
747
|
+
* Use <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html">GetLinkedWhatsAppBusinessAccount</a>
|
|
748
|
+
* to find a phone number's id.</p>
|
|
744
749
|
* @public
|
|
745
750
|
*/
|
|
746
751
|
id: string | undefined;
|
|
@@ -793,7 +798,7 @@ export interface GetWhatsAppMessageMediaInput {
|
|
|
793
798
|
* <p>The unique identifier of the originating phone number for the WhatsApp message media.
|
|
794
799
|
* The phone number identifiers are formatted as
|
|
795
800
|
* <code>phone-number-id-01234567890123456789012345678901</code>. Use
|
|
796
|
-
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/
|
|
801
|
+
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html">GetLinkedWhatsAppBusinessAccount</a> to find a phone number's
|
|
797
802
|
* id.</p>
|
|
798
803
|
* @public
|
|
799
804
|
*/
|
|
@@ -824,7 +829,7 @@ export interface GetWhatsAppMessageMediaOutput {
|
|
|
824
829
|
*/
|
|
825
830
|
mimeType?: string | undefined;
|
|
826
831
|
/**
|
|
827
|
-
* <p>The
|
|
832
|
+
* <p>The size of the media file, in KB.</p>
|
|
828
833
|
* @public
|
|
829
834
|
*/
|
|
830
835
|
fileSize?: number | undefined;
|
|
@@ -966,124 +971,6 @@ export interface ListLinkedWhatsAppBusinessAccountsOutput {
|
|
|
966
971
|
*/
|
|
967
972
|
nextToken?: string | undefined;
|
|
968
973
|
}
|
|
969
|
-
/**
|
|
970
|
-
* @public
|
|
971
|
-
*/
|
|
972
|
-
export interface PutWhatsAppBusinessAccountEventDestinationsInput {
|
|
973
|
-
/**
|
|
974
|
-
* <p>The unique identifier of your WhatsApp Business Account. WABA identifiers are formatted as
|
|
975
|
-
* <code>waba-01234567890123456789012345678901</code>. Use
|
|
976
|
-
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_ListLinkedWhatsAppBusinessAccounts.html">ListLinkedWhatsAppBusinessAccounts</a> to list all WABAs and their details.</p>
|
|
977
|
-
* @public
|
|
978
|
-
*/
|
|
979
|
-
id: string | undefined;
|
|
980
|
-
/**
|
|
981
|
-
* <p>An array of <code>WhatsAppBusinessAccountEventDestination</code> event destinations.</p>
|
|
982
|
-
* @public
|
|
983
|
-
*/
|
|
984
|
-
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
985
|
-
}
|
|
986
|
-
/**
|
|
987
|
-
* @public
|
|
988
|
-
*/
|
|
989
|
-
export interface PutWhatsAppBusinessAccountEventDestinationsOutput {
|
|
990
|
-
}
|
|
991
|
-
/**
|
|
992
|
-
* @public
|
|
993
|
-
*/
|
|
994
|
-
export interface PostWhatsAppMessageMediaInput {
|
|
995
|
-
/**
|
|
996
|
-
* <p>The ID of the phone number to associate with the WhatsApp media file. The phone number
|
|
997
|
-
* identifiers are formatted as <code>phone-number-id-01234567890123456789012345678901</code>.
|
|
998
|
-
* Use <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html">GetLinkedWhatsAppBusinessAccount</a> to find a phone number's
|
|
999
|
-
* id.</p>
|
|
1000
|
-
* @public
|
|
1001
|
-
*/
|
|
1002
|
-
originationPhoneNumberId: string | undefined;
|
|
1003
|
-
/**
|
|
1004
|
-
* <p>The source presign url of the media file.</p>
|
|
1005
|
-
* @public
|
|
1006
|
-
*/
|
|
1007
|
-
sourceS3PresignedUrl?: S3PresignedUrl | undefined;
|
|
1008
|
-
/**
|
|
1009
|
-
* <p>The source S3 url for the media file.</p>
|
|
1010
|
-
* @public
|
|
1011
|
-
*/
|
|
1012
|
-
sourceS3File?: S3File | undefined;
|
|
1013
|
-
}
|
|
1014
|
-
/**
|
|
1015
|
-
* @public
|
|
1016
|
-
*/
|
|
1017
|
-
export interface PostWhatsAppMessageMediaOutput {
|
|
1018
|
-
/**
|
|
1019
|
-
* <p>The unique identifier of the posted WhatsApp message.</p>
|
|
1020
|
-
* @public
|
|
1021
|
-
*/
|
|
1022
|
-
mediaId?: string | undefined;
|
|
1023
|
-
}
|
|
1024
|
-
/**
|
|
1025
|
-
* @public
|
|
1026
|
-
*/
|
|
1027
|
-
export interface SendWhatsAppMessageInput {
|
|
1028
|
-
/**
|
|
1029
|
-
* <p>The ID of the phone number used to send the WhatsApp message. If you are sending a media
|
|
1030
|
-
* file only the <code>originationPhoneNumberId</code> used to upload the file can be used.
|
|
1031
|
-
* Phone number identifiers are formatted as
|
|
1032
|
-
* <code>phone-number-id-01234567890123456789012345678901</code>. Use
|
|
1033
|
-
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html">GetLinkedWhatsAppBusinessAccount</a> to find a phone number's
|
|
1034
|
-
* id.</p>
|
|
1035
|
-
* @public
|
|
1036
|
-
*/
|
|
1037
|
-
originationPhoneNumberId: string | undefined;
|
|
1038
|
-
/**
|
|
1039
|
-
* <p>The message to send through WhatsApp. The length is in KB. The message field passes through a WhatsApp
|
|
1040
|
-
* Message object, see <a href="https://developers.facebook.com/docs/whatsapp/cloud-api/reference/messages">Messages</a> in the <i>WhatsApp Business Platform Cloud API
|
|
1041
|
-
* Reference</i>.</p>
|
|
1042
|
-
* @public
|
|
1043
|
-
*/
|
|
1044
|
-
message: Uint8Array | undefined;
|
|
1045
|
-
/**
|
|
1046
|
-
* <p>The API version for the request formatted as <code>v\{VersionNumber\}</code>. For a list of supported API versions and Amazon Web Services Regions, see <a href="https://docs.aws.amazon.com/general/latest/gr/end-user-messaging.html">
|
|
1047
|
-
* <i>Amazon Web Services End User Messaging Social API</i> Service Endpoints</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1048
|
-
* @public
|
|
1049
|
-
*/
|
|
1050
|
-
metaApiVersion: string | undefined;
|
|
1051
|
-
}
|
|
1052
|
-
/**
|
|
1053
|
-
* @public
|
|
1054
|
-
*/
|
|
1055
|
-
export interface SendWhatsAppMessageOutput {
|
|
1056
|
-
/**
|
|
1057
|
-
* <p>The unique identifier of the message.</p>
|
|
1058
|
-
* @public
|
|
1059
|
-
*/
|
|
1060
|
-
messageId?: string | undefined;
|
|
1061
|
-
}
|
|
1062
|
-
/**
|
|
1063
|
-
* @public
|
|
1064
|
-
*/
|
|
1065
|
-
export interface ListTagsForResourceInput {
|
|
1066
|
-
/**
|
|
1067
|
-
* <p>The Amazon Resource Name (ARN) of the resource to retrieve the tags from.</p>
|
|
1068
|
-
* @public
|
|
1069
|
-
*/
|
|
1070
|
-
resourceArn: string | undefined;
|
|
1071
|
-
}
|
|
1072
|
-
/**
|
|
1073
|
-
* @public
|
|
1074
|
-
*/
|
|
1075
|
-
export interface ListTagsForResourceOutput {
|
|
1076
|
-
/**
|
|
1077
|
-
* <p>The status code of the response.</p>
|
|
1078
|
-
* @public
|
|
1079
|
-
*/
|
|
1080
|
-
statusCode?: number | undefined;
|
|
1081
|
-
/**
|
|
1082
|
-
* <p>The tags for the resource.</p>
|
|
1083
|
-
* @public
|
|
1084
|
-
*/
|
|
1085
|
-
tags?: Tag[] | undefined;
|
|
1086
|
-
}
|
|
1087
974
|
/**
|
|
1088
975
|
* @public
|
|
1089
976
|
*/
|
|
@@ -1235,6 +1122,11 @@ export interface MetaLibraryTemplateDefinition {
|
|
|
1235
1122
|
* @public
|
|
1236
1123
|
*/
|
|
1237
1124
|
templateId?: string | undefined;
|
|
1125
|
+
/**
|
|
1126
|
+
* <p>Example parameter values for the template body, used to demonstrate how dynamic content appears in the template.</p>
|
|
1127
|
+
* @public
|
|
1128
|
+
*/
|
|
1129
|
+
templateBodyExampleParams?: string[] | undefined;
|
|
1238
1130
|
}
|
|
1239
1131
|
/**
|
|
1240
1132
|
* @public
|
|
@@ -1254,80 +1146,208 @@ export interface ListWhatsAppTemplateLibraryOutput {
|
|
|
1254
1146
|
/**
|
|
1255
1147
|
* @public
|
|
1256
1148
|
*/
|
|
1257
|
-
export interface
|
|
1149
|
+
export interface PutWhatsAppBusinessAccountEventDestinationsInput {
|
|
1258
1150
|
/**
|
|
1259
|
-
* <p>The
|
|
1151
|
+
* <p>The unique identifier of your WhatsApp Business Account. WABA identifiers are formatted as
|
|
1152
|
+
* <code>waba-01234567890123456789012345678901</code>. Use
|
|
1153
|
+
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_ListLinkedWhatsAppBusinessAccounts.html">ListLinkedWhatsAppBusinessAccounts</a> to list all WABAs and their details.</p>
|
|
1260
1154
|
* @public
|
|
1261
1155
|
*/
|
|
1262
|
-
|
|
1156
|
+
id: string | undefined;
|
|
1263
1157
|
/**
|
|
1264
|
-
* <p>
|
|
1158
|
+
* <p>An array of <code>WhatsAppBusinessAccountEventDestination</code> event destinations.</p>
|
|
1265
1159
|
* @public
|
|
1266
1160
|
*/
|
|
1267
|
-
|
|
1161
|
+
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
1268
1162
|
}
|
|
1269
1163
|
/**
|
|
1270
1164
|
* @public
|
|
1271
1165
|
*/
|
|
1272
|
-
export interface
|
|
1166
|
+
export interface PutWhatsAppBusinessAccountEventDestinationsOutput {
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* @public
|
|
1170
|
+
*/
|
|
1171
|
+
export interface UpdateWhatsAppMessageTemplateInput {
|
|
1273
1172
|
/**
|
|
1274
|
-
* <p>The
|
|
1173
|
+
* <p>The ID of the WhatsApp Business Account associated with this template.</p>
|
|
1275
1174
|
* @public
|
|
1276
1175
|
*/
|
|
1277
|
-
|
|
1176
|
+
id: string | undefined;
|
|
1177
|
+
/**
|
|
1178
|
+
* <p>The numeric ID of the template assigned by Meta.</p>
|
|
1179
|
+
* @public
|
|
1180
|
+
*/
|
|
1181
|
+
metaTemplateId: string | undefined;
|
|
1182
|
+
/**
|
|
1183
|
+
* <p>The format specification for parameters in the template, this can be either 'named' or 'positional'.</p>
|
|
1184
|
+
* @public
|
|
1185
|
+
*/
|
|
1186
|
+
parameterFormat?: string | undefined;
|
|
1187
|
+
/**
|
|
1188
|
+
* <p>The new category for the template (for example, UTILITY or MARKETING).</p>
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
templateCategory?: string | undefined;
|
|
1192
|
+
/**
|
|
1193
|
+
* <p>The updated components of the template as a JSON blob (maximum 3000 characters).</p>
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1196
|
+
templateComponents?: Uint8Array | undefined;
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>When true, disables click tracking for call-to-action URL buttons in the template.</p>
|
|
1199
|
+
* @public
|
|
1200
|
+
*/
|
|
1201
|
+
ctaUrlLinkTrackingOptedOut?: boolean | undefined;
|
|
1278
1202
|
}
|
|
1279
1203
|
/**
|
|
1280
1204
|
* @public
|
|
1281
1205
|
*/
|
|
1282
|
-
export interface
|
|
1206
|
+
export interface UpdateWhatsAppMessageTemplateOutput {
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1211
|
+
export interface PostWhatsAppMessageMediaInput {
|
|
1283
1212
|
/**
|
|
1284
|
-
* <p>The
|
|
1213
|
+
* <p>The ID of the phone number to associate with the WhatsApp media file. The phone number
|
|
1214
|
+
* identifiers are formatted as <code>phone-number-id-01234567890123456789012345678901</code>.
|
|
1215
|
+
* Use <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html">GetLinkedWhatsAppBusinessAccount</a>
|
|
1216
|
+
* to find a phone number's id.</p>
|
|
1285
1217
|
* @public
|
|
1286
1218
|
*/
|
|
1287
|
-
|
|
1219
|
+
originationPhoneNumberId: string | undefined;
|
|
1288
1220
|
/**
|
|
1289
|
-
* <p>The
|
|
1221
|
+
* <p>The source presign url of the media file.</p>
|
|
1290
1222
|
* @public
|
|
1291
1223
|
*/
|
|
1292
|
-
|
|
1224
|
+
sourceS3PresignedUrl?: S3PresignedUrl | undefined;
|
|
1225
|
+
/**
|
|
1226
|
+
* <p>The source S3 url for the media file.</p>
|
|
1227
|
+
* @public
|
|
1228
|
+
*/
|
|
1229
|
+
sourceS3File?: S3File | undefined;
|
|
1293
1230
|
}
|
|
1294
1231
|
/**
|
|
1295
1232
|
* @public
|
|
1296
1233
|
*/
|
|
1297
|
-
export interface
|
|
1234
|
+
export interface PostWhatsAppMessageMediaOutput {
|
|
1298
1235
|
/**
|
|
1299
|
-
* <p>The
|
|
1236
|
+
* <p>The unique identifier of the posted WhatsApp message.</p>
|
|
1237
|
+
* @public
|
|
1238
|
+
*/
|
|
1239
|
+
mediaId?: string | undefined;
|
|
1240
|
+
}
|
|
1241
|
+
/**
|
|
1242
|
+
* @public
|
|
1243
|
+
*/
|
|
1244
|
+
export interface SendWhatsAppMessageInput {
|
|
1245
|
+
/**
|
|
1246
|
+
* <p>The ID of the phone number used to send the WhatsApp message. If you are sending a media
|
|
1247
|
+
* file only the <code>originationPhoneNumberId</code> used to upload the file can be used.
|
|
1248
|
+
* Phone number identifiers are formatted as
|
|
1249
|
+
* <code>phone-number-id-01234567890123456789012345678901</code>. Use
|
|
1250
|
+
* <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html">GetLinkedWhatsAppBusinessAccount</a> to find a phone number's
|
|
1251
|
+
* id.</p>
|
|
1252
|
+
* @public
|
|
1253
|
+
*/
|
|
1254
|
+
originationPhoneNumberId: string | undefined;
|
|
1255
|
+
/**
|
|
1256
|
+
* <p>The message to send through WhatsApp. The length is in KB. The message field passes through a WhatsApp
|
|
1257
|
+
* Message object, see <a href="https://developers.facebook.com/docs/whatsapp/cloud-api/reference/messages">Messages</a> in the <i>WhatsApp Business Platform Cloud API
|
|
1258
|
+
* Reference</i>.</p>
|
|
1259
|
+
* @public
|
|
1260
|
+
*/
|
|
1261
|
+
message: Uint8Array | undefined;
|
|
1262
|
+
/**
|
|
1263
|
+
* <p>The API version for the request formatted as <code>v\{VersionNumber\}</code>. For a list of supported API versions and Amazon Web Services Regions, see <a href="https://docs.aws.amazon.com/general/latest/gr/end-user-messaging.html">
|
|
1264
|
+
* <i>Amazon Web Services End User Messaging Social API</i> Service Endpoints</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1265
|
+
* @public
|
|
1266
|
+
*/
|
|
1267
|
+
metaApiVersion: string | undefined;
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* @public
|
|
1271
|
+
*/
|
|
1272
|
+
export interface SendWhatsAppMessageOutput {
|
|
1273
|
+
/**
|
|
1274
|
+
* <p>The unique identifier of the message.</p>
|
|
1275
|
+
* @public
|
|
1276
|
+
*/
|
|
1277
|
+
messageId?: string | undefined;
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* @public
|
|
1281
|
+
*/
|
|
1282
|
+
export interface ListTagsForResourceInput {
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>The Amazon Resource Name (ARN) of the resource to retrieve the tags from.</p>
|
|
1285
|
+
* @public
|
|
1286
|
+
*/
|
|
1287
|
+
resourceArn: string | undefined;
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* @public
|
|
1291
|
+
*/
|
|
1292
|
+
export interface ListTagsForResourceOutput {
|
|
1293
|
+
/**
|
|
1294
|
+
* <p>The status code of the response.</p>
|
|
1300
1295
|
* @public
|
|
1301
1296
|
*/
|
|
1302
1297
|
statusCode?: number | undefined;
|
|
1298
|
+
/**
|
|
1299
|
+
* <p>The tags for the resource.</p>
|
|
1300
|
+
* @public
|
|
1301
|
+
*/
|
|
1302
|
+
tags?: Tag[] | undefined;
|
|
1303
1303
|
}
|
|
1304
1304
|
/**
|
|
1305
1305
|
* @public
|
|
1306
1306
|
*/
|
|
1307
|
-
export interface
|
|
1307
|
+
export interface TagResourceInput {
|
|
1308
1308
|
/**
|
|
1309
|
-
* <p>The
|
|
1309
|
+
* <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
|
|
1310
1310
|
* @public
|
|
1311
1311
|
*/
|
|
1312
|
-
|
|
1312
|
+
resourceArn: string | undefined;
|
|
1313
1313
|
/**
|
|
1314
|
-
* <p>The
|
|
1314
|
+
* <p>The tags to add to the resource.</p>
|
|
1315
1315
|
* @public
|
|
1316
1316
|
*/
|
|
1317
|
-
|
|
1317
|
+
tags: Tag[] | undefined;
|
|
1318
|
+
}
|
|
1319
|
+
/**
|
|
1320
|
+
* @public
|
|
1321
|
+
*/
|
|
1322
|
+
export interface TagResourceOutput {
|
|
1318
1323
|
/**
|
|
1319
|
-
* <p>The
|
|
1324
|
+
* <p>The status code of the tag resource operation.</p>
|
|
1320
1325
|
* @public
|
|
1321
1326
|
*/
|
|
1322
|
-
|
|
1327
|
+
statusCode?: number | undefined;
|
|
1328
|
+
}
|
|
1329
|
+
/**
|
|
1330
|
+
* @public
|
|
1331
|
+
*/
|
|
1332
|
+
export interface UntagResourceInput {
|
|
1323
1333
|
/**
|
|
1324
|
-
* <p>The
|
|
1334
|
+
* <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
|
|
1325
1335
|
* @public
|
|
1326
1336
|
*/
|
|
1327
|
-
|
|
1337
|
+
resourceArn: string | undefined;
|
|
1338
|
+
/**
|
|
1339
|
+
* <p>The keys of the tags to remove from the resource.</p>
|
|
1340
|
+
* @public
|
|
1341
|
+
*/
|
|
1342
|
+
tagKeys: string[] | undefined;
|
|
1328
1343
|
}
|
|
1329
1344
|
/**
|
|
1330
1345
|
* @public
|
|
1331
1346
|
*/
|
|
1332
|
-
export interface
|
|
1347
|
+
export interface UntagResourceOutput {
|
|
1348
|
+
/**
|
|
1349
|
+
* <p>The status code of the untag resource operation.</p>
|
|
1350
|
+
* @public
|
|
1351
|
+
*/
|
|
1352
|
+
statusCode?: number | undefined;
|
|
1333
1353
|
}
|
|
@@ -209,34 +209,6 @@ export interface ListLinkedWhatsAppBusinessAccountsOutput {
|
|
|
209
209
|
linkedAccounts?: LinkedWhatsAppBusinessAccountSummary[] | undefined;
|
|
210
210
|
nextToken?: string | undefined;
|
|
211
211
|
}
|
|
212
|
-
export interface PutWhatsAppBusinessAccountEventDestinationsInput {
|
|
213
|
-
id: string | undefined;
|
|
214
|
-
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
215
|
-
}
|
|
216
|
-
export interface PutWhatsAppBusinessAccountEventDestinationsOutput {}
|
|
217
|
-
export interface PostWhatsAppMessageMediaInput {
|
|
218
|
-
originationPhoneNumberId: string | undefined;
|
|
219
|
-
sourceS3PresignedUrl?: S3PresignedUrl | undefined;
|
|
220
|
-
sourceS3File?: S3File | undefined;
|
|
221
|
-
}
|
|
222
|
-
export interface PostWhatsAppMessageMediaOutput {
|
|
223
|
-
mediaId?: string | undefined;
|
|
224
|
-
}
|
|
225
|
-
export interface SendWhatsAppMessageInput {
|
|
226
|
-
originationPhoneNumberId: string | undefined;
|
|
227
|
-
message: Uint8Array | undefined;
|
|
228
|
-
metaApiVersion: string | undefined;
|
|
229
|
-
}
|
|
230
|
-
export interface SendWhatsAppMessageOutput {
|
|
231
|
-
messageId?: string | undefined;
|
|
232
|
-
}
|
|
233
|
-
export interface ListTagsForResourceInput {
|
|
234
|
-
resourceArn: string | undefined;
|
|
235
|
-
}
|
|
236
|
-
export interface ListTagsForResourceOutput {
|
|
237
|
-
statusCode?: number | undefined;
|
|
238
|
-
tags?: Tag[] | undefined;
|
|
239
|
-
}
|
|
240
212
|
export interface ListWhatsAppMessageTemplatesInput {
|
|
241
213
|
id: string | undefined;
|
|
242
214
|
nextToken?: string | undefined;
|
|
@@ -271,11 +243,49 @@ export interface MetaLibraryTemplateDefinition {
|
|
|
271
243
|
templateBody?: string | undefined;
|
|
272
244
|
templateButtons?: LibraryTemplateButtonList[] | undefined;
|
|
273
245
|
templateId?: string | undefined;
|
|
246
|
+
templateBodyExampleParams?: string[] | undefined;
|
|
274
247
|
}
|
|
275
248
|
export interface ListWhatsAppTemplateLibraryOutput {
|
|
276
249
|
metaLibraryTemplates?: MetaLibraryTemplateDefinition[] | undefined;
|
|
277
250
|
nextToken?: string | undefined;
|
|
278
251
|
}
|
|
252
|
+
export interface PutWhatsAppBusinessAccountEventDestinationsInput {
|
|
253
|
+
id: string | undefined;
|
|
254
|
+
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
255
|
+
}
|
|
256
|
+
export interface PutWhatsAppBusinessAccountEventDestinationsOutput {}
|
|
257
|
+
export interface UpdateWhatsAppMessageTemplateInput {
|
|
258
|
+
id: string | undefined;
|
|
259
|
+
metaTemplateId: string | undefined;
|
|
260
|
+
parameterFormat?: string | undefined;
|
|
261
|
+
templateCategory?: string | undefined;
|
|
262
|
+
templateComponents?: Uint8Array | undefined;
|
|
263
|
+
ctaUrlLinkTrackingOptedOut?: boolean | undefined;
|
|
264
|
+
}
|
|
265
|
+
export interface UpdateWhatsAppMessageTemplateOutput {}
|
|
266
|
+
export interface PostWhatsAppMessageMediaInput {
|
|
267
|
+
originationPhoneNumberId: string | undefined;
|
|
268
|
+
sourceS3PresignedUrl?: S3PresignedUrl | undefined;
|
|
269
|
+
sourceS3File?: S3File | undefined;
|
|
270
|
+
}
|
|
271
|
+
export interface PostWhatsAppMessageMediaOutput {
|
|
272
|
+
mediaId?: string | undefined;
|
|
273
|
+
}
|
|
274
|
+
export interface SendWhatsAppMessageInput {
|
|
275
|
+
originationPhoneNumberId: string | undefined;
|
|
276
|
+
message: Uint8Array | undefined;
|
|
277
|
+
metaApiVersion: string | undefined;
|
|
278
|
+
}
|
|
279
|
+
export interface SendWhatsAppMessageOutput {
|
|
280
|
+
messageId?: string | undefined;
|
|
281
|
+
}
|
|
282
|
+
export interface ListTagsForResourceInput {
|
|
283
|
+
resourceArn: string | undefined;
|
|
284
|
+
}
|
|
285
|
+
export interface ListTagsForResourceOutput {
|
|
286
|
+
statusCode?: number | undefined;
|
|
287
|
+
tags?: Tag[] | undefined;
|
|
288
|
+
}
|
|
279
289
|
export interface TagResourceInput {
|
|
280
290
|
resourceArn: string | undefined;
|
|
281
291
|
tags: Tag[] | undefined;
|
|
@@ -290,10 +300,3 @@ export interface UntagResourceInput {
|
|
|
290
300
|
export interface UntagResourceOutput {
|
|
291
301
|
statusCode?: number | undefined;
|
|
292
302
|
}
|
|
293
|
-
export interface UpdateWhatsAppMessageTemplateInput {
|
|
294
|
-
id: string | undefined;
|
|
295
|
-
metaTemplateId: string | undefined;
|
|
296
|
-
templateCategory?: string | undefined;
|
|
297
|
-
templateComponents?: Uint8Array | undefined;
|
|
298
|
-
}
|
|
299
|
-
export interface UpdateWhatsAppMessageTemplateOutput {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-socialmessaging",
|
|
3
3
|
"description": "AWS SDK for JavaScript Socialmessaging Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.969.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-socialmessaging",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.20.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.10.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.969.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.969.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.969.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.969.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.969.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.969.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.969.0",
|
|
31
|
+
"@aws-sdk/types": "3.969.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.969.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.969.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.969.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
+
"@smithy/core": "^3.20.5",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
|
+
"@smithy/hash-node": "^4.2.8",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.6",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.22",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.9",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.8",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.8",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
+
"@smithy/smithy-client": "^4.10.7",
|
|
49
|
+
"@smithy/types": "^4.12.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.2.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.21",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.24",
|
|
56
|
+
"@smithy/util-endpoints": "^3.2.8",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.8",
|
|
58
|
+
"@smithy/util-retry": "^4.2.8",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|