@aws-sdk/client-payment-cryptography-data 3.928.0 → 3.929.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 (37) hide show
  1. package/dist-cjs/index.js +1283 -1258
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/PaymentCryptographyDataClient.js +2 -0
  4. package/dist-es/commands/DecryptDataCommand.js +3 -10
  5. package/dist-es/commands/EncryptDataCommand.js +3 -10
  6. package/dist-es/commands/GenerateCardValidationDataCommand.js +3 -10
  7. package/dist-es/commands/GenerateMacCommand.js +3 -10
  8. package/dist-es/commands/GenerateMacEmvPinChangeCommand.js +3 -10
  9. package/dist-es/commands/GeneratePinDataCommand.js +3 -10
  10. package/dist-es/commands/ReEncryptDataCommand.js +3 -10
  11. package/dist-es/commands/TranslateKeyMaterialCommand.js +3 -10
  12. package/dist-es/commands/TranslatePinDataCommand.js +3 -10
  13. package/dist-es/commands/VerifyAuthRequestCryptogramCommand.js +3 -10
  14. package/dist-es/commands/VerifyCardValidationDataCommand.js +3 -10
  15. package/dist-es/commands/VerifyMacCommand.js +3 -10
  16. package/dist-es/commands/VerifyPinDataCommand.js +3 -10
  17. package/dist-es/models/models_0.js +0 -509
  18. package/dist-es/runtimeConfig.shared.js +2 -0
  19. package/dist-es/schemas/schemas_0.js +1238 -0
  20. package/dist-types/PaymentCryptographyDataClient.d.ts +10 -1
  21. package/dist-types/models/models_0.d.ts +0 -288
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  23. package/dist-types/runtimeConfig.d.ts +1 -0
  24. package/dist-types/runtimeConfig.native.d.ts +1 -0
  25. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +141 -0
  27. package/dist-types/ts3.4/PaymentCryptographyDataClient.d.ts +4 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +0 -212
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +147 -0
  34. package/package.json +2 -2
  35. package/dist-es/protocols/Aws_restJson1.js +0 -570
  36. package/dist-types/protocols/Aws_restJson1.d.ts +0 -119
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -161
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class PaymentCryptographyDataClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class PaymentCryptographyDataClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class PaymentCryptographyDataServiceException extends smithyClient.ServiceException {
113
+ let PaymentCryptographyDataServiceException$1 = class PaymentCryptographyDataServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, PaymentCryptographyDataServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends PaymentCryptographyDataServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends PaymentCryptographyDataServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,7 +130,7 @@ class AccessDeniedException extends PaymentCryptographyDataServiceException {
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- }
133
+ };
134
134
  const MajorKeyDerivationMode = {
135
135
  EMV_OPTION_A: "EMV_OPTION_A",
136
136
  EMV_OPTION_B: "EMV_OPTION_B",
@@ -277,7 +277,7 @@ exports.WrappedKeyMaterial = void 0;
277
277
  return visitor._(value.$unknown[0], value.$unknown[1]);
278
278
  };
279
279
  })(exports.WrappedKeyMaterial || (exports.WrappedKeyMaterial = {}));
280
- class InternalServerException extends PaymentCryptographyDataServiceException {
280
+ let InternalServerException$1 = class InternalServerException extends PaymentCryptographyDataServiceException$1 {
281
281
  name = "InternalServerException";
282
282
  $fault = "server";
283
283
  Message;
@@ -290,8 +290,8 @@ class InternalServerException extends PaymentCryptographyDataServiceException {
290
290
  Object.setPrototypeOf(this, InternalServerException.prototype);
291
291
  this.Message = opts.Message;
292
292
  }
293
- }
294
- class ResourceNotFoundException extends PaymentCryptographyDataServiceException {
293
+ };
294
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends PaymentCryptographyDataServiceException$1 {
295
295
  name = "ResourceNotFoundException";
296
296
  $fault = "client";
297
297
  ResourceId;
@@ -304,8 +304,8 @@ class ResourceNotFoundException extends PaymentCryptographyDataServiceException
304
304
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
305
305
  this.ResourceId = opts.ResourceId;
306
306
  }
307
- }
308
- class ThrottlingException extends PaymentCryptographyDataServiceException {
307
+ };
308
+ let ThrottlingException$1 = class ThrottlingException extends PaymentCryptographyDataServiceException$1 {
309
309
  name = "ThrottlingException";
310
310
  $fault = "client";
311
311
  Message;
@@ -318,8 +318,8 @@ class ThrottlingException extends PaymentCryptographyDataServiceException {
318
318
  Object.setPrototypeOf(this, ThrottlingException.prototype);
319
319
  this.Message = opts.Message;
320
320
  }
321
- }
322
- class ValidationException extends PaymentCryptographyDataServiceException {
321
+ };
322
+ let ValidationException$1 = class ValidationException extends PaymentCryptographyDataServiceException$1 {
323
323
  name = "ValidationException";
324
324
  $fault = "client";
325
325
  fieldList;
@@ -332,7 +332,7 @@ class ValidationException extends PaymentCryptographyDataServiceException {
332
332
  Object.setPrototypeOf(this, ValidationException.prototype);
333
333
  this.fieldList = opts.fieldList;
334
334
  }
335
- }
335
+ };
336
336
  const PinBlockLengthPosition = {
337
337
  FRONT_OF_PIN_BLOCK: "FRONT_OF_PIN_BLOCK",
338
338
  NONE: "NONE",
@@ -498,7 +498,7 @@ const VerificationFailedReason = {
498
498
  INVALID_PIN: "INVALID_PIN",
499
499
  INVALID_VALIDATION_DATA: "INVALID_VALIDATION_DATA",
500
500
  };
501
- class VerificationFailedException extends PaymentCryptographyDataServiceException {
501
+ let VerificationFailedException$1 = class VerificationFailedException extends PaymentCryptographyDataServiceException$1 {
502
502
  name = "VerificationFailedException";
503
503
  $fault = "client";
504
504
  Reason;
@@ -513,7 +513,7 @@ class VerificationFailedException extends PaymentCryptographyDataServiceExceptio
513
513
  this.Reason = opts.Reason;
514
514
  this.Message = opts.Message;
515
515
  }
516
- }
516
+ };
517
517
  exports.SessionKeyDerivation = void 0;
518
518
  (function (SessionKeyDerivation) {
519
519
  SessionKeyDerivation.visit = (value, visitor) => {
@@ -540,1094 +540,1251 @@ exports.PinVerificationAttributes = void 0;
540
540
  return visitor._(value.$unknown[0], value.$unknown[1]);
541
541
  };
542
542
  })(exports.PinVerificationAttributes || (exports.PinVerificationAttributes = {}));
