@aws-sdk/client-payment-cryptography-data 3.929.0 → 3.930.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
@@ -141,58 +141,6 @@ const PaddingType = {
141
141
  OAEP_SHA512: "OAEP_SHA512",
142
142
  PKCS1: "PKCS1",
143
143
  };
144
- exports.CardGenerationAttributes = void 0;
145
- (function (CardGenerationAttributes) {
146
- CardGenerationAttributes.visit = (value, visitor) => {
147
- if (value.AmexCardSecurityCodeVersion1 !== undefined)
148
- return visitor.AmexCardSecurityCodeVersion1(value.AmexCardSecurityCodeVersion1);
149
- if (value.AmexCardSecurityCodeVersion2 !== undefined)
150
- return visitor.AmexCardSecurityCodeVersion2(value.AmexCardSecurityCodeVersion2);
151
- if (value.CardVerificationValue1 !== undefined)
152
- return visitor.CardVerificationValue1(value.CardVerificationValue1);
153
- if (value.CardVerificationValue2 !== undefined)
154
- return visitor.CardVerificationValue2(value.CardVerificationValue2);
155
- if (value.CardHolderVerificationValue !== undefined)
156
- return visitor.CardHolderVerificationValue(value.CardHolderVerificationValue);
157
- if (value.DynamicCardVerificationCode !== undefined)
158
- return visitor.DynamicCardVerificationCode(value.DynamicCardVerificationCode);
159
- if (value.DynamicCardVerificationValue !== undefined)
160
- return visitor.DynamicCardVerificationValue(value.DynamicCardVerificationValue);
161
- return visitor._(value.$unknown[0], value.$unknown[1]);
162
- };
163
- })(exports.CardGenerationAttributes || (exports.CardGenerationAttributes = {}));
164
- exports.CardVerificationAttributes = void 0;
165
- (function (CardVerificationAttributes) {
166
- CardVerificationAttributes.visit = (value, visitor) => {
167
- if (value.AmexCardSecurityCodeVersion1 !== undefined)
168
- return visitor.AmexCardSecurityCodeVersion1(value.AmexCardSecurityCodeVersion1);
169
- if (value.AmexCardSecurityCodeVersion2 !== undefined)
170
- return visitor.AmexCardSecurityCodeVersion2(value.AmexCardSecurityCodeVersion2);
171
- if (value.CardVerificationValue1 !== undefined)
172
- return visitor.CardVerificationValue1(value.CardVerificationValue1);
173
- if (value.CardVerificationValue2 !== undefined)
174
- return visitor.CardVerificationValue2(value.CardVerificationValue2);
175
- if (value.CardHolderVerificationValue !== undefined)
176
- return visitor.CardHolderVerificationValue(value.CardHolderVerificationValue);
177
- if (value.DynamicCardVerificationCode !== undefined)
178
- return visitor.DynamicCardVerificationCode(value.DynamicCardVerificationCode);
179
- if (value.DynamicCardVerificationValue !== undefined)
180
- return visitor.DynamicCardVerificationValue(value.DynamicCardVerificationValue);
181
- if (value.DiscoverDynamicCardVerificationCode !== undefined)
182
- return visitor.DiscoverDynamicCardVerificationCode(value.DiscoverDynamicCardVerificationCode);
183
- return visitor._(value.$unknown[0], value.$unknown[1]);
184
- };
185
- })(exports.CardVerificationAttributes || (exports.CardVerificationAttributes = {}));
186
- exports.CryptogramAuthResponse = void 0;
187
- (function (CryptogramAuthResponse) {
188
- CryptogramAuthResponse.visit = (value, visitor) => {
189
- if (value.ArpcMethod1 !== undefined)
190
- return visitor.ArpcMethod1(value.ArpcMethod1);
191
- if (value.ArpcMethod2 !== undefined)
192
- return visitor.ArpcMethod2(value.ArpcMethod2);
193
- return visitor._(value.$unknown[0], value.$unknown[1]);
194
- };
195
- })(exports.CryptogramAuthResponse || (exports.CryptogramAuthResponse = {}));
196
144
  const DukptDerivationType = {
197
145
  AES_128: "AES_128",
198
146
  AES_192: "AES_192",
@@ -227,20 +175,6 @@ const EncryptionMode = {
227
175
  ECB: "ECB",
228
176
  OFB: "OFB",
229
177
  };
230
- exports.EncryptionDecryptionAttributes = void 0;
231
- (function (EncryptionDecryptionAttributes) {
232
- EncryptionDecryptionAttributes.visit = (value, visitor) => {
233
- if (value.Symmetric !== undefined)
234
- return visitor.Symmetric(value.Symmetric);
235
- if (value.Asymmetric !== undefined)
236
- return visitor.Asymmetric(value.Asymmetric);
237
- if (value.Dukpt !== undefined)
238
- return visitor.Dukpt(value.Dukpt);
239
- if (value.Emv !== undefined)
240
- return visitor.Emv(value.Emv);
241
- return visitor._(value.$unknown[0], value.$unknown[1]);
242
- };
243
- })(exports.EncryptionDecryptionAttributes || (exports.EncryptionDecryptionAttributes = {}));
244
178
  const KeyCheckValueAlgorithm = {
245
179
  ANSI_X9_24: "ANSI_X9_24",
246
180
  CMAC: "CMAC",
@@ -267,16 +201,6 @@ const KeyDerivationHashAlgorithm = {
267
201
  SHA_384: "SHA_384",
268
202
  SHA_512: "SHA_512",
269
203
  };
270
- exports.WrappedKeyMaterial = void 0;
271
- (function (WrappedKeyMaterial) {
272
- WrappedKeyMaterial.visit = (value, visitor) => {
273
- if (value.Tr31KeyBlock !== undefined)
274
- return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
275
- if (value.DiffieHellmanSymmetricKey !== undefined)
276
- return visitor.DiffieHellmanSymmetricKey(value.DiffieHellmanSymmetricKey);
277
- return visitor._(value.$unknown[0], value.$unknown[1]);
278
- };
279
- })(exports.WrappedKeyMaterial || (exports.WrappedKeyMaterial = {}));
280
204
  let InternalServerException$1 = class InternalServerException extends PaymentCryptographyDataServiceException$1 {
281
205
  name = "InternalServerException";
282
206
  $fault = "server";
@@ -341,30 +265,6 @@ const PinBlockPaddingType = {
341
265
  ISO_IEC_7816_4: "ISO_IEC_7816_4",
342
266
  NO_PADDING: "NO_PADDING",
343
267
  };
344
- exports.DerivationMethodAttributes = void 0;
345
- (function (DerivationMethodAttributes) {
346
- DerivationMethodAttributes.visit = (value, visitor) => {
347
- if (value.EmvCommon !== undefined)
348
- return visitor.EmvCommon(value.EmvCommon);
349
- if (value.Amex !== undefined)
350
- return visitor.Amex(value.Amex);
351
- if (value.Visa !== undefined)
352
- return visitor.Visa(value.Visa);
353
- if (value.Emv2000 !== undefined)
354
- return visitor.Emv2000(value.Emv2000);
355
- if (value.Mastercard !== undefined)
356
- return visitor.Mastercard(value.Mastercard);
357
- return visitor._(value.$unknown[0], value.$unknown[1]);
358
- };
359
- })(exports.DerivationMethodAttributes || (exports.DerivationMethodAttributes = {}));
360
- exports.DiffieHellmanDerivationData = void 0;
361
- (function (DiffieHellmanDerivationData) {
362
- DiffieHellmanDerivationData.visit = (value, visitor) => {
363
- if (value.SharedInformation !== undefined)
364
- return visitor.SharedInformation(value.SharedInformation);
365
- return visitor._(value.$unknown[0], value.$unknown[1]);
366
- };
367
- })(exports.DiffieHellmanDerivationData || (exports.DiffieHellmanDerivationData = {}));
368
268
  const MacAlgorithm = {
369
269
  CMAC: "CMAC",
370
270
  HMAC: "HMAC",
@@ -382,116 +282,22 @@ const SessionKeyDerivationMode = {
382
282
  MASTERCARD_SESSION_KEY: "MASTERCARD_SESSION_KEY",
383
283
  VISA: "VISA",
384
284
  };
385
- exports.SessionKeyDerivationValue = void 0;
386
- (function (SessionKeyDerivationValue) {
387
- SessionKeyDerivationValue.visit = (value, visitor) => {
388
- if (value.ApplicationCryptogram !== undefined)
389
- return visitor.ApplicationCryptogram(value.ApplicationCryptogram);
390
- if (value.ApplicationTransactionCounter !== undefined)
391
- return visitor.ApplicationTransactionCounter(value.ApplicationTransactionCounter);
392
- return visitor._(value.$unknown[0], value.$unknown[1]);
393
- };
394
- })(exports.SessionKeyDerivationValue || (exports.SessionKeyDerivationValue = {}));
395
- exports.MacAttributes = void 0;
396
- (function (MacAttributes) {
397
- MacAttributes.visit = (value, visitor) => {
398
- if (value.Algorithm !== undefined)
399
- return visitor.Algorithm(value.Algorithm);
400
- if (value.EmvMac !== undefined)
401
- return visitor.EmvMac(value.EmvMac);
402
- if (value.DukptIso9797Algorithm1 !== undefined)
403
- return visitor.DukptIso9797Algorithm1(value.DukptIso9797Algorithm1);
404
- if (value.DukptIso9797Algorithm3 !== undefined)
405
- return visitor.DukptIso9797Algorithm3(value.DukptIso9797Algorithm3);
406
- if (value.DukptCmac !== undefined)
407
- return visitor.DukptCmac(value.DukptCmac);
408
- return visitor._(value.$unknown[0], value.$unknown[1]);
409
- };
410
- })(exports.MacAttributes || (exports.MacAttributes = {}));
411
285
  const PinBlockFormatForEmvPinChange = {
412
286
  ISO_FORMAT_0: "ISO_FORMAT_0",
413
287
  ISO_FORMAT_1: "ISO_FORMAT_1",
414
288
  ISO_FORMAT_3: "ISO_FORMAT_3",
415
289
  };
416
- exports.PinGenerationAttributes = void 0;
417
- (function (PinGenerationAttributes) {
418
- PinGenerationAttributes.visit = (value, visitor) => {
419
- if (value.VisaPin !== undefined)
420
- return visitor.VisaPin(value.VisaPin);
421
- if (value.VisaPinVerificationValue !== undefined)
422
- return visitor.VisaPinVerificationValue(value.VisaPinVerificationValue);
423
- if (value.Ibm3624PinOffset !== undefined)
424
- return visitor.Ibm3624PinOffset(value.Ibm3624PinOffset);
425
- if (value.Ibm3624NaturalPin !== undefined)
426
- return visitor.Ibm3624NaturalPin(value.Ibm3624NaturalPin);
427
- if (value.Ibm3624RandomPin !== undefined)
428
- return visitor.Ibm3624RandomPin(value.Ibm3624RandomPin);
429
- if (value.Ibm3624PinFromOffset !== undefined)
430
- return visitor.Ibm3624PinFromOffset(value.Ibm3624PinFromOffset);
431
- return visitor._(value.$unknown[0], value.$unknown[1]);
432
- };
433
- })(exports.PinGenerationAttributes || (exports.PinGenerationAttributes = {}));
434
290
  const PinBlockFormatForPinData = {
435
291
  ISO_FORMAT_0: "ISO_FORMAT_0",
436
292
  ISO_FORMAT_1: "ISO_FORMAT_1",
437
293
  ISO_FORMAT_3: "ISO_FORMAT_3",
438
294
  ISO_FORMAT_4: "ISO_FORMAT_4",
439
295
  };
440
- exports.PinData = void 0;
441
- (function (PinData) {
442
- PinData.visit = (value, visitor) => {
443
- if (value.PinOffset !== undefined)
444
- return visitor.PinOffset(value.PinOffset);
445
- if (value.VerificationValue !== undefined)
446
- return visitor.VerificationValue(value.VerificationValue);
447
- return visitor._(value.$unknown[0], value.$unknown[1]);
448
- };
449
- })(exports.PinData || (exports.PinData = {}));
450
- exports.IncomingKeyMaterial = void 0;
451
- (function (IncomingKeyMaterial) {
452
- IncomingKeyMaterial.visit = (value, visitor) => {
453
- if (value.DiffieHellmanTr31KeyBlock !== undefined)
454
- return visitor.DiffieHellmanTr31KeyBlock(value.DiffieHellmanTr31KeyBlock);
455
- return visitor._(value.$unknown[0], value.$unknown[1]);
456
- };
457
- })(exports.IncomingKeyMaterial || (exports.IncomingKeyMaterial = {}));
458
- exports.OutgoingKeyMaterial = void 0;
459
- (function (OutgoingKeyMaterial) {
460
- OutgoingKeyMaterial.visit = (value, visitor) => {
461
- if (value.Tr31KeyBlock !== undefined)
462
- return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
463
- return visitor._(value.$unknown[0], value.$unknown[1]);
464
- };
465
- })(exports.OutgoingKeyMaterial || (exports.OutgoingKeyMaterial = {}));
466
- exports.ReEncryptionAttributes = void 0;
467
- (function (ReEncryptionAttributes) {
468
- ReEncryptionAttributes.visit = (value, visitor) => {
469
- if (value.Symmetric !== undefined)
470
- return visitor.Symmetric(value.Symmetric);
471
- if (value.Dukpt !== undefined)
472
- return visitor.Dukpt(value.Dukpt);
473
- return visitor._(value.$unknown[0], value.$unknown[1]);
474
- };
475
- })(exports.ReEncryptionAttributes || (exports.ReEncryptionAttributes = {}));
476
296
  const WrappedKeyMaterialFormat = {
477
297
  KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
478
298
  TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
479
299
  TR34_KEY_BLOCK: "TR34_KEY_BLOCK",
480
300
  };
481
- exports.TranslationIsoFormats = void 0;
482
- (function (TranslationIsoFormats) {
483
- TranslationIsoFormats.visit = (value, visitor) => {
484
- if (value.IsoFormat0 !== undefined)
485
- return visitor.IsoFormat0(value.IsoFormat0);
486
- if (value.IsoFormat1 !== undefined)
487
- return visitor.IsoFormat1(value.IsoFormat1);
488
- if (value.IsoFormat3 !== undefined)
489
- return visitor.IsoFormat3(value.IsoFormat3);
490
- if (value.IsoFormat4 !== undefined)
491
- return visitor.IsoFormat4(value.IsoFormat4);
492
- return visitor._(value.$unknown[0], value.$unknown[1]);
493
- };
494
- })(exports.TranslationIsoFormats || (exports.TranslationIsoFormats = {}));
495
301
  const VerificationFailedReason = {
496
302
  INVALID_AUTH_REQUEST_CRYPTOGRAM: "INVALID_AUTH_REQUEST_CRYPTOGRAM",
497
303
  INVALID_MAC: "INVALID_MAC",
@@ -514,32 +320,6 @@ let VerificationFailedException$1 = class VerificationFailedException extends Pa
514
320
  this.Message = opts.Message;
515
321
  }
516
322
  };
517
- exports.SessionKeyDerivation = void 0;
518
- (function (SessionKeyDerivation) {
519
- SessionKeyDerivation.visit = (value, visitor) => {
520
- if (value.EmvCommon !== undefined)
521
- return visitor.EmvCommon(value.EmvCommon);
522
- if (value.Mastercard !== undefined)
523
- return visitor.Mastercard(value.Mastercard);
524
- if (value.Emv2000 !== undefined)
525
- return visitor.Emv2000(value.Emv2000);
526
- if (value.Amex !== undefined)
527
- return visitor.Amex(value.Amex);
528
- if (value.Visa !== undefined)
529
- return visitor.Visa(value.Visa);
530
- return visitor._(value.$unknown[0], value.$unknown[1]);
531
- };
532
- })(exports.SessionKeyDerivation || (exports.SessionKeyDerivation = {}));
533
- exports.PinVerificationAttributes = void 0;
534
- (function (PinVerificationAttributes) {
535
- PinVerificationAttributes.visit = (value, visitor) => {
536
- if (value.VisaPin !== undefined)
537
- return visitor.VisaPin(value.VisaPin);
538
- if (value.Ibm3624Pin !== undefined)
539
- return visitor.Ibm3624Pin(value.Ibm3624Pin);
540
- return visitor._(value.$unknown[0], value.$unknown[1]);
541
- };
542
- })(exports.PinVerificationAttributes || (exports.PinVerificationAttributes = {}));
543
323
 
544
324
  const _A = "Amex";
545
325
  const _AA = "AmexAttributes";
@@ -23,58 +23,6 @@ export const PaddingType = {
23
23
  OAEP_SHA512: "OAEP_SHA512",
24
24
  PKCS1: "PKCS1",
25
25
  };
26
- export var CardGenerationAttributes;
27
- (function (CardGenerationAttributes) {
28
- CardGenerationAttributes.visit = (value, visitor) => {
29
- if (value.AmexCardSecurityCodeVersion1 !== undefined)
30
- return visitor.AmexCardSecurityCodeVersion1(value.AmexCardSecurityCodeVersion1);
31
- if (value.AmexCardSecurityCodeVersion2 !== undefined)
32
- return visitor.AmexCardSecurityCodeVersion2(value.AmexCardSecurityCodeVersion2);
33
- if (value.CardVerificationValue1 !== undefined)
34
- return visitor.CardVerificationValue1(value.CardVerificationValue1);
35
- if (value.CardVerificationValue2 !== undefined)
36
- return visitor.CardVerificationValue2(value.CardVerificationValue2);
37
- if (value.CardHolderVerificationValue !== undefined)
38
- return visitor.CardHolderVerificationValue(value.CardHolderVerificationValue);
39
- if (value.DynamicCardVerificationCode !== undefined)
40
- return visitor.DynamicCardVerificationCode(value.DynamicCardVerificationCode);
41
- if (value.DynamicCardVerificationValue !== undefined)
42
- return visitor.DynamicCardVerificationValue(value.DynamicCardVerificationValue);
43
- return visitor._(value.$unknown[0], value.$unknown[1]);
44
- };
45
- })(CardGenerationAttributes || (CardGenerationAttributes = {}));
46
- export var CardVerificationAttributes;
47
- (function (CardVerificationAttributes) {
48
- CardVerificationAttributes.visit = (value, visitor) => {
49
- if (value.AmexCardSecurityCodeVersion1 !== undefined)
50
- return visitor.AmexCardSecurityCodeVersion1(value.AmexCardSecurityCodeVersion1);
51
- if (value.AmexCardSecurityCodeVersion2 !== undefined)
52
- return visitor.AmexCardSecurityCodeVersion2(value.AmexCardSecurityCodeVersion2);
53
- if (value.CardVerificationValue1 !== undefined)
54
- return visitor.CardVerificationValue1(value.CardVerificationValue1);
55
- if (value.CardVerificationValue2 !== undefined)
56
- return visitor.CardVerificationValue2(value.CardVerificationValue2);
57
- if (value.CardHolderVerificationValue !== undefined)
58
- return visitor.CardHolderVerificationValue(value.CardHolderVerificationValue);
59
- if (value.DynamicCardVerificationCode !== undefined)
60
- return visitor.DynamicCardVerificationCode(value.DynamicCardVerificationCode);
61
- if (value.DynamicCardVerificationValue !== undefined)
62
- return visitor.DynamicCardVerificationValue(value.DynamicCardVerificationValue);
63
- if (value.DiscoverDynamicCardVerificationCode !== undefined)
64
- return visitor.DiscoverDynamicCardVerificationCode(value.DiscoverDynamicCardVerificationCode);
65
- return visitor._(value.$unknown[0], value.$unknown[1]);
66
- };
67
- })(CardVerificationAttributes || (CardVerificationAttributes = {}));
68
- export var CryptogramAuthResponse;
69
- (function (CryptogramAuthResponse) {
70
- CryptogramAuthResponse.visit = (value, visitor) => {
71
- if (value.ArpcMethod1 !== undefined)
72
- return visitor.ArpcMethod1(value.ArpcMethod1);
73
- if (value.ArpcMethod2 !== undefined)
74
- return visitor.ArpcMethod2(value.ArpcMethod2);
75
- return visitor._(value.$unknown[0], value.$unknown[1]);
76
- };
77
- })(CryptogramAuthResponse || (CryptogramAuthResponse = {}));
78
26
  export const DukptDerivationType = {
79
27
  AES_128: "AES_128",
80
28
  AES_192: "AES_192",
@@ -109,20 +57,6 @@ export const EncryptionMode = {
109
57
  ECB: "ECB",
110
58
  OFB: "OFB",
111
59
  };
112
- export var EncryptionDecryptionAttributes;
113
- (function (EncryptionDecryptionAttributes) {
114
- EncryptionDecryptionAttributes.visit = (value, visitor) => {
115
- if (value.Symmetric !== undefined)
116
- return visitor.Symmetric(value.Symmetric);
117
- if (value.Asymmetric !== undefined)
118
- return visitor.Asymmetric(value.Asymmetric);
119
- if (value.Dukpt !== undefined)
120
- return visitor.Dukpt(value.Dukpt);
121
- if (value.Emv !== undefined)
122
- return visitor.Emv(value.Emv);
123
- return visitor._(value.$unknown[0], value.$unknown[1]);
124
- };
125
- })(EncryptionDecryptionAttributes || (EncryptionDecryptionAttributes = {}));
126
60
  export const KeyCheckValueAlgorithm = {
127
61
  ANSI_X9_24: "ANSI_X9_24",
128
62
  CMAC: "CMAC",
@@ -149,16 +83,6 @@ export const KeyDerivationHashAlgorithm = {
149
83
  SHA_384: "SHA_384",
150
84
  SHA_512: "SHA_512",
151
85
  };
152
- export var WrappedKeyMaterial;
153
- (function (WrappedKeyMaterial) {
154
- WrappedKeyMaterial.visit = (value, visitor) => {
155
- if (value.Tr31KeyBlock !== undefined)
156
- return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
157
- if (value.DiffieHellmanSymmetricKey !== undefined)
158
- return visitor.DiffieHellmanSymmetricKey(value.DiffieHellmanSymmetricKey);
159
- return visitor._(value.$unknown[0], value.$unknown[1]);
160
- };
161
- })(WrappedKeyMaterial || (WrappedKeyMaterial = {}));
162
86
  export class InternalServerException extends __BaseException {
163
87
  name = "InternalServerException";
164
88
  $fault = "server";
@@ -223,30 +147,6 @@ export const PinBlockPaddingType = {
223
147
  ISO_IEC_7816_4: "ISO_IEC_7816_4",
224
148
  NO_PADDING: "NO_PADDING",
225
149
  };
226
- export var DerivationMethodAttributes;
227
- (function (DerivationMethodAttributes) {
228
- DerivationMethodAttributes.visit = (value, visitor) => {
229
- if (value.EmvCommon !== undefined)
230
- return visitor.EmvCommon(value.EmvCommon);
231
- if (value.Amex !== undefined)
232
- return visitor.Amex(value.Amex);
233
- if (value.Visa !== undefined)
234
- return visitor.Visa(value.Visa);
235
- if (value.Emv2000 !== undefined)
236
- return visitor.Emv2000(value.Emv2000);
237
- if (value.Mastercard !== undefined)
238
- return visitor.Mastercard(value.Mastercard);
239
- return visitor._(value.$unknown[0], value.$unknown[1]);
240
- };
241
- })(DerivationMethodAttributes || (DerivationMethodAttributes = {}));
242
- export var DiffieHellmanDerivationData;
243
- (function (DiffieHellmanDerivationData) {
244
- DiffieHellmanDerivationData.visit = (value, visitor) => {
245
- if (value.SharedInformation !== undefined)
246
- return visitor.SharedInformation(value.SharedInformation);
247
- return visitor._(value.$unknown[0], value.$unknown[1]);
248
- };
249
- })(DiffieHellmanDerivationData || (DiffieHellmanDerivationData = {}));
250
150
  export const MacAlgorithm = {
251
151
  CMAC: "CMAC",
252
152
  HMAC: "HMAC",
@@ -264,116 +164,22 @@ export const SessionKeyDerivationMode = {
264
164
  MASTERCARD_SESSION_KEY: "MASTERCARD_SESSION_KEY",
265
165
  VISA: "VISA",
266
166
  };
267
- export var SessionKeyDerivationValue;
268
- (function (SessionKeyDerivationValue) {
269
- SessionKeyDerivationValue.visit = (value, visitor) => {
270
- if (value.ApplicationCryptogram !== undefined)
271
- return visitor.ApplicationCryptogram(value.ApplicationCryptogram);
272
- if (value.ApplicationTransactionCounter !== undefined)
273
- return visitor.ApplicationTransactionCounter(value.ApplicationTransactionCounter);
274
- return visitor._(value.$unknown[0], value.$unknown[1]);
275
- };
276
- })(SessionKeyDerivationValue || (SessionKeyDerivationValue = {}));
277
- export var MacAttributes;
278
- (function (MacAttributes) {
279
- MacAttributes.visit = (value, visitor) => {
280
- if (value.Algorithm !== undefined)
281
- return visitor.Algorithm(value.Algorithm);
282
- if (value.EmvMac !== undefined)
283
- return visitor.EmvMac(value.EmvMac);
284
- if (value.DukptIso9797Algorithm1 !== undefined)
285
- return visitor.DukptIso9797Algorithm1(value.DukptIso9797Algorithm1);
286
- if (value.DukptIso9797Algorithm3 !== undefined)
287
- return visitor.DukptIso9797Algorithm3(value.DukptIso9797Algorithm3);
288
- if (value.DukptCmac !== undefined)
289
- return visitor.DukptCmac(value.DukptCmac);
290
- return visitor._(value.$unknown[0], value.$unknown[1]);
291
- };
292
- })(MacAttributes || (MacAttributes = {}));
293
167
  export const PinBlockFormatForEmvPinChange = {
294
168
  ISO_FORMAT_0: "ISO_FORMAT_0",
295
169
  ISO_FORMAT_1: "ISO_FORMAT_1",
296
170
  ISO_FORMAT_3: "ISO_FORMAT_3",
297
171
  };
298
- export var PinGenerationAttributes;
299
- (function (PinGenerationAttributes) {
300
- PinGenerationAttributes.visit = (value, visitor) => {
301
- if (value.VisaPin !== undefined)
302
- return visitor.VisaPin(value.VisaPin);
303
- if (value.VisaPinVerificationValue !== undefined)
304
- return visitor.VisaPinVerificationValue(value.VisaPinVerificationValue);
305
- if (value.Ibm3624PinOffset !== undefined)
306
- return visitor.Ibm3624PinOffset(value.Ibm3624PinOffset);
307
- if (value.Ibm3624NaturalPin !== undefined)
308
- return visitor.Ibm3624NaturalPin(value.Ibm3624NaturalPin);
309
- if (value.Ibm3624RandomPin !== undefined)
310
- return visitor.Ibm3624RandomPin(value.Ibm3624RandomPin);
311
- if (value.Ibm3624PinFromOffset !== undefined)
312
- return visitor.Ibm3624PinFromOffset(value.Ibm3624PinFromOffset);
313
- return visitor._(value.$unknown[0], value.$unknown[1]);
314
- };
315
- })(PinGenerationAttributes || (PinGenerationAttributes = {}));
316
172
  export const PinBlockFormatForPinData = {
317
173
  ISO_FORMAT_0: "ISO_FORMAT_0",
318
174
  ISO_FORMAT_1: "ISO_FORMAT_1",
319
175
  ISO_FORMAT_3: "ISO_FORMAT_3",
320
176
  ISO_FORMAT_4: "ISO_FORMAT_4",
321
177
  };
322
- export var PinData;
323
- (function (PinData) {
324
- PinData.visit = (value, visitor) => {
325
- if (value.PinOffset !== undefined)
326
- return visitor.PinOffset(value.PinOffset);
327
- if (value.VerificationValue !== undefined)
328
- return visitor.VerificationValue(value.VerificationValue);
329
- return visitor._(value.$unknown[0], value.$unknown[1]);
330
- };
331
- })(PinData || (PinData = {}));
332
- export var IncomingKeyMaterial;
333
- (function (IncomingKeyMaterial) {
334
- IncomingKeyMaterial.visit = (value, visitor) => {
335
- if (value.DiffieHellmanTr31KeyBlock !== undefined)
336
- return visitor.DiffieHellmanTr31KeyBlock(value.DiffieHellmanTr31KeyBlock);
337
- return visitor._(value.$unknown[0], value.$unknown[1]);
338
- };
339
- })(IncomingKeyMaterial || (IncomingKeyMaterial = {}));
340
- export var OutgoingKeyMaterial;
341
- (function (OutgoingKeyMaterial) {
342
- OutgoingKeyMaterial.visit = (value, visitor) => {
343
- if (value.Tr31KeyBlock !== undefined)
344
- return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
345
- return visitor._(value.$unknown[0], value.$unknown[1]);
346
- };
347
- })(OutgoingKeyMaterial || (OutgoingKeyMaterial = {}));
348
- export var ReEncryptionAttributes;
349
- (function (ReEncryptionAttributes) {
350
- ReEncryptionAttributes.visit = (value, visitor) => {
351
- if (value.Symmetric !== undefined)
352
- return visitor.Symmetric(value.Symmetric);
353
- if (value.Dukpt !== undefined)
354
- return visitor.Dukpt(value.Dukpt);
355
- return visitor._(value.$unknown[0], value.$unknown[1]);
356
- };
357
- })(ReEncryptionAttributes || (ReEncryptionAttributes = {}));
358
178
  export const WrappedKeyMaterialFormat = {
359
179
  KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
360
180
  TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
361
181
  TR34_KEY_BLOCK: "TR34_KEY_BLOCK",
362
182
  };
363
- export var TranslationIsoFormats;
364
- (function (TranslationIsoFormats) {
365
- TranslationIsoFormats.visit = (value, visitor) => {
366
- if (value.IsoFormat0 !== undefined)
367
- return visitor.IsoFormat0(value.IsoFormat0);
368
- if (value.IsoFormat1 !== undefined)
369
- return visitor.IsoFormat1(value.IsoFormat1);
370
- if (value.IsoFormat3 !== undefined)
371
- return visitor.IsoFormat3(value.IsoFormat3);
372
- if (value.IsoFormat4 !== undefined)
373
- return visitor.IsoFormat4(value.IsoFormat4);
374
- return visitor._(value.$unknown[0], value.$unknown[1]);
375
- };
376
- })(TranslationIsoFormats || (TranslationIsoFormats = {}));
377
183
  export const VerificationFailedReason = {
378
184
  INVALID_AUTH_REQUEST_CRYPTOGRAM: "INVALID_AUTH_REQUEST_CRYPTOGRAM",
379
185
  INVALID_MAC: "INVALID_MAC",
@@ -396,29 +202,3 @@ export class VerificationFailedException extends __BaseException {
396
202
  this.Message = opts.Message;
397
203
  }
398
204
  }
399
- export var SessionKeyDerivation;
400
- (function (SessionKeyDerivation) {
401
- SessionKeyDerivation.visit = (value, visitor) => {
402
- if (value.EmvCommon !== undefined)
403
- return visitor.EmvCommon(value.EmvCommon);
404
- if (value.Mastercard !== undefined)
405
- return visitor.Mastercard(value.Mastercard);
406
- if (value.Emv2000 !== undefined)
407
- return visitor.Emv2000(value.Emv2000);
408
- if (value.Amex !== undefined)
409
- return visitor.Amex(value.Amex);
410
- if (value.Visa !== undefined)
411
- return visitor.Visa(value.Visa);
412
- return visitor._(value.$unknown[0], value.$unknown[1]);
413
- };
414
- })(SessionKeyDerivation || (SessionKeyDerivation = {}));
415
- export var PinVerificationAttributes;
416
- (function (PinVerificationAttributes) {
417
- PinVerificationAttributes.visit = (value, visitor) => {
418
- if (value.VisaPin !== undefined)
419
- return visitor.VisaPin(value.VisaPin);
420
- if (value.Ibm3624Pin !== undefined)
421
- return visitor.Ibm3624Pin(value.Ibm3624Pin);
422
- return visitor._(value.$unknown[0], value.$unknown[1]);
423
- };
424
- })(PinVerificationAttributes || (PinVerificationAttributes = {}));
@@ -349,6 +349,10 @@ export declare namespace CardGenerationAttributes {
349
349
  DynamicCardVerificationValue?: never;
350
350
  $unknown: [string, any];
351
351
  }
352
+ /**
353
+ * @deprecated unused in schema-serde mode.
354
+ *
355
+ */
352
356
  interface Visitor<T> {
353
357
  AmexCardSecurityCodeVersion1: (value: AmexCardSecurityCodeVersion1) => T;
354
358
  AmexCardSecurityCodeVersion2: (value: AmexCardSecurityCodeVersion2) => T;
@@ -359,7 +363,6 @@ export declare namespace CardGenerationAttributes {
359
363
  DynamicCardVerificationValue: (value: DynamicCardVerificationValue) => T;
360
364
  _: (name: string, value: any) => T;
361
365
  }
362
- const visit: <T>(value: CardGenerationAttributes, visitor: Visitor<T>) => T;
363
366
  }
364
367
  /**
365
368
  * <p>Parameters that are required to generate or verify dCVC (Dynamic Card Verification Code).</p>
@@ -525,6 +528,10 @@ export declare namespace CardVerificationAttributes {
525
528
  DiscoverDynamicCardVerificationCode?: never;
526
529
  $unknown: [string, any];
527
530
  }
531
+ /**
532
+ * @deprecated unused in schema-serde mode.
533
+ *
534
+ */
528
535
  interface Visitor<T> {
529
536
  AmexCardSecurityCodeVersion1: (value: AmexCardSecurityCodeVersion1) => T;
530
537
  AmexCardSecurityCodeVersion2: (value: AmexCardSecurityCodeVersion2) => T;
@@ -536,7 +543,6 @@ export declare namespace CardVerificationAttributes {
536
543
  DiscoverDynamicCardVerificationCode: (value: DiscoverDynamicCardVerificationCode) => T;
537
544
  _: (name: string, value: any) => T;
538
545
  }
539
- const visit: <T>(value: CardVerificationAttributes, visitor: Visitor<T>) => T;
540
546
  }
541
547
  /**
542
548
  * <p>Parameters that are required for ARPC response generation using method1 after ARQC verification is successful.</p>
@@ -600,12 +606,15 @@ export declare namespace CryptogramAuthResponse {
600
606
  ArpcMethod2?: never;
601
607
  $unknown: [string, any];
602
608
  }
609
+ /**
610
+ * @deprecated unused in schema-serde mode.
611
+ *
612
+ */
603
613
  interface Visitor<T> {
604
614
  ArpcMethod1: (value: CryptogramVerificationArpcMethod1) => T;
605
615
  ArpcMethod2: (value: CryptogramVerificationArpcMethod2) => T;
606
616
  _: (name: string, value: any) => T;
607
617
  }
608
- const visit: <T>(value: CryptogramAuthResponse, visitor: Visitor<T>) => T;
609
618
  }
610
619
  /**
611
620
  * @public
@@ -840,6 +849,10 @@ export declare namespace EncryptionDecryptionAttributes {
840
849
  Emv?: never;
841
850
  $unknown: [string, any];
842
851
  }
852
+ /**
853
+ * @deprecated unused in schema-serde mode.
854
+ *
855
+ */
843
856
  interface Visitor<T> {
844
857
  Symmetric: (value: SymmetricEncryptionAttributes) => T;
845
858
  Asymmetric: (value: AsymmetricEncryptionAttributes) => T;
@@ -847,7 +860,6 @@ export declare namespace EncryptionDecryptionAttributes {
847
860
  Emv: (value: EmvEncryptionAttributes) => T;
848
861
  _: (name: string, value: any) => T;
849
862
  }
850
- const visit: <T>(value: EncryptionDecryptionAttributes, visitor: Visitor<T>) => T;
851
863
  }
852
864
  /**
853
865
  * @public
@@ -978,12 +990,15 @@ export declare namespace WrappedKeyMaterial {
978
990
  DiffieHellmanSymmetricKey?: never;
979
991
  $unknown: [string, any];
980
992
  }
993
+ /**
994
+ * @deprecated unused in schema-serde mode.
995
+ *
996
+ */
981
997
  interface Visitor<T> {
982
998
  Tr31KeyBlock: (value: string) => T;
983
999
  DiffieHellmanSymmetricKey: (value: EcdhDerivationAttributes) => T;
984
1000
  _: (name: string, value: any) => T;
985
1001
  }
986
- const visit: <T>(value: WrappedKeyMaterial, visitor: Visitor<T>) => T;
987
1002
  }
988
1003
  /**
989
1004
  * <p>Parameter information of a WrappedKeyBlock for encryption key exchange.</p>
@@ -1355,6 +1370,10 @@ export declare namespace DerivationMethodAttributes {
1355
1370
  Mastercard?: never;
1356
1371
  $unknown: [string, any];
1357
1372
  }
1373
+ /**
1374
+ * @deprecated unused in schema-serde mode.
1375
+ *
1376
+ */
1358
1377
  interface Visitor<T> {
1359
1378
  EmvCommon: (value: EmvCommonAttributes) => T;
1360
1379
  Amex: (value: AmexAttributes) => T;
@@ -1363,7 +1382,6 @@ export declare namespace DerivationMethodAttributes {
1363
1382
  Mastercard: (value: MasterCardAttributes) => T;
1364
1383
  _: (name: string, value: any) => T;
1365
1384
  }
1366
- const visit: <T>(value: DerivationMethodAttributes, visitor: Visitor<T>) => T;
1367
1385
  }
1368
1386
  /**
1369
1387
  * <p>The shared information used when deriving a key using ECDH.</p>
@@ -1389,11 +1407,14 @@ export declare namespace DiffieHellmanDerivationData {
1389
1407
  SharedInformation?: never;
1390
1408
  $unknown: [string, any];
1391
1409
  }
1410
+ /**
1411
+ * @deprecated unused in schema-serde mode.
1412
+ *
1413
+ */
1392
1414
  interface Visitor<T> {
1393
1415
  SharedInformation: (value: string) => T;
1394
1416
  _: (name: string, value: any) => T;
1395
1417
  }
1396
- const visit: <T>(value: DiffieHellmanDerivationData, visitor: Visitor<T>) => T;
1397
1418
  }
1398
1419
  /**
1399
1420
  * <p>Parameters that are used for Derived Unique Key Per Transaction (DUKPT) derivation algorithm.</p>
@@ -1611,12 +1632,15 @@ export declare namespace SessionKeyDerivationValue {
1611
1632
  ApplicationTransactionCounter?: never;
1612
1633
  $unknown: [string, any];
1613
1634
  }
1635
+ /**
1636
+ * @deprecated unused in schema-serde mode.
1637
+ *
1638
+ */
1614
1639
  interface Visitor<T> {
1615
1640
  ApplicationCryptogram: (value: string) => T;
1616
1641
  ApplicationTransactionCounter: (value: string) => T;
1617
1642
  _: (name: string, value: any) => T;
1618
1643
  }
1619
- const visit: <T>(value: SessionKeyDerivationValue, visitor: Visitor<T>) => T;
1620
1644
  }
1621
1645
  /**
1622
1646
  * <p>Parameters that are required for EMV MAC generation and verification.</p>
@@ -1729,6 +1753,10 @@ export declare namespace MacAttributes {
1729
1753
  DukptCmac?: never;
1730
1754
  $unknown: [string, any];
1731
1755
  }
1756
+ /**
1757
+ * @deprecated unused in schema-serde mode.
1758
+ *
1759
+ */
1732
1760
  interface Visitor<T> {
1733
1761
  Algorithm: (value: MacAlgorithm) => T;
1734
1762
  EmvMac: (value: MacAlgorithmEmv) => T;
@@ -1737,7 +1765,6 @@ export declare namespace MacAttributes {
1737
1765
  DukptCmac: (value: MacAlgorithmDukpt) => T;
1738
1766
  _: (name: string, value: any) => T;
1739
1767
  }
1740
- const visit: <T>(value: MacAttributes, visitor: Visitor<T>) => T;
1741
1768
  }
1742
1769
  /**
1743
1770
  * @public
@@ -2133,6 +2160,10 @@ export declare namespace PinGenerationAttributes {
2133
2160
  Ibm3624PinFromOffset?: never;
2134
2161
  $unknown: [string, any];
2135
2162
  }
2163
+ /**
2164
+ * @deprecated unused in schema-serde mode.
2165
+ *
2166
+ */
2136
2167
  interface Visitor<T> {
2137
2168
  VisaPin: (value: VisaPin) => T;
2138
2169
  VisaPinVerificationValue: (value: VisaPinVerificationValue) => T;
@@ -2142,7 +2173,6 @@ export declare namespace PinGenerationAttributes {
2142
2173
  Ibm3624PinFromOffset: (value: Ibm3624PinFromOffset) => T;
2143
2174
  _: (name: string, value: any) => T;
2144
2175
  }
2145
- const visit: <T>(value: PinGenerationAttributes, visitor: Visitor<T>) => T;
2146
2176
  }
2147
2177
  /**
2148
2178
  * @public
@@ -2233,12 +2263,15 @@ export declare namespace PinData {
2233
2263
  VerificationValue?: never;
2234
2264
  $unknown: [string, any];
2235
2265
  }
2266
+ /**
2267
+ * @deprecated unused in schema-serde mode.
2268
+ *
2269
+ */
2236
2270
  interface Visitor<T> {
2237
2271
  PinOffset: (value: string) => T;
2238
2272
  VerificationValue: (value: string) => T;
2239
2273
  _: (name: string, value: any) => T;
2240
2274
  }
2241
- const visit: <T>(value: PinData, visitor: Visitor<T>) => T;
2242
2275
  }
2243
2276
  /**
2244
2277
  * @public
@@ -2371,11 +2404,14 @@ export declare namespace IncomingKeyMaterial {
2371
2404
  DiffieHellmanTr31KeyBlock?: never;
2372
2405
  $unknown: [string, any];
2373
2406
  }
2407
+ /**
2408
+ * @deprecated unused in schema-serde mode.
2409
+ *
2410
+ */
2374
2411
  interface Visitor<T> {
2375
2412
  DiffieHellmanTr31KeyBlock: (value: IncomingDiffieHellmanTr31KeyBlock) => T;
2376
2413
  _: (name: string, value: any) => T;
2377
2414
  }
2378
- const visit: <T>(value: IncomingKeyMaterial, visitor: Visitor<T>) => T;
2379
2415
  }
2380
2416
  /**
2381
2417
  * <p>Parameter information of the TR31WrappedKeyBlock containing the transaction key wrapped using a KEK.</p>
@@ -2412,11 +2448,14 @@ export declare namespace OutgoingKeyMaterial {
2412
2448
  Tr31KeyBlock?: never;
2413
2449
  $unknown: [string, any];
2414
2450
  }
2451
+ /**
2452
+ * @deprecated unused in schema-serde mode.
2453
+ *
2454
+ */
2415
2455
  interface Visitor<T> {
2416
2456
  Tr31KeyBlock: (value: OutgoingTr31KeyBlock) => T;
2417
2457
  _: (name: string, value: any) => T;
2418
2458
  }
2419
- const visit: <T>(value: OutgoingKeyMaterial, visitor: Visitor<T>) => T;
2420
2459
  }
