@aws-sdk/client-payment-cryptography-data 3.1075.0 → 3.1076.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultPaymentCryptographyDataHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { DecryptData$, EncryptData$, GenerateAs2805KekValidation$, GenerateAuthRequestCryptogram$, GenerateCardValidationData$, GenerateMac$, GenerateMacEmvPinChange$, GeneratePinData$, ReEncryptData$, TranslateKeyMaterial$, TranslatePinData$, VerifyAuthRequestCryptogram$, VerifyCardValidationData$, VerifyMac$, VerifyPinData$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { PaymentCryptographyDataServiceException } = require("./models/PaymentCryptographyDataServiceException");
18
- exports.PaymentCryptographyDataServiceException = PaymentCryptographyDataServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultPaymentCryptographyDataHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "payment-cryptography",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultPaymentCryptographyDataHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1139 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://dataplane.payment-cryptography-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://dataplane.payment-cryptography-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://dataplane.payment-cryptography.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://dataplane.payment-cryptography.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class PaymentCryptographyDataServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, PaymentCryptographyDataServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends PaymentCryptographyDataServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ Message;
143
+ constructor(opts) {
144
+ super({
145
+ name: "AccessDeniedException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
150
+ this.Message = opts.Message;
151
+ }
152
+ }
153
+ class InternalServerException extends PaymentCryptographyDataServiceException {
154
+ name = "InternalServerException";
155
+ $fault = "server";
156
+ Message;
157
+ constructor(opts) {
158
+ super({
159
+ name: "InternalServerException",
160
+ $fault: "server",
161
+ ...opts,
162
+ });
163
+ Object.setPrototypeOf(this, InternalServerException.prototype);
164
+ this.Message = opts.Message;
165
+ }
166
+ }
167
+ class ResourceNotFoundException extends PaymentCryptographyDataServiceException {
168
+ name = "ResourceNotFoundException";
169
+ $fault = "client";
170
+ ResourceId;
171
+ constructor(opts) {
172
+ super({
173
+ name: "ResourceNotFoundException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
178
+ this.ResourceId = opts.ResourceId;
179
+ }
180
+ }
181
+ class ThrottlingException extends PaymentCryptographyDataServiceException {
182
+ name = "ThrottlingException";
183
+ $fault = "client";
184
+ Message;
185
+ constructor(opts) {
186
+ super({
187
+ name: "ThrottlingException",
188
+ $fault: "client",
189
+ ...opts,
190
+ });
191
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
192
+ this.Message = opts.Message;
193
+ }
194
+ }
195
+ class ValidationException extends PaymentCryptographyDataServiceException {
196
+ name = "ValidationException";
197
+ $fault = "client";
198
+ fieldList;
199
+ constructor(opts) {
200
+ super({
201
+ name: "ValidationException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ Object.setPrototypeOf(this, ValidationException.prototype);
206
+ this.fieldList = opts.fieldList;
207
+ }
208
+ }
209
+ class VerificationFailedException extends PaymentCryptographyDataServiceException {
210
+ name = "VerificationFailedException";
211
+ $fault = "client";
212
+ Reason;
213
+ Message;
214
+ constructor(opts) {
215
+ super({
216
+ name: "VerificationFailedException",
217
+ $fault: "client",
218
+ ...opts,
219
+ });
220
+ Object.setPrototypeOf(this, VerificationFailedException.prototype);
221
+ this.Reason = opts.Reason;
222
+ this.Message = opts.Message;
223
+ }
224
+ }
225
+
226
+ const _A = "Amex";
227
+ const _AA = "AmexAttributes";
228
+ const _AC = "ApplicationCryptogram";
229
+ const _ACSCV = "AmexCardSecurityCodeVersion1";
230
+ const _ACSCVm = "AmexCardSecurityCodeVersion2";
231
+ const _ACT = "ApplicationCryptogramType";
232
+ const _ADE = "AccessDeniedException";
233
+ const _AEA = "AsymmetricEncryptionAttributes";
234
+ const _AF = "As2805Format0";
235
+ const _AKVT = "As2805KekValidationType";
236
+ const _AM = "ArpcMethod1";
237
+ const _AMr = "ArpcMethod2";
238
+ const _APDA = "As2805PekDerivationAttributes";
239
+ const _ARA = "AuthResponseAttributes";
240
+ const _ARC = "AuthResponseCode";
241
+ const _ARCT = "AuthRequestCryptogramType";
242
+ const _ARCu = "AuthRequestCryptogram";
243
+ const _ARKA = "AuthorizationRequestKeyArn";
244
+ const _ARKCV = "AuthorizationRequestKeyCheckValue";
245
+ const _ARKI = "AuthorizationRequestKeyIdentifier";
246
+ const _ARKM = "As2805RandomKeyMaterial";
247
+ const _ARV = "AuthResponseValue";
248
+ const _ARVT = "AuthResponseValueType";
249
+ const _ATC = "ApplicationTransactionCounter";
250
+ const _Al = "Algorithm";
251
+ const _As = "Asymmetric";
252
+ const _CAPKI = "CertificateAuthorityPublicKeyIdentifier";
253
+ const _CAR = "CryptogramAuthResponse";
254
+ const _CED = "CardExpiryDate";
255
+ const _CEDT = "CardExpiryDateType";
256
+ const _CEPB = "CurrentEncryptedPinBlock";
257
+ const _CGA = "CardGenerationAttributes";
258
+ const _CHVV = "CardHolderVerificationValue";
259
+ const _CMDT = "CommandMessageDataType";
260
+ const _CPA = "CurrentPinAttributes";
261
+ const _CPPA = "CurrentPinPekArn";
262
+ const _CPPI = "CurrentPinPekIdentifier";
263
+ const _CPPKCV = "CurrentPinPekKeyCheckValue";
264
+ const _CSU = "CardStatusUpdate";
265
+ const _CT = "CipherText";
266
+ const _CTT = "CipherTextType";
267
+ const _CVA = "CardVerificationAttributes";
268
+ const _CVAM = "CryptogramVerificationArpcMethod1";
269
+ const _CVAMr = "CryptogramVerificationArpcMethod2";
270
+ const _CVV = "CardVerificationValue1";
271
+ const _CVVa = "CardVerificationValue2";
272
+ const _D = "Dukpt";
273
+ const _DA = "DecryptionAttributes";
274
+ const _DAu = "DukptAttributes";
275
+ const _DC = "DukptCmac";
276
+ const _DCVC = "DynamicCardVerificationCode";
277
+ const _DCVV = "DynamicCardVerificationValue";
278
+ const _DD = "DerivationData";
279
+ const _DDA = "DukptDerivationAttributes";
280
+ const _DDCVC = "DiscoverDynamicCardVerificationCode";
281
+ const _DDI = "DecryptDataInput";
282
+ const _DDO = "DecryptDataOutput";
283
+ const _DDT = "DukptDerivationType";
284
+ const _DDe = "DecryptData";
285
+ const _DEA = "DukptEncryptionAttributes";
286
+ const _DHDD = "DiffieHellmanDerivationData";
287
+ const _DHSK = "DiffieHellmanSymmetricKey";
288
+ const _DHTKB = "DiffieHellmanTr31KeyBlock";
289
+ const _DIA = "DukptIso9797Algorithm1";
290
+ const _DIAu = "DukptIso9797Algorithm3";
291
+ const _DKA = "DeriveKeyAlgorithm";
292
+ const _DKDT = "DukptKeyDerivationType";
293
+ const _DKV = "DukptKeyVariant";
294
+ const _DMA = "DerivationMethodAttributes";
295
+ const _DT = "DecimalizationTable";
296
+ const _DTT = "DecimalizationTableType";
297
+ const _E = "Emv2000";
298
+ const _EA = "Emv2000Attributes";
299
+ const _EAn = "EncryptionAttributes";
300
+ const _EC = "EmvCommon";
301
+ const _ECA = "EmvCommonAttributes";
302
+ const _ED = "EncryptData";
303
+ const _EDA = "EcdhDerivationAttributes";
304
+ const _EDAn = "EncryptionDecryptionAttributes";
305
+ const _EDI = "EncryptDataInput";
306
+ const _EDO = "EncryptDataOutput";
307
+ const _EEA = "EmvEncryptionAttributes";
308
+ const _EKA = "EncryptionKeyArn";
309
+ const _EKCV = "EncryptionKeyCheckValue";
310
+ const _EKI = "EncryptionKeyIdentifier";
311
+ const _EM = "EmvMac";
312
+ const _EPB = "EncryptedPinBlock";
313
+ const _EPBT = "EncryptedPinBlockType";
314
+ const _EWK = "EncryptionWrappedKey";
315
+ const _Em = "Emv";
316
+ const _GA = "GenerationAttributes";
317
+ const _GAKV = "GenerateAs2805KekValidation";
318
+ const _GAKVI = "GenerateAs2805KekValidationInput";
319
+ const _GAKVO = "GenerateAs2805KekValidationOutput";
320
+ const _GARC = "GenerateAuthRequestCryptogram";
321
+ const _GARCI = "GenerateAuthRequestCryptogramInput";
322
+ const _GARCO = "GenerateAuthRequestCryptogramOutput";
323
+ const _GCVD = "GenerateCardValidationData";
324
+ const _GCVDI = "GenerateCardValidationDataInput";
325
+ const _GCVDO = "GenerateCardValidationDataOutput";
326
+ const _GKA = "GenerationKeyArn";
327
+ const _GKCV = "GenerationKeyCheckValue";
328
+ const _GKI = "GenerationKeyIdentifier";
329
+ const _GM = "GenerateMac";
330
+ const _GMEPC = "GenerateMacEmvPinChange";
331
+ const _GMEPCI = "GenerateMacEmvPinChangeInput";
332
+ const _GMEPCO = "GenerateMacEmvPinChangeOutput";
333
+ const _GMI = "GenerateMacInput";
334
+ const _GMO = "GenerateMacOutput";
335
+ const _GPD = "GeneratePinData";
336
+ const _GPDI = "GeneratePinDataInput";
337
+ const _GPDO = "GeneratePinDataOutput";
338
+ const _HELBA = "HexEvenLengthBetween16And32";
339
+ const _IAA = "IncomingAs2805Attributes";
340
+ const _IDA = "IncomingDukptAttributes";
341
+ const _IDHTKB = "IncomingDiffieHellmanTr31KeyBlock";
342
+ const _IEA = "IncomingEncryptionAttributes";
343
+ const _IF = "IsoFormat0";
344
+ const _IFs = "IsoFormat1";
345
+ const _IFso = "IsoFormat3";
346
+ const _IFsoo = "IsoFormat4";
347
+ const _IKI = "IncomingKeyIdentifier";
348
+ const _IKM = "IncomingKeyMaterial";
349
+ const _INP = "Ibm3624NaturalPin";
350
+ const _IP = "Ibm3624Pin";
351
+ const _IPFO = "Ibm3624PinFromOffset";
352
+ const _IPO = "Ibm3624PinOffset";
353
+ const _IPV = "Ibm3624PinVerification";
354
+ const _IRP = "Ibm3624RandomPin";
355
+ const _ISE = "InternalServerException";
356
+ const _ITA = "IncomingTranslationAttributes";
357
+ const _IV = "InitializationVector";
358
+ const _IVT = "InitializationVectorType";
359
+ const _IWK = "IncomingWrappedKey";
360
+ const _KA = "KeyArn";
361
+ const _KAe = "KeyAlgorithm";
362
+ const _KCV = "KeyCheckValue";
363
+ const _KCVA = "KeyCheckValueAlgorithm";
364
+ const _KDF = "KeyDerivationFunction";
365
+ const _KDHA = "KeyDerivationHashAlgorithm";
366
+ const _KI = "KeyIdentifier";
367
+ const _KM = "KeyMaterial";
368
+ const _KSN = "KeySerialNumber";
369
+ const _KVR = "KekValidationRequest";
370
+ const _KVRe = "KekValidationResponse";
371
+ const _KVT = "KekValidationType";
372
+ const _M = "Message";
373
+ const _MA = "MacAttributes";
374
+ const _MAD = "MacAlgorithmDukpt";
375
+ const _MAE = "MacAlgorithmEmv";
376
+ const _MCA = "MasterCardAttributes";
377
+ const _MD = "MessageData";
378
+ const _MDT = "MessageDataType";
379
+ const _MKDM = "MajorKeyDerivationMode";
380
+ const _ML = "MacLength";
381
+ const _MOT = "MacOutputType";
382
+ const _MT = "MacType";
383
+ const _Ma = "Mac";
384
+ const _Mas = "Mastercard";
385
+ const _Mo = "Mode";
386
+ const _NEPB = "NewEncryptedPinBlock";
387
+ const _NPPA = "NewPinPekArn";
388
+ const _NPPI = "NewPinPekIdentifier";
389
+ const _NPPKCV = "NewPinPekKeyCheckValue";
390
+ const _ODA = "OutgoingDukptAttributes";
391
+ const _OEA = "OutgoingEncryptionAttributes";
392
+ const _OKI = "OutgoingKeyIdentifier";
393
+ const _OKM = "OutgoingKeyMaterial";
394
+ const _OTA = "OutgoingTranslationAttributes";
395
+ const _OTKB = "OutgoingTr31KeyBlock";
396
+ const _OWK = "OutgoingWrappedKey";
397
+ const _PAD = "ProprietaryAuthenticationData";
398
+ const _PADT = "ProprietaryAuthenticationDataType";
399
+ const _PAN = "PrimaryAccountNumber";
400
+ const _PANT = "PrimaryAccountNumberType";
401
+ const _PB = "PinBlock";
402
+ const _PBF = "PinBlockFormat";
403
+ const _PBLE = "PinBlockLengthEquals16";
404
+ const _PBLP = "PinBlockLengthPosition";
405
+ const _PBPT = "PinBlockPaddingType";
406
+ const _PCMOT = "PinChangeMacOutputType";
407
+ const _PD = "PinData";
408
+ const _PDL = "PinDataLength";
409
+ const _PGA = "PinGenerationAttributes";
410
+ const _PKC = "PublicKeyCertificate";
411
+ const _PKI = "PrivateKeyIdentifier";
412
+ const _PO = "PinOffset";
413
+ const _POT = "PinOffsetType";
414
+ const _PSN = "PanSequenceNumber";
415
+ const _PT = "PaddingType";
416
+ const _PTOT = "PlainTextOutputType";
417
+ const _PTT = "PlainTextType";
418
+ const _PTl = "PlainText";
419
+ const _PVA = "PinVerificationAttributes";
420
+ const _PVD = "PinValidationData";
421
+ const _PVDPC = "PinValidationDataPadCharacter";
422
+ const _PVDT = "PinValidationDataType";
423
+ const _PVKI = "PinVerificationKeyIndex";
424
+ const _R = "Reason";
425
+ const _REA = "ReEncryptionAttributes";
426
+ const _RED = "ReEncryptData";
427
+ const _REDI = "ReEncryptDataInput";
428
+ const _REDO = "ReEncryptDataOutput";
429
+ const _RI = "ResourceId";
430
+ const _RKML = "RandomKeyMaxLength";
431
+ const _RKR = "RandomKeyReceive";
432
+ const _RKS = "RandomKeySend";
433
+ const _RKSVM = "RandomKeySendVariantMask";
434
+ const _RNFE = "ResourceNotFoundException";
435
+ const _S = "Symmetric";
436
+ const _SC = "ServiceCode";
437
+ const _SCT = "ServiceCodeType";
438
+ const _SDD = "SessionDerivationData";
439
+ const _SDDT = "SessionDerivationDataType";
440
+ const _SEA = "SymmetricEncryptionAttributes";
441
+ const _SI = "SharedInformation";
442
+ const _SKA = "SessionKeyAmex";
443
+ const _SKD = "SessionKeyDerivation";
444
+ const _SKDA = "SessionKeyDerivationAttributes";
445
+ const _SKDM = "SessionKeyDerivationMode";
446
+ const _SKDV = "SessionKeyDerivationValue";
447
+ const _SKE = "SessionKeyEmv2000";
448
+ const _SKEC = "SessionKeyEmvCommon";
449
+ const _SKM = "SessionKeyMastercard";
450
+ const _SKV = "SessionKeyVisa";
451
+ const _SMCKA = "SecureMessagingConfidentialityKeyArn";
452
+ const _SMCKCV = "SecureMessagingConfidentialityKeyCheckValue";
453
+ const _SMCKI = "SecureMessagingConfidentialityKeyIdentifier";
454
+ const _SMIKA = "SecureMessagingIntegrityKeyArn";
455
+ const _SMIKCV = "SecureMessagingIntegrityKeyCheckValue";
456
+ const _SMIKI = "SecureMessagingIntegrityKeyIdentifier";
457
+ const _STAN = "SystemTraceAuditNumber";
458
+ const _TA = "TransactionAmount";
459
+ const _TD = "TrackData";
460
+ const _TDT = "TrackDataType";
461
+ const _TDTr = "TransactionDataType";
462
+ const _TDr = "TransactionData";
463
+ const _TE = "ThrottlingException";
464
+ const _TIF = "TranslationIsoFormats";
465
+ const _TKB = "Tr31KeyBlock";
466
+ const _TKM = "TranslateKeyMaterial";
467
+ const _TKMI = "TranslateKeyMaterialInput";
468
+ const _TKMO = "TranslateKeyMaterialOutput";
469
+ const _TPD = "TranslatePinData";
470
+ const _TPDAF = "TranslationPinDataAs2805Format0";
471
+ const _TPDI = "TranslatePinDataInput";
472
+ const _TPDIF = "TranslationPinDataIsoFormat034";
473
+ const _TPDIFr = "TranslationPinDataIsoFormat1";
474
+ const _TPDO = "TranslatePinDataOutput";
475
+ const _TWKB = "Tr31WrappedKeyBlock";
476
+ const _UN = "UnpredictableNumber";
477
+ const _V = "Visa";
478
+ const _VA = "VerificationAttributes";
479
+ const _VADO = "VisaAmexDerivationOutputs";
480
+ const _VARC = "VerifyAuthRequestCryptogram";
481
+ const _VARCI = "VerifyAuthRequestCryptogramInput";
482
+ const _VARCO = "VerifyAuthRequestCryptogramOutput";
483
+ const _VAi = "VisaAttributes";
484
+ const _VCVD = "VerifyCardValidationData";
485
+ const _VCVDI = "VerifyCardValidationDataInput";
486
+ const _VCVDO = "VerifyCardValidationDataOutput";
487
+ const _VD = "ValidationData";
488
+ const _VDL = "ValidationDataLength";
489
+ const _VDT = "ValidationDataType";
490
+ const _VE = "ValidationException";
491
+ const _VEF = "ValidationExceptionField";
492
+ const _VEFL = "ValidationExceptionFieldList";
493
+ const _VFE = "VerificationFailedException";
494
+ const _VKA = "VerificationKeyArn";
495
+ const _VKCV = "VerificationKeyCheckValue";
496
+ const _VKI = "VerificationKeyIdentifier";
497
+ const _VM = "VerifyMac";
498
+ const _VMI = "VerifyMacInput";
499
+ const _VMO = "VerifyMacOutput";
500
+ const _VP = "VisaPin";
501
+ const _VPD = "VerifyPinData";
502
+ const _VPDI = "VerifyPinDataInput";
503
+ const _VPDO = "VerifyPinDataOutput";
504
+ const _VPV = "VisaPinVerification";
505
+ const _VPVV = "VisaPinVerificationValue";
506
+ const _VV = "VerificationValue";
507
+ const _VVT = "VerificationValueType";
508
+ const _WK = "WrappedKey";
509
+ const _WKB = "WrappedKeyBlock";
510
+ const _WKI = "WrappingKeyIdentifier";
511
+ const _WKM = "WrappedKeyMaterial";
512
+ const _WKMF = "WrappedKeyMaterialFormat";
513
+ const _WWK = "WrappedWorkingKey";
514
+ const _c = "client";
515
+ const _e = "error";
516
+ const _fL = "fieldList";
517
+ const _h = "http";
518
+ const _hE = "httpError";
519
+ const _m = "message";
520
+ const _p = "path";
521
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.paymentcryptographydata";
522
+ const _se = "server";
523
+ const n0 = "com.amazonaws.paymentcryptographydata";
524
+ const _s_registry = TypeRegistry.for(_s);
525
+ var PaymentCryptographyDataServiceException$ = [-3, _s, "PaymentCryptographyDataServiceException", 0, [], []];
526
+ _s_registry.registerError(PaymentCryptographyDataServiceException$, PaymentCryptographyDataServiceException);
527
+ const n0_registry = TypeRegistry.for(n0);
528
+ var AccessDeniedException$ = [-3, n0, _ADE,
529
+ { [_e]: _c, [_hE]: 403 },
530
+ [_M],
531
+ [0]
532
+ ];
533
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
534
+ var InternalServerException$ = [-3, n0, _ISE,
535
+ { [_e]: _se, [_hE]: 500 },
536
+ [_M],
537
+ [0]
538
+ ];
539
+ n0_registry.registerError(InternalServerException$, InternalServerException);
540
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
541
+ { [_e]: _c, [_hE]: 404 },
542
+ [_RI],
543
+ [0]
544
+ ];
545
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
546
+ var ThrottlingException$ = [-3, n0, _TE,
547
+ { [_e]: _c, [_hE]: 429 },
548
+ [_M],
549
+ [0]
550
+ ];
551
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
552
+ var ValidationException$ = [-3, n0, _VE,
553
+ { [_e]: _c },
554
+ [_m, _fL],
555
+ [0, () => ValidationExceptionFieldList], 1
556
+ ];
557
+ n0_registry.registerError(ValidationException$, ValidationException);
558
+ var VerificationFailedException$ = [-3, n0, _VFE,
559
+ { [_e]: _c, [_hE]: 400 },
560
+ [_R, _M],
561
+ [0, 0], 2
562
+ ];
563
+ n0_registry.registerError(VerificationFailedException$, VerificationFailedException);
564
+ const errorTypeRegistries = [
565
+ _s_registry,
566
+ n0_registry,
567
+ ];
568
+ var ApplicationCryptogramType = [0, n0, _ACT, 8, 0];
569
+ var As2805RandomKeyMaterial = [0, n0, _ARKM, 8, 0];
570
+ var AuthRequestCryptogramType = [0, n0, _ARCT, 8, 0];
571
+ var AuthResponseValueType = [0, n0, _ARVT, 8, 0];
572
+ var CardExpiryDateType = [0, n0, _CEDT, 8, 0];
573
+ var CipherTextType = [0, n0, _CTT, 8, 0];
574
+ var CommandMessageDataType = [0, n0, _CMDT, 8, 0];
575
+ var DecimalizationTableType = [0, n0, _DTT, 8, 0];
576
+ var EncryptedPinBlockType = [0, n0, _EPBT, 8, 0];
577
+ var HexEvenLengthBetween16And32 = [0, n0, _HELBA, 8, 0];
578
+ var InitializationVectorType = [0, n0, _IVT, 8, 0];
579
+ var KeyMaterial = [0, n0, _KM, 8, 0];
580
+ var MacOutputType = [0, n0, _MOT, 8, 0];
581
+ var MacType = [0, n0, _MT, 8, 0];
582
+ var MessageDataType = [0, n0, _MDT, 8, 0];
583
+ var PinBlockLengthEquals16 = [0, n0, _PBLE, 8, 0];
584
+ var PinChangeMacOutputType = [0, n0, _PCMOT, 8, 0];
585
+ var PinOffsetType = [0, n0, _POT, 8, 0];
586
+ var PinValidationDataType = [0, n0, _PVDT, 8, 0];
587
+ var PlainTextOutputType = [0, n0, _PTOT, 8, 0];
588
+ var PlainTextType = [0, n0, _PTT, 8, 0];
589
+ var PrimaryAccountNumberType = [0, n0, _PANT, 8, 0];
590
+ var ProprietaryAuthenticationDataType = [0, n0, _PADT, 8, 0];
591
+ var ServiceCodeType = [0, n0, _SCT, 8, 0];
592
+ var SessionDerivationDataType = [0, n0, _SDDT, 8, 0];
593
+ var Tr31WrappedKeyBlock = [0, n0, _TWKB, 8, 0];
594
+ var TrackDataType = [0, n0, _TDT, 8, 0];
595
+ var TransactionDataType = [0, n0, _TDTr, 8, 0];
596
+ var ValidationDataType = [0, n0, _VDT, 8, 0];
597
+ var VerificationValueType = [0, n0, _VVT, 8, 0];
598
+ var AmexAttributes$ = [3, n0, _AA,
599
+ 0,
600
+ [_MKDM, _PAN, _PSN, _ATC, _ARKI, _CPA],
601
+ [0, [() => PrimaryAccountNumberType, 0], 0, 0, 0, [() => CurrentPinAttributes$, 0]], 5
602
+ ];
603
+ var AmexCardSecurityCodeVersion1$ = [3, n0, _ACSCV,
604
+ 0,
605
+ [_CED],
606
+ [[() => CardExpiryDateType, 0]], 1
607
+ ];
608
+ var AmexCardSecurityCodeVersion2$ = [3, n0, _ACSCVm,
609
+ 0,
610
+ [_CED, _SC],
611
+ [[() => CardExpiryDateType, 0], [() => ServiceCodeType, 0]], 2
612
+ ];
613
+ var As2805PekDerivationAttributes$ = [3, n0, _APDA,
614
+ 0,
615
+ [_STAN, _TA],
616
+ [0, 0], 2
617
+ ];
618
+ var AsymmetricEncryptionAttributes$ = [3, n0, _AEA,
619
+ 0,
620
+ [_PT],
621
+ [0]
622
+ ];
623
+ var CardHolderVerificationValue$ = [3, n0, _CHVV,
624
+ 0,
625
+ [_UN, _PSN, _ATC],
626
+ [0, 0, 0], 3
627
+ ];
628
+ var CardVerificationValue1$ = [3, n0, _CVV,
629
+ 0,
630
+ [_CED, _SC],
631
+ [[() => CardExpiryDateType, 0], [() => ServiceCodeType, 0]], 2
632
+ ];
633
+ var CardVerificationValue2$ = [3, n0, _CVVa,
634
+ 0,
635
+ [_CED],
636
+ [[() => CardExpiryDateType, 0]], 1
637
+ ];
638
+ var CryptogramVerificationArpcMethod1$ = [3, n0, _CVAM,
639
+ 0,
640
+ [_ARC],
641
+ [0], 1
642
+ ];
643
+ var CryptogramVerificationArpcMethod2$ = [3, n0, _CVAMr,
644
+ 0,
645
+ [_CSU, _PAD],
646
+ [0, [() => ProprietaryAuthenticationDataType, 0]], 1
647
+ ];
648
+ var CurrentPinAttributes$ = [3, n0, _CPA,
649
+ 0,
650
+ [_CPPI, _CEPB],
651
+ [0, [() => PinBlockLengthEquals16, 0]], 2
652
+ ];
653
+ var DecryptDataInput$ = [3, n0, _DDI,
654
+ 0,
655
+ [_KI, _CT, _DA, _WK],
656
+ [[0, 1], [() => CipherTextType, 0], [() => EncryptionDecryptionAttributes$, 0], [() => WrappedKey$, 0]], 3
657
+ ];
658
+ var DecryptDataOutput$ = [3, n0, _DDO,
659
+ 0,
660
+ [_KA, _KCV, _PTl],
661
+ [0, 0, [() => PlainTextOutputType, 0]], 3
662
+ ];
663
+ var DiscoverDynamicCardVerificationCode$ = [3, n0, _DDCVC,
664
+ 0,
665
+ [_CED, _UN, _ATC],
666
+ [[() => CardExpiryDateType, 0], 0, 0], 3
667
+ ];
668
+ var DukptAttributes$ = [3, n0, _DAu,
669
+ 0,
670
+ [_KSN, _DDT],
671
+ [0, 0], 2
672
+ ];
673
+ var DukptDerivationAttributes$ = [3, n0, _DDA,
674
+ 0,
675
+ [_KSN, _DKDT, _DKV],
676
+ [0, 0, 0], 1
677
+ ];
678
+ var DukptEncryptionAttributes$ = [3, n0, _DEA,
679
+ 0,
680
+ [_KSN, _Mo, _DKDT, _DKV, _IV],
681
+ [0, 0, 0, 0, [() => InitializationVectorType, 0]], 1
682
+ ];
683
+ var DynamicCardVerificationCode$ = [3, n0, _DCVC,
684
+ 0,
685
+ [_UN, _PSN, _ATC, _TD],
686
+ [0, 0, 0, [() => TrackDataType, 0]], 4
687
+ ];
688
+ var DynamicCardVerificationValue$ = [3, n0, _DCVV,
689
+ 0,
690
+ [_PSN, _CED, _SC, _ATC],
691
+ [0, [() => CardExpiryDateType, 0], [() => ServiceCodeType, 0], 0], 4
692
+ ];
693
+ var EcdhDerivationAttributes$ = [3, n0, _EDA,
694
+ 0,
695
+ [_CAPKI, _PKC, _KAe, _KDF, _KDHA, _SI],
696
+ [0, 0, 0, 0, 0, 0], 6
697
+ ];
698
+ var Emv2000Attributes$ = [3, n0, _EA,
699
+ 0,
700
+ [_MKDM, _PAN, _PSN, _ATC],
701
+ [0, [() => PrimaryAccountNumberType, 0], 0, 0], 4
702
+ ];
703
+ var EmvCommonAttributes$ = [3, n0, _ECA,
704
+ 0,
705
+ [_MKDM, _PAN, _PSN, _AC, _Mo, _PBPT, _PBLP],
706
+ [0, [() => PrimaryAccountNumberType, 0], 0, [() => ApplicationCryptogramType, 0], 0, 0, 0], 7
707
+ ];
708
+ var EmvEncryptionAttributes$ = [3, n0, _EEA,
709
+ 0,
710
+ [_MKDM, _PAN, _PSN, _SDD, _Mo, _IV],
711
+ [0, [() => PrimaryAccountNumberType, 0], 0, [() => SessionDerivationDataType, 0], 0, [() => InitializationVectorType, 0]], 4
712
+ ];
713
+ var EncryptDataInput$ = [3, n0, _EDI,
714
+ 0,
715
+ [_KI, _PTl, _EAn, _WK],
716
+ [[0, 1], [() => PlainTextType, 0], [() => EncryptionDecryptionAttributes$, 0], [() => WrappedKey$, 0]], 3
717
+ ];
718
+ var EncryptDataOutput$ = [3, n0, _EDO,
719
+ 0,
720
+ [_KA, _CT, _KCV],
721
+ [0, [() => CipherTextType, 0], 0], 2
722
+ ];
723
+ var GenerateAs2805KekValidationInput$ = [3, n0, _GAKVI,
724
+ 0,
725
+ [_KI, _KVT, _RKSVM],
726
+ [0, [() => As2805KekValidationType$, 0], 0], 3
727
+ ];
728
+ var GenerateAs2805KekValidationOutput$ = [3, n0, _GAKVO,
729
+ 0,
730
+ [_KA, _KCV, _RKS, _RKR],
731
+ [0, 0, [() => As2805RandomKeyMaterial, 0], [() => As2805RandomKeyMaterial, 0]], 4
732
+ ];
733
+ var GenerateAuthRequestCryptogramInput$ = [3, n0, _GARCI,
734
+ 0,
735
+ [_KI, _TDr, _MKDM, _SKDA],
736
+ [0, [() => TransactionDataType, 0], 0, [() => SessionKeyDerivation$, 0]], 4
737
+ ];
738
+ var GenerateAuthRequestCryptogramOutput$ = [3, n0, _GARCO,
739
+ 0,
740
+ [_KA, _KCV, _ARCu],
741
+ [0, 0, [() => AuthRequestCryptogramType, 0]], 3
742
+ ];
743
+ var GenerateCardValidationDataInput$ = [3, n0, _GCVDI,
744
+ 0,
745
+ [_KI, _PAN, _GA, _VDL],
746
+ [0, [() => PrimaryAccountNumberType, 0], [() => CardGenerationAttributes$, 0], 1], 3
747
+ ];
748
+ var GenerateCardValidationDataOutput$ = [3, n0, _GCVDO,
749
+ 0,
750
+ [_KA, _KCV, _VD],
751
+ [0, 0, [() => ValidationDataType, 0]], 3
752
+ ];
753
+ var GenerateMacEmvPinChangeInput$ = [3, n0, _GMEPCI,
754
+ 0,
755
+ [_NPPI, _NEPB, _PBF, _SMIKI, _SMCKI, _MD, _DMA],
756
+ [0, [() => PinBlockLengthEquals16, 0], 0, 0, 0, [() => CommandMessageDataType, 0], [() => DerivationMethodAttributes$, 0]], 7
757
+ ];
758
+ var GenerateMacEmvPinChangeOutput$ = [3, n0, _GMEPCO,
759
+ 0,
760
+ [_NPPA, _SMIKA, _SMCKA, _Ma, _EPB, _NPPKCV, _SMIKCV, _SMCKCV, _VADO],
761
+ [0, 0, 0, [() => PinChangeMacOutputType, 0], [() => EncryptedPinBlockType, 0], 0, 0, 0, () => VisaAmexDerivationOutputs$], 8
762
+ ];
763
+ var GenerateMacInput$ = [3, n0, _GMI,
764
+ 0,
765
+ [_KI, _MD, _GA, _ML],
766
+ [0, [() => MessageDataType, 0], [() => MacAttributes$, 0], 1], 3
767
+ ];
768
+ var GenerateMacOutput$ = [3, n0, _GMO,
769
+ 0,
770
+ [_KA, _KCV, _Ma],
771
+ [0, 0, [() => MacOutputType, 0]], 3
772
+ ];
773
+ var GeneratePinDataInput$ = [3, n0, _GPDI,
774
+ 0,
775
+ [_GKI, _EKI, _GA, _PBF, _PDL, _PAN, _EWK],
776
+ [0, 0, [() => PinGenerationAttributes$, 0], 0, 1, [() => PrimaryAccountNumberType, 0], [() => WrappedKey$, 0]], 4
777
+ ];
778
+ var GeneratePinDataOutput$ = [3, n0, _GPDO,
779
+ 0,
780
+ [_GKA, _GKCV, _EKA, _EKCV, _EPB, _PD],
781
+ [0, 0, 0, 0, [() => EncryptedPinBlockType, 0], [() => PinData$, 0]], 6
782
+ ];
783
+ var Ibm3624NaturalPin$ = [3, n0, _INP,
784
+ 0,
785
+ [_DT, _PVDPC, _PVD],
786
+ [[() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0]], 3
787
+ ];
788
+ var Ibm3624PinFromOffset$ = [3, n0, _IPFO,
789
+ 0,
790
+ [_DT, _PVDPC, _PVD, _PO],
791
+ [[() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0], [() => PinOffsetType, 0]], 4
792
+ ];
793
+ var Ibm3624PinOffset$ = [3, n0, _IPO,
794
+ 0,
795
+ [_EPB, _DT, _PVDPC, _PVD],
796
+ [[() => EncryptedPinBlockType, 0], [() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0]], 4
797
+ ];
798
+ var Ibm3624PinVerification$ = [3, n0, _IPV,
799
+ 0,
800
+ [_DT, _PVDPC, _PVD, _PO],
801
+ [[() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0], [() => PinOffsetType, 0]], 4
802
+ ];
803
+ var Ibm3624RandomPin$ = [3, n0, _IRP,
804
+ 0,
805
+ [_DT, _PVDPC, _PVD],
806
+ [[() => DecimalizationTableType, 0], 0, [() => PinValidationDataType, 0]], 3
807
+ ];
808
+ var IncomingDiffieHellmanTr31KeyBlock$ = [3, n0, _IDHTKB,
809
+ 0,
810
+ [_PKI, _CAPKI, _PKC, _DKA, _KDF, _KDHA, _DD, _WKB],
811
+ [0, 0, 0, 0, 0, 0, () => DiffieHellmanDerivationData$, [() => Tr31WrappedKeyBlock, 0]], 8
812
+ ];
813
+ var KekValidationRequest$ = [3, n0, _KVR,
814
+ 0,
815
+ [_DKA, _RKML],
816
+ [0, 0], 1
817
+ ];
818
+ var KekValidationResponse$ = [3, n0, _KVRe,
819
+ 0,
820
+ [_RKS],
821
+ [[() => As2805RandomKeyMaterial, 0]], 1
822
+ ];
823
+ var MacAlgorithmDukpt$ = [3, n0, _MAD,
824
+ 0,
825
+ [_KSN, _DKV, _DDT],
826
+ [0, 0, 0], 2
827
+ ];
828
+ var MacAlgorithmEmv$ = [3, n0, _MAE,
829
+ 0,
830
+ [_MKDM, _PAN, _PSN, _SKDM, _SKDV],
831
+ [0, [() => PrimaryAccountNumberType, 0], 0, 0, [() => SessionKeyDerivationValue$, 0]], 5
832
+ ];
833
+ var MasterCardAttributes$ = [3, n0, _MCA,
834
+ 0,
835
+ [_MKDM, _PAN, _PSN, _AC],
836
+ [0, [() => PrimaryAccountNumberType, 0], 0, [() => ApplicationCryptogramType, 0]], 4
837
+ ];
838
+ var OutgoingTr31KeyBlock$ = [3, n0, _OTKB,
839
+ 0,
840
+ [_WKI],
841
+ [0], 1
842
+ ];
843
+ var ReEncryptDataInput$ = [3, n0, _REDI,
844
+ 0,
845
+ [_IKI, _OKI, _CT, _IEA, _OEA, _IWK, _OWK],
846
+ [[0, 1], 0, [() => CipherTextType, 0], [() => ReEncryptionAttributes$, 0], [() => ReEncryptionAttributes$, 0], [() => WrappedKey$, 0], [() => WrappedKey$, 0]], 5
847
+ ];
848
+ var ReEncryptDataOutput$ = [3, n0, _REDO,
849
+ 0,
850
+ [_KA, _KCV, _CT],
851
+ [0, 0, [() => CipherTextType, 0]], 3
852
+ ];
853
+ var SessionKeyAmex$ = [3, n0, _SKA,
854
+ 0,
855
+ [_PAN, _PSN],
856
+ [[() => PrimaryAccountNumberType, 0], 0], 2
857
+ ];
858
+ var SessionKeyEmv2000$ = [3, n0, _SKE,
859
+ 0,
860
+ [_PAN, _PSN, _ATC],
861
+ [[() => PrimaryAccountNumberType, 0], 0, 0], 3
862
+ ];
863
+ var SessionKeyEmvCommon$ = [3, n0, _SKEC,
864
+ 0,
865
+ [_PAN, _PSN, _ATC],
866
+ [[() => PrimaryAccountNumberType, 0], 0, 0], 3
867
+ ];
868
+ var SessionKeyMastercard$ = [3, n0, _SKM,
869
+ 0,
870
+ [_PAN, _PSN, _ATC, _UN],
871
+ [[() => PrimaryAccountNumberType, 0], 0, 0, 0], 4
872
+ ];
873
+ var SessionKeyVisa$ = [3, n0, _SKV,
874
+ 0,
875
+ [_PAN, _PSN],
876
+ [[() => PrimaryAccountNumberType, 0], 0], 2
877
+ ];
878
+ var SymmetricEncryptionAttributes$ = [3, n0, _SEA,
879
+ 0,
880
+ [_Mo, _IV, _PT],
881
+ [0, [() => InitializationVectorType, 0], 0], 1
882
+ ];
883
+ var TranslateKeyMaterialInput$ = [3, n0, _TKMI,
884
+ 0,
885
+ [_IKM, _OKM, _KCVA],
886
+ [[() => IncomingKeyMaterial$, 0], () => OutgoingKeyMaterial$, 0], 2
887
+ ];
888
+ var TranslateKeyMaterialOutput$ = [3, n0, _TKMO,
889
+ 0,
890
+ [_WK],
891
+ [[() => WrappedWorkingKey$, 0]], 1
892
+ ];
893
+ var TranslatePinDataInput$ = [3, n0, _TPDI,
894
+ 0,
895
+ [_IKI, _OKI, _ITA, _OTA, _EPB, _IDA, _ODA, _IWK, _OWK, _IAA],
896
+ [0, 0, [() => TranslationIsoFormats$, 0], [() => TranslationIsoFormats$, 0], [() => HexEvenLengthBetween16And32, 0], () => DukptDerivationAttributes$, () => DukptDerivationAttributes$, [() => WrappedKey$, 0], [() => WrappedKey$, 0], () => As2805PekDerivationAttributes$], 5
897
+ ];
898
+ var TranslatePinDataOutput$ = [3, n0, _TPDO,
899
+ 0,
900
+ [_PB, _KA, _KCV],
901
+ [[() => EncryptedPinBlockType, 0], 0, 0], 3
902
+ ];
903
+ var TranslationPinDataAs2805Format0$ = [3, n0, _TPDAF,
904
+ 0,
905
+ [_PAN],
906
+ [[() => PrimaryAccountNumberType, 0]], 1
907
+ ];
908
+ var TranslationPinDataIsoFormat034$ = [3, n0, _TPDIF,
909
+ 0,
910
+ [_PAN],
911
+ [[() => PrimaryAccountNumberType, 0]], 1
912
+ ];
913
+ var TranslationPinDataIsoFormat1$ = [3, n0, _TPDIFr,
914
+ 0,
915
+ [],
916
+ []
917
+ ];
918
+ var ValidationExceptionField$ = [3, n0, _VEF,
919
+ 0,
920
+ [_p, _m],
921
+ [0, 0], 2
922
+ ];
923
+ var VerifyAuthRequestCryptogramInput$ = [3, n0, _VARCI,
924
+ 0,
925
+ [_KI, _TDr, _ARCu, _MKDM, _SKDA, _ARA],
926
+ [0, [() => TransactionDataType, 0], [() => AuthRequestCryptogramType, 0], 0, [() => SessionKeyDerivation$, 0], [() => CryptogramAuthResponse$, 0]], 5
927
+ ];
928
+ var VerifyAuthRequestCryptogramOutput$ = [3, n0, _VARCO,
929
+ 0,
930
+ [_KA, _KCV, _ARV],
931
+ [0, 0, [() => AuthResponseValueType, 0]], 2
932
+ ];
933
+ var VerifyCardValidationDataInput$ = [3, n0, _VCVDI,
934
+ 0,
935
+ [_KI, _PAN, _VA, _VD],
936
+ [0, [() => PrimaryAccountNumberType, 0], [() => CardVerificationAttributes$, 0], [() => ValidationDataType, 0]], 4
937
+ ];
938
+ var VerifyCardValidationDataOutput$ = [3, n0, _VCVDO,
939
+ 0,
940
+ [_KA, _KCV],
941
+ [0, 0], 2
942
+ ];
943
+ var VerifyMacInput$ = [3, n0, _VMI,
944
+ 0,
945
+ [_KI, _MD, _Ma, _VA, _ML],
946
+ [0, [() => MessageDataType, 0], [() => MacType, 0], [() => MacAttributes$, 0], 1], 4
947
+ ];
948
+ var VerifyMacOutput$ = [3, n0, _VMO,
949
+ 0,
950
+ [_KA, _KCV],
951
+ [0, 0], 2
952
+ ];
953
+ var VerifyPinDataInput$ = [3, n0, _VPDI,
954
+ 0,
955
+ [_VKI, _EKI, _VA, _EPB, _PBF, _PAN, _PDL, _DAu, _EWK],
956
+ [0, 0, [() => PinVerificationAttributes$, 0], [() => EncryptedPinBlockType, 0], 0, [() => PrimaryAccountNumberType, 0], 1, () => DukptAttributes$, [() => WrappedKey$, 0]], 5
957
+ ];
958
+ var VerifyPinDataOutput$ = [3, n0, _VPDO,
959
+ 0,
960
+ [_VKA, _VKCV, _EKA, _EKCV],
961
+ [0, 0, 0, 0], 4
962
+ ];
963
+ var VisaAmexDerivationOutputs$ = [3, n0, _VADO,
964
+ 0,
965
+ [_ARKA, _ARKCV, _CPPA, _CPPKCV],
966
+ [0, 0, 0, 0], 2
967
+ ];
968
+ var VisaAttributes$ = [3, n0, _VAi,
969
+ 0,
970
+ [_MKDM, _PAN, _PSN, _ATC, _ARKI, _CPA],
971
+ [0, [() => PrimaryAccountNumberType, 0], 0, 0, 0, [() => CurrentPinAttributes$, 0]], 5
972
+ ];
973
+ var VisaPin$ = [3, n0, _VP,
974
+ 0,
975
+ [_PVKI],
976
+ [1], 1
977
+ ];
978
+ var VisaPinVerification$ = [3, n0, _VPV,
979
+ 0,
980
+ [_PVKI, _VV],
981
+ [1, [() => VerificationValueType, 0]], 2
982
+ ];
983
+ var VisaPinVerificationValue$ = [3, n0, _VPVV,
984
+ 0,
985
+ [_EPB, _PVKI],
986
+ [[() => EncryptedPinBlockType, 0], 1], 2
987
+ ];
988
+ var WrappedKey$ = [3, n0, _WK,
989
+ 0,
990
+ [_WKM, _KCVA],
991
+ [[() => WrappedKeyMaterial$, 0], 0], 1
992
+ ];
993
+ var WrappedWorkingKey$ = [3, n0, _WWK,
994
+ 0,
995
+ [_WKM, _KCV, _WKMF],
996
+ [[() => KeyMaterial, 0], 0, 0], 3
997
+ ];
998
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
999
+ 0, () => ValidationExceptionField$
1000
+ ];
1001
+ var As2805KekValidationType$ = [4, n0, _AKVT,
1002
+ 0,
1003
+ [_KVR, _KVRe],
1004
+ [() => KekValidationRequest$, [() => KekValidationResponse$, 0]]
1005
+ ];
1006
+ var CardGenerationAttributes$ = [4, n0, _CGA,
1007
+ 0,
1008
+ [_ACSCV, _ACSCVm, _CVV, _CVVa, _CHVV, _DCVC, _DCVV],
1009
+ [[() => AmexCardSecurityCodeVersion1$, 0], [() => AmexCardSecurityCodeVersion2$, 0], [() => CardVerificationValue1$, 0], [() => CardVerificationValue2$, 0], () => CardHolderVerificationValue$, [() => DynamicCardVerificationCode$, 0], [() => DynamicCardVerificationValue$, 0]]
1010
+ ];
1011
+ var CardVerificationAttributes$ = [4, n0, _CVA,
1012
+ 0,
1013
+ [_ACSCV, _ACSCVm, _CVV, _CVVa, _CHVV, _DCVC, _DCVV, _DDCVC],
1014
+ [[() => AmexCardSecurityCodeVersion1$, 0], [() => AmexCardSecurityCodeVersion2$, 0], [() => CardVerificationValue1$, 0], [() => CardVerificationValue2$, 0], () => CardHolderVerificationValue$, [() => DynamicCardVerificationCode$, 0], [() => DynamicCardVerificationValue$, 0], [() => DiscoverDynamicCardVerificationCode$, 0]]
1015
+ ];
1016
+ var CryptogramAuthResponse$ = [4, n0, _CAR,
1017
+ 0,
1018
+ [_AM, _AMr],
1019
+ [() => CryptogramVerificationArpcMethod1$, [() => CryptogramVerificationArpcMethod2$, 0]]
1020
+ ];
1021
+ var DerivationMethodAttributes$ = [4, n0, _DMA,
1022
+ 0,
1023
+ [_EC, _A, _V, _E, _Mas],
1024
+ [[() => EmvCommonAttributes$, 0], [() => AmexAttributes$, 0], [() => VisaAttributes$, 0], [() => Emv2000Attributes$, 0], [() => MasterCardAttributes$, 0]]
1025
+ ];
1026
+ var DiffieHellmanDerivationData$ = [4, n0, _DHDD,
1027
+ 0,
1028
+ [_SI],
1029
+ [0]
1030
+ ];
1031
+ var EncryptionDecryptionAttributes$ = [4, n0, _EDAn,
1032
+ 0,
1033
+ [_S, _As, _D, _Em],
1034
+ [[() => SymmetricEncryptionAttributes$, 0], () => AsymmetricEncryptionAttributes$, [() => DukptEncryptionAttributes$, 0], [() => EmvEncryptionAttributes$, 0]]
1035
+ ];
1036
+ var IncomingKeyMaterial$ = [4, n0, _IKM,
1037
+ 0,
1038
+ [_DHTKB],
1039
+ [[() => IncomingDiffieHellmanTr31KeyBlock$, 0]]
1040
+ ];
1041
+ var MacAttributes$ = [4, n0, _MA,
1042
+ 0,
1043
+ [_Al, _EM, _DIA, _DIAu, _DC],
1044
+ [0, [() => MacAlgorithmEmv$, 0], () => MacAlgorithmDukpt$, () => MacAlgorithmDukpt$, () => MacAlgorithmDukpt$]
1045
+ ];
1046
+ var OutgoingKeyMaterial$ = [4, n0, _OKM,
1047
+ 0,
1048
+ [_TKB],
1049
+ [() => OutgoingTr31KeyBlock$]
1050
+ ];
1051
+ var PinData$ = [4, n0, _PD,
1052
+ 0,
1053
+ [_PO, _VV],
1054
+ [[() => PinOffsetType, 0], [() => VerificationValueType, 0]]
1055
+ ];
1056
+ var PinGenerationAttributes$ = [4, n0, _PGA,
1057
+ 0,
1058
+ [_VP, _VPVV, _IPO, _INP, _IRP, _IPFO],
1059
+ [() => VisaPin$, [() => VisaPinVerificationValue$, 0], [() => Ibm3624PinOffset$, 0], [() => Ibm3624NaturalPin$, 0], [() => Ibm3624RandomPin$, 0], [() => Ibm3624PinFromOffset$, 0]]
1060
+ ];
1061
+ var PinVerificationAttributes$ = [4, n0, _PVA,
1062
+ 0,
1063
+ [_VP, _IP],
1064
+ [[() => VisaPinVerification$, 0], [() => Ibm3624PinVerification$, 0]]
1065
+ ];
1066
+ var ReEncryptionAttributes$ = [4, n0, _REA,
1067
+ 0,
1068
+ [_S, _D],
1069
+ [[() => SymmetricEncryptionAttributes$, 0], [() => DukptEncryptionAttributes$, 0]]
1070
+ ];
1071
+ var SessionKeyDerivation$ = [4, n0, _SKD,
1072
+ 0,
1073
+ [_EC, _Mas, _E, _A, _V],
1074
+ [[() => SessionKeyEmvCommon$, 0], [() => SessionKeyMastercard$, 0], [() => SessionKeyEmv2000$, 0], [() => SessionKeyAmex$, 0], [() => SessionKeyVisa$, 0]]
1075
+ ];
1076
+ var SessionKeyDerivationValue$ = [4, n0, _SKDV,
1077
+ 0,
1078
+ [_AC, _ATC],
1079
+ [[() => ApplicationCryptogramType, 0], 0]
1080
+ ];
1081
+ var TranslationIsoFormats$ = [4, n0, _TIF,
1082
+ 0,
1083
+ [_IF, _IFs, _IFso, _IFsoo, _AF],
1084
+ [[() => TranslationPinDataIsoFormat034$, 0], () => TranslationPinDataIsoFormat1$, [() => TranslationPinDataIsoFormat034$, 0], [() => TranslationPinDataIsoFormat034$, 0], [() => TranslationPinDataAs2805Format0$, 0]]
1085
+ ];
1086
+ var WrappedKeyMaterial$ = [4, n0, _WKM,
1087
+ 0,
1088
+ [_TKB, _DHSK],
1089
+ [[() => Tr31WrappedKeyBlock, 0], () => EcdhDerivationAttributes$]
1090
+ ];
1091
+ var DecryptData$ = [9, n0, _DDe,
1092
+ { [_h]: ["POST", "/keys/{KeyIdentifier}/decrypt", 200] }, () => DecryptDataInput$, () => DecryptDataOutput$
1093
+ ];
1094
+ var EncryptData$ = [9, n0, _ED,
1095
+ { [_h]: ["POST", "/keys/{KeyIdentifier}/encrypt", 200] }, () => EncryptDataInput$, () => EncryptDataOutput$
1096
+ ];
1097
+ var GenerateAs2805KekValidation$ = [9, n0, _GAKV,
1098
+ { [_h]: ["POST", "/as2805kekvalidation/generate", 200] }, () => GenerateAs2805KekValidationInput$, () => GenerateAs2805KekValidationOutput$
1099
+ ];
1100
+ var GenerateAuthRequestCryptogram$ = [9, n0, _GARC,
1101
+ { [_h]: ["POST", "/cryptogram/generate", 200] }, () => GenerateAuthRequestCryptogramInput$, () => GenerateAuthRequestCryptogramOutput$
1102
+ ];
1103
+ var GenerateCardValidationData$ = [9, n0, _GCVD,
1104
+ { [_h]: ["POST", "/cardvalidationdata/generate", 200] }, () => GenerateCardValidationDataInput$, () => GenerateCardValidationDataOutput$
1105
+ ];
1106
+ var GenerateMac$ = [9, n0, _GM,
1107
+ { [_h]: ["POST", "/mac/generate", 200] }, () => GenerateMacInput$, () => GenerateMacOutput$
1108
+ ];
1109
+ var GenerateMacEmvPinChange$ = [9, n0, _GMEPC,
1110
+ { [_h]: ["POST", "/macemvpinchange/generate", 200] }, () => GenerateMacEmvPinChangeInput$, () => GenerateMacEmvPinChangeOutput$
1111
+ ];
1112
+ var GeneratePinData$ = [9, n0, _GPD,
1113
+ { [_h]: ["POST", "/pindata/generate", 200] }, () => GeneratePinDataInput$, () => GeneratePinDataOutput$
1114
+ ];
1115
+ var ReEncryptData$ = [9, n0, _RED,
1116
+ { [_h]: ["POST", "/keys/{IncomingKeyIdentifier}/reencrypt", 200] }, () => ReEncryptDataInput$, () => ReEncryptDataOutput$
1117
+ ];
1118
+ var TranslateKeyMaterial$ = [9, n0, _TKM,
1119
+ { [_h]: ["POST", "/keymaterial/translate", 200] }, () => TranslateKeyMaterialInput$, () => TranslateKeyMaterialOutput$
1120
+ ];
1121
+ var TranslatePinData$ = [9, n0, _TPD,
1122
+ { [_h]: ["POST", "/pindata/translate", 200] }, () => TranslatePinDataInput$, () => TranslatePinDataOutput$
1123
+ ];
1124
+ var VerifyAuthRequestCryptogram$ = [9, n0, _VARC,
1125
+ { [_h]: ["POST", "/cryptogram/verify", 200] }, () => VerifyAuthRequestCryptogramInput$, () => VerifyAuthRequestCryptogramOutput$
1126
+ ];
1127
+ var VerifyCardValidationData$ = [9, n0, _VCVD,
1128
+ { [_h]: ["POST", "/cardvalidationdata/verify", 200] }, () => VerifyCardValidationDataInput$, () => VerifyCardValidationDataOutput$
1129
+ ];
1130
+ var VerifyMac$ = [9, n0, _VM,
1131
+ { [_h]: ["POST", "/mac/verify", 200] }, () => VerifyMacInput$, () => VerifyMacOutput$
1132
+ ];
1133
+ var VerifyPinData$ = [9, n0, _VPD,
1134
+ { [_h]: ["POST", "/pindata/verify", 200] }, () => VerifyPinDataInput$, () => VerifyPinDataOutput$
1135
+ ];
1136
+
1137
+ const getRuntimeConfig$1 = (config) => {
1138
+ return {
1139
+ apiVersion: "2022-02-03",
1140
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1141
+ base64Encoder: config?.base64Encoder ?? toBase64,
1142
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1143
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1144
+ extensions: config?.extensions ?? [],
1145
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultPaymentCryptographyDataHttpAuthSchemeProvider,
1146
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1147
+ {
1148
+ schemeId: "aws.auth#sigv4",
1149
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1150
+ signer: new AwsSdkSigV4Signer(),
1151
+ },
1152
+ ],
1153
+ logger: config?.logger ?? new NoOpLogger(),
1154
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1155
+ protocolSettings: config?.protocolSettings ?? {
1156
+ defaultNamespace: "com.amazonaws.paymentcryptographydata",
1157
+ errorTypeRegistries,
1158
+ version: "2022-02-03",
1159
+ serviceTarget: "PaymentCryptographyDataPlane",
1160
+ },
1161
+ serviceId: config?.serviceId ?? "Payment Cryptography Data",
1162
+ urlParser: config?.urlParser ?? parseUrl,
1163
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1164
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1165
+ };
1166
+ };
1167
+
1168
+ const getRuntimeConfig = (config) => {
1169
+ emitWarningIfUnsupportedVersion(process.version);
1170
+ const defaultsMode = resolveDefaultsModeConfig(config);
1171
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1172
+ const clientSharedValues = getRuntimeConfig$1(config);
1173
+ emitWarningIfUnsupportedVersion$1(process.version);
1174
+ const loaderConfig = {
1175
+ profile: config?.profile,
1176
+ logger: clientSharedValues.logger,
1177
+ };
1178
+ return {
1179
+ ...clientSharedValues,
1180
+ ...config,
1181
+ runtime: "node",
1182
+ defaultsMode,
1183
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1184
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1185
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1186
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1187
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1188
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1189
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1190
+ retryMode: config?.retryMode ??
1191
+ loadConfig({
1192
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1193
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1194
+ }, config),
1195
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1196
+ streamCollector: config?.streamCollector ?? streamCollector,
1197
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1198
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1199
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1200
+ };
1201
+ };
1202
+
34
1203
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1204
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1205
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -440,42 +1609,170 @@ const VerificationFailedReason = {
440
1609
  INVALID_VALIDATION_DATA: "INVALID_VALIDATION_DATA",
441
1610
  };
442
1611
 
1612
+ exports.AccessDeniedException = AccessDeniedException;
1613
+ exports.AccessDeniedException$ = AccessDeniedException$;
1614
+ exports.AmexAttributes$ = AmexAttributes$;
1615
+ exports.AmexCardSecurityCodeVersion1$ = AmexCardSecurityCodeVersion1$;
1616
+ exports.AmexCardSecurityCodeVersion2$ = AmexCardSecurityCodeVersion2$;
1617
+ exports.As2805KekValidationType$ = As2805KekValidationType$;
1618
+ exports.As2805PekDerivationAttributes$ = As2805PekDerivationAttributes$;
1619
+ exports.AsymmetricEncryptionAttributes$ = AsymmetricEncryptionAttributes$;
1620
+ exports.CardGenerationAttributes$ = CardGenerationAttributes$;
1621
+ exports.CardHolderVerificationValue$ = CardHolderVerificationValue$;
1622
+ exports.CardVerificationAttributes$ = CardVerificationAttributes$;
1623
+ exports.CardVerificationValue1$ = CardVerificationValue1$;
1624
+ exports.CardVerificationValue2$ = CardVerificationValue2$;
1625
+ exports.CryptogramAuthResponse$ = CryptogramAuthResponse$;
1626
+ exports.CryptogramVerificationArpcMethod1$ = CryptogramVerificationArpcMethod1$;
1627
+ exports.CryptogramVerificationArpcMethod2$ = CryptogramVerificationArpcMethod2$;
1628
+ exports.CurrentPinAttributes$ = CurrentPinAttributes$;
1629
+ exports.DecryptData$ = DecryptData$;
443
1630
  exports.DecryptDataCommand = DecryptDataCommand;
1631
+ exports.DecryptDataInput$ = DecryptDataInput$;
1632
+ exports.DecryptDataOutput$ = DecryptDataOutput$;
1633
+ exports.DerivationMethodAttributes$ = DerivationMethodAttributes$;
1634
+ exports.DiffieHellmanDerivationData$ = DiffieHellmanDerivationData$;
1635
+ exports.DiscoverDynamicCardVerificationCode$ = DiscoverDynamicCardVerificationCode$;
1636
+ exports.DukptAttributes$ = DukptAttributes$;
1637
+ exports.DukptDerivationAttributes$ = DukptDerivationAttributes$;
444
1638
  exports.DukptDerivationType = DukptDerivationType;
1639
+ exports.DukptEncryptionAttributes$ = DukptEncryptionAttributes$;
445
1640
  exports.DukptEncryptionMode = DukptEncryptionMode;
446
1641
  exports.DukptKeyVariant = DukptKeyVariant;
1642
+ exports.DynamicCardVerificationCode$ = DynamicCardVerificationCode$;
1643
+ exports.DynamicCardVerificationValue$ = DynamicCardVerificationValue$;
1644
+ exports.EcdhDerivationAttributes$ = EcdhDerivationAttributes$;
1645
+ exports.Emv2000Attributes$ = Emv2000Attributes$;
1646
+ exports.EmvCommonAttributes$ = EmvCommonAttributes$;
1647
+ exports.EmvEncryptionAttributes$ = EmvEncryptionAttributes$;
447
1648
  exports.EmvEncryptionMode = EmvEncryptionMode;
448
1649
  exports.EmvMajorKeyDerivationMode = EmvMajorKeyDerivationMode;
1650
+ exports.EncryptData$ = EncryptData$;
449
1651
  exports.EncryptDataCommand = EncryptDataCommand;
1652
+ exports.EncryptDataInput$ = EncryptDataInput$;
1653
+ exports.EncryptDataOutput$ = EncryptDataOutput$;
1654
+ exports.EncryptionDecryptionAttributes$ = EncryptionDecryptionAttributes$;
450
1655
  exports.EncryptionMode = EncryptionMode;
1656
+ exports.GenerateAs2805KekValidation$ = GenerateAs2805KekValidation$;
451
1657
  exports.GenerateAs2805KekValidationCommand = GenerateAs2805KekValidationCommand;
1658
+ exports.GenerateAs2805KekValidationInput$ = GenerateAs2805KekValidationInput$;
1659
+ exports.GenerateAs2805KekValidationOutput$ = GenerateAs2805KekValidationOutput$;
1660
+ exports.GenerateAuthRequestCryptogram$ = GenerateAuthRequestCryptogram$;
452
1661
  exports.GenerateAuthRequestCryptogramCommand = GenerateAuthRequestCryptogramCommand;
1662
+ exports.GenerateAuthRequestCryptogramInput$ = GenerateAuthRequestCryptogramInput$;
1663
+ exports.GenerateAuthRequestCryptogramOutput$ = GenerateAuthRequestCryptogramOutput$;
1664
+ exports.GenerateCardValidationData$ = GenerateCardValidationData$;
453
1665
  exports.GenerateCardValidationDataCommand = GenerateCardValidationDataCommand;
1666
+ exports.GenerateCardValidationDataInput$ = GenerateCardValidationDataInput$;
1667
+ exports.GenerateCardValidationDataOutput$ = GenerateCardValidationDataOutput$;
1668
+ exports.GenerateMac$ = GenerateMac$;
454
1669
  exports.GenerateMacCommand = GenerateMacCommand;
1670
+ exports.GenerateMacEmvPinChange$ = GenerateMacEmvPinChange$;
455
1671
  exports.GenerateMacEmvPinChangeCommand = GenerateMacEmvPinChangeCommand;
1672
+ exports.GenerateMacEmvPinChangeInput$ = GenerateMacEmvPinChangeInput$;
1673
+ exports.GenerateMacEmvPinChangeOutput$ = GenerateMacEmvPinChangeOutput$;
1674
+ exports.GenerateMacInput$ = GenerateMacInput$;
1675
+ exports.GenerateMacOutput$ = GenerateMacOutput$;
1676
+ exports.GeneratePinData$ = GeneratePinData$;
456
1677
  exports.GeneratePinDataCommand = GeneratePinDataCommand;
1678
+ exports.GeneratePinDataInput$ = GeneratePinDataInput$;
1679
+ exports.GeneratePinDataOutput$ = GeneratePinDataOutput$;
1680
+ exports.Ibm3624NaturalPin$ = Ibm3624NaturalPin$;
1681
+ exports.Ibm3624PinFromOffset$ = Ibm3624PinFromOffset$;
1682
+ exports.Ibm3624PinOffset$ = Ibm3624PinOffset$;
1683
+ exports.Ibm3624PinVerification$ = Ibm3624PinVerification$;
1684
+ exports.Ibm3624RandomPin$ = Ibm3624RandomPin$;
1685
+ exports.IncomingDiffieHellmanTr31KeyBlock$ = IncomingDiffieHellmanTr31KeyBlock$;
1686
+ exports.IncomingKeyMaterial$ = IncomingKeyMaterial$;
1687
+ exports.InternalServerException = InternalServerException;
1688
+ exports.InternalServerException$ = InternalServerException$;
1689
+ exports.KekValidationRequest$ = KekValidationRequest$;
1690
+ exports.KekValidationResponse$ = KekValidationResponse$;
457
1691
  exports.KeyCheckValueAlgorithm = KeyCheckValueAlgorithm;
458
1692
  exports.KeyDerivationFunction = KeyDerivationFunction;
459
1693
  exports.KeyDerivationHashAlgorithm = KeyDerivationHashAlgorithm;
460
1694
  exports.MacAlgorithm = MacAlgorithm;
1695
+ exports.MacAlgorithmDukpt$ = MacAlgorithmDukpt$;
1696
+ exports.MacAlgorithmEmv$ = MacAlgorithmEmv$;
1697
+ exports.MacAttributes$ = MacAttributes$;
461
1698
  exports.MajorKeyDerivationMode = MajorKeyDerivationMode;
1699
+ exports.MasterCardAttributes$ = MasterCardAttributes$;
1700
+ exports.OutgoingKeyMaterial$ = OutgoingKeyMaterial$;
1701
+ exports.OutgoingTr31KeyBlock$ = OutgoingTr31KeyBlock$;
462
1702
  exports.PaddingType = PaddingType;
463
1703
  exports.PaymentCryptographyData = PaymentCryptographyData;
464
1704
  exports.PaymentCryptographyDataClient = PaymentCryptographyDataClient;
1705
+ exports.PaymentCryptographyDataServiceException = PaymentCryptographyDataServiceException;
1706
+ exports.PaymentCryptographyDataServiceException$ = PaymentCryptographyDataServiceException$;
465
1707
  exports.PinBlockFormatForEmvPinChange = PinBlockFormatForEmvPinChange;
466
1708
  exports.PinBlockFormatForPinData = PinBlockFormatForPinData;
467
1709
  exports.PinBlockLengthPosition = PinBlockLengthPosition;
468
1710
  exports.PinBlockPaddingType = PinBlockPaddingType;
1711
+ exports.PinData$ = PinData$;
1712
+ exports.PinGenerationAttributes$ = PinGenerationAttributes$;
1713
+ exports.PinVerificationAttributes$ = PinVerificationAttributes$;
469
1714
  exports.RandomKeyMaxLength = RandomKeyMaxLength;
470
1715
  exports.RandomKeySendVariantMask = RandomKeySendVariantMask;
1716
+ exports.ReEncryptData$ = ReEncryptData$;
471
1717
  exports.ReEncryptDataCommand = ReEncryptDataCommand;
1718
+ exports.ReEncryptDataInput$ = ReEncryptDataInput$;
1719
+ exports.ReEncryptDataOutput$ = ReEncryptDataOutput$;
1720
+ exports.ReEncryptionAttributes$ = ReEncryptionAttributes$;
1721
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1722
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1723
+ exports.SessionKeyAmex$ = SessionKeyAmex$;
1724
+ exports.SessionKeyDerivation$ = SessionKeyDerivation$;
472
1725
  exports.SessionKeyDerivationMode = SessionKeyDerivationMode;
1726
+ exports.SessionKeyDerivationValue$ = SessionKeyDerivationValue$;
1727
+ exports.SessionKeyEmv2000$ = SessionKeyEmv2000$;
1728
+ exports.SessionKeyEmvCommon$ = SessionKeyEmvCommon$;
1729
+ exports.SessionKeyMastercard$ = SessionKeyMastercard$;
1730
+ exports.SessionKeyVisa$ = SessionKeyVisa$;
1731
+ exports.SymmetricEncryptionAttributes$ = SymmetricEncryptionAttributes$;
473
1732
  exports.SymmetricKeyAlgorithm = SymmetricKeyAlgorithm;
1733
+ exports.ThrottlingException = ThrottlingException;
1734
+ exports.ThrottlingException$ = ThrottlingException$;
1735
+ exports.TranslateKeyMaterial$ = TranslateKeyMaterial$;
474
1736
  exports.TranslateKeyMaterialCommand = TranslateKeyMaterialCommand;
1737
+ exports.TranslateKeyMaterialInput$ = TranslateKeyMaterialInput$;
1738
+ exports.TranslateKeyMaterialOutput$ = TranslateKeyMaterialOutput$;
1739
+ exports.TranslatePinData$ = TranslatePinData$;
475
1740
  exports.TranslatePinDataCommand = TranslatePinDataCommand;
1741
+ exports.TranslatePinDataInput$ = TranslatePinDataInput$;
1742
+ exports.TranslatePinDataOutput$ = TranslatePinDataOutput$;
1743
+ exports.TranslationIsoFormats$ = TranslationIsoFormats$;
1744
+ exports.TranslationPinDataAs2805Format0$ = TranslationPinDataAs2805Format0$;
1745
+ exports.TranslationPinDataIsoFormat034$ = TranslationPinDataIsoFormat034$;
1746
+ exports.TranslationPinDataIsoFormat1$ = TranslationPinDataIsoFormat1$;
1747
+ exports.ValidationException = ValidationException;
1748
+ exports.ValidationException$ = ValidationException$;
1749
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
1750
+ exports.VerificationFailedException = VerificationFailedException;
1751
+ exports.VerificationFailedException$ = VerificationFailedException$;
476
1752
  exports.VerificationFailedReason = VerificationFailedReason;
1753
+ exports.VerifyAuthRequestCryptogram$ = VerifyAuthRequestCryptogram$;
477
1754
  exports.VerifyAuthRequestCryptogramCommand = VerifyAuthRequestCryptogramCommand;
1755
+ exports.VerifyAuthRequestCryptogramInput$ = VerifyAuthRequestCryptogramInput$;
1756
+ exports.VerifyAuthRequestCryptogramOutput$ = VerifyAuthRequestCryptogramOutput$;
1757
+ exports.VerifyCardValidationData$ = VerifyCardValidationData$;
478
1758
  exports.VerifyCardValidationDataCommand = VerifyCardValidationDataCommand;
1759
+ exports.VerifyCardValidationDataInput$ = VerifyCardValidationDataInput$;
1760
+ exports.VerifyCardValidationDataOutput$ = VerifyCardValidationDataOutput$;
1761
+ exports.VerifyMac$ = VerifyMac$;
479
1762
  exports.VerifyMacCommand = VerifyMacCommand;
1763
+ exports.VerifyMacInput$ = VerifyMacInput$;
1764
+ exports.VerifyMacOutput$ = VerifyMacOutput$;
1765
+ exports.VerifyPinData$ = VerifyPinData$;
480
1766
  exports.VerifyPinDataCommand = VerifyPinDataCommand;
1767
+ exports.VerifyPinDataInput$ = VerifyPinDataInput$;
1768
+ exports.VerifyPinDataOutput$ = VerifyPinDataOutput$;
1769
+ exports.VisaAmexDerivationOutputs$ = VisaAmexDerivationOutputs$;
1770
+ exports.VisaAttributes$ = VisaAttributes$;
1771
+ exports.VisaPin$ = VisaPin$;
1772
+ exports.VisaPinVerification$ = VisaPinVerification$;
1773
+ exports.VisaPinVerificationValue$ = VisaPinVerificationValue$;
1774
+ exports.WrappedKey$ = WrappedKey$;
1775
+ exports.WrappedKeyMaterial$ = WrappedKeyMaterial$;
481
1776
  exports.WrappedKeyMaterialFormat = WrappedKeyMaterialFormat;
1777
+ exports.WrappedWorkingKey$ = WrappedWorkingKey$;
1778
+ exports.errorTypeRegistries = errorTypeRegistries;