543
- const CurrentPinAttributesFilterSensitiveLog = (obj) => ({
544
- ...obj,
545
- ...(obj.CurrentEncryptedPinBlock && { CurrentEncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
546
- });
547
- const AmexAttributesFilterSensitiveLog = (obj) => ({
548
- ...obj,
549
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
550
- ...(obj.CurrentPinAttributes && {
551
- CurrentPinAttributes: CurrentPinAttributesFilterSensitiveLog(obj.CurrentPinAttributes),
552
- }),
553
- });
554
- const AmexCardSecurityCodeVersion1FilterSensitiveLog = (obj) => ({
555
- ...obj,
556
- ...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
557
- });
558
- const AmexCardSecurityCodeVersion2FilterSensitiveLog = (obj) => ({
559
- ...obj,
560
- ...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
561
- ...(obj.ServiceCode && { ServiceCode: smithyClient.SENSITIVE_STRING }),
562
- });
563
- const CardVerificationValue1FilterSensitiveLog = (obj) => ({
564
- ...obj,
565
- ...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
566
- ...(obj.ServiceCode && { ServiceCode: smithyClient.SENSITIVE_STRING }),
567
- });
568
- const CardVerificationValue2FilterSensitiveLog = (obj) => ({
569
- ...obj,
570
- ...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
571
- });
572
- const DynamicCardVerificationCodeFilterSensitiveLog = (obj) => ({
573
- ...obj,
574
- ...(obj.TrackData && { TrackData: smithyClient.SENSITIVE_STRING }),
575
- });
576
- const DynamicCardVerificationValueFilterSensitiveLog = (obj) => ({
577
- ...obj,
578
- ...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
579
- ...(obj.ServiceCode && { ServiceCode: smithyClient.SENSITIVE_STRING }),
580
- });
581
- const CardGenerationAttributesFilterSensitiveLog = (obj) => {
582
- if (obj.AmexCardSecurityCodeVersion1 !== undefined)
583
- return {
584
- AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1FilterSensitiveLog(obj.AmexCardSecurityCodeVersion1),
585
- };
586
- if (obj.AmexCardSecurityCodeVersion2 !== undefined)
587
- return {
588
- AmexCardSecurityCodeVersion2: AmexCardSecurityCodeVersion2FilterSensitiveLog(obj.AmexCardSecurityCodeVersion2),
589
- };
590
- if (obj.CardVerificationValue1 !== undefined)
591
- return { CardVerificationValue1: CardVerificationValue1FilterSensitiveLog(obj.CardVerificationValue1) };
592
- if (obj.CardVerificationValue2 !== undefined)
593
- return { CardVerificationValue2: CardVerificationValue2FilterSensitiveLog(obj.CardVerificationValue2) };
594
- if (obj.CardHolderVerificationValue !== undefined)
595
- return { CardHolderVerificationValue: obj.CardHolderVerificationValue };
596
- if (obj.DynamicCardVerificationCode !== undefined)
597
- return {
598
- DynamicCardVerificationCode: DynamicCardVerificationCodeFilterSensitiveLog(obj.DynamicCardVerificationCode),
599
- };
600
- if (obj.DynamicCardVerificationValue !== undefined)
601
- return {
602
- DynamicCardVerificationValue: DynamicCardVerificationValueFilterSensitiveLog(obj.DynamicCardVerificationValue),
603
- };
604
- if (obj.$unknown !== undefined)
605
- return { [obj.$unknown[0]]: "UNKNOWN" };
606
- };
607
- const DiscoverDynamicCardVerificationCodeFilterSensitiveLog = (obj) => ({
608
- ...obj,
609
- ...(obj.CardExpiryDate && { CardExpiryDate: smithyClient.SENSITIVE_STRING }),
610
- });
611
- const CardVerificationAttributesFilterSensitiveLog = (obj) => {
612
- if (obj.AmexCardSecurityCodeVersion1 !== undefined)
613
- return {
614
- AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1FilterSensitiveLog(obj.AmexCardSecurityCodeVersion1),
615
- };
616
- if (obj.AmexCardSecurityCodeVersion2 !== undefined)
617
- return {
618
- AmexCardSecurityCodeVersion2: AmexCardSecurityCodeVersion2FilterSensitiveLog(obj.AmexCardSecurityCodeVersion2),
619
- };
620
- if (obj.CardVerificationValue1 !== undefined)
621
- return { CardVerificationValue1: CardVerificationValue1FilterSensitiveLog(obj.CardVerificationValue1) };
622
- if (obj.CardVerificationValue2 !== undefined)
623
- return { CardVerificationValue2: CardVerificationValue2FilterSensitiveLog(obj.CardVerificationValue2) };
624
- if (obj.CardHolderVerificationValue !== undefined)
625
- return { CardHolderVerificationValue: obj.CardHolderVerificationValue };
626
- if (obj.DynamicCardVerificationCode !== undefined)
627
- return {
628
- DynamicCardVerificationCode: DynamicCardVerificationCodeFilterSensitiveLog(obj.DynamicCardVerificationCode),
629
- };
630
- if (obj.DynamicCardVerificationValue !== undefined)
631
- return {
632
- DynamicCardVerificationValue: DynamicCardVerificationValueFilterSensitiveLog(obj.DynamicCardVerificationValue),
633
- };
634
- if (obj.DiscoverDynamicCardVerificationCode !== undefined)
635
- return {
636
- DiscoverDynamicCardVerificationCode: DiscoverDynamicCardVerificationCodeFilterSensitiveLog(obj.DiscoverDynamicCardVerificationCode),
637
- };
638
- if (obj.$unknown !== undefined)
639
- return { [obj.$unknown[0]]: "UNKNOWN" };
640
- };
641
- const CryptogramVerificationArpcMethod2FilterSensitiveLog = (obj) => ({
642
- ...obj,
643
- ...(obj.ProprietaryAuthenticationData && { ProprietaryAuthenticationData: smithyClient.SENSITIVE_STRING }),
644
- });
645
- const CryptogramAuthResponseFilterSensitiveLog = (obj) => {
646
- if (obj.ArpcMethod1 !== undefined)
647
- return { ArpcMethod1: obj.ArpcMethod1 };
648
- if (obj.ArpcMethod2 !== undefined)
649
- return { ArpcMethod2: CryptogramVerificationArpcMethod2FilterSensitiveLog(obj.ArpcMethod2) };
650
- if (obj.$unknown !== undefined)
651
- return { [obj.$unknown[0]]: "UNKNOWN" };
652
- };
653
- const DukptEncryptionAttributesFilterSensitiveLog = (obj) => ({
654
- ...obj,
655
- ...(obj.InitializationVector && { InitializationVector: smithyClient.SENSITIVE_STRING }),
656
- });
657
- const EmvEncryptionAttributesFilterSensitiveLog = (obj) => ({
658
- ...obj,
659
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
660
- ...(obj.SessionDerivationData && { SessionDerivationData: smithyClient.SENSITIVE_STRING }),
661
- ...(obj.InitializationVector && { InitializationVector: smithyClient.SENSITIVE_STRING }),
662
- });
663
- const SymmetricEncryptionAttributesFilterSensitiveLog = (obj) => ({
664
- ...obj,
665
- ...(obj.InitializationVector && { InitializationVector: smithyClient.SENSITIVE_STRING }),
666
- });
667
- const EncryptionDecryptionAttributesFilterSensitiveLog = (obj) => {
668
- if (obj.Symmetric !== undefined)
669
- return { Symmetric: SymmetricEncryptionAttributesFilterSensitiveLog(obj.Symmetric) };
670
- if (obj.Asymmetric !== undefined)
671
- return { Asymmetric: obj.Asymmetric };
672
- if (obj.Dukpt !== undefined)
673
- return { Dukpt: DukptEncryptionAttributesFilterSensitiveLog(obj.Dukpt) };
674
- if (obj.Emv !== undefined)
675
- return { Emv: EmvEncryptionAttributesFilterSensitiveLog(obj.Emv) };
676
- if (obj.$unknown !== undefined)
677
- return { [obj.$unknown[0]]: "UNKNOWN" };
678
- };
679
- const WrappedKeyMaterialFilterSensitiveLog = (obj) => {
680
- if (obj.Tr31KeyBlock !== undefined)
681
- return { Tr31KeyBlock: smithyClient.SENSITIVE_STRING };
682
- if (obj.DiffieHellmanSymmetricKey !== undefined)
683
- return { DiffieHellmanSymmetricKey: obj.DiffieHellmanSymmetricKey };
684
- if (obj.$unknown !== undefined)
685
- return { [obj.$unknown[0]]: "UNKNOWN" };
686
- };
687
- const WrappedKeyFilterSensitiveLog = (obj) => ({
688
- ...obj,
689
- ...(obj.WrappedKeyMaterial && { WrappedKeyMaterial: WrappedKeyMaterialFilterSensitiveLog(obj.WrappedKeyMaterial) }),
690
- });
691
- const DecryptDataInputFilterSensitiveLog = (obj) => ({
692
- ...obj,
693
- ...(obj.CipherText && { CipherText: smithyClient.SENSITIVE_STRING }),
694
- ...(obj.DecryptionAttributes && {
695
- DecryptionAttributes: EncryptionDecryptionAttributesFilterSensitiveLog(obj.DecryptionAttributes),
696
- }),
697
- ...(obj.WrappedKey && { WrappedKey: WrappedKeyFilterSensitiveLog(obj.WrappedKey) }),
698
- });
699
- const DecryptDataOutputFilterSensitiveLog = (obj) => ({
700
- ...obj,
701
- ...(obj.PlainText && { PlainText: smithyClient.SENSITIVE_STRING }),
702
- });
703
- const Emv2000AttributesFilterSensitiveLog = (obj) => ({
704
- ...obj,
705
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
706
- });
707
- const EmvCommonAttributesFilterSensitiveLog = (obj) => ({
708
- ...obj,
709
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
710
- ...(obj.ApplicationCryptogram && { ApplicationCryptogram: smithyClient.SENSITIVE_STRING }),
711
- });
712
- const MasterCardAttributesFilterSensitiveLog = (obj) => ({
713
- ...obj,
714
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
715
- ...(obj.ApplicationCryptogram && { ApplicationCryptogram: smithyClient.SENSITIVE_STRING }),
716
- });
717
- const VisaAttributesFilterSensitiveLog = (obj) => ({
718
- ...obj,
719
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
720
- ...(obj.CurrentPinAttributes && {
721
- CurrentPinAttributes: CurrentPinAttributesFilterSensitiveLog(obj.CurrentPinAttributes),
722
- }),
723
- });
724
- const DerivationMethodAttributesFilterSensitiveLog = (obj) => {
725
- if (obj.EmvCommon !== undefined)
726
- return { EmvCommon: EmvCommonAttributesFilterSensitiveLog(obj.EmvCommon) };
727
- if (obj.Amex !== undefined)
728
- return { Amex: AmexAttributesFilterSensitiveLog(obj.Amex) };
729
- if (obj.Visa !== undefined)
730
- return { Visa: VisaAttributesFilterSensitiveLog(obj.Visa) };
731
- if (obj.Emv2000 !== undefined)
732
- return { Emv2000: Emv2000AttributesFilterSensitiveLog(obj.Emv2000) };
733
- if (obj.Mastercard !== undefined)
734
- return { Mastercard: MasterCardAttributesFilterSensitiveLog(obj.Mastercard) };
735
- if (obj.$unknown !== undefined)
736
- return { [obj.$unknown[0]]: "UNKNOWN" };
737
- };
738
- const EncryptDataInputFilterSensitiveLog = (obj) => ({
739
- ...obj,
740
- ...(obj.PlainText && { PlainText: smithyClient.SENSITIVE_STRING }),
741
- ...(obj.EncryptionAttributes && {
742
- EncryptionAttributes: EncryptionDecryptionAttributesFilterSensitiveLog(obj.EncryptionAttributes),
743
- }),
744
- ...(obj.WrappedKey && { WrappedKey: WrappedKeyFilterSensitiveLog(obj.WrappedKey) }),
745
- });
746
- const EncryptDataOutputFilterSensitiveLog = (obj) => ({
747
- ...obj,
748
- ...(obj.CipherText && { CipherText: smithyClient.SENSITIVE_STRING }),
749
- });
750
- const GenerateCardValidationDataInputFilterSensitiveLog = (obj) => ({
751
- ...obj,
752
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
753
- ...(obj.GenerationAttributes && {
754
- GenerationAttributes: CardGenerationAttributesFilterSensitiveLog(obj.GenerationAttributes),
755
- }),
756
- });
757
- const GenerateCardValidationDataOutputFilterSensitiveLog = (obj) => ({
758
- ...obj,
759
- ...(obj.ValidationData && { ValidationData: smithyClient.SENSITIVE_STRING }),
760
- });
761
- const SessionKeyDerivationValueFilterSensitiveLog = (obj) => {
762
- if (obj.ApplicationCryptogram !== undefined)
763
- return { ApplicationCryptogram: smithyClient.SENSITIVE_STRING };
764
- if (obj.ApplicationTransactionCounter !== undefined)
765
- return { ApplicationTransactionCounter: obj.ApplicationTransactionCounter };
766
- if (obj.$unknown !== undefined)
767
- return { [obj.$unknown[0]]: "UNKNOWN" };
768
- };
769
- const MacAlgorithmEmvFilterSensitiveLog = (obj) => ({
770
- ...obj,
771
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
772
- ...(obj.SessionKeyDerivationValue && {
773
- SessionKeyDerivationValue: SessionKeyDerivationValueFilterSensitiveLog(obj.SessionKeyDerivationValue),
774
- }),
775
- });
776
- const MacAttributesFilterSensitiveLog = (obj) => {
777
- if (obj.Algorithm !== undefined)
778
- return { Algorithm: obj.Algorithm };
779
- if (obj.EmvMac !== undefined)
780
- return { EmvMac: MacAlgorithmEmvFilterSensitiveLog(obj.EmvMac) };
781
- if (obj.DukptIso9797Algorithm1 !== undefined)
782
- return { DukptIso9797Algorithm1: obj.DukptIso9797Algorithm1 };
783
- if (obj.DukptIso9797Algorithm3 !== undefined)
784
- return { DukptIso9797Algorithm3: obj.DukptIso9797Algorithm3 };
785
- if (obj.DukptCmac !== undefined)
786
- return { DukptCmac: obj.DukptCmac };
787
- if (obj.$unknown !== undefined)
788
- return { [obj.$unknown[0]]: "UNKNOWN" };
789
- };
790
- const GenerateMacInputFilterSensitiveLog = (obj) => ({
791
- ...obj,
792
- ...(obj.MessageData && { MessageData: smithyClient.SENSITIVE_STRING }),
793
- ...(obj.GenerationAttributes && { GenerationAttributes: MacAttributesFilterSensitiveLog(obj.GenerationAttributes) }),
794
- });
795
- const GenerateMacOutputFilterSensitiveLog = (obj) => ({
796
- ...obj,
797
- ...(obj.Mac && { Mac: smithyClient.SENSITIVE_STRING }),
798
- });
799
- const GenerateMacEmvPinChangeInputFilterSensitiveLog = (obj) => ({
800
- ...obj,
801
- ...(obj.NewEncryptedPinBlock && { NewEncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
802
- ...(obj.MessageData && { MessageData: smithyClient.SENSITIVE_STRING }),
803
- ...(obj.DerivationMethodAttributes && {
804
- DerivationMethodAttributes: DerivationMethodAttributesFilterSensitiveLog(obj.DerivationMethodAttributes),
805
- }),
806
- });
807
- const GenerateMacEmvPinChangeOutputFilterSensitiveLog = (obj) => ({
808
- ...obj,
809
- ...(obj.Mac && { Mac: smithyClient.SENSITIVE_STRING }),
810
- ...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
811
- });
812
- const Ibm3624NaturalPinFilterSensitiveLog = (obj) => ({
813
- ...obj,
814
- ...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
815
- ...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
816
- });
817
- const Ibm3624PinFromOffsetFilterSensitiveLog = (obj) => ({
818
- ...obj,
819
- ...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
820
- ...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
821
- ...(obj.PinOffset && { PinOffset: smithyClient.SENSITIVE_STRING }),
822
- });
823
- const Ibm3624PinOffsetFilterSensitiveLog = (obj) => ({
824
- ...obj,
825
- ...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
826
- ...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
827
- ...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
828
- });
829
- const Ibm3624RandomPinFilterSensitiveLog = (obj) => ({
830
- ...obj,
831
- ...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
832
- ...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
833
- });
834
- const VisaPinVerificationValueFilterSensitiveLog = (obj) => ({
835
- ...obj,
836
- ...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
837
- });
838
- const PinGenerationAttributesFilterSensitiveLog = (obj) => {
839
- if (obj.VisaPin !== undefined)
840
- return { VisaPin: obj.VisaPin };
841
- if (obj.VisaPinVerificationValue !== undefined)
842
- return { VisaPinVerificationValue: VisaPinVerificationValueFilterSensitiveLog(obj.VisaPinVerificationValue) };
843
- if (obj.Ibm3624PinOffset !== undefined)
844
- return { Ibm3624PinOffset: Ibm3624PinOffsetFilterSensitiveLog(obj.Ibm3624PinOffset) };
845
- if (obj.Ibm3624NaturalPin !== undefined)
846
- return { Ibm3624NaturalPin: Ibm3624NaturalPinFilterSensitiveLog(obj.Ibm3624NaturalPin) };
847
- if (obj.Ibm3624RandomPin !== undefined)
848
- return { Ibm3624RandomPin: Ibm3624RandomPinFilterSensitiveLog(obj.Ibm3624RandomPin) };
849
- if (obj.Ibm3624PinFromOffset !== undefined)
850
- return { Ibm3624PinFromOffset: Ibm3624PinFromOffsetFilterSensitiveLog(obj.Ibm3624PinFromOffset) };
851
- if (obj.$unknown !== undefined)
852
- return { [obj.$unknown[0]]: "UNKNOWN" };
853
- };
854
- const GeneratePinDataInputFilterSensitiveLog = (obj) => ({
855
- ...obj,
856
- ...(obj.GenerationAttributes && {
857
- GenerationAttributes: PinGenerationAttributesFilterSensitiveLog(obj.GenerationAttributes),
858
- }),
859
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
860
- ...(obj.EncryptionWrappedKey && { EncryptionWrappedKey: WrappedKeyFilterSensitiveLog(obj.EncryptionWrappedKey) }),
861
- });
862
- const PinDataFilterSensitiveLog = (obj) => {
863
- if (obj.PinOffset !== undefined)
864
- return { PinOffset: smithyClient.SENSITIVE_STRING };
865
- if (obj.VerificationValue !== undefined)
866
- return { VerificationValue: smithyClient.SENSITIVE_STRING };
867
- if (obj.$unknown !== undefined)
868
- return { [obj.$unknown[0]]: "UNKNOWN" };
869
- };
870
- const GeneratePinDataOutputFilterSensitiveLog = (obj) => ({
871
- ...obj,
872
- ...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
873
- ...(obj.PinData && { PinData: PinDataFilterSensitiveLog(obj.PinData) }),
874
- });
875
- const Ibm3624PinVerificationFilterSensitiveLog = (obj) => ({
876
- ...obj,
877
- ...(obj.DecimalizationTable && { DecimalizationTable: smithyClient.SENSITIVE_STRING }),
878
- ...(obj.PinValidationData && { PinValidationData: smithyClient.SENSITIVE_STRING }),
879
- ...(obj.PinOffset && { PinOffset: smithyClient.SENSITIVE_STRING }),
880
- });
881
- const IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog = (obj) => ({
882
- ...obj,
883
- ...(obj.DerivationData && { DerivationData: obj.DerivationData }),
884
- ...(obj.WrappedKeyBlock && { WrappedKeyBlock: smithyClient.SENSITIVE_STRING }),
885
- });
886
- const IncomingKeyMaterialFilterSensitiveLog = (obj) => {
887
- if (obj.DiffieHellmanTr31KeyBlock !== undefined)
888
- return {
889
- DiffieHellmanTr31KeyBlock: IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog(obj.DiffieHellmanTr31KeyBlock),
890
- };
891
- if (obj.$unknown !== undefined)
892
- return { [obj.$unknown[0]]: "UNKNOWN" };
893
- };
894
- const ReEncryptionAttributesFilterSensitiveLog = (obj) => {
895
- if (obj.Symmetric !== undefined)
896
- return { Symmetric: SymmetricEncryptionAttributesFilterSensitiveLog(obj.Symmetric) };
897
- if (obj.Dukpt !== undefined)
898
- return { Dukpt: DukptEncryptionAttributesFilterSensitiveLog(obj.Dukpt) };
899
- if (obj.$unknown !== undefined)
900
- return { [obj.$unknown[0]]: "UNKNOWN" };
901
- };
902
- const ReEncryptDataInputFilterSensitiveLog = (obj) => ({
903
- ...obj,
904
- ...(obj.CipherText && { CipherText: smithyClient.SENSITIVE_STRING }),
905
- ...(obj.IncomingEncryptionAttributes && {
906
- IncomingEncryptionAttributes: ReEncryptionAttributesFilterSensitiveLog(obj.IncomingEncryptionAttributes),
907
- }),
908
- ...(obj.OutgoingEncryptionAttributes && {
909
- OutgoingEncryptionAttributes: ReEncryptionAttributesFilterSensitiveLog(obj.OutgoingEncryptionAttributes),
910
- }),
911
- ...(obj.IncomingWrappedKey && { IncomingWrappedKey: WrappedKeyFilterSensitiveLog(obj.IncomingWrappedKey) }),
912
- ...(obj.OutgoingWrappedKey && { OutgoingWrappedKey: WrappedKeyFilterSensitiveLog(obj.OutgoingWrappedKey) }),
913
- });
914
- const ReEncryptDataOutputFilterSensitiveLog = (obj) => ({
915
- ...obj,
916
- ...(obj.CipherText && { CipherText: smithyClient.SENSITIVE_STRING }),
917
- });
918
- const TranslateKeyMaterialInputFilterSensitiveLog = (obj) => ({
919
- ...obj,
920
- ...(obj.IncomingKeyMaterial && {
921
- IncomingKeyMaterial: IncomingKeyMaterialFilterSensitiveLog(obj.IncomingKeyMaterial),
922
- }),
923
- ...(obj.OutgoingKeyMaterial && { OutgoingKeyMaterial: obj.OutgoingKeyMaterial }),
924
- });
925
- const WrappedWorkingKeyFilterSensitiveLog = (obj) => ({
926
- ...obj,
927
- ...(obj.WrappedKeyMaterial && { WrappedKeyMaterial: smithyClient.SENSITIVE_STRING }),
928
- });
929
- const TranslateKeyMaterialOutputFilterSensitiveLog = (obj) => ({
930
- ...obj,
931
- ...(obj.WrappedKey && { WrappedKey: WrappedWorkingKeyFilterSensitiveLog(obj.WrappedKey) }),
932
- });
933
- const TranslationPinDataIsoFormat034FilterSensitiveLog = (obj) => ({
934
- ...obj,
935
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
936
- });
937
- const TranslationIsoFormatsFilterSensitiveLog = (obj) => {
938
- if (obj.IsoFormat0 !== undefined)
939
- return { IsoFormat0: TranslationPinDataIsoFormat034FilterSensitiveLog(obj.IsoFormat0) };
940
- if (obj.IsoFormat1 !== undefined)
941
- return { IsoFormat1: obj.IsoFormat1 };
942
- if (obj.IsoFormat3 !== undefined)
943
- return { IsoFormat3: TranslationPinDataIsoFormat034FilterSensitiveLog(obj.IsoFormat3) };
944
- if (obj.IsoFormat4 !== undefined)
945
- return { IsoFormat4: TranslationPinDataIsoFormat034FilterSensitiveLog(obj.IsoFormat4) };
946
- if (obj.$unknown !== undefined)
947
- return { [obj.$unknown[0]]: "UNKNOWN" };
948
- };
949
- const TranslatePinDataInputFilterSensitiveLog = (obj) => ({
950
- ...obj,
951
- ...(obj.IncomingTranslationAttributes && {
952
- IncomingTranslationAttributes: TranslationIsoFormatsFilterSensitiveLog(obj.IncomingTranslationAttributes),
953
- }),
954
- ...(obj.OutgoingTranslationAttributes && {
955
- OutgoingTranslationAttributes: TranslationIsoFormatsFilterSensitiveLog(obj.OutgoingTranslationAttributes),
956
- }),
957
- ...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
958
- ...(obj.IncomingWrappedKey && { IncomingWrappedKey: WrappedKeyFilterSensitiveLog(obj.IncomingWrappedKey) }),
959
- ...(obj.OutgoingWrappedKey && { OutgoingWrappedKey: WrappedKeyFilterSensitiveLog(obj.OutgoingWrappedKey) }),
960
- });
961
- const TranslatePinDataOutputFilterSensitiveLog = (obj) => ({
962
- ...obj,
963
- ...(obj.PinBlock && { PinBlock: smithyClient.SENSITIVE_STRING }),
964
- });
965
- const SessionKeyAmexFilterSensitiveLog = (obj) => ({
966
- ...obj,
967
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
968
- });
969
- const SessionKeyEmv2000FilterSensitiveLog = (obj) => ({
970
- ...obj,
971
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
972
- });
973
- const SessionKeyEmvCommonFilterSensitiveLog = (obj) => ({
974
- ...obj,
975
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
976
- });
977
- const SessionKeyMastercardFilterSensitiveLog = (obj) => ({
978
- ...obj,
979
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
980
- });
981
- const SessionKeyVisaFilterSensitiveLog = (obj) => ({
982
- ...obj,
983
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
984
- });
985
- const SessionKeyDerivationFilterSensitiveLog = (obj) => {
986
- if (obj.EmvCommon !== undefined)
987
- return { EmvCommon: SessionKeyEmvCommonFilterSensitiveLog(obj.EmvCommon) };
988
- if (obj.Mastercard !== undefined)
989
- return { Mastercard: SessionKeyMastercardFilterSensitiveLog(obj.Mastercard) };
990
- if (obj.Emv2000 !== undefined)
991
- return { Emv2000: SessionKeyEmv2000FilterSensitiveLog(obj.Emv2000) };
992
- if (obj.Amex !== undefined)
993
- return { Amex: SessionKeyAmexFilterSensitiveLog(obj.Amex) };
994
- if (obj.Visa !== undefined)
995
- return { Visa: SessionKeyVisaFilterSensitiveLog(obj.Visa) };
996
- if (obj.$unknown !== undefined)
997
- return { [obj.$unknown[0]]: "UNKNOWN" };
998
- };
999
- const VerifyAuthRequestCryptogramInputFilterSensitiveLog = (obj) => ({
1000
- ...obj,
1001
- ...(obj.TransactionData && { TransactionData: smithyClient.SENSITIVE_STRING }),
1002
- ...(obj.AuthRequestCryptogram && { AuthRequestCryptogram: smithyClient.SENSITIVE_STRING }),
1003
- ...(obj.SessionKeyDerivationAttributes && {
1004
- SessionKeyDerivationAttributes: SessionKeyDerivationFilterSensitiveLog(obj.SessionKeyDerivationAttributes),
1005
- }),
1006
- ...(obj.AuthResponseAttributes && {
1007
- AuthResponseAttributes: CryptogramAuthResponseFilterSensitiveLog(obj.AuthResponseAttributes),
1008
- }),
1009
- });
1010
- const VerifyAuthRequestCryptogramOutputFilterSensitiveLog = (obj) => ({
1011
- ...obj,
1012
- ...(obj.AuthResponseValue && { AuthResponseValue: smithyClient.SENSITIVE_STRING }),
1013
- });
1014
- const VerifyCardValidationDataInputFilterSensitiveLog = (obj) => ({
1015
- ...obj,
1016
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
1017
- ...(obj.VerificationAttributes && {
1018
- VerificationAttributes: CardVerificationAttributesFilterSensitiveLog(obj.VerificationAttributes),
1019
- }),
1020
- ...(obj.ValidationData && { ValidationData: smithyClient.SENSITIVE_STRING }),
1021
- });
1022
- const VerifyMacInputFilterSensitiveLog = (obj) => ({
1023
- ...obj,
1024
- ...(obj.MessageData && { MessageData: smithyClient.SENSITIVE_STRING }),
1025
- ...(obj.Mac && { Mac: smithyClient.SENSITIVE_STRING }),
1026
- ...(obj.VerificationAttributes && {
1027
- VerificationAttributes: MacAttributesFilterSensitiveLog(obj.VerificationAttributes),
1028
- }),
1029
- });
1030
- const VisaPinVerificationFilterSensitiveLog = (obj) => ({
1031
- ...obj,
1032
- ...(obj.VerificationValue && { VerificationValue: smithyClient.SENSITIVE_STRING }),
1033
- });
1034
- const PinVerificationAttributesFilterSensitiveLog = (obj) => {
1035
- if (obj.VisaPin !== undefined)
1036
- return { VisaPin: VisaPinVerificationFilterSensitiveLog(obj.VisaPin) };
1037
- if (obj.Ibm3624Pin !== undefined)
1038
- return { Ibm3624Pin: Ibm3624PinVerificationFilterSensitiveLog(obj.Ibm3624Pin) };
1039
- if (obj.$unknown !== undefined)
1040
- return { [obj.$unknown[0]]: "UNKNOWN" };
1041
- };
1042
- const VerifyPinDataInputFilterSensitiveLog = (obj) => ({
1043
- ...obj,
1044
- ...(obj.VerificationAttributes && {
1045
- VerificationAttributes: PinVerificationAttributesFilterSensitiveLog(obj.VerificationAttributes),
1046
- }),
1047
- ...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithyClient.SENSITIVE_STRING }),
1048
- ...(obj.PrimaryAccountNumber && { PrimaryAccountNumber: smithyClient.SENSITIVE_STRING }),
1049
- ...(obj.EncryptionWrappedKey && { EncryptionWrappedKey: WrappedKeyFilterSensitiveLog(obj.EncryptionWrappedKey) }),
1050
- });
1051
543
 
1052
- const se_DecryptDataCommand = async (input, context) => {
1053
- const b = core.requestBuilder(input, context);
1054
- const headers = {
1055
- "content-type": "application/json",
1056
- };
1057
- b.bp("/keys/{KeyIdentifier}/decrypt");
1058
- b.p("KeyIdentifier", () => input.KeyIdentifier, "{KeyIdentifier}", false);
1059
- let body;
1060
- body = JSON.stringify(smithyClient.take(input, {
1061
- CipherText: [],
1062
- DecryptionAttributes: (_) => smithyClient._json(_),
1063
- WrappedKey: (_) => smithyClient._json(_),
1064
- }));
1065
- b.m("POST").h(headers).b(body);
1066
- return b.build();
1067
- };
1068
- const se_EncryptDataCommand = async (input, context) => {
1069
- const b = core.requestBuilder(input, context);
1070
- const headers = {
1071
- "content-type": "application/json",
1072
- };
1073
- b.bp("/keys/{KeyIdentifier}/encrypt");
1074
- b.p("KeyIdentifier", () => input.KeyIdentifier, "{KeyIdentifier}", false);
1075
- let body;
1076
- body = JSON.stringify(smithyClient.take(input, {
1077
- EncryptionAttributes: (_) => smithyClient._json(_),
1078
- PlainText: [],
1079
- WrappedKey: (_) => smithyClient._json(_),
1080
- }));
1081
- b.m("POST").h(headers).b(body);
1082
- return b.build();
1083
- };
1084
- const se_GenerateCardValidationDataCommand = async (input, context) => {
1085
- const b = core.requestBuilder(input, context);
1086
- const headers = {
1087
- "content-type": "application/json",
1088
- };
1089
- b.bp("/cardvalidationdata/generate");
1090
- let body;
1091
- body = JSON.stringify(smithyClient.take(input, {
1092
- GenerationAttributes: (_) => smithyClient._json(_),
1093
- KeyIdentifier: [],
1094
- PrimaryAccountNumber: [],
1095
- ValidationDataLength: [],
1096
- }));
1097
- b.m("POST").h(headers).b(body);
1098
- return b.build();
1099
- };
1100
- const se_GenerateMacCommand = async (input, context) => {
1101
- const b = core.requestBuilder(input, context);
1102
- const headers = {
1103
- "content-type": "application/json",
1104
- };
1105
- b.bp("/mac/generate");
1106
- let body;
1107
- body = JSON.stringify(smithyClient.take(input, {
1108
- GenerationAttributes: (_) => smithyClient._json(_),
1109
- KeyIdentifier: [],
1110
- MacLength: [],
1111
- MessageData: [],
1112
- }));
1113
- b.m("POST").h(headers).b(body);
1114
- return b.build();
1115
- };
1116
- const se_GenerateMacEmvPinChangeCommand = async (input, context) => {
1117
- const b = core.requestBuilder(input, context);
1118
- const headers = {
1119
- "content-type": "application/json",
1120
- };
1121
- b.bp("/macemvpinchange/generate");
1122
- let body;
1123
- body = JSON.stringify(smithyClient.take(input, {
1124
- DerivationMethodAttributes: (_) => smithyClient._json(_),
1125
- MessageData: [],
1126
- NewEncryptedPinBlock: [],
1127
- NewPinPekIdentifier: [],
1128
- PinBlockFormat: [],
1129
- SecureMessagingConfidentialityKeyIdentifier: [],
1130
- SecureMessagingIntegrityKeyIdentifier: [],
1131
- }));
1132
- b.m("POST").h(headers).b(body);
1133
- return b.build();
1134
- };
1135
- const se_GeneratePinDataCommand = async (input, context) => {
1136
- const b = core.requestBuilder(input, context);
1137
- const headers = {
1138
- "content-type": "application/json",
1139
- };
1140
- b.bp("/pindata/generate");
1141
- let body;
1142
- body = JSON.stringify(smithyClient.take(input, {
1143
- EncryptionKeyIdentifier: [],
1144
- EncryptionWrappedKey: (_) => smithyClient._json(_),
1145
- GenerationAttributes: (_) => smithyClient._json(_),
1146
- GenerationKeyIdentifier: [],
1147
- PinBlockFormat: [],
1148
- PinDataLength: [],
1149
- PrimaryAccountNumber: [],
1150
- }));
1151
- b.m("POST").h(headers).b(body);
1152
- return b.build();
1153
- };
1154
- const se_ReEncryptDataCommand = async (input, context) => {
1155
- const b = core.requestBuilder(input, context);
1156
- const headers = {
1157
- "content-type": "application/json",
1158
- };
1159
- b.bp("/keys/{IncomingKeyIdentifier}/reencrypt");
1160
- b.p("IncomingKeyIdentifier", () => input.IncomingKeyIdentifier, "{IncomingKeyIdentifier}", false);
1161
- let body;
1162
- body = JSON.stringify(smithyClient.take(input, {
1163
- CipherText: [],
1164
- IncomingEncryptionAttributes: (_) => smithyClient._json(_),
1165
- IncomingWrappedKey: (_) => smithyClient._json(_),
1166
- OutgoingEncryptionAttributes: (_) => smithyClient._json(_),
1167
- OutgoingKeyIdentifier: [],
1168
- OutgoingWrappedKey: (_) => smithyClient._json(_),
1169
- }));
1170
- b.m("POST").h(headers).b(body);
1171
- return b.build();
1172
- };
1173
- const se_TranslateKeyMaterialCommand = async (input, context) => {
1174
- const b = core.requestBuilder(input, context);
1175
- const headers = {
1176
- "content-type": "application/json",
1177
- };
1178
- b.bp("/keymaterial/translate");
1179
- let body;
1180
- body = JSON.stringify(smithyClient.take(input, {
1181
- IncomingKeyMaterial: (_) => smithyClient._json(_),
1182
- KeyCheckValueAlgorithm: [],
1183
- OutgoingKeyMaterial: (_) => smithyClient._json(_),
1184
- }));
1185
- b.m("POST").h(headers).b(body);
1186
- return b.build();
1187
- };
1188
- const se_TranslatePinDataCommand = async (input, context) => {
1189
- const b = core.requestBuilder(input, context);
1190
- const headers = {
1191
- "content-type": "application/json",
1192
- };
1193
- b.bp("/pindata/translate");
1194
- let body;
1195
- body = JSON.stringify(smithyClient.take(input, {
1196
- EncryptedPinBlock: [],
1197
- IncomingDukptAttributes: (_) => smithyClient._json(_),
1198
- IncomingKeyIdentifier: [],
1199
- IncomingTranslationAttributes: (_) => smithyClient._json(_),
1200
- IncomingWrappedKey: (_) => smithyClient._json(_),
1201
- OutgoingDukptAttributes: (_) => smithyClient._json(_),
1202
- OutgoingKeyIdentifier: [],
1203
- OutgoingTranslationAttributes: (_) => smithyClient._json(_),
1204
- OutgoingWrappedKey: (_) => smithyClient._json(_),
1205
- }));
1206
- b.m("POST").h(headers).b(body);
1207
- return b.build();
1208
- };
1209
- const se_VerifyAuthRequestCryptogramCommand = async (input, context) => {
1210
- const b = core.requestBuilder(input, context);
1211
- const headers = {
1212
- "content-type": "application/json",
1213
- };
1214
- b.bp("/cryptogram/verify");
1215
- let body;
1216
- body = JSON.stringify(smithyClient.take(input, {
1217
- AuthRequestCryptogram: [],
1218
- AuthResponseAttributes: (_) => smithyClient._json(_),
1219
- KeyIdentifier: [],
1220
- MajorKeyDerivationMode: [],
1221
- SessionKeyDerivationAttributes: (_) => smithyClient._json(_),
1222
- TransactionData: [],
1223
- }));
1224
- b.m("POST").h(headers).b(body);
1225
- return b.build();
1226
- };
1227
- const se_VerifyCardValidationDataCommand = async (input, context) => {
1228
- const b = core.requestBuilder(input, context);
1229
- const headers = {
1230
- "content-type": "application/json",
1231
- };
1232
- b.bp("/cardvalidationdata/verify");
1233
- let body;
1234
- body = JSON.stringify(smithyClient.take(input, {
1235
- KeyIdentifier: [],
1236
- PrimaryAccountNumber: [],
1237
- ValidationData: [],
1238
- VerificationAttributes: (_) => smithyClient._json(_),
1239
- }));
1240
- b.m("POST").h(headers).b(body);
1241
- return b.build();
1242
- };
1243
- const se_VerifyMacCommand = async (input, context) => {
1244
- const b = core.requestBuilder(input, context);
1245
- const headers = {
1246
- "content-type": "application/json",
1247
- };
1248
- b.bp("/mac/verify");
1249
- let body;
1250
- body = JSON.stringify(smithyClient.take(input, {
1251
- KeyIdentifier: [],
1252
- Mac: [],
1253
- MacLength: [],
1254
- MessageData: [],
1255
- VerificationAttributes: (_) => smithyClient._json(_),
1256
- }));
1257
- b.m("POST").h(headers).b(body);
1258
- return b.build();
1259
- };
1260
- const se_VerifyPinDataCommand = async (input, context) => {
1261
- const b = core.requestBuilder(input, context);
1262
- const headers = {
1263
- "content-type": "application/json",
1264
- };
1265
- b.bp("/pindata/verify");
1266
- let body;
1267
- body = JSON.stringify(smithyClient.take(input, {
1268
- DukptAttributes: (_) => smithyClient._json(_),
1269
- EncryptedPinBlock: [],
1270
- EncryptionKeyIdentifier: [],
1271
- EncryptionWrappedKey: (_) => smithyClient._json(_),
1272
- PinBlockFormat: [],
1273
- PinDataLength: [],
1274
- PrimaryAccountNumber: [],
1275
- VerificationAttributes: (_) => smithyClient._json(_),
1276
- VerificationKeyIdentifier: [],
1277
- }));
1278
- b.m("POST").h(headers).b(body);
1279
- return b.build();
1280
- };
1281
- const de_DecryptDataCommand = async (output, context) => {
1282
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1283
- return de_CommandError(output, context);
1284
- }
1285
- const contents = smithyClient.map({
1286
- $metadata: deserializeMetadata(output),
1287
- });
1288
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1289
- const doc = smithyClient.take(data, {
1290
- KeyArn: smithyClient.expectString,
1291
- KeyCheckValue: smithyClient.expectString,
1292
- PlainText: smithyClient.expectString,
1293
- });
1294
- Object.assign(contents, doc);
1295
- return contents;
1296
- };
1297
- const de_EncryptDataCommand = async (output, context) => {
1298
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1299
- return de_CommandError(output, context);
1300
- }
1301
- const contents = smithyClient.map({
1302
- $metadata: deserializeMetadata(output),
1303
- });
1304
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1305
- const doc = smithyClient.take(data, {
1306
- CipherText: smithyClient.expectString,
1307
- KeyArn: smithyClient.expectString,
1308
- KeyCheckValue: smithyClient.expectString,
1309
- });
1310
- Object.assign(contents, doc);
1311
- return contents;
1312
- };
1313
- const de_GenerateCardValidationDataCommand = async (output, context) => {
1314
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1315
- return de_CommandError(output, context);
1316
- }
1317
- const contents = smithyClient.map({
1318
- $metadata: deserializeMetadata(output),
1319
- });
1320
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1321
- const doc = smithyClient.take(data, {
1322
- KeyArn: smithyClient.expectString,
1323
- KeyCheckValue: smithyClient.expectString,
1324
- ValidationData: smithyClient.expectString,
1325
- });
1326
- Object.assign(contents, doc);
1327
- return contents;
1328
- };
1329
- const de_GenerateMacCommand = async (output, context) => {
1330
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1331
- return de_CommandError(output, context);
1332
- }
1333
- const contents = smithyClient.map({
1334
- $metadata: deserializeMetadata(output),
1335
- });
1336
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1337
- const doc = smithyClient.take(data, {
1338
- KeyArn: smithyClient.expectString,
1339
- KeyCheckValue: smithyClient.expectString,
1340
- Mac: smithyClient.expectString,
1341
- });
1342
- Object.assign(contents, doc);
1343
- return contents;
1344
- };
1345
- const de_GenerateMacEmvPinChangeCommand = async (output, context) => {
1346
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1347
- return de_CommandError(output, context);
1348
- }
1349
- const contents = smithyClient.map({
1350
- $metadata: deserializeMetadata(output),
1351
- });
1352
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1353
- const doc = smithyClient.take(data, {
1354
- EncryptedPinBlock: smithyClient.expectString,
1355
- Mac: smithyClient.expectString,
1356
- NewPinPekArn: smithyClient.expectString,
1357
- NewPinPekKeyCheckValue: smithyClient.expectString,
1358
- SecureMessagingConfidentialityKeyArn: smithyClient.expectString,
1359
- SecureMessagingConfidentialityKeyCheckValue: smithyClient.expectString,
1360
- SecureMessagingIntegrityKeyArn: smithyClient.expectString,
1361
- SecureMessagingIntegrityKeyCheckValue: smithyClient.expectString,
1362
- VisaAmexDerivationOutputs: smithyClient._json,
1363
- });
1364
- Object.assign(contents, doc);
1365
- return contents;
1366
- };
1367
- const de_GeneratePinDataCommand = async (output, context) => {
1368
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1369
- return de_CommandError(output, context);
1370
- }
1371
- const contents = smithyClient.map({
1372
- $metadata: deserializeMetadata(output),
1373
- });
1374
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1375
- const doc = smithyClient.take(data, {
1376
- EncryptedPinBlock: smithyClient.expectString,
1377
- EncryptionKeyArn: smithyClient.expectString,
1378
- EncryptionKeyCheckValue: smithyClient.expectString,
1379
- GenerationKeyArn: smithyClient.expectString,
1380
- GenerationKeyCheckValue: smithyClient.expectString,
1381
- PinData: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1382
- });
1383
- Object.assign(contents, doc);
1384
- return contents;
1385
- };
1386
- const de_ReEncryptDataCommand = async (output, context) => {
1387
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1388
- return de_CommandError(output, context);
1389
- }
1390
- const contents = smithyClient.map({
1391
- $metadata: deserializeMetadata(output),
1392
- });
1393
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1394
- const doc = smithyClient.take(data, {
1395
- CipherText: smithyClient.expectString,
1396
- KeyArn: smithyClient.expectString,
1397
- KeyCheckValue: smithyClient.expectString,
1398
- });
1399
- Object.assign(contents, doc);
1400
- return contents;
1401
- };
1402
- const de_TranslateKeyMaterialCommand = async (output, context) => {
1403
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1404
- return de_CommandError(output, context);
1405
- }
1406
- const contents = smithyClient.map({
1407
- $metadata: deserializeMetadata(output),
1408
- });
1409
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1410
- const doc = smithyClient.take(data, {
1411
- WrappedKey: smithyClient._json,
1412
- });
1413
- Object.assign(contents, doc);
1414
- return contents;
1415
- };
1416
- const de_TranslatePinDataCommand = async (output, context) => {
1417
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1418
- return de_CommandError(output, context);
1419
- }
1420
- const contents = smithyClient.map({
1421
- $metadata: deserializeMetadata(output),
1422
- });
1423
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1424
- const doc = smithyClient.take(data, {
1425
- KeyArn: smithyClient.expectString,
1426
- KeyCheckValue: smithyClient.expectString,
1427
- PinBlock: smithyClient.expectString,
1428
- });
1429
- Object.assign(contents, doc);
1430
- return contents;
1431
- };
1432
- const de_VerifyAuthRequestCryptogramCommand = async (output, context) => {
1433
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1434
- return de_CommandError(output, context);
1435
- }
1436
- const contents = smithyClient.map({
1437
- $metadata: deserializeMetadata(output),
1438
- });
1439
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1440
- const doc = smithyClient.take(data, {
1441
- AuthResponseValue: smithyClient.expectString,
1442
- KeyArn: smithyClient.expectString,
1443
- KeyCheckValue: smithyClient.expectString,
1444
- });
1445
- Object.assign(contents, doc);
1446
- return contents;
1447
- };
1448
- const de_VerifyCardValidationDataCommand = async (output, context) => {
1449
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1450
- return de_CommandError(output, context);
1451
- }
1452
- const contents = smithyClient.map({
1453
- $metadata: deserializeMetadata(output),
1454
- });
1455
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1456
- const doc = smithyClient.take(data, {
1457
- KeyArn: smithyClient.expectString,
1458
- KeyCheckValue: smithyClient.expectString,
1459
- });
1460
- Object.assign(contents, doc);
1461
- return contents;
1462
- };
1463
- const de_VerifyMacCommand = async (output, context) => {
1464
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1465
- return de_CommandError(output, context);
1466
- }
1467
- const contents = smithyClient.map({
1468
- $metadata: deserializeMetadata(output),
1469
- });
1470
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1471
- const doc = smithyClient.take(data, {
1472
- KeyArn: smithyClient.expectString,
1473
- KeyCheckValue: smithyClient.expectString,
1474
- });
1475
- Object.assign(contents, doc);
1476
- return contents;
1477
- };
1478
- const de_VerifyPinDataCommand = async (output, context) => {
1479
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1480
- return de_CommandError(output, context);
1481
- }
1482
- const contents = smithyClient.map({
1483
- $metadata: deserializeMetadata(output),
1484
- });
1485
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1486
- const doc = smithyClient.take(data, {
1487
- EncryptionKeyArn: smithyClient.expectString,
1488
- EncryptionKeyCheckValue: smithyClient.expectString,
1489
- VerificationKeyArn: smithyClient.expectString,
1490
- VerificationKeyCheckValue: smithyClient.expectString,
1491
- });
1492
- Object.assign(contents, doc);
1493
- return contents;
1494
- };
1495
- const de_CommandError = async (output, context) => {
1496
- const parsedOutput = {
1497
- ...output,
1498
- body: await core$1.parseJsonErrorBody(output.body, context),
1499
- };
1500
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1501
- switch (errorCode) {
1502
- case "AccessDeniedException":
1503
- case "com.amazonaws.paymentcryptographydata#AccessDeniedException":
1504
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1505
- case "InternalServerException":
1506
- case "com.amazonaws.paymentcryptographydata#InternalServerException":
1507
- throw await de_InternalServerExceptionRes(parsedOutput);
1508
- case "ResourceNotFoundException":
1509
- case "com.amazonaws.paymentcryptographydata#ResourceNotFoundException":
1510
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1511
- case "ThrottlingException":
1512
- case "com.amazonaws.paymentcryptographydata#ThrottlingException":
1513
- throw await de_ThrottlingExceptionRes(parsedOutput);
1514
- case "ValidationException":
1515
- case "com.amazonaws.paymentcryptographydata#ValidationException":
1516
- throw await de_ValidationExceptionRes(parsedOutput);
1517
- case "VerificationFailedException":
1518
- case "com.amazonaws.paymentcryptographydata#VerificationFailedException":
1519
- throw await de_VerificationFailedExceptionRes(parsedOutput);
1520
- default:
1521
- const parsedBody = parsedOutput.body;
1522
- return throwDefaultError({
1523
- output,
1524
- parsedBody,
1525
- errorCode,
1526
- });
1527
- }
1528
- };
1529
- const throwDefaultError = smithyClient.withBaseException(PaymentCryptographyDataServiceException);
1530
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1531
- const contents = smithyClient.map({});
1532
- const data = parsedOutput.body;
1533
- const doc = smithyClient.take(data, {
1534
- Message: smithyClient.expectString,
1535
- });
1536
- Object.assign(contents, doc);
1537
- const exception = new AccessDeniedException({
1538
- $metadata: deserializeMetadata(parsedOutput),
1539
- ...contents,
1540
- });
1541
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1542
- };
1543
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1544
- const contents = smithyClient.map({});
1545
- const data = parsedOutput.body;
1546
- const doc = smithyClient.take(data, {
1547
- Message: smithyClient.expectString,
1548
- });
1549
- Object.assign(contents, doc);
1550
- const exception = new InternalServerException({
1551
- $metadata: deserializeMetadata(parsedOutput),
1552
- ...contents,
1553
- });
1554
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1555
- };
1556
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1557
- const contents = smithyClient.map({});
1558
- const data = parsedOutput.body;
1559
- const doc = smithyClient.take(data, {
1560
- ResourceId: smithyClient.expectString,
1561
- });
1562
- Object.assign(contents, doc);
1563
- const exception = new ResourceNotFoundException({
1564
- $metadata: deserializeMetadata(parsedOutput),
1565
- ...contents,
1566
- });
1567
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1568
- };
1569
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1570
- const contents = smithyClient.map({});
1571
- const data = parsedOutput.body;
1572
- const doc = smithyClient.take(data, {
1573
- Message: smithyClient.expectString,
1574
- });
1575
- Object.assign(contents, doc);
1576
- const exception = new ThrottlingException({
1577
- $metadata: deserializeMetadata(parsedOutput),
1578
- ...contents,
1579
- });
1580
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1581
- };
1582
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1583
- const contents = smithyClient.map({});
1584
- const data = parsedOutput.body;
1585
- const doc = smithyClient.take(data, {
1586
- fieldList: smithyClient._json,
1587
- message: smithyClient.expectString,
1588
- });
1589
- Object.assign(contents, doc);
1590
- const exception = new ValidationException({
1591
- $metadata: deserializeMetadata(parsedOutput),
1592
- ...contents,
1593
- });
1594
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1595
- };
1596
- const de_VerificationFailedExceptionRes = async (parsedOutput, context) => {
1597
- const contents = smithyClient.map({});
1598
- const data = parsedOutput.body;
1599
- const doc = smithyClient.take(data, {
1600
- Message: smithyClient.expectString,
1601
- Reason: smithyClient.expectString,
1602
- });
1603
- Object.assign(contents, doc);
1604
- const exception = new VerificationFailedException({
1605
- $metadata: deserializeMetadata(parsedOutput),
1606
- ...contents,
1607
- });
1608
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1609
- };
1610
- const deserializeMetadata = (output) => ({
1611
- httpStatusCode: output.statusCode,
1612
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1613
- extendedRequestId: output.headers["x-amz-id-2"],
1614
- cfId: output.headers["x-amz-cf-id"],
1615
- });
544
+ const _A = "Amex";
545
+ const _AA = "AmexAttributes";
546
+ const _AC = "ApplicationCryptogram";
547
+ const _ACSCV = "AmexCardSecurityCodeVersion1";
548
+ const _ACSCVm = "AmexCardSecurityCodeVersion2";
549
+ const _ACT = "ApplicationCryptogramType";
550
+ const _ADE = "AccessDeniedException";
551
+ const _AEA = "AsymmetricEncryptionAttributes";
552
+ const _AM = "ArpcMethod1";
553
+ const _AMr = "ArpcMethod2";
554
+ const _ARA = "AuthResponseAttributes";
555
+ const _ARC = "AuthResponseCode";
556
+ const _ARCT = "AuthRequestCryptogramType";
557
+ const _ARCu = "AuthRequestCryptogram";
558
+ const _ARKA = "AuthorizationRequestKeyArn";
559
+ const _ARKCV = "AuthorizationRequestKeyCheckValue";
560
+ const _ARKI = "AuthorizationRequestKeyIdentifier";
561
+ const _ARV = "AuthResponseValue";
562
+ const _ARVT = "AuthResponseValueType";
563
+ const _ATC = "ApplicationTransactionCounter";
564
+ const _Al = "Algorithm";
565
+ const _As = "Asymmetric";
566
+ const _CAPKI = "CertificateAuthorityPublicKeyIdentifier";
567
+ const _CAR = "CryptogramAuthResponse";
568
+ const _CED = "CardExpiryDate";
569
+ const _CEDT = "CardExpiryDateType";
570
+ const _CEPB = "CurrentEncryptedPinBlock";
571
+ const _CGA = "CardGenerationAttributes";
572
+ const _CHVV = "CardHolderVerificationValue";
573
+ const _CMDT = "CommandMessageDataType";
574
+ const _CPA = "CurrentPinAttributes";
575
+ const _CPPA = "CurrentPinPekArn";
576
+ const _CPPI = "CurrentPinPekIdentifier";
577
+ const _CPPKCV = "CurrentPinPekKeyCheckValue";
578
+ const _CSU = "CardStatusUpdate";
579
+ const _CT = "CipherText";
580
+ const _CTT = "CipherTextType";
581
+ const _CVA = "CardVerificationAttributes";
582
+ const _CVAM = "CryptogramVerificationArpcMethod1";
583
+ const _CVAMr = "CryptogramVerificationArpcMethod2";
584
+ const _CVV = "CardVerificationValue1";
585
+ const _CVVa = "CardVerificationValue2";
586
+ const _D = "Dukpt";
587
+ const _DA = "DecryptionAttributes";
588
+ const _DAu = "DukptAttributes";
589
+ const _DC = "DukptCmac";
590
+ const _DCVC = "DynamicCardVerificationCode";
591
+ const _DCVV = "DynamicCardVerificationValue";
592
+ const _DD = "DerivationData";
593
+ const _DDA = "DukptDerivationAttributes";
594
+ const _DDCVC = "DiscoverDynamicCardVerificationCode";
595
+ const _DDI = "DecryptDataInput";
596
+ const _DDO = "DecryptDataOutput";
597
+ const _DDT = "DukptDerivationType";
598
+ const _DDe = "DecryptData";
599
+ const _DEA = "DukptEncryptionAttributes";
600
+ const _DHDD = "DiffieHellmanDerivationData";
601
+ const _DHSK = "DiffieHellmanSymmetricKey";
602
+ const _DHTKB = "DiffieHellmanTr31KeyBlock";
603
+ const _DIA = "DukptIso9797Algorithm1";
604
+ const _DIAu = "DukptIso9797Algorithm3";
605
+ const _DKA = "DeriveKeyAlgorithm";
606
+ const _DKDT = "DukptKeyDerivationType";
607
+ const _DKV = "DukptKeyVariant";
608
+ const _DMA = "DerivationMethodAttributes";
609
+ const _DT = "DecimalizationTable";
610
+ const _DTT = "DecimalizationTableType";
611
+ const _E = "Emv2000";
612
+ const _EA = "Emv2000Attributes";
613
+ const _EAn = "EncryptionAttributes";
614
+ const _EC = "EmvCommon";
615
+ const _ECA = "EmvCommonAttributes";
616
+ const _ED = "EncryptData";
617
+ const _EDA = "EcdhDerivationAttributes";
618
+ const _EDAn = "EncryptionDecryptionAttributes";
619
+ const _EDI = "EncryptDataInput";
620
+ const _EDO = "EncryptDataOutput";
621
+ const _EEA = "EmvEncryptionAttributes";
622
+ const _EKA = "EncryptionKeyArn";
623
+ const _EKCV = "EncryptionKeyCheckValue";
624
+ const _EKI = "EncryptionKeyIdentifier";
625
+ const _EM = "EmvMac";
626
+ const _EPB = "EncryptedPinBlock";
627
+ const _EPBT = "EncryptedPinBlockType";
628
+ const _EWK = "EncryptionWrappedKey";
629
+ const _Em = "Emv";
630
+ const _GA = "GenerationAttributes";
631
+ const _GCVD = "GenerateCardValidationData";
632
+ const _GCVDI = "GenerateCardValidationDataInput";
633
+ const _GCVDO = "GenerateCardValidationDataOutput";
634
+ const _GKA = "GenerationKeyArn";
635
+ const _GKCV = "GenerationKeyCheckValue";
636
+ const _GKI = "GenerationKeyIdentifier";
637
+ const _GM = "GenerateMac";
638
+ const _GMEPC = "GenerateMacEmvPinChange";
639
+ const _GMEPCI = "GenerateMacEmvPinChangeInput";
640
+ const _GMEPCO = "GenerateMacEmvPinChangeOutput";
641
+ const _GMI = "GenerateMacInput";
642
+ const _GMO = "GenerateMacOutput";
643
+ const _GPD = "GeneratePinData";
644
+ const _GPDI = "GeneratePinDataInput";
645
+ const _GPDO = "GeneratePinDataOutput";
646
+ const _HELBA = "HexEvenLengthBetween16And32";
647
+ const _IDA = "IncomingDukptAttributes";
648
+ const _IDHTKB = "IncomingDiffieHellmanTr31KeyBlock";
649
+ const _IEA = "IncomingEncryptionAttributes";
650
+ const _IF = "IsoFormat0";
651
+ const _IFs = "IsoFormat1";
652
+ const _IFso = "IsoFormat3";
653
+ const _IFsoo = "IsoFormat4";
654
+ const _IKI = "IncomingKeyIdentifier";
655
+ const _IKM = "IncomingKeyMaterial";
656
+ const _INP = "Ibm3624NaturalPin";
657
+ const _IP = "Ibm3624Pin";
658
+ const _IPFO = "Ibm3624PinFromOffset";
659
+ const _IPO = "Ibm3624PinOffset";
660
+ const _IPV = "Ibm3624PinVerification";
661
+ const _IRP = "Ibm3624RandomPin";
662
+ const _ISE = "InternalServerException";
663
+ const _ITA = "IncomingTranslationAttributes";
664
+ const _IV = "InitializationVector";
665
+ const _IVT = "InitializationVectorType";
666
+ const _IWK = "IncomingWrappedKey";
667
+ const _KA = "KeyArn";
668
+ const _KAe = "KeyAlgorithm";
669
+ const _KCV = "KeyCheckValue";
670
+ const _KCVA = "KeyCheckValueAlgorithm";
671
+ const _KDF = "KeyDerivationFunction";
672
+ const _KDHA = "KeyDerivationHashAlgorithm";
673
+ const _KI = "KeyIdentifier";
674
+ const _KM = "KeyMaterial";
675
+ const _KSN = "KeySerialNumber";
676
+ const _M = "Message";
677
+ const _MA = "MacAttributes";
678
+ const _MAD = "MacAlgorithmDukpt";
679
+ const _MAE = "MacAlgorithmEmv";
680
+ const _MCA = "MasterCardAttributes";
681
+ const _MD = "MessageData";
682
+ const _MDT = "MessageDataType";
683
+ const _MKDM = "MajorKeyDerivationMode";
684
+ const _ML = "MacLength";
685
+ const _MOT = "MacOutputType";
686
+ const _MT = "MacType";
687
+ const _Ma = "Mac";
688
+ const _Mas = "Mastercard";
689
+ const _Mo = "Mode";
690
+ const _NEPB = "NewEncryptedPinBlock";
691
+ const _NPPA = "NewPinPekArn";
692
+ const _NPPI = "NewPinPekIdentifier";
693
+ const _NPPKCV = "NewPinPekKeyCheckValue";
694
+ const _ODA = "OutgoingDukptAttributes";
695
+ const _OEA = "OutgoingEncryptionAttributes";
696
+ const _OKI = "OutgoingKeyIdentifier";
697
+ const _OKM = "OutgoingKeyMaterial";
698
+ const _OTA = "OutgoingTranslationAttributes";
699
+ const _OTKB = "OutgoingTr31KeyBlock";
700
+ const _OWK = "OutgoingWrappedKey";
701
+ const _PAD = "ProprietaryAuthenticationData";
702
+ const _PADT = "ProprietaryAuthenticationDataType";
703
+ const _PAN = "PrimaryAccountNumber";
704
+ const _PANT = "PrimaryAccountNumberType";
705
+ const _PB = "PinBlock";
706
+ const _PBF = "PinBlockFormat";
707
+ const _PBLE = "PinBlockLengthEquals16";
708
+ const _PBLP = "PinBlockLengthPosition";
709
+ const _PBPT = "PinBlockPaddingType";
710
+ const _PCMOT = "PinChangeMacOutputType";
711
+ const _PD = "PinData";
712
+ const _PDL = "PinDataLength";
713
+ const _PGA = "PinGenerationAttributes";
714
+ const _PKC = "PublicKeyCertificate";
715
+ const _PKI = "PrivateKeyIdentifier";
716
+ const _PO = "PinOffset";
717
+ const _POT = "PinOffsetType";
718
+ const _PSN = "PanSequenceNumber";
719
+ const _PT = "PaddingType";
720
+ const _PTOT = "PlainTextOutputType";
721
+ const _PTT = "PlainTextType";
722
+ const _PTl = "PlainText";
723
+ const _PVA = "PinVerificationAttributes";
724
+ const _PVD = "PinValidationData";
725
+ const _PVDPC = "PinValidationDataPadCharacter";
726
+ const _PVDT = "PinValidationDataType";
727
+ const _PVKI = "PinVerificationKeyIndex";
728
+ const _R = "Reason";
729
+ const _REA = "ReEncryptionAttributes";
730
+ const _RED = "ReEncryptData";
731
+ const _REDI = "ReEncryptDataInput";
732
+ const _REDO = "ReEncryptDataOutput";
733
+ const _RI = "ResourceId";
734
+ const _RNFE = "ResourceNotFoundException";
735
+ const _S = "Symmetric";
736
+ const _SC = "ServiceCode";
737
+ const _SCT = "ServiceCodeType";
738
+ const _SDD = "SessionDerivationData";
739
+ const _SDDT = "SessionDerivationDataType";
740
+ const _SEA = "SymmetricEncryptionAttributes";
741
+ const _SI = "SharedInformation";
742
+ const _SKA = "SessionKeyAmex";
743
+ const _SKD = "SessionKeyDerivation";
744
+ const _SKDA = "SessionKeyDerivationAttributes";
745
+ const _SKDM = "SessionKeyDerivationMode";
746
+ const _SKDV = "SessionKeyDerivationValue";
747
+ const _SKE = "SessionKeyEmv2000";
748
+ const _SKEC = "SessionKeyEmvCommon";
749
+ const _SKM = "SessionKeyMastercard";
750
+ const _SKV = "SessionKeyVisa";
751
+ const _SMCKA = "SecureMessagingConfidentialityKeyArn";
752
+ const _SMCKCV = "SecureMessagingConfidentialityKeyCheckValue";
753
+ const _SMCKI = "SecureMessagingConfidentialityKeyIdentifier";
754
+ const _SMIKA = "SecureMessagingIntegrityKeyArn";
755
+ const _SMIKCV = "SecureMessagingIntegrityKeyCheckValue";
756
+ const _SMIKI = "SecureMessagingIntegrityKeyIdentifier";
757
+ const _TD = "TrackData";
758
+ const _TDT = "TrackDataType";
759
+ const _TDTr = "TransactionDataType";
760
+ const _TDr = "TransactionData";
761
+ const _TE = "ThrottlingException";
762
+ const _TIF = "TranslationIsoFormats";
763
+ const _TKB = "Tr31KeyBlock";
764
+ const _TKM = "TranslateKeyMaterial";
765
+ const _TKMI = "TranslateKeyMaterialInput";
766
+ const _TKMO = "TranslateKeyMaterialOutput";
767
+ const _TPD = "TranslatePinData";
768
+ const _TPDI = "TranslatePinDataInput";
769
+ const _TPDIF = "TranslationPinDataIsoFormat034";
770
+ const _TPDIFr = "TranslationPinDataIsoFormat1";
771
+ const _TPDO = "TranslatePinDataOutput";
772
+ const _TWKB = "Tr31WrappedKeyBlock";
773
+ const _UN = "UnpredictableNumber";
774
+ const _V = "Visa";
775
+ const _VA = "VerificationAttributes";
776
+ const _VADO = "VisaAmexDerivationOutputs";
777
+ const _VARC = "VerifyAuthRequestCryptogram";
778
+ const _VARCI = "VerifyAuthRequestCryptogramInput";
779
+ const _VARCO = "VerifyAuthRequestCryptogramOutput";
780
+ const _VAi = "VisaAttributes";
781
+ const _VCVD = "VerifyCardValidationData";
782
+ const _VCVDI = "VerifyCardValidationDataInput";
783
+ const _VCVDO = "VerifyCardValidationDataOutput";
784
+ const _VD = "ValidationData";
785
+ const _VDL = "ValidationDataLength";
786
+ const _VDT = "ValidationDataType";
787
+ const _VE = "ValidationException";
788
+ const _VEF = "ValidationExceptionField";
789
+ const _VEFL = "ValidationExceptionFieldList";
790
+ const _VFE = "VerificationFailedException";
791
+ const _VKA = "VerificationKeyArn";
792
+ const _VKCV = "VerificationKeyCheckValue";
793
+ const _VKI = "VerificationKeyIdentifier";
794
+ const _VM = "VerifyMac";
795
+ const _VMI = "VerifyMacInput";
796
+ const _VMO = "VerifyMacOutput";
797
+ const _VP = "VisaPin";
798
+ const _VPD = "VerifyPinData";
799
+ const _VPDI = "VerifyPinDataInput";
800
+ const _VPDO = "VerifyPinDataOutput";
801
+ const _VPV = "VisaPinVerification";
802
+ const _VPVV = "VisaPinVerificationValue";
803
+ const _VV = "VerificationValue";
804
+ const _VVT = "VerificationValueType";
805
+ const _WK = "WrappedKey";
806
+ const _WKB = "WrappedKeyBlock";
807
+ const _WKI = "WrappingKeyIdentifier";
808
+ const _WKM = "WrappedKeyMaterial";
809
+ const _WKMF = "WrappedKeyMaterialFormat";
810
+ const _WWK = "WrappedWorkingKey";
811
+ const _c = "client";
812
+ const _e = "error";
813
+ const _fL = "fieldList";
814
+ const _h = "http";
815
+ const _hE = "httpError";
816
+ const _m = "message";
817
+ const _p = "path";
818
+ const _s = "server";
819
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.paymentcryptographydata";
820
+ const n0 = "com.amazonaws.paymentcryptographydata";
821
+ var ApplicationCryptogramType = [0, n0, _ACT, 8, 0];
822
+ var AuthRequestCryptogramType = [0, n0, _ARCT, 8, 0];
823
+ var AuthResponseValueType = [0, n0, _ARVT, 8, 0];
824
+ var CardExpiryDateType = [0, n0, _CEDT, 8, 0];
825
+ var CipherTextType = [0, n0, _CTT, 8, 0];
826
+ var CommandMessageDataType = [0, n0, _CMDT, 8, 0];
827
+ var DecimalizationTableType = [0, n0, _DTT, 8, 0];
828
+ var EncryptedPinBlockType = [0, n0, _EPBT, 8, 0];
829
+ var HexEvenLengthBetween16And32 = [0, n0, _HELBA, 8, 0];
830
+ var InitializationVectorType = [0, n0, _IVT, 8, 0];
831
+ var KeyMaterial = [0, n0, _KM, 8, 0];
832
+ var MacOutputType = [0, n0, _MOT, 8, 0];
833
+ var MacType = [0, n0, _MT, 8, 0];
834
+ var MessageDataType = [0, n0, _MDT, 8, 0];
835
+ var PinBlockLengthEquals16 = [0, n0, _PBLE, 8, 0];
836
+ var PinChangeMacOutputType = [0, n0, _PCMOT, 8, 0];
837
+ var PinOffsetType = [0, n0, _POT, 8, 0];
838
+ var PinValidationDataType = [0, n0, _PVDT, 8, 0];
839
+ var PlainTextOutputType = [0, n0, _PTOT, 8, 0];
840
+ var PlainTextType = [0, n0, _PTT, 8, 0];
841
+ var PrimaryAccountNumberType = [0, n0, _PANT, 8, 0];
842
+ var ProprietaryAuthenticationDataType = [0, n0, _PADT, 8, 0];
843
+ var ServiceCodeType = [0, n0, _SCT, 8, 0];
844
+ var SessionDerivationDataType = [0, n0, _SDDT, 8, 0];
845
+ var Tr31WrappedKeyBlock = [0, n0, _TWKB, 8, 0];
846
+ var TrackDataType = [0, n0, _TDT, 8, 0];
847
+ var TransactionDataType = [0, n0, _TDTr, 8, 0];
848
+ var ValidationDataType = [0, n0, _VDT, 8, 0];
849
+ var VerificationValueType = [0, n0, _VVT, 8, 0];
850
+ var AccessDeniedException = [
851
+ -3,
852
+ n0,
853
+ _ADE,
854
+ {
855
+ [_e]: _c,
856
+ [_hE]: 403,
857
+ },
858
+ [_M],
859
+ [0],
860
+ ];
861
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
862
+ var AmexAttributes = [
863
+ 3,
864
+ n0,
865
+ _AA,
866
+ 0,
867
+ [_MKDM, _PAN, _PSN, _ATC, _ARKI, _CPA],
868
+ [0, [() => PrimaryAccountNumberType, 0], 0, 0, 0, [() => CurrentPinAttributes, 0]],
869
+ ];
870
+ var AmexCardSecurityCodeVersion1 = [
871
+ 3,
872
+ n0,
873
+ _ACSCV,
874
+ 0,
875
+ [_CED],
876
+ [[() => CardExpiryDateType, 0]],
877
+ ];
878
+ var AmexCardSecurityCodeVersion2 = [
879
+ 3,
880
+ n0,
881
+ _ACSCVm,
882
+ 0,
883
+ [_CED, _SC],
884
+ [
885
+ [() => CardExpiryDateType, 0],
886
+ [() => ServiceCodeType, 0],
887
+ ],
888
+ ];
889
+ var AsymmetricEncryptionAttributes = [3, n0, _AEA, 0, [_PT], [0]];
890
+ var CardHolderVerificationValue = [3, n0, _CHVV, 0, [_UN, _PSN, _ATC], [0, 0, 0]];
891
+ var CardVerificationValue1 = [
892
+ 3,
893
+ n0,
894
+ _CVV,
895
+ 0,
896
+ [_CED, _SC],
897
+ [
898
+ [() => CardExpiryDateType, 0],
899
+ [() => ServiceCodeType, 0],
900
+ ],
901
+ ];
902
+ var CardVerificationValue2 = [3, n0, _CVVa, 0, [_CED], [[() => CardExpiryDateType, 0]]];
903
+ var CryptogramVerificationArpcMethod1 = [3, n0, _CVAM, 0, [_ARC], [0]];
904
+ var CryptogramVerificationArpcMethod2 = [
905
+ 3,
906
+ n0,
907
+ _CVAMr,
908
+ 0,
909
+ [_CSU, _PAD],
910
+ [0, [() => ProprietaryAuthenticationDataType, 0]],
911
+ ];
912
+ var CurrentPinAttributes = [
913
+ 3,
914
+ n0,
915
+ _CPA,
916
+ 0,
917
+ [_CPPI, _CEPB],
918
+ [0, [() => PinBlockLengthEquals16, 0]],
919
+ ];
920
+ var DecryptDataInput = [
921
+ 3,
922
+ n0,
923
+ _DDI,
924
+ 0,
925
+ [_KI, _CT, _DA, _WK],
926
+ [
927
+ [0, 1],
928
+ [() => CipherTextType, 0],
929
+ [() => EncryptionDecryptionAttributes, 0],
930
+ [() => WrappedKey, 0],
931
+ ],
932
+ ];
933
+ var DecryptDataOutput = [
934
+ 3,
935
+ n0,
936
+ _DDO,
937
+ 0,
938
+ [_KA, _KCV, _PTl],
939
+ [0, 0, [() => PlainTextOutputType, 0]],
940
+ ];
941
+ var DiscoverDynamicCardVerificationCode = [
942
+ 3,
943
+ n0,
944
+ _DDCVC,
945
+ 0,
946
+ [_CED, _UN, _ATC],
947
+ [[() => CardExpiryDateType, 0], 0, 0],
948
+ ];
949
+ var DukptAttributes = [3, n0, _DAu, 0, [_KSN, _DDT], [0, 0]];
950
+ var DukptDerivationAttributes = [3, n0, _DDA, 0, [_KSN, _DKDT, _DKV], [0, 0, 0]];
951
+ var DukptEncryptionAttributes = [
952
+ 3,
953
+ n0,
954
+ _DEA,
955
+ 0,
956
+ [_KSN, _Mo, _DKDT, _DKV, _IV],
957
+ [0, 0, 0, 0, [() => InitializationVectorType, 0]],
958
+ ];
959
+ var DynamicCardVerificationCode = [
960
+ 3,
961
+ n0,
962
+ _DCVC,
963
+ 0,
964
+ [_UN, _PSN, _ATC, _TD],
965
+ [0, 0, 0, [() => TrackDataType, 0]],
966
+ ];
967
+ var DynamicCardVerificationValue = [
968
+ 3,
969
+ n0,
970
+ _DCVV,
971
+ 0,
972
+ [_PSN, _CED, _SC, _ATC],
973
+ [0, [() => CardExpiryDateType, 0], [() => ServiceCodeType, 0], 0],
974
+ ];
975
+ var EcdhDerivationAttributes = [
976
+ 3,
977
+ n0,
978
+ _EDA,
979
+ 0,
980
+ [_CAPKI, _PKC, _KAe, _KDF, _KDHA, _SI],
981
+ [0, 0, 0, 0, 0, 0],
982
+ ];
983
+ var Emv2000Attributes = [
984
+ 3,
985
+ n0,
986
+ _EA,
987
+ 0,
988
+ [_MKDM, _PAN, _PSN, _ATC],
989
+ [0, [() => PrimaryAccountNumberType, 0], 0, 0],
990
+ ];
991
+ var EmvCommonAttributes = [
992
+ 3,
993
+ n0,
994
+ _ECA,
995
+ 0,
996
+ [_MKDM, _PAN, _PSN, _AC, _Mo, _PBPT, _PBLP],
997
+ [0, [() => PrimaryAccountNumberType, 0], 0, [() => ApplicationCryptogramType, 0], 0, 0, 0],
998
+ ];
999
+ var EmvEncryptionAttributes = [
1000
+ 3,
1001
+ n0,
1002
+ _EEA,
1003
+ 0,
1004
+ [_MKDM, _PAN, _PSN, _SDD, _Mo, _IV],
1005
+ [
1006
+ 0,
1007
+ [() => PrimaryAccountNumberType, 0],
1008
+ 0,
1009
+ [() => SessionDerivationDataType, 0],
1010
+ 0,
1011
+ [() => InitializationVectorType, 0],
1012
+ ],
1013
+ ];
1014
+ var EncryptDataInput = [
1015
+ 3,
1016
+ n0,
1017
+ _EDI,
1018
+ 0,
1019
+ [_KI, _PTl, _EAn, _WK],
1020
+ [
1021
+ [0, 1],
1022
+ [() => PlainTextType, 0],
1023
+ [() => EncryptionDecryptionAttributes, 0],
1024
+ [() => WrappedKey, 0],
1025
+ ],
1026
+ ];
1027
+ var EncryptDataOutput = [
1028
+ 3,
1029
+ n0,
1030
+ _EDO,
1031
+ 0,
1032
+ [_KA, _KCV, _CT],
1033
+ [0, 0, [() => CipherTextType, 0]],
1034
+ ];
1035
+ var GenerateCardValidationDataInput = [
1036
+ 3,
1037
+ n0,
1038
+ _GCVDI,
1039
+ 0,
1040
+ [_KI, _PAN, _GA, _VDL],
1041
+ [0, [() => PrimaryAccountNumberType, 0], [() => CardGenerationAttributes, 0], 1],
1042
+ ];
1043
+ var GenerateCardValidationDataOutput = [
1044
+ 3,
1045
+ n0,
1046
+ _GCVDO,
1047
+ 0,
1048
+ [_KA, _KCV, _VD],
1049
+ [0, 0, [() => ValidationDataType, 0]],
1050
+ ];
1051
+ var GenerateMacEmvPinChangeInput = [
1052
+ 3,
1053
+ n0,
1054
+ _GMEPCI,
1055
+ 0,
1056
+ [_NPPI, _NEPB, _PBF, _SMIKI, _SMCKI, _MD, _DMA],
1057
+ [
1058
+ 0,
1059
+ [() => PinBlockLengthEquals16, 0],
1060
+ 0,
1061
+ 0,
1062
+ 0,
1063
+ [() => CommandMessageDataType, 0],
1064
+ [() => DerivationMethodAttributes, 0],
1065
+ ],
1066
+ ];
1067
+ var GenerateMacEmvPinChangeOutput = [
1068
+ 3,
1069
+ n0,
1070
+ _GMEPCO,
1071
+ 0,
1072
+ [_NPPA, _SMIKA, _SMCKA, _Ma, _EPB, _NPPKCV, _SMIKCV, _SMCKCV, _VADO],
1073
+ [
1074
+ 0,
1075
+ 0,
1076
+ 0,
1077
+ [() => PinChangeMacOutputType, 0],
1078
+ [() => EncryptedPinBlockType, 0],
1079
+ 0,
1080
+ 0,
1081
+ 0,
1082
+ () => VisaAmexDerivationOutputs,
1083
+ ],
1084
+ ];
1085
+ var GenerateMacInput = [
1086
+ 3,
1087
+ n0,
1088
+ _GMI,
1089
+ 0,
1090
+ [_KI, _MD, _GA, _ML],
1091
+ [0, [() => MessageDataType, 0], [() => MacAttributes, 0], 1],
1092
+ ];
1093
+ var GenerateMacOutput = [
1094
+ 3,
1095
+ n0,
1096
+ _GMO,
1097
+ 0,
1098
+ [_KA, _KCV, _Ma],
1099
+ [0, 0, [() => MacOutputType, 0]],
1100
+ ];
1101
+ var GeneratePinDataInput = [
1102
+ 3,
1103
+ n0,
1104
+ _GPDI,
1105
+ 0,
1106
+ [_GKI, _EKI, _GA, _PDL, _PAN, _PBF, _EWK],
1107
+ [0, 0, [() => PinGenerationAttributes, 0], 1, [() => PrimaryAccountNumberType, 0], 0, [() => WrappedKey, 0]],
1108
+ ];
1109
+ var GeneratePinDataOutput = [
1110
+ 3,
1111
+ n0,
1112
+ _GPDO,
1113
+ 0,
1114
+ [_GKA, _GKCV, _EKA, _EKCV, _EPB, _PD],
1115
+ [0, 0, 0, 0, [() => EncryptedPinBlockType, 0], [() => PinData, 0]],
1116
+ ];
1117
+ var Ibm3624NaturalPin = [
1118
+ 3,
1119
+ n0,
1120
+ _INP,
1121
+ 0,
1122
+ [_DT, _PVDPC, _PVD],
1123
+ [[() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0]],
1124
+ ];
1125
+ var Ibm3624PinFromOffset = [
1126
+ 3,
1127
+ n0,
1128
+ _IPFO,
1129
+ 0,
1130
+ [_DT, _PVDPC, _PVD, _PO],
1131
+ [[() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0], [() => PinOffsetType, 0]],
1132
+ ];
1133
+ var Ibm3624PinOffset = [
1134
+ 3,
1135
+ n0,
1136
+ _IPO,
1137
+ 0,
1138
+ [_EPB, _DT, _PVDPC, _PVD],
1139
+ [[() => EncryptedPinBlockType, 0], [() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0]],
1140
+ ];
1141
+ var Ibm3624PinVerification = [
1142
+ 3,
1143
+ n0,
1144
+ _IPV,
1145
+ 0,
1146
+ [_DT, _PVDPC, _PVD, _PO],
1147
+ [[() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0], [() => PinOffsetType, 0]],
1148
+ ];
1149
+ var Ibm3624RandomPin = [
1150
+ 3,
1151
+ n0,
1152
+ _IRP,
1153
+ 0,
1154
+ [_DT, _PVDPC, _PVD],
1155
+ [[() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0]],
1156
+ ];
1157
+ var IncomingDiffieHellmanTr31KeyBlock = [
1158
+ 3,
1159
+ n0,
1160
+ _IDHTKB,
1161
+ 0,
1162
+ [_PKI, _CAPKI, _PKC, _DKA, _KDF, _KDHA, _DD, _WKB],
1163
+ [0, 0, 0, 0, 0, 0, () => DiffieHellmanDerivationData, [() => Tr31WrappedKeyBlock, 0]],
1164
+ ];
1165
+ var InternalServerException = [
1166
+ -3,
1167
+ n0,
1168
+ _ISE,
1169
+ {
1170
+ [_e]: _s,
1171
+ [_hE]: 500,
1172
+ },
1173
+ [_M],
1174
+ [0],
1175
+ ];
1176
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1177
+ var MacAlgorithmDukpt = [3, n0, _MAD, 0, [_KSN, _DKV, _DDT], [0, 0, 0]];
1178
+ var MacAlgorithmEmv = [
1179
+ 3,
1180
+ n0,
1181
+ _MAE,
1182
+ 0,
1183
+ [_MKDM, _PAN, _PSN, _SKDM, _SKDV],
1184
+ [0, [() => PrimaryAccountNumberType, 0], 0, 0, [() => SessionKeyDerivationValue, 0]],
1185
+ ];
1186
+ var MasterCardAttributes = [
1187
+ 3,
1188
+ n0,
1189
+ _MCA,
1190
+ 0,
1191
+ [_MKDM, _PAN, _PSN, _AC],
1192
+ [0, [() => PrimaryAccountNumberType, 0], 0, [() => ApplicationCryptogramType, 0]],
1193
+ ];
1194
+ var OutgoingTr31KeyBlock = [3, n0, _OTKB, 0, [_WKI], [0]];
1195
+ var ReEncryptDataInput = [
1196
+ 3,
1197
+ n0,
1198
+ _REDI,
1199
+ 0,
1200
+ [_IKI, _OKI, _CT, _IEA, _OEA, _IWK, _OWK],
1201
+ [
1202
+ [0, 1],
1203
+ 0,
1204
+ [() => CipherTextType, 0],
1205
+ [() => ReEncryptionAttributes, 0],
1206
+ [() => ReEncryptionAttributes, 0],
1207
+ [() => WrappedKey, 0],
1208
+ [() => WrappedKey, 0],
1209
+ ],
1210
+ ];
1211
+ var ReEncryptDataOutput = [
1212
+ 3,
1213
+ n0,
1214
+ _REDO,
1215
+ 0,
1216
+ [_KA, _KCV, _CT],
1217
+ [0, 0, [() => CipherTextType, 0]],
1218
+ ];
1219
+ var ResourceNotFoundException = [
1220
+ -3,
1221
+ n0,
1222
+ _RNFE,
1223
+ {
1224
+ [_e]: _c,
1225
+ [_hE]: 404,
1226
+ },
1227
+ [_RI],
1228
+ [0],
1229
+ ];
1230
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1231
+ var SessionKeyAmex = [
1232
+ 3,
1233
+ n0,
1234
+ _SKA,
1235
+ 0,
1236
+ [_PAN, _PSN],
1237
+ [[() => PrimaryAccountNumberType, 0], 0],
1238
+ ];
1239
+ var SessionKeyEmv2000 = [
1240
+ 3,
1241
+ n0,
1242
+ _SKE,
1243
+ 0,
1244
+ [_PAN, _PSN, _ATC],
1245
+ [[() => PrimaryAccountNumberType, 0], 0, 0],
1246
+ ];
1247
+ var SessionKeyEmvCommon = [
1248
+ 3,
1249
+ n0,
1250
+ _SKEC,
1251
+ 0,
1252
+ [_PAN, _PSN, _ATC],
1253
+ [[() => PrimaryAccountNumberType, 0], 0, 0],
1254
+ ];
1255
+ var SessionKeyMastercard = [
1256
+ 3,
1257
+ n0,
1258
+ _SKM,
1259
+ 0,
1260
+ [_PAN, _PSN, _ATC, _UN],
1261
+ [[() => PrimaryAccountNumberType, 0], 0, 0, 0],
1262
+ ];
1263
+ var SessionKeyVisa = [
1264
+ 3,
1265
+ n0,
1266
+ _SKV,
1267
+ 0,
1268
+ [_PAN, _PSN],
1269
+ [[() => PrimaryAccountNumberType, 0], 0],
1270
+ ];
1271
+ var SymmetricEncryptionAttributes = [
1272
+ 3,
1273
+ n0,
1274
+ _SEA,
1275
+ 0,
1276
+ [_Mo, _IV, _PT],
1277
+ [0, [() => InitializationVectorType, 0], 0],
1278
+ ];
1279
+ var ThrottlingException = [
1280
+ -3,
1281
+ n0,
1282
+ _TE,
1283
+ {
1284
+ [_e]: _c,
1285
+ [_hE]: 429,
1286
+ },
1287
+ [_M],
1288
+ [0],
1289
+ ];
1290
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1291
+ var TranslateKeyMaterialInput = [
1292
+ 3,
1293
+ n0,
1294
+ _TKMI,
1295
+ 0,
1296
+ [_IKM, _OKM, _KCVA],
1297
+ [[() => IncomingKeyMaterial, 0], () => OutgoingKeyMaterial, 0],
1298
+ ];
1299
+ var TranslateKeyMaterialOutput = [3, n0, _TKMO, 0, [_WK], [[() => WrappedWorkingKey, 0]]];
1300
+ var TranslatePinDataInput = [
1301
+ 3,
1302
+ n0,
1303
+ _TPDI,
1304
+ 0,
1305
+ [_IKI, _OKI, _ITA, _OTA, _EPB, _IDA, _ODA, _IWK, _OWK],
1306
+ [
1307
+ 0,
1308
+ 0,
1309
+ [() => TranslationIsoFormats, 0],
1310
+ [() => TranslationIsoFormats, 0],
1311
+ [() => HexEvenLengthBetween16And32, 0],
1312
+ () => DukptDerivationAttributes,
1313
+ () => DukptDerivationAttributes,
1314
+ [() => WrappedKey, 0],
1315
+ [() => WrappedKey, 0],
1316
+ ],
1317
+ ];
1318
+ var TranslatePinDataOutput = [
1319
+ 3,
1320
+ n0,
1321
+ _TPDO,
1322
+ 0,
1323
+ [_PB, _KA, _KCV],
1324
+ [[() => EncryptedPinBlockType, 0], 0, 0],
1325
+ ];
1326
+ var TranslationPinDataIsoFormat034 = [
1327
+ 3,
1328
+ n0,
1329
+ _TPDIF,
1330
+ 0,
1331
+ [_PAN],
1332
+ [[() => PrimaryAccountNumberType, 0]],
1333
+ ];
1334
+ var TranslationPinDataIsoFormat1 = [3, n0, _TPDIFr, 0, [], []];
1335
+ var ValidationException = [
1336
+ -3,
1337
+ n0,
1338
+ _VE,
1339
+ {
1340
+ [_e]: _c,
1341
+ },
1342
+ [_m, _fL],
1343
+ [0, () => ValidationExceptionFieldList],
1344
+ ];
1345
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1346
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_p, _m], [0, 0]];
1347
+ var VerificationFailedException = [
1348
+ -3,
1349
+ n0,
1350
+ _VFE,
1351
+ {
1352
+ [_e]: _c,
1353
+ [_hE]: 400,
1354
+ },
1355
+ [_R, _M],
1356
+ [0, 0],
1357
+ ];
1358
+ schema.TypeRegistry.for(n0).registerError(VerificationFailedException, VerificationFailedException$1);
1359
+ var VerifyAuthRequestCryptogramInput = [
1360
+ 3,
1361
+ n0,
1362
+ _VARCI,
1363
+ 0,
1364
+ [_KI, _TDr, _ARCu, _MKDM, _SKDA, _ARA],
1365
+ [
1366
+ 0,
1367
+ [() => TransactionDataType, 0],
1368
+ [() => AuthRequestCryptogramType, 0],
1369
+ 0,
1370
+ [() => SessionKeyDerivation, 0],
1371
+ [() => CryptogramAuthResponse, 0],
1372
+ ],
1373
+ ];
1374
+ var VerifyAuthRequestCryptogramOutput = [
1375
+ 3,
1376
+ n0,
1377
+ _VARCO,
1378
+ 0,
1379
+ [_KA, _KCV, _ARV],
1380
+ [0, 0, [() => AuthResponseValueType, 0]],
1381
+ ];
1382
+ var VerifyCardValidationDataInput = [
1383
+ 3,
1384
+ n0,
1385
+ _VCVDI,
1386
+ 0,
1387
+ [_KI, _PAN, _VA, _VD],
1388
+ [0, [() => PrimaryAccountNumberType, 0], [() => CardVerificationAttributes, 0], [() => ValidationDataType, 0]],
1389
+ ];
1390
+ var VerifyCardValidationDataOutput = [3, n0, _VCVDO, 0, [_KA, _KCV], [0, 0]];
1391
+ var VerifyMacInput = [
1392
+ 3,
1393
+ n0,
1394
+ _VMI,
1395
+ 0,
1396
+ [_KI, _MD, _Ma, _VA, _ML],
1397
+ [0, [() => MessageDataType, 0], [() => MacType, 0], [() => MacAttributes, 0], 1],
1398
+ ];
1399
+ var VerifyMacOutput = [3, n0, _VMO, 0, [_KA, _KCV], [0, 0]];
1400
+ var VerifyPinDataInput = [
1401
+ 3,
1402
+ n0,
1403
+ _VPDI,
1404
+ 0,
1405
+ [_VKI, _EKI, _VA, _EPB, _PAN, _PBF, _PDL, _DAu, _EWK],
1406
+ [
1407
+ 0,
1408
+ 0,
1409
+ [() => PinVerificationAttributes, 0],
1410
+ [() => EncryptedPinBlockType, 0],
1411
+ [() => PrimaryAccountNumberType, 0],
1412
+ 0,
1413
+ 1,
1414
+ () => DukptAttributes,
1415
+ [() => WrappedKey, 0],
1416
+ ],
1417
+ ];
1418
+ var VerifyPinDataOutput = [3, n0, _VPDO, 0, [_VKA, _VKCV, _EKA, _EKCV], [0, 0, 0, 0]];
1419
+ var VisaAmexDerivationOutputs = [
1420
+ 3,
1421
+ n0,
1422
+ _VADO,
1423
+ 0,
1424
+ [_ARKA, _ARKCV, _CPPA, _CPPKCV],
1425
+ [0, 0, 0, 0],
1426
+ ];
1427
+ var VisaAttributes = [
1428
+ 3,
1429
+ n0,
1430
+ _VAi,
1431
+ 0,
1432
+ [_MKDM, _PAN, _PSN, _ATC, _ARKI, _CPA],
1433
+ [0, [() => PrimaryAccountNumberType, 0], 0, 0, 0, [() => CurrentPinAttributes, 0]],
1434
+ ];
1435
+ var VisaPin = [3, n0, _VP, 0, [_PVKI], [1]];
1436
+ var VisaPinVerification = [
1437
+ 3,
1438
+ n0,
1439
+ _VPV,
1440
+ 0,
1441
+ [_PVKI, _VV],
1442
+ [1, [() => VerificationValueType, 0]],
1443
+ ];
1444
+ var VisaPinVerificationValue = [
1445
+ 3,
1446
+ n0,
1447
+ _VPVV,
1448
+ 0,
1449
+ [_EPB, _PVKI],
1450
+ [[() => EncryptedPinBlockType, 0], 1],
1451
+ ];
1452
+ var WrappedKey = [3, n0, _WK, 0, [_WKM, _KCVA], [[() => WrappedKeyMaterial, 0], 0]];
1453
+ var WrappedWorkingKey = [
1454
+ 3,
1455
+ n0,
1456
+ _WWK,
1457
+ 0,
1458
+ [_WKM, _KCV, _WKMF],
1459
+ [[() => KeyMaterial, 0], 0, 0],
1460
+ ];
1461
+ var PaymentCryptographyDataServiceException = [
1462
+ -3,
1463
+ _sm,
1464
+ "PaymentCryptographyDataServiceException",
1465
+ 0,
1466
+ [],
1467
+ [],
1468
+ ];
1469
+ schema.TypeRegistry.for(_sm).registerError(PaymentCryptographyDataServiceException, PaymentCryptographyDataServiceException$1);
1470
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
1471
+ var CardGenerationAttributes = [
1472
+ 3,
1473
+ n0,
1474
+ _CGA,
1475
+ 0,
1476
+ [_ACSCV, _ACSCVm, _CVV, _CVVa, _CHVV, _DCVC, _DCVV],
1477
+ [
1478
+ [() => AmexCardSecurityCodeVersion1, 0],
1479
+ [() => AmexCardSecurityCodeVersion2, 0],
1480
+ [() => CardVerificationValue1, 0],
1481
+ [() => CardVerificationValue2, 0],
1482
+ () => CardHolderVerificationValue,
1483
+ [() => DynamicCardVerificationCode, 0],
1484
+ [() => DynamicCardVerificationValue, 0],
1485
+ ],
1486
+ ];
1487
+ var CardVerificationAttributes = [
1488
+ 3,
1489
+ n0,
1490
+ _CVA,
1491
+ 0,
1492
+ [_ACSCV, _ACSCVm, _CVV, _CVVa, _CHVV, _DCVC, _DCVV, _DDCVC],
1493
+ [
1494
+ [() => AmexCardSecurityCodeVersion1, 0],
1495
+ [() => AmexCardSecurityCodeVersion2, 0],
1496
+ [() => CardVerificationValue1, 0],
1497
+ [() => CardVerificationValue2, 0],
1498
+ () => CardHolderVerificationValue,
1499
+ [() => DynamicCardVerificationCode, 0],
1500
+ [() => DynamicCardVerificationValue, 0],
1501
+ [() => DiscoverDynamicCardVerificationCode, 0],
1502
+ ],
1503
+ ];
1504
+ var CryptogramAuthResponse = [
1505
+ 3,
1506
+ n0,
1507
+ _CAR,
1508
+ 0,
1509
+ [_AM, _AMr],
1510
+ [() => CryptogramVerificationArpcMethod1, [() => CryptogramVerificationArpcMethod2, 0]],
1511
+ ];
1512
+ var DerivationMethodAttributes = [
1513
+ 3,
1514
+ n0,
1515
+ _DMA,
1516
+ 0,
1517
+ [_EC, _A, _V, _E, _Mas],
1518
+ [
1519
+ [() => EmvCommonAttributes, 0],
1520
+ [() => AmexAttributes, 0],
1521
+ [() => VisaAttributes, 0],
1522
+ [() => Emv2000Attributes, 0],
1523
+ [() => MasterCardAttributes, 0],
1524
+ ],
1525
+ ];
1526
+ var DiffieHellmanDerivationData = [3, n0, _DHDD, 0, [_SI], [0]];
1527
+ var EncryptionDecryptionAttributes = [
1528
+ 3,
1529
+ n0,
1530
+ _EDAn,
1531
+ 0,
1532
+ [_S, _As, _D, _Em],
1533
+ [
1534
+ [() => SymmetricEncryptionAttributes, 0],
1535
+ () => AsymmetricEncryptionAttributes,
1536
+ [() => DukptEncryptionAttributes, 0],
1537
+ [() => EmvEncryptionAttributes, 0],
1538
+ ],
1539
+ ];
1540
+ var IncomingKeyMaterial = [
1541
+ 3,
1542
+ n0,
1543
+ _IKM,
1544
+ 0,
1545
+ [_DHTKB],
1546
+ [[() => IncomingDiffieHellmanTr31KeyBlock, 0]],
1547
+ ];
1548
+ var MacAttributes = [
1549
+ 3,
1550
+ n0,
1551
+ _MA,
1552
+ 0,
1553
+ [_Al, _EM, _DIA, _DIAu, _DC],
1554
+ [0, [() => MacAlgorithmEmv, 0], () => MacAlgorithmDukpt, () => MacAlgorithmDukpt, () => MacAlgorithmDukpt],
1555
+ ];
1556
+ var OutgoingKeyMaterial = [3, n0, _OKM, 0, [_TKB], [() => OutgoingTr31KeyBlock]];
1557
+ var PinData = [
1558
+ 3,
1559
+ n0,
1560
+ _PD,
1561
+ 0,
1562
+ [_PO, _VV],
1563
+ [
1564
+ [() => PinOffsetType, 0],
1565
+ [() => VerificationValueType, 0],
1566
+ ],
1567
+ ];
1568
+ var PinGenerationAttributes = [
1569
+ 3,
1570
+ n0,
1571
+ _PGA,
1572
+ 0,
1573
+ [_VP, _VPVV, _IPO, _INP, _IRP, _IPFO],
1574
+ [
1575
+ () => VisaPin,
1576
+ [() => VisaPinVerificationValue, 0],
1577
+ [() => Ibm3624PinOffset, 0],
1578
+ [() => Ibm3624NaturalPin, 0],
1579
+ [() => Ibm3624RandomPin, 0],
1580
+ [() => Ibm3624PinFromOffset, 0],
1581
+ ],
1582
+ ];
1583
+ var PinVerificationAttributes = [
1584
+ 3,
1585
+ n0,
1586
+ _PVA,
1587
+ 0,
1588
+ [_VP, _IP],
1589
+ [
1590
+ [() => VisaPinVerification, 0],
1591
+ [() => Ibm3624PinVerification, 0],
1592
+ ],
1593
+ ];
1594
+ var ReEncryptionAttributes = [
1595
+ 3,
1596
+ n0,
1597
+ _REA,
1598
+ 0,
1599
+ [_S, _D],
1600
+ [
1601
+ [() => SymmetricEncryptionAttributes, 0],
1602
+ [() => DukptEncryptionAttributes, 0],
1603
+ ],
1604
+ ];
1605
+ var SessionKeyDerivation = [
1606
+ 3,
1607
+ n0,
1608
+ _SKD,
1609
+ 0,
1610
+ [_EC, _Mas, _E, _A, _V],
1611
+ [
1612
+ [() => SessionKeyEmvCommon, 0],
1613
+ [() => SessionKeyMastercard, 0],
1614
+ [() => SessionKeyEmv2000, 0],
1615
+ [() => SessionKeyAmex, 0],
1616
+ [() => SessionKeyVisa, 0],
1617
+ ],
1618
+ ];
1619
+ var SessionKeyDerivationValue = [
1620
+ 3,
1621
+ n0,
1622
+ _SKDV,
1623
+ 0,
1624
+ [_AC, _ATC],
1625
+ [[() => ApplicationCryptogramType, 0], 0],
1626
+ ];
1627
+ var TranslationIsoFormats = [
1628
+ 3,
1629
+ n0,
1630
+ _TIF,
1631
+ 0,
1632
+ [_IF, _IFs, _IFso, _IFsoo],
1633
+ [
1634
+ [() => TranslationPinDataIsoFormat034, 0],
1635
+ () => TranslationPinDataIsoFormat1,
1636
+ [() => TranslationPinDataIsoFormat034, 0],
1637
+ [() => TranslationPinDataIsoFormat034, 0],
1638
+ ],
1639
+ ];
1640
+ var WrappedKeyMaterial = [
1641
+ 3,
1642
+ n0,
1643
+ _WKM,
1644
+ 0,
1645
+ [_TKB, _DHSK],
1646
+ [[() => Tr31WrappedKeyBlock, 0], () => EcdhDerivationAttributes],
1647
+ ];
1648
+ var DecryptData = [
1649
+ 9,
1650
+ n0,
1651
+ _DDe,
1652
+ {
1653
+ [_h]: ["POST", "/keys/{KeyIdentifier}/decrypt", 200],
1654
+ },
1655
+ () => DecryptDataInput,
1656
+ () => DecryptDataOutput,
1657
+ ];
1658
+ var EncryptData = [
1659
+ 9,
1660
+ n0,
1661
+ _ED,
1662
+ {
1663
+ [_h]: ["POST", "/keys/{KeyIdentifier}/encrypt", 200],
1664
+ },
1665
+ () => EncryptDataInput,
1666
+ () => EncryptDataOutput,
1667
+ ];
1668
+ var GenerateCardValidationData = [
1669
+ 9,
1670
+ n0,
1671
+ _GCVD,
1672
+ {
1673
+ [_h]: ["POST", "/cardvalidationdata/generate", 200],
1674
+ },
1675
+ () => GenerateCardValidationDataInput,
1676
+ () => GenerateCardValidationDataOutput,
1677
+ ];
1678
+ var GenerateMac = [
1679
+ 9,
1680
+ n0,
1681
+ _GM,
1682
+ {
1683
+ [_h]: ["POST", "/mac/generate", 200],
1684
+ },
1685
+ () => GenerateMacInput,
1686
+ () => GenerateMacOutput,
1687
+ ];
1688
+ var GenerateMacEmvPinChange = [
1689
+ 9,
1690
+ n0,
1691
+ _GMEPC,
1692
+ {
1693
+ [_h]: ["POST", "/macemvpinchange/generate", 200],
1694
+ },
1695
+ () => GenerateMacEmvPinChangeInput,
1696
+ () => GenerateMacEmvPinChangeOutput,
1697
+ ];
1698
+ var GeneratePinData = [
1699
+ 9,
1700
+ n0,
1701
+ _GPD,
1702
+ {
1703
+ [_h]: ["POST", "/pindata/generate", 200],
1704
+ },
1705
+ () => GeneratePinDataInput,
1706
+ () => GeneratePinDataOutput,
1707
+ ];
1708
+ var ReEncryptData = [
1709
+ 9,
1710
+ n0,
1711
+ _RED,
1712
+ {
1713
+ [_h]: ["POST", "/keys/{IncomingKeyIdentifier}/reencrypt", 200],
1714
+ },
1715
+ () => ReEncryptDataInput,
1716
+ () => ReEncryptDataOutput,
1717
+ ];
1718
+ var TranslateKeyMaterial = [
1719
+ 9,
1720
+ n0,
1721
+ _TKM,
1722
+ {
1723
+ [_h]: ["POST", "/keymaterial/translate", 200],
1724
+ },
1725
+ () => TranslateKeyMaterialInput,
1726
+ () => TranslateKeyMaterialOutput,
1727
+ ];
1728
+ var TranslatePinData = [
1729
+ 9,
1730
+ n0,
1731
+ _TPD,
1732
+ {
1733
+ [_h]: ["POST", "/pindata/translate", 200],
1734
+ },
1735
+ () => TranslatePinDataInput,
1736
+ () => TranslatePinDataOutput,
1737
+ ];
1738
+ var VerifyAuthRequestCryptogram = [
1739
+ 9,
1740
+ n0,
1741
+ _VARC,
1742
+ {
1743
+ [_h]: ["POST", "/cryptogram/verify", 200],
1744
+ },
1745
+ () => VerifyAuthRequestCryptogramInput,
1746
+ () => VerifyAuthRequestCryptogramOutput,
1747
+ ];
1748
+ var VerifyCardValidationData = [
1749
+ 9,
1750
+ n0,
1751
+ _VCVD,
1752
+ {
1753
+ [_h]: ["POST", "/cardvalidationdata/verify", 200],
1754
+ },
1755
+ () => VerifyCardValidationDataInput,
1756
+ () => VerifyCardValidationDataOutput,
1757
+ ];
1758
+ var VerifyMac = [
1759
+ 9,
1760
+ n0,
1761
+ _VM,
1762
+ {
1763
+ [_h]: ["POST", "/mac/verify", 200],
1764
+ },
1765
+ () => VerifyMacInput,
1766
+ () => VerifyMacOutput,
1767
+ ];
1768
+ var VerifyPinData = [
1769
+ 9,
1770
+ n0,
1771
+ _VPD,
1772
+ {
1773
+ [_h]: ["POST", "/pindata/verify", 200],
1774
+ },
1775
+ () => VerifyPinDataInput,
1776
+ () => VerifyPinDataOutput,
1777
+ ];
1616
1778
 