2421
2460
  /**
2422
2461
  * <p>Parameters that are required to perform reencryption operation.</p>
@@ -2453,12 +2492,15 @@ export declare namespace ReEncryptionAttributes {
2453
2492
  Dukpt?: never;
2454
2493
  $unknown: [string, any];
2455
2494
  }
2495
+ /**
2496
+ * @deprecated unused in schema-serde mode.
2497
+ *
2498
+ */
2456
2499
  interface Visitor<T> {
2457
2500
  Symmetric: (value: SymmetricEncryptionAttributes) => T;
2458
2501
  Dukpt: (value: DukptEncryptionAttributes) => T;
2459
2502
  _: (name: string, value: any) => T;
2460
2503
  }
2461
- const visit: <T>(value: ReEncryptionAttributes, visitor: Visitor<T>) => T;
2462
2504
  }
2463
2505
  /**
2464
2506
  * @public
@@ -2664,6 +2706,10 @@ export declare namespace TranslationIsoFormats {
2664
2706
  IsoFormat4?: never;
2665
2707
  $unknown: [string, any];
2666
2708
  }
2709
+ /**
2710
+ * @deprecated unused in schema-serde mode.
2711
+ *
2712
+ */
2667
2713
  interface Visitor<T> {
2668
2714
  IsoFormat0: (value: TranslationPinDataIsoFormat034) => T;
2669
2715
  IsoFormat1: (value: TranslationPinDataIsoFormat1) => T;
@@ -2671,7 +2717,6 @@ export declare namespace TranslationIsoFormats {
2671
2717
  IsoFormat4: (value: TranslationPinDataIsoFormat034) => T;
2672
2718
  _: (name: string, value: any) => T;
2673
2719
  }
2674
- const visit: <T>(value: TranslationIsoFormats, visitor: Visitor<T>) => T;
2675
2720
  }
