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
package/docs/TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CyberSource.TssV2TransactionsGet200ResponseProcessingInformationAuthorizationOptionsInitiator
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**type** | **String** | This field indicates whether the transaction is a merchant-initiated transaction or customer-initiated transaction. Valid values: - **customer** - **merchant** | [optional]
|
|
7
|
+
**credentialStoredOnFile** | **String** | Indicates to the issuing bank two things: - The merchant has received consent from the cardholder to store their card details on file - The merchant wants the issuing bank to check out the card details before the merchant initiates their first transaction for this cardholder. The purpose of the merchant-initiated transaction is to ensure that the cardholder’s credentials are valid (that the card is not stolen or has restrictions) and that the card details are good to be stored on the merchant’s file for future transactions. Valid values: - `Y` means merchant will use this transaction to store payment credentials for follow-up merchant-initiated transactions. - `N` means merchant will not use this transaction to store payment credentials for follow-up merchant-initiated transactions. For details, see `subsequent_auth_first` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) **NOTE:** The value for this field does not correspond to any data in the TC 33 capture file5. This field is supported only for Visa transactions on CyberSource through VisaNet. | [optional]
|
|
8
|
+
**storedCredentialUsed** | **String** | Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **Y** means the merchant-initiated transaction came from a card that was already stored on file. - **N** means the merchant-initiated transaction came from a card that was not stored on file. | [optional]
|
|
9
|
+
**merchantInitiatedTransaction** | [**Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction**](Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md) | | [optional]
|
|
10
|
+
|
|
11
|
+
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**paymentType** | [**TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType**](TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType.md) | | [optional]
|
|
7
|
-
**customer** | [**
|
|
7
|
+
**customer** | [**TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer**](TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer.md) | | [optional]
|
|
8
8
|
**card** | [**TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard**](TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCard.md) | | [optional]
|
|
9
|
+
**bank** | [**TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank**](TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank.md) | | [optional]
|
|
9
10
|
|
|
10
11
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# CyberSource.TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBank
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**account** | [**TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount**](TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount.md) | | [optional]
|
|
7
|
+
|
|
8
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# CyberSource.TssV2TransactionsPost201ResponseEmbeddedPaymentInformationBankAccount
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**suffix** | **String** | Last four digits of the customer’s payment account number. | [optional]
|
|
7
|
+
**prefix** | **String** | Bank Identification Number (BIN). This is the initial four to six numbers on a credit card account number. | [optional]
|
|
8
|
+
|
|
9
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# CyberSource.TssV2TransactionsPost201ResponseEmbeddedPaymentInformationCustomer
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**customerId** | **String** | 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/) | [optional]
|
|
7
|
+
|
|
8
|
+
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**buyerInformation** | [**TssV2TransactionsPost201ResponseEmbeddedBuyerInformation**](TssV2TransactionsPost201ResponseEmbeddedBuyerInformation.md) | | [optional]
|
|
11
11
|
**clientReferenceInformation** | [**TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation**](TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.md) | | [optional]
|
|
12
12
|
**consumerAuthenticationInformation** | [**TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation**](TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation.md) | | [optional]
|
|
13
|
-
**deviceInformation** | [**
|
|
13
|
+
**deviceInformation** | [**Riskv1authenticationresultsDeviceInformation**](Riskv1authenticationresultsDeviceInformation.md) | | [optional]
|
|
14
14
|
**fraudMarkingInformation** | [**TssV2TransactionsGet200ResponseFraudMarkingInformation**](TssV2TransactionsGet200ResponseFraudMarkingInformation.md) | | [optional]
|
|
15
15
|
**merchantDefinedInformation** | [**[Ptsv2paymentsMerchantDefinedInformation]**](Ptsv2paymentsMerchantDefinedInformation.md) | The object containing the custom data that the merchant defines. | [optional]
|
|
16
16
|
**merchantInformation** | [**TssV2TransactionsPost201ResponseEmbeddedMerchantInformation**](TssV2TransactionsPost201ResponseEmbeddedMerchantInformation.md) | | [optional]
|
package/docs/ValidateRequest.md
CHANGED
|
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**orderInformation** | [**Riskv1authenticationresultsOrderInformation**](Riskv1authenticationresultsOrderInformation.md) | | [optional]
|
|
9
9
|
**paymentInformation** | [**Riskv1authenticationresultsPaymentInformation**](Riskv1authenticationresultsPaymentInformation.md) | | [optional]
|
|
10
10
|
**consumerAuthenticationInformation** | [**Riskv1authenticationresultsConsumerAuthenticationInformation**](Riskv1authenticationresultsConsumerAuthenticationInformation.md) | | [optional]
|
|
11
|
+
**deviceInformation** | [**Riskv1authenticationresultsDeviceInformation**](Riskv1authenticationresultsDeviceInformation.md) | | [optional]
|
|
11
12
|
|
|
12
13
|
|
package/package.json
CHANGED
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
var authNames = [];
|
|
93
|
-
var contentTypes = ['
|
|
93
|
+
var contentTypes = ['*/*;charset=utf-8'];
|
|
94
94
|
var accepts = ['application/xml', 'text/csv', 'application/pdf'];
|
|
95
95
|
var returnType = null;
|
|
96
96
|
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
var authNames = [];
|
|
155
|
-
var contentTypes = ['
|
|
155
|
+
var contentTypes = ['*/*;charset=utf-8'];
|
|
156
156
|
var accepts = ['application/hal+json'];
|
|
157
157
|
var returnType = V1FileDetailsGet200Response;
|
|
158
158
|
|