1617
1779
  class DecryptDataCommand extends smithyClient.Command
1618
1780
  .classBuilder()
1619
1781
  .ep(commonParams)
1620
1782
  .m(function (Command, cs, config, o) {
1621
- return [
1622
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1623
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1624
- ];
1783
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1625
1784
  })
1626
1785
  .s("PaymentCryptographyDataPlane", "DecryptData", {})
1627
1786
  .n("PaymentCryptographyDataClient", "DecryptDataCommand")
1628
- .f(DecryptDataInputFilterSensitiveLog, DecryptDataOutputFilterSensitiveLog)
1629
- .ser(se_DecryptDataCommand)
1630
- .de(de_DecryptDataCommand)
1787
+ .sc(DecryptData)
1631
1788
  .build() {
1632
1789
  }
1633
1790
 
@@ -1635,16 +1792,11 @@ class EncryptDataCommand extends smithyClient.Command
1635
1792
  .classBuilder()
1636
1793
  .ep(commonParams)
1637
1794
  .m(function (Command, cs, config, o) {
1638
- return [
1639
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1640
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1641
- ];
1795
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1642
1796
  })
1643
1797
  .s("PaymentCryptographyDataPlane", "EncryptData", {})
1644
1798
  .n("PaymentCryptographyDataClient", "EncryptDataCommand")
