@aws-sdk/client-payment-cryptography-data 3.943.0 → 3.947.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.
Files changed (40) hide show
  1. package/dist-cjs/index.js +19 -97
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/PaymentCryptographyDataClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +19 -98
  8. package/dist-types/PaymentCryptographyData.d.ts +1 -1
  9. package/dist-types/PaymentCryptographyDataClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/DecryptDataCommand.d.ts +3 -3
  13. package/dist-types/commands/EncryptDataCommand.d.ts +3 -3
  14. package/dist-types/commands/GenerateCardValidationDataCommand.d.ts +3 -3
  15. package/dist-types/commands/GenerateMacCommand.d.ts +3 -3
  16. package/dist-types/commands/GenerateMacEmvPinChangeCommand.d.ts +3 -3
  17. package/dist-types/commands/GeneratePinDataCommand.d.ts +3 -3
  18. package/dist-types/commands/ReEncryptDataCommand.d.ts +3 -3
  19. package/dist-types/commands/TranslateKeyMaterialCommand.d.ts +3 -3
  20. package/dist-types/commands/TranslatePinDataCommand.d.ts +3 -3
  21. package/dist-types/commands/VerifyAuthRequestCryptogramCommand.d.ts +3 -3
  22. package/dist-types/commands/VerifyCardValidationDataCommand.d.ts +3 -3
  23. package/dist-types/commands/VerifyMacCommand.d.ts +3 -3
  24. package/dist-types/commands/VerifyPinDataCommand.d.ts +3 -3
  25. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  26. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  27. package/dist-types/extensionConfiguration.d.ts +4 -4
  28. package/dist-types/models/PaymentCryptographyDataServiceException.d.ts +1 -1
  29. package/dist-types/models/errors.d.ts +1 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  31. package/dist-types/runtimeConfig.d.ts +1 -1
  32. package/dist-types/runtimeConfig.native.d.ts +1 -1
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  34. package/dist-types/runtimeExtensions.d.ts +1 -1
  35. package/dist-types/schemas/schemas_0.d.ts +1 -2
  36. package/dist-types/ts3.4/PaymentCryptographyDataClient.d.ts +3 -3
  37. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  38. package/dist-types/ts3.4/models/PaymentCryptographyDataServiceException.d.ts +1 -1
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
  40. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -510,17 +510,7 @@ var TrackDataType = [0, n0, _TDT, 8, 0];
510
510
  var TransactionDataType = [0, n0, _TDTr, 8, 0];
511
511
  var ValidationDataType = [0, n0, _VDT, 8, 0];
512
512
  var VerificationValueType = [0, n0, _VVT, 8, 0];
513
- var AccessDeniedException = [
514
- -3,
515
- n0,
516
- _ADE,
517
- {
518
- [_e]: _c,
519
- [_hE]: 403,
520
- },
521
- [_M],
522
- [0],
523
- ];
513
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
524
514
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
525
515
  var AmexAttributes = [
526
516
  3,
@@ -825,17 +815,7 @@ var IncomingDiffieHellmanTr31KeyBlock = [
825
815
  [_PKI, _CAPKI, _PKC, _DKA, _KDF, _KDHA, _DD, _WKB],
826
816
  [0, 0, 0, 0, 0, 0, () => DiffieHellmanDerivationData, [() => Tr31WrappedKeyBlock, 0]],
827
817
  ];
828
- var InternalServerException = [
829
- -3,
830
- n0,
831
- _ISE,
832
- {
833
- [_e]: _s,
834
- [_hE]: 500,
835
- },
836
- [_M],
837
- [0],
838
- ];
818
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
839
819
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
840
820
  var MacAlgorithmDukpt = [3, n0, _MAD, 0, [_KSN, _DKV, _DDT], [0, 0, 0]];
841
821
  var MacAlgorithmEmv = [
@@ -879,17 +859,7 @@ var ReEncryptDataOutput = [
879
859
  [_KA, _KCV, _CT],
880
860
  [0, 0, [() => CipherTextType, 0]],
881
861
  ];
882
- var ResourceNotFoundException = [
883
- -3,
884
- n0,
885
- _RNFE,
886
- {
887
- [_e]: _c,
888
- [_hE]: 404,
889
- },
890
- [_RI],
891
- [0],
892
- ];
862
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_RI], [0]];
893
863
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
894
864
  var SessionKeyAmex = [
895
865
  3,
@@ -939,17 +909,7 @@ var SymmetricEncryptionAttributes = [
939
909
  [_Mo, _IV, _PT],
940
910
  [0, [() => InitializationVectorType, 0], 0],
941
911
  ];
942
- var ThrottlingException = [
943
- -3,
944
- n0,
945
- _TE,
946
- {
947
- [_e]: _c,
948
- [_hE]: 429,
949
- },
950
- [_M],
951
- [0],
952
- ];
912
+ var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
953
913
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
954
914
  var TranslateKeyMaterialInput = [
955
915
  3,
@@ -999,25 +959,13 @@ var ValidationException = [
999
959
  -3,
1000
960
  n0,
1001
961
  _VE,
1002
- {
1003
- [_e]: _c,
1004
- },
962
+ { [_e]: _c },
1005
963
  [_m, _fL],
1006
964
  [0, () => ValidationExceptionFieldList],
1007
965
  ];
1008
966
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1009
967
  var ValidationExceptionField = [3, n0, _VEF, 0, [_p, _m], [0, 0]];
1010
- var VerificationFailedException = [
1011
- -3,
1012
- n0,
1013
- _VFE,
1014
- {
1015
- [_e]: _c,
1016
- [_hE]: 400,
1017
- },
1018
- [_R, _M],
1019
- [0, 0],
1020
- ];
968
+ var VerificationFailedException = [-3, n0, _VFE, { [_e]: _c, [_hE]: 400 }, [_R, _M], [0, 0]];
1021
969
  schema.TypeRegistry.for(n0).registerError(VerificationFailedException, VerificationFailedException$1);
1022
970
  var VerifyAuthRequestCryptogramInput = [
1023
971
  3,
@@ -1312,9 +1260,7 @@ var DecryptData = [
1312
1260
  9,
1313
1261
  n0,
1314
1262
  _DDe,
1315
- {
1316
- [_h]: ["POST", "/keys/{KeyIdentifier}/decrypt", 200],
1317
- },
1263
+ { [_h]: ["POST", "/keys/{KeyIdentifier}/decrypt", 200] },
1318
1264
  () => DecryptDataInput,
1319
1265
  () => DecryptDataOutput,
1320
1266
  ];
@@ -1322,9 +1268,7 @@ var EncryptData = [
1322
1268
  9,
1323
1269
  n0,
1324
1270
  _ED,
1325
- {
1326
- [_h]: ["POST", "/keys/{KeyIdentifier}/encrypt", 200],
1327
- },
1271
+ { [_h]: ["POST", "/keys/{KeyIdentifier}/encrypt", 200] },
1328
1272
  () => EncryptDataInput,
1329
1273
  () => EncryptDataOutput,
1330
1274
  ];
@@ -1332,9 +1276,7 @@ var GenerateCardValidationData = [
1332
1276
  9,
1333
1277
  n0,
1334
1278
  _GCVD,
1335
- {
1336
- [_h]: ["POST", "/cardvalidationdata/generate", 200],
1337
- },
1279
+ { [_h]: ["POST", "/cardvalidationdata/generate", 200] },
1338
1280
  () => GenerateCardValidationDataInput,
1339
1281
  () => GenerateCardValidationDataOutput,
1340
1282
  ];
@@ -1342,9 +1284,7 @@ var GenerateMac = [
1342
1284
  9,
1343
1285
  n0,
1344
1286
  _GM,
1345
- {
1346
- [_h]: ["POST", "/mac/generate", 200],
1347
- },
1287
+ { [_h]: ["POST", "/mac/generate", 200] },
1348
1288
  () => GenerateMacInput,
1349
1289
  () => GenerateMacOutput,
1350
1290
  ];
@@ -1352,9 +1292,7 @@ var GenerateMacEmvPinChange = [
1352
1292
  9,
1353
1293
  n0,
1354
1294
  _GMEPC,
1355
- {
1356
- [_h]: ["POST", "/macemvpinchange/generate", 200],
1357
- },
1295
+ { [_h]: ["POST", "/macemvpinchange/generate", 200] },
1358
1296
  () => GenerateMacEmvPinChangeInput,
1359
1297
  () => GenerateMacEmvPinChangeOutput,
1360
1298
  ];
@@ -1362,9 +1300,7 @@ var GeneratePinData = [
1362
1300
  9,
1363
1301
  n0,
1364
1302
  _GPD,
1365
- {
1366
- [_h]: ["POST", "/pindata/generate", 200],
1367
- },
1303
+ { [_h]: ["POST", "/pindata/generate", 200] },
1368
1304
  () => GeneratePinDataInput,
1369
1305
  () => GeneratePinDataOutput,
1370
1306
  ];
@@ -1372,9 +1308,7 @@ var ReEncryptData = [
1372
1308
  9,
1373
1309
  n0,
1374
1310
  _RED,
1375
- {
1376
- [_h]: ["POST", "/keys/{IncomingKeyIdentifier}/reencrypt", 200],
1377
- },
1311
+ { [_h]: ["POST", "/keys/{IncomingKeyIdentifier}/reencrypt", 200] },
1378
1312
  () => ReEncryptDataInput,
1379
1313
  () => ReEncryptDataOutput,
1380
1314
  ];
@@ -1382,9 +1316,7 @@ var TranslateKeyMaterial = [
1382
1316
  9,
1383
1317
  n0,
1384
1318
  _TKM,
1385
- {
1386
- [_h]: ["POST", "/keymaterial/translate", 200],
1387
- },
1319
+ { [_h]: ["POST", "/keymaterial/translate", 200] },
1388
1320
  () => TranslateKeyMaterialInput,
1389
1321
  () => TranslateKeyMaterialOutput,
1390
1322
  ];
@@ -1392,9 +1324,7 @@ var TranslatePinData = [
1392
1324
  9,
1393
1325
  n0,
1394
1326
  _TPD,
1395
- {
1396
- [_h]: ["POST", "/pindata/translate", 200],
1397
- },
1327
+ { [_h]: ["POST", "/pindata/translate", 200] },
1398
1328
  () => TranslatePinDataInput,
1399
1329
  () => TranslatePinDataOutput,
1400
1330
  ];
@@ -1402,9 +1332,7 @@ var VerifyAuthRequestCryptogram = [
1402
1332
  9,
1403
1333
  n0,
1404
1334
  _VARC,
1405
- {
1406
- [_h]: ["POST", "/cryptogram/verify", 200],
1407
- },
1335
+ { [_h]: ["POST", "/cryptogram/verify", 200] },
1408
1336
  () => VerifyAuthRequestCryptogramInput,
1409
1337
  () => VerifyAuthRequestCryptogramOutput,
1410
1338
  ];
@@ -1412,9 +1340,7 @@ var VerifyCardValidationData = [
1412
1340
  9,
1413
1341
  n0,
1414
1342
  _VCVD,
1415
- {
1416
- [_h]: ["POST", "/cardvalidationdata/verify", 200],
1417
- },
1343
+ { [_h]: ["POST", "/cardvalidationdata/verify", 200] },
1418
1344
  () => VerifyCardValidationDataInput,
1419
1345
  () => VerifyCardValidationDataOutput,
1420
1346
  ];
@@ -1422,9 +1348,7 @@ var VerifyMac = [
1422
1348
  9,
1423
1349
  n0,
1424
1350
  _VM,
1425
- {
1426
- [_h]: ["POST", "/mac/verify", 200],
1427
- },
1351
+ { [_h]: ["POST", "/mac/verify", 200] },
1428
1352
  () => VerifyMacInput,
1429
1353
  () => VerifyMacOutput,
1430
1354
  ];
@@ -1432,9 +1356,7 @@ var VerifyPinData = [
1432
1356
  9,
1433
1357
  n0,
1434
1358
  _VPD,
1435
- {
1436
- [_h]: ["POST", "/pindata/verify", 200],
1437
- },
1359
+ { [_h]: ["POST", "/pindata/verify", 200] },
1438
1360
  () => VerifyPinDataInput,
1439
1361
  () => VerifyPinDataOutput,
1440
1362
  ];
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultPaymentCryptographyDataHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -307,17 +307,7 @@ export var TrackDataType = [0, n0, _TDT, 8, 0];
307
307
  export var TransactionDataType = [0, n0, _TDTr, 8, 0];
308
308
  export var ValidationDataType = [0, n0, _VDT, 8, 0];
309
309
  export var VerificationValueType = [0, n0, _VVT, 8, 0];
310
- export var AccessDeniedException = [
311
- -3,
312
- n0,
313
- _ADE,
314
- {
315
- [_e]: _c,
316
- [_hE]: 403,
317
- },
318
- [_M],
319
- [0],
320
- ];
310
+ export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
321
311
  TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
322
312
  export var AmexAttributes = [
323
313
  3,
@@ -622,17 +612,7 @@ export var IncomingDiffieHellmanTr31KeyBlock = [
622
612
  [_PKI, _CAPKI, _PKC, _DKA, _KDF, _KDHA, _DD, _WKB],
623
613
  [0, 0, 0, 0, 0, 0, () => DiffieHellmanDerivationData, [() => Tr31WrappedKeyBlock, 0]],
624
614
  ];
625
- export var InternalServerException = [
626
- -3,
627
- n0,
628
- _ISE,
629
- {
630
- [_e]: _s,
631
- [_hE]: 500,
632
- },
633
- [_M],
634
- [0],
635
- ];
615
+ export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
636
616
  TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
637
617
  export var MacAlgorithmDukpt = [3, n0, _MAD, 0, [_KSN, _DKV, _DDT], [0, 0, 0]];
638
618
  export var MacAlgorithmEmv = [
@@ -676,17 +656,7 @@ export var ReEncryptDataOutput = [
676
656
  [_KA, _KCV, _CT],
677
657
  [0, 0, [() => CipherTextType, 0]],
678
658
  ];
679
- export var ResourceNotFoundException = [
680
- -3,
681
- n0,
682
- _RNFE,
683
- {
684
- [_e]: _c,
685
- [_hE]: 404,
686
- },
687
- [_RI],
688
- [0],
689
- ];
659
+ export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_RI], [0]];
690
660
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
691
661
  export var SessionKeyAmex = [
692
662
  3,
@@ -736,17 +706,7 @@ export var SymmetricEncryptionAttributes = [
736
706
  [_Mo, _IV, _PT],
737
707
  [0, [() => InitializationVectorType, 0], 0],
738
708
  ];
739
- export var ThrottlingException = [
740
- -3,
741
- n0,
742
- _TE,
743
- {
744
- [_e]: _c,
745
- [_hE]: 429,
746
- },
747
- [_M],
748
- [0],
749
- ];
709
+ export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
750
710
  TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
751
711
  export var TranslateKeyMaterialInput = [
752
712
  3,
@@ -796,25 +756,13 @@ export var ValidationException = [
796
756
  -3,
797
757
  n0,
798
758
  _VE,
799
- {
800
- [_e]: _c,
801
- },
759
+ { [_e]: _c },
802
760
  [_m, _fL],
803
761
  [0, () => ValidationExceptionFieldList],
804
762
  ];
805
763
  TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
806
764
  export var ValidationExceptionField = [3, n0, _VEF, 0, [_p, _m], [0, 0]];
807
- export var VerificationFailedException = [
808
- -3,
809
- n0,
810
- _VFE,
811
- {
812
- [_e]: _c,
813
- [_hE]: 400,
814
- },
815
- [_R, _M],
816
- [0, 0],
817
- ];
765
+ export var VerificationFailedException = [-3, n0, _VFE, { [_e]: _c, [_hE]: 400 }, [_R, _M], [0, 0]];
818
766
  TypeRegistry.for(n0).registerError(VerificationFailedException, __VerificationFailedException);
819
767
  export var VerifyAuthRequestCryptogramInput = [
820
768
  3,
@@ -918,7 +866,6 @@ export var WrappedWorkingKey = [
918
866
  [_WKM, _KCV, _WKMF],
919
867
  [[() => KeyMaterial, 0], 0, 0],
920
868
  ];
921
- export var __Unit = "unit";
922
869
  export var PaymentCryptographyDataServiceException = [
923
870
  -3,
924
871
  _sm,
@@ -1110,9 +1057,7 @@ export var DecryptData = [
1110
1057
  9,
1111
1058
  n0,
1112
1059
  _DDe,
1113
- {
1114
- [_h]: ["POST", "/keys/{KeyIdentifier}/decrypt", 200],
1115
- },
1060
+ { [_h]: ["POST", "/keys/{KeyIdentifier}/decrypt", 200] },
1116
1061
  () => DecryptDataInput,
1117
1062
  () => DecryptDataOutput,
1118
1063
  ];
@@ -1120,9 +1065,7 @@ export var EncryptData = [
1120
1065
  9,
1121
1066
  n0,
1122
1067
  _ED,
1123
- {
1124
- [_h]: ["POST", "/keys/{KeyIdentifier}/encrypt", 200],
1125
- },
1068
+ { [_h]: ["POST", "/keys/{KeyIdentifier}/encrypt", 200] },
1126
1069
  () => EncryptDataInput,
1127
1070
  () => EncryptDataOutput,
1128
1071
  ];
@@ -1130,9 +1073,7 @@ export var GenerateCardValidationData = [
1130
1073
  9,
1131
1074
  n0,
1132
1075
  _GCVD,
1133
- {
1134
- [_h]: ["POST", "/cardvalidationdata/generate", 200],
1135
- },
1076
+ { [_h]: ["POST", "/cardvalidationdata/generate", 200] },
1136
1077
  () => GenerateCardValidationDataInput,
1137
1078
  () => GenerateCardValidationDataOutput,
1138
1079
  ];
@@ -1140,9 +1081,7 @@ export var GenerateMac = [
1140
1081
  9,
1141
1082
  n0,
1142
1083
  _GM,
1143
- {
1144
- [_h]: ["POST", "/mac/generate", 200],
1145
- },
1084
+ { [_h]: ["POST", "/mac/generate", 200] },
1146
1085
  () => GenerateMacInput,
1147
1086
  () => GenerateMacOutput,
1148
1087
  ];
@@ -1150,9 +1089,7 @@ export var GenerateMacEmvPinChange = [
1150
1089
  9,
1151
1090
  n0,
1152
1091
  _GMEPC,
1153
- {
1154
- [_h]: ["POST", "/macemvpinchange/generate", 200],
1155
- },
1092
+ { [_h]: ["POST", "/macemvpinchange/generate", 200] },
1156
1093
  () => GenerateMacEmvPinChangeInput,
1157
1094
  () => GenerateMacEmvPinChangeOutput,
1158
1095
  ];
@@ -1160,9 +1097,7 @@ export var GeneratePinData = [
1160
1097
  9,
1161
1098
  n0,
1162
1099
  _GPD,
1163
- {
1164
- [_h]: ["POST", "/pindata/generate", 200],
1165
- },
1100
+ { [_h]: ["POST", "/pindata/generate", 200] },
1166
1101
  () => GeneratePinDataInput,
1167
1102
  () => GeneratePinDataOutput,
1168
1103
  ];
@@ -1170,9 +1105,7 @@ export var ReEncryptData = [
1170
1105
  9,
1171
1106
  n0,
1172
1107
  _RED,
1173
- {
1174
- [_h]: ["POST", "/keys/{IncomingKeyIdentifier}/reencrypt", 200],
1175
- },
1108
+ { [_h]: ["POST", "/keys/{IncomingKeyIdentifier}/reencrypt", 200] },
1176
1109
  () => ReEncryptDataInput,
1177
1110
  () => ReEncryptDataOutput,
1178
1111
  ];
@@ -1180,9 +1113,7 @@ export var TranslateKeyMaterial = [
1180
1113
  9,
1181
1114
  n0,
1182
1115
  _TKM,
1183
- {
1184
- [_h]: ["POST", "/keymaterial/translate", 200],
1185
- },
1116
+ { [_h]: ["POST", "/keymaterial/translate", 200] },
1186
1117
  () => TranslateKeyMaterialInput,
1187
1118
  () => TranslateKeyMaterialOutput,
1188
1119
  ];
@@ -1190,9 +1121,7 @@ export var TranslatePinData = [
1190
1121
  9,
1191
1122
  n0,
1192
1123
  _TPD,
1193
- {
1194
- [_h]: ["POST", "/pindata/translate", 200],
1195
- },
1124
+ { [_h]: ["POST", "/pindata/translate", 200] },
1196
1125
  () => TranslatePinDataInput,
1197
1126
  () => TranslatePinDataOutput,
1198
1127
  ];
@@ -1200,9 +1129,7 @@ export var VerifyAuthRequestCryptogram = [
1200
1129
  9,
1201
1130
  n0,
1202
1131
  _VARC,
1203
- {
1204
- [_h]: ["POST", "/cryptogram/verify", 200],
1205
- },
1132
+ { [_h]: ["POST", "/cryptogram/verify", 200] },
1206
1133
  () => VerifyAuthRequestCryptogramInput,
1207
1134
  () => VerifyAuthRequestCryptogramOutput,
1208
1135
  ];
@@ -1210,9 +1137,7 @@ export var VerifyCardValidationData = [
1210
1137
  9,
1211
1138
  n0,
1212
1139
  _VCVD,
1213
- {
1214
- [_h]: ["POST", "/cardvalidationdata/verify", 200],
1215
- },
1140
+ { [_h]: ["POST", "/cardvalidationdata/verify", 200] },
1216
1141
  () => VerifyCardValidationDataInput,
1217
1142
  () => VerifyCardValidationDataOutput,
1218
1143
  ];
@@ -1220,9 +1145,7 @@ export var VerifyMac = [
1220
1145
  9,
1221
1146
  n0,
1222
1147
  _VM,
1223
- {
1224
- [_h]: ["POST", "/mac/verify", 200],
1225
- },
1148
+ { [_h]: ["POST", "/mac/verify", 200] },
1226
1149
  () => VerifyMacInput,
1227
1150
  () => VerifyMacOutput,
1228
1151
  ];
@@ -1230,9 +1153,7 @@ export var VerifyPinData = [
1230
1153
  9,
1231
1154
  n0,
1232
1155
  _VPD,
1233
- {
1234
- [_h]: ["POST", "/pindata/verify", 200],
1235
- },
1156
+ { [_h]: ["POST", "/pindata/verify", 200] },
1236
1157
  () => VerifyPinDataInput,
1237
1158
  () => VerifyPinDataOutput,
1238
1159
  ];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { DecryptDataCommandInput, DecryptDataCommandOutput } from "./commands/DecryptDataCommand";
3
3
  import { EncryptDataCommandInput, EncryptDataCommandOutput } from "./commands/EncryptDataCommand";
4
4
  import { GenerateCardValidationDataCommandInput, GenerateCardValidationDataCommandOutput } from "./commands/GenerateCardValidationDataCommand";
@@ -1,12 +1,12 @@
1
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { DecryptDataCommandInput, DecryptDataCommandOutput } from "./commands/DecryptDataCommand";
11
11
  import { EncryptDataCommandInput, EncryptDataCommandOutput } from "./commands/EncryptDataCommand";
12
12
  import { GenerateCardValidationDataCommandInput, GenerateCardValidationDataCommandOutput } from "./commands/GenerateCardValidationDataCommand";
@@ -21,7 +21,7 @@ import { VerifyCardValidationDataCommandInput, VerifyCardValidationDataCommandOu
21
21
  import { VerifyMacCommandInput, VerifyMacCommandOutput } from "./commands/VerifyMacCommand";
22
22
  import { VerifyPinDataCommandInput, VerifyPinDataCommandOutput } from "./commands/VerifyPinDataCommand";
23
23
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
24
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
24
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
25
25
  export { __Client };
26
26
  /**
27
27
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { PaymentCryptographyDataHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { PaymentCryptographyDataHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { PaymentCryptographyDataClientResolvedConfig } from "../PaymentCryptographyDataClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type PaymentCryptographyDataClientResolvedConfig } from "../PaymentCryptographyDataClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DecryptDataInput, DecryptDataOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DecryptDataInput, DecryptDataOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { EncryptDataInput, EncryptDataOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EncryptDataInput, EncryptDataOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GenerateCardValidationDataInput, GenerateCardValidationDataOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GenerateCardValidationDataInput, GenerateCardValidationDataOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GenerateMacInput, GenerateMacOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GenerateMacInput, GenerateMacOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GenerateMacEmvPinChangeInput, GenerateMacEmvPinChangeOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GenerateMacEmvPinChangeInput, GenerateMacEmvPinChangeOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GeneratePinDataInput, GeneratePinDataOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GeneratePinDataInput, GeneratePinDataOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ReEncryptDataInput, ReEncryptDataOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ReEncryptDataInput, ReEncryptDataOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { TranslateKeyMaterialInput, TranslateKeyMaterialOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { TranslateKeyMaterialInput, TranslateKeyMaterialOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { TranslatePinDataInput, TranslatePinDataOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { TranslatePinDataInput, TranslatePinDataOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { VerifyAuthRequestCryptogramInput, VerifyAuthRequestCryptogramOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { VerifyAuthRequestCryptogramInput, VerifyAuthRequestCryptogramOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { VerifyCardValidationDataInput, VerifyCardValidationDataOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { VerifyCardValidationDataInput, VerifyCardValidationDataOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { VerifyMacInput, VerifyMacOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { VerifyMacInput, VerifyMacOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { VerifyPinDataInput, VerifyPinDataOutput } from "../models/models_0";
4
- import { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { VerifyPinDataInput, VerifyPinDataOutput } from "../models/models_0";
4
+ import type { PaymentCryptographyDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyDataClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
+ /**
12
+ * @public
13
+ */
11
14
  export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
15
  defaultSigningName: string;
13
16
  };
17
+ /**
18
+ * @internal
19
+ */
14
20
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
21
+ /**
22
+ * @internal
23
+ */
15
24
  export declare const commonParams: {
16
25
  readonly UseFIPS: {
17
26
  readonly type: "builtInParams";
@@ -30,6 +39,9 @@ export declare const commonParams: {
30
39
  readonly name: "useDualstackEndpoint";
31
40
  };
32
41
  };
42
+ /**
43
+ * @internal
44
+ */
33
45
  export interface EndpointParameters extends __EndpointParameters {
34
46
  Region?: string | undefined;
35
47
  UseDualStack?: boolean | undefined;
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
7
  logger?: Logger;
5
8
  }) => EndpointV2;
@@ -1,7 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { VerificationFailedReason } from "./enums";
3
3
  import { ValidationExceptionField } from "./models_0";
4
4
  import { PaymentCryptographyDataServiceException as __BaseException } from "./PaymentCryptographyDataServiceException";
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { PaymentCryptographyDataClientConfig } from "./PaymentCryptographyDataClient";
2
+ import type { PaymentCryptographyDataClientConfig } from "./PaymentCryptographyDataClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { PaymentCryptographyDataClientConfig } from "./PaymentCryptographyDataClient";
2
+ import type { PaymentCryptographyDataClientConfig } from "./PaymentCryptographyDataClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { PaymentCryptographyDataClientConfig } from "./PaymentCryptographyDataClient";
1
+ import type { PaymentCryptographyDataClientConfig } from "./PaymentCryptographyDataClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { PaymentCryptographyDataClientConfig } from "./PaymentCryptographyDataClient";
1
+ import type { PaymentCryptographyDataClientConfig } from "./PaymentCryptographyDataClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { PaymentCryptographyDataExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { PaymentCryptographyDataExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var ApplicationCryptogramType: StaticSimpleSchema;
3
3
  export declare var AuthRequestCryptogramType: StaticSimpleSchema;
4
4
  export declare var AuthResponseValueType: StaticSimpleSchema;
@@ -106,7 +106,6 @@ export declare var VisaPinVerification: StaticStructureSchema;
106
106
  export declare var VisaPinVerificationValue: StaticStructureSchema;
107
107
  export declare var WrappedKey: StaticStructureSchema;
108
108
  export declare var WrappedWorkingKey: StaticStructureSchema;
109
- export declare var __Unit: "unit";
110
109
  export declare var PaymentCryptographyDataServiceException: StaticErrorSchema;
111
110
  export declare var ValidationExceptionFieldList: StaticListSchema;
112
111
  export declare var CardGenerationAttributes: StaticStructureSchema;
@@ -20,13 +20,12 @@ import {
20
20
  } from "@smithy/middleware-retry";
21
21
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
- Client as __Client,
24
23
  DefaultsMode as __DefaultsMode,
25
24
  SmithyConfiguration as __SmithyConfiguration,
26
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
- AwsCredentialIdentityProvider,
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
31
  ChecksumConstructor as __ChecksumConstructor,
@@ -39,9 +38,10 @@ import {
39
38
  HttpResponse,
40
39
  Logger as __Logger,
41
40
  Provider as __Provider,
42
- Provider,
43
41
  StreamCollector as __StreamCollector,
44
42
  UrlParser as __UrlParser,
43
+ AwsCredentialIdentityProvider,
44
+ Provider,
45
45
  UserAgent as __UserAgent,
46
46
  } from "@smithy/types";
47
47
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { PaymentCryptographyDataHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
@@ -112,7 +112,6 @@ export declare var VisaPinVerification: StaticStructureSchema;
112
112
  export declare var VisaPinVerificationValue: StaticStructureSchema;
113
113
  export declare var WrappedKey: StaticStructureSchema;
114
114
  export declare var WrappedWorkingKey: StaticStructureSchema;
115
- export declare var __Unit: "unit";
116
115
  export declare var PaymentCryptographyDataServiceException: StaticErrorSchema;
117
116
  export declare var ValidationExceptionFieldList: StaticListSchema;
118
117
  export declare var CardGenerationAttributes: StaticStructureSchema;
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.943.0",
4
+ "version": "3.947.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",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo payment-cryptography-data"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo payment-cryptography-data",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,38 +21,38 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.943.0",
24
- "@aws-sdk/credential-provider-node": "3.943.0",
24
+ "@aws-sdk/core": "3.947.0",
25
+ "@aws-sdk/credential-provider-node": "3.947.0",
25
26
  "@aws-sdk/middleware-host-header": "3.936.0",
26
27
  "@aws-sdk/middleware-logger": "3.936.0",
27
28
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.943.0",
29
+ "@aws-sdk/middleware-user-agent": "3.947.0",
29
30
  "@aws-sdk/region-config-resolver": "3.936.0",
30
31
  "@aws-sdk/types": "3.936.0",
31
32
  "@aws-sdk/util-endpoints": "3.936.0",
32
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.943.0",
34
+ "@aws-sdk/util-user-agent-node": "3.947.0",
34
35
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.5",
36
+ "@smithy/core": "^3.18.7",
36
37
  "@smithy/fetch-http-handler": "^5.3.6",
37
38
  "@smithy/hash-node": "^4.2.5",
38
39
  "@smithy/invalid-dependency": "^4.2.5",
39
40
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.12",
41
- "@smithy/middleware-retry": "^4.4.12",
41
+ "@smithy/middleware-endpoint": "^4.3.14",
42
+ "@smithy/middleware-retry": "^4.4.14",
42
43
  "@smithy/middleware-serde": "^4.2.6",
43
44
  "@smithy/middleware-stack": "^4.2.5",
44
45
  "@smithy/node-config-provider": "^4.3.5",
45
46
  "@smithy/node-http-handler": "^4.4.5",
46
47
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.8",
48
+ "@smithy/smithy-client": "^4.9.10",
48
49
  "@smithy/types": "^4.9.0",
49
50
  "@smithy/url-parser": "^4.2.5",
50
51
  "@smithy/util-base64": "^4.3.0",
51
52
  "@smithy/util-body-length-browser": "^4.2.0",
52
53
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.11",
54
- "@smithy/util-defaults-mode-node": "^4.2.14",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
55
+ "@smithy/util-defaults-mode-node": "^4.2.16",
55
56
  "@smithy/util-endpoints": "^3.2.5",
56
57
  "@smithy/util-middleware": "^4.2.5",
57
58
  "@smithy/util-retry": "^4.2.5",