2676
2721
  /**
2677
2722
  * @public
@@ -2955,6 +3000,10 @@ export declare namespace SessionKeyDerivation {
2955
3000
  Visa?: never;
2956
3001
  $unknown: [string, any];
2957
3002
  }
3003
+ /**
3004
+ * @deprecated unused in schema-serde mode.
3005
+ *
3006
+ */
2958
3007
  interface Visitor<T> {
2959
3008
  EmvCommon: (value: SessionKeyEmvCommon) => T;
2960
3009
  Mastercard: (value: SessionKeyMastercard) => T;
@@ -2963,7 +3012,6 @@ export declare namespace SessionKeyDerivation {
2963
3012
  Visa: (value: SessionKeyVisa) => T;
2964
3013
  _: (name: string, value: any) => T;
2965
3014
  }
2966
- const visit: <T>(value: SessionKeyDerivation, visitor: Visitor<T>) => T;
2967
3015
  }
2968
3016
  /**
2969
3017
  * @public
@@ -3156,12 +3204,15 @@ export declare namespace PinVerificationAttributes {
3156
3204
  Ibm3624Pin?: never;
3157
3205
  $unknown: [string, any];
3158
3206
  }
3207
+ /**
3208
+ * @deprecated unused in schema-serde mode.
3209
+ *
3210
+ */
3159
3211
  interface Visitor<T> {
3160
3212
  VisaPin: (value: VisaPinVerification) => T;
3161
3213
  Ibm3624Pin: (value: Ibm3624PinVerification) => T;
3162
3214
  _: (name: string, value: any) => T;
3163
3215
  }
