@aws-sdk/client-socialmessaging 3.1152.0 → 3.1153.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1151.0";
72
+ var version = "3.1152.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -475,6 +475,7 @@ const _bN = "bucketName";
475
475
  const _bPK = "businessPublicKey";
476
476
  const _bPKSS = "businessPublicKeySignatureStatus";
477
477
  const _c = "client";
478
+ const _cC = "correctCategory";
478
479
  const _cE = "callEvent";
479
480
  const _cEM = "codeExpirationMinutes";
480
481
  const _cEa = "callEnabled";
@@ -503,6 +504,8 @@ const _dOW = "dayOfWeek";
503
504
  const _dPN = "destinationPhoneNumber";
504
505
  const _dPNN = "displayPhoneNumberName";
505
506
  const _dPNi = "displayPhoneNumber";
507
+ const _dSES = "directSendEnforcementStatus";
508
+ const _dSESEA = "directSendEnforcementStatusExpiresAt";
506
509
  const _dSF = "destinationS3File";
507
510
  const _dSPU = "destinationS3PresignedUrl";
508
511
  const _dU = "downloadUrl";
@@ -616,6 +619,7 @@ const _tN = "templateName";
616
619
  const _tP = "timePeriod";
617
620
  const _tQS = "templateQualityScore";
618
621
  const _tS = "templateStatus";
622
+ const _tSe = "templateSource";
619
623
  const _tT = "templateTopic";
620
624
  const _tUC = "templateUseCase";
621
625
  const _ta = "tags";
@@ -916,8 +920,8 @@ var LibraryTemplateButtonList$ = [3, n0, _LTBL,
916
920
  ];
917
921
  var LinkedWhatsAppBusinessAccount$ = [3, n0, _LWABA,
918
922
  0,
919
- [_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS, _dI],
920
- [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0, 0], 8
923
+ [_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS, _dSES, _dSESEA, _dI],
924
+ [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0, 0, 4, 0], 8
921
925
  ];
922
926
  var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
923
927
  0,
@@ -926,8 +930,8 @@ var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
926
930
  ];
927
931
  var LinkedWhatsAppBusinessAccountSummary$ = [3, n0, _LWABAS,
928
932
  0,
929
- [_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS, _dI],
930
- [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0, 0], 7
933
+ [_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS, _dSES, _dSESEA, _dI],
934
+ [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0, 0, 4, 0], 7
931
935
  ];