1645
- .f(EncryptDataInputFilterSensitiveLog, EncryptDataOutputFilterSensitiveLog)
1646
- .ser(se_EncryptDataCommand)
1647
- .de(de_EncryptDataCommand)
1799
+ .sc(EncryptData)
1648
1800
  .build() {
1649
1801
  }
1650
1802
 
@@ -1652,16 +1804,11 @@ class GenerateCardValidationDataCommand extends smithyClient.Command
1652
1804
  .classBuilder()
1653
1805
  .ep(commonParams)
1654
1806
  .m(function (Command, cs, config, o) {
1655
- return [
1656
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1657
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1658
- ];
1807
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1659
1808
  })
1660
1809
  .s("PaymentCryptographyDataPlane", "GenerateCardValidationData", {})
1661
1810
  .n("PaymentCryptographyDataClient", "GenerateCardValidationDataCommand")
1662
- .f(GenerateCardValidationDataInputFilterSensitiveLog, GenerateCardValidationDataOutputFilterSensitiveLog)
1663
- .ser(se_GenerateCardValidationDataCommand)
1664
- .de(de_GenerateCardValidationDataCommand)
1811
+ .sc(GenerateCardValidationData)
1665
1812
  .build() {
1666
1813
  }
1667
1814
 
@@ -1669,16 +1816,11 @@ class GenerateMacCommand extends smithyClient.Command
1669
1816
  .classBuilder()