3164
- const visit: <T>(value: PinVerificationAttributes, visitor: Visitor<T>) => T;
3165
3216
  }
3166
3217
  /**
3167
3218
  * @public
@@ -167,7 +167,6 @@ export declare namespace CardGenerationAttributes {
167
167
  DynamicCardVerificationValue: (value: DynamicCardVerificationValue) => T;
168
168
  _: (name: string, value: any) => T;
169
169
  }
170
- const visit: <T>(value: CardGenerationAttributes, visitor: Visitor<T>) => T;
171
170
  }
172
171
  export interface DiscoverDynamicCardVerificationCode {
173
172
  CardExpiryDate: string | undefined;
@@ -297,7 +296,6 @@ export declare namespace CardVerificationAttributes {
297
296
  ) => T;
298
297
  _: (name: string, value: any) => T;
299
298
  }
300
- const visit: <T>(value: CardVerificationAttributes, visitor: Visitor<T>) => T;
301
299
  }
302
300
  export interface CryptogramVerificationArpcMethod1 {
303
301
  AuthResponseCode: string | undefined;
@@ -331,7 +329,6 @@ export declare namespace CryptogramAuthResponse {
331
329
  ArpcMethod2: (value: CryptogramVerificationArpcMethod2) => T;
332
330
  _: (name: string, value: any) => T;
333
331
  }
334
- const visit: <T>(value: CryptogramAuthResponse, visitor: Visitor<T>) => T;
335
332
  }
336
333
  export declare const DukptDerivationType: {
337
334
  readonly AES_128: "AES_128";
@@ -448,10 +445,6 @@ export declare namespace EncryptionDecryptionAttributes {
448
445
  Emv: (value: EmvEncryptionAttributes) => T;
449
446
  _: (name: string, value: any) => T;
450
447
  }
451
- const visit: <T>(
452
- value: EncryptionDecryptionAttributes,
453
- visitor: Visitor<T>
454
- ) => T;
455
448
  }
456
449
  export declare const KeyCheckValueAlgorithm: {
457
450
  readonly ANSI_X9_24: "ANSI_X9_24";
@@ -520,7 +513,6 @@ export declare namespace WrappedKeyMaterial {
520
513
  DiffieHellmanSymmetricKey: (value: EcdhDerivationAttributes) => T;
521
514
  _: (name: string, value: any) => T;
522
515
  }
523
- const visit: <T>(value: WrappedKeyMaterial, visitor: Visitor<T>) => T;
524
516
  }
525
517
  export interface WrappedKey {
526
518
  WrappedKeyMaterial: WrappedKeyMaterial | undefined;
@@ -678,7 +670,6 @@ export declare namespace DerivationMethodAttributes {
678
670
  Mastercard: (value: MasterCardAttributes) => T;
679
671
  _: (name: string, value: any) => T;
680
672
  }
681
- const visit: <T>(value: DerivationMethodAttributes, visitor: Visitor<T>) => T;
682
673
  }
683
674
  export type DiffieHellmanDerivationData =
684
675
  | DiffieHellmanDerivationData.SharedInformationMember
@@ -696,10 +687,6 @@ export declare namespace DiffieHellmanDerivationData {
696
687
  SharedInformation: (value: string) => T;
697
688
  _: (name: string, value: any) => T;
698
689
  }
699
- const visit: <T>(
700
- value: DiffieHellmanDerivationData,
701
- visitor: Visitor<T>
702
- ) => T;
703
690
  }
704
691
  export interface DukptAttributes {
705
692
  KeySerialNumber: string | undefined;
@@ -782,7 +769,6 @@ export declare namespace SessionKeyDerivationValue {
782
769
  ApplicationTransactionCounter: (value: string) => T;
783
770
  _: (name: string, value: any) => T;
784
771
  }
785
- const visit: <T>(value: SessionKeyDerivationValue, visitor: Visitor<T>) => T;
786
772
  }
787
773
  export interface MacAlgorithmEmv {
788
774
  MajorKeyDerivationMode: MajorKeyDerivationMode | undefined;
@@ -855,7 +841,6 @@ export declare namespace MacAttributes {
855
841
  DukptCmac: (value: MacAlgorithmDukpt) => T;
856
842
  _: (name: string, value: any) => T;
857
843
  }
858
- const visit: <T>(value: MacAttributes, visitor: Visitor<T>) => T;
859
844
  }
860
845
  export interface GenerateMacInput {
861
846
  KeyIdentifier: string | undefined;
@@ -1011,7 +996,6 @@ export declare namespace PinGenerationAttributes {
1011
996
  Ibm3624PinFromOffset: (value: Ibm3624PinFromOffset) => T;
1012
997
  _: (name: string, value: any) => T;
1013
998
  }
1014
- const visit: <T>(value: PinGenerationAttributes, visitor: Visitor<T>) => T;
1015
999
  }
1016
1000
  export declare const PinBlockFormatForPinData: {
1017
1001
  readonly ISO_FORMAT_0: "ISO_FORMAT_0";
@@ -1055,7 +1039,6 @@ export declare namespace PinData {
1055
1039
  VerificationValue: (value: string) => T;
1056
1040
  _: (name: string, value: any) => T;
1057
1041
  }
1058
- const visit: <T>(value: PinData, visitor: Visitor<T>) => T;
1059
1042
  }
1060
1043
  export interface GeneratePinDataOutput {
1061
1044
  GenerationKeyArn: string | undefined;
@@ -1097,7 +1080,6 @@ export declare namespace IncomingKeyMaterial {
1097
1080
  DiffieHellmanTr31KeyBlock: (value: IncomingDiffieHellmanTr31KeyBlock) => T;
1098
1081
  _: (name: string, value: any) => T;
1099
1082
  }
1100
- const visit: <T>(value: IncomingKeyMaterial, visitor: Visitor<T>) => T;
1101
1083
  }
1102
1084
  export interface OutgoingTr31KeyBlock {
1103
1085
  WrappingKeyIdentifier: string | undefined;
@@ -1118,7 +1100,6 @@ export declare namespace OutgoingKeyMaterial {
1118
1100
  Tr31KeyBlock: (value: OutgoingTr31KeyBlock) => T;
1119
1101
  _: (name: string, value: any) => T;
1120
1102
  }
1121
- const visit: <T>(value: OutgoingKeyMaterial, visitor: Visitor<T>) => T;
1122
1103
  }
1123
1104
  export type ReEncryptionAttributes =
1124
1105
  | ReEncryptionAttributes.DukptMember
@@ -1145,7 +1126,6 @@ export declare namespace ReEncryptionAttributes {
1145
1126
  Dukpt: (value: DukptEncryptionAttributes) => T;
1146
1127
  _: (name: string, value: any) => T;
1147
1128
  }
1148
- const visit: <T>(value: ReEncryptionAttributes, visitor: Visitor<T>) => T;
1149
1129
  }
1150
1130
  export interface ReEncryptDataInput {
1151
1131
  IncomingKeyIdentifier: string | undefined;
@@ -1234,7 +1214,6 @@ export declare namespace TranslationIsoFormats {
1234
1214
  IsoFormat4: (value: TranslationPinDataIsoFormat034) => T;
1235
1215
  _: (name: string, value: any) => T;
1236
1216
  }
1237
- const visit: <T>(value: TranslationIsoFormats, visitor: Visitor<T>) => T;
1238
1217
  }
1239
1218
  export interface TranslatePinDataInput {
1240
1219
  IncomingKeyIdentifier: string | undefined;
@@ -1357,7 +1336,6 @@ export declare namespace SessionKeyDerivation {
1357
1336
  Visa: (value: SessionKeyVisa) => T;
1358
1337
  _: (name: string, value: any) => T;
1359
1338
  }
1360
- const visit: <T>(value: SessionKeyDerivation, visitor: Visitor<T>) => T;
1361
1339
  }
1362
1340
  export interface VerifyAuthRequestCryptogramInput {
1363
1341
  KeyIdentifier: string | undefined;
@@ -1422,7 +1400,6 @@ export declare namespace PinVerificationAttributes {
1422
1400
  Ibm3624Pin: (value: Ibm3624PinVerification) => T;
1423
1401
  _: (name: string, value: any) => T;
1424
1402
  }
1425
- const visit: <T>(value: PinVerificationAttributes, visitor: Visitor<T>) => T;
1426
1403
  }
1427
1404
  export interface VerifyPinDataInput {
1428
1405
  VerificationKeyIdentifier: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-payment-cryptography-data",
3
3
  "description": "AWS SDK for JavaScript Payment Cryptography Data Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.930.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-payment-cryptography-data",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },