@aws-sdk/client-payment-cryptography-data 3.1087.0 → 3.1088.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 (43) hide show
  1. package/dist-cjs/index.js +12 -3
  2. package/dist-es/models/enums.js +1 -0
  3. package/dist-es/schemas/schemas_0.js +9 -2
  4. package/dist-types/commands/GenerateAuthRequestCryptogramCommand.d.ts +5 -0
  5. package/dist-types/commands/GenerateMacCommand.d.ts +1 -1
  6. package/dist-types/commands/VerifyAuthRequestCryptogramCommand.d.ts +5 -0
  7. package/dist-types/commands/VerifyMacCommand.d.ts +1 -1
  8. package/dist-types/models/enums.d.ts +1 -0
  9. package/dist-types/models/models_0.d.ts +42 -1
  10. package/dist-types/schemas/schemas_0.d.ts +1 -0
  11. package/dist-types/ts3.4/PaymentCryptographyData.d.ts +49 -61
  12. package/dist-types/ts3.4/PaymentCryptographyDataClient.d.ts +9 -31
  13. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -10
  14. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  15. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  16. package/dist-types/ts3.4/commands/DecryptDataCommand.d.ts +3 -5
  17. package/dist-types/ts3.4/commands/EncryptDataCommand.d.ts +3 -5
  18. package/dist-types/ts3.4/commands/GenerateAs2805KekValidationCommand.d.ts +4 -6
  19. package/dist-types/ts3.4/commands/GenerateAuthRequestCryptogramCommand.d.ts +4 -6
  20. package/dist-types/ts3.4/commands/GenerateCardValidationDataCommand.d.ts +4 -6
  21. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +3 -5
  22. package/dist-types/ts3.4/commands/GenerateMacEmvPinChangeCommand.d.ts +5 -10
  23. package/dist-types/ts3.4/commands/GeneratePinDataCommand.d.ts +4 -9
  24. package/dist-types/ts3.4/commands/ReEncryptDataCommand.d.ts +3 -5
  25. package/dist-types/ts3.4/commands/TranslateKeyMaterialCommand.d.ts +5 -10
  26. package/dist-types/ts3.4/commands/TranslatePinDataCommand.d.ts +4 -9
  27. package/dist-types/ts3.4/commands/VerifyAuthRequestCryptogramCommand.d.ts +4 -6
  28. package/dist-types/ts3.4/commands/VerifyCardValidationDataCommand.d.ts +5 -10
  29. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +7 -5
  30. package/dist-types/ts3.4/commands/VerifyPinDataCommand.d.ts +3 -5
  31. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  32. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  33. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  34. package/dist-types/ts3.4/models/enums.d.ts +8 -14
  35. package/dist-types/ts3.4/models/errors.d.ts +6 -18
  36. package/dist-types/ts3.4/models/models_0.d.ts +23 -3
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
  40. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
  41. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  43. package/package.json +38 -38
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1086.0";
72
+ var version = "3.1087.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -449,6 +449,7 @@ const _SKDV = "SessionKeyDerivationValue";
449
449
  const _SKE = "SessionKeyEmv2000";
450
450
  const _SKEC = "SessionKeyEmvCommon";
451
451
  const _SKM = "SessionKeyMastercard";
452
+ const _SKUP = "SessionKeyUnionPay";
452
453
  const _SKV = "SessionKeyVisa";
453
454
  const _SMCKA = "SecureMessagingConfidentialityKeyArn";
454
455
  const _SMCKCV = "SecureMessagingConfidentialityKeyCheckValue";
@@ -476,6 +477,7 @@ const _TPDIFr = "TranslationPinDataIsoFormat1";
476
477
  const _TPDO = "TranslatePinDataOutput";
477
478
  const _TWKB = "Tr31WrappedKeyBlock";
478
479
  const _UN = "UnpredictableNumber";
480
+ const _UP = "UnionPay";
479
481
  const _V = "Visa";
480
482
  const _VA = "VerificationAttributes";
481
483
  const _VADO = "VisaAmexDerivationOutputs";
@@ -872,6 +874,11 @@ var SessionKeyMastercard$ = [3, n0, _SKM,
872
874
  [_PAN, _PSN, _ATC, _UN],
873
875
  [[() => PrimaryAccountNumberType, 0], 0, 0, 0], 4
874
876
  ];
877
+ var SessionKeyUnionPay$ = [3, n0, _SKUP,
878
+ 0,
879
+ [_PAN, _PSN, _ATC],
880
+ [[() => PrimaryAccountNumberType, 0], 0, 0], 3
881
+ ];
875
882
  var SessionKeyVisa$ = [3, n0, _SKV,
876
883
  0,
877
884
  [_PAN, _PSN],
@@ -1072,8 +1079,8 @@ var ReEncryptionAttributes$ = [4, n0, _REA,
1072
1079
  ];
1073
1080
  var SessionKeyDerivation$ = [4, n0, _SKD,
1074
1081
  0,
1075
- [_EC, _Mas, _E, _A, _V],
1076
- [[() => SessionKeyEmvCommon$, 0], [() => SessionKeyMastercard$, 0], [() => SessionKeyEmv2000$, 0], [() => SessionKeyAmex$, 0], [() => SessionKeyVisa$, 0]]
1082
+ [_EC, _Mas, _E, _A, _V, _UP],
1083
+ [[() => SessionKeyEmvCommon$, 0], [() => SessionKeyMastercard$, 0], [() => SessionKeyEmv2000$, 0], [() => SessionKeyAmex$, 0], [() => SessionKeyVisa$, 0], [() => SessionKeyUnionPay$, 0]]
1077
1084
  ];
1078
1085
  var SessionKeyDerivationValue$ = [4, n0, _SKDV,
1079
1086
  0,
@@ -1455,6 +1462,7 @@ const SessionKeyDerivationMode = {
1455
1462
  EMV2000: "EMV2000",
1456
1463
  EMV_COMMON_SESSION_KEY: "EMV_COMMON_SESSION_KEY",
1457
1464
  MASTERCARD_SESSION_KEY: "MASTERCARD_SESSION_KEY",
1465
+ UNION_PAY: "UNION_PAY",
1458
1466
  VISA: "VISA",
1459
1467
  };
1460
1468
  const PinBlockFormatForEmvPinChange = {
@@ -1598,6 +1606,7 @@ exports.SessionKeyDerivationValue$ = SessionKeyDerivationValue$;
1598
1606
  exports.SessionKeyEmv2000$ = SessionKeyEmv2000$;
1599
1607
  exports.SessionKeyEmvCommon$ = SessionKeyEmvCommon$;
1600
1608
  exports.SessionKeyMastercard$ = SessionKeyMastercard$;
1609
+ exports.SessionKeyUnionPay$ = SessionKeyUnionPay$;
1601
1610
  exports.SessionKeyVisa$ = SessionKeyVisa$;
1602
1611
  exports.SymmetricEncryptionAttributes$ = SymmetricEncryptionAttributes$;
1603
1612
  exports.SymmetricKeyAlgorithm = SymmetricKeyAlgorithm;
@@ -101,6 +101,7 @@ export const SessionKeyDerivationMode = {
101
101
  EMV2000: "EMV2000",
102
102
  EMV_COMMON_SESSION_KEY: "EMV_COMMON_SESSION_KEY",
103
103
  MASTERCARD_SESSION_KEY: "MASTERCARD_SESSION_KEY",
104
+ UNION_PAY: "UNION_PAY",
104
105
  VISA: "VISA",
105
106
  };
106
107
  export const PinBlockFormatForEmvPinChange = {
@@ -222,6 +222,7 @@ const _SKDV = "SessionKeyDerivationValue";
222
222
  const _SKE = "SessionKeyEmv2000";
223
223
  const _SKEC = "SessionKeyEmvCommon";
224
224
  const _SKM = "SessionKeyMastercard";
225
+ const _SKUP = "SessionKeyUnionPay";
225
226
  const _SKV = "SessionKeyVisa";
226
227
  const _SMCKA = "SecureMessagingConfidentialityKeyArn";
227
228
  const _SMCKCV = "SecureMessagingConfidentialityKeyCheckValue";
@@ -249,6 +250,7 @@ const _TPDIFr = "TranslationPinDataIsoFormat1";
249
250
  const _TPDO = "TranslatePinDataOutput";
250
251
  const _TWKB = "Tr31WrappedKeyBlock";
251
252
  const _UN = "UnpredictableNumber";
253
+ const _UP = "UnionPay";
252
254
  const _V = "Visa";
253
255
  const _VA = "VerificationAttributes";
254
256
  const _VADO = "VisaAmexDerivationOutputs";
@@ -648,6 +650,11 @@ export var SessionKeyMastercard$ = [3, n0, _SKM,
648
650
  [_PAN, _PSN, _ATC, _UN],
649
651
  [[() => PrimaryAccountNumberType, 0], 0, 0, 0], 4
650
652
  ];
653
+ export var SessionKeyUnionPay$ = [3, n0, _SKUP,
654
+ 0,
655
+ [_PAN, _PSN, _ATC],
656
+ [[() => PrimaryAccountNumberType, 0], 0, 0], 3
657
+ ];
651
658
  export var SessionKeyVisa$ = [3, n0, _SKV,
652
659
  0,
653
660
  [_PAN, _PSN],
@@ -848,8 +855,8 @@ export var ReEncryptionAttributes$ = [4, n0, _REA,
848
855
  ];
849
856
  export var SessionKeyDerivation$ = [4, n0, _SKD,
850
857
  0,
851
- [_EC, _Mas, _E, _A, _V],
852
- [[() => SessionKeyEmvCommon$, 0], [() => SessionKeyMastercard$, 0], [() => SessionKeyEmv2000$, 0], [() => SessionKeyAmex$, 0], [() => SessionKeyVisa$, 0]]
858
+ [_EC, _Mas, _E, _A, _V, _UP],
859
+ [[() => SessionKeyEmvCommon$, 0], [() => SessionKeyMastercard$, 0], [() => SessionKeyEmv2000$, 0], [() => SessionKeyAmex$, 0], [() => SessionKeyVisa$, 0], [() => SessionKeyUnionPay$, 0]]
853
860
  ];
854
861
  export var SessionKeyDerivationValue$ = [4, n0, _SKDV,
855
862
  0,
@@ -62,6 +62,11 @@ declare const GenerateAuthRequestCryptogramCommand_base: {
62
62
  * PrimaryAccountNumber: "STRING_VALUE", // required
63
63
  * PanSequenceNumber: "STRING_VALUE", // required
64
64
  * },
65
+ * UnionPay: { // SessionKeyUnionPay
66
+ * PrimaryAccountNumber: "STRING_VALUE", // required
67
+ * PanSequenceNumber: "STRING_VALUE", // required
68
+ * ApplicationTransactionCounter: "STRING_VALUE", // required
69
+ * },
65
70
  * },
66
71
  * };
67
72
  * const command = new GenerateAuthRequestCryptogramCommand(input);
@@ -42,7 +42,7 @@ declare const GenerateMacCommand_base: {
42
42
  * MajorKeyDerivationMode: "EMV_OPTION_A" || "EMV_OPTION_B", // required
43
43
  * PrimaryAccountNumber: "STRING_VALUE", // required
44
44
  * PanSequenceNumber: "STRING_VALUE", // required
45
- * SessionKeyDerivationMode: "EMV_COMMON_SESSION_KEY" || "EMV2000" || "AMEX" || "MASTERCARD_SESSION_KEY" || "VISA", // required
45
+ * SessionKeyDerivationMode: "EMV_COMMON_SESSION_KEY" || "EMV2000" || "AMEX" || "MASTERCARD_SESSION_KEY" || "VISA" || "UNION_PAY", // required
46
46
  * SessionKeyDerivationValue: { // SessionKeyDerivationValue Union: only one key present
47
47
  * ApplicationCryptogram: "STRING_VALUE",
48
48
  * ApplicationTransactionCounter: "STRING_VALUE",
@@ -63,6 +63,11 @@ declare const VerifyAuthRequestCryptogramCommand_base: {
63
63
  * PrimaryAccountNumber: "STRING_VALUE", // required
64
64
  * PanSequenceNumber: "STRING_VALUE", // required
65
65
  * },
66
+ * UnionPay: { // SessionKeyUnionPay
67
+ * PrimaryAccountNumber: "STRING_VALUE", // required
68
+ * PanSequenceNumber: "STRING_VALUE", // required
69
+ * ApplicationTransactionCounter: "STRING_VALUE", // required
70
+ * },
66
71
  * },
67
72
  * AuthResponseAttributes: { // CryptogramAuthResponse Union: only one key present
68
73
  * ArpcMethod1: { // CryptogramVerificationArpcMethod1
@@ -43,7 +43,7 @@ declare const VerifyMacCommand_base: {
43
43
  * MajorKeyDerivationMode: "EMV_OPTION_A" || "EMV_OPTION_B", // required
44
44
  * PrimaryAccountNumber: "STRING_VALUE", // required
45
45
  * PanSequenceNumber: "STRING_VALUE", // required
46
- * SessionKeyDerivationMode: "EMV_COMMON_SESSION_KEY" || "EMV2000" || "AMEX" || "MASTERCARD_SESSION_KEY" || "VISA", // required
46
+ * SessionKeyDerivationMode: "EMV_COMMON_SESSION_KEY" || "EMV2000" || "AMEX" || "MASTERCARD_SESSION_KEY" || "VISA" || "UNION_PAY", // required
47
47
  * SessionKeyDerivationValue: { // SessionKeyDerivationValue Union: only one key present
48
48
  * ApplicationCryptogram: "STRING_VALUE",
49
49
  * ApplicationTransactionCounter: "STRING_VALUE",
@@ -241,6 +241,7 @@ export declare const SessionKeyDerivationMode: {
241
241
  readonly EMV2000: "EMV2000";
242
242
  readonly EMV_COMMON_SESSION_KEY: "EMV_COMMON_SESSION_KEY";
243
243
  readonly MASTERCARD_SESSION_KEY: "MASTERCARD_SESSION_KEY";
244
+ readonly UNION_PAY: "UNION_PAY";
244
245
  readonly VISA: "VISA";
245
246
  };
246
247
  /**
@@ -1451,6 +1451,27 @@ export interface SessionKeyMastercard {
1451
1451
  */
1452
1452
  UnpredictableNumber: string | undefined;
1453
1453
  }
1454
+ /**
1455
+ * <p>Parameters to derive session key for a UnionPay payment card for Authorization Request Cryptogram (ARQC) generation and verification.</p>
1456
+ * @public
1457
+ */
1458
+ export interface SessionKeyUnionPay {
1459
+ /**
1460
+ * <p>The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.</p>
1461
+ * @public
1462
+ */
1463
+ PrimaryAccountNumber: string | undefined;
1464
+ /**
1465
+ * <p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). If not used, enter <code>00</code>.</p>
1466
+ * @public
1467
+ */
1468
+ PanSequenceNumber: string | undefined;
1469
+ /**
1470
+ * <p>The transaction counter that the terminal provides during transaction processing. This value is in hexadecimal format. For example, enter a decimal counter of 109 as <code>006D</code>.</p>
1471
+ * @public
1472
+ */
1473
+ ApplicationTransactionCounter: string | undefined;
1474
+ }
1454
1475
  /**
1455
1476
  * <p>Parameters to derive session key for Visa payment card for ARQC verification.</p>
1456
1477
  * @public
@@ -1471,7 +1492,7 @@ export interface SessionKeyVisa {
1471
1492
  * <p>Parameters to derive a session key for Authorization Response Cryptogram (ARQC) verification.</p>
1472
1493
  * @public
1473
1494
  */
1474
- export type SessionKeyDerivation = SessionKeyDerivation.AmexMember | SessionKeyDerivation.Emv2000Member | SessionKeyDerivation.EmvCommonMember | SessionKeyDerivation.MastercardMember | SessionKeyDerivation.VisaMember | SessionKeyDerivation.$UnknownMember;
1495
+ export type SessionKeyDerivation = SessionKeyDerivation.AmexMember | SessionKeyDerivation.Emv2000Member | SessionKeyDerivation.EmvCommonMember | SessionKeyDerivation.MastercardMember | SessionKeyDerivation.UnionPayMember | SessionKeyDerivation.VisaMember | SessionKeyDerivation.$UnknownMember;
1475
1496
  /**
1476
1497
  * @public
1477
1498
  */
@@ -1486,6 +1507,7 @@ export declare namespace SessionKeyDerivation {
1486
1507
  Emv2000?: never;
1487
1508
  Amex?: never;
1488
1509
  Visa?: never;
1510
+ UnionPay?: never;
1489
1511
  $unknown?: never;
1490
1512
  }
1491
1513
  /**
@@ -1498,6 +1520,7 @@ export declare namespace SessionKeyDerivation {
1498
1520
  Emv2000?: never;
1499
1521
  Amex?: never;
1500
1522
  Visa?: never;
1523
+ UnionPay?: never;
1501
1524
  $unknown?: never;
1502
1525
  }
1503
1526
  /**
@@ -1510,6 +1533,7 @@ export declare namespace SessionKeyDerivation {
1510
1533
  Emv2000: SessionKeyEmv2000;
1511
1534
  Amex?: never;
1512
1535
  Visa?: never;
1536
+ UnionPay?: never;
1513
1537
  $unknown?: never;
1514
1538
  }
1515
1539
  /**
@@ -1522,6 +1546,7 @@ export declare namespace SessionKeyDerivation {
1522
1546
  Emv2000?: never;
1523
1547
  Amex: SessionKeyAmex;
1524
1548
  Visa?: never;
1549
+ UnionPay?: never;
1525
1550
  $unknown?: never;
1526
1551
  }
1527
1552
  /**
@@ -1534,6 +1559,20 @@ export declare namespace SessionKeyDerivation {
1534
1559
  Emv2000?: never;
1535
1560
  Amex?: never;
1536
1561
  Visa: SessionKeyVisa;
1562
+ UnionPay?: never;
1563
+ $unknown?: never;
1564
+ }
1565
+ /**
1566
+ * <p>Parameters to derive session key for a UnionPay payment card for Authorization Request Cryptogram (ARQC) generation and verification.</p>
1567
+ * @public
1568
+ */
1569
+ interface UnionPayMember {
1570
+ EmvCommon?: never;
1571
+ Mastercard?: never;
1572
+ Emv2000?: never;
1573
+ Amex?: never;
1574
+ Visa?: never;
1575
+ UnionPay: SessionKeyUnionPay;
1537
1576
  $unknown?: never;
1538
1577
  }
1539
1578
  /**
@@ -1545,6 +1584,7 @@ export declare namespace SessionKeyDerivation {
1545
1584
  Emv2000?: never;
1546
1585
  Amex?: never;
1547
1586
  Visa?: never;
1587
+ UnionPay?: never;
1548
1588
  $unknown: [string, any];
1549
1589
  }
1550
1590
  /**
@@ -1557,6 +1597,7 @@ export declare namespace SessionKeyDerivation {
1557
1597
  Emv2000: (value: SessionKeyEmv2000) => T;
1558
1598
  Amex: (value: SessionKeyAmex) => T;
1559
1599
  Visa: (value: SessionKeyVisa) => T;
1600
+ UnionPay: (value: SessionKeyUnionPay) => T;
1560
1601
  _: (name: string, value: any) => T;
1561
1602
  }
1562
1603
  }
@@ -68,6 +68,7 @@ export declare var SessionKeyAmex$: StaticStructureSchema;
68
68
  export declare var SessionKeyEmv2000$: StaticStructureSchema;
69
69
  export declare var SessionKeyEmvCommon$: StaticStructureSchema;
70
70
  export declare var SessionKeyMastercard$: StaticStructureSchema;
71
+ export declare var SessionKeyUnionPay$: StaticStructureSchema;
71
72
  export declare var SessionKeyVisa$: StaticStructureSchema;
72
73
  export declare var SymmetricEncryptionAttributes$: StaticStructureSchema;
73
74
  export declare var TranslateKeyMaterialInput$: StaticStructureSchema;
@@ -1,12 +1,6 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
- import {
3
- DecryptDataCommandInput,
4
- DecryptDataCommandOutput,
5
- } from "./commands/DecryptDataCommand";
6
- import {
7
- EncryptDataCommandInput,
8
- EncryptDataCommandOutput,
9
- } from "./commands/EncryptDataCommand";
2
+ import { DecryptDataCommandInput, DecryptDataCommandOutput } from "./commands/DecryptDataCommand";
3
+ import { EncryptDataCommandInput, EncryptDataCommandOutput } from "./commands/EncryptDataCommand";
10
4
  import {
11
5
  GenerateAs2805KekValidationCommandInput,
12
6
  GenerateAs2805KekValidationCommandOutput,
@@ -19,10 +13,7 @@ import {
19
13
  GenerateCardValidationDataCommandInput,
20
14
  GenerateCardValidationDataCommandOutput,
21
15
  } from "./commands/GenerateCardValidationDataCommand";
22
- import {
23
- GenerateMacCommandInput,
24
- GenerateMacCommandOutput,
25
- } from "./commands/GenerateMacCommand";
16
+ import { GenerateMacCommandInput, GenerateMacCommandOutput } from "./commands/GenerateMacCommand";
26
17
  import {
27
18
  GenerateMacEmvPinChangeCommandInput,
28
19
  GenerateMacEmvPinChangeCommandOutput,
@@ -51,10 +42,7 @@ import {
51
42
  VerifyCardValidationDataCommandInput,
52
43
  VerifyCardValidationDataCommandOutput,
53
44
  } from "./commands/VerifyCardValidationDataCommand";
54
- import {
55
- VerifyMacCommandInput,
56
- VerifyMacCommandOutput,
57
- } from "./commands/VerifyMacCommand";
45
+ import { VerifyMacCommandInput, VerifyMacCommandOutput } from "./commands/VerifyMacCommand";
58
46
  import {
59
47
  VerifyPinDataCommandInput,
60
48
  VerifyPinDataCommandOutput,
@@ -63,198 +51,198 @@ import { PaymentCryptographyDataClient } from "./PaymentCryptographyDataClient";
63
51
  export interface PaymentCryptographyData {
64
52
  decryptData(
65
53
  args: DecryptDataCommandInput,
66
- options?: __HttpHandlerOptions
54
+ options?: __HttpHandlerOptions,
67
55
  ): Promise<DecryptDataCommandOutput>;
68
56
  decryptData(
69
57
  args: DecryptDataCommandInput,
70
- cb: (err: any, data?: DecryptDataCommandOutput) => void
58
+ cb: (err: any, data?: DecryptDataCommandOutput) => void,
71
59
  ): void;
72
60
  decryptData(
73
61
  args: DecryptDataCommandInput,
74
62
  options: __HttpHandlerOptions,
75
- cb: (err: any, data?: DecryptDataCommandOutput) => void
63
+ cb: (err: any, data?: DecryptDataCommandOutput) => void,
76
64
  ): void;
77
65
  encryptData(
78
66
  args: EncryptDataCommandInput,
79
- options?: __HttpHandlerOptions
67
+ options?: __HttpHandlerOptions,
80
68
  ): Promise<EncryptDataCommandOutput>;
81
69
  encryptData(
82
70
  args: EncryptDataCommandInput,
83
- cb: (err: any, data?: EncryptDataCommandOutput) => void
71
+ cb: (err: any, data?: EncryptDataCommandOutput) => void,
84
72
  ): void;
85
73
  encryptData(
86
74
  args: EncryptDataCommandInput,
87
75
  options: __HttpHandlerOptions,
88
- cb: (err: any, data?: EncryptDataCommandOutput) => void
76
+ cb: (err: any, data?: EncryptDataCommandOutput) => void,
89
77
  ): void;
90
78
  generateAs2805KekValidation(
91
79
  args: GenerateAs2805KekValidationCommandInput,
92
- options?: __HttpHandlerOptions
80
+ options?: __HttpHandlerOptions,
93
81
  ): Promise<GenerateAs2805KekValidationCommandOutput>;
94
82
  generateAs2805KekValidation(
95
83
  args: GenerateAs2805KekValidationCommandInput,
96
- cb: (err: any, data?: GenerateAs2805KekValidationCommandOutput) => void
84
+ cb: (err: any, data?: GenerateAs2805KekValidationCommandOutput) => void,
97
85
  ): void;
98
86
  generateAs2805KekValidation(
99
87
  args: GenerateAs2805KekValidationCommandInput,
100
88
  options: __HttpHandlerOptions,
101
- cb: (err: any, data?: GenerateAs2805KekValidationCommandOutput) => void
89
+ cb: (err: any, data?: GenerateAs2805KekValidationCommandOutput) => void,
102
90
  ): void;
103
91
  generateAuthRequestCryptogram(
104
92
  args: GenerateAuthRequestCryptogramCommandInput,
105
- options?: __HttpHandlerOptions
93
+ options?: __HttpHandlerOptions,
106
94
  ): Promise<GenerateAuthRequestCryptogramCommandOutput>;
107
95
  generateAuthRequestCryptogram(
108
96
  args: GenerateAuthRequestCryptogramCommandInput,
109
- cb: (err: any, data?: GenerateAuthRequestCryptogramCommandOutput) => void
97
+ cb: (err: any, data?: GenerateAuthRequestCryptogramCommandOutput) => void,
110
98
  ): void;
111
99
  generateAuthRequestCryptogram(
112
100
  args: GenerateAuthRequestCryptogramCommandInput,
113
101
  options: __HttpHandlerOptions,
114
- cb: (err: any, data?: GenerateAuthRequestCryptogramCommandOutput) => void
102
+ cb: (err: any, data?: GenerateAuthRequestCryptogramCommandOutput) => void,
115
103
  ): void;
116
104
  generateCardValidationData(
117
105
  args: GenerateCardValidationDataCommandInput,
118
- options?: __HttpHandlerOptions
106
+ options?: __HttpHandlerOptions,
119
107
  ): Promise<GenerateCardValidationDataCommandOutput>;
120
108
  generateCardValidationData(
121
109
  args: GenerateCardValidationDataCommandInput,
122
- cb: (err: any, data?: GenerateCardValidationDataCommandOutput) => void
110
+ cb: (err: any, data?: GenerateCardValidationDataCommandOutput) => void,
123
111
  ): void;
124
112
  generateCardValidationData(
125
113
  args: GenerateCardValidationDataCommandInput,
126
114
  options: __HttpHandlerOptions,
127
- cb: (err: any, data?: GenerateCardValidationDataCommandOutput) => void
115
+ cb: (err: any, data?: GenerateCardValidationDataCommandOutput) => void,
128
116
  ): void;
129
117
  generateMac(
130
118
  args: GenerateMacCommandInput,
131
- options?: __HttpHandlerOptions
119
+ options?: __HttpHandlerOptions,
132
120
  ): Promise<GenerateMacCommandOutput>;
133
121
  generateMac(
134
122
  args: GenerateMacCommandInput,
135
- cb: (err: any, data?: GenerateMacCommandOutput) => void
123
+ cb: (err: any, data?: GenerateMacCommandOutput) => void,
136
124
  ): void;
137
125
  generateMac(
138
126
  args: GenerateMacCommandInput,
139
127
  options: __HttpHandlerOptions,
140
- cb: (err: any, data?: GenerateMacCommandOutput) => void
128
+ cb: (err: any, data?: GenerateMacCommandOutput) => void,
141
129
  ): void;
142
130
  generateMacEmvPinChange(
143
131
  args: GenerateMacEmvPinChangeCommandInput,
144
- options?: __HttpHandlerOptions
132
+ options?: __HttpHandlerOptions,
145
133
  ): Promise<GenerateMacEmvPinChangeCommandOutput>;
146
134
  generateMacEmvPinChange(
147
135
  args: GenerateMacEmvPinChangeCommandInput,
148
- cb: (err: any, data?: GenerateMacEmvPinChangeCommandOutput) => void
136
+ cb: (err: any, data?: GenerateMacEmvPinChangeCommandOutput) => void,
149
137
  ): void;
150
138
  generateMacEmvPinChange(
151
139
  args: GenerateMacEmvPinChangeCommandInput,
152
140
  options: __HttpHandlerOptions,
153
- cb: (err: any, data?: GenerateMacEmvPinChangeCommandOutput) => void
141
+ cb: (err: any, data?: GenerateMacEmvPinChangeCommandOutput) => void,
154
142
  ): void;
155
143
  generatePinData(
156
144
  args: GeneratePinDataCommandInput,
157
- options?: __HttpHandlerOptions
145
+ options?: __HttpHandlerOptions,
158
146
  ): Promise<GeneratePinDataCommandOutput>;
159
147
  generatePinData(
160
148
  args: GeneratePinDataCommandInput,
161
- cb: (err: any, data?: GeneratePinDataCommandOutput) => void
149
+ cb: (err: any, data?: GeneratePinDataCommandOutput) => void,
162
150
  ): void;
163
151
  generatePinData(
164
152
  args: GeneratePinDataCommandInput,
165
153
  options: __HttpHandlerOptions,
166
- cb: (err: any, data?: GeneratePinDataCommandOutput) => void
154
+ cb: (err: any, data?: GeneratePinDataCommandOutput) => void,
167
155
  ): void;
168
156
  reEncryptData(
169
157
  args: ReEncryptDataCommandInput,
170
- options?: __HttpHandlerOptions
158
+ options?: __HttpHandlerOptions,
171
159
  ): Promise<ReEncryptDataCommandOutput>;
172
160
  reEncryptData(
173
161
  args: ReEncryptDataCommandInput,
174
- cb: (err: any, data?: ReEncryptDataCommandOutput) => void
162
+ cb: (err: any, data?: ReEncryptDataCommandOutput) => void,
175
163
  ): void;
176
164
  reEncryptData(
177
165
  args: ReEncryptDataCommandInput,
178
166
  options: __HttpHandlerOptions,
179
- cb: (err: any, data?: ReEncryptDataCommandOutput) => void
167
+ cb: (err: any, data?: ReEncryptDataCommandOutput) => void,
180
168
  ): void;
181
169
  translateKeyMaterial(
182
170
  args: TranslateKeyMaterialCommandInput,
183
- options?: __HttpHandlerOptions
171
+ options?: __HttpHandlerOptions,
184
172
  ): Promise<TranslateKeyMaterialCommandOutput>;
185
173
  translateKeyMaterial(
186
174
  args: TranslateKeyMaterialCommandInput,
187
- cb: (err: any, data?: TranslateKeyMaterialCommandOutput) => void
175
+ cb: (err: any, data?: TranslateKeyMaterialCommandOutput) => void,
188
176
  ): void;
189
177
  translateKeyMaterial(
190
178
  args: TranslateKeyMaterialCommandInput,
191
179
  options: __HttpHandlerOptions,
192
- cb: (err: any, data?: TranslateKeyMaterialCommandOutput) => void
180
+ cb: (err: any, data?: TranslateKeyMaterialCommandOutput) => void,
193
181
  ): void;
194
182
  translatePinData(
195
183
  args: TranslatePinDataCommandInput,
196
- options?: __HttpHandlerOptions
184
+ options?: __HttpHandlerOptions,
197
185
  ): Promise<TranslatePinDataCommandOutput>;
198
186
  translatePinData(
199
187
  args: TranslatePinDataCommandInput,
200
- cb: (err: any, data?: TranslatePinDataCommandOutput) => void
188
+ cb: (err: any, data?: TranslatePinDataCommandOutput) => void,
201
189
  ): void;
202
190
  translatePinData(
203
191
  args: TranslatePinDataCommandInput,
204
192
  options: __HttpHandlerOptions,
205
- cb: (err: any, data?: TranslatePinDataCommandOutput) => void
193
+ cb: (err: any, data?: TranslatePinDataCommandOutput) => void,
206
194
  ): void;
207
195
  verifyAuthRequestCryptogram(
208
196
  args: VerifyAuthRequestCryptogramCommandInput,
209
- options?: __HttpHandlerOptions
197
+ options?: __HttpHandlerOptions,
210
198
  ): Promise<VerifyAuthRequestCryptogramCommandOutput>;
211
199
  verifyAuthRequestCryptogram(
212
200
  args: VerifyAuthRequestCryptogramCommandInput,
213
- cb: (err: any, data?: VerifyAuthRequestCryptogramCommandOutput) => void
201
+ cb: (err: any, data?: VerifyAuthRequestCryptogramCommandOutput) => void,
214
202
  ): void;
215
203
  verifyAuthRequestCryptogram(
216
204
  args: VerifyAuthRequestCryptogramCommandInput,
217
205
  options: __HttpHandlerOptions,
218
- cb: (err: any, data?: VerifyAuthRequestCryptogramCommandOutput) => void
206
+ cb: (err: any, data?: VerifyAuthRequestCryptogramCommandOutput) => void,
219
207
  ): void;
220
208
  verifyCardValidationData(
221
209
  args: VerifyCardValidationDataCommandInput,
222
- options?: __HttpHandlerOptions
210
+ options?: __HttpHandlerOptions,
223
211
  ): Promise<VerifyCardValidationDataCommandOutput>;
224
212
  verifyCardValidationData(
225
213
  args: VerifyCardValidationDataCommandInput,
226
- cb: (err: any, data?: VerifyCardValidationDataCommandOutput) => void
214
+ cb: (err: any, data?: VerifyCardValidationDataCommandOutput) => void,
227
215
  ): void;
228
216
  verifyCardValidationData(
229
217
  args: VerifyCardValidationDataCommandInput,
230
218
  options: __HttpHandlerOptions,
231
- cb: (err: any, data?: VerifyCardValidationDataCommandOutput) => void
219
+ cb: (err: any, data?: VerifyCardValidationDataCommandOutput) => void,
232
220
  ): void;
233
221
  verifyMac(
234
222
  args: VerifyMacCommandInput,
235
- options?: __HttpHandlerOptions
223
+ options?: __HttpHandlerOptions,
236
224
  ): Promise<VerifyMacCommandOutput>;
237
225
  verifyMac(
238
226
  args: VerifyMacCommandInput,
239
- cb: (err: any, data?: VerifyMacCommandOutput) => void
227
+ cb: (err: any, data?: VerifyMacCommandOutput) => void,
240
228
  ): void;
241
229
  verifyMac(
242
230
  args: VerifyMacCommandInput,
243
231
  options: __HttpHandlerOptions,
244
- cb: (err: any, data?: VerifyMacCommandOutput) => void
232
+ cb: (err: any, data?: VerifyMacCommandOutput) => void,
245
233
  ): void;
246
234
  verifyPinData(
247
235
  args: VerifyPinDataCommandInput,
248
- options?: __HttpHandlerOptions
236
+ options?: __HttpHandlerOptions,
249
237
  ): Promise<VerifyPinDataCommandOutput>;
250
238
  verifyPinData(
251
239
  args: VerifyPinDataCommandInput,
252
- cb: (err: any, data?: VerifyPinDataCommandOutput) => void
240
+ cb: (err: any, data?: VerifyPinDataCommandOutput) => void,
253
241
  ): void;
254
242
  verifyPinData(
255
243
  args: VerifyPinDataCommandInput,
256
244
  options: __HttpHandlerOptions,
257
- cb: (err: any, data?: VerifyPinDataCommandOutput) => void
245
+ cb: (err: any, data?: VerifyPinDataCommandOutput) => void,
258
246
  ): void;
259
247
  }
260
248
  export declare class PaymentCryptographyData
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -36,14 +33,8 @@ import {
36
33
  HttpAuthSchemeInputConfig,
37
34
  HttpAuthSchemeResolvedConfig,
38
35
  } from "./auth/httpAuthSchemeProvider";
39
- import {
40
- DecryptDataCommandInput,
41
- DecryptDataCommandOutput,
42
- } from "./commands/DecryptDataCommand";
43
- import {
44
- EncryptDataCommandInput,
45
- EncryptDataCommandOutput,
46
- } from "./commands/EncryptDataCommand";
36
+ import { DecryptDataCommandInput, DecryptDataCommandOutput } from "./commands/DecryptDataCommand";
37
+ import { EncryptDataCommandInput, EncryptDataCommandOutput } from "./commands/EncryptDataCommand";
47
38
  import {
48
39
  GenerateAs2805KekValidationCommandInput,
49
40
  GenerateAs2805KekValidationCommandOutput,
@@ -56,10 +47,7 @@ import {
56
47
  GenerateCardValidationDataCommandInput,
57
48
  GenerateCardValidationDataCommandOutput,
58
49
  } from "./commands/GenerateCardValidationDataCommand";
59
- import {
60
- GenerateMacCommandInput,
61
- GenerateMacCommandOutput,
62
- } from "./commands/GenerateMacCommand";
50
+ import { GenerateMacCommandInput, GenerateMacCommandOutput } from "./commands/GenerateMacCommand";
63
51
  import {
64
52
  GenerateMacEmvPinChangeCommandInput,
65
53
  GenerateMacEmvPinChangeCommandOutput,
@@ -88,10 +76,7 @@ import {
88
76
  VerifyCardValidationDataCommandInput,
89
77
  VerifyCardValidationDataCommandOutput,
90
78
  } from "./commands/VerifyCardValidationDataCommand";
91
- import {
92
- VerifyMacCommandInput,
93
- VerifyMacCommandOutput,
94
- } from "./commands/VerifyMacCommand";
79
+ import { VerifyMacCommandInput, VerifyMacCommandOutput } from "./commands/VerifyMacCommand";
95
80
  import {
96
81
  VerifyPinDataCommandInput,
97
82
  VerifyPinDataCommandOutput,
@@ -135,8 +120,7 @@ export type ServiceOutputTypes =
135
120
  | VerifyCardValidationDataCommandOutput
136
121
  | VerifyMacCommandOutput
137
122
  | VerifyPinDataCommandOutput;
138
- export interface ClientDefaults
139
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
123
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
140
124
  requestHandler?: __HttpHandlerUserInput;
141
125
  sha256?: __ChecksumConstructor | __HashConstructor;
142
126
  urlParser?: __UrlParser;
@@ -172,8 +156,7 @@ export type PaymentCryptographyDataClientConfigType = Partial<
172
156
  EndpointInputConfig<EndpointParameters> &
173
157
  HttpAuthSchemeInputConfig &
174
158
  ClientInputEndpointParameters;
175
- export interface PaymentCryptographyDataClientConfig
176
- extends PaymentCryptographyDataClientConfigType {}
159
+ export interface PaymentCryptographyDataClientConfig extends PaymentCryptographyDataClientConfigType {}
177
160
  export type PaymentCryptographyDataClientResolvedConfigType =
178
161
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
179
162
  Required<ClientDefaults> &
@@ -185,8 +168,7 @@ export type PaymentCryptographyDataClientResolvedConfigType =
185
168
  EndpointResolvedConfig<EndpointParameters> &
186
169
  HttpAuthSchemeResolvedConfig &
187
170
  ClientResolvedEndpointParameters;
188
- export interface PaymentCryptographyDataClientResolvedConfig
189
- extends PaymentCryptographyDataClientResolvedConfigType {}
171
+ export interface PaymentCryptographyDataClientResolvedConfig extends PaymentCryptographyDataClientResolvedConfigType {}
190
172
  export declare class PaymentCryptographyDataClient extends __Client<
191
173
  __HttpHandlerOptions,
192
174
  ServiceInputTypes,
@@ -194,10 +176,6 @@ export declare class PaymentCryptographyDataClient extends __Client<
194
176
  PaymentCryptographyDataClientResolvedConfig
195
177
  > {
196
178
  readonly config: PaymentCryptographyDataClientResolvedConfig;
197
- constructor(
198
- ...[
199
- configuration,
200
- ]: __CheckOptionalClientConfig<PaymentCryptographyDataClientConfig>
201
- );
179
+ constructor(...[configuration]: __CheckOptionalClientConfig<PaymentCryptographyDataClientConfig>);
202
180
  destroy(): void;
203
181
  }