1670
1817
  .ep(commonParams)
1671
1818
  .m(function (Command, cs, config, o) {
1672
- return [
1673
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1674
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1675
- ];
1819
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1676
1820
  })
1677
1821
  .s("PaymentCryptographyDataPlane", "GenerateMac", {})
1678
1822
  .n("PaymentCryptographyDataClient", "GenerateMacCommand")
1679
- .f(GenerateMacInputFilterSensitiveLog, GenerateMacOutputFilterSensitiveLog)
1680
- .ser(se_GenerateMacCommand)
1681
- .de(de_GenerateMacCommand)
1823
+ .sc(GenerateMac)
1682
1824
  .build() {
1683
1825
  }
1684
1826
 
@@ -1686,16 +1828,11 @@ class GenerateMacEmvPinChangeCommand extends smithyClient.Command
1686
1828
  .classBuilder()
1687
1829
  .ep(commonParams)
1688
1830
  .m(function (Command, cs, config, o) {
1689
- return [
1690
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1691
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1692
- ];
1831
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1693
1832
  })
1694
1833
  .s("PaymentCryptographyDataPlane", "GenerateMacEmvPinChange", {})
1695
1834
  .n("PaymentCryptographyDataClient", "GenerateMacEmvPinChangeCommand")
1696
- .f(GenerateMacEmvPinChangeInputFilterSensitiveLog, GenerateMacEmvPinChangeOutputFilterSensitiveLog)
1697
- .ser(se_GenerateMacEmvPinChangeCommand)
1698
- .de(de_GenerateMacEmvPinChangeCommand)
1835
+ .sc(GenerateMacEmvPinChange)
1699
1836
  .build() {
1700
1837
  }