932
936
  var ListLinkedWhatsAppBusinessAccountsInput$ = [3, n0, _LLWABAI,
933
937
  0,
@@ -1131,8 +1135,8 @@ var TagResourceOutput$ = [3, n0, _TRO,
1131
1135
  ];
1132
1136
  var TemplateSummary$ = [3, n0, _TS,
1133
1137
  0,
1134
- [_tN, _mTI, _tS, _tQS, _tL, _tC],
1135
- [0, 0, 0, 0, 0, 0]
1138
+ [_tN, _mTI, _tS, _tQS, _tL, _tC, _tSe, _cC],
1139
+ [0, 0, 0, 0, 0, 0, 0, 0]
1136
1140
  ];
1137
1141
  var UntagResourceInput$ = [3, n0, _URI,
1138
1142
  0,
@@ -200,6 +200,7 @@ const _bN = "bucketName";
200
200
  const _bPK = "businessPublicKey";
201
201
  const _bPKSS = "businessPublicKeySignatureStatus";
202
202
  const _c = "client";
203
+ const _cC = "correctCategory";
203
204
  const _cE = "callEvent";
204
205
  const _cEM = "codeExpirationMinutes";
205
206
  const _cEa = "callEnabled";
@@ -228,6 +229,8 @@ const _dOW = "dayOfWeek";
228
229
  const _dPN = "destinationPhoneNumber";
229
230
  const _dPNN = "displayPhoneNumberName";
230
231
  const _dPNi = "displayPhoneNumber";
232
+ const _dSES = "directSendEnforcementStatus";
233
+ const _dSESEA = "directSendEnforcementStatusExpiresAt";
231
234
  const _dSF = "destinationS3File";
232
235
  const _dSPU = "destinationS3PresignedUrl";
233
236
  const _dU = "downloadUrl";
@@ -341,6 +344,7 @@ const _tN = "templateName";
341
344
  const _tP = "timePeriod";
342
345
  const _tQS = "templateQualityScore";
343
346
  const _tS = "templateStatus";
347
+ const _tSe = "templateSource";
344
348
  const _tT = "templateTopic";
345
349
  const _tUC = "templateUseCase";
346
350
  const _ta = "tags";
@@ -644,8 +648,8 @@ export var LibraryTemplateButtonList$ = [3, n0, _LTBL,
644
648
  ];
645
649
  export var LinkedWhatsAppBusinessAccount$ = [3, n0, _LWABA,
646
650
  0,
647
- [_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS, _dI],
648
- [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0, 0], 8
651
+ [_ar, _i, _wI, _rS, _lD, _wN, _eD, _pNh, _mMOS, _dSES, _dSESEA, _dI],
652
+ [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, () => WhatsAppPhoneNumberSummaryList, 0, 0, 4, 0], 8
649
653
  ];
650
654
  export var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
651
655
  0,
@@ -654,8 +658,8 @@ export var LinkedWhatsAppBusinessAccountIdMetaData$ = [3, n0, _LWABAIMD,
654
658
  ];
655
659
  export var LinkedWhatsAppBusinessAccountSummary$ = [3, n0, _LWABAS,
656
660
  0,
657
- [_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS, _dI],
658
- [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0, 0], 7
661
+ [_ar, _i, _wI, _rS, _lD, _wN, _eD, _mMOS, _dSES, _dSESEA, _dI],
662
+ [0, 0, 0, 0, 4, 0, () => WhatsAppBusinessAccountEventDestinations, 0, 0, 4, 0], 7
659
663
  ];
660
664
  export var ListLinkedWhatsAppBusinessAccountsInput$ = [3, n0, _LLWABAI,
661
665
  0,
@@ -859,8 +863,8 @@ export var TagResourceOutput$ = [3, n0, _TRO,
859
863
  ];
860
864
  export var TemplateSummary$ = [3, n0, _TS,
861
865
  0,
862
- [_tN, _mTI, _tS, _tQS, _tL, _tC],
863
- [0, 0, 0, 0, 0, 0]
866
+ [_tN, _mTI, _tS, _tQS, _tL, _tC, _tSe, _cC],
867
+ [0, 0, 0, 0, 0, 0, 0, 0]
864
868
  ];
865
869
  export var UntagResourceInput$ = [3, n0, _URI,
866
870
  0,
@@ -53,6 +53,8 @@ declare const GetLinkedWhatsAppBusinessAccountCommand_base: {
53
53
  * // },
54
54
  * // ],
55
55
  * // marketingMessagesOnboardingStatus: "STRING_VALUE",
56
+ * // directSendEnforcementStatus: "STRING_VALUE",
57
+ * // directSendEnforcementStatusExpiresAt: new Date("TIMESTAMP"),
56
58
  * // datasetId: "STRING_VALUE",
57
59
  * // phoneNumbers: [ // WhatsAppPhoneNumberSummaryList // required
58
60
  * // { // WhatsAppPhoneNumberSummary
@@ -55,6 +55,8 @@ declare const ListLinkedWhatsAppBusinessAccountsCommand_base: {
55
55
  * // },
56
56
  * // ],
57
57
  * // marketingMessagesOnboardingStatus: "STRING_VALUE",
58
+ * // directSendEnforcementStatus: "STRING_VALUE",
59
+ * // directSendEnforcementStatusExpiresAt: new Date("TIMESTAMP"),
58
60
  * // datasetId: "STRING_VALUE",
59
61
  * // },
60
62
  * // ],
@@ -49,6 +49,8 @@ declare const ListWhatsAppMessageTemplatesCommand_base: {
49
49
  * // templateQualityScore: "STRING_VALUE",
50
50
  * // templateLanguage: "STRING_VALUE",
51
51
  * // templateCategory: "STRING_VALUE",
52
+ * // templateSource: "STRING_VALUE",
53
+ * // correctCategory: "STRING_VALUE",
52
54
  * // },
53
55
  * // ],
54
56
  * // nextToken: "STRING_VALUE",
@@ -846,6 +846,16 @@ export interface LinkedWhatsAppBusinessAccount {
846
846
  * @public
847
847
  */
848
848
  marketingMessagesOnboardingStatus?: string | undefined;
849
+ /**
850
+ * <p>The Direct Send enforcement status for the WhatsApp Business Account. Enforcement applies when an account repeatedly sends messages in a category that does not match the content. This field is not present when no enforcement is active.</p>
851
+ * @public
852
+ */
853
+ directSendEnforcementStatus?: string | undefined;
854
+ /**
855
+ * <p>The time when the current Direct Send enforcement is expected to lift. This field is not present for permanent enforcement or when no enforcement is active.</p>
856
+ * @public
857
+ */
858
+ directSendEnforcementStatusExpiresAt?: Date | undefined;
849
859
  /**
850
860
  * <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>
851
861
  * @public
@@ -1558,6 +1568,16 @@ export interface LinkedWhatsAppBusinessAccountSummary {
1558
1568
  * @public
1559
1569
  */
1560
1570
  marketingMessagesOnboardingStatus?: string | undefined;
1571
+ /**
1572
+ * <p>The Direct Send enforcement status for the WhatsApp Business Account. Enforcement applies when an account repeatedly sends messages in a category that does not match the content. This field is not present when no enforcement is active.</p>
1573
+ * @public
1574
+ */
1575
+ directSendEnforcementStatus?: string | undefined;
1576
+ /**
1577
+ * <p>The time when the current Direct Send enforcement is expected to lift. This field is not present for permanent enforcement or when no enforcement is active.</p>
1578
+ * @public
1579
+ */
1580
+ directSendEnforcementStatusExpiresAt?: Date | undefined;
1561
1581
  /**
1562
1582
  * <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>
1563
1583
  * @public
@@ -1761,6 +1781,16 @@ export interface TemplateSummary {
1761
1781
  * @public
1762
1782
  */
1763
1783
  templateCategory?: string | undefined;
1784
+ /**
1785
+ * <p>The source of the template. A value of AUTO_GENERATED indicates that the template was created automatically from a message that you sent. This field is not present for templates that you created manually.</p>
1786
+ * @public
1787
+ */
1788
+ templateSource?: string | undefined;
1789
+ /**
1790
+ * <p>The category that the template content actually belongs to, when it differs from the template's current category. This field is present only when the template has been flagged as miscategorized.</p>
1791
+ * @public
1792
+ */
1793
+ correctCategory?: string | undefined;
1764
1794
  }
1765
1795
  /**
1766
1796
  * @public
@@ -180,6 +180,8 @@ export interface LinkedWhatsAppBusinessAccount {
180
180
  wabaName: string | undefined;
181
181
  eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
182
182
  marketingMessagesOnboardingStatus?: string | undefined;
183
+ directSendEnforcementStatus?: string | undefined;
184
+ directSendEnforcementStatusExpiresAt?: Date | undefined;
183
185
  datasetId?: string | undefined;
184
186
  phoneNumbers: WhatsAppPhoneNumberSummary[] | undefined;
185
187
  }
@@ -349,6 +351,8 @@ export interface LinkedWhatsAppBusinessAccountSummary {
349
351
  wabaName: string | undefined;
350
352
  eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
351
353
  marketingMessagesOnboardingStatus?: string | undefined;
354
+ directSendEnforcementStatus?: string | undefined;
355
+ directSendEnforcementStatusExpiresAt?: Date | undefined;
352
356
  datasetId?: string | undefined;
353
357
  }
354
358
  export interface ListLinkedWhatsAppBusinessAccountsOutput {
@@ -398,6 +402,8 @@ export interface TemplateSummary {
398
402
  templateQualityScore?: string | undefined;
399
403
  templateLanguage?: string | undefined;
400
404
  templateCategory?: string | undefined;
405
+ templateSource?: string | undefined;
406
+ correctCategory?: string | undefined;
401
407
  }
402
408
  export interface ListWhatsAppMessageTemplatesOutput {
403
409
  templates?: TemplateSummary[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-socialmessaging",
3
- "version": "3.1152.0",
3
+ "version": "3.1153.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",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.3",
50
- "@aws-sdk/credential-provider-node": "^3.972.86",
49
+ "@aws-sdk/core": "^3.978.4",
50
+ "@aws-sdk/credential-provider-node": "^3.972.87",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.2",
52
+ "@smithy/core": "^3.36.0",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",