@aws-sdk/client-payment-cryptography-data 3.716.0 → 3.723.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
@@ -243,7 +243,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
243
243
  }, "resolveRuntimeExtensions");
244
244
 
245
245
  // src/PaymentCryptographyDataClient.ts
246
- var _PaymentCryptographyDataClient = class _PaymentCryptographyDataClient extends import_smithy_client.Client {
246
+ var PaymentCryptographyDataClient = class extends import_smithy_client.Client {
247
+ static {
248
+ __name(this, "PaymentCryptographyDataClient");
249
+ }
250
+ /**
251
+ * The resolved configuration of PaymentCryptographyDataClient class. This is resolved and normalized from the {@link PaymentCryptographyDataClientConfig | constructor configuration interface}.
252
+ */
253
+ config;
247
254
  constructor(...[configuration]) {
248
255
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
249
256
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -253,7 +260,7 @@ var _PaymentCryptographyDataClient = class _PaymentCryptographyDataClient extend
253
260
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
254
261
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
255
262
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
256
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
263
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
257
264
  super(_config_8);
258
265
  this.config = _config_8;
259
266
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -281,8 +288,6 @@ var _PaymentCryptographyDataClient = class _PaymentCryptographyDataClient extend
281
288
  super.destroy();
282
289
  }
283
290
  };
284
- __name(_PaymentCryptographyDataClient, "PaymentCryptographyDataClient");
285
- var PaymentCryptographyDataClient = _PaymentCryptographyDataClient;
286
291
 
287
292
  // src/PaymentCryptographyData.ts
288
293
 
@@ -297,7 +302,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
297
302
 
298
303
  // src/models/PaymentCryptographyDataServiceException.ts
299
304
 
300
- var _PaymentCryptographyDataServiceException = class _PaymentCryptographyDataServiceException extends import_smithy_client.ServiceException {
305
+ var PaymentCryptographyDataServiceException = class _PaymentCryptographyDataServiceException extends import_smithy_client.ServiceException {
306
+ static {
307
+ __name(this, "PaymentCryptographyDataServiceException");
308
+ }
301
309
  /**
302
310
  * @internal
303
311
  */
@@ -306,11 +314,15 @@ var _PaymentCryptographyDataServiceException = class _PaymentCryptographyDataSer
306
314
  Object.setPrototypeOf(this, _PaymentCryptographyDataServiceException.prototype);
307
315
  }
308
316
  };
309
- __name(_PaymentCryptographyDataServiceException, "PaymentCryptographyDataServiceException");
310
- var PaymentCryptographyDataServiceException = _PaymentCryptographyDataServiceException;
311
317
 
312
318
  // src/models/models_0.ts
313
- var _AccessDeniedException = class _AccessDeniedException extends PaymentCryptographyDataServiceException {
319
+ var AccessDeniedException = class _AccessDeniedException extends PaymentCryptographyDataServiceException {
320
+ static {
321
+ __name(this, "AccessDeniedException");
322
+ }
323
+ name = "AccessDeniedException";
324
+ $fault = "client";
325
+ Message;
314
326
  /**
315
327
  * @internal
316
328
  */
@@ -320,14 +332,10 @@ var _AccessDeniedException = class _AccessDeniedException extends PaymentCryptog
320
332
  $fault: "client",
321
333
  ...opts
322
334
  });
323
- this.name = "AccessDeniedException";
324
- this.$fault = "client";
325
335
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
326
336
  this.Message = opts.Message;
327
337
  }
328
338
  };
329
- __name(_AccessDeniedException, "AccessDeniedException");
330
- var AccessDeniedException = _AccessDeniedException;
331
339
  var MajorKeyDerivationMode = {
332
340
  EMV_OPTION_A: "EMV_OPTION_A",
333
341
  EMV_OPTION_B: "EMV_OPTION_B"
@@ -468,7 +476,13 @@ var WrappedKeyMaterial;
468
476
  return visitor._(value.$unknown[0], value.$unknown[1]);
469
477
  }, "visit");
470
478
  })(WrappedKeyMaterial || (WrappedKeyMaterial = {}));
471
- var _InternalServerException = class _InternalServerException extends PaymentCryptographyDataServiceException {
479
+ var InternalServerException = class _InternalServerException extends PaymentCryptographyDataServiceException {
480
+ static {
481
+ __name(this, "InternalServerException");
482
+ }
483
+ name = "InternalServerException";
484
+ $fault = "server";
485
+ Message;
472
486
  /**
473
487
  * @internal
474
488
  */
@@ -478,15 +492,21 @@ var _InternalServerException = class _InternalServerException extends PaymentCry
478
492
  $fault: "server",
479
493
  ...opts
480
494
  });
