cybersource-rest-client 0.0.78 → 0.0.80
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/docs/AccountUpdaterConfigurations.md +12 -0
- package/docs/{CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.md → AccountUpdaterConfigurationsAmex.md} +1 -1
- package/docs/{CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.md → AccountUpdaterConfigurationsMasterCard.md} +1 -1
- package/docs/{CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.md → AccountUpdaterConfigurationsVisa.md} +1 -1
- package/docs/AftFundingOptions.md +8 -0
- package/docs/{Ptsv1pullfundstransferProcessingInformationFundingOptionsInitiator.md → AftFundingOptionsInitiator.md} +2 -2
- package/docs/{Ptsv1pullfundstransferProcessingInformationFundingOptionsInitiatorOriginatorInitiatedTransaction.md → AftFundingOptionsInitiatorOriginatorInitiatedTransaction.md} +1 -1
- package/docs/{InstructionsApi.md → AgentCapabilitiesApi.md} +58 -11
- package/docs/AgenticCancelPurchaseIntentRequest.md +3 -3
- package/docs/AgenticCardEnrollmentRequest.md +8 -8
- package/docs/AgenticConfirmTransactionEventsRequest.md +2 -2
- package/docs/AgenticCreatePurchaseIntentRequest.md +5 -5
- package/docs/AgenticRetrievePaymentCredentialsRequest.md +2 -2
- package/docs/AgenticRetrievePaymentCredentialsResponse200.md +1 -1
- package/docs/AgenticUpdatePurchaseIntentRequest.md +5 -5
- package/docs/{PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsProcessors.md → AlternativePaymentsProcessorConfiguration.md} +1 -1
- package/docs/BillingAgreementsApi.md +6 -6
- package/docs/BinLookup403Response.md +11 -0
- package/docs/BinLookupv400Response.md +12 -0
- package/docs/{CardProcessingConfigCommonAcquirerAgreementAcquirerCode.md → BoardingAcquirerDetails.md} +2 -2
- package/docs/{CardProcessingConfigCommonAcquirerAgreementAcquirerCodePaymentOptions.md → BoardingAcquirerDetailsPaymentOptions.md} +1 -1
- package/docs/{Boardingv1registrationsOrganizationInformationBusinessInformation.md → BoardingBusinessInformation.md} +6 -6
- package/docs/{Boardingv1registrationsOrganizationInformationBusinessInformationAddress.md → BoardingBusinessInformationAddress.md} +1 -1
- package/docs/{Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.md → BoardingBusinessInformationBusinessContact.md} +1 -1
- package/docs/{Boardingv1registrationsOrganizationInformationBusinessInformationLocalizedNames.md → BoardingBusinessInformationLocalizedNames.md} +1 -1
- package/docs/BoardingPayoutsConfigurations.md +9 -0
- package/docs/{PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon.md → BoardingPayoutsConfigurationsCommon.md} +2 -2
- package/docs/{PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.md → BoardingPayoutsConfigurationsCommonAggregator.md} +1 -1
- package/docs/Boardingv1registrationsOrganizationInformation.md +1 -1
- package/docs/Boardingv1registrationsOrganizationInformationOwners.md +1 -1
- package/docs/CaptureApi.md +2 -2
- package/docs/CardProcessingConfigCommonAcquirerAgreement.md +1 -1
- package/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.md +1 -1
- package/docs/CreateSubscriptionResponse.md +1 -1
- package/docs/CredentialsApi.md +1 -1
- package/docs/CreditApi.md +2 -2
- package/docs/DefaultPaymentInstrument.md +22 -0
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md → DefaultPaymentInstrumentBankAccount.md} +1 -1
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md → DefaultPaymentInstrumentBillTo.md} +1 -1
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md → DefaultPaymentInstrumentBuyerInformation.md} +2 -2
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md → DefaultPaymentInstrumentBuyerInformationIssuedBy.md} +1 -1
- package/docs/DefaultPaymentInstrumentBuyerInformationPersonalIdentification.md +10 -0
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md → DefaultPaymentInstrumentCard.md} +2 -2
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md → DefaultPaymentInstrumentCardTokenizedInformation.md} +1 -1
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md → DefaultPaymentInstrumentEmbedded.md} +1 -1
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md → DefaultPaymentInstrumentInstrumentIdentifier.md} +1 -1
- package/docs/DefaultPaymentInstrumentLinks.md +9 -0
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md → DefaultPaymentInstrumentLinksSelf.md} +1 -1
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md → DefaultPaymentInstrumentMetadata.md} +1 -1
- package/docs/DefaultShippingAddress.md +12 -0
- package/docs/DefaultShippingAddressLinks.md +9 -0
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md → DefaultShippingAddressLinksCustomer.md} +1 -1
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md → DefaultShippingAddressLinksSelf.md} +1 -1
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md → DefaultShippingAddressMetadata.md} +1 -1
- package/docs/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md → DefaultShippingAddressShipTo.md} +1 -1
- package/docs/ExportComplianceWatchList.md +8 -0
- package/docs/{PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.md → ExportComplianceWatchListMatches.md} +1 -1
- package/docs/{GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md → FollowOnTransactionBuyerInformation.md} +2 -2
- package/docs/GenerateUnifiedCheckoutV1CaptureContextRequest.md +2 -2
- package/docs/GetSubscriptionResponse1PaymentInstrument.md +2 -2
- package/docs/GetSubscriptionResponse1ShippingAddress.md +1 -1
- package/docs/{Acpv1instructionsinstructionIdcredentialsOrderInformationAmountDetail.md → IccAmountDetail.md} +1 -1
- package/docs/IccLineItem.md +16 -0
- package/docs/{Acpv1instructionsinstructionIdcredentialsOrderInformationItemsAdditionalInfo.md → IccLineItemAdditionalInfo.md} +1 -1
- package/docs/{Acpv1instructionsinstructionIdcredentialsOrderInformationItemsPolicies.md → IccLineItemPolicies.md} +1 -1
- package/docs/{Acpv1instructionsinstructionIdcredentialsMerchantInformationMerchantDescriptor.md → IccMerchantDescriptor.md} +1 -1
- package/docs/IccPaymentInstrument.md +8 -0
- package/docs/{Acpv1instructionsinstructionIdconfirmationsProcessorInformationPaymentInstrumentVerificationResults.md → IccPaymentInstrumentVerificationResults.md} +1 -1
- package/docs/{Acpv1instructionsinstructionIdconfirmationsOrderInformationShippingDetails.md → IccShippingDetails.md} +1 -1
- package/docs/{AgenticRetrievePaymentCredentialsResponse200TransactionResponseWithPendingEvents.md → IccTransactionResponsePendingEvents.md} +1 -1
- package/docs/{Acpv1instructionsDeclineThreshold.md → Iccv1instructionsDeclineThreshold.md} +1 -1
- package/docs/{Acpv1instructionsMandates.md → Iccv1instructionsMandates.md} +3 -3
- package/docs/{Acpv1instructionsRecurringPaymentInformation.md → Iccv1instructionsRecurringPaymentInformation.md} +1 -1
- package/docs/Iccv1instructionsinstructionIdconfirmationsConfirmationData.md +11 -0
- package/docs/{Acpv1instructionsinstructionIdconfirmationsMerchantInformation.md → Iccv1instructionsinstructionIdconfirmationsMerchantInformation.md} +1 -1
- package/docs/Iccv1instructionsinstructionIdconfirmationsOrderInformation.md +17 -0
- package/docs/{Acpv1instructionsinstructionIdconfirmationsProcessorInformation.md → Iccv1instructionsinstructionIdconfirmationsProcessorInformation.md} +3 -3
- package/docs/{Acpv1instructionsinstructionIdcredentialsAttachments.md → Iccv1instructionsinstructionIdcredentialsAttachments.md} +1 -1
- package/docs/{Acpv1instructionsinstructionIdcredentialsClientReferenceInformation.md → Iccv1instructionsinstructionIdcredentialsClientReferenceInformation.md} +1 -1
- package/docs/{Acpv1instructionsinstructionIdcredentialsMandateReferenceData.md → Iccv1instructionsinstructionIdcredentialsMandateReferenceData.md} +1 -1
- package/docs/{Acpv1instructionsinstructionIdcredentialsMerchantInformation.md → Iccv1instructionsinstructionIdcredentialsMerchantInformation.md} +2 -2
- package/docs/Iccv1instructionsinstructionIdcredentialsOrderInformation.md +11 -0
- package/docs/Iccv1instructionsinstructionIdcredentialsOrderInformationLineItems.md +8 -0
- package/docs/{Acpv1instructionsinstructionIdcredentialsOrderInformationShipTo.md → Iccv1instructionsinstructionIdcredentialsOrderInformationShipTo.md} +1 -1
- package/docs/{Acpv1instructionsinstructionIdcredentialsPaymentOptions.md → Iccv1instructionsinstructionIdcredentialsPaymentOptions.md} +1 -1
- package/docs/{Acpv1instructionsinstructionIdcredentialsTransactionData.md → Iccv1instructionsinstructionIdcredentialsTransactionData.md} +7 -7
- package/docs/{Acpv1mppcredentialsChallenge.md → Iccv1mppcredentialsChallenge.md} +2 -2
- package/docs/{Acpv1mppcredentialsChallengeEncryptionJwk.md → Iccv1mppcredentialsChallengeEncryptionJwk.md} +1 -1
- package/docs/{Acpv1tokensAssuranceData.md → Iccv1tokensAssuranceData.md} +3 -3
- package/docs/{Acpv1tokensAuthenticatedIdentities.md → Iccv1tokensAuthenticatedIdentities.md} +1 -1
- package/docs/{Acpv1tokensAuthenticationContext.md → Iccv1tokensAuthenticationContext.md} +1 -1
- package/docs/{Acpv1tokensBillTo.md → Iccv1tokensBillTo.md} +1 -1
- package/docs/{Acpv1tokensBuyerInformation.md → Iccv1tokensBuyerInformation.md} +2 -2
- package/docs/Iccv1tokensBuyerInformationPersonalIdentification.md +10 -0
- package/docs/{Acpv1tokensConsentData.md → Iccv1tokensConsentData.md} +1 -1
- package/docs/{Acpv1tokensConsumerIdentity.md → Iccv1tokensConsumerIdentity.md} +1 -1
- package/docs/{Acpv1tokensDeviceInformation.md → Iccv1tokensDeviceInformation.md} +2 -2
- package/docs/{Acpv1tokensDeviceInformationDeviceData.md → Iccv1tokensDeviceInformationDeviceData.md} +1 -1
- package/docs/{Acpv1tokensEnrollmentReferenceData.md → Iccv1tokensEnrollmentReferenceData.md} +1 -1
- package/docs/Iccv1tokensPaymentInformation.md +10 -0
- package/docs/{Acpv1tokensPaymentInformationCustomer.md → Iccv1tokensPaymentInformationCustomer.md} +1 -1
- package/docs/{Acpv1tokensPaymentInformationInstrumentIdentifier.md → Iccv1tokensPaymentInformationInstrumentIdentifier.md} +1 -1
- package/docs/{Acpv1tokensPaymentInformationPaymentInstrument.md → Iccv1tokensPaymentInformationPaymentInstrument.md} +1 -1
- package/docs/InlineResponse2014Setups.md +1 -1
- package/docs/InlineResponse2014SetupsCommerceSolutions.md +4 -4
- package/docs/InlineResponse2014SetupsRisk.md +3 -3
- package/docs/InlineResponse2014SetupsValueAddedServices.md +5 -5
- package/docs/InlineResponse40011.md +5 -5
- package/docs/InlineResponse40012.md +5 -6
- package/docs/{InlineResponse40011Details.md → InlineResponse40012Details.md} +1 -1
- package/docs/InlineResponse40013.md +13 -0
- package/docs/InlineResponse502.md +1 -5
- package/docs/InlineResponse5021.md +5 -4
- package/docs/InlineResponse5022.md +4 -5
- package/docs/InlineResponse5023.md +12 -0
- package/docs/MicroformConfigFeatures.md +8 -0
- package/docs/{PaymentsProductsMicroformConfigurationInformationConfigurationsFeaturesGatewayAgnostic.md → MicroformConfigFeaturesGatewayAgnostic.md} +1 -1
- package/docs/MppCredentialsRequest.md +1 -1
- package/docs/OrdersApi.md +4 -4
- package/docs/PatchCustomerPaymentInstrumentRequest.md +7 -7
- package/docs/PatchCustomerShippingAddressRequest.md +3 -3
- package/docs/PatchInstrumentIdentifierRequest.md +1 -1
- package/docs/PatchPaymentInstrumentRequest.md +7 -7
- package/docs/PaymentInstrument.md +22 -0
- package/docs/PaymentInstrumentListEmbedded.md +1 -1
- package/docs/PaymentTokensApi.md +2 -2
- package/docs/PaymentsApi.md +17 -17
- package/docs/PaymentsConfigurationSetup.md +29 -0
- package/docs/PaymentsConfigurationSetupAlternativePaymentMethods.md +11 -0
- package/docs/{InlineResponse2014SetupsPaymentsAlternativePaymentMethodsConfigurationStatus.md → PaymentsConfigurationSetupAlternativePaymentMethodsConfigurationStatus.md} +1 -1
- package/docs/PaymentsConfigurationSetupCardProcessing.md +9 -0
- package/docs/{InlineResponse2014SetupsPaymentsCardProcessingConfigurationStatus.md → PaymentsConfigurationSetupCardProcessingConfigurationStatus.md} +1 -1
- package/docs/{InlineResponse2014SetupsPaymentsCardProcessingSubscriptionStatus.md → PaymentsConfigurationSetupCardProcessingSubscriptionStatus.md} +1 -1
- package/docs/PaymentsConfigurationSetupDigitalPayments.md +8 -0
- package/docs/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurations.md +1 -1
- package/docs/PaymentsProductsMicroformConfigurationInformationConfigurations.md +1 -1
- package/docs/PaymentsProductsPayoutsConfigurationInformation.md +1 -1
- package/docs/PaymentsProductsUnifiedCheckoutConfigurationInformation.md +1 -1
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformation.md +1 -1
- package/docs/PostCustomerPaymentInstrumentRequest.md +7 -7
- package/docs/PostCustomerShippingAddressRequest.md +3 -3
- package/docs/PostInstrumentIdentifierEnrollmentRequest.md +1 -1
- package/docs/PostInstrumentIdentifierRequest.md +1 -1
- package/docs/PostIssuerLifeCycleSimulationRequest.md +1 -1
- package/docs/PostPaymentCredentialsRequest.md +1 -1
- package/docs/PostPaymentCredentialsRequest1.md +1 -1
- package/docs/PostPaymentInstrumentRequest.md +7 -7
- package/docs/{Ptsv2paymentsProcessingInformationAuthorizationOptions.md → ProcessingInfoAuthorizationOptions.md} +2 -2
- package/docs/{Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.md → ProcessingInfoAuthorizationOptionsInitiator.md} +2 -2
- package/docs/ProcessingInfoAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md +11 -0
- package/docs/{PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection.md → ProcessorInformationSellerProtection.md} +1 -1
- package/docs/PtsV2CreditsPost201Response.md +1 -1
- package/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md +1 -1
- package/docs/PtsV2PaymentsPost201Response1ProcessorInformation.md +1 -1
- package/docs/PtsV2PaymentsPost201ResponseProcessorInformation.md +1 -1
- package/docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md +1 -1
- package/docs/PtsV2PayoutsPost201ResponseIssuerInformation.md +15 -0
- package/docs/Ptsv1pullfundstransferProcessingInformation.md +1 -1
- package/docs/Ptsv1pushfundstransferRecipientInformation.md +1 -1
- package/docs/Ptsv2creditsProcessingInformation.md +1 -1
- package/docs/Ptsv2creditsProcessingInformationRefundOptions.md +1 -0
- package/docs/Ptsv2paymentsProcessingInformation.md +2 -2
- package/docs/Ptsv2paymentsProcessorInformation.md +1 -0
- package/docs/Ptsv2paymentsidcapturesProcessingInformation.md +1 -1
- package/docs/Ptsv2paymentsidrefundsProcessingInformation.md +1 -1
- package/docs/Ptsv2paymentsidrefundsProcessingInformationRefundOptions.md +1 -0
- package/docs/Ptsv2paymentsidreversalsProcessingInformation.md +1 -1
- package/docs/PushFunds201Response.md +1 -0
- package/docs/PushFunds201ResponseIssuerInformation.md +22 -0
- package/docs/PushFundsTransferPaymentInformation.md +8 -0
- package/docs/{Ptsv1pushfundstransferRecipientInformationPaymentInformationCard.md → PushFundsTransferPaymentInformationCard.md} +4 -4
- package/docs/{Ptsv1pushfundstransferRecipientInformationPaymentInformationCardCustomer.md → PushFundsTransferPaymentInformationCardCustomer.md} +1 -1
- package/docs/{Ptsv1pushfundstransferRecipientInformationPaymentInformationCardInstrumentIdentifier.md → PushFundsTransferPaymentInformationCardInstrumentIdentifier.md} +1 -1
- package/docs/{Ptsv1pushfundstransferRecipientInformationPaymentInformationCardPaymentInstrument.md → PushFundsTransferPaymentInformationCardPaymentInstrument.md} +1 -1
- package/docs/RbsAuthorizationOptions.md +8 -0
- package/docs/{Rbsv1subscriptionsProcessingInformationAuthorizationOptionsInitiator.md → RbsAuthorizationOptionsInitiator.md} +1 -1
- package/docs/Rbsv1subscriptionsProcessingInformation.md +1 -1
- package/docs/RefundApi.md +4 -4
- package/docs/{ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings.md → ReportDefinitionDefaultSettings.md} +1 -1
- package/docs/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.md +1 -1
- package/docs/ReportingV3ReportDefinitionsNameGet200Response.md +1 -1
- package/docs/ReversalApi.md +4 -4
- package/docs/{RiskV1AddressVerificationsPost201ResponseAddressVerificationInformation.md → RiskAddressVerificationInformation.md} +3 -3
- package/docs/{RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationBarCode.md → RiskAddressVerificationInformationBarCode.md} +1 -1
- package/docs/{RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddress.md → RiskAddressVerificationInformationStandardAddress.md} +2 -2
- package/docs/{RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddressAddress1.md → RiskAddressVerificationInformationStandardAddressAddress1.md} +1 -1
- package/docs/RiskV1AddressVerificationsPost201Response.md +1 -1
- package/docs/ShippingAddressListForCustomerEmbedded.md +1 -1
- package/docs/TmsEmbeddedInstrumentIdentifier.md +1 -1
- package/docs/TmsIssuerLifeCycleEventSimulationMetadata.md +8 -0
- package/docs/TmsIssuerLifeCycleEventSimulationMetadataCardArt.md +8 -0
- package/docs/{Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md → TmsIssuerLifeCycleEventSimulationMetadataCardArtCombinedAsset.md} +1 -1
- package/docs/TmsPointOfSaleInformation.md +8 -0
- package/docs/{TmsEmbeddedInstrumentIdentifierPointOfSaleInformationEmvTags.md → TmsPointOfSaleInformationEmvTags.md} +1 -1
- package/docs/Tmsv2customersEmbedded.md +1 -1
- package/docs/Tmsv2tokenizeTokenInformation.md +2 -2
- package/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md +2 -2
- package/docs/Tmsv3tokenstokenIdpaymentcredentialsAuthenticatedIdentities.md +4 -3
- package/docs/UcConfigurations.md +8 -0
- package/docs/UcConfigurationsFeatures.md +10 -0
- package/docs/UcConfigurationsFeaturesClickToPay.md +8 -0
- package/docs/UcConfigurationsFeaturesClickToPayEnrollmentData.md +11 -0
- package/docs/{PaymentsProductsUnifiedCheckoutConfigurationInformationConfigurationsFeaturesPaze.md → UcConfigurationsFeaturesPaze.md} +1 -1
- package/docs/UcConfigurationsFeaturesPortfolioAccesstoSensitiveData.md +8 -0
- package/docs/UcFeatureSubscription.md +28 -0
- package/docs/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesP24.md → UcFeatureSubscriptionAfterPay.md} +1 -1
- package/docs/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesIdeal.md → UcFeatureSubscriptionApplePay.md} +1 -1
- package/docs/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesVenmo.md → UcFeatureSubscriptionBancontact.md} +1 -1
- package/docs/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesMyBank.md → UcFeatureSubscriptionClickToPay.md} +1 -1
- package/docs/UcFeatureSubscriptionDecisionManager.md +8 -0
- package/docs/UcFeatureSubscriptionDragonPay.md +8 -0
- package/docs/UcFeatureSubscriptionECheck.md +8 -0
- package/docs/UcFeatureSubscriptionGooglePay.md +8 -0
- package/docs/UcFeatureSubscriptionIdeal.md +8 -0
- package/docs/UcFeatureSubscriptionKonbini.md +8 -0
- package/docs/UcFeatureSubscriptionMultibanco.md +8 -0
- package/docs/UcFeatureSubscriptionMyBank.md +8 -0
- package/docs/UcFeatureSubscriptionP24.md +8 -0
- package/docs/UcFeatureSubscriptionPayPal.md +8 -0
- package/docs/UcFeatureSubscriptionPayerAuthentication.md +8 -0
- package/docs/UcFeatureSubscriptionPazeForUnifiedCheckout.md +8 -0
- package/docs/UcFeatureSubscriptionPortfolioAccessofSensitiveData.md +8 -0
- package/docs/UcFeatureSubscriptionTinkPayByBank.md +8 -0
- package/docs/UcFeatureSubscriptionTokenManagement.md +8 -0
- package/docs/UcFeatureSubscriptionUnifiedClickToPaySDK.md +8 -0
- package/docs/UcFeatureSubscriptionVenmo.md +8 -0
- package/docs/Ucv1sessionsCompleteMandate.md +1 -1
- package/docs/Ucv1sessionsData.md +1 -1
- package/docs/Ucv1sessionsDataClientReferenceInformation.md +11 -0
- package/docs/Ucv1sessionsDataOrderInformation.md +1 -1
- package/docs/Ucv1sessionsDataOrderInformationLineItems.md +2 -2
- package/docs/Ucv1sessionsDataOrderInformationShipTo.md +20 -0
- package/docs/Ucv1sessionsDataProcessingInformationAuthorizationOptionsInitiator.md +1 -1
- package/docs/Ucv1sessionsPaymentConfigurations.md +1 -0
- package/docs/Ucv1sessionsPaymentConfigurationsGOOGLEPAY.md +1 -1
- package/docs/Ucv1sessionsPaymentConfigurationsPAYPAL.md +10 -0
- package/docs/Ucv1sessionsPaymentConfigurationsPAYPALTokenizedPaymentMethod.md +10 -0
- package/docs/{UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.md → UnderwritingConfigurationBusinessDetails.md} +2 -2
- package/docs/{UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.md → UnderwritingConfigurationBusinessDetailsProductServicesSubscription.md} +1 -1
- package/docs/UnderwritingConfigurationOrganizationInformationBusinessInformation.md +1 -1
- package/docs/{Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md → UnifiedCheckoutMerchantInitiatedTransaction.md} +1 -1
- package/docs/Upv1capturecontextsDataOrderInformation.md +1 -1
- package/docs/Upv1capturecontextsDataOrderInformationLineItems.md +2 -2
- package/docs/{Upv1capturecontextsDataOrderInformationLineItemsPassenger.md → Upv1capturecontextsDataOrderInformationPassenger.md} +1 -1
- package/docs/{Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md → Upv1capturecontextsDataOrderInformationTaxDetails.md} +1 -1
- package/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md +1 -1
- package/docs/VTConfigCardNotPresent.md +1 -1
- package/docs/VirtualTerminalGlobalPaymentSettings.md +10 -0
- package/docs/{VTConfigCardNotPresentGlobalPaymentInformationBasicInformation.md → VirtualTerminalGlobalPaymentSettingsBasicInformation.md} +1 -1
- package/docs/{VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields.md → VirtualTerminalGlobalPaymentSettingsMerchantDefinedDataFields.md} +1 -1
- package/docs/{VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation.md → VirtualTerminalGlobalPaymentSettingsPaymentInformation.md} +1 -1
- package/docs/VoidApi.md +10 -10
- package/package.json +2 -2
- package/src/ApiClient.js +7 -8
- package/src/api/{InstructionsApi.js → AgentCapabilitiesApi.js} +94 -28
- package/src/api/BankAccountValidationApi.js +4 -4
- package/src/api/BillingAgreementsApi.js +6 -6
- package/src/api/BinLookupApi.js +4 -4
- package/src/api/CaptureApi.js +2 -2
- package/src/api/CredentialsApi.js +2 -2
- package/src/api/CreditApi.js +2 -2
- package/src/api/DecisionManagerApi.js +4 -4
- package/src/api/InvoiceSettingsApi.js +2 -2
- package/src/api/InvoicesApi.js +6 -6
- package/src/api/MerchantBoardingApi.js +2 -2
- package/src/api/NetworkTokensApi.js +4 -4
- package/src/api/OffersApi.js +4 -4
- package/src/api/OrdersApi.js +4 -4
- package/src/api/PaymentLinksApi.js +4 -4
- package/src/api/PaymentTokensApi.js +2 -2
- package/src/api/PaymentsApi.js +21 -21
- package/src/api/RefundApi.js +4 -4
- package/src/api/ReversalApi.js +4 -4
- package/src/api/UnifiedCheckoutV1CaptureContextApi.js +4 -4
- package/src/api/VoidApi.js +10 -10
- package/src/authentication/http/HTTPSigToken.js +2 -1
- package/src/authentication/jwt/JWTSigToken.js +1 -9
- package/src/authentication/logging/LogConfiguration.js +8 -2
- package/src/authentication/logging/LoggingUtilities.js +47 -0
- package/src/authentication/logging/SensitiveDataMasker.js +33 -5
- package/src/authentication/util/Cache.js +7 -6
- package/src/authentication/util/Constants.js +1 -0
- package/src/authentication/util/JWEUtility.js +4 -1
- package/src/authentication/util/jwt/JWTUtility.js +17 -1
- package/src/index.js +818 -773
- package/src/model/AccountUpdaterConfigurations.js +113 -0
- package/src/model/{CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsAmex.js → AccountUpdaterConfigurationsAmex.js} +8 -8
- package/src/model/{CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsMasterCard.js → AccountUpdaterConfigurationsMasterCard.js} +8 -8
- package/src/model/{CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurationsVisa.js → AccountUpdaterConfigurationsVisa.js} +8 -8
- package/src/model/AftFundingOptions.js +81 -0
- package/src/model/{Ptsv1pullfundstransferProcessingInformationFundingOptionsInitiator.js → AftFundingOptionsInitiator.js} +13 -13
- package/src/model/{Ptsv1pullfundstransferProcessingInformationFundingOptionsInitiatorOriginatorInitiatedTransaction.js → AftFundingOptionsInitiatorOriginatorInitiatedTransaction.js} +8 -8
- package/src/model/AgenticCancelPurchaseIntentRequest.js +12 -12
- package/src/model/AgenticCardEnrollmentRequest.js +25 -25
- package/src/model/AgenticConfirmTransactionEventsRequest.js +10 -10
- package/src/model/AgenticCreatePurchaseIntentRequest.js +18 -18
- package/src/model/AgenticRetrievePaymentCredentialsRequest.js +10 -10
- package/src/model/AgenticRetrievePaymentCredentialsResponse200.js +6 -6
- package/src/model/AgenticUpdatePurchaseIntentRequest.js +18 -18
- package/src/model/{PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurationsProcessors.js → AlternativePaymentsProcessorConfiguration.js} +8 -8
- package/src/model/BinLookup403Response.js +109 -0
- package/src/model/BinLookupv400Response.js +117 -0
- package/src/model/{CardProcessingConfigCommonAcquirerAgreementAcquirerCode.js → BoardingAcquirerDetails.js} +13 -13
- package/src/model/{CardProcessingConfigCommonAcquirerAgreementAcquirerCodePaymentOptions.js → BoardingAcquirerDetailsPaymentOptions.js} +8 -8
- package/src/model/{Boardingv1registrationsOrganizationInformationBusinessInformation.js → BoardingBusinessInformation.js} +21 -21
- package/src/model/{Boardingv1registrationsOrganizationInformationBusinessInformationAddress.js → BoardingBusinessInformationAddress.js} +8 -8
- package/src/model/{Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.js → BoardingBusinessInformationBusinessContact.js} +8 -8
- package/src/model/{Boardingv1registrationsOrganizationInformationBusinessInformationLocalizedNames.js → BoardingBusinessInformationLocalizedNames.js} +8 -8
- package/src/model/{PaymentsProductsPayoutsConfigurationInformationConfigurations.js → BoardingPayoutsConfigurations.js} +13 -13
- package/src/model/{PaymentsProductsPayoutsConfigurationInformationConfigurationsCommon.js → BoardingPayoutsConfigurationsCommon.js} +13 -13
- package/src/model/{PaymentsProductsPayoutsConfigurationInformationConfigurationsCommonAggregator.js → BoardingPayoutsConfigurationsCommonAggregator.js} +8 -8
- package/src/model/Boardingv1registrationsOrganizationInformation.js +7 -7
- package/src/model/Boardingv1registrationsOrganizationInformationOwners.js +7 -7
- package/src/model/CardProcessingConfigCommonAcquirerAgreement.js +6 -6
- package/src/model/CommerceSolutionsProductsAccountUpdaterConfigurationInformation.js +6 -6
- package/src/model/CreateSubscriptionResponse.js +1 -1
- package/src/model/DefaultPaymentInstrument.js +198 -0
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.js → DefaultPaymentInstrumentBankAccount.js} +8 -8
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.js → DefaultPaymentInstrumentBillTo.js} +8 -8
- package/src/model/{GetSubscriptionResponse1PaymentInstrumentBuyerInformation.js → DefaultPaymentInstrumentBuyerInformation.js} +14 -14
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.js → DefaultPaymentInstrumentBuyerInformationIssuedBy.js} +8 -8
- package/src/model/DefaultPaymentInstrumentBuyerInformationPersonalIdentification.js +99 -0
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.js → DefaultPaymentInstrumentCard.js} +13 -13
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.js → DefaultPaymentInstrumentCardTokenizedInformation.js} +8 -8
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.js → DefaultPaymentInstrumentEmbedded.js} +8 -8
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.js → DefaultPaymentInstrumentInstrumentIdentifier.js} +8 -8
- package/src/model/DefaultPaymentInstrumentLinks.js +89 -0
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.js → DefaultPaymentInstrumentLinksSelf.js} +8 -8
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.js → DefaultPaymentInstrumentMetadata.js} +8 -8
- package/src/model/DefaultShippingAddress.js +115 -0
- package/src/model/DefaultShippingAddressLinks.js +89 -0
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.js → DefaultShippingAddressLinksCustomer.js} +8 -8
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.js → DefaultShippingAddressLinksSelf.js} +8 -8
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.js → DefaultShippingAddressMetadata.js} +8 -8
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.js → DefaultShippingAddressShipTo.js} +8 -8
- package/src/model/ExportComplianceWatchList.js +81 -0
- package/src/model/{PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.js → ExportComplianceWatchListMatches.js} +8 -8
- package/src/model/{Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.js → FollowOnTransactionBuyerInformation.js} +14 -14
- package/src/model/GenerateUnifiedCheckoutV1CaptureContextRequest.js +2 -2
- package/src/model/GetSubscriptionResponse1PaymentInstrument.js +8 -8
- package/src/model/GetSubscriptionResponse1ShippingAddress.js +6 -6
- package/src/model/{Acpv1instructionsinstructionIdcredentialsOrderInformationAmountDetail.js → IccAmountDetail.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdcredentialsOrderInformationItems.js → IccLineItem.js} +17 -17
- package/src/model/{Acpv1instructionsinstructionIdcredentialsOrderInformationItemsAdditionalInfo.js → IccLineItemAdditionalInfo.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdcredentialsOrderInformationItemsPolicies.js → IccLineItemPolicies.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdcredentialsMerchantInformationMerchantDescriptor.js → IccMerchantDescriptor.js} +8 -8
- package/src/model/IccPaymentInstrument.js +82 -0
- package/src/model/{Acpv1instructionsinstructionIdconfirmationsProcessorInformationPaymentInstrumentVerificationResults.js → IccPaymentInstrumentVerificationResults.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdconfirmationsOrderInformationShippingDetails.js → IccShippingDetails.js} +8 -8
- package/src/model/{AgenticRetrievePaymentCredentialsResponse200TransactionResponseWithPendingEvents.js → IccTransactionResponsePendingEvents.js} +8 -8
- package/src/model/{Acpv1instructionsDeclineThreshold.js → Iccv1instructionsDeclineThreshold.js} +8 -8
- package/src/model/{Acpv1instructionsMandates.js → Iccv1instructionsMandates.js} +16 -16
- package/src/model/{Acpv1instructionsRecurringPaymentInformation.js → Iccv1instructionsRecurringPaymentInformation.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdconfirmationsConfirmationData.js → Iccv1instructionsinstructionIdconfirmationsConfirmationData.js} +21 -21
- package/src/model/{Acpv1instructionsinstructionIdconfirmationsMerchantInformation.js → Iccv1instructionsinstructionIdconfirmationsMerchantInformation.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdconfirmationsOrderInformation.js → Iccv1instructionsinstructionIdconfirmationsOrderInformation.js} +19 -19
- package/src/model/{Acpv1instructionsinstructionIdconfirmationsProcessorInformation.js → Iccv1instructionsinstructionIdconfirmationsProcessorInformation.js} +15 -15
- package/src/model/{Acpv1instructionsinstructionIdcredentialsAttachments.js → Iccv1instructionsinstructionIdcredentialsAttachments.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdcredentialsClientReferenceInformation.js → Iccv1instructionsinstructionIdcredentialsClientReferenceInformation.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdcredentialsMandateReferenceData.js → Iccv1instructionsinstructionIdcredentialsMandateReferenceData.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdcredentialsMerchantInformation.js → Iccv1instructionsinstructionIdcredentialsMerchantInformation.js} +14 -14
- package/src/model/{Acpv1instructionsinstructionIdcredentialsOrderInformation.js → Iccv1instructionsinstructionIdcredentialsOrderInformation.js} +18 -18
- package/src/model/{Acpv1instructionsinstructionIdcredentialsOrderInformationLineItems.js → Iccv1instructionsinstructionIdcredentialsOrderInformationLineItems.js} +13 -13
- package/src/model/{Acpv1instructionsinstructionIdcredentialsOrderInformationShipTo.js → Iccv1instructionsinstructionIdcredentialsOrderInformationShipTo.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdcredentialsPaymentOptions.js → Iccv1instructionsinstructionIdcredentialsPaymentOptions.js} +8 -8
- package/src/model/{Acpv1instructionsinstructionIdcredentialsTransactionData.js → Iccv1instructionsinstructionIdcredentialsTransactionData.js} +26 -26
- package/src/model/{Acpv1mppcredentialsChallenge.js → Iccv1mppcredentialsChallenge.js} +14 -14
- package/src/model/{Acpv1mppcredentialsChallengeEncryptionJwk.js → Iccv1mppcredentialsChallengeEncryptionJwk.js} +8 -8
- package/src/model/{Acpv1tokensAssuranceData.js → Iccv1tokensAssuranceData.js} +15 -15
- package/src/model/{Acpv1tokensAuthenticatedIdentities.js → Iccv1tokensAuthenticatedIdentities.js} +8 -8
- package/src/model/{Acpv1tokensAuthenticationContext.js → Iccv1tokensAuthenticationContext.js} +8 -8
- package/src/model/{Acpv1tokensBillTo.js → Iccv1tokensBillTo.js} +8 -8
- package/src/model/{Acpv1tokensBuyerInformation.js → Iccv1tokensBuyerInformation.js} +13 -13
- package/src/model/{Acpv1tokensBuyerInformationPersonalIdentification.js → Iccv1tokensBuyerInformationPersonalIdentification.js} +12 -12
- package/src/model/{Acpv1tokensConsentData.js → Iccv1tokensConsentData.js} +8 -8
- package/src/model/{Acpv1tokensConsumerIdentity.js → Iccv1tokensConsumerIdentity.js} +8 -8
- package/src/model/{Acpv1tokensDeviceInformation.js → Iccv1tokensDeviceInformation.js} +14 -14
- package/src/model/{Acpv1tokensDeviceInformationDeviceData.js → Iccv1tokensDeviceInformationDeviceData.js} +8 -8
- package/src/model/{Acpv1tokensEnrollmentReferenceData.js → Iccv1tokensEnrollmentReferenceData.js} +8 -8
- package/src/model/{Acpv1tokensPaymentInformation.js → Iccv1tokensPaymentInformation.js} +18 -18
- package/src/model/{Acpv1tokensPaymentInformationCustomer.js → Iccv1tokensPaymentInformationCustomer.js} +8 -8
- package/src/model/{Acpv1tokensPaymentInformationInstrumentIdentifier.js → Iccv1tokensPaymentInformationInstrumentIdentifier.js} +8 -8
- package/src/model/{Acpv1tokensPaymentInformationPaymentInstrument.js → Iccv1tokensPaymentInformationPaymentInstrument.js} +8 -8
- package/src/model/InlineResponse2014Setups.js +6 -6
- package/src/model/InlineResponse2014SetupsCommerceSolutions.js +12 -12
- package/src/model/InlineResponse2014SetupsRisk.js +10 -10
- package/src/model/InlineResponse2014SetupsValueAddedServices.js +14 -14
- package/src/model/InlineResponse40011.js +25 -26
- package/src/model/InlineResponse40012.js +20 -32
- package/src/model/{InlineResponse40011Details.js → InlineResponse40012Details.js} +8 -8
- package/src/model/InlineResponse40013.js +129 -0
- package/src/model/InlineResponse502.js +8 -44
- package/src/model/InlineResponse5021.js +20 -12
- package/src/model/InlineResponse5022.js +12 -22
- package/src/model/InlineResponse5023.js +119 -0
- package/src/model/MicroformConfigFeatures.js +81 -0
- package/src/model/{PaymentsProductsMicroformConfigurationInformationConfigurationsFeaturesGatewayAgnostic.js → MicroformConfigFeaturesGatewayAgnostic.js} +8 -8
- package/src/model/MppCredentialsRequest.js +7 -7
- package/src/model/PatchCustomerPaymentInstrumentRequest.js +18 -18
- package/src/model/PatchCustomerShippingAddressRequest.js +10 -10
- package/src/model/PatchInstrumentIdentifierRequest.js +6 -6
- package/src/model/PatchPaymentInstrumentRequest.js +18 -18
- package/src/model/PaymentInstrument.js +198 -0
- package/src/model/PaymentInstrumentListEmbedded.js +6 -6
- package/src/model/PaymentsConfigurationSetup.js +249 -0
- package/src/model/{InlineResponse2014SetupsPaymentsAlternativePaymentMethods.js → PaymentsConfigurationSetupAlternativePaymentMethods.js} +15 -15
- package/src/model/{InlineResponse2014SetupsPaymentsAlternativePaymentMethodsConfigurationStatus.js → PaymentsConfigurationSetupAlternativePaymentMethodsConfigurationStatus.js} +8 -8
- package/src/model/PaymentsConfigurationSetupCardProcessing.js +89 -0
- package/src/model/{InlineResponse2014SetupsPaymentsCardProcessingConfigurationStatus.js → PaymentsConfigurationSetupCardProcessingConfigurationStatus.js} +8 -8
- package/src/model/{InlineResponse2014SetupsPaymentsCardProcessingSubscriptionStatus.js → PaymentsConfigurationSetupCardProcessingSubscriptionStatus.js} +8 -8
- package/src/model/PaymentsConfigurationSetupDigitalPayments.js +81 -0
- package/src/model/PaymentsProductsAlternativePaymentMethodsConfigurationInformationConfigurations.js +6 -6
- package/src/model/PaymentsProductsMicroformConfigurationInformationConfigurations.js +6 -6
- package/src/model/PaymentsProductsPayoutsConfigurationInformation.js +6 -6
- package/src/model/PaymentsProductsUnifiedCheckoutConfigurationInformation.js +6 -6
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformation.js +6 -6
- package/src/model/PostCustomerPaymentInstrumentRequest.js +18 -18
- package/src/model/PostCustomerShippingAddressRequest.js +10 -10
- package/src/model/PostInstrumentIdentifierEnrollmentRequest.js +6 -6
- package/src/model/PostInstrumentIdentifierRequest.js +6 -6
- package/src/model/PostIssuerLifeCycleSimulationRequest.js +6 -6
- package/src/model/PostPaymentCredentialsRequest.js +6 -6
- package/src/model/PostPaymentCredentialsRequest1.js +6 -6
- package/src/model/PostPaymentInstrumentRequest.js +18 -18
- package/src/model/{Ptsv2paymentsProcessingInformationAuthorizationOptions.js → ProcessingInfoAuthorizationOptions.js} +13 -13
- package/src/model/{Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator.js → ProcessingInfoAuthorizationOptionsInitiator.js} +13 -13
- package/src/model/{Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.js → ProcessingInfoAuthorizationOptionsInitiatorMerchantInitiatedTransaction.js} +11 -11
- package/src/model/{PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection.js → ProcessorInformationSellerProtection.js} +8 -8
- package/src/model/PtsV2CreditsPost201Response.js +1 -1
- package/src/model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.js +6 -6
- package/src/model/PtsV2PaymentsPost201Response1ProcessorInformation.js +6 -6
- package/src/model/PtsV2PaymentsPost201ResponseProcessorInformation.js +6 -6
- package/src/model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.js +6 -6
- package/src/model/PtsV2PayoutsPost201ResponseIssuerInformation.js +135 -0
- package/src/model/Ptsv1pullfundstransferProcessingInformation.js +6 -6
- package/src/model/Ptsv1pushfundstransferRecipientInformation.js +6 -6
- package/src/model/Ptsv2creditsProcessingInformation.js +1 -1
- package/src/model/Ptsv2creditsProcessingInformationRefundOptions.js +9 -0
- package/src/model/Ptsv2paymentsProcessingInformation.js +7 -7
- package/src/model/Ptsv2paymentsProcessorInformation.js +9 -0
- package/src/model/Ptsv2paymentsidcapturesProcessingInformation.js +1 -1
- package/src/model/Ptsv2paymentsidrefundsProcessingInformation.js +1 -1
- package/src/model/Ptsv2paymentsidrefundsProcessingInformationRefundOptions.js +9 -0
- package/src/model/Ptsv2paymentsidreversalsProcessingInformation.js +1 -1
- package/src/model/PushFunds201Response.js +12 -4
- package/src/model/PushFunds201ResponseIssuerInformation.js +208 -0
- package/src/model/PushFundsTransferPaymentInformation.js +81 -0
- package/src/model/{Ptsv1pushfundstransferRecipientInformationPaymentInformationCard.js → PushFundsTransferPaymentInformationCard.js} +17 -17
- package/src/model/{Ptsv1pushfundstransferRecipientInformationPaymentInformationCardCustomer.js → PushFundsTransferPaymentInformationCardCustomer.js} +8 -8
- package/src/model/{Ptsv1pushfundstransferRecipientInformationPaymentInformationCardInstrumentIdentifier.js → PushFundsTransferPaymentInformationCardInstrumentIdentifier.js} +8 -8
- package/src/model/{Ptsv1pushfundstransferRecipientInformationPaymentInformationCardPaymentInstrument.js → PushFundsTransferPaymentInformationCardPaymentInstrument.js} +8 -8
- package/src/model/RbsAuthorizationOptions.js +81 -0
- package/src/model/{Rbsv1subscriptionsProcessingInformationAuthorizationOptionsInitiator.js → RbsAuthorizationOptionsInitiator.js} +8 -8
- package/src/model/Rbsv1subscriptionsProcessingInformation.js +6 -6
- package/src/model/{ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings.js → ReportDefinitionDefaultSettings.js} +8 -8
- package/src/model/ReportingV3ReportDefinitionsGet200ResponseReportDefinitions.js +6 -6
- package/src/model/ReportingV3ReportDefinitionsNameGet200Response.js +6 -6
- package/src/model/{RiskV1AddressVerificationsPost201ResponseAddressVerificationInformation.js → RiskAddressVerificationInformation.js} +15 -15
- package/src/model/{RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationBarCode.js → RiskAddressVerificationInformationBarCode.js} +8 -8
- package/src/model/{RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddress.js → RiskAddressVerificationInformationStandardAddress.js} +13 -13
- package/src/model/{RiskV1AddressVerificationsPost201ResponseAddressVerificationInformationStandardAddressAddress1.js → RiskAddressVerificationInformationStandardAddressAddress1.js} +8 -8
- package/src/model/RiskV1AddressVerificationsPost201Response.js +6 -6
- package/src/model/ShippingAddressListForCustomerEmbedded.js +6 -6
- package/src/model/TmsEmbeddedInstrumentIdentifier.js +6 -6
- package/src/model/TmsIssuerLifeCycleEventSimulationMetadata.js +81 -0
- package/src/model/TmsIssuerLifeCycleEventSimulationMetadataCardArt.js +81 -0
- package/src/model/{Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.js → TmsIssuerLifeCycleEventSimulationMetadataCardArtCombinedAsset.js} +8 -8
- package/src/model/{TmsEmbeddedInstrumentIdentifierPointOfSaleInformation.js → TmsPointOfSaleInformation.js} +14 -14
- package/src/model/{TmsEmbeddedInstrumentIdentifierPointOfSaleInformationEmvTags.js → TmsPointOfSaleInformationEmvTags.js} +8 -8
- package/src/model/Tmsv2customersEmbedded.js +6 -6
- package/src/model/Tmsv2tokenizeTokenInformation.js +8 -8
- package/src/model/Tmsv2tokenizeTokenInformationCustomerEmbedded.js +8 -8
- package/src/model/Tmsv3tokenstokenIdpaymentcredentialsAuthenticatedIdentities.js +12 -3
- package/src/model/UcConfigurations.js +81 -0
- package/src/model/UcConfigurationsFeatures.js +97 -0
- package/src/model/UcConfigurationsFeaturesClickToPay.js +81 -0
- package/src/model/UcConfigurationsFeaturesClickToPayEnrollmentData.js +109 -0
- package/src/model/{PaymentsProductsUnifiedCheckoutConfigurationInformationConfigurationsFeaturesPaze.js → UcConfigurationsFeaturesPaze.js} +9 -9
- package/src/model/UcConfigurationsFeaturesPortfolioAccesstoSensitiveData.js +82 -0
- package/src/model/UcFeatureSubscription.js +241 -0
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesAfterPay.js → UcFeatureSubscriptionAfterPay.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesApplePay.js → UcFeatureSubscriptionApplePay.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesBancontact.js → UcFeatureSubscriptionBancontact.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesClickToPay.js → UcFeatureSubscriptionClickToPay.js} +8 -8
- package/src/model/UcFeatureSubscriptionDecisionManager.js +82 -0
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesDragonPay.js → UcFeatureSubscriptionDragonPay.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesECheck.js → UcFeatureSubscriptionECheck.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesGooglePay.js → UcFeatureSubscriptionGooglePay.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesIdeal.js → UcFeatureSubscriptionIdeal.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesKonbini.js → UcFeatureSubscriptionKonbini.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesMultibanco.js → UcFeatureSubscriptionMultibanco.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesMyBank.js → UcFeatureSubscriptionMyBank.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesP24.js → UcFeatureSubscriptionP24.js} +8 -8
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPayPal.js → UcFeatureSubscriptionPayPal.js} +8 -8
- package/src/model/UcFeatureSubscriptionPayerAuthentication.js +82 -0
- package/src/model/UcFeatureSubscriptionPazeForUnifiedCheckout.js +82 -0
- package/src/model/UcFeatureSubscriptionPortfolioAccessofSensitiveData.js +82 -0
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesTinkPayByBank.js → UcFeatureSubscriptionTinkPayByBank.js} +8 -8
- package/src/model/UcFeatureSubscriptionTokenManagement.js +82 -0
- package/src/model/UcFeatureSubscriptionUnifiedClickToPaySDK.js +82 -0
- package/src/model/{PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesVenmo.js → UcFeatureSubscriptionVenmo.js} +8 -8
- package/src/model/Ucv1sessionsCompleteMandate.js +1 -1
- package/src/model/Ucv1sessionsData.js +6 -6
- package/src/model/Ucv1sessionsDataClientReferenceInformation.js +107 -0
- package/src/model/Ucv1sessionsDataOrderInformation.js +6 -6
- package/src/model/Ucv1sessionsDataOrderInformationLineItems.js +8 -8
- package/src/model/Ucv1sessionsDataOrderInformationShipTo.js +190 -0
- package/src/model/Ucv1sessionsDataProcessingInformationAuthorizationOptionsInitiator.js +6 -6
- package/src/model/Ucv1sessionsPaymentConfigurations.js +12 -4
- package/src/model/Ucv1sessionsPaymentConfigurationsGOOGLEPAY.js +1 -1
- package/src/model/Ucv1sessionsPaymentConfigurationsPAYPAL.js +99 -0
- package/src/model/Ucv1sessionsPaymentConfigurationsPAYPALTokenizedPaymentMethod.js +101 -0
- package/src/model/Ucv1sessionsPaymentConfigurationsTMSTOKEN.js +1 -1
- package/src/model/{UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetails.js → UnderwritingConfigurationBusinessDetails.js} +13 -13
- package/src/model/{UnderwritingConfigurationOrganizationInformationBusinessInformationBusinessDetailsProductServicesSubscription.js → UnderwritingConfigurationBusinessDetailsProductServicesSubscription.js} +8 -8
- package/src/model/UnderwritingConfigurationOrganizationInformationBusinessInformation.js +6 -6
- package/src/model/UnifiedCheckoutMerchantInitiatedTransaction.js +81 -0
- package/src/model/Upv1capturecontextsDataOrderInformation.js +2 -2
- package/src/model/Upv1capturecontextsDataOrderInformationLineItems.js +8 -8
- package/src/model/{Upv1capturecontextsDataOrderInformationLineItemsPassenger.js → Upv1capturecontextsDataOrderInformationPassenger.js} +8 -8
- package/src/model/{Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.js → Upv1capturecontextsDataOrderInformationTaxDetails.js} +8 -8
- package/src/model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.js +6 -6
- package/src/model/VTConfigCardNotPresent.js +6 -6
- package/src/model/VirtualTerminalGlobalPaymentSettings.js +97 -0
- package/src/model/{VTConfigCardNotPresentGlobalPaymentInformationBasicInformation.js → VirtualTerminalGlobalPaymentSettingsBasicInformation.js} +8 -8
- package/src/model/{VTConfigCardNotPresentGlobalPaymentInformationMerchantDefinedDataFields.js → VirtualTerminalGlobalPaymentSettingsMerchantDefinedDataFields.js} +8 -8
- package/src/model/{VTConfigCardNotPresentGlobalPaymentInformationPaymentInformation.js → VirtualTerminalGlobalPaymentSettingsPaymentInformation.js} +8 -8
- package/docs/Acpv1instructionsinstructionIdconfirmationsConfirmationData.md +0 -11
- package/docs/Acpv1instructionsinstructionIdconfirmationsOrderInformation.md +0 -17
- package/docs/Acpv1instructionsinstructionIdconfirmationsProcessorInformationPaymentInstrument.md +0 -8
- package/docs/Acpv1instructionsinstructionIdcredentialsOrderInformation.md +0 -11
- package/docs/Acpv1instructionsinstructionIdcredentialsOrderInformationItems.md +0 -16
- package/docs/Acpv1instructionsinstructionIdcredentialsOrderInformationLineItems.md +0 -8
- package/docs/Acpv1tokensBuyerInformationPersonalIdentification.md +0 -10
- package/docs/Acpv1tokensPaymentInformation.md +0 -10
- package/docs/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.md +0 -12
- package/docs/EnrollmentApi.md +0 -55
- package/docs/InlineResponse2014SetupsPayments.md +0 -29
- package/docs/InlineResponse2014SetupsPaymentsAlternativePaymentMethods.md +0 -11
- package/docs/InlineResponse2014SetupsPaymentsCardProcessing.md +0 -9
- package/docs/InlineResponse2014SetupsPaymentsDigitalPayments.md +0 -8
- package/docs/PaymentInstrumentListEmbeddedPaymentInstruments.md +0 -22
- package/docs/PaymentsProductsMicroformConfigurationInformationConfigurationsFeatures.md +0 -8
- package/docs/PaymentsProductsPayoutsConfigurationInformationConfigurations.md +0 -9
- package/docs/PaymentsProductsUnifiedCheckoutConfigurationInformationConfigurations.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutConfigurationInformationConfigurationsFeatures.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeatures.md +0 -28
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesAfterPay.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesApplePay.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesBancontact.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesClickToPay.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesDecisionManager.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesDragonPay.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesECheck.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesGooglePay.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesKonbini.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesMultibanco.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPayPal.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPayerAuthentication.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPazeForUnifiedCheckout.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPortfolioAccessofSensitiveData.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesTinkPayByBank.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesTokenManagement.md +0 -8
- package/docs/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesUnifiedClickToPaySDK.md +0 -8
- package/docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.md +0 -8
- package/docs/Ptsv1pullfundstransferProcessingInformationFundingOptions.md +0 -8
- package/docs/Ptsv1pushfundstransferRecipientInformationPaymentInformation.md +0 -8
- package/docs/Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md +0 -11
- package/docs/Rbsv1subscriptionsProcessingInformationAuthorizationOptions.md +0 -8
- package/docs/TmsEmbeddedInstrumentIdentifierPointOfSaleInformation.md +0 -8
- package/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md +0 -22
- package/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md +0 -10
- package/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md +0 -9
- package/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md +0 -12
- package/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md +0 -9
- package/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md +0 -8
- package/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md +0 -8
- package/docs/Tmsv3tokenstokenIdpaymentcredentialsMerchantInformation.md +0 -8
- package/docs/Tmsv3tokenstokenIdpaymentcredentialsMerchantInformationMerchantDescriptor.md +0 -9
- package/docs/VTConfigCardNotPresentGlobalPaymentInformation.md +0 -10
- package/src/api/EnrollmentApi.js +0 -120
- package/src/model/Acpv1instructionsinstructionIdconfirmationsProcessorInformationPaymentInstrument.js +0 -82
- package/src/model/CommerceSolutionsProductsAccountUpdaterConfigurationInformationConfigurations.js +0 -113
- package/src/model/InlineResponse2014SetupsPayments.js +0 -249
- package/src/model/InlineResponse2014SetupsPaymentsCardProcessing.js +0 -89
- package/src/model/InlineResponse2014SetupsPaymentsDigitalPayments.js +0 -81
- package/src/model/PaymentInstrumentListEmbeddedPaymentInstruments.js +0 -198
- package/src/model/PaymentsProductsMicroformConfigurationInformationConfigurationsFeatures.js +0 -81
- package/src/model/PaymentsProductsUnifiedCheckoutConfigurationInformationConfigurations.js +0 -81
- package/src/model/PaymentsProductsUnifiedCheckoutConfigurationInformationConfigurationsFeatures.js +0 -81
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeatures.js +0 -241
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesDecisionManager.js +0 -82
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPayerAuthentication.js +0 -82
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPazeForUnifiedCheckout.js +0 -82
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesPortfolioAccessofSensitiveData.js +0 -82
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesTokenManagement.js +0 -82
- package/src/model/PaymentsProductsUnifiedCheckoutSubscriptionInformationFeaturesUnifiedClickToPaySDK.js +0 -82
- package/src/model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.js +0 -81
- package/src/model/Ptsv1pullfundstransferProcessingInformationFundingOptions.js +0 -81
- package/src/model/Ptsv1pushfundstransferRecipientInformationPaymentInformation.js +0 -81
- package/src/model/Rbsv1subscriptionsProcessingInformationAuthorizationOptions.js +0 -81
- package/src/model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.js +0 -198
- package/src/model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.js +0 -99
- package/src/model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.js +0 -89
- package/src/model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.js +0 -115
- package/src/model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.js +0 -89
- package/src/model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.js +0 -81
- package/src/model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.js +0 -81
- package/src/model/Tmsv3tokenstokenIdpaymentcredentialsMerchantInformation.js +0 -81
- package/src/model/Tmsv3tokenstokenIdpaymentcredentialsMerchantInformationMerchantDescriptor.js +0 -91
- package/src/model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.js +0 -81
- package/src/model/VTConfigCardNotPresentGlobalPaymentInformation.js +0 -97
package/src/api/OrdersApi.js
CHANGED
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
var authNames = [];
|
|
92
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
93
|
-
var accepts = ['application/hal+json
|
|
92
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
93
|
+
var accepts = ['application/hal+json'];
|
|
94
94
|
var returnType = PtsV2CreateOrderPost201Response;
|
|
95
95
|
|
|
96
96
|
//check isMLE for an api method 'this.createOrder'
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var authNames = [];
|
|
165
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
166
|
-
var accepts = ['application/hal+json
|
|
165
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
166
|
+
var accepts = ['application/hal+json'];
|
|
167
167
|
var returnType = PtsV2UpdateOrderPatch201Response;
|
|
168
168
|
|
|
169
169
|
//check isMLE for an api method 'this.updateOrder'
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
var returnType = PblPaymentLinksPost201Response;
|
|
95
95
|
|
|
96
96
|
//check isMLE for an api method 'this.createPaymentLink'
|
|
97
|
-
var inboundMLEStatus = '
|
|
97
|
+
var inboundMLEStatus = 'optional';
|
|
98
98
|
var isMLEForApi = MLEUtility.checkIsMLEForAPI(this.apiClient.merchantConfig, inboundMLEStatus, 'createPaymentLink');
|
|
99
99
|
const isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(this.apiClient.merchantConfig, ['createPaymentLink']);
|
|
100
100
|
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
var returnType = PblPaymentLinksAllGet200Response;
|
|
172
172
|
|
|
173
173
|
//check isMLE for an api method 'this.getAllPaymentLinks'
|
|
174
|
-
var inboundMLEStatus = '
|
|
174
|
+
var inboundMLEStatus = 'optional';
|
|
175
175
|
var isMLEForApi = MLEUtility.checkIsMLEForAPI(this.apiClient.merchantConfig, inboundMLEStatus, 'getAllPaymentLinks');
|
|
176
176
|
const isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(this.apiClient.merchantConfig, ['getAllPaymentLinks']);
|
|
177
177
|
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
var returnType = PblPaymentLinksGet200Response;
|
|
238
238
|
|
|
239
239
|
//check isMLE for an api method 'this.getPaymentLink'
|
|
240
|
-
var inboundMLEStatus = '
|
|
240
|
+
var inboundMLEStatus = 'optional';
|
|
241
241
|
var isMLEForApi = MLEUtility.checkIsMLEForAPI(this.apiClient.merchantConfig, inboundMLEStatus, 'getPaymentLink');
|
|
242
242
|
const isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(this.apiClient.merchantConfig, ['getPaymentLink']);
|
|
243
243
|
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
var returnType = PblPaymentLinksPost201Response;
|
|
311
311
|
|
|
312
312
|
//check isMLE for an api method 'this.updatePaymentLink'
|
|
313
|
-
var inboundMLEStatus = '
|
|
313
|
+
var inboundMLEStatus = 'optional';
|
|
314
314
|
var isMLEForApi = MLEUtility.checkIsMLEForAPI(this.apiClient.merchantConfig, inboundMLEStatus, 'updatePaymentLink');
|
|
315
315
|
const isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(this.apiClient.merchantConfig, ['updatePaymentLink']);
|
|
316
316
|
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
var authNames = [];
|
|
92
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
93
|
-
var accepts = ['application/hal+json
|
|
92
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
93
|
+
var accepts = ['application/hal+json'];
|
|
94
94
|
var returnType = InlineResponse201;
|
|
95
95
|
|
|
96
96
|
//check isMLE for an api method 'this.retrieveOrDeletePaymentToken'
|
package/src/api/PaymentsApi.js
CHANGED
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
var authNames = [];
|
|
99
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
100
|
-
var accepts = ['application/hal+json
|
|
99
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
100
|
+
var accepts = ['application/hal+json'];
|
|
101
101
|
var returnType = PtsV2PaymentsOrderPost201Response;
|
|
102
102
|
|
|
103
103
|
//check isMLE for an api method 'this.createOrderRequest'
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var authNames = [];
|
|
165
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
166
|
-
var accepts = ['application/hal+json
|
|
165
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
166
|
+
var accepts = ['application/hal+json'];
|
|
167
167
|
var returnType = PtsV2PaymentsPost201Response;
|
|
168
168
|
|
|
169
169
|
//check isMLE for an api method 'this.createPayment'
|
|
@@ -228,8 +228,8 @@
|
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
var authNames = [];
|
|
231
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
232
|
-
var accepts = ['application/hal+json
|
|
231
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
232
|
+
var accepts = ['application/hal+json'];
|
|
233
233
|
var returnType = PtsV2PaymentsPost201Response2;
|
|
234
234
|
|
|
235
235
|
//check isMLE for an api method 'this.createSessionRequest'
|
|
@@ -301,8 +301,8 @@
|
|
|
301
301
|
|
|
302
302
|
|
|
303
303
|
var authNames = [];
|
|
304
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
305
|
-
var accepts = ['application/hal+json
|
|
304
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
305
|
+
var accepts = ['application/hal+json'];
|
|
306
306
|
var returnType = PtsV2IncrementalAuthorizationPatch201Response;
|
|
307
307
|
|
|
308
308
|
//check isMLE for an api method 'this.incrementAuth'
|
|
@@ -374,8 +374,8 @@
|
|
|
374
374
|
|
|
375
375
|
|
|
376
376
|
var authNames = [];
|
|
377
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
378
|
-
var accepts = ['application/hal+json
|
|
377
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
378
|
+
var accepts = ['application/hal+json'];
|
|
379
379
|
var returnType = PtsV2PaymentsPost201Response1;
|
|
380
380
|
|
|
381
381
|
//check isMLE for an api method 'this.refreshPaymentStatus'
|
|
@@ -401,8 +401,8 @@
|
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
|
-
* Callback function to receive the result of the
|
|
405
|
-
* @callback module:api/PaymentsApi~
|
|
404
|
+
* Callback function to receive the result of the updateSessionRequest operation.
|
|
405
|
+
* @callback module:api/PaymentsApi~updateSessionRequestCallback
|
|
406
406
|
* @param {String} error Error message, if any.
|
|
407
407
|
* @param {module:model/PtsV2PaymentsPost201Response2} data The data returned by the service call.
|
|
408
408
|
* @param {String} response The complete HTTP response.
|
|
@@ -413,20 +413,20 @@
|
|
|
413
413
|
* Update Alternative Payments Sessions Request
|
|
414
414
|
* @param {module:model/CreateSessionRequest} createSessionRequest
|
|
415
415
|
* @param {String} id The payment ID. This ID is returned from a previous payment request.
|
|
416
|
-
* @param {module:api/PaymentsApi~
|
|
416
|
+
* @param {module:api/PaymentsApi~updateSessionRequestCallback} callback The callback function, accepting three arguments: error, data, response
|
|
417
417
|
* data is of type: {@link module:model/PtsV2PaymentsPost201Response2}
|
|
418
418
|
*/
|
|
419
|
-
this.
|
|
419
|
+
this.updateSessionRequest = function(createSessionRequest, id, callback) {
|
|
420
420
|
var postBody = createSessionRequest;
|
|
421
421
|
|
|
422
422
|
// verify the required parameter 'createSessionRequest' is set
|
|
423
423
|
if (createSessionRequest === undefined || createSessionRequest === null) {
|
|
424
|
-
throw new Error("Missing the required parameter 'createSessionRequest' when calling
|
|
424
|
+
throw new Error("Missing the required parameter 'createSessionRequest' when calling updateSessionRequest");
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
// verify the required parameter 'id' is set
|
|
428
428
|
if (id === undefined || id === null) {
|
|
429
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
429
|
+
throw new Error("Missing the required parameter 'id' when calling updateSessionRequest");
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
var SdkTracker = require('../utilities/tracking/SdkTracker');
|
|
@@ -447,14 +447,14 @@
|
|
|
447
447
|
|
|
448
448
|
|
|
449
449
|
var authNames = [];
|
|
450
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
451
|
-
var accepts = ['application/hal+json
|
|
450
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
451
|
+
var accepts = ['application/hal+json'];
|
|
452
452
|
var returnType = PtsV2PaymentsPost201Response2;
|
|
453
453
|
|
|
454
|
-
//check isMLE for an api method 'this.
|
|
454
|
+
//check isMLE for an api method 'this.updateSessionRequest'
|
|
455
455
|
var inboundMLEStatus = 'optional';
|
|
456
|
-
var isMLEForApi = MLEUtility.checkIsMLEForAPI(this.apiClient.merchantConfig, inboundMLEStatus, '
|
|
457
|
-
const isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(this.apiClient.merchantConfig, ['
|
|
456
|
+
var isMLEForApi = MLEUtility.checkIsMLEForAPI(this.apiClient.merchantConfig, inboundMLEStatus, 'updateSessionRequest');
|
|
457
|
+
const isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(this.apiClient.merchantConfig, ['updateSessionRequest']);
|
|
458
458
|
|
|
459
459
|
if (isMLEForApi === true) {
|
|
460
460
|
MLEUtility.encryptRequestPayload(this.apiClient.merchantConfig, postBody).then(postBody => {
|
package/src/api/RefundApi.js
CHANGED
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
var authNames = [];
|
|
99
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
100
|
-
var accepts = ['application/hal+json
|
|
99
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
100
|
+
var accepts = ['application/hal+json'];
|
|
101
101
|
var returnType = PtsV2PaymentsRefundPost201Response;
|
|
102
102
|
|
|
103
103
|
//check isMLE for an api method 'this.refundCapture'
|
|
@@ -169,8 +169,8 @@
|
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
var authNames = [];
|
|
172
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
173
|
-
var accepts = ['application/hal+json
|
|
172
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
173
|
+
var accepts = ['application/hal+json'];
|
|
174
174
|
var returnType = PtsV2PaymentsRefundPost201Response;
|
|
175
175
|
|
|
176
176
|
//check isMLE for an api method 'this.refundPayment'
|
package/src/api/ReversalApi.js
CHANGED
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
var authNames = [];
|
|
99
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
100
|
-
var accepts = ['application/hal+json
|
|
99
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
100
|
+
var accepts = ['application/hal+json'];
|
|
101
101
|
var returnType = PtsV2PaymentsReversalsPost201Response;
|
|
102
102
|
|
|
103
103
|
//check isMLE for an api method 'this.authReversal'
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var authNames = [];
|
|
165
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
166
|
-
var accepts = ['application/hal+json
|
|
165
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
166
|
+
var accepts = ['application/hal+json'];
|
|
167
167
|
var returnType = PtsV2PaymentsReversalsPost201Response;
|
|
168
168
|
|
|
169
169
|
//check isMLE for an api method 'this.mitReversal'
|
|
@@ -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(['Authentication/MLEUtility', 'ApiClient', 'model/GenerateUnifiedCheckoutV1CaptureContextRequest', 'model/
|
|
19
|
+
define(['Authentication/MLEUtility', 'ApiClient', 'model/GenerateUnifiedCheckoutV1CaptureContextRequest', 'model/InlineResponse40011'], 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('../authentication/util/MLEUtility'), require('../ApiClient'), require('../model/GenerateUnifiedCheckoutV1CaptureContextRequest'), require('../model/
|
|
22
|
+
module.exports = factory(require('../authentication/util/MLEUtility'), require('../ApiClient'), require('../model/GenerateUnifiedCheckoutV1CaptureContextRequest'), require('../model/InlineResponse40011'));
|
|
23
23
|
} else {
|
|
24
24
|
// Browser globals (root is window)
|
|
25
25
|
if (!root.CyberSource) {
|
|
26
26
|
root.CyberSource = {};
|
|
27
27
|
}
|
|
28
|
-
root.CyberSource.UnifiedCheckoutV1CaptureContextApi = factory(root.Authentication.MLEUtility, root.CyberSource.ApiClient, root.CyberSource.GenerateUnifiedCheckoutV1CaptureContextRequest, root.CyberSource.
|
|
28
|
+
root.CyberSource.UnifiedCheckoutV1CaptureContextApi = factory(root.Authentication.MLEUtility, root.CyberSource.ApiClient, root.CyberSource.GenerateUnifiedCheckoutV1CaptureContextRequest, root.CyberSource.InlineResponse40011);
|
|
29
29
|
}
|
|
30
|
-
}(this, function(MLEUtility, ApiClient, GenerateUnifiedCheckoutV1CaptureContextRequest,
|
|
30
|
+
}(this, function(MLEUtility, ApiClient, GenerateUnifiedCheckoutV1CaptureContextRequest, InlineResponse40011) {
|
|
31
31
|
'use strict';
|
|
32
32
|
|
|
33
33
|
/**
|
package/src/api/VoidApi.js
CHANGED
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
var authNames = [];
|
|
92
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
93
|
-
var accepts = ['application/hal+json
|
|
92
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
93
|
+
var accepts = ['application/hal+json'];
|
|
94
94
|
var returnType = PtsV2PaymentsVoidsPost201Response;
|
|
95
95
|
|
|
96
96
|
//check isMLE for an api method 'this.mitVoid'
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var authNames = [];
|
|
165
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
166
|
-
var accepts = ['application/hal+json
|
|
165
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
166
|
+
var accepts = ['application/hal+json'];
|
|
167
167
|
var returnType = PtsV2PaymentsVoidsPost201Response;
|
|
168
168
|
|
|
169
169
|
//check isMLE for an api method 'this.voidCapture'
|
|
@@ -235,8 +235,8 @@
|
|
|
235
235
|
|
|
236
236
|
|
|
237
237
|
var authNames = [];
|
|
238
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
239
|
-
var accepts = ['application/hal+json
|
|
238
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
239
|
+
var accepts = ['application/hal+json'];
|
|
240
240
|
var returnType = PtsV2PaymentsVoidsPost201Response;
|
|
241
241
|
|
|
242
242
|
//check isMLE for an api method 'this.voidCredit'
|
|
@@ -308,8 +308,8 @@
|
|
|
308
308
|
|
|
309
309
|
|
|
310
310
|
var authNames = [];
|
|
311
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
312
|
-
var accepts = ['application/hal+json
|
|
311
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
312
|
+
var accepts = ['application/hal+json'];
|
|
313
313
|
var returnType = PtsV2PaymentsVoidsPost201Response;
|
|
314
314
|
|
|
315
315
|
//check isMLE for an api method 'this.voidPayment'
|
|
@@ -381,8 +381,8 @@
|
|
|
381
381
|
|
|
382
382
|
|
|
383
383
|
var authNames = [];
|
|
384
|
-
var contentTypes = ['application/json;charset=utf-8'];
|
|
385
|
-
var accepts = ['application/hal+json
|
|
384
|
+
var contentTypes = ['application/json', 'application/json; charset=utf-8'];
|
|
385
|
+
var accepts = ['application/hal+json'];
|
|
386
386
|
var returnType = PtsV2PaymentsVoidsPost201Response;
|
|
387
387
|
|
|
388
388
|
//check isMLE for an api method 'this.voidRefund'
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
var Constants = require('../util/Constants');
|
|
4
4
|
var SignatureParameterGenerator = require('./SignatureParameterGenerator');
|
|
5
5
|
var ApiException = require('../util/ApiException');
|
|
6
|
+
var LoggingUtilities = require('../logging/LoggingUtilities');
|
|
6
7
|
|
|
7
8
|
/* HttpSigToken return SignatureHeader Value that contains following paramters
|
|
8
9
|
* keyid -- Merchant ID obtained from EBC portal
|
|
@@ -47,7 +48,7 @@ exports.getToken = function (merchantConfig, logger) {
|
|
|
47
48
|
/* Get Value for paramter 'Signature' to be passed to Signature Header */
|
|
48
49
|
signatureValue = SignatureParameterGenerator.getSignatureParameter(merchantConfig, logger);
|
|
49
50
|
signatureHeader += ", signature=\"" + signatureValue + "\"";
|
|
50
|
-
logger.info("signatureHeader : " + signatureHeader);
|
|
51
|
+
logger.info("signatureHeader : " + LoggingUtilities.redactSignature(signatureHeader));
|
|
51
52
|
return signatureHeader;
|
|
52
53
|
} catch (err) {
|
|
53
54
|
logger.error(err.stack);
|
|
@@ -53,17 +53,9 @@ function getPayloadClaimSet(merchantConfig, isResponseMLEForApi, logger) {
|
|
|
53
53
|
payloadClaimSet["iat"] = nowEpochSeconds;
|
|
54
54
|
payloadClaimSet["exp"] = nowEpochSeconds + 120; // +2 minutes
|
|
55
55
|
|
|
56
|
-
let requestTarget;
|
|
57
|
-
|
|
58
|
-
if (merchantConfig.requestTarget.includes("?")) {
|
|
59
|
-
requestTarget = merchantConfig.requestTarget.substring(0, merchantConfig.requestTarget.indexOf("?"));
|
|
60
|
-
} else {
|
|
61
|
-
requestTarget = merchantConfig.requestTarget;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
56
|
// Request metadata
|
|
65
57
|
payloadClaimSet["request-host"] = merchantConfig.getRunEnvironment();
|
|
66
|
-
payloadClaimSet["request-resource-path"] = requestTarget;
|
|
58
|
+
payloadClaimSet["request-resource-path"] = merchantConfig.requestTarget;
|
|
67
59
|
payloadClaimSet["request-method"] = requestVerb;
|
|
68
60
|
|
|
69
61
|
// Standard JWT claims
|
|
@@ -46,7 +46,11 @@ class LogConfiguration {
|
|
|
46
46
|
* @param {any} enableMaskingValue
|
|
47
47
|
*/
|
|
48
48
|
setMaskingEnabled(enableMaskingValue) {
|
|
49
|
-
|
|
49
|
+
if (enableMaskingValue === null || enableMaskingValue === undefined || enableMaskingValue === "") {
|
|
50
|
+
this.enableMasking = true;
|
|
51
|
+
} else {
|
|
52
|
+
this.enableMasking = enableMaskingValue;
|
|
53
|
+
}
|
|
50
54
|
}
|
|
51
55
|
|
|
52
56
|
setHasExternalLogger(hasExternalLogger){
|
|
@@ -140,7 +144,9 @@ class LogConfiguration {
|
|
|
140
144
|
this.enableLog = false;
|
|
141
145
|
}
|
|
142
146
|
|
|
143
|
-
if (
|
|
147
|
+
if (this.enableMasking === null || this.enableMasking === undefined || this.enableMasking === "") {
|
|
148
|
+
this.enableMasking = true;
|
|
149
|
+
} else if (typeof (this.enableMasking) === "boolean" && this.enableMasking === true) {
|
|
144
150
|
this.enableMasking = true;
|
|
145
151
|
} else {
|
|
146
152
|
this.enableMasking = false;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function LoggingUtilities() { }
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Generic redactor for opaque secrets in log output.
|
|
7
|
+
* Returns "***" + last `tailLen` chars of the input.
|
|
8
|
+
* Null/empty safe. If the value is shorter than `tailLen`, the whole
|
|
9
|
+
* value is appended after "***" (no slice underflow, still prefixed).
|
|
10
|
+
*
|
|
11
|
+
* Use this for any new auth-related log statement that needs to include
|
|
12
|
+
* a token, key, secret, or signature material.
|
|
13
|
+
*/
|
|
14
|
+
LoggingUtilities.redact = function (value, tailLen) {
|
|
15
|
+
if (value === null || value === undefined || value === '') return '***';
|
|
16
|
+
var n = (typeof tailLen === 'number' && tailLen > 0) ? tailLen : 4;
|
|
17
|
+
var s = String(value);
|
|
18
|
+
return '***' + (s.length > n ? s.slice(-n) : s);
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Redact opaque values in a JWT string.
|
|
23
|
+
* Masks the JWT to "***" + last 4 chars of the original value.
|
|
24
|
+
*/
|
|
25
|
+
LoggingUtilities.redactJwt = function (jwt) {
|
|
26
|
+
return LoggingUtilities.redact(jwt, 4);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Redact opaque values in an HTTP Signature header string.
|
|
31
|
+
* Keeps algorithm and headers (structural metadata) intact; masks the rest
|
|
32
|
+
* to "***" + last 4 chars of the original value.
|
|
33
|
+
*/
|
|
34
|
+
LoggingUtilities.redactSignature = function (signature) {
|
|
35
|
+
if (!signature) return signature;
|
|
36
|
+
var KEEP = { algorithm: true, headers: true };
|
|
37
|
+
var matched = false;
|
|
38
|
+
var result = signature.replace(/(\w+)="([^"]*)"/g, function (_, key, val) {
|
|
39
|
+
matched = true;
|
|
40
|
+
if (KEEP[key.toLowerCase()]) return key + '="' + val + '"';
|
|
41
|
+
return key + '="' + LoggingUtilities.redact(val, 4) + '"';
|
|
42
|
+
});
|
|
43
|
+
if (!matched) return LoggingUtilities.redact(signature, 4);
|
|
44
|
+
return result;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
module.exports = LoggingUtilities;
|
|
@@ -21,6 +21,10 @@ function maskSensitiveData(message) {
|
|
|
21
21
|
return Constants.LOG_RESPONSE_BEFORE_MLE + maskSensitiveData(message.substring(Constants.LOG_RESPONSE_BEFORE_MLE.length));
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
if (typeof message === 'string' && message.startsWith(Constants.RESPONSE_DATA_MESSAGE)) {
|
|
25
|
+
return Constants.RESPONSE_DATA_MESSAGE + maskSensitiveData(message.substring(Constants.RESPONSE_DATA_MESSAGE.length));
|
|
26
|
+
}
|
|
27
|
+
|
|
24
28
|
if (Utility.isJsonString(message)) {
|
|
25
29
|
jsonMsg = JSON.parse(message);
|
|
26
30
|
} else {
|
|
@@ -34,14 +38,38 @@ function maskSensitiveData(message) {
|
|
|
34
38
|
for (prop in jsonMsg) {
|
|
35
39
|
var isFieldSensitive = (sensitiveFields.indexOf(prop) > -1);
|
|
36
40
|
if (isFieldSensitive === true) {
|
|
37
|
-
if (jsonMsg[prop]
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
if (jsonMsg[prop] !== null && jsonMsg[prop] !== undefined) { // && not ||
|
|
42
|
+
var v = jsonMsg[prop];
|
|
43
|
+
if (typeof v === 'string') {
|
|
44
|
+
jsonMsg[prop] = new Array(v.length + 1).join('X');
|
|
45
|
+
} else if (typeof v === 'number' || typeof v === 'boolean') {
|
|
46
|
+
// Mask primitive non-string values with a fixed placeholder
|
|
47
|
+
jsonMsg[prop] = 'XXX';
|
|
48
|
+
} else if (Array.isArray(v)) {
|
|
49
|
+
// Recurse into each array item
|
|
50
|
+
jsonMsg[prop] = v.map(function (item) {
|
|
51
|
+
// Item is not valid
|
|
52
|
+
if (item === null || item === undefined) return item;
|
|
53
|
+
|
|
54
|
+
// Item is an array or an object — recurse
|
|
55
|
+
if (typeof item === 'object') return JSON.parse(maskSensitiveData(item));
|
|
56
|
+
|
|
57
|
+
// Item is a string — mask with Xs
|
|
58
|
+
if (typeof item === 'string') return new Array(item.length + 1).join('X');
|
|
59
|
+
|
|
60
|
+
// Item is a number / boolean / unknown — fail closed
|
|
61
|
+
return 'XXX';
|
|
62
|
+
});
|
|
63
|
+
} else if (typeof v === 'object') {
|
|
64
|
+
// Object type - recurse into children
|
|
65
|
+
jsonMsg[prop] = JSON.parse(maskSensitiveData(v));
|
|
66
|
+
} else {
|
|
67
|
+
// Unknown type — fail closed
|
|
68
|
+
jsonMsg[prop] = 'XXX';
|
|
42
69
|
}
|
|
43
70
|
}
|
|
44
71
|
} else if (jsonMsg.hasOwnProperty(prop)) {
|
|
72
|
+
// Recurse into non-sensitive objects/arrays to mask any nested sensitive fields
|
|
45
73
|
jsonMsg[prop] = JSON.parse(maskSensitiveData(jsonMsg[prop]));
|
|
46
74
|
}
|
|
47
75
|
}
|
|
@@ -14,11 +14,11 @@ var Utility = require('./Utility');
|
|
|
14
14
|
* Certificate will be available in the memory cache if it has initialized once.
|
|
15
15
|
*/
|
|
16
16
|
exports.fetchCachedCertificate = function (merchantConfig, logger) {
|
|
17
|
-
|
|
18
|
-
var cachedCertificateFromP12File = cache.get("certificateFromP12File");
|
|
19
|
-
var cachedLastModifiedTimeStamp = cache.get("certificateLastModifideTimeStamp");
|
|
20
|
-
|
|
21
17
|
var filePath = merchantConfig.getP12FilePath();
|
|
18
|
+
var cacheKey = path.resolve(filePath);
|
|
19
|
+
var cachedCertificateFromP12File = cache.get(cacheKey);
|
|
20
|
+
var cachedLastModifiedTimeStamp = cache.get(cacheKey + "LastModifiedTimeStamp");
|
|
21
|
+
|
|
22
22
|
if (fs.existsSync(filePath)) {
|
|
23
23
|
const stats = fs.statSync(filePath);
|
|
24
24
|
const currentFileLastModifiedTime = stats.mtime;
|
|
@@ -48,8 +48,9 @@ exports.fetchCachedCertificate = function (merchantConfig, logger) {
|
|
|
48
48
|
function getCertificate(keyPass, filePath, fileLastModifiedTime, logger) {
|
|
49
49
|
try {
|
|
50
50
|
var certificate = Utility.parseP12File(filePath, keyPass, logger);
|
|
51
|
-
|
|
52
|
-
cache.put(
|
|
51
|
+
var cacheKey = path.resolve(filePath);
|
|
52
|
+
cache.put(cacheKey, certificate);
|
|
53
|
+
cache.put(cacheKey + "LastModifiedTimeStamp", fileLastModifiedTime);
|
|
53
54
|
return certificate;
|
|
54
55
|
} catch (error) {
|
|
55
56
|
ApiException.AuthException(error.message + ". " + Constants.INCORRECT_KEY_PASS);
|
|
@@ -48,6 +48,7 @@ module.exports = {
|
|
|
48
48
|
LOG_REQUEST_AFTER_MLE : "Request after MLE: ",
|
|
49
49
|
LOG_RESPONSE_BEFORE_MLE : "Response before MLE decryption: ",
|
|
50
50
|
LOG_RESPONSE_AFTER_MLE : "Response after MLE decryption: ",
|
|
51
|
+
RESPONSE_DATA_MESSAGE : "Response Data : ",
|
|
51
52
|
MERCHANTID : "MERCHANTID",
|
|
52
53
|
MERCHANT_KEY_ID : "MERCHANT_KEY_ID",
|
|
53
54
|
MERCHANT_SECERT_KEY : "MERCHANT_SECERT_KEY",
|
|
@@ -17,6 +17,9 @@ exports.decryptUsingPEM = function(merchantConfig, encodedData) {
|
|
|
17
17
|
|
|
18
18
|
exports.decryptJWEUsingPrivateKey = async function(privateKey, encodedData) {
|
|
19
19
|
const privateKeyObject = crypto.createPrivateKey(privateKey);
|
|
20
|
-
const { plaintext } = await compactDecrypt(encodedData, privateKeyObject
|
|
20
|
+
const { plaintext } = await compactDecrypt(encodedData, privateKeyObject, {
|
|
21
|
+
keyManagementAlgorithms: ['RSA-OAEP-256', 'RSA-OAEP'],
|
|
22
|
+
contentEncryptionAlgorithms: ['A256GCM', 'A128GCM'],
|
|
23
|
+
});
|
|
21
24
|
return new TextDecoder().decode(plaintext);
|
|
22
25
|
}
|
|
@@ -11,6 +11,9 @@ const SUPPORTED_ALGORITHMS = {
|
|
|
11
11
|
'RS512': 'sha512'
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
+
// Minimum RSA key size in bytes (2048 bits = 256 bytes)
|
|
15
|
+
const MIN_RSA_KEY_SIZE_BYTES = 256;
|
|
16
|
+
|
|
14
17
|
// Error messages constants
|
|
15
18
|
const ERROR_MESSAGES = {
|
|
16
19
|
UNSUPPORTED_ALGORITHM: (algorithm) =>
|
|
@@ -19,7 +22,8 @@ const ERROR_MESSAGES = {
|
|
|
19
22
|
NO_PUBLIC_KEY: 'No public key found',
|
|
20
23
|
INVALID_PUBLIC_KEY_FORMAT: 'Invalid public key format. Expected JWK object or JSON string.',
|
|
21
24
|
INVALID_RSA_KEY: 'Public key must be an RSA key (kty: RSA)',
|
|
22
|
-
MISSING_RSA_PARAMS: 'Invalid RSA JWK: missing required parameters (n, e)'
|
|
25
|
+
MISSING_RSA_PARAMS: 'Invalid RSA JWK: missing required parameters (n, e)',
|
|
26
|
+
RSA_KEY_TOO_SMALL: `RSA key too small: minimum ${MIN_RSA_KEY_SIZE_BYTES * 8} bits required`
|
|
23
27
|
};
|
|
24
28
|
|
|
25
29
|
/**
|
|
@@ -92,6 +96,18 @@ function convertJwkToPem(jwkKey) {
|
|
|
92
96
|
throw new JWTExceptions.InvalidJwkException('Invalid base64url encoding in JWK parameters', decodeErr);
|
|
93
97
|
}
|
|
94
98
|
|
|
99
|
+
// Strip leading zero bytes to get the effective modulus size
|
|
100
|
+
// This prevents bypass via zero-padded small keys
|
|
101
|
+
let effectiveModulus = n;
|
|
102
|
+
while (effectiveModulus.length > 0 && effectiveModulus[0] === 0) {
|
|
103
|
+
effectiveModulus = effectiveModulus.slice(1);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Enforce minimum RSA key size to prevent weak key attacks
|
|
107
|
+
if (effectiveModulus.length < MIN_RSA_KEY_SIZE_BYTES) {
|
|
108
|
+
throw new JWTExceptions.InvalidJwkException(ERROR_MESSAGES.RSA_KEY_TOO_SMALL);
|
|
109
|
+
}
|
|
110
|
+
|
|
95
111
|
let publicKeyForge;
|
|
96
112
|
try {
|
|
97
113
|
publicKeyForge = forge.pki.rsa.setPublicKey(
|