cybersource-rest-client 0.0.38 → 0.0.39
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/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/misc.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +47 -4
- package/cybersource-rest-client-0.0.38.tgz +0 -0
- package/docs/PtsV2PaymentsPost201Response.md +1 -0
- package/docs/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md +1 -1
- package/docs/PtsV2PaymentsPost201ResponseIssuerInformation.md +1 -0
- package/docs/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.md +8 -0
- package/docs/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.md +9 -0
- package/docs/Ptsv2paymentsConsumerAuthenticationInformation.md +2 -2
- package/docs/Ptsv2paymentsPaymentInformationCard.md +1 -0
- package/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md +3 -2
- package/docs/Ptsv2paymentsPointOfSaleInformationEmv.md +1 -1
- package/docs/Ptsv2paymentsProcessingInformation.md +1 -0
- package/docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.md +1 -1
- package/docs/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.md +1 -1
- package/docs/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.md +1 -0
- package/docs/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.md +3 -0
- package/docs/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.md +4 -1
- package/docs/Riskv1authenticationresultsConsumerAuthenticationInformation.md +4 -2
- package/docs/{TssV2TransactionsPost201ResponseEmbeddedDeviceInformation.md → Riskv1authenticationresultsDeviceInformation.md} +1 -1
- package/docs/Riskv1authenticationresultsPaymentInformationTokenizedCard.md +1 -1
- package/docs/Riskv1authenticationsPaymentInformationTokenizedCard.md +3 -1
- package/docs/Riskv1authenticationsetupsPaymentInformationTokenizedCard.md +1 -1
- package/docs/Riskv1decisionsConsumerAuthenticationInformation.md +3 -2
- package/docs/Riskv1decisionsPaymentInformationTokenizedCard.md +1 -1
- package/docs/SecureFileShareApi.md +2 -2
- package/docs/TssV2TransactionsGet200Response.md +1 -0
- package/docs/TssV2TransactionsGet200ResponsePaymentInformationCustomer.md +1 -1
- package/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.md +1 -1
- package/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.md +11 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.md +2 -1
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.md +8 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.md +9 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer.md +8 -0
- package/docs/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.md +1 -1
- package/docs/ValidateRequest.md +1 -0
- package/package.json +1 -1
- package/src/api/SecureFileShareApi.js +2 -2
- package/src/index.js +38 -8
- package/src/model/PtsV2PaymentsPost201Response.js +12 -4
- package/src/model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.js +1 -1
- package/src/model/PtsV2PaymentsPost201ResponseIssuerInformation.js +9 -0
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInsightsInformation.js +81 -0
- package/src/model/PtsV2PaymentsPost201ResponsePaymentInsightsInformationResponseInsights.js +91 -0
- package/src/model/Ptsv2paymentsConsumerAuthenticationInformation.js +2 -2
- package/src/model/Ptsv2paymentsPaymentInformationCard.js +9 -0
- package/src/model/Ptsv2paymentsPaymentInformationTokenizedCard.js +11 -2
- package/src/model/Ptsv2paymentsPointOfSaleInformationEmv.js +3 -3
- package/src/model/Ptsv2paymentsProcessingInformation.js +9 -0
- package/src/model/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.js +3 -3
- package/src/model/Ptsv2paymentsidProcessingInformationAuthorizationOptionsInitiator.js +3 -3
- package/src/model/ReportingV3ChargebackDetailsGet200ResponseChargebackDetails.js +9 -0
- package/src/model/RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation.js +27 -0
- package/src/model/RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.js +28 -1
- package/src/model/Riskv1authenticationresultsConsumerAuthenticationInformation.js +20 -2
- package/src/model/{TssV2TransactionsPost201ResponseEmbeddedDeviceInformation.js → Riskv1authenticationresultsDeviceInformation.js} +8 -8
- package/src/model/Riskv1authenticationresultsPaymentInformationTokenizedCard.js +1 -1
- package/src/model/Riskv1authenticationsPaymentInformationTokenizedCard.js +24 -3
- package/src/model/Riskv1authenticationsetupsPaymentInformationTokenizedCard.js +2 -2
- package/src/model/Riskv1decisionsConsumerAuthenticationInformation.js +11 -2
- package/src/model/Riskv1decisionsPaymentInformationTokenizedCard.js +1 -1
- package/src/model/TssV2TransactionsGet200Response.js +12 -4
- package/src/model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.js +1 -1
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptions.js +6 -6
- package/src/model/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.js +108 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation.js +14 -6
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.js +81 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.js +91 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer.js +82 -0
- package/src/model/TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.js +6 -6
- package/src/model/ValidateRequest.js +12 -4
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.3.0
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount model module.
|
|
38
|
+
* @module model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount</code>.
|
|
44
|
+
* @alias module:model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
+
* @param {module:model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount} The populated <code>TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
exports.constructFromObject = function(data, obj) {
|
|
62
|
+
if (data) {
|
|
63
|
+
obj = obj || new exports();
|
|
64
|
+
|
|
65
|
+
if (data.hasOwnProperty('suffix')) {
|
|
66
|
+
obj['suffix'] = ApiClient.convertToType(data['suffix'], 'String');
|
|
67
|
+
}
|
|
68
|
+
if (data.hasOwnProperty('prefix')) {
|
|
69
|
+
obj['prefix'] = ApiClient.convertToType(data['prefix'], 'String');
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return obj;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Last four digits of the customer’s payment account number.
|
|
77
|
+
* @member {String} suffix
|
|
78
|
+
*/
|
|
79
|
+
exports.prototype['suffix'] = undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Bank Identification Number (BIN). This is the initial four to six numbers on a credit card account number.
|
|
82
|
+
* @member {String} prefix
|
|
83
|
+
*/
|
|
84
|
+
exports.prototype['prefix'] = undefined;
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
return exports;
|
|
89
|
+
}));
|
|
90
|
+
|
|
91
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CyberSource Merged Spec
|
|
3
|
+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
*
|
|
10
|
+
* Swagger Codegen version: 2.3.0
|
|
11
|
+
*
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD. Register as an anonymous module.
|
|
19
|
+
define(['ApiClient'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
module.exports = factory(require('../ApiClient'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
if (!root.CyberSource) {
|
|
26
|
+
root.CyberSource = {};
|
|
27
|
+
}
|
|
28
|
+
root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer = factory(root.CyberSource.ApiClient);
|
|
29
|
+
}
|
|
30
|
+
}(this, function(ApiClient) {
|
|
31
|
+
'use strict';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer model module.
|
|
38
|
+
* @module model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer
|
|
39
|
+
* @version 0.0.1
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new <code>TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer</code>.
|
|
44
|
+
* @alias module:model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer
|
|
45
|
+
* @class
|
|
46
|
+
*/
|
|
47
|
+
var exports = function() {
|
|
48
|
+
var _this = this;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Constructs a <code>TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer</code> from a plain JavaScript object, optionally creating a new instance.
|
|
55
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
56
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
57
|
+
* @param {module:model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer} obj Optional instance to populate.
|
|
58
|
+
* @return {module:model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer} The populated <code>TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer</code> instance.
|
|
59
|
+
*/
|
|
60
|
+
exports.constructFromObject = function(data, obj) {
|
|
61
|
+
if (data) {
|
|
62
|
+
obj = obj || new exports();
|
|
63
|
+
|
|
64
|
+
if (data.hasOwnProperty('customerId')) {
|
|
65
|
+
obj['customerId'] = ApiClient.convertToType(data['customerId'], 'String');
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return obj;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Unique identifier for the customer's card and billing information. When you use Payment Tokenization or Recurring Billing and you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. **NOTE** When you use Payment Tokenization or Recurring Billing, the value for the Customer ID is actually the Cybersource payment token for a customer. This token stores information such as the consumer’s card number so it can be applied towards bill payments, recurring payments, or one-time payments. By using this token in a payment API request, the merchant doesn't need to pass in data such as the card number or expiration date in the request itself. For details, see the `subscription_id` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
|
73
|
+
* @member {String} customerId
|
|
74
|
+
*/
|
|
75
|
+
exports.prototype['customerId'] = undefined;
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
return exports;
|
|
80
|
+
}));
|
|
81
|
+
|
|
82
|
+
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
(function(root, factory) {
|
|
17
17
|
if (typeof define === 'function' && define.amd) {
|
|
18
18
|
// AMD. Register as an anonymous module.
|
|
19
|
-
define(['ApiClient', 'model/Ptsv2paymentsMerchantDefinedInformation', 'model/
|
|
19
|
+
define(['ApiClient', 'model/Ptsv2paymentsMerchantDefinedInformation', 'model/Riskv1authenticationresultsDeviceInformation', 'model/TssV2TransactionsGet200ResponseFraudMarkingInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedApplicationInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedBuyerInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedLinks', 'model/TssV2TransactionsPost201ResponseEmbeddedMerchantInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedOrderInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedPaymentInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedProcessingInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedProcessorInformation', 'model/TssV2TransactionsPost201ResponseEmbeddedRiskInformation'], factory);
|
|
20
20
|
} else if (typeof module === 'object' && module.exports) {
|
|
21
21
|
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
-
module.exports = factory(require('../ApiClient'), require('./Ptsv2paymentsMerchantDefinedInformation'), require('./
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('./Ptsv2paymentsMerchantDefinedInformation'), require('./Riskv1authenticationresultsDeviceInformation'), require('./TssV2TransactionsGet200ResponseFraudMarkingInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedApplicationInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedBuyerInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedLinks'), require('./TssV2TransactionsPost201ResponseEmbeddedMerchantInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedOrderInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedPaymentInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedProcessingInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedProcessorInformation'), require('./TssV2TransactionsPost201ResponseEmbeddedRiskInformation'));
|
|
23
23
|
} else {
|
|
24
24
|
// Browser globals (root is window)
|
|
25
25
|
if (!root.CyberSource) {
|
|
26
26
|
root.CyberSource = {};
|
|
27
27
|
}
|
|
28
|
-
root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries = factory(root.CyberSource.ApiClient, root.CyberSource.Ptsv2paymentsMerchantDefinedInformation, root.CyberSource.
|
|
28
|
+
root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries = factory(root.CyberSource.ApiClient, root.CyberSource.Ptsv2paymentsMerchantDefinedInformation, root.CyberSource.Riskv1authenticationresultsDeviceInformation, root.CyberSource.TssV2TransactionsGet200ResponseFraudMarkingInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedApplicationInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedBuyerInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedLinks, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedMerchantInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedOrderInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedPaymentInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedProcessingInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedProcessorInformation, root.CyberSource.TssV2TransactionsPost201ResponseEmbeddedRiskInformation);
|
|
29
29
|
}
|
|
30
|
-
}(this, function(ApiClient, Ptsv2paymentsMerchantDefinedInformation, TssV2TransactionsGet200ResponseFraudMarkingInformation, TssV2TransactionsPost201ResponseEmbeddedApplicationInformation, TssV2TransactionsPost201ResponseEmbeddedBuyerInformation, TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation, TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation,
|
|
30
|
+
}(this, function(ApiClient, Ptsv2paymentsMerchantDefinedInformation, Riskv1authenticationresultsDeviceInformation, TssV2TransactionsGet200ResponseFraudMarkingInformation, TssV2TransactionsPost201ResponseEmbeddedApplicationInformation, TssV2TransactionsPost201ResponseEmbeddedBuyerInformation, TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation, TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation, TssV2TransactionsPost201ResponseEmbeddedLinks, TssV2TransactionsPost201ResponseEmbeddedMerchantInformation, TssV2TransactionsPost201ResponseEmbeddedOrderInformation, TssV2TransactionsPost201ResponseEmbeddedPaymentInformation, TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation, TssV2TransactionsPost201ResponseEmbeddedProcessingInformation, TssV2TransactionsPost201ResponseEmbeddedProcessorInformation, TssV2TransactionsPost201ResponseEmbeddedRiskInformation) {
|
|
31
31
|
'use strict';
|
|
32
32
|
|
|
33
33
|
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
obj['consumerAuthenticationInformation'] = TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation.constructFromObject(data['consumerAuthenticationInformation']);
|
|
101
101
|
}
|
|
102
102
|
if (data.hasOwnProperty('deviceInformation')) {
|
|
103
|
-
obj['deviceInformation'] =
|
|
103
|
+
obj['deviceInformation'] = Riskv1authenticationresultsDeviceInformation.constructFromObject(data['deviceInformation']);
|
|
104
104
|
}
|
|
105
105
|
if (data.hasOwnProperty('fraudMarkingInformation')) {
|
|
106
106
|
obj['fraudMarkingInformation'] = TssV2TransactionsGet200ResponseFraudMarkingInformation.constructFromObject(data['fraudMarkingInformation']);
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
*/
|
|
169
169
|
exports.prototype['consumerAuthenticationInformation'] = undefined;
|
|
170
170
|
/**
|
|
171
|
-
* @member {module:model/
|
|
171
|
+
* @member {module:model/Riskv1authenticationresultsDeviceInformation} deviceInformation
|
|
172
172
|
*/
|
|
173
173
|
exports.prototype['deviceInformation'] = undefined;
|
|
174
174
|
/**
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
(function(root, factory) {
|
|
17
17
|
if (typeof define === 'function' && define.amd) {
|
|
18
18
|
// AMD. Register as an anonymous module.
|
|
19
|
-
define(['ApiClient', 'model/Riskv1authenticationresultsConsumerAuthenticationInformation', 'model/Riskv1authenticationresultsOrderInformation', 'model/Riskv1authenticationresultsPaymentInformation', 'model/Riskv1authenticationsetupsProcessingInformation', 'model/Riskv1decisionsClientReferenceInformation'], factory);
|
|
19
|
+
define(['ApiClient', 'model/Riskv1authenticationresultsConsumerAuthenticationInformation', 'model/Riskv1authenticationresultsDeviceInformation', 'model/Riskv1authenticationresultsOrderInformation', 'model/Riskv1authenticationresultsPaymentInformation', 'model/Riskv1authenticationsetupsProcessingInformation', 'model/Riskv1decisionsClientReferenceInformation'], factory);
|
|
20
20
|
} else if (typeof module === 'object' && module.exports) {
|
|
21
21
|
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
-
module.exports = factory(require('../ApiClient'), require('./Riskv1authenticationresultsConsumerAuthenticationInformation'), require('./Riskv1authenticationresultsOrderInformation'), require('./Riskv1authenticationresultsPaymentInformation'), require('./Riskv1authenticationsetupsProcessingInformation'), require('./Riskv1decisionsClientReferenceInformation'));
|
|
22
|
+
module.exports = factory(require('../ApiClient'), require('./Riskv1authenticationresultsConsumerAuthenticationInformation'), require('./Riskv1authenticationresultsDeviceInformation'), require('./Riskv1authenticationresultsOrderInformation'), require('./Riskv1authenticationresultsPaymentInformation'), require('./Riskv1authenticationsetupsProcessingInformation'), require('./Riskv1decisionsClientReferenceInformation'));
|
|
23
23
|
} else {
|
|
24
24
|
// Browser globals (root is window)
|
|
25
25
|
if (!root.CyberSource) {
|
|
26
26
|
root.CyberSource = {};
|
|
27
27
|
}
|
|
28
|
-
root.CyberSource.ValidateRequest = factory(root.CyberSource.ApiClient, root.CyberSource.Riskv1authenticationresultsConsumerAuthenticationInformation, root.CyberSource.Riskv1authenticationresultsOrderInformation, root.CyberSource.Riskv1authenticationresultsPaymentInformation, root.CyberSource.Riskv1authenticationsetupsProcessingInformation, root.CyberSource.Riskv1decisionsClientReferenceInformation);
|
|
28
|
+
root.CyberSource.ValidateRequest = factory(root.CyberSource.ApiClient, root.CyberSource.Riskv1authenticationresultsConsumerAuthenticationInformation, root.CyberSource.Riskv1authenticationresultsDeviceInformation, root.CyberSource.Riskv1authenticationresultsOrderInformation, root.CyberSource.Riskv1authenticationresultsPaymentInformation, root.CyberSource.Riskv1authenticationsetupsProcessingInformation, root.CyberSource.Riskv1decisionsClientReferenceInformation);
|
|
29
29
|
}
|
|
30
|
-
}(this, function(ApiClient, Riskv1authenticationresultsConsumerAuthenticationInformation, Riskv1authenticationresultsOrderInformation, Riskv1authenticationresultsPaymentInformation, Riskv1authenticationsetupsProcessingInformation, Riskv1decisionsClientReferenceInformation) {
|
|
30
|
+
}(this, function(ApiClient, Riskv1authenticationresultsConsumerAuthenticationInformation, Riskv1authenticationresultsDeviceInformation, Riskv1authenticationresultsOrderInformation, Riskv1authenticationresultsPaymentInformation, Riskv1authenticationsetupsProcessingInformation, Riskv1decisionsClientReferenceInformation) {
|
|
31
31
|
'use strict';
|
|
32
32
|
|
|
33
33
|
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
|
|
55
56
|
};
|
|
56
57
|
|
|
57
58
|
/**
|
|
@@ -80,6 +81,9 @@
|
|
|
80
81
|
if (data.hasOwnProperty('consumerAuthenticationInformation')) {
|
|
81
82
|
obj['consumerAuthenticationInformation'] = Riskv1authenticationresultsConsumerAuthenticationInformation.constructFromObject(data['consumerAuthenticationInformation']);
|
|
82
83
|
}
|
|
84
|
+
if (data.hasOwnProperty('deviceInformation')) {
|
|
85
|
+
obj['deviceInformation'] = Riskv1authenticationresultsDeviceInformation.constructFromObject(data['deviceInformation']);
|
|
86
|
+
}
|
|
83
87
|
}
|
|
84
88
|
return obj;
|
|
85
89
|
}
|
|
@@ -104,6 +108,10 @@
|
|
|
104
108
|
* @member {module:model/Riskv1authenticationresultsConsumerAuthenticationInformation} consumerAuthenticationInformation
|
|
105
109
|
*/
|
|
106
110
|
exports.prototype['consumerAuthenticationInformation'] = undefined;
|
|
111
|
+
/**
|
|
112
|
+
* @member {module:model/Riskv1authenticationresultsDeviceInformation} deviceInformation
|
|
113
|
+
*/
|
|
114
|
+
exports.prototype['deviceInformation'] = undefined;
|
|
107
115
|
|
|
108
116
|
|
|
109
117
|
|