481
- this.name = "InternalServerException";
482
- this.$fault = "server";
483
495
  Object.setPrototypeOf(this, _InternalServerException.prototype);
484
496
  this.Message = opts.Message;
485
497
  }
486
498
  };
487
- __name(_InternalServerException, "InternalServerException");
488
- var InternalServerException = _InternalServerException;
489
- var _ResourceNotFoundException = class _ResourceNotFoundException extends PaymentCryptographyDataServiceException {
499
+ var ResourceNotFoundException = class _ResourceNotFoundException extends PaymentCryptographyDataServiceException {
500
+ static {
501
+ __name(this, "ResourceNotFoundException");
502
+ }
503
+ name = "ResourceNotFoundException";
504
+ $fault = "client";
505
+ /**
506
+ * <p>The resource that is missing.</p>
507
+ * @public
508
+ */
509
+ ResourceId;
490
510
  /**
491
511
  * @internal
492
512
  */
@@ -496,15 +516,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Paymen
496
516
  $fault: "client",
497
517
  ...opts
498
518
  });
499
- this.name = "ResourceNotFoundException";
500
- this.$fault = "client";
501
519
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
502
520
  this.ResourceId = opts.ResourceId;
503
521
  }
504
522
  };
505
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
506
- var ResourceNotFoundException = _ResourceNotFoundException;
507
- var _ThrottlingException = class _ThrottlingException extends PaymentCryptographyDataServiceException {
523
+ var ThrottlingException = class _ThrottlingException extends PaymentCryptographyDataServiceException {
524
+ static {
525
+ __name(this, "ThrottlingException");
526
+ }
527
+ name = "ThrottlingException";
528
+ $fault = "client";
529
+ Message;
508
530
  /**
509
531
  * @internal
510
532
  */
@@ -514,15 +536,21 @@ var _ThrottlingException = class _ThrottlingException extends PaymentCryptograph
514
536
  $fault: "client",
515
537
  ...opts
516
538
  });
517
- this.name = "ThrottlingException";
518
- this.$fault = "client";
519
539
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
520
540
  this.Message = opts.Message;
521
541
  }
522
542
  };
523
- __name(_ThrottlingException, "ThrottlingException");
524
- var ThrottlingException = _ThrottlingException;
525
- var _ValidationException = class _ValidationException extends PaymentCryptographyDataServiceException {
543
+ var ValidationException = class _ValidationException extends PaymentCryptographyDataServiceException {
544
+ static {
545
+ __name(this, "ValidationException");
546
+ }
547
+ name = "ValidationException";
548
+ $fault = "client";
549
+ /**
550
+ * <p>The request was denied due to an invalid request error.</p>
551
+ * @public
552
+ */
553
+ fieldList;
526
554
  /**
527
555
  * @internal
528
556
  */
@@ -532,14 +560,10 @@ var _ValidationException = class _ValidationException extends PaymentCryptograph
532
560
  $fault: "client",
533
561
  ...opts
534
562
  });
535
- this.name = "ValidationException";
536
- this.$fault = "client";
537
563
  Object.setPrototypeOf(this, _ValidationException.prototype);
538
564
  this.fieldList = opts.fieldList;
539
565
  }
540
566
  };
541
- __name(_ValidationException, "ValidationException");
542
- var ValidationException = _ValidationException;
543
567
  var PinBlockLengthPosition = {
544
568
  FRONT_OF_PIN_BLOCK: "FRONT_OF_PIN_BLOCK",
545
569
  NONE: "NONE"
@@ -674,7 +698,18 @@ var VerificationFailedReason = {
674
698
  INVALID_PIN: "INVALID_PIN",
675
699
  INVALID_VALIDATION_DATA: "INVALID_VALIDATION_DATA"
676
700
  };
677
- var _VerificationFailedException = class _VerificationFailedException extends PaymentCryptographyDataServiceException {
701
+ var VerificationFailedException = class _VerificationFailedException extends PaymentCryptographyDataServiceException {
702
+ static {
703
+ __name(this, "VerificationFailedException");
704
+ }
705
+ name = "VerificationFailedException";
706
+ $fault = "client";
707
+ /**
708
+ * <p>The reason for the exception.</p>
709
+ * @public
710
+ */
711
+ Reason;
712
+ Message;
678
713
  /**
679
714
  * @internal
680
715
  */
@@ -684,15 +719,11 @@ var _VerificationFailedException = class _VerificationFailedException extends Pa
684
719
  $fault: "client",
685
720
  ...opts
686
721
  });
687
- this.name = "VerificationFailedException";
688
- this.$fault = "client";
689
722
  Object.setPrototypeOf(this, _VerificationFailedException.prototype);
690
723
  this.Reason = opts.Reason;
691
724
  this.Message = opts.Message;
692
725
  }
693
726
  };
694
- __name(_VerificationFailedException, "VerificationFailedException");
695
- var VerificationFailedException = _VerificationFailedException;
696
727
  var SessionKeyDerivation;
697
728
  ((SessionKeyDerivation3) => {
698
729
  SessionKeyDerivation3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -1771,169 +1802,181 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1771
1802
  }), "deserializeMetadata");
1772
1803
 
1773
1804
  // src/commands/DecryptDataCommand.ts
1774
- var _DecryptDataCommand = class _DecryptDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1805
+ var DecryptDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1775
1806
  return [
1776
1807
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1777
1808
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1778
1809
  ];
1779
1810
  }).s("PaymentCryptographyDataPlane", "DecryptData", {}).n("PaymentCryptographyDataClient", "DecryptDataCommand").f(DecryptDataInputFilterSensitiveLog, DecryptDataOutputFilterSensitiveLog).ser(se_DecryptDataCommand).de(de_DecryptDataCommand).build() {
1811
+ static {
1812
+ __name(this, "DecryptDataCommand");
1813
+ }
1780
1814
  };
1781
- __name(_DecryptDataCommand, "DecryptDataCommand");
1782
- var DecryptDataCommand = _DecryptDataCommand;
1783
1815
 
1784
1816
  // src/commands/EncryptDataCommand.ts
1785
1817
 
1786
1818
 
1787
1819
 
1788
- var _EncryptDataCommand = class _EncryptDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1820
+ var EncryptDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1789
1821
  return [
1790
1822
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1791
1823
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1792
1824
  ];
1793
1825
  }).s("PaymentCryptographyDataPlane", "EncryptData", {}).n("PaymentCryptographyDataClient", "EncryptDataCommand").f(EncryptDataInputFilterSensitiveLog, EncryptDataOutputFilterSensitiveLog).ser(se_EncryptDataCommand).de(de_EncryptDataCommand).build() {
1826
+ static {
1827
+ __name(this, "EncryptDataCommand");
1828
+ }
1794
1829
  };
1795
- __name(_EncryptDataCommand, "EncryptDataCommand");
1796
- var EncryptDataCommand = _EncryptDataCommand;
1797
1830
 
1798
1831
  // src/commands/GenerateCardValidationDataCommand.ts
1799
1832
 
1800
1833
 
1801
1834
 
1802
- var _GenerateCardValidationDataCommand = class _GenerateCardValidationDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1835
+ var GenerateCardValidationDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1803
1836
  return [
1804
1837
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1805
1838
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1806
1839
  ];
1807
1840
  }).s("PaymentCryptographyDataPlane", "GenerateCardValidationData", {}).n("PaymentCryptographyDataClient", "GenerateCardValidationDataCommand").f(GenerateCardValidationDataInputFilterSensitiveLog, GenerateCardValidationDataOutputFilterSensitiveLog).ser(se_GenerateCardValidationDataCommand).de(de_GenerateCardValidationDataCommand).build() {
1841
+ static {
1842
+ __name(this, "GenerateCardValidationDataCommand");
1843
+ }
1808
1844
  };
1809
- __name(_GenerateCardValidationDataCommand, "GenerateCardValidationDataCommand");
1810
- var GenerateCardValidationDataCommand = _GenerateCardValidationDataCommand;
1811
1845
 
1812
1846
  // src/commands/GenerateMacCommand.ts
1813
1847
 
1814
1848
 
1815
1849
 
1816
- var _GenerateMacCommand = class _GenerateMacCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1850
+ var GenerateMacCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1817
1851
  return [
1818
1852
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1819
1853
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1820
1854
  ];
1821
1855
  }).s("PaymentCryptographyDataPlane", "GenerateMac", {}).n("PaymentCryptographyDataClient", "GenerateMacCommand").f(GenerateMacInputFilterSensitiveLog, GenerateMacOutputFilterSensitiveLog).ser(se_GenerateMacCommand).de(de_GenerateMacCommand).build() {
1856
+ static {
1857
+ __name(this, "GenerateMacCommand");
1858
+ }
1822
1859
  };
1823
- __name(_GenerateMacCommand, "GenerateMacCommand");
1824
- var GenerateMacCommand = _GenerateMacCommand;
1825
1860
 
1826
1861
  // src/commands/GenerateMacEmvPinChangeCommand.ts
1827
1862
 
1828
1863
 
1829
1864
 
1830
- var _GenerateMacEmvPinChangeCommand = class _GenerateMacEmvPinChangeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1865
+ var GenerateMacEmvPinChangeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1831
1866
  return [
1832
1867
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1833
1868
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1834
1869
  ];
1835
1870
  }).s("PaymentCryptographyDataPlane", "GenerateMacEmvPinChange", {}).n("PaymentCryptographyDataClient", "GenerateMacEmvPinChangeCommand").f(GenerateMacEmvPinChangeInputFilterSensitiveLog, GenerateMacEmvPinChangeOutputFilterSensitiveLog).ser(se_GenerateMacEmvPinChangeCommand).de(de_GenerateMacEmvPinChangeCommand).build() {
1871
+ static {
1872
+ __name(this, "GenerateMacEmvPinChangeCommand");
1873
+ }
1836
1874
  };
1837
- __name(_GenerateMacEmvPinChangeCommand, "GenerateMacEmvPinChangeCommand");
1838
- var GenerateMacEmvPinChangeCommand = _GenerateMacEmvPinChangeCommand;
1839
1875
 
1840
1876
  // src/commands/GeneratePinDataCommand.ts
1841
1877
 
1842
1878
 
1843
1879
 
1844
- var _GeneratePinDataCommand = class _GeneratePinDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1880
+ var GeneratePinDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1845
1881
  return [
1846
1882
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1847
1883
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1848
1884
  ];
1849
1885
  }).s("PaymentCryptographyDataPlane", "GeneratePinData", {}).n("PaymentCryptographyDataClient", "GeneratePinDataCommand").f(GeneratePinDataInputFilterSensitiveLog, GeneratePinDataOutputFilterSensitiveLog).ser(se_GeneratePinDataCommand).de(de_GeneratePinDataCommand).build() {
1886
+ static {
1887
+ __name(this, "GeneratePinDataCommand");
1888
+ }
1850
1889
  };
1851
- __name(_GeneratePinDataCommand, "GeneratePinDataCommand");
1852
- var GeneratePinDataCommand = _GeneratePinDataCommand;
1853
1890
 
1854
1891
  // src/commands/ReEncryptDataCommand.ts
1855
1892
 
1856
1893
 
1857
1894
 
1858
- var _ReEncryptDataCommand = class _ReEncryptDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1895
+ var ReEncryptDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1859
1896
  return [
1860
1897
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1861
1898
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1862
1899
  ];
1863
1900
  }).s("PaymentCryptographyDataPlane", "ReEncryptData", {}).n("PaymentCryptographyDataClient", "ReEncryptDataCommand").f(ReEncryptDataInputFilterSensitiveLog, ReEncryptDataOutputFilterSensitiveLog).ser(se_ReEncryptDataCommand).de(de_ReEncryptDataCommand).build() {
1901
+ static {
1902
+ __name(this, "ReEncryptDataCommand");
1903
+ }
1864
1904
  };
1865
- __name(_ReEncryptDataCommand, "ReEncryptDataCommand");
1866
- var ReEncryptDataCommand = _ReEncryptDataCommand;
1867
1905
 
1868
1906
  // src/commands/TranslatePinDataCommand.ts
1869
1907
 
1870
1908
 
1871
1909
 
1872
- var _TranslatePinDataCommand = class _TranslatePinDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1910
+ var TranslatePinDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1873
1911
  return [
1874
1912
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1875
1913
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1876
1914
  ];
1877
1915
  }).s("PaymentCryptographyDataPlane", "TranslatePinData", {}).n("PaymentCryptographyDataClient", "TranslatePinDataCommand").f(TranslatePinDataInputFilterSensitiveLog, TranslatePinDataOutputFilterSensitiveLog).ser(se_TranslatePinDataCommand).de(de_TranslatePinDataCommand).build() {
1916
+ static {
1917
+ __name(this, "TranslatePinDataCommand");
1918
+ }
1878
1919
  };
1879
- __name(_TranslatePinDataCommand, "TranslatePinDataCommand");
1880
- var TranslatePinDataCommand = _TranslatePinDataCommand;
1881
1920
 
1882
1921
  // src/commands/VerifyAuthRequestCryptogramCommand.ts
1883
1922
 
1884
1923
 
1885
1924
 
1886
- var _VerifyAuthRequestCryptogramCommand = class _VerifyAuthRequestCryptogramCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1925
+ var VerifyAuthRequestCryptogramCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1887
1926
  return [
1888
1927
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1889
1928
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1890
1929
  ];
1891
1930
  }).s("PaymentCryptographyDataPlane", "VerifyAuthRequestCryptogram", {}).n("PaymentCryptographyDataClient", "VerifyAuthRequestCryptogramCommand").f(VerifyAuthRequestCryptogramInputFilterSensitiveLog, VerifyAuthRequestCryptogramOutputFilterSensitiveLog).ser(se_VerifyAuthRequestCryptogramCommand).de(de_VerifyAuthRequestCryptogramCommand).build() {
1931
+ static {
1932
+ __name(this, "VerifyAuthRequestCryptogramCommand");
1933
+ }
1892
1934
  };
1893
- __name(_VerifyAuthRequestCryptogramCommand, "VerifyAuthRequestCryptogramCommand");
1894
- var VerifyAuthRequestCryptogramCommand = _VerifyAuthRequestCryptogramCommand;
1895
1935
 
1896
1936
  // src/commands/VerifyCardValidationDataCommand.ts
1897
1937
 
1898
1938
 
1899
1939
 
1900
- var _VerifyCardValidationDataCommand = class _VerifyCardValidationDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1940
+ var VerifyCardValidationDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1901
1941
  return [
1902
1942
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1903
1943
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1904
1944
  ];
1905
1945
  }).s("PaymentCryptographyDataPlane", "VerifyCardValidationData", {}).n("PaymentCryptographyDataClient", "VerifyCardValidationDataCommand").f(VerifyCardValidationDataInputFilterSensitiveLog, void 0).ser(se_VerifyCardValidationDataCommand).de(de_VerifyCardValidationDataCommand).build() {
1946
+ static {
1947
+ __name(this, "VerifyCardValidationDataCommand");
1948
+ }
1906
1949
  };
1907
- __name(_VerifyCardValidationDataCommand, "VerifyCardValidationDataCommand");
1908
- var VerifyCardValidationDataCommand = _VerifyCardValidationDataCommand;
1909
1950
 
1910
1951
  // src/commands/VerifyMacCommand.ts
1911
1952
 
1912
1953
 
1913
1954
 
1914
- var _VerifyMacCommand = class _VerifyMacCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1955
+ var VerifyMacCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1915
1956
  return [
1916
1957
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1917
1958
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1918
1959
  ];
1919
1960
  }).s("PaymentCryptographyDataPlane", "VerifyMac", {}).n("PaymentCryptographyDataClient", "VerifyMacCommand").f(VerifyMacInputFilterSensitiveLog, void 0).ser(se_VerifyMacCommand).de(de_VerifyMacCommand).build() {
1961
+ static {
1962
+ __name(this, "VerifyMacCommand");
1963
+ }
1920
1964
  };
1921
- __name(_VerifyMacCommand, "VerifyMacCommand");
1922
- var VerifyMacCommand = _VerifyMacCommand;
1923
1965
 
1924
1966
  // src/commands/VerifyPinDataCommand.ts
1925
1967
 
1926
1968
 
1927
1969
 
1928
- var _VerifyPinDataCommand = class _VerifyPinDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1970
+ var VerifyPinDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1929
1971
  return [
1930
1972
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1931
1973
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1932
1974
  ];
1933
1975
  }).s("PaymentCryptographyDataPlane", "VerifyPinData", {}).n("PaymentCryptographyDataClient", "VerifyPinDataCommand").f(VerifyPinDataInputFilterSensitiveLog, void 0).ser(se_VerifyPinDataCommand).de(de_VerifyPinDataCommand).build() {
1976
+ static {
1977
+ __name(this, "VerifyPinDataCommand");
1978
+ }
1934
1979
  };
1935
- __name(_VerifyPinDataCommand, "VerifyPinDataCommand");
1936
- var VerifyPinDataCommand = _VerifyPinDataCommand;
1937
1980
 
1938
1981
  // src/PaymentCryptographyData.ts