1701
1838
 
@@ -1703,16 +1840,11 @@ class GeneratePinDataCommand extends smithyClient.Command
1703
1840
  .classBuilder()
1704
1841
  .ep(commonParams)
1705
1842
  .m(function (Command, cs, config, o) {
1706
- return [
1707
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1708
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1709
- ];
1843
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1710
1844
  })
1711
1845
  .s("PaymentCryptographyDataPlane", "GeneratePinData", {})
1712
1846
  .n("PaymentCryptographyDataClient", "GeneratePinDataCommand")
1713
- .f(GeneratePinDataInputFilterSensitiveLog, GeneratePinDataOutputFilterSensitiveLog)
1714
- .ser(se_GeneratePinDataCommand)
1715
- .de(de_GeneratePinDataCommand)
1847
+ .sc(GeneratePinData)
1716
1848
  .build() {
1717
1849
  }
1718
1850
 
@@ -1720,16 +1852,11 @@ class ReEncryptDataCommand extends smithyClient.Command
1720
1852
  .classBuilder()
1721
1853
  .ep(commonParams)
1722
1854
  .m(function (Command, cs, config, o) {
1723
- return [
1724
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1725
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1726
- ];
1855
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1727
1856
  })
1728
1857
  .s("PaymentCryptographyDataPlane", "ReEncryptData", {})
1729
1858
  .n("PaymentCryptographyDataClient", "ReEncryptDataCommand")
1730
- .f(ReEncryptDataInputFilterSensitiveLog, ReEncryptDataOutputFilterSensitiveLog)
1731
- .ser(se_ReEncryptDataCommand)
1732
- .de(de_ReEncryptDataCommand)
1859
+ .sc(ReEncryptData)
1733
1860
  .build() {
1734
1861
  }
1735
1862
 
@@ -1737,16 +1864,11 @@ class TranslateKeyMaterialCommand extends smithyClient.Command
1737
1864
  .classBuilder()
1738
1865
  .ep(commonParams)
1739
1866
  .m(function (Command, cs, config, o) {
1740
- return [
1741
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1742
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1743
- ];
1867
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1744
1868
  })
1745
1869
  .s("PaymentCryptographyDataPlane", "TranslateKeyMaterial", {})
1746
1870
  .n("PaymentCryptographyDataClient", "TranslateKeyMaterialCommand")
1747
- .f(TranslateKeyMaterialInputFilterSensitiveLog, TranslateKeyMaterialOutputFilterSensitiveLog)
1748
- .ser(se_TranslateKeyMaterialCommand)
1749
- .de(de_TranslateKeyMaterialCommand)
1871
+ .sc(TranslateKeyMaterial)
1750
1872
  .build() {
1751
1873
  }
1752
1874
 
@@ -1754,16 +1876,11 @@ class TranslatePinDataCommand extends smithyClient.Command
1754
1876
  .classBuilder()
1755
1877
  .ep(commonParams)
1756
1878
  .m(function (Command, cs, config, o) {
1757
- return [
1758
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1759
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1760
- ];
1879
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1761
1880
  })
1762
1881
  .s("PaymentCryptographyDataPlane", "TranslatePinData", {})
1763
1882
  .n("PaymentCryptographyDataClient", "TranslatePinDataCommand")
1764
- .f(TranslatePinDataInputFilterSensitiveLog, TranslatePinDataOutputFilterSensitiveLog)
1765
- .ser(se_TranslatePinDataCommand)
1766
- .de(de_TranslatePinDataCommand)
1883
+ .sc(TranslatePinData)
1767
1884
  .build() {
1768
1885
  }
1769
1886
 
@@ -1771,16 +1888,11 @@ class VerifyAuthRequestCryptogramCommand extends smithyClient.Command
1771
1888
  .classBuilder()
1772
1889
  .ep(commonParams)
1773
1890
  .m(function (Command, cs, config, o) {
1774
- return [
1775
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1776
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1777
- ];
1891
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1778
1892
  })
1779
1893
  .s("PaymentCryptographyDataPlane", "VerifyAuthRequestCryptogram", {})
1780
1894
  .n("PaymentCryptographyDataClient", "VerifyAuthRequestCryptogramCommand")
1781
- .f(VerifyAuthRequestCryptogramInputFilterSensitiveLog, VerifyAuthRequestCryptogramOutputFilterSensitiveLog)
1782
- .ser(se_VerifyAuthRequestCryptogramCommand)
1783
- .de(de_VerifyAuthRequestCryptogramCommand)
1895
+ .sc(VerifyAuthRequestCryptogram)
1784
1896
  .build() {
1785
1897
  }
1786
1898
 
@@ -1788,16 +1900,11 @@ class VerifyCardValidationDataCommand extends smithyClient.Command
1788
1900
  .classBuilder()
1789
1901
  .ep(commonParams)
1790
1902
  .m(function (Command, cs, config, o) {
1791
- return [
1792
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1793
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1794
- ];
1903
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1795
1904
  })
1796
1905
  .s("PaymentCryptographyDataPlane", "VerifyCardValidationData", {})
1797
1906
  .n("PaymentCryptographyDataClient", "VerifyCardValidationDataCommand")
1798
- .f(VerifyCardValidationDataInputFilterSensitiveLog, void 0)
1799
- .ser(se_VerifyCardValidationDataCommand)
1800
- .de(de_VerifyCardValidationDataCommand)
1907
+ .sc(VerifyCardValidationData)
1801
1908
  .build() {
1802
1909
  }
1803
1910
 
@@ -1805,16 +1912,11 @@ class VerifyMacCommand extends smithyClient.Command
1805
1912
  .classBuilder()
1806
1913
  .ep(commonParams)
1807
1914
  .m(function (Command, cs, config, o) {
1808
- return [
1809
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1810
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1811
- ];
1915
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1812
1916
  })
1813
1917
  .s("PaymentCryptographyDataPlane", "VerifyMac", {})
1814
1918
  .n("PaymentCryptographyDataClient", "VerifyMacCommand")
1815
- .f(VerifyMacInputFilterSensitiveLog, void 0)
1816
- .ser(se_VerifyMacCommand)
1817
- .de(de_VerifyMacCommand)
1919
+ .sc(VerifyMac)
1818
1920
  .build() {
1819
1921
  }
1820
1922
 
@@ -1822,16 +1924,11 @@ class VerifyPinDataCommand extends smithyClient.Command
1822
1924
  .classBuilder()
1823
1925
  .ep(commonParams)
1824
1926
  .m(function (Command, cs, config, o) {
1825
- return [
1826
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1827
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1828
- ];
1927
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1829
1928
  })
1830
1929
  .s("PaymentCryptographyDataPlane", "VerifyPinData", {})
1831
1930
  .n("PaymentCryptographyDataClient", "VerifyPinDataCommand")
1832
- .f(VerifyPinDataInputFilterSensitiveLog, void 0)
1833
- .ser(se_VerifyPinDataCommand)
1834
- .de(de_VerifyPinDataCommand)
1931
+ .sc(VerifyPinData)
1835
1932
  .build() {
1836
1933
  }
1837
1934
 
@@ -1862,117 +1959,45 @@ Object.defineProperty(exports, "__Client", {
1862
1959
  enumerable: true,
1863
1960
  get: function () { return smithyClient.Client; }
1864
1961
  });
1865
- exports.AccessDeniedException = AccessDeniedException;
1866
- exports.AmexAttributesFilterSensitiveLog = AmexAttributesFilterSensitiveLog;
1867
- exports.AmexCardSecurityCodeVersion1FilterSensitiveLog = AmexCardSecurityCodeVersion1FilterSensitiveLog;
1868
- exports.AmexCardSecurityCodeVersion2FilterSensitiveLog = AmexCardSecurityCodeVersion2FilterSensitiveLog;
1869
- exports.CardGenerationAttributesFilterSensitiveLog = CardGenerationAttributesFilterSensitiveLog;
1870
- exports.CardVerificationAttributesFilterSensitiveLog = CardVerificationAttributesFilterSensitiveLog;
1871
- exports.CardVerificationValue1FilterSensitiveLog = CardVerificationValue1FilterSensitiveLog;
1872
- exports.CardVerificationValue2FilterSensitiveLog = CardVerificationValue2FilterSensitiveLog;
1873
- exports.CryptogramAuthResponseFilterSensitiveLog = CryptogramAuthResponseFilterSensitiveLog;
1874
- exports.CryptogramVerificationArpcMethod2FilterSensitiveLog = CryptogramVerificationArpcMethod2FilterSensitiveLog;
1875
- exports.CurrentPinAttributesFilterSensitiveLog = CurrentPinAttributesFilterSensitiveLog;
1962
+ exports.AccessDeniedException = AccessDeniedException$1;
1876
1963
  exports.DecryptDataCommand = DecryptDataCommand;
1877
- exports.DecryptDataInputFilterSensitiveLog = DecryptDataInputFilterSensitiveLog;
1878
- exports.DecryptDataOutputFilterSensitiveLog = DecryptDataOutputFilterSensitiveLog;
1879
- exports.DerivationMethodAttributesFilterSensitiveLog = DerivationMethodAttributesFilterSensitiveLog;
1880
- exports.DiscoverDynamicCardVerificationCodeFilterSensitiveLog = DiscoverDynamicCardVerificationCodeFilterSensitiveLog;
1881
1964
  exports.DukptDerivationType = DukptDerivationType;
1882
- exports.DukptEncryptionAttributesFilterSensitiveLog = DukptEncryptionAttributesFilterSensitiveLog;
1883
1965
  exports.DukptEncryptionMode = DukptEncryptionMode;
1884
1966
  exports.DukptKeyVariant = DukptKeyVariant;
1885
- exports.DynamicCardVerificationCodeFilterSensitiveLog = DynamicCardVerificationCodeFilterSensitiveLog;
1886
- exports.DynamicCardVerificationValueFilterSensitiveLog = DynamicCardVerificationValueFilterSensitiveLog;
1887
- exports.Emv2000AttributesFilterSensitiveLog = Emv2000AttributesFilterSensitiveLog;
1888
- exports.EmvCommonAttributesFilterSensitiveLog = EmvCommonAttributesFilterSensitiveLog;
1889
- exports.EmvEncryptionAttributesFilterSensitiveLog = EmvEncryptionAttributesFilterSensitiveLog;
1890
1967
  exports.EmvEncryptionMode = EmvEncryptionMode;
1891
1968
  exports.EmvMajorKeyDerivationMode = EmvMajorKeyDerivationMode;
1892
1969
  exports.EncryptDataCommand = EncryptDataCommand;
1893
- exports.EncryptDataInputFilterSensitiveLog = EncryptDataInputFilterSensitiveLog;
1894
- exports.EncryptDataOutputFilterSensitiveLog = EncryptDataOutputFilterSensitiveLog;
1895
- exports.EncryptionDecryptionAttributesFilterSensitiveLog = EncryptionDecryptionAttributesFilterSensitiveLog;
1896
1970
  exports.EncryptionMode = EncryptionMode;
1897
1971
  exports.GenerateCardValidationDataCommand = GenerateCardValidationDataCommand;
1898
- exports.GenerateCardValidationDataInputFilterSensitiveLog = GenerateCardValidationDataInputFilterSensitiveLog;
1899
- exports.GenerateCardValidationDataOutputFilterSensitiveLog = GenerateCardValidationDataOutputFilterSensitiveLog;
1900
1972
  exports.GenerateMacCommand = GenerateMacCommand;
1901
1973
  exports.GenerateMacEmvPinChangeCommand = GenerateMacEmvPinChangeCommand;
1902
- exports.GenerateMacEmvPinChangeInputFilterSensitiveLog = GenerateMacEmvPinChangeInputFilterSensitiveLog;
1903
- exports.GenerateMacEmvPinChangeOutputFilterSensitiveLog = GenerateMacEmvPinChangeOutputFilterSensitiveLog;
1904
- exports.GenerateMacInputFilterSensitiveLog = GenerateMacInputFilterSensitiveLog;
1905
- exports.GenerateMacOutputFilterSensitiveLog = GenerateMacOutputFilterSensitiveLog;
1906
1974
  exports.GeneratePinDataCommand = GeneratePinDataCommand;
1907
- exports.GeneratePinDataInputFilterSensitiveLog = GeneratePinDataInputFilterSensitiveLog;
1908
- exports.GeneratePinDataOutputFilterSensitiveLog = GeneratePinDataOutputFilterSensitiveLog;
1909
- exports.Ibm3624NaturalPinFilterSensitiveLog = Ibm3624NaturalPinFilterSensitiveLog;
1910
- exports.Ibm3624PinFromOffsetFilterSensitiveLog = Ibm3624PinFromOffsetFilterSensitiveLog;
1911
- exports.Ibm3624PinOffsetFilterSensitiveLog = Ibm3624PinOffsetFilterSensitiveLog;
1912
- exports.Ibm3624PinVerificationFilterSensitiveLog = Ibm3624PinVerificationFilterSensitiveLog;
1913
- exports.Ibm3624RandomPinFilterSensitiveLog = Ibm3624RandomPinFilterSensitiveLog;
1914
- exports.IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog = IncomingDiffieHellmanTr31KeyBlockFilterSensitiveLog;
1915
- exports.IncomingKeyMaterialFilterSensitiveLog = IncomingKeyMaterialFilterSensitiveLog;
1916
- exports.InternalServerException = InternalServerException;
1975
+ exports.InternalServerException = InternalServerException$1;
1917
1976
  exports.KeyCheckValueAlgorithm = KeyCheckValueAlgorithm;
1918
1977
  exports.KeyDerivationFunction = KeyDerivationFunction;
1919
1978
  exports.KeyDerivationHashAlgorithm = KeyDerivationHashAlgorithm;
1920
1979
  exports.MacAlgorithm = MacAlgorithm;
1921
- exports.MacAlgorithmEmvFilterSensitiveLog = MacAlgorithmEmvFilterSensitiveLog;
1922
- exports.MacAttributesFilterSensitiveLog = MacAttributesFilterSensitiveLog;
1923
1980
  exports.MajorKeyDerivationMode = MajorKeyDerivationMode;
1924
- exports.MasterCardAttributesFilterSensitiveLog = MasterCardAttributesFilterSensitiveLog;
1925
1981
  exports.PaddingType = PaddingType;
1926
1982
  exports.PaymentCryptographyData = PaymentCryptographyData;
1927
1983
  exports.PaymentCryptographyDataClient = PaymentCryptographyDataClient;
1928
- exports.PaymentCryptographyDataServiceException = PaymentCryptographyDataServiceException;
1984
+ exports.PaymentCryptographyDataServiceException = PaymentCryptographyDataServiceException$1;
1929
1985
  exports.PinBlockFormatForEmvPinChange = PinBlockFormatForEmvPinChange;
1930
1986
  exports.PinBlockFormatForPinData = PinBlockFormatForPinData;
1931
1987
  exports.PinBlockLengthPosition = PinBlockLengthPosition;
1932
1988
  exports.PinBlockPaddingType = PinBlockPaddingType;
1933
- exports.PinDataFilterSensitiveLog = PinDataFilterSensitiveLog;
1934
- exports.PinGenerationAttributesFilterSensitiveLog = PinGenerationAttributesFilterSensitiveLog;
1935
- exports.PinVerificationAttributesFilterSensitiveLog = PinVerificationAttributesFilterSensitiveLog;
1936
1989
  exports.ReEncryptDataCommand = ReEncryptDataCommand;
1937
- exports.ReEncryptDataInputFilterSensitiveLog = ReEncryptDataInputFilterSensitiveLog;
1938
- exports.ReEncryptDataOutputFilterSensitiveLog = ReEncryptDataOutputFilterSensitiveLog;
1939
- exports.ReEncryptionAttributesFilterSensitiveLog = ReEncryptionAttributesFilterSensitiveLog;
1940
- exports.ResourceNotFoundException = ResourceNotFoundException;
1941
- exports.SessionKeyAmexFilterSensitiveLog = SessionKeyAmexFilterSensitiveLog;
1942
- exports.SessionKeyDerivationFilterSensitiveLog = SessionKeyDerivationFilterSensitiveLog;
1990
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1943
1991
  exports.SessionKeyDerivationMode = SessionKeyDerivationMode;
1944
- exports.SessionKeyDerivationValueFilterSensitiveLog = SessionKeyDerivationValueFilterSensitiveLog;
1945
- exports.SessionKeyEmv2000FilterSensitiveLog = SessionKeyEmv2000FilterSensitiveLog;
1946
- exports.SessionKeyEmvCommonFilterSensitiveLog = SessionKeyEmvCommonFilterSensitiveLog;
1947
- exports.SessionKeyMastercardFilterSensitiveLog = SessionKeyMastercardFilterSensitiveLog;
1948
- exports.SessionKeyVisaFilterSensitiveLog = SessionKeyVisaFilterSensitiveLog;
1949
- exports.SymmetricEncryptionAttributesFilterSensitiveLog = SymmetricEncryptionAttributesFilterSensitiveLog;
1950
1992
  exports.SymmetricKeyAlgorithm = SymmetricKeyAlgorithm;
1951
- exports.ThrottlingException = ThrottlingException;
1993
+ exports.ThrottlingException = ThrottlingException$1;
1952
1994
  exports.TranslateKeyMaterialCommand = TranslateKeyMaterialCommand;
1953
- exports.TranslateKeyMaterialInputFilterSensitiveLog = TranslateKeyMaterialInputFilterSensitiveLog;
1954
- exports.TranslateKeyMaterialOutputFilterSensitiveLog = TranslateKeyMaterialOutputFilterSensitiveLog;
1955
1995
  exports.TranslatePinDataCommand = TranslatePinDataCommand;
1956
- exports.TranslatePinDataInputFilterSensitiveLog = TranslatePinDataInputFilterSensitiveLog;
1957
- exports.TranslatePinDataOutputFilterSensitiveLog = TranslatePinDataOutputFilterSensitiveLog;
1958
- exports.TranslationIsoFormatsFilterSensitiveLog = TranslationIsoFormatsFilterSensitiveLog;
1959
- exports.TranslationPinDataIsoFormat034FilterSensitiveLog = TranslationPinDataIsoFormat034FilterSensitiveLog;
1960
- exports.ValidationException = ValidationException;
1961
- exports.VerificationFailedException = VerificationFailedException;
1996
+ exports.ValidationException = ValidationException$1;
1997
+ exports.VerificationFailedException = VerificationFailedException$1;
1962
1998
  exports.VerificationFailedReason = VerificationFailedReason;
1963
1999
  exports.VerifyAuthRequestCryptogramCommand = VerifyAuthRequestCryptogramCommand;
1964
- exports.VerifyAuthRequestCryptogramInputFilterSensitiveLog = VerifyAuthRequestCryptogramInputFilterSensitiveLog;
1965
- exports.VerifyAuthRequestCryptogramOutputFilterSensitiveLog = VerifyAuthRequestCryptogramOutputFilterSensitiveLog;
1966
2000
  exports.VerifyCardValidationDataCommand = VerifyCardValidationDataCommand;
1967
- exports.VerifyCardValidationDataInputFilterSensitiveLog = VerifyCardValidationDataInputFilterSensitiveLog;
1968
2001
  exports.VerifyMacCommand = VerifyMacCommand;
1969
- exports.VerifyMacInputFilterSensitiveLog = VerifyMacInputFilterSensitiveLog;
1970
2002
  exports.VerifyPinDataCommand = VerifyPinDataCommand;
1971
- exports.VerifyPinDataInputFilterSensitiveLog = VerifyPinDataInputFilterSensitiveLog;
1972
- exports.VisaAttributesFilterSensitiveLog = VisaAttributesFilterSensitiveLog;
1973
- exports.VisaPinVerificationFilterSensitiveLog = VisaPinVerificationFilterSensitiveLog;
1974
- exports.VisaPinVerificationValueFilterSensitiveLog = VisaPinVerificationValueFilterSensitiveLog;
1975
- exports.WrappedKeyFilterSensitiveLog = WrappedKeyFilterSensitiveLog;
1976
- exports.WrappedKeyMaterialFilterSensitiveLog = WrappedKeyMaterialFilterSensitiveLog;
1977
2003
  exports.WrappedKeyMaterialFormat = WrappedKeyMaterialFormat;
1978
- exports.WrappedWorkingKeyFilterSensitiveLog = WrappedWorkingKeyFilterSensitiveLog;