1939
1982
  var commands = {
@@ -1950,10 +1993,11 @@ var commands = {
1950
1993
  VerifyMacCommand,
1951
1994
  VerifyPinDataCommand
1952
1995
  };
1953
- var _PaymentCryptographyData = class _PaymentCryptographyData extends PaymentCryptographyDataClient {
1996
+ var PaymentCryptographyData = class extends PaymentCryptographyDataClient {
1997
+ static {
1998
+ __name(this, "PaymentCryptographyData");
1999
+ }
1954
2000
  };
1955
- __name(_PaymentCryptographyData, "PaymentCryptographyData");
1956
- var PaymentCryptographyData = _PaymentCryptographyData;
1957
2001
  (0, import_smithy_client.createAggregatedClient)(commands, PaymentCryptographyData);
1958
2002
  // Annotate the CommonJS export names for ESM import in node:
1959
2003
 
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class PaymentCryptographyDataClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,14 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { PaymentCryptographyDataServiceException as __BaseException } from "./PaymentCryptographyDataServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AccessDeniedException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
@@ -154,53 +155,57 @@ export var WrappedKeyMaterial;
154
155
  };
155
156
  })(WrappedKeyMaterial || (WrappedKeyMaterial = {}));
156
157
  export class InternalServerException extends __BaseException {
158
+ name = "InternalServerException";
159
+ $fault = "server";
160
+ Message;
157
161
  constructor(opts) {
158
162
  super({
159
163
  name: "InternalServerException",
160
164
  $fault: "server",
161
165
  ...opts,
162
166
  });
163
- this.name = "InternalServerException";
164
- this.$fault = "server";
165
167
  Object.setPrototypeOf(this, InternalServerException.prototype);
166
168
  this.Message = opts.Message;
167
169
  }
168
170
  }
169
171
  export class ResourceNotFoundException extends __BaseException {
172
+ name = "ResourceNotFoundException";
173
+ $fault = "client";
174
+ ResourceId;
170
175
  constructor(opts) {
171
176
  super({
172
177
  name: "ResourceNotFoundException",
173
178
  $fault: "client",
174
179
  ...opts,
175
180
  });
176
- this.name = "ResourceNotFoundException";
177
- this.$fault = "client";
178
181
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
179
182
  this.ResourceId = opts.ResourceId;
180
183
  }
181
184
  }
182
185
  export class ThrottlingException extends __BaseException {
186
+ name = "ThrottlingException";
187
+ $fault = "client";
188
+ Message;
183
189
  constructor(opts) {
184
190
  super({
185
191
  name: "ThrottlingException",
186
192
  $fault: "client",
187
193
  ...opts,
188
194
  });
189
- this.name = "ThrottlingException";
190
- this.$fault = "client";
191
195
  Object.setPrototypeOf(this, ThrottlingException.prototype);
192
196
  this.Message = opts.Message;
193
197
  }
194
198
  }
195
199
  export class ValidationException extends __BaseException {
200
+ name = "ValidationException";
201
+ $fault = "client";
202
+ fieldList;
196
203
  constructor(opts) {
197
204
  super({
198
205
  name: "ValidationException",
199
206
  $fault: "client",
200
207
  ...opts,
201
208
  });
202
- this.name = "ValidationException";
203
- this.$fault = "client";
204
209
  Object.setPrototypeOf(this, ValidationException.prototype);
205
210
  this.fieldList = opts.fieldList;
206
211
  }
@@ -340,14 +345,16 @@ export const VerificationFailedReason = {
340
345
  INVALID_VALIDATION_DATA: "INVALID_VALIDATION_DATA",
341
346
  };
342
347
  export class VerificationFailedException extends __BaseException {
348
+ name = "VerificationFailedException";
349
+ $fault = "client";
350
+ Reason;
351
+ Message;
343
352
  constructor(opts) {
344
353
  super({
345
354
  name: "VerificationFailedException",
346
355
  $fault: "client",
347
356
  ...opts,
348
357
  });
349
- this.name = "VerificationFailedException";
350
- this.$fault = "client";
351
358
  Object.setPrototypeOf(this, VerificationFailedException.prototype);
352
359
  this.Reason = opts.Reason;
353
360
  this.Message = opts.Message;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyDataClientCon
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyDataClientCon
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyDataClientCon
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyDataClientCon
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-payment-cryptography-data",
3
3
  "description": "AWS SDK for JavaScript Payment Cryptography Data Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-payment-cryptography-data",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {