From 8085d576999bd60cd417e4b1181147e51fbb32e1 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Fri, 14 Nov 2025 09:12:24 +0000 Subject: [PATCH 1/2] [reformat][adyen-sdk-automation] automated change --- .../balancePlatform/accountHoldersApi.ts | 3 +- .../balancePlatform/authorizedCardUsersApi.ts | 1 + .../balancePlatform/balanceAccountsApi.ts | 1 + src/services/balancePlatform/balancesApi.ts | 1 + .../bankAccountValidationApi.ts | 1 + src/services/balancePlatform/cardOrdersApi.ts | 1 + .../balancePlatform/grantAccountsApi.ts | 1 + .../balancePlatform/grantOffersApi.ts | 1 + src/services/balancePlatform/index.ts | 10 + .../balancePlatform/manageCardPINApi.ts | 1 + .../balancePlatform/manageSCADevicesApi.ts | 1 + .../balancePlatform/networkTokensApi.ts | 1 + .../paymentInstrumentGroupsApi.ts | 1 + .../balancePlatform/paymentInstrumentsApi.ts | 1 + src/services/balancePlatform/platformApi.ts | 1 + .../sCAAssociationManagementApi.ts | 107 +++++++++ .../balancePlatform/sCADeviceManagementApi.ts | 103 +++++++++ .../balancePlatform/transactionRulesApi.ts | 1 + .../transferLimitsBalanceAccountLevelApi.ts | 1 + .../transferLimitsBalancePlatformLevelApi.ts | 1 + .../balancePlatform/transferRoutesApi.ts | 1 + src/services/binLookup/binLookupApi.ts | 1 + src/services/checkout/donationsApi.ts | 1 + src/services/checkout/modificationsApi.ts | 1 + src/services/checkout/ordersApi.ts | 1 + src/services/checkout/paymentLinksApi.ts | 1 + src/services/checkout/paymentsApi.ts | 1 + src/services/checkout/utilityApi.ts | 2 + .../dataProtection/dataProtectionApi.ts | 1 + src/services/disputes/disputesApi.ts | 1 + .../legalEntityManagement/businessLinesApi.ts | 1 + .../legalEntityManagement/documentsApi.ts | 1 + .../hostedOnboardingApi.ts | 1 + .../legalEntityManagement/legalEntitiesApi.ts | 19 ++ .../pCIQuestionnairesApi.ts | 1 + .../taxEDeliveryConsentApi.ts | 1 + .../termsOfServiceApi.ts | 1 + .../transferInstrumentsApi.ts | 1 + .../aPICredentialsCompanyLevelApi.ts | 1 + .../aPICredentialsMerchantLevelApi.ts | 1 + .../management/aPIKeyCompanyLevelApi.ts | 1 + .../management/aPIKeyMerchantLevelApi.ts | 1 + .../management/accountCompanyLevelApi.ts | 1 + .../management/accountMerchantLevelApi.ts | 1 + .../management/accountStoreLevelApi.ts | 1 + .../allowedOriginsCompanyLevelApi.ts | 1 + .../allowedOriginsMerchantLevelApi.ts | 1 + .../management/androidFilesCompanyLevelApi.ts | 1 + .../management/clientKeyCompanyLevelApi.ts | 1 + .../management/clientKeyMerchantLevelApi.ts | 1 + src/services/management/myAPICredentialApi.ts | 1 + .../paymentMethodsMerchantLevelApi.ts | 1 + .../payoutSettingsMerchantLevelApi.ts | 1 + .../splitConfigurationMerchantLevelApi.ts | 1 + .../terminalActionsCompanyLevelApi.ts | 1 + .../terminalActionsTerminalLevelApi.ts | 1 + .../terminalOrdersCompanyLevelApi.ts | 1 + .../terminalOrdersMerchantLevelApi.ts | 1 + .../terminalSettingsCompanyLevelApi.ts | 1 + .../terminalSettingsMerchantLevelApi.ts | 1 + .../terminalSettingsStoreLevelApi.ts | 1 + .../terminalSettingsTerminalLevelApi.ts | 1 + .../management/terminalsTerminalLevelApi.ts | 1 + .../management/usersCompanyLevelApi.ts | 1 + .../management/usersMerchantLevelApi.ts | 1 + .../management/webhooksCompanyLevelApi.ts | 1 + .../management/webhooksMerchantLevelApi.ts | 1 + src/services/payment/modificationsApi.ts | 1 + src/services/payment/paymentsApi.ts | 1 + src/services/paymentsApp/paymentsAppApi.ts | 1 + src/services/payout/initializationApi.ts | 1 + src/services/payout/instantPayoutsApi.ts | 1 + src/services/payout/reviewingApi.ts | 1 + src/services/recurring/recurringApi.ts | 3 +- .../sessionAuthenticationApi.ts | 1 + src/services/storedValue/storedValueApi.ts | 1 + src/services/transfers/capitalApi.ts | 1 + src/services/transfers/transactionsApi.ts | 3 +- src/services/transfers/transfersApi.ts | 4 +- .../approveAssociationRequest.ts | 65 ++++++ .../approveAssociationResponse.ts | 38 ++++ src/typings/balancePlatform/association.ts | 65 ++++++ .../balancePlatform/associationListing.ts | 93 ++++++++ .../balancePlatform/associationStatus.ts | 13 ++ .../balancePlatform/balanceWebhookSetting.ts | 2 + .../beginScaDeviceRegistrationRequest.ts | 46 ++++ .../beginScaDeviceRegistrationResponse.ts | 45 ++++ .../finishScaDeviceRegistrationRequest.ts | 36 +++ .../finishScaDeviceRegistrationResponse.ts | 35 +++ .../listAssociationsResponse.ts | 66 ++++++ src/typings/balancePlatform/models.ts | 17 ++ .../balancePlatform/objectSerializer.ts | 40 +++- .../removeAssociationRequest.ts | 57 +++++ src/typings/balancePlatform/scaDevice.ts | 61 ++++++ src/typings/balancePlatform/scaDeviceType.ts | 14 ++ src/typings/balancePlatform/scaEntity.ts | 47 ++++ src/typings/balancePlatform/scaEntityType.ts | 13 ++ .../submitScaAssociationRequest.ts | 38 ++++ .../submitScaAssociationResponse.ts | 38 ++++ src/typings/checkout/achDetails.ts | 10 + src/typings/checkout/additionalDataLevel23.ts | 2 +- src/typings/checkout/affirmDetails.ts | 10 + src/typings/checkout/afterpayDetails.ts | 10 + src/typings/checkout/amazonPayDetails.ts | 10 + src/typings/checkout/ancvDetails.ts | 10 + src/typings/checkout/androidPayDetails.ts | 10 + src/typings/checkout/applePayDetails.ts | 10 + src/typings/checkout/applePayDonations.ts | 10 + .../checkout/bacsDirectDebitDetails.ts | 10 + src/typings/checkout/balanceCheckRequest.ts | 2 +- src/typings/checkout/billDeskDetails.ts | 10 + src/typings/checkout/blikDetails.ts | 10 + src/typings/checkout/cardDetails.ts | 20 ++ src/typings/checkout/cardDonations.ts | 20 ++ src/typings/checkout/cashAppDetails.ts | 10 + src/typings/checkout/cellulantDetails.ts | 10 + .../checkout/checkoutBankTransferAction.ts | 20 ++ src/typings/checkout/dokuDetails.ts | 10 + .../checkout/donationPaymentRequest.ts | 4 +- .../donationPaymentRequestPaymentMethod.ts | 4 +- src/typings/checkout/dragonpayDetails.ts | 10 + .../checkout/eBankingFinlandDetails.ts | 10 + .../checkout/econtextVoucherDetails.ts | 10 + src/typings/checkout/eftDetails.ts | 10 + src/typings/checkout/fastlaneDetails.ts | 10 + .../genericIssuerPaymentMethodDetails.ts | 13 +- src/typings/checkout/googlePayDetails.ts | 10 + src/typings/checkout/googlePayDonations.ts | 10 + src/typings/checkout/idealDetails.ts | 10 + src/typings/checkout/idealDonations.ts | 10 + src/typings/checkout/klarnaDetails.ts | 10 + src/typings/checkout/masterpassDetails.ts | 10 + src/typings/checkout/mbwayDetails.ts | 10 + src/typings/checkout/mobilePayDetails.ts | 10 + src/typings/checkout/models.ts | 6 + src/typings/checkout/molPayDetails.ts | 10 + src/typings/checkout/objectSerializer.ts | 16 ++ src/typings/checkout/openInvoiceDetails.ts | 10 + .../payByBankAISDirectDebitDetails.ts | 10 + src/typings/checkout/payByBankDetails.ts | 10 + src/typings/checkout/payPalDetails.ts | 10 + src/typings/checkout/payPayDetails.ts | 10 + src/typings/checkout/payToDetails.ts | 10 + src/typings/checkout/payUUpiDetails.ts | 10 + src/typings/checkout/payWithGoogleDetails.ts | 10 + .../checkout/payWithGoogleDonations.ts | 10 + src/typings/checkout/paymentDetails.ts | 12 +- .../checkout/paymentDetailsResponse.ts | 8 + src/typings/checkout/paymentRequest.ts | 10 +- src/typings/checkout/paymentResponse.ts | 8 + src/typings/checkout/paymentValidations.ts | 35 +++ .../paymentValidationsNameResponse.ts | 60 +++++ ...paymentValidationsNameResultRawResponse.ts | 76 +++++++ .../paymentValidationsNameResultResponse.ts | 66 ++++++ .../checkout/paymentValidationsResponse.ts | 35 +++ src/typings/checkout/pixDetails.ts | 10 + src/typings/checkout/pseDetails.ts | 10 + src/typings/checkout/rakutenPayDetails.ts | 10 + src/typings/checkout/ratepayDetails.ts | 10 + .../checkout/responseAdditionalDataSepa.ts | 10 + src/typings/checkout/rivertyDetails.ts | 10 + src/typings/checkout/samsungPayDetails.ts | 10 + .../checkout/sepaDirectDebitDetails.ts | 20 ++ .../checkout/storedPaymentMethodDetails.ts | 10 + .../checkout/storedPaymentMethodResource.ts | 9 + src/typings/checkout/tokenMandate.ts | 207 ++++++++++++++++++ src/typings/checkout/twintDetails.ts | 10 + src/typings/checkout/upiCollectDetails.ts | 10 + src/typings/checkout/upiIntentDetails.ts | 10 + src/typings/checkout/upiQrDetails.ts | 10 + src/typings/checkout/vippsDetails.ts | 10 + src/typings/checkout/visaCheckoutDetails.ts | 10 + src/typings/checkout/weChatPayDetails.ts | 10 + .../checkout/weChatPayMiniProgramDetails.ts | 33 +++ src/typings/checkout/zipDetails.ts | 10 + .../legalEntityManagement/financialReport.ts | 2 +- src/typings/management/affirmInfo.ts | 17 ++ src/typings/management/cardholderReceipt.ts | 2 +- src/typings/management/key.ts | 2 +- src/typings/management/models.ts | 2 + src/typings/management/objectSerializer.ts | 6 + src/typings/management/paymentMethod.ts | 16 ++ .../management/paymentMethodResponse.ts | 3 + .../management/paymentMethodSetupInfo.ts | 19 ++ src/typings/management/svsInfo.ts | 46 ++++ src/typings/management/valueLinkInfo.ts | 72 ++++++ src/typings/payment/additionalDataLevel23.ts | 2 +- src/typings/payment/paymentRequest.ts | 2 +- src/typings/payment/paymentRequest3d.ts | 2 +- src/typings/payment/paymentRequest3ds2.ts | 2 +- .../payment/responseAdditionalDataSepa.ts | 10 + .../accountHolderResource.ts | 1 + .../balanceAccountResource.ts | 1 + .../legalEntityResource.ts | 1 + .../merchantAccountResource.ts | 1 + .../paymentInstrumentResource.ts | 1 + .../transferWebhooks/transferDataTracking.ts | 8 +- 197 files changed, 2559 insertions(+), 28 deletions(-) create mode 100644 src/services/balancePlatform/sCAAssociationManagementApi.ts create mode 100644 src/services/balancePlatform/sCADeviceManagementApi.ts create mode 100644 src/typings/balancePlatform/approveAssociationRequest.ts create mode 100644 src/typings/balancePlatform/approveAssociationResponse.ts create mode 100644 src/typings/balancePlatform/association.ts create mode 100644 src/typings/balancePlatform/associationListing.ts create mode 100644 src/typings/balancePlatform/associationStatus.ts create mode 100644 src/typings/balancePlatform/beginScaDeviceRegistrationRequest.ts create mode 100644 src/typings/balancePlatform/beginScaDeviceRegistrationResponse.ts create mode 100644 src/typings/balancePlatform/finishScaDeviceRegistrationRequest.ts create mode 100644 src/typings/balancePlatform/finishScaDeviceRegistrationResponse.ts create mode 100644 src/typings/balancePlatform/listAssociationsResponse.ts create mode 100644 src/typings/balancePlatform/removeAssociationRequest.ts create mode 100644 src/typings/balancePlatform/scaDevice.ts create mode 100644 src/typings/balancePlatform/scaDeviceType.ts create mode 100644 src/typings/balancePlatform/scaEntity.ts create mode 100644 src/typings/balancePlatform/scaEntityType.ts create mode 100644 src/typings/balancePlatform/submitScaAssociationRequest.ts create mode 100644 src/typings/balancePlatform/submitScaAssociationResponse.ts create mode 100644 src/typings/checkout/paymentValidations.ts create mode 100644 src/typings/checkout/paymentValidationsNameResponse.ts create mode 100644 src/typings/checkout/paymentValidationsNameResultRawResponse.ts create mode 100644 src/typings/checkout/paymentValidationsNameResultResponse.ts create mode 100644 src/typings/checkout/paymentValidationsResponse.ts create mode 100644 src/typings/checkout/tokenMandate.ts create mode 100644 src/typings/management/svsInfo.ts create mode 100644 src/typings/management/valueLinkInfo.ts diff --git a/src/services/balancePlatform/accountHoldersApi.ts b/src/services/balancePlatform/accountHoldersApi.ts index cdc3d9360..553a3eb46 100644 --- a/src/services/balancePlatform/accountHoldersApi.ts +++ b/src/services/balancePlatform/accountHoldersApi.ts @@ -20,6 +20,7 @@ import { AccountHolderInfo } from "../../typings/balancePlatform/models"; import { AccountHolderUpdateRequest } from "../../typings/balancePlatform/models"; import { GetTaxFormResponse } from "../../typings/balancePlatform/models"; import { PaginatedBalanceAccountsResponse } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; /** @@ -133,7 +134,7 @@ export class AccountHoldersApi extends Service { * @param legalEntityId {@link string } The legal entity reference whose tax form you want to retrieve * @return {@link GetTaxFormResponse } */ - public async getTaxForm(id: string, formType: "US1099k" | "US1099nec", year: number, legalEntityId?: string, requestOptions?: IRequest.Options): Promise { + public async getTaxForm(id: string, formType: 'US1099k' | 'US1099nec', year: number, legalEntityId?: string, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/accountHolders/{id}/taxForms` .replace("{" + "id" + "}", encodeURIComponent(String(id))); const resource = new Resource(this, endpoint); diff --git a/src/services/balancePlatform/authorizedCardUsersApi.ts b/src/services/balancePlatform/authorizedCardUsersApi.ts index 65b428924..ac8cc478d 100644 --- a/src/services/balancePlatform/authorizedCardUsersApi.ts +++ b/src/services/balancePlatform/authorizedCardUsersApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { AuthorisedCardUsers } from "../../typings/balancePlatform/models"; +import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; /** * API handler for AuthorizedCardUsersApi diff --git a/src/services/balancePlatform/balanceAccountsApi.ts b/src/services/balancePlatform/balanceAccountsApi.ts index a40814d96..10ef7ab87 100644 --- a/src/services/balancePlatform/balanceAccountsApi.ts +++ b/src/services/balancePlatform/balanceAccountsApi.ts @@ -21,6 +21,7 @@ import { BalanceAccountUpdateRequest } from "../../typings/balancePlatform/model import { BalanceSweepConfigurationsResponse } from "../../typings/balancePlatform/models"; import { CreateSweepConfigurationV2 } from "../../typings/balancePlatform/models"; import { PaginatedPaymentInstrumentsResponse } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { SweepConfigurationV2 } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; import { UpdateSweepConfigurationV2 } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/balancesApi.ts b/src/services/balancePlatform/balancesApi.ts index ce43eaf34..f4abdf744 100644 --- a/src/services/balancePlatform/balancesApi.ts +++ b/src/services/balancePlatform/balancesApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { BalanceWebhookSettingInfo } from "../../typings/balancePlatform/models"; import { BalanceWebhookSettingInfoUpdate } from "../../typings/balancePlatform/models"; +import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; import { WebhookSetting } from "../../typings/balancePlatform/models"; import { WebhookSettings } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/bankAccountValidationApi.ts b/src/services/balancePlatform/bankAccountValidationApi.ts index 5ecdd1c25..ff54fafc9 100644 --- a/src/services/balancePlatform/bankAccountValidationApi.ts +++ b/src/services/balancePlatform/bankAccountValidationApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { BankAccountIdentificationValidationRequest } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; /** * API handler for BankAccountValidationApi diff --git a/src/services/balancePlatform/cardOrdersApi.ts b/src/services/balancePlatform/cardOrdersApi.ts index 1579f71f8..66ef74d95 100644 --- a/src/services/balancePlatform/cardOrdersApi.ts +++ b/src/services/balancePlatform/cardOrdersApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { PaginatedGetCardOrderItemResponse } from "../../typings/balancePlatform/models"; import { PaginatedGetCardOrderResponse } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; /** * API handler for CardOrdersApi diff --git a/src/services/balancePlatform/grantAccountsApi.ts b/src/services/balancePlatform/grantAccountsApi.ts index 25cc1651a..d27a58b87 100644 --- a/src/services/balancePlatform/grantAccountsApi.ts +++ b/src/services/balancePlatform/grantAccountsApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { CapitalGrantAccount } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; /** * API handler for GrantAccountsApi diff --git a/src/services/balancePlatform/grantOffersApi.ts b/src/services/balancePlatform/grantOffersApi.ts index 87f5e6467..aa55bdb98 100644 --- a/src/services/balancePlatform/grantOffersApi.ts +++ b/src/services/balancePlatform/grantOffersApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { GrantOffer } from "../../typings/balancePlatform/models"; import { GrantOffers } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; /** * API handler for GrantOffersApi diff --git a/src/services/balancePlatform/index.ts b/src/services/balancePlatform/index.ts index ea649cd38..0db1994f1 100644 --- a/src/services/balancePlatform/index.ts +++ b/src/services/balancePlatform/index.ts @@ -21,6 +21,8 @@ import { NetworkTokensApi } from "./networkTokensApi"; import { PaymentInstrumentGroupsApi } from "./paymentInstrumentGroupsApi"; import { PaymentInstrumentsApi } from "./paymentInstrumentsApi"; import { PlatformApi } from "./platformApi"; +import { SCAAssociationManagementApi } from "./sCAAssociationManagementApi"; +import { SCADeviceManagementApi } from "./sCADeviceManagementApi"; import { TransactionRulesApi } from "./transactionRulesApi"; import { TransferLimitsBalanceAccountLevelApi } from "./transferLimitsBalanceAccountLevelApi"; import { TransferLimitsBalancePlatformLevelApi } from "./transferLimitsBalancePlatformLevelApi"; @@ -91,6 +93,14 @@ export default class BalancePlatformAPI extends Service { return new PlatformApi(this.client); } + public get SCAAssociationManagementApi() { + return new SCAAssociationManagementApi(this.client); + } + + public get SCADeviceManagementApi() { + return new SCADeviceManagementApi(this.client); + } + public get TransactionRulesApi() { return new TransactionRulesApi(this.client); } diff --git a/src/services/balancePlatform/manageCardPINApi.ts b/src/services/balancePlatform/manageCardPINApi.ts index 763493a72..a9cb3127e 100644 --- a/src/services/balancePlatform/manageCardPINApi.ts +++ b/src/services/balancePlatform/manageCardPINApi.ts @@ -18,6 +18,7 @@ import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer import { PinChangeRequest } from "../../typings/balancePlatform/models"; import { PinChangeResponse } from "../../typings/balancePlatform/models"; import { PublicKeyResponse } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { RevealPinRequest } from "../../typings/balancePlatform/models"; import { RevealPinResponse } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/manageSCADevicesApi.ts b/src/services/balancePlatform/manageSCADevicesApi.ts index 6041c1e29..593d88f81 100644 --- a/src/services/balancePlatform/manageSCADevicesApi.ts +++ b/src/services/balancePlatform/manageSCADevicesApi.ts @@ -22,6 +22,7 @@ import { AssociationInitiateResponse } from "../../typings/balancePlatform/model import { RegisterSCAFinalResponse } from "../../typings/balancePlatform/models"; import { RegisterSCARequest } from "../../typings/balancePlatform/models"; import { RegisterSCAResponse } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { SearchRegisteredDevicesResponse } from "../../typings/balancePlatform/models"; /** diff --git a/src/services/balancePlatform/networkTokensApi.ts b/src/services/balancePlatform/networkTokensApi.ts index 1ee1b904d..c2619d002 100644 --- a/src/services/balancePlatform/networkTokensApi.ts +++ b/src/services/balancePlatform/networkTokensApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { GetNetworkTokenResponse } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { UpdateNetworkTokenRequest } from "../../typings/balancePlatform/models"; /** diff --git a/src/services/balancePlatform/paymentInstrumentGroupsApi.ts b/src/services/balancePlatform/paymentInstrumentGroupsApi.ts index 5d330c23b..54ba69df7 100644 --- a/src/services/balancePlatform/paymentInstrumentGroupsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentGroupsApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { PaymentInstrumentGroup } from "../../typings/balancePlatform/models"; import { PaymentInstrumentGroupInfo } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; /** diff --git a/src/services/balancePlatform/paymentInstrumentsApi.ts b/src/services/balancePlatform/paymentInstrumentsApi.ts index 85ef353c2..b5848c94c 100644 --- a/src/services/balancePlatform/paymentInstrumentsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentsApi.ts @@ -24,6 +24,7 @@ import { PaymentInstrumentRevealInfo } from "../../typings/balancePlatform/model import { PaymentInstrumentRevealRequest } from "../../typings/balancePlatform/models"; import { PaymentInstrumentRevealResponse } from "../../typings/balancePlatform/models"; import { PaymentInstrumentUpdateRequest } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; import { UpdatePaymentInstrument } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/platformApi.ts b/src/services/balancePlatform/platformApi.ts index bf068a966..1a0a04c7c 100644 --- a/src/services/balancePlatform/platformApi.ts +++ b/src/services/balancePlatform/platformApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { BalancePlatform } from "../../typings/balancePlatform/models"; import { PaginatedAccountHoldersResponse } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; /** diff --git a/src/services/balancePlatform/sCAAssociationManagementApi.ts b/src/services/balancePlatform/sCAAssociationManagementApi.ts new file mode 100644 index 000000000..a64b73fac --- /dev/null +++ b/src/services/balancePlatform/sCAAssociationManagementApi.ts @@ -0,0 +1,107 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +import getJsonResponse from "../../helpers/getJsonResponse"; +import Service from "../../service"; +import Client from "../../client"; +import { IRequest } from "../../typings/requestOptions"; +import Resource from "../resource"; + +import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; +import { ApproveAssociationRequest } from "../../typings/balancePlatform/models"; +import { ApproveAssociationResponse } from "../../typings/balancePlatform/models"; +import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; +import { ListAssociationsResponse } from "../../typings/balancePlatform/models"; +import { RemoveAssociationRequest } from "../../typings/balancePlatform/models"; +import { ScaEntityType } from "../../typings/balancePlatform/models"; + +/** + * API handler for SCAAssociationManagementApi + */ +export class SCAAssociationManagementApi extends Service { + + private readonly API_BASEPATH: string = "https://balanceplatform-api-test.adyen.com/bcl/v2"; + private baseUrl: string; + + public constructor(client: Client){ + super(client); + this.baseUrl = this.createBaseUrl(this.API_BASEPATH); + } + + /** + * @summary Approve a pending approval association + * @param approveAssociationRequest {@link ApproveAssociationRequest } + * @param requestOptions {@link IRequest.Options } + * @return {@link ApproveAssociationResponse } + */ + public async approveAssociation(approveAssociationRequest: ApproveAssociationRequest, requestOptions?: IRequest.Options): Promise { + const endpoint = `${this.baseUrl}/scaAssociations`; + const resource = new Resource(this, endpoint); + + const request: ApproveAssociationRequest = ObjectSerializer.serialize(approveAssociationRequest, "ApproveAssociationRequest"); + const response = await getJsonResponse( + resource, + request, + { ...requestOptions, method: "PATCH" } + ); + + return ObjectSerializer.deserialize(response, "ApproveAssociationResponse"); + } + + /** + * @summary Get a list of devices associated with an entity + * @param requestOptions {@link IRequest.Options } + * @param entityType {@link ScaEntityType } (Required) The type of entity you want to retrieve a list of associations for. Possible values: **accountHolder** or **paymentInstrument**. + * @param entityId {@link string } (Required) The unique identifier of the entity. + * @param pageSize {@link number } (Required) The number of items to have on a page. Default: **5**. + * @param pageNumber {@link number } (Required) The index of the page to retrieve. The index of the first page is **0** (zero). Default: **0**. + * @return {@link ListAssociationsResponse } + */ + public async listAssociations(entityType: ScaEntityType, entityId: string, pageSize: number, pageNumber: number, requestOptions?: IRequest.Options): Promise { + const endpoint = `${this.baseUrl}/scaAssociations`; + const resource = new Resource(this, endpoint); + + const hasDefinedQueryParams = entityType ?? entityId ?? pageSize ?? pageNumber; + if(hasDefinedQueryParams) { + if(!requestOptions) requestOptions = {}; + if(!requestOptions.params) requestOptions.params = {}; + if(entityType) requestOptions.params["entityType"] = entityType; + if(entityId) requestOptions.params["entityId"] = entityId; + if(pageSize) requestOptions.params["pageSize"] = pageSize; + if(pageNumber) requestOptions.params["pageNumber"] = pageNumber; + } + const response = await getJsonResponse( + resource, + "", + { ...requestOptions, method: "GET" } + ); + + return ObjectSerializer.deserialize(response, "ListAssociationsResponse"); + } + + /** + * @summary Delete association to devices + * @param removeAssociationRequest {@link RemoveAssociationRequest } + * @param requestOptions {@link IRequest.Options } + * @return {@link void } + */ + public async removeAssociation(removeAssociationRequest: RemoveAssociationRequest, requestOptions?: IRequest.Options): Promise { + const endpoint = `${this.baseUrl}/scaAssociations`; + const resource = new Resource(this, endpoint); + + const request: RemoveAssociationRequest = ObjectSerializer.serialize(removeAssociationRequest, "RemoveAssociationRequest"); + await getJsonResponse( + resource, + request, + { ...requestOptions, method: "DELETE" } + ); + } + +} diff --git a/src/services/balancePlatform/sCADeviceManagementApi.ts b/src/services/balancePlatform/sCADeviceManagementApi.ts new file mode 100644 index 000000000..72c32f167 --- /dev/null +++ b/src/services/balancePlatform/sCADeviceManagementApi.ts @@ -0,0 +1,103 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +import getJsonResponse from "../../helpers/getJsonResponse"; +import Service from "../../service"; +import Client from "../../client"; +import { IRequest } from "../../typings/requestOptions"; +import Resource from "../resource"; + +import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; +import { BeginScaDeviceRegistrationRequest } from "../../typings/balancePlatform/models"; +import { BeginScaDeviceRegistrationResponse } from "../../typings/balancePlatform/models"; +import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; +import { FinishScaDeviceRegistrationRequest } from "../../typings/balancePlatform/models"; +import { FinishScaDeviceRegistrationResponse } from "../../typings/balancePlatform/models"; +import { SubmitScaAssociationRequest } from "../../typings/balancePlatform/models"; +import { SubmitScaAssociationResponse } from "../../typings/balancePlatform/models"; + +/** + * API handler for SCADeviceManagementApi + */ +export class SCADeviceManagementApi extends Service { + + private readonly API_BASEPATH: string = "https://balanceplatform-api-test.adyen.com/bcl/v2"; + private baseUrl: string; + + public constructor(client: Client){ + super(client); + this.baseUrl = this.createBaseUrl(this.API_BASEPATH); + } + + /** + * @summary Begin SCA device registration + * @param beginScaDeviceRegistrationRequest {@link BeginScaDeviceRegistrationRequest } + * @param requestOptions {@link IRequest.Options } + * @return {@link BeginScaDeviceRegistrationResponse } + */ + public async beginScaDeviceRegistration(beginScaDeviceRegistrationRequest: BeginScaDeviceRegistrationRequest, requestOptions?: IRequest.Options): Promise { + const endpoint = `${this.baseUrl}/scaDevices`; + const resource = new Resource(this, endpoint); + + const request: BeginScaDeviceRegistrationRequest = ObjectSerializer.serialize(beginScaDeviceRegistrationRequest, "BeginScaDeviceRegistrationRequest"); + const response = await getJsonResponse( + resource, + request, + { ...requestOptions, method: "POST" } + ); + + return ObjectSerializer.deserialize(response, "BeginScaDeviceRegistrationResponse"); + } + + /** + * @summary Finish registration process for a SCA device + * @param deviceId {@link string } The unique identifier of the SCA device that you are associating with a resource. + * @param finishScaDeviceRegistrationRequest {@link FinishScaDeviceRegistrationRequest } + * @param requestOptions {@link IRequest.Options } + * @return {@link FinishScaDeviceRegistrationResponse } + */ + public async finishScaDeviceRegistration(deviceId: string, finishScaDeviceRegistrationRequest: FinishScaDeviceRegistrationRequest, requestOptions?: IRequest.Options): Promise { + const endpoint = `${this.baseUrl}/scaDevices/{deviceId}` + .replace("{" + "deviceId" + "}", encodeURIComponent(String(deviceId))); + const resource = new Resource(this, endpoint); + + const request: FinishScaDeviceRegistrationRequest = ObjectSerializer.serialize(finishScaDeviceRegistrationRequest, "FinishScaDeviceRegistrationRequest"); + const response = await getJsonResponse( + resource, + request, + { ...requestOptions, method: "PATCH" } + ); + + return ObjectSerializer.deserialize(response, "FinishScaDeviceRegistrationResponse"); + } + + /** + * @summary Create a new SCA association for a device + * @param deviceId {@link string } The unique identifier of the SCA device that you are associating with a resource. + * @param submitScaAssociationRequest {@link SubmitScaAssociationRequest } + * @param requestOptions {@link IRequest.Options } + * @return {@link SubmitScaAssociationResponse } + */ + public async submitScaAssociation(deviceId: string, submitScaAssociationRequest: SubmitScaAssociationRequest, requestOptions?: IRequest.Options): Promise { + const endpoint = `${this.baseUrl}/scaDevices/{deviceId}/scaAssociations` + .replace("{" + "deviceId" + "}", encodeURIComponent(String(deviceId))); + const resource = new Resource(this, endpoint); + + const request: SubmitScaAssociationRequest = ObjectSerializer.serialize(submitScaAssociationRequest, "SubmitScaAssociationRequest"); + const response = await getJsonResponse( + resource, + request, + { ...requestOptions, method: "POST" } + ); + + return ObjectSerializer.deserialize(response, "SubmitScaAssociationResponse"); + } + +} diff --git a/src/services/balancePlatform/transactionRulesApi.ts b/src/services/balancePlatform/transactionRulesApi.ts index f60370dd7..61143e9eb 100644 --- a/src/services/balancePlatform/transactionRulesApi.ts +++ b/src/services/balancePlatform/transactionRulesApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRule } from "../../typings/balancePlatform/models"; import { TransactionRuleInfo } from "../../typings/balancePlatform/models"; import { TransactionRuleResponse } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/transferLimitsBalanceAccountLevelApi.ts b/src/services/balancePlatform/transferLimitsBalanceAccountLevelApi.ts index b221f4023..902515e30 100644 --- a/src/services/balancePlatform/transferLimitsBalanceAccountLevelApi.ts +++ b/src/services/balancePlatform/transferLimitsBalanceAccountLevelApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { ApproveTransferLimitRequest } from "../../typings/balancePlatform/models"; import { CreateTransferLimitRequest } from "../../typings/balancePlatform/models"; +import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; import { LimitStatus } from "../../typings/balancePlatform/models"; import { Scope } from "../../typings/balancePlatform/models"; import { TransferLimit } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/transferLimitsBalancePlatformLevelApi.ts b/src/services/balancePlatform/transferLimitsBalancePlatformLevelApi.ts index d29ad1c80..b8278dcf0 100644 --- a/src/services/balancePlatform/transferLimitsBalancePlatformLevelApi.ts +++ b/src/services/balancePlatform/transferLimitsBalancePlatformLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { CreateTransferLimitRequest } from "../../typings/balancePlatform/models"; +import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; import { LimitStatus } from "../../typings/balancePlatform/models"; import { Scope } from "../../typings/balancePlatform/models"; import { TransferLimit } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/transferRoutesApi.ts b/src/services/balancePlatform/transferRoutesApi.ts index edd6e3762..0557a82c8 100644 --- a/src/services/balancePlatform/transferRoutesApi.ts +++ b/src/services/balancePlatform/transferRoutesApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransferRouteRequest } from "../../typings/balancePlatform/models"; import { TransferRouteResponse } from "../../typings/balancePlatform/models"; diff --git a/src/services/binLookup/binLookupApi.ts b/src/services/binLookup/binLookupApi.ts index 32a038175..d3b9cd899 100644 --- a/src/services/binLookup/binLookupApi.ts +++ b/src/services/binLookup/binLookupApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/binLookup/objectSerializer"; import { CostEstimateRequest } from "../../typings/binLookup/models"; import { CostEstimateResponse } from "../../typings/binLookup/models"; +import { ServiceError } from "../../typings/binLookup/models"; import { ThreeDSAvailabilityRequest } from "../../typings/binLookup/models"; import { ThreeDSAvailabilityResponse } from "../../typings/binLookup/models"; diff --git a/src/services/checkout/donationsApi.ts b/src/services/checkout/donationsApi.ts index fb077d305..25c999f49 100644 --- a/src/services/checkout/donationsApi.ts +++ b/src/services/checkout/donationsApi.ts @@ -19,6 +19,7 @@ import { DonationCampaignsRequest } from "../../typings/checkout/models"; import { DonationCampaignsResponse } from "../../typings/checkout/models"; import { DonationPaymentRequest } from "../../typings/checkout/models"; import { DonationPaymentResponse } from "../../typings/checkout/models"; +import { ServiceError } from "../../typings/checkout/models"; /** * API handler for DonationsApi diff --git a/src/services/checkout/modificationsApi.ts b/src/services/checkout/modificationsApi.ts index 730237dde..328608f38 100644 --- a/src/services/checkout/modificationsApi.ts +++ b/src/services/checkout/modificationsApi.ts @@ -25,6 +25,7 @@ import { PaymentRefundRequest } from "../../typings/checkout/models"; import { PaymentRefundResponse } from "../../typings/checkout/models"; import { PaymentReversalRequest } from "../../typings/checkout/models"; import { PaymentReversalResponse } from "../../typings/checkout/models"; +import { ServiceError } from "../../typings/checkout/models"; import { StandalonePaymentCancelRequest } from "../../typings/checkout/models"; import { StandalonePaymentCancelResponse } from "../../typings/checkout/models"; diff --git a/src/services/checkout/ordersApi.ts b/src/services/checkout/ordersApi.ts index 3c34ea6dc..b3abc3ebd 100644 --- a/src/services/checkout/ordersApi.ts +++ b/src/services/checkout/ordersApi.ts @@ -21,6 +21,7 @@ import { CancelOrderRequest } from "../../typings/checkout/models"; import { CancelOrderResponse } from "../../typings/checkout/models"; import { CreateOrderRequest } from "../../typings/checkout/models"; import { CreateOrderResponse } from "../../typings/checkout/models"; +import { ServiceError } from "../../typings/checkout/models"; /** * API handler for OrdersApi diff --git a/src/services/checkout/paymentLinksApi.ts b/src/services/checkout/paymentLinksApi.ts index 37047adb2..57d9c0582 100644 --- a/src/services/checkout/paymentLinksApi.ts +++ b/src/services/checkout/paymentLinksApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/checkout/objectSerializer"; import { PaymentLinkRequest } from "../../typings/checkout/models"; import { PaymentLinkResponse } from "../../typings/checkout/models"; +import { ServiceError } from "../../typings/checkout/models"; import { UpdatePaymentLinkRequest } from "../../typings/checkout/models"; /** diff --git a/src/services/checkout/paymentsApi.ts b/src/services/checkout/paymentsApi.ts index e7ea34920..37f864cb7 100644 --- a/src/services/checkout/paymentsApi.ts +++ b/src/services/checkout/paymentsApi.ts @@ -25,6 +25,7 @@ import { PaymentMethodsRequest } from "../../typings/checkout/models"; import { PaymentMethodsResponse } from "../../typings/checkout/models"; import { PaymentRequest } from "../../typings/checkout/models"; import { PaymentResponse } from "../../typings/checkout/models"; +import { ServiceError } from "../../typings/checkout/models"; import { SessionResultResponse } from "../../typings/checkout/models"; /** diff --git a/src/services/checkout/utilityApi.ts b/src/services/checkout/utilityApi.ts index 829e5469e..ffefe4c8c 100644 --- a/src/services/checkout/utilityApi.ts +++ b/src/services/checkout/utilityApi.ts @@ -17,8 +17,10 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/checkout/objectSerializer"; import { ApplePaySessionRequest } from "../../typings/checkout/models"; import { ApplePaySessionResponse } from "../../typings/checkout/models"; +import { DefaultErrorResponseEntity } from "../../typings/checkout/models"; import { PaypalUpdateOrderRequest } from "../../typings/checkout/models"; import { PaypalUpdateOrderResponse } from "../../typings/checkout/models"; +import { ServiceError } from "../../typings/checkout/models"; import { UtilityRequest } from "../../typings/checkout/models"; import { UtilityResponse } from "../../typings/checkout/models"; import { ValidateShopperIdRequest } from "../../typings/checkout/models"; diff --git a/src/services/dataProtection/dataProtectionApi.ts b/src/services/dataProtection/dataProtectionApi.ts index adddf906b..e67116388 100644 --- a/src/services/dataProtection/dataProtectionApi.ts +++ b/src/services/dataProtection/dataProtectionApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/dataProtection/objectSerializer"; +import { ServiceError } from "../../typings/dataProtection/models"; import { SubjectErasureByPspReferenceRequest } from "../../typings/dataProtection/models"; import { SubjectErasureResponse } from "../../typings/dataProtection/models"; diff --git a/src/services/disputes/disputesApi.ts b/src/services/disputes/disputesApi.ts index 0a37921b3..eb71ab027 100644 --- a/src/services/disputes/disputesApi.ts +++ b/src/services/disputes/disputesApi.ts @@ -23,6 +23,7 @@ import { DefenseReasonsRequest } from "../../typings/disputes/models"; import { DefenseReasonsResponse } from "../../typings/disputes/models"; import { DeleteDefenseDocumentRequest } from "../../typings/disputes/models"; import { DeleteDefenseDocumentResponse } from "../../typings/disputes/models"; +import { ServiceError } from "../../typings/disputes/models"; import { SupplyDefenseDocumentRequest } from "../../typings/disputes/models"; import { SupplyDefenseDocumentResponse } from "../../typings/disputes/models"; diff --git a/src/services/legalEntityManagement/businessLinesApi.ts b/src/services/legalEntityManagement/businessLinesApi.ts index 9d9f1713a..a4ce660bc 100644 --- a/src/services/legalEntityManagement/businessLinesApi.ts +++ b/src/services/legalEntityManagement/businessLinesApi.ts @@ -18,6 +18,7 @@ import { ObjectSerializer } from "../../typings/legalEntityManagement/objectSeri import { BusinessLine } from "../../typings/legalEntityManagement/models"; import { BusinessLineInfo } from "../../typings/legalEntityManagement/models"; import { BusinessLineInfoUpdate } from "../../typings/legalEntityManagement/models"; +import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for BusinessLinesApi diff --git a/src/services/legalEntityManagement/documentsApi.ts b/src/services/legalEntityManagement/documentsApi.ts index 2b77b939f..2db5748ab 100644 --- a/src/services/legalEntityManagement/documentsApi.ts +++ b/src/services/legalEntityManagement/documentsApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/legalEntityManagement/objectSerializer"; import { Document } from "../../typings/legalEntityManagement/models"; +import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for DocumentsApi diff --git a/src/services/legalEntityManagement/hostedOnboardingApi.ts b/src/services/legalEntityManagement/hostedOnboardingApi.ts index 7c52bc63d..7743886b7 100644 --- a/src/services/legalEntityManagement/hostedOnboardingApi.ts +++ b/src/services/legalEntityManagement/hostedOnboardingApi.ts @@ -19,6 +19,7 @@ import { OnboardingLink } from "../../typings/legalEntityManagement/models"; import { OnboardingLinkInfo } from "../../typings/legalEntityManagement/models"; import { OnboardingTheme } from "../../typings/legalEntityManagement/models"; import { OnboardingThemes } from "../../typings/legalEntityManagement/models"; +import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for HostedOnboardingApi diff --git a/src/services/legalEntityManagement/legalEntitiesApi.ts b/src/services/legalEntityManagement/legalEntitiesApi.ts index 05866b989..2ceda925b 100644 --- a/src/services/legalEntityManagement/legalEntitiesApi.ts +++ b/src/services/legalEntityManagement/legalEntitiesApi.ts @@ -20,6 +20,7 @@ import { DataReviewConfirmationResponse } from "../../typings/legalEntityManagem import { LegalEntity } from "../../typings/legalEntityManagement/models"; import { LegalEntityInfo } from "../../typings/legalEntityManagement/models"; import { LegalEntityInfoRequiredType } from "../../typings/legalEntityManagement/models"; +import { ServiceError } from "../../typings/legalEntityManagement/models"; import { VerificationErrors } from "../../typings/legalEntityManagement/models"; /** @@ -135,6 +136,24 @@ export class LegalEntitiesApi extends Service { return ObjectSerializer.deserialize(response, "LegalEntity"); } + /** + * @summary Request periodic data review. + * @param id {@link string } The unique identifier of the legal entity. + * @param requestOptions {@link IRequest.Options } + * @return {@link void } + */ + public async requestPeriodicReview(id: string, requestOptions?: IRequest.Options): Promise { + const endpoint = `${this.baseUrl}/legalEntities/{id}/requestPeriodicReview` + .replace("{" + "id" + "}", encodeURIComponent(String(id))); + const resource = new Resource(this, endpoint); + + await getJsonResponse( + resource, + "", + { ...requestOptions, method: "POST" } + ); + } + /** * @summary Update a legal entity * @param id {@link string } The unique identifier of the legal entity. diff --git a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts index 38c01faa4..ae82e61cf 100644 --- a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts +++ b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts @@ -23,6 +23,7 @@ import { GetPciQuestionnaireInfosResponse } from "../../typings/legalEntityManag import { GetPciQuestionnaireResponse } from "../../typings/legalEntityManagement/models"; import { PciSigningRequest } from "../../typings/legalEntityManagement/models"; import { PciSigningResponse } from "../../typings/legalEntityManagement/models"; +import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for PCIQuestionnairesApi diff --git a/src/services/legalEntityManagement/taxEDeliveryConsentApi.ts b/src/services/legalEntityManagement/taxEDeliveryConsentApi.ts index 092cd7c1b..1505570a3 100644 --- a/src/services/legalEntityManagement/taxEDeliveryConsentApi.ts +++ b/src/services/legalEntityManagement/taxEDeliveryConsentApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/legalEntityManagement/objectSerializer"; import { CheckTaxElectronicDeliveryConsentResponse } from "../../typings/legalEntityManagement/models"; +import { ServiceError } from "../../typings/legalEntityManagement/models"; import { SetTaxElectronicDeliveryConsentRequest } from "../../typings/legalEntityManagement/models"; /** diff --git a/src/services/legalEntityManagement/termsOfServiceApi.ts b/src/services/legalEntityManagement/termsOfServiceApi.ts index fdba882c1..6b6bd28a8 100644 --- a/src/services/legalEntityManagement/termsOfServiceApi.ts +++ b/src/services/legalEntityManagement/termsOfServiceApi.ts @@ -22,6 +22,7 @@ import { GetAcceptedTermsOfServiceDocumentResponse } from "../../typings/legalEn import { GetTermsOfServiceAcceptanceInfosResponse } from "../../typings/legalEntityManagement/models"; import { GetTermsOfServiceDocumentRequest } from "../../typings/legalEntityManagement/models"; import { GetTermsOfServiceDocumentResponse } from "../../typings/legalEntityManagement/models"; +import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for TermsOfServiceApi diff --git a/src/services/legalEntityManagement/transferInstrumentsApi.ts b/src/services/legalEntityManagement/transferInstrumentsApi.ts index fa08dc974..af439c99c 100644 --- a/src/services/legalEntityManagement/transferInstrumentsApi.ts +++ b/src/services/legalEntityManagement/transferInstrumentsApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/legalEntityManagement/objectSerializer"; +import { ServiceError } from "../../typings/legalEntityManagement/models"; import { TransferInstrument } from "../../typings/legalEntityManagement/models"; import { TransferInstrumentInfo } from "../../typings/legalEntityManagement/models"; diff --git a/src/services/management/aPICredentialsCompanyLevelApi.ts b/src/services/management/aPICredentialsCompanyLevelApi.ts index 2d43153c3..a622ce177 100644 --- a/src/services/management/aPICredentialsCompanyLevelApi.ts +++ b/src/services/management/aPICredentialsCompanyLevelApi.ts @@ -19,6 +19,7 @@ import { CompanyApiCredential } from "../../typings/management/models"; import { CreateCompanyApiCredentialRequest } from "../../typings/management/models"; import { CreateCompanyApiCredentialResponse } from "../../typings/management/models"; import { ListCompanyApiCredentialsResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { UpdateCompanyApiCredentialRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/aPICredentialsMerchantLevelApi.ts b/src/services/management/aPICredentialsMerchantLevelApi.ts index 42dc3cad4..22042bdaa 100644 --- a/src/services/management/aPICredentialsMerchantLevelApi.ts +++ b/src/services/management/aPICredentialsMerchantLevelApi.ts @@ -19,6 +19,7 @@ import { ApiCredential } from "../../typings/management/models"; import { CreateApiCredentialResponse } from "../../typings/management/models"; import { CreateMerchantApiCredentialRequest } from "../../typings/management/models"; import { ListMerchantApiCredentialsResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { UpdateMerchantApiCredentialRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/aPIKeyCompanyLevelApi.ts b/src/services/management/aPIKeyCompanyLevelApi.ts index 5ad3a8a75..2af6384b7 100644 --- a/src/services/management/aPIKeyCompanyLevelApi.ts +++ b/src/services/management/aPIKeyCompanyLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { GenerateApiKeyResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for APIKeyCompanyLevelApi diff --git a/src/services/management/aPIKeyMerchantLevelApi.ts b/src/services/management/aPIKeyMerchantLevelApi.ts index 6a9808c31..966455712 100644 --- a/src/services/management/aPIKeyMerchantLevelApi.ts +++ b/src/services/management/aPIKeyMerchantLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { GenerateApiKeyResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for APIKeyMerchantLevelApi diff --git a/src/services/management/accountCompanyLevelApi.ts b/src/services/management/accountCompanyLevelApi.ts index e55965248..f98ddea53 100644 --- a/src/services/management/accountCompanyLevelApi.ts +++ b/src/services/management/accountCompanyLevelApi.ts @@ -18,6 +18,7 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Company } from "../../typings/management/models"; import { ListCompanyResponse } from "../../typings/management/models"; import { ListMerchantResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for AccountCompanyLevelApi diff --git a/src/services/management/accountMerchantLevelApi.ts b/src/services/management/accountMerchantLevelApi.ts index e22ffdebc..6693000dc 100644 --- a/src/services/management/accountMerchantLevelApi.ts +++ b/src/services/management/accountMerchantLevelApi.ts @@ -20,6 +20,7 @@ import { CreateMerchantResponse } from "../../typings/management/models"; import { ListMerchantResponse } from "../../typings/management/models"; import { Merchant } from "../../typings/management/models"; import { RequestActivationResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for AccountMerchantLevelApi diff --git a/src/services/management/accountStoreLevelApi.ts b/src/services/management/accountStoreLevelApi.ts index fd6c71231..3447954fd 100644 --- a/src/services/management/accountStoreLevelApi.ts +++ b/src/services/management/accountStoreLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { ListStoresResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { Store } from "../../typings/management/models"; import { StoreCreationRequest } from "../../typings/management/models"; import { StoreCreationWithMerchantCodeRequest } from "../../typings/management/models"; diff --git a/src/services/management/allowedOriginsCompanyLevelApi.ts b/src/services/management/allowedOriginsCompanyLevelApi.ts index 02eb8cc7c..6ba2a1ce4 100644 --- a/src/services/management/allowedOriginsCompanyLevelApi.ts +++ b/src/services/management/allowedOriginsCompanyLevelApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { AllowedOrigin } from "../../typings/management/models"; import { AllowedOriginsResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for AllowedOriginsCompanyLevelApi diff --git a/src/services/management/allowedOriginsMerchantLevelApi.ts b/src/services/management/allowedOriginsMerchantLevelApi.ts index 3b2481134..d4f122482 100644 --- a/src/services/management/allowedOriginsMerchantLevelApi.ts +++ b/src/services/management/allowedOriginsMerchantLevelApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { AllowedOrigin } from "../../typings/management/models"; import { AllowedOriginsResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for AllowedOriginsMerchantLevelApi diff --git a/src/services/management/androidFilesCompanyLevelApi.ts b/src/services/management/androidFilesCompanyLevelApi.ts index ccb2f5b42..f38e7940c 100644 --- a/src/services/management/androidFilesCompanyLevelApi.ts +++ b/src/services/management/androidFilesCompanyLevelApi.ts @@ -19,6 +19,7 @@ import { AndroidApp } from "../../typings/management/models"; import { AndroidAppsResponse } from "../../typings/management/models"; import { AndroidCertificatesResponse } from "../../typings/management/models"; import { ReprocessAndroidAppResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { UploadAndroidAppResponse } from "../../typings/management/models"; import { UploadAndroidCertificateResponse } from "../../typings/management/models"; diff --git a/src/services/management/clientKeyCompanyLevelApi.ts b/src/services/management/clientKeyCompanyLevelApi.ts index 90fdac5e5..d2165f8e1 100644 --- a/src/services/management/clientKeyCompanyLevelApi.ts +++ b/src/services/management/clientKeyCompanyLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { GenerateClientKeyResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for ClientKeyCompanyLevelApi diff --git a/src/services/management/clientKeyMerchantLevelApi.ts b/src/services/management/clientKeyMerchantLevelApi.ts index 9bf69808c..880f9657f 100644 --- a/src/services/management/clientKeyMerchantLevelApi.ts +++ b/src/services/management/clientKeyMerchantLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { GenerateClientKeyResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for ClientKeyMerchantLevelApi diff --git a/src/services/management/myAPICredentialApi.ts b/src/services/management/myAPICredentialApi.ts index db24ad8e4..8cd34d1d9 100644 --- a/src/services/management/myAPICredentialApi.ts +++ b/src/services/management/myAPICredentialApi.ts @@ -20,6 +20,7 @@ import { AllowedOriginsResponse } from "../../typings/management/models"; import { CreateAllowedOriginRequest } from "../../typings/management/models"; import { GenerateClientKeyResponse } from "../../typings/management/models"; import { MeApiCredential } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for MyAPICredentialApi diff --git a/src/services/management/paymentMethodsMerchantLevelApi.ts b/src/services/management/paymentMethodsMerchantLevelApi.ts index 088a7e103..a0f92d916 100644 --- a/src/services/management/paymentMethodsMerchantLevelApi.ts +++ b/src/services/management/paymentMethodsMerchantLevelApi.ts @@ -19,6 +19,7 @@ import { ApplePayInfo } from "../../typings/management/models"; import { PaymentMethod } from "../../typings/management/models"; import { PaymentMethodResponse } from "../../typings/management/models"; import { PaymentMethodSetupInfo } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { UpdatePaymentMethodInfo } from "../../typings/management/models"; /** diff --git a/src/services/management/payoutSettingsMerchantLevelApi.ts b/src/services/management/payoutSettingsMerchantLevelApi.ts index 3abce7b65..40d21d106 100644 --- a/src/services/management/payoutSettingsMerchantLevelApi.ts +++ b/src/services/management/payoutSettingsMerchantLevelApi.ts @@ -18,6 +18,7 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { PayoutSettings } from "../../typings/management/models"; import { PayoutSettingsRequest } from "../../typings/management/models"; import { PayoutSettingsResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { UpdatePayoutSettingsRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/splitConfigurationMerchantLevelApi.ts b/src/services/management/splitConfigurationMerchantLevelApi.ts index 16065c9f7..e918424f9 100644 --- a/src/services/management/splitConfigurationMerchantLevelApi.ts +++ b/src/services/management/splitConfigurationMerchantLevelApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; +import { RestServiceError } from "../../typings/management/models"; import { SplitConfiguration } from "../../typings/management/models"; import { SplitConfigurationList } from "../../typings/management/models"; import { SplitConfigurationRule } from "../../typings/management/models"; diff --git a/src/services/management/terminalActionsCompanyLevelApi.ts b/src/services/management/terminalActionsCompanyLevelApi.ts index 1f06ac54c..92f1edefc 100644 --- a/src/services/management/terminalActionsCompanyLevelApi.ts +++ b/src/services/management/terminalActionsCompanyLevelApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { ExternalTerminalAction } from "../../typings/management/models"; import { ListExternalTerminalActionsResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; /** * API handler for TerminalActionsCompanyLevelApi diff --git a/src/services/management/terminalActionsTerminalLevelApi.ts b/src/services/management/terminalActionsTerminalLevelApi.ts index 82440e1c1..870d79279 100644 --- a/src/services/management/terminalActionsTerminalLevelApi.ts +++ b/src/services/management/terminalActionsTerminalLevelApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; +import { RestServiceError } from "../../typings/management/models"; import { ScheduleTerminalActionsRequest } from "../../typings/management/models"; import { ScheduleTerminalActionsResponse } from "../../typings/management/models"; diff --git a/src/services/management/terminalOrdersCompanyLevelApi.ts b/src/services/management/terminalOrdersCompanyLevelApi.ts index 6f027b9cf..7566afc8b 100644 --- a/src/services/management/terminalOrdersCompanyLevelApi.ts +++ b/src/services/management/terminalOrdersCompanyLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { BillingEntitiesResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { ShippingLocation } from "../../typings/management/models"; import { ShippingLocationsResponse } from "../../typings/management/models"; import { TerminalModelsResponse } from "../../typings/management/models"; diff --git a/src/services/management/terminalOrdersMerchantLevelApi.ts b/src/services/management/terminalOrdersMerchantLevelApi.ts index af401acf4..0158e0826 100644 --- a/src/services/management/terminalOrdersMerchantLevelApi.ts +++ b/src/services/management/terminalOrdersMerchantLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { BillingEntitiesResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { ShippingLocation } from "../../typings/management/models"; import { ShippingLocationsResponse } from "../../typings/management/models"; import { TerminalModelsResponse } from "../../typings/management/models"; diff --git a/src/services/management/terminalSettingsCompanyLevelApi.ts b/src/services/management/terminalSettingsCompanyLevelApi.ts index f7e6ab7f6..c1646b9a6 100644 --- a/src/services/management/terminalSettingsCompanyLevelApi.ts +++ b/src/services/management/terminalSettingsCompanyLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Logo } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { TerminalSettings } from "../../typings/management/models"; /** diff --git a/src/services/management/terminalSettingsMerchantLevelApi.ts b/src/services/management/terminalSettingsMerchantLevelApi.ts index efacc8294..3497f25dd 100644 --- a/src/services/management/terminalSettingsMerchantLevelApi.ts +++ b/src/services/management/terminalSettingsMerchantLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Logo } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { TerminalSettings } from "../../typings/management/models"; /** diff --git a/src/services/management/terminalSettingsStoreLevelApi.ts b/src/services/management/terminalSettingsStoreLevelApi.ts index 3b756b936..81f070c12 100644 --- a/src/services/management/terminalSettingsStoreLevelApi.ts +++ b/src/services/management/terminalSettingsStoreLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Logo } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { TerminalSettings } from "../../typings/management/models"; /** diff --git a/src/services/management/terminalSettingsTerminalLevelApi.ts b/src/services/management/terminalSettingsTerminalLevelApi.ts index 690f6eeac..376b3c412 100644 --- a/src/services/management/terminalSettingsTerminalLevelApi.ts +++ b/src/services/management/terminalSettingsTerminalLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Logo } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { TerminalSettings } from "../../typings/management/models"; /** diff --git a/src/services/management/terminalsTerminalLevelApi.ts b/src/services/management/terminalsTerminalLevelApi.ts index 5f585fbb6..1b807d866 100644 --- a/src/services/management/terminalsTerminalLevelApi.ts +++ b/src/services/management/terminalsTerminalLevelApi.ts @@ -16,6 +16,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { ListTerminalsResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { TerminalReassignmentRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/usersCompanyLevelApi.ts b/src/services/management/usersCompanyLevelApi.ts index 784d5db34..2e2a49b9c 100644 --- a/src/services/management/usersCompanyLevelApi.ts +++ b/src/services/management/usersCompanyLevelApi.ts @@ -19,6 +19,7 @@ import { CompanyUser } from "../../typings/management/models"; import { CreateCompanyUserRequest } from "../../typings/management/models"; import { CreateCompanyUserResponse } from "../../typings/management/models"; import { ListCompanyUsersResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { UpdateCompanyUserRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/usersMerchantLevelApi.ts b/src/services/management/usersMerchantLevelApi.ts index f3685662b..a997a2b9d 100644 --- a/src/services/management/usersMerchantLevelApi.ts +++ b/src/services/management/usersMerchantLevelApi.ts @@ -18,6 +18,7 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { CreateMerchantUserRequest } from "../../typings/management/models"; import { CreateUserResponse } from "../../typings/management/models"; import { ListMerchantUsersResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { UpdateMerchantUserRequest } from "../../typings/management/models"; import { User } from "../../typings/management/models"; diff --git a/src/services/management/webhooksCompanyLevelApi.ts b/src/services/management/webhooksCompanyLevelApi.ts index b6a379acf..a778a5735 100644 --- a/src/services/management/webhooksCompanyLevelApi.ts +++ b/src/services/management/webhooksCompanyLevelApi.ts @@ -18,6 +18,7 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { CreateCompanyWebhookRequest } from "../../typings/management/models"; import { GenerateHmacKeyResponse } from "../../typings/management/models"; import { ListWebhooksResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { TestCompanyWebhookRequest } from "../../typings/management/models"; import { TestWebhookResponse } from "../../typings/management/models"; import { UpdateCompanyWebhookRequest } from "../../typings/management/models"; diff --git a/src/services/management/webhooksMerchantLevelApi.ts b/src/services/management/webhooksMerchantLevelApi.ts index 65b97b929..2521bdeb3 100644 --- a/src/services/management/webhooksMerchantLevelApi.ts +++ b/src/services/management/webhooksMerchantLevelApi.ts @@ -18,6 +18,7 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { CreateMerchantWebhookRequest } from "../../typings/management/models"; import { GenerateHmacKeyResponse } from "../../typings/management/models"; import { ListWebhooksResponse } from "../../typings/management/models"; +import { RestServiceError } from "../../typings/management/models"; import { TestWebhookRequest } from "../../typings/management/models"; import { TestWebhookResponse } from "../../typings/management/models"; import { UpdateMerchantWebhookRequest } from "../../typings/management/models"; diff --git a/src/services/payment/modificationsApi.ts b/src/services/payment/modificationsApi.ts index 8ef990a09..8c152e0f4 100644 --- a/src/services/payment/modificationsApi.ts +++ b/src/services/payment/modificationsApi.ts @@ -22,6 +22,7 @@ import { CaptureRequest } from "../../typings/payment/models"; import { DonationRequest } from "../../typings/payment/models"; import { ModificationResult } from "../../typings/payment/models"; import { RefundRequest } from "../../typings/payment/models"; +import { ServiceError } from "../../typings/payment/models"; import { TechnicalCancelRequest } from "../../typings/payment/models"; import { VoidPendingRefundRequest } from "../../typings/payment/models"; diff --git a/src/services/payment/paymentsApi.ts b/src/services/payment/paymentsApi.ts index 089f0b9e9..44e008adb 100644 --- a/src/services/payment/paymentsApi.ts +++ b/src/services/payment/paymentsApi.ts @@ -21,6 +21,7 @@ import { PaymentRequest } from "../../typings/payment/models"; import { PaymentRequest3d } from "../../typings/payment/models"; import { PaymentRequest3ds2 } from "../../typings/payment/models"; import { PaymentResult } from "../../typings/payment/models"; +import { ServiceError } from "../../typings/payment/models"; import { ThreeDS2ResultRequest } from "../../typings/payment/models"; import { ThreeDS2ResultResponse } from "../../typings/payment/models"; diff --git a/src/services/paymentsApp/paymentsAppApi.ts b/src/services/paymentsApp/paymentsAppApi.ts index 072a524f2..348588f80 100644 --- a/src/services/paymentsApp/paymentsAppApi.ts +++ b/src/services/paymentsApp/paymentsAppApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/paymentsApp/objectSerializer"; import { BoardingTokenRequest } from "../../typings/paymentsApp/models"; import { BoardingTokenResponse } from "../../typings/paymentsApp/models"; +import { DefaultErrorResponseEntity } from "../../typings/paymentsApp/models"; import { PaymentsAppResponse } from "../../typings/paymentsApp/models"; /** diff --git a/src/services/payout/initializationApi.ts b/src/services/payout/initializationApi.ts index 466ae007e..3857298f5 100644 --- a/src/services/payout/initializationApi.ts +++ b/src/services/payout/initializationApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/payout/objectSerializer"; +import { ServiceError } from "../../typings/payout/models"; import { StoreDetailAndSubmitRequest } from "../../typings/payout/models"; import { StoreDetailAndSubmitResponse } from "../../typings/payout/models"; import { StoreDetailRequest } from "../../typings/payout/models"; diff --git a/src/services/payout/instantPayoutsApi.ts b/src/services/payout/instantPayoutsApi.ts index 9c2043d21..cb821227c 100644 --- a/src/services/payout/instantPayoutsApi.ts +++ b/src/services/payout/instantPayoutsApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/payout/objectSerializer"; import { PayoutRequest } from "../../typings/payout/models"; import { PayoutResponse } from "../../typings/payout/models"; +import { ServiceError } from "../../typings/payout/models"; /** * API handler for InstantPayoutsApi diff --git a/src/services/payout/reviewingApi.ts b/src/services/payout/reviewingApi.ts index f90f70ad3..22ef2acb5 100644 --- a/src/services/payout/reviewingApi.ts +++ b/src/services/payout/reviewingApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/payout/objectSerializer"; import { ModifyRequest } from "../../typings/payout/models"; import { ModifyResponse } from "../../typings/payout/models"; +import { ServiceError } from "../../typings/payout/models"; /** * API handler for ReviewingApi diff --git a/src/services/recurring/recurringApi.ts b/src/services/recurring/recurringApi.ts index 9c703d544..64073fe08 100644 --- a/src/services/recurring/recurringApi.ts +++ b/src/services/recurring/recurringApi.ts @@ -27,13 +27,14 @@ import { RecurringDetailsRequest } from "../../typings/recurring/models"; import { RecurringDetailsResult } from "../../typings/recurring/models"; import { ScheduleAccountUpdaterRequest } from "../../typings/recurring/models"; import { ScheduleAccountUpdaterResult } from "../../typings/recurring/models"; +import { ServiceError } from "../../typings/recurring/models"; /** * API handler for RecurringApi */ export class RecurringApi extends Service { - private readonly API_BASEPATH: string = "https://pal-test.adyen.com/pal/servlet/Recurring/v68"; + private readonly API_BASEPATH: string = "https://paltokenization-test.adyen.com/pal/servlet/Recurring/v68"; private baseUrl: string; public constructor(client: Client){ diff --git a/src/services/sessionAuthentication/sessionAuthenticationApi.ts b/src/services/sessionAuthentication/sessionAuthenticationApi.ts index 204e77d3d..9492e5178 100644 --- a/src/services/sessionAuthentication/sessionAuthenticationApi.ts +++ b/src/services/sessionAuthentication/sessionAuthenticationApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/sessionAuthentication/objectSerializer"; import { AuthenticationSessionRequest } from "../../typings/sessionAuthentication/models"; import { AuthenticationSessionResponse } from "../../typings/sessionAuthentication/models"; +import { DefaultErrorResponseEntity } from "../../typings/sessionAuthentication/models"; /** * API handler for SessionAuthenticationApi diff --git a/src/services/storedValue/storedValueApi.ts b/src/services/storedValue/storedValueApi.ts index c3d2bc81f..e575250ba 100644 --- a/src/services/storedValue/storedValueApi.ts +++ b/src/services/storedValue/storedValueApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/storedValue/objectSerializer"; +import { ServiceError } from "../../typings/storedValue/models"; import { StoredValueBalanceCheckRequest } from "../../typings/storedValue/models"; import { StoredValueBalanceCheckResponse } from "../../typings/storedValue/models"; import { StoredValueBalanceMergeRequest } from "../../typings/storedValue/models"; diff --git a/src/services/transfers/capitalApi.ts b/src/services/transfers/capitalApi.ts index 7c6bb8b79..fc6bb23bb 100644 --- a/src/services/transfers/capitalApi.ts +++ b/src/services/transfers/capitalApi.ts @@ -18,6 +18,7 @@ import { ObjectSerializer } from "../../typings/transfers/objectSerializer"; import { CapitalGrant } from "../../typings/transfers/models"; import { CapitalGrantInfo } from "../../typings/transfers/models"; import { CapitalGrants } from "../../typings/transfers/models"; +import { RestServiceError } from "../../typings/transfers/models"; /** * API handler for CapitalApi diff --git a/src/services/transfers/transactionsApi.ts b/src/services/transfers/transactionsApi.ts index fd04b6217..e13f1c6e4 100644 --- a/src/services/transfers/transactionsApi.ts +++ b/src/services/transfers/transactionsApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/transfers/objectSerializer"; +import { RestServiceError } from "../../typings/transfers/models"; import { Transaction } from "../../typings/transfers/models"; import { TransactionSearchResponse } from "../../typings/transfers/models"; @@ -45,7 +46,7 @@ export class TransactionsApi extends Service { * @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page. * @return {@link TransactionSearchResponse } */ - public async getAllTransactions(createdSince: Date, createdUntil: Date, balancePlatform?: string, paymentInstrumentId?: string, accountHolderId?: string, balanceAccountId?: string, cursor?: string, sortOrder?: "asc" | "desc", limit?: number, requestOptions?: IRequest.Options): Promise { + public async getAllTransactions(createdSince: Date, createdUntil: Date, balancePlatform?: string, paymentInstrumentId?: string, accountHolderId?: string, balanceAccountId?: string, cursor?: string, sortOrder?: 'asc' | 'desc', limit?: number, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/transactions`; const resource = new Resource(this, endpoint); diff --git a/src/services/transfers/transfersApi.ts b/src/services/transfers/transfersApi.ts index 56d63f760..f728c465e 100644 --- a/src/services/transfers/transfersApi.ts +++ b/src/services/transfers/transfersApi.ts @@ -20,9 +20,11 @@ import { CancelTransfersRequest } from "../../typings/transfers/models"; import { FindTransfersResponse } from "../../typings/transfers/models"; import { ReturnTransferRequest } from "../../typings/transfers/models"; import { ReturnTransferResponse } from "../../typings/transfers/models"; +import { ServiceError } from "../../typings/transfers/models"; import { Transfer } from "../../typings/transfers/models"; import { TransferData } from "../../typings/transfers/models"; import { TransferInfo } from "../../typings/transfers/models"; +import { TransferServiceRestServiceError } from "../../typings/transfers/models"; /** * API handler for TransfersApi @@ -89,7 +91,7 @@ export class TransfersApi extends Service { * @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page. * @return {@link FindTransfersResponse } */ - public async getAllTransfers(createdSince: Date, createdUntil: Date, balancePlatform?: string, accountHolderId?: string, balanceAccountId?: string, paymentInstrumentId?: string, reference?: string, category?: "bank" | "card" | "grants" | "interest" | "internal" | "issuedCard" | "migration" | "platformPayment" | "topUp" | "upgrade", sortOrder?: "asc" | "desc", cursor?: string, limit?: number, requestOptions?: IRequest.Options): Promise { + public async getAllTransfers(createdSince: Date, createdUntil: Date, balancePlatform?: string, accountHolderId?: string, balanceAccountId?: string, paymentInstrumentId?: string, reference?: string, category?: 'bank' | 'card' | 'grants' | 'interest' | 'internal' | 'issuedCard' | 'migration' | 'platformPayment' | 'topUp' | 'upgrade', sortOrder?: 'asc' | 'desc', cursor?: string, limit?: number, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/transfers`; const resource = new Resource(this, endpoint); diff --git a/src/typings/balancePlatform/approveAssociationRequest.ts b/src/typings/balancePlatform/approveAssociationRequest.ts new file mode 100644 index 000000000..a88a281cd --- /dev/null +++ b/src/typings/balancePlatform/approveAssociationRequest.ts @@ -0,0 +1,65 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { AssociationStatus } from "./associationStatus"; +import { ScaEntityType } from "./scaEntityType"; + + +export class ApproveAssociationRequest { + /** + * The unique identifier of the entity. + */ + "entityId": string; + "entityType": ScaEntityType; + /** + * List of device ids associated to the entity that will be approved. + */ + "scaDeviceIds": Array; + "status": AssociationStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "entityId", + "baseName": "entityId", + "type": "string", + "format": "" + }, + { + "name": "entityType", + "baseName": "entityType", + "type": "ScaEntityType", + "format": "" + }, + { + "name": "scaDeviceIds", + "baseName": "scaDeviceIds", + "type": "Array", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "AssociationStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApproveAssociationRequest.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace ApproveAssociationRequest { +} diff --git a/src/typings/balancePlatform/approveAssociationResponse.ts b/src/typings/balancePlatform/approveAssociationResponse.ts new file mode 100644 index 000000000..86579983c --- /dev/null +++ b/src/typings/balancePlatform/approveAssociationResponse.ts @@ -0,0 +1,38 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { Association } from "./association"; + + +export class ApproveAssociationResponse { + /** + * The list of associations. + */ + "scaAssociations": Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "scaAssociations", + "baseName": "scaAssociations", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApproveAssociationResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/balancePlatform/association.ts b/src/typings/balancePlatform/association.ts new file mode 100644 index 000000000..698bc3e8a --- /dev/null +++ b/src/typings/balancePlatform/association.ts @@ -0,0 +1,65 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { AssociationStatus } from "./associationStatus"; +import { ScaEntityType } from "./scaEntityType"; + + +export class Association { + /** + * The unique identifier of the entity. + */ + "entityId": string; + "entityType": ScaEntityType; + /** + * The unique identifier for the SCA device. + */ + "scaDeviceId": string; + "status": AssociationStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "entityId", + "baseName": "entityId", + "type": "string", + "format": "" + }, + { + "name": "entityType", + "baseName": "entityType", + "type": "ScaEntityType", + "format": "" + }, + { + "name": "scaDeviceId", + "baseName": "scaDeviceId", + "type": "string", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "AssociationStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return Association.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace Association { +} diff --git a/src/typings/balancePlatform/associationListing.ts b/src/typings/balancePlatform/associationListing.ts new file mode 100644 index 000000000..b95e3c327 --- /dev/null +++ b/src/typings/balancePlatform/associationListing.ts @@ -0,0 +1,93 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { AssociationStatus } from "./associationStatus"; +import { ScaDeviceType } from "./scaDeviceType"; +import { ScaEntityType } from "./scaEntityType"; + + +export class AssociationListing { + /** + * The date and time when the association was created. + */ + "createdAt": Date; + /** + * The unique identifier of the entity. + */ + "entityId": string; + "entityType": ScaEntityType; + /** + * The unique identifier of the SCA device. + */ + "scaDeviceId": string; + /** + * The human-readable name for the SCA device that was registered. + */ + "scaDeviceName"?: string; + "scaDeviceType": ScaDeviceType; + "status": AssociationStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "createdAt", + "baseName": "createdAt", + "type": "Date", + "format": "date-time" + }, + { + "name": "entityId", + "baseName": "entityId", + "type": "string", + "format": "" + }, + { + "name": "entityType", + "baseName": "entityType", + "type": "ScaEntityType", + "format": "" + }, + { + "name": "scaDeviceId", + "baseName": "scaDeviceId", + "type": "string", + "format": "" + }, + { + "name": "scaDeviceName", + "baseName": "scaDeviceName", + "type": "string", + "format": "" + }, + { + "name": "scaDeviceType", + "baseName": "scaDeviceType", + "type": "ScaDeviceType", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "AssociationStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return AssociationListing.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace AssociationListing { +} diff --git a/src/typings/balancePlatform/associationStatus.ts b/src/typings/balancePlatform/associationStatus.ts new file mode 100644 index 000000000..cc0d25acd --- /dev/null +++ b/src/typings/balancePlatform/associationStatus.ts @@ -0,0 +1,13 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +export enum AssociationStatus { + PendingApproval = 'pendingApproval', + Active = 'active' +} diff --git a/src/typings/balancePlatform/balanceWebhookSetting.ts b/src/typings/balancePlatform/balanceWebhookSetting.ts index 46e02f59c..7b03f026f 100644 --- a/src/typings/balancePlatform/balanceWebhookSetting.ts +++ b/src/typings/balancePlatform/balanceWebhookSetting.ts @@ -8,6 +8,8 @@ */ import { Condition } from "./condition"; +import { SettingType } from "./settingType"; +import { Target } from "./target"; import { WebhookSetting } from "./webhookSetting"; diff --git a/src/typings/balancePlatform/beginScaDeviceRegistrationRequest.ts b/src/typings/balancePlatform/beginScaDeviceRegistrationRequest.ts new file mode 100644 index 000000000..078ca933a --- /dev/null +++ b/src/typings/balancePlatform/beginScaDeviceRegistrationRequest.ts @@ -0,0 +1,46 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class BeginScaDeviceRegistrationRequest { + /** + * The name of the SCA device that you are registering. You can use it to help your users identify the device. + */ + "name": string; + /** + * A base64-encoded block with the data required to register the SCA device. You obtain this information by using Adyen\'s authentication SDK. + */ + "sdkOutput": string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "sdkOutput", + "baseName": "sdkOutput", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return BeginScaDeviceRegistrationRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/balancePlatform/beginScaDeviceRegistrationResponse.ts b/src/typings/balancePlatform/beginScaDeviceRegistrationResponse.ts new file mode 100644 index 000000000..d4f2bcc64 --- /dev/null +++ b/src/typings/balancePlatform/beginScaDeviceRegistrationResponse.ts @@ -0,0 +1,45 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { ScaDevice } from "./scaDevice"; + + +export class BeginScaDeviceRegistrationResponse { + "scaDevice"?: ScaDevice | null; + /** + * A string that you must pass to the authentication SDK to continue with the registration process. + */ + "sdkInput"?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "scaDevice", + "baseName": "scaDevice", + "type": "ScaDevice | null", + "format": "" + }, + { + "name": "sdkInput", + "baseName": "sdkInput", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return BeginScaDeviceRegistrationResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/balancePlatform/finishScaDeviceRegistrationRequest.ts b/src/typings/balancePlatform/finishScaDeviceRegistrationRequest.ts new file mode 100644 index 000000000..3e7a7a8e7 --- /dev/null +++ b/src/typings/balancePlatform/finishScaDeviceRegistrationRequest.ts @@ -0,0 +1,36 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class FinishScaDeviceRegistrationRequest { + /** + * A base64-encoded block with the data required to register the SCA device. You obtain this information by using Adyen\'s authentication SDK. + */ + "sdkOutput": string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "sdkOutput", + "baseName": "sdkOutput", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return FinishScaDeviceRegistrationRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/balancePlatform/finishScaDeviceRegistrationResponse.ts b/src/typings/balancePlatform/finishScaDeviceRegistrationResponse.ts new file mode 100644 index 000000000..d52a43299 --- /dev/null +++ b/src/typings/balancePlatform/finishScaDeviceRegistrationResponse.ts @@ -0,0 +1,35 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { ScaDevice } from "./scaDevice"; + + +export class FinishScaDeviceRegistrationResponse { + "scaDevice"?: ScaDevice | null; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "scaDevice", + "baseName": "scaDevice", + "type": "ScaDevice | null", + "format": "" + } ]; + + static getAttributeTypeMap() { + return FinishScaDeviceRegistrationResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/balancePlatform/listAssociationsResponse.ts b/src/typings/balancePlatform/listAssociationsResponse.ts new file mode 100644 index 000000000..90e325b2c --- /dev/null +++ b/src/typings/balancePlatform/listAssociationsResponse.ts @@ -0,0 +1,66 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { AssociationListing } from "./associationListing"; +import { Link } from "./link"; + + +export class ListAssociationsResponse { + "_links": Link; + /** + * Contains a list of associations and their corresponding details. + */ + "data": Array; + /** + * The total number of items available. + */ + "itemsTotal": number; + /** + * The total number of pages available. + */ + "pagesTotal": number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "_links", + "baseName": "_links", + "type": "Link", + "format": "" + }, + { + "name": "data", + "baseName": "data", + "type": "Array", + "format": "" + }, + { + "name": "itemsTotal", + "baseName": "itemsTotal", + "type": "number", + "format": "int32" + }, + { + "name": "pagesTotal", + "baseName": "pagesTotal", + "type": "number", + "format": "int32" + } ]; + + static getAttributeTypeMap() { + return ListAssociationsResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/balancePlatform/models.ts b/src/typings/balancePlatform/models.ts index 216e5d50b..ff9620160 100644 --- a/src/typings/balancePlatform/models.ts +++ b/src/typings/balancePlatform/models.ts @@ -12,12 +12,17 @@ export * from "./addressRequirement" export * from "./amount" export * from "./amountMinMaxRequirement" export * from "./amountNonZeroDecimalsRequirement" +export * from "./approveAssociationRequest" +export * from "./approveAssociationResponse" export * from "./approveTransferLimitRequest" +export * from "./association" export * from "./associationDelegatedAuthenticationData" export * from "./associationFinaliseRequest" export * from "./associationFinaliseResponse" export * from "./associationInitiateRequest" export * from "./associationInitiateResponse" +export * from "./associationListing" +export * from "./associationStatus" export * from "./authentication" export * from "./authorisedCardUsers" export * from "./bRLocalAccountIdentification" @@ -39,6 +44,8 @@ export * from "./bankAccountIdentificationValidationRequest" export * from "./bankAccountIdentificationValidationRequestAccountIdentification" export * from "./bankAccountModel" export * from "./bankIdentification" +export * from "./beginScaDeviceRegistrationRequest" +export * from "./beginScaDeviceRegistrationResponse" export * from "./brandVariantsRestriction" export * from "./bulkAddress" export * from "./cALocalAccountIdentification" @@ -77,6 +84,8 @@ export * from "./duration" export * from "./entryModesRestriction" export * from "./expiry" export * from "./fee" +export * from "./finishScaDeviceRegistrationRequest" +export * from "./finishScaDeviceRegistrationResponse" export * from "./getNetworkTokenResponse" export * from "./getTaxFormResponse" export * from "./grantLimit" @@ -91,6 +100,7 @@ export * from "./internationalTransactionRestriction" export * from "./invalidField" export * from "./limitStatus" export * from "./link" +export * from "./listAssociationsResponse" export * from "./listNetworkTokensResponse" export * from "./matchingTransactionsRestriction" export * from "./matchingValuesRestriction" @@ -133,6 +143,7 @@ export * from "./registerSCAFinalResponse" export * from "./registerSCARequest" export * from "./registerSCAResponse" export * from "./remediatingAction" +export * from "./removeAssociationRequest" export * from "./repayment" export * from "./repaymentTerm" export * from "./restServiceError" @@ -144,6 +155,10 @@ export * from "./sELocalAccountIdentification" export * from "./sGLocalAccountIdentification" export * from "./sameAmountRestriction" export * from "./sameCounterpartyRestriction" +export * from "./scaDevice" +export * from "./scaDeviceType" +export * from "./scaEntity" +export * from "./scaEntityType" export * from "./scaExemption" export * from "./scaInformation" export * from "./scaStatus" @@ -152,6 +167,8 @@ export * from "./searchRegisteredDevicesResponse" export * from "./settingType" export * from "./sourceAccountTypesRestriction" export * from "./stringMatch" +export * from "./submitScaAssociationRequest" +export * from "./submitScaAssociationResponse" export * from "./sweepConfigurationV2" export * from "./sweepCounterparty" export * from "./sweepSchedule" diff --git a/src/typings/balancePlatform/objectSerializer.ts b/src/typings/balancePlatform/objectSerializer.ts index 0ca0fdea0..a916eed3c 100644 --- a/src/typings/balancePlatform/objectSerializer.ts +++ b/src/typings/balancePlatform/objectSerializer.ts @@ -14,12 +14,17 @@ import { AddressRequirement } from "./addressRequirement"; import { Amount } from "./amount"; import { AmountMinMaxRequirement } from "./amountMinMaxRequirement"; import { AmountNonZeroDecimalsRequirement } from "./amountNonZeroDecimalsRequirement"; +import { ApproveAssociationRequest } from "./approveAssociationRequest"; +import { ApproveAssociationResponse } from "./approveAssociationResponse"; import { ApproveTransferLimitRequest } from "./approveTransferLimitRequest"; +import { Association } from "./association"; import { AssociationDelegatedAuthenticationData } from "./associationDelegatedAuthenticationData"; import { AssociationFinaliseRequest } from "./associationFinaliseRequest"; import { AssociationFinaliseResponse } from "./associationFinaliseResponse"; import { AssociationInitiateRequest } from "./associationInitiateRequest"; import { AssociationInitiateResponse } from "./associationInitiateResponse"; +import { AssociationListing } from "./associationListing"; +import { AssociationStatus } from "./associationStatus"; import { Authentication } from "./authentication"; import { AuthorisedCardUsers } from "./authorisedCardUsers"; import { BRLocalAccountIdentification } from "./bRLocalAccountIdentification"; @@ -41,6 +46,8 @@ import { BankAccountIdentificationValidationRequest } from "./bankAccountIdentif import { BankAccountIdentificationValidationRequestAccountIdentificationClass } from "./bankAccountIdentificationValidationRequestAccountIdentification"; import { BankAccountModel } from "./bankAccountModel"; import { BankIdentification } from "./bankIdentification"; +import { BeginScaDeviceRegistrationRequest } from "./beginScaDeviceRegistrationRequest"; +import { BeginScaDeviceRegistrationResponse } from "./beginScaDeviceRegistrationResponse"; import { BrandVariantsRestriction } from "./brandVariantsRestriction"; import { BulkAddress } from "./bulkAddress"; import { CALocalAccountIdentification } from "./cALocalAccountIdentification"; @@ -79,6 +86,8 @@ import { Duration } from "./duration"; import { EntryModesRestriction } from "./entryModesRestriction"; import { Expiry } from "./expiry"; import { Fee } from "./fee"; +import { FinishScaDeviceRegistrationRequest } from "./finishScaDeviceRegistrationRequest"; +import { FinishScaDeviceRegistrationResponse } from "./finishScaDeviceRegistrationResponse"; import { GetNetworkTokenResponse } from "./getNetworkTokenResponse"; import { GetTaxFormResponse } from "./getTaxFormResponse"; import { GrantLimit } from "./grantLimit"; @@ -93,6 +102,7 @@ import { InternationalTransactionRestriction } from "./internationalTransactionR import { InvalidField } from "./invalidField"; import { LimitStatus } from "./limitStatus"; import { Link } from "./link"; +import { ListAssociationsResponse } from "./listAssociationsResponse"; import { ListNetworkTokensResponse } from "./listNetworkTokensResponse"; import { MatchingTransactionsRestriction } from "./matchingTransactionsRestriction"; import { MatchingValuesRestriction } from "./matchingValuesRestriction"; @@ -135,6 +145,7 @@ import { RegisterSCAFinalResponse } from "./registerSCAFinalResponse"; import { RegisterSCARequest } from "./registerSCARequest"; import { RegisterSCAResponse } from "./registerSCAResponse"; import { RemediatingAction } from "./remediatingAction"; +import { RemoveAssociationRequest } from "./removeAssociationRequest"; import { Repayment } from "./repayment"; import { RepaymentTerm } from "./repaymentTerm"; import { RestServiceError } from "./restServiceError"; @@ -146,6 +157,10 @@ import { SELocalAccountIdentification } from "./sELocalAccountIdentification"; import { SGLocalAccountIdentification } from "./sGLocalAccountIdentification"; import { SameAmountRestriction } from "./sameAmountRestriction"; import { SameCounterpartyRestriction } from "./sameCounterpartyRestriction"; +import { ScaDevice } from "./scaDevice"; +import { ScaDeviceType } from "./scaDeviceType"; +import { ScaEntity } from "./scaEntity"; +import { ScaEntityType } from "./scaEntityType"; import { ScaExemption } from "./scaExemption"; import { ScaInformation } from "./scaInformation"; import { ScaStatus } from "./scaStatus"; @@ -154,6 +169,8 @@ import { SearchRegisteredDevicesResponse } from "./searchRegisteredDevicesRespon import { SettingType } from "./settingType"; import { SourceAccountTypesRestriction } from "./sourceAccountTypesRestriction"; import { StringMatch } from "./stringMatch"; +import { SubmitScaAssociationRequest } from "./submitScaAssociationRequest"; +import { SubmitScaAssociationResponse } from "./submitScaAssociationResponse"; import { SweepConfigurationV2 } from "./sweepConfigurationV2"; import { SweepCounterparty } from "./sweepCounterparty"; import { SweepSchedule } from "./sweepSchedule"; @@ -227,6 +244,8 @@ let enumsMap: Set = new Set([ "AssociationFinaliseRequest.TypeEnum", "AssociationFinaliseResponse.TypeEnum", "AssociationInitiateRequest.TypeEnum", + AssociationStatus.PendingApproval, + AssociationStatus.Active, "BRLocalAccountIdentification.TypeEnum", "BalanceAccount.StatusEnum", "BalanceAccountBase.StatusEnum", @@ -300,6 +319,11 @@ let enumsMap: Set = new Set([ "ProcessingTypesRestriction.ValueEnum", "SELocalAccountIdentification.TypeEnum", "SGLocalAccountIdentification.TypeEnum", + ScaDeviceType.Browser, + ScaDeviceType.Ios, + ScaDeviceType.Android, + ScaEntityType.AccountHolder, + ScaEntityType.PaymentInstrument, ScaExemption.SetByPlatform, ScaExemption.InitialLimit, ScaExemption.LowerLimit, @@ -380,12 +404,16 @@ let typeMap: {[index: string]: any} = { "Amount": Amount, "AmountMinMaxRequirement": AmountMinMaxRequirement, "AmountNonZeroDecimalsRequirement": AmountNonZeroDecimalsRequirement, + "ApproveAssociationRequest": ApproveAssociationRequest, + "ApproveAssociationResponse": ApproveAssociationResponse, "ApproveTransferLimitRequest": ApproveTransferLimitRequest, + "Association": Association, "AssociationDelegatedAuthenticationData": AssociationDelegatedAuthenticationData, "AssociationFinaliseRequest": AssociationFinaliseRequest, "AssociationFinaliseResponse": AssociationFinaliseResponse, "AssociationInitiateRequest": AssociationInitiateRequest, "AssociationInitiateResponse": AssociationInitiateResponse, + "AssociationListing": AssociationListing, "Authentication": Authentication, "AuthorisedCardUsers": AuthorisedCardUsers, "BRLocalAccountIdentification": BRLocalAccountIdentification, @@ -407,6 +435,8 @@ let typeMap: {[index: string]: any} = { "BankAccountIdentificationValidationRequestAccountIdentification": BankAccountIdentificationValidationRequestAccountIdentificationClass, "BankAccountModel": BankAccountModel, "BankIdentification": BankIdentification, + "BeginScaDeviceRegistrationRequest": BeginScaDeviceRegistrationRequest, + "BeginScaDeviceRegistrationResponse": BeginScaDeviceRegistrationResponse, "BrandVariantsRestriction": BrandVariantsRestriction, "BulkAddress": BulkAddress, "CALocalAccountIdentification": CALocalAccountIdentification, @@ -445,6 +475,8 @@ let typeMap: {[index: string]: any} = { "EntryModesRestriction": EntryModesRestriction, "Expiry": Expiry, "Fee": Fee, + "FinishScaDeviceRegistrationRequest": FinishScaDeviceRegistrationRequest, + "FinishScaDeviceRegistrationResponse": FinishScaDeviceRegistrationResponse, "GetNetworkTokenResponse": GetNetworkTokenResponse, "GetTaxFormResponse": GetTaxFormResponse, "GrantLimit": GrantLimit, @@ -458,6 +490,7 @@ let typeMap: {[index: string]: any} = { "InternationalTransactionRestriction": InternationalTransactionRestriction, "InvalidField": InvalidField, "Link": Link, + "ListAssociationsResponse": ListAssociationsResponse, "ListNetworkTokensResponse": ListNetworkTokensResponse, "MatchingTransactionsRestriction": MatchingTransactionsRestriction, "MatchingValuesRestriction": MatchingValuesRestriction, @@ -500,6 +533,7 @@ let typeMap: {[index: string]: any} = { "RegisterSCARequest": RegisterSCARequest, "RegisterSCAResponse": RegisterSCAResponse, "RemediatingAction": RemediatingAction, + "RemoveAssociationRequest": RemoveAssociationRequest, "Repayment": Repayment, "RepaymentTerm": RepaymentTerm, "RestServiceError": RestServiceError, @@ -511,10 +545,14 @@ let typeMap: {[index: string]: any} = { "SGLocalAccountIdentification": SGLocalAccountIdentification, "SameAmountRestriction": SameAmountRestriction, "SameCounterpartyRestriction": SameCounterpartyRestriction, + "ScaDevice": ScaDevice, + "ScaEntity": ScaEntity, "ScaInformation": ScaInformation, "SearchRegisteredDevicesResponse": SearchRegisteredDevicesResponse, "SourceAccountTypesRestriction": SourceAccountTypesRestriction, "StringMatch": StringMatch, + "SubmitScaAssociationRequest": SubmitScaAssociationRequest, + "SubmitScaAssociationResponse": SubmitScaAssociationResponse, "SweepConfigurationV2": SweepConfigurationV2, "SweepCounterparty": SweepCounterparty, "SweepSchedule": SweepSchedule, @@ -877,4 +915,4 @@ export class ObjectSerializer { throw new Error("The mediaType " + mediaType + " is not supported by ObjectSerializer.parse."); } -} \ No newline at end of file +} diff --git a/src/typings/balancePlatform/removeAssociationRequest.ts b/src/typings/balancePlatform/removeAssociationRequest.ts new file mode 100644 index 000000000..f06bdcbd5 --- /dev/null +++ b/src/typings/balancePlatform/removeAssociationRequest.ts @@ -0,0 +1,57 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { ScaEntityType } from "./scaEntityType"; + + +export class RemoveAssociationRequest { + /** + * The unique identifier of the entity. + */ + "entityId": string; + "entityType": ScaEntityType; + /** + * A list of device ids associated with the entity that should be removed. + */ + "scaDeviceIds": Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "entityId", + "baseName": "entityId", + "type": "string", + "format": "" + }, + { + "name": "entityType", + "baseName": "entityType", + "type": "ScaEntityType", + "format": "" + }, + { + "name": "scaDeviceIds", + "baseName": "scaDeviceIds", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return RemoveAssociationRequest.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace RemoveAssociationRequest { +} diff --git a/src/typings/balancePlatform/scaDevice.ts b/src/typings/balancePlatform/scaDevice.ts new file mode 100644 index 000000000..a02c06cd1 --- /dev/null +++ b/src/typings/balancePlatform/scaDevice.ts @@ -0,0 +1,61 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { ScaDeviceType } from "./scaDeviceType"; + +/** +* A resource that contains information about a device, including its unique ID, name, and type. +*/ + + +export class ScaDevice { + /** + * The unique identifier of the SCA device you are registering. + */ + "id": string; + /** + * The name of the SCA device that you are registering. You can use it to help your users identify the device. + */ + "name": string; + "type": ScaDeviceType; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "ScaDeviceType", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ScaDevice.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace ScaDevice { +} diff --git a/src/typings/balancePlatform/scaDeviceType.ts b/src/typings/balancePlatform/scaDeviceType.ts new file mode 100644 index 000000000..4463d8d25 --- /dev/null +++ b/src/typings/balancePlatform/scaDeviceType.ts @@ -0,0 +1,14 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +export enum ScaDeviceType { + Browser = 'browser', + Ios = 'ios', + Android = 'android' +} diff --git a/src/typings/balancePlatform/scaEntity.ts b/src/typings/balancePlatform/scaEntity.ts new file mode 100644 index 000000000..9e687783e --- /dev/null +++ b/src/typings/balancePlatform/scaEntity.ts @@ -0,0 +1,47 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { ScaEntityType } from "./scaEntityType"; + + +export class ScaEntity { + /** + * The unique identifier of the entity. + */ + "id": string; + "type": ScaEntityType; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "ScaEntityType", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ScaEntity.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace ScaEntity { +} diff --git a/src/typings/balancePlatform/scaEntityType.ts b/src/typings/balancePlatform/scaEntityType.ts new file mode 100644 index 000000000..df6791149 --- /dev/null +++ b/src/typings/balancePlatform/scaEntityType.ts @@ -0,0 +1,13 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +export enum ScaEntityType { + AccountHolder = 'accountHolder', + PaymentInstrument = 'paymentInstrument' +} diff --git a/src/typings/balancePlatform/submitScaAssociationRequest.ts b/src/typings/balancePlatform/submitScaAssociationRequest.ts new file mode 100644 index 000000000..5d2aa86da --- /dev/null +++ b/src/typings/balancePlatform/submitScaAssociationRequest.ts @@ -0,0 +1,38 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { ScaEntity } from "./scaEntity"; + + +export class SubmitScaAssociationRequest { + /** + * The list of entities to be associated. + */ + "entities": Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "entities", + "baseName": "entities", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return SubmitScaAssociationRequest.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/balancePlatform/submitScaAssociationResponse.ts b/src/typings/balancePlatform/submitScaAssociationResponse.ts new file mode 100644 index 000000000..10af2b4aa --- /dev/null +++ b/src/typings/balancePlatform/submitScaAssociationResponse.ts @@ -0,0 +1,38 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { Association } from "./association"; + + +export class SubmitScaAssociationResponse { + /** + * List of associations created to the entities and their statuses. + */ + "scaAssociations": Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "scaAssociations", + "baseName": "scaAssociations", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return SubmitScaAssociationResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/checkout/achDetails.ts b/src/typings/checkout/achDetails.ts index 3da8192b3..307b303d9 100644 --- a/src/typings/checkout/achDetails.ts +++ b/src/typings/checkout/achDetails.ts @@ -49,6 +49,10 @@ export class AchDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -120,6 +124,12 @@ export class AchDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/additionalDataLevel23.ts b/src/typings/checkout/additionalDataLevel23.ts index 0ca134b9f..2991ac154 100644 --- a/src/typings/checkout/additionalDataLevel23.ts +++ b/src/typings/checkout/additionalDataLevel23.ts @@ -34,7 +34,7 @@ export class AdditionalDataLevel23 { */ "enhancedSchemeData_freightAmount"?: string; /** - * The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * [UNSPSC commodity codes](https://www.unspsc.org/) * [HS commodity codes](https://www.wcoomd.org/en/topics/nomenclature/overview.aspx) * [NAICS commodity codes](https://www.census.gov/naics/) * [NAPCS commodity codes](https://www.census.gov/naics/napcs/) * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros. + * The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * [UNSPSC commodity codes](https://www.ungm.org/public/unspsc) * [HS commodity codes](https://www.wcoomd.org/en/topics/nomenclature/overview.aspx) * [NAICS commodity codes](https://www.census.gov/naics/) * [NAPCS commodity codes](https://www.census.gov/naics/napcs/) * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros. */ "enhancedSchemeData_itemDetailLine_itemNr_commodityCode"?: string; /** diff --git a/src/typings/checkout/affirmDetails.ts b/src/typings/checkout/affirmDetails.ts index a4f2800c6..054a88076 100644 --- a/src/typings/checkout/affirmDetails.ts +++ b/src/typings/checkout/affirmDetails.ts @@ -14,6 +14,10 @@ export class AffirmDetails { */ "checkoutAttemptId"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **affirm** */ "type"?: AffirmDetails.TypeEnum; @@ -29,6 +33,12 @@ export class AffirmDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/afterpayDetails.ts b/src/typings/checkout/afterpayDetails.ts index f4fbac506..d45c37593 100644 --- a/src/typings/checkout/afterpayDetails.ts +++ b/src/typings/checkout/afterpayDetails.ts @@ -33,6 +33,10 @@ export class AfterpayDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -76,6 +80,12 @@ export class AfterpayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/amazonPayDetails.ts b/src/typings/checkout/amazonPayDetails.ts index 9110174e1..513813771 100644 --- a/src/typings/checkout/amazonPayDetails.ts +++ b/src/typings/checkout/amazonPayDetails.ts @@ -22,6 +22,10 @@ export class AmazonPayDetails { */ "checkoutSessionId"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **amazonpay** */ "type"?: AmazonPayDetails.TypeEnum; @@ -49,6 +53,12 @@ export class AmazonPayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/ancvDetails.ts b/src/typings/checkout/ancvDetails.ts index 81af60d0c..4b70ef7d5 100644 --- a/src/typings/checkout/ancvDetails.ts +++ b/src/typings/checkout/ancvDetails.ts @@ -25,6 +25,10 @@ export class AncvDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -56,6 +60,12 @@ export class AncvDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/androidPayDetails.ts b/src/typings/checkout/androidPayDetails.ts index b8af148d0..ab1afec1a 100644 --- a/src/typings/checkout/androidPayDetails.ts +++ b/src/typings/checkout/androidPayDetails.ts @@ -14,6 +14,10 @@ export class AndroidPayDetails { */ "checkoutAttemptId"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **androidpay** */ "type"?: AndroidPayDetails.TypeEnum; @@ -29,6 +33,12 @@ export class AndroidPayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/applePayDetails.ts b/src/typings/checkout/applePayDetails.ts index 9156c8b46..8c5720542 100644 --- a/src/typings/checkout/applePayDetails.ts +++ b/src/typings/checkout/applePayDetails.ts @@ -29,6 +29,10 @@ export class ApplePayDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -66,6 +70,12 @@ export class ApplePayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/applePayDonations.ts b/src/typings/checkout/applePayDonations.ts index 246012055..85acac5d7 100644 --- a/src/typings/checkout/applePayDonations.ts +++ b/src/typings/checkout/applePayDonations.ts @@ -29,6 +29,10 @@ export class ApplePayDonations { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -66,6 +70,12 @@ export class ApplePayDonations { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/bacsDirectDebitDetails.ts b/src/typings/checkout/bacsDirectDebitDetails.ts index fb78deee4..d10b17f21 100644 --- a/src/typings/checkout/bacsDirectDebitDetails.ts +++ b/src/typings/checkout/bacsDirectDebitDetails.ts @@ -33,6 +33,10 @@ export class BacsDirectDebitDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -80,6 +84,12 @@ export class BacsDirectDebitDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/balanceCheckRequest.ts b/src/typings/checkout/balanceCheckRequest.ts index 0d23526da..9a8f4ae64 100644 --- a/src/typings/checkout/balanceCheckRequest.ts +++ b/src/typings/checkout/balanceCheckRequest.ts @@ -56,7 +56,7 @@ export class BalanceCheckRequest { "fraudOffset"?: number; "installments"?: Installments | null; /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana and ja-Hani character set for Visa, Mastercard and JCB payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, Kanji, capital letters, numbers and special characters. * Half-width or full-width characters. + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If this parameter is left empty, not provided, or not applicable (in case of cross-border transactions), then **shopperStatement** is used. Currently, `localizedShopperStatement` is only supported for payments with Visa, Mastercard, JCB, Diners, and Discover. **Supported characters**: Hiragana, Katakana, Kanji, and alphanumeric. */ "localizedShopperStatement"?: { [key: string]: string; }; /** diff --git a/src/typings/checkout/billDeskDetails.ts b/src/typings/checkout/billDeskDetails.ts index 60c7fe54c..5a452e524 100644 --- a/src/typings/checkout/billDeskDetails.ts +++ b/src/typings/checkout/billDeskDetails.ts @@ -18,6 +18,10 @@ export class BillDeskDetails { */ "issuer": string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **billdesk** */ "type": BillDeskDetails.TypeEnum; @@ -39,6 +43,12 @@ export class BillDeskDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/blikDetails.ts b/src/typings/checkout/blikDetails.ts index c2a9e1956..84e7a300c 100644 --- a/src/typings/checkout/blikDetails.ts +++ b/src/typings/checkout/blikDetails.ts @@ -25,6 +25,10 @@ export class BlikDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -56,6 +60,12 @@ export class BlikDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/cardDetails.ts b/src/typings/checkout/cardDetails.ts index d9fc4670d..2d7cff2a4 100644 --- a/src/typings/checkout/cardDetails.ts +++ b/src/typings/checkout/cardDetails.ts @@ -9,6 +9,10 @@ export class CardDetails { + /** + * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. + */ + "billingSequenceNumber"?: string; /** * Secondary brand of the card. For example: **plastix**, **hmclub**. */ @@ -85,6 +89,10 @@ export class CardDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. */ "shopperNotificationReference"?: string; @@ -122,6 +130,12 @@ export class CardDetails { static readonly mapping: {[index: string]: string} | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "billingSequenceNumber", + "baseName": "billingSequenceNumber", + "type": "string", + "format": "" + }, { "name": "brand", "baseName": "brand", @@ -230,6 +244,12 @@ export class CardDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperNotificationReference", "baseName": "shopperNotificationReference", diff --git a/src/typings/checkout/cardDonations.ts b/src/typings/checkout/cardDonations.ts index 2cf90951d..c4c6d1d84 100644 --- a/src/typings/checkout/cardDonations.ts +++ b/src/typings/checkout/cardDonations.ts @@ -9,6 +9,10 @@ export class CardDonations { + /** + * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. + */ + "billingSequenceNumber"?: string; /** * Secondary brand of the card. For example: **plastix**, **hmclub**. */ @@ -85,6 +89,10 @@ export class CardDonations { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India. */ "shopperNotificationReference"?: string; @@ -122,6 +130,12 @@ export class CardDonations { static readonly mapping: {[index: string]: string} | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "billingSequenceNumber", + "baseName": "billingSequenceNumber", + "type": "string", + "format": "" + }, { "name": "brand", "baseName": "brand", @@ -230,6 +244,12 @@ export class CardDonations { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperNotificationReference", "baseName": "shopperNotificationReference", diff --git a/src/typings/checkout/cashAppDetails.ts b/src/typings/checkout/cashAppDetails.ts index 8d8d4e894..4b5440dae 100644 --- a/src/typings/checkout/cashAppDetails.ts +++ b/src/typings/checkout/cashAppDetails.ts @@ -41,6 +41,10 @@ export class CashAppDetails { */ "requestId"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -100,6 +104,12 @@ export class CashAppDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/cellulantDetails.ts b/src/typings/checkout/cellulantDetails.ts index b5c345944..3fc4b772d 100644 --- a/src/typings/checkout/cellulantDetails.ts +++ b/src/typings/checkout/cellulantDetails.ts @@ -18,6 +18,10 @@ export class CellulantDetails { */ "issuer"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **Cellulant** */ "type"?: CellulantDetails.TypeEnum; @@ -39,6 +43,12 @@ export class CellulantDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/checkoutBankTransferAction.ts b/src/typings/checkout/checkoutBankTransferAction.ts index 16ddfa866..aeaf85b40 100644 --- a/src/typings/checkout/checkoutBankTransferAction.ts +++ b/src/typings/checkout/checkoutBankTransferAction.ts @@ -16,6 +16,10 @@ export class CheckoutBankTransferAction { */ "accountNumber"?: string; /** + * The bank code of the bank transfer. + */ + "bankCode"?: string; + /** * The name of the account holder. */ "beneficiary"?: string; @@ -24,6 +28,10 @@ export class CheckoutBankTransferAction { */ "bic"?: string; /** + * The branch code of the bank transfer. + */ + "branchCode"?: string; + /** * The url to download payment details with. */ "downloadUrl"?: string; @@ -72,6 +80,12 @@ export class CheckoutBankTransferAction { "type": "string", "format": "" }, + { + "name": "bankCode", + "baseName": "bankCode", + "type": "string", + "format": "" + }, { "name": "beneficiary", "baseName": "beneficiary", @@ -84,6 +98,12 @@ export class CheckoutBankTransferAction { "type": "string", "format": "" }, + { + "name": "branchCode", + "baseName": "branchCode", + "type": "string", + "format": "" + }, { "name": "downloadUrl", "baseName": "downloadUrl", diff --git a/src/typings/checkout/dokuDetails.ts b/src/typings/checkout/dokuDetails.ts index 2dce369c1..d71d327aa 100644 --- a/src/typings/checkout/dokuDetails.ts +++ b/src/typings/checkout/dokuDetails.ts @@ -22,6 +22,10 @@ export class DokuDetails { */ "lastName": string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The shopper\'s email. */ "shopperEmail": string; @@ -53,6 +57,12 @@ export class DokuDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperEmail", "baseName": "shopperEmail", diff --git a/src/typings/checkout/donationPaymentRequest.ts b/src/typings/checkout/donationPaymentRequest.ts index 828765ba7..da17ff55b 100644 --- a/src/typings/checkout/donationPaymentRequest.ts +++ b/src/typings/checkout/donationPaymentRequest.ts @@ -99,7 +99,7 @@ export class DonationPaymentRequest { * > Required for browser-based (`channel` **Web**) 3D Secure 2 transactions.Set this to the origin URL of the page where you are rendering the Drop-in/Component. Do not include subdirectories and a trailing slash. */ "origin"?: string; - "paymentMethod": DonationPaymentRequestPaymentMethod; + "paymentMethod"?: DonationPaymentRequestPaymentMethod | null; /** * Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder\'s balance drops below a certain amount. */ @@ -320,7 +320,7 @@ export class DonationPaymentRequest { { "name": "paymentMethod", "baseName": "paymentMethod", - "type": "DonationPaymentRequestPaymentMethod", + "type": "DonationPaymentRequestPaymentMethod | null", "format": "" }, { diff --git a/src/typings/checkout/donationPaymentRequestPaymentMethod.ts b/src/typings/checkout/donationPaymentRequestPaymentMethod.ts index 221f75156..47c0c8a16 100644 --- a/src/typings/checkout/donationPaymentRequestPaymentMethod.ts +++ b/src/typings/checkout/donationPaymentRequestPaymentMethod.ts @@ -14,7 +14,7 @@ import { IdealDonations } from "./idealDonations"; import { PayWithGoogleDonations } from "./payWithGoogleDonations"; /** -* The type and required details of a payment method to use. +* The type and required details of a payment method to use. When `donationToken` is provided, the payment method is derived from the token and this field becomes optional. If you are [PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide), and make donations using raw card details, you must explicitly provide the payment method details. */ @@ -27,7 +27,7 @@ export type DonationPaymentRequestPaymentMethod = ApplePayDonations | CardDonati /** * @type DonationPaymentRequestPaymentMethodClass - * The type and required details of a payment method to use. + * The type and required details of a payment method to use. When `donationToken` is provided, the payment method is derived from the token and this field becomes optional. If you are [PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide), and make donations using raw card details, you must explicitly provide the payment method details. * @export */ export class DonationPaymentRequestPaymentMethodClass { diff --git a/src/typings/checkout/dragonpayDetails.ts b/src/typings/checkout/dragonpayDetails.ts index 3c9f62d5a..f21408484 100644 --- a/src/typings/checkout/dragonpayDetails.ts +++ b/src/typings/checkout/dragonpayDetails.ts @@ -18,6 +18,10 @@ export class DragonpayDetails { */ "issuer": string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The shopper’s email address. */ "shopperEmail"?: string; @@ -43,6 +47,12 @@ export class DragonpayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperEmail", "baseName": "shopperEmail", diff --git a/src/typings/checkout/eBankingFinlandDetails.ts b/src/typings/checkout/eBankingFinlandDetails.ts index db64145ae..b2e75f0fc 100644 --- a/src/typings/checkout/eBankingFinlandDetails.ts +++ b/src/typings/checkout/eBankingFinlandDetails.ts @@ -18,6 +18,10 @@ export class EBankingFinlandDetails { */ "issuer"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **ebanking_FI** */ "type": EBankingFinlandDetails.TypeEnum; @@ -39,6 +43,12 @@ export class EBankingFinlandDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/econtextVoucherDetails.ts b/src/typings/checkout/econtextVoucherDetails.ts index ba082c1d8..945f46fe6 100644 --- a/src/typings/checkout/econtextVoucherDetails.ts +++ b/src/typings/checkout/econtextVoucherDetails.ts @@ -22,6 +22,10 @@ export class EcontextVoucherDetails { */ "lastName": string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The shopper\'s email. */ "shopperEmail": string; @@ -57,6 +61,12 @@ export class EcontextVoucherDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperEmail", "baseName": "shopperEmail", diff --git a/src/typings/checkout/eftDetails.ts b/src/typings/checkout/eftDetails.ts index 6a66c03b7..531052d28 100644 --- a/src/typings/checkout/eftDetails.ts +++ b/src/typings/checkout/eftDetails.ts @@ -37,6 +37,10 @@ export class EftDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -86,6 +90,12 @@ export class EftDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/fastlaneDetails.ts b/src/typings/checkout/fastlaneDetails.ts index 6cdcfd11e..41b9a4c4a 100644 --- a/src/typings/checkout/fastlaneDetails.ts +++ b/src/typings/checkout/fastlaneDetails.ts @@ -25,6 +25,10 @@ export class FastlaneDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -56,6 +60,12 @@ export class FastlaneDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts index 9f93f389f..49d870494 100644 --- a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts +++ b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts @@ -25,6 +25,10 @@ export class GenericIssuerPaymentMethodDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -56,6 +60,12 @@ export class GenericIssuerPaymentMethodDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", @@ -82,6 +92,7 @@ export namespace GenericIssuerPaymentMethodDetails { OnlineBankingPl = 'onlineBanking_PL', Eps = 'eps', OnlineBankingSk = 'onlineBanking_SK', - OnlineBankingCz = 'onlineBanking_CZ' + OnlineBankingCz = 'onlineBanking_CZ', + OnlinebankingIn = 'onlinebanking_IN' } } diff --git a/src/typings/checkout/googlePayDetails.ts b/src/typings/checkout/googlePayDetails.ts index 91d6a6458..b7fff0c85 100644 --- a/src/typings/checkout/googlePayDetails.ts +++ b/src/typings/checkout/googlePayDetails.ts @@ -33,6 +33,10 @@ export class GooglePayDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -80,6 +84,12 @@ export class GooglePayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/googlePayDonations.ts b/src/typings/checkout/googlePayDonations.ts index c2a1c4ff4..602f3c5a3 100644 --- a/src/typings/checkout/googlePayDonations.ts +++ b/src/typings/checkout/googlePayDonations.ts @@ -33,6 +33,10 @@ export class GooglePayDonations { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -80,6 +84,12 @@ export class GooglePayDonations { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/idealDetails.ts b/src/typings/checkout/idealDetails.ts index aa6fe29a6..4e2537797 100644 --- a/src/typings/checkout/idealDetails.ts +++ b/src/typings/checkout/idealDetails.ts @@ -25,6 +25,10 @@ export class IdealDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -56,6 +60,12 @@ export class IdealDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/idealDonations.ts b/src/typings/checkout/idealDonations.ts index 233c340c3..39574799e 100644 --- a/src/typings/checkout/idealDonations.ts +++ b/src/typings/checkout/idealDonations.ts @@ -25,6 +25,10 @@ export class IdealDonations { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -56,6 +60,12 @@ export class IdealDonations { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/klarnaDetails.ts b/src/typings/checkout/klarnaDetails.ts index 86837ab1b..5d9e66960 100644 --- a/src/typings/checkout/klarnaDetails.ts +++ b/src/typings/checkout/klarnaDetails.ts @@ -33,6 +33,10 @@ export class KlarnaDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -80,6 +84,12 @@ export class KlarnaDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/masterpassDetails.ts b/src/typings/checkout/masterpassDetails.ts index 76484c46f..cfc2901fa 100644 --- a/src/typings/checkout/masterpassDetails.ts +++ b/src/typings/checkout/masterpassDetails.ts @@ -22,6 +22,10 @@ export class MasterpassDetails { */ "masterpassTransactionId": string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **masterpass** */ "type"?: MasterpassDetails.TypeEnum; @@ -49,6 +53,12 @@ export class MasterpassDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/mbwayDetails.ts b/src/typings/checkout/mbwayDetails.ts index 17b6cf95b..1e64df74b 100644 --- a/src/typings/checkout/mbwayDetails.ts +++ b/src/typings/checkout/mbwayDetails.ts @@ -14,6 +14,10 @@ export class MbwayDetails { */ "checkoutAttemptId"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * */ "shopperEmail": string; @@ -37,6 +41,12 @@ export class MbwayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperEmail", "baseName": "shopperEmail", diff --git a/src/typings/checkout/mobilePayDetails.ts b/src/typings/checkout/mobilePayDetails.ts index cb322006e..54b9b6ca8 100644 --- a/src/typings/checkout/mobilePayDetails.ts +++ b/src/typings/checkout/mobilePayDetails.ts @@ -14,6 +14,10 @@ export class MobilePayDetails { */ "checkoutAttemptId"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **mobilepay** */ "type"?: MobilePayDetails.TypeEnum; @@ -29,6 +33,12 @@ export class MobilePayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/models.ts b/src/typings/checkout/models.ts index a7d836e18..794bacbd1 100644 --- a/src/typings/checkout/models.ts +++ b/src/typings/checkout/models.ts @@ -154,6 +154,11 @@ export * from "./paymentResponse" export * from "./paymentResponseAction" export * from "./paymentReversalRequest" export * from "./paymentReversalResponse" +export * from "./paymentValidations" +export * from "./paymentValidationsNameResponse" +export * from "./paymentValidationsNameResultRawResponse" +export * from "./paymentValidationsNameResultResponse" +export * from "./paymentValidationsResponse" export * from "./paypalUpdateOrderRequest" export * from "./paypalUpdateOrderResponse" export * from "./phone" @@ -208,6 +213,7 @@ export * from "./threeDSRequestorAuthenticationInfo" export * from "./threeDSRequestorPriorAuthenticationInfo" export * from "./threeDSecureData" export * from "./ticket" +export * from "./tokenMandate" export * from "./travelAgency" export * from "./twintDetails" export * from "./uPIPaymentMethod" diff --git a/src/typings/checkout/molPayDetails.ts b/src/typings/checkout/molPayDetails.ts index 97bc5e03d..0b53b72ac 100644 --- a/src/typings/checkout/molPayDetails.ts +++ b/src/typings/checkout/molPayDetails.ts @@ -18,6 +18,10 @@ export class MolPayDetails { */ "issuer": string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **molpay** */ "type": MolPayDetails.TypeEnum; @@ -39,6 +43,12 @@ export class MolPayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/objectSerializer.ts b/src/typings/checkout/objectSerializer.ts index 2bc9d75f9..37d07ca9a 100644 --- a/src/typings/checkout/objectSerializer.ts +++ b/src/typings/checkout/objectSerializer.ts @@ -156,6 +156,11 @@ import { PaymentResponse } from "./paymentResponse"; import { PaymentResponseActionClass } from "./paymentResponseAction"; import { PaymentReversalRequest } from "./paymentReversalRequest"; import { PaymentReversalResponse } from "./paymentReversalResponse"; +import { PaymentValidations } from "./paymentValidations"; +import { PaymentValidationsNameResponse } from "./paymentValidationsNameResponse"; +import { PaymentValidationsNameResultRawResponse } from "./paymentValidationsNameResultRawResponse"; +import { PaymentValidationsNameResultResponse } from "./paymentValidationsNameResultResponse"; +import { PaymentValidationsResponse } from "./paymentValidationsResponse"; import { PaypalUpdateOrderRequest } from "./paypalUpdateOrderRequest"; import { PaypalUpdateOrderResponse } from "./paypalUpdateOrderResponse"; import { Phone } from "./phone"; @@ -210,6 +215,7 @@ import { ThreeDSRequestorAuthenticationInfo } from "./threeDSRequestorAuthentica import { ThreeDSRequestorPriorAuthenticationInfo } from "./threeDSRequestorPriorAuthenticationInfo"; import { ThreeDSecureData } from "./threeDSecureData"; import { Ticket } from "./ticket"; +import { TokenMandate } from "./tokenMandate"; import { TravelAgency } from "./travelAgency"; import { TwintDetails } from "./twintDetails"; import { UPIPaymentMethod } from "./uPIPaymentMethod"; @@ -387,6 +393,7 @@ let enumsMap: Set = new Set([ "PaymentResponse.ResultCodeEnum", "PaymentResponseAction.TypeEnum", "PaymentReversalResponse.StatusEnum", + "PaymentValidationsNameResponse.StatusEnum", "PaypalUpdateOrderResponse.StatusEnum", "PixDetails.TypeEnum", "PixRecurring.FrequencyEnum", @@ -437,6 +444,9 @@ let enumsMap: Set = new Set([ "ThreeDSecureData.AuthenticationResponseEnum", "ThreeDSecureData.ChallengeCancelEnum", "ThreeDSecureData.DirectoryResponseEnum", + "TokenMandate.AmountRuleEnum", + "TokenMandate.BillingAttemptsRuleEnum", + "TokenMandate.FrequencyEnum", "TwintDetails.TypeEnum", "UpdatePaymentLinkRequest.StatusEnum", "UpiCollectDetails.TypeEnum", @@ -607,6 +617,11 @@ let typeMap: {[index: string]: any} = { "PaymentResponseAction": PaymentResponseActionClass, "PaymentReversalRequest": PaymentReversalRequest, "PaymentReversalResponse": PaymentReversalResponse, + "PaymentValidations": PaymentValidations, + "PaymentValidationsNameResponse": PaymentValidationsNameResponse, + "PaymentValidationsNameResultRawResponse": PaymentValidationsNameResultRawResponse, + "PaymentValidationsNameResultResponse": PaymentValidationsNameResultResponse, + "PaymentValidationsResponse": PaymentValidationsResponse, "PaypalUpdateOrderRequest": PaypalUpdateOrderRequest, "PaypalUpdateOrderResponse": PaypalUpdateOrderResponse, "Phone": Phone, @@ -660,6 +675,7 @@ let typeMap: {[index: string]: any} = { "ThreeDSRequestorPriorAuthenticationInfo": ThreeDSRequestorPriorAuthenticationInfo, "ThreeDSecureData": ThreeDSecureData, "Ticket": Ticket, + "TokenMandate": TokenMandate, "TravelAgency": TravelAgency, "TwintDetails": TwintDetails, "UPIPaymentMethod": UPIPaymentMethod, diff --git a/src/typings/checkout/openInvoiceDetails.ts b/src/typings/checkout/openInvoiceDetails.ts index fdabd716b..7e64773a8 100644 --- a/src/typings/checkout/openInvoiceDetails.ts +++ b/src/typings/checkout/openInvoiceDetails.ts @@ -33,6 +33,10 @@ export class OpenInvoiceDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -76,6 +80,12 @@ export class OpenInvoiceDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/payByBankAISDirectDebitDetails.ts b/src/typings/checkout/payByBankAISDirectDebitDetails.ts index 6640452bc..439375a2e 100644 --- a/src/typings/checkout/payByBankAISDirectDebitDetails.ts +++ b/src/typings/checkout/payByBankAISDirectDebitDetails.ts @@ -21,6 +21,10 @@ export class PayByBankAISDirectDebitDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -46,6 +50,12 @@ export class PayByBankAISDirectDebitDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/payByBankDetails.ts b/src/typings/checkout/payByBankDetails.ts index 015f25838..eab7abdf0 100644 --- a/src/typings/checkout/payByBankDetails.ts +++ b/src/typings/checkout/payByBankDetails.ts @@ -18,6 +18,10 @@ export class PayByBankDetails { */ "issuer"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **paybybank** */ "type": PayByBankDetails.TypeEnum; @@ -39,6 +43,12 @@ export class PayByBankDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/payPalDetails.ts b/src/typings/checkout/payPalDetails.ts index 1e874c8c7..6f3e0c901 100644 --- a/src/typings/checkout/payPalDetails.ts +++ b/src/typings/checkout/payPalDetails.ts @@ -37,6 +37,10 @@ export class PayPalDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -90,6 +94,12 @@ export class PayPalDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/payPayDetails.ts b/src/typings/checkout/payPayDetails.ts index 57b724041..9580ce9f5 100644 --- a/src/typings/checkout/payPayDetails.ts +++ b/src/typings/checkout/payPayDetails.ts @@ -21,6 +21,10 @@ export class PayPayDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -46,6 +50,12 @@ export class PayPayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/payToDetails.ts b/src/typings/checkout/payToDetails.ts index b3da9c995..e312db3aa 100644 --- a/src/typings/checkout/payToDetails.ts +++ b/src/typings/checkout/payToDetails.ts @@ -21,6 +21,10 @@ export class PayToDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The shopper\'s banking details or payId reference, used to complete payment. */ "shopperAccountIdentifier"?: string; @@ -50,6 +54,12 @@ export class PayToDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperAccountIdentifier", "baseName": "shopperAccountIdentifier", diff --git a/src/typings/checkout/payUUpiDetails.ts b/src/typings/checkout/payUUpiDetails.ts index f0a46fcf5..e03a2a2a1 100644 --- a/src/typings/checkout/payUUpiDetails.ts +++ b/src/typings/checkout/payUUpiDetails.ts @@ -21,6 +21,10 @@ export class PayUUpiDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. */ "shopperNotificationReference"?: string; @@ -54,6 +58,12 @@ export class PayUUpiDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperNotificationReference", "baseName": "shopperNotificationReference", diff --git a/src/typings/checkout/payWithGoogleDetails.ts b/src/typings/checkout/payWithGoogleDetails.ts index ba59b386a..95bb8afad 100644 --- a/src/typings/checkout/payWithGoogleDetails.ts +++ b/src/typings/checkout/payWithGoogleDetails.ts @@ -29,6 +29,10 @@ export class PayWithGoogleDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -70,6 +74,12 @@ export class PayWithGoogleDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/payWithGoogleDonations.ts b/src/typings/checkout/payWithGoogleDonations.ts index 9517ed7ab..c645ac28f 100644 --- a/src/typings/checkout/payWithGoogleDonations.ts +++ b/src/typings/checkout/payWithGoogleDonations.ts @@ -29,6 +29,10 @@ export class PayWithGoogleDonations { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -70,6 +74,12 @@ export class PayWithGoogleDonations { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/paymentDetails.ts b/src/typings/checkout/paymentDetails.ts index 5f78c3c14..fe4f3684b 100644 --- a/src/typings/checkout/paymentDetails.ts +++ b/src/typings/checkout/paymentDetails.ts @@ -14,6 +14,10 @@ export class PaymentDetails { */ "checkoutAttemptId"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The payment method type. */ "type"?: PaymentDetails.TypeEnum; @@ -29,6 +33,12 @@ export class PaymentDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", @@ -106,10 +116,8 @@ export namespace PaymentDetails { Omannet = 'omannet', GopayWallet = 'gopay_wallet', KcpNaverpay = 'kcp_naverpay', - OnlinebankingIn = 'onlinebanking_IN', Fawry = 'fawry', Atome = 'atome', - Moneybookers = 'moneybookers', Naps = 'naps', Nordea = 'nordea', BoletobancarioBradesco = 'boletobancario_bradesco', diff --git a/src/typings/checkout/paymentDetailsResponse.ts b/src/typings/checkout/paymentDetailsResponse.ts index cd4c0b78e..86009739f 100644 --- a/src/typings/checkout/paymentDetailsResponse.ts +++ b/src/typings/checkout/paymentDetailsResponse.ts @@ -11,6 +11,7 @@ import { Amount } from "./amount"; import { CheckoutOrderResponse } from "./checkoutOrderResponse"; import { CheckoutThreeDS2Action } from "./checkoutThreeDS2Action"; import { FraudResult } from "./fraudResult"; +import { PaymentValidationsResponse } from "./paymentValidationsResponse"; import { ResponsePaymentMethod } from "./responsePaymentMethod"; import { ThreeDS2ResponseData } from "./threeDS2ResponseData"; import { ThreeDS2Result } from "./threeDS2Result"; @@ -34,6 +35,7 @@ export class PaymentDetailsResponse { "merchantReference"?: string; "order"?: CheckoutOrderResponse | null; "paymentMethod"?: ResponsePaymentMethod | null; + "paymentValidations"?: PaymentValidationsResponse | null; /** * Adyen\'s 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. */ @@ -114,6 +116,12 @@ export class PaymentDetailsResponse { "type": "ResponsePaymentMethod | null", "format": "" }, + { + "name": "paymentValidations", + "baseName": "paymentValidations", + "type": "PaymentValidationsResponse | null", + "format": "" + }, { "name": "pspReference", "baseName": "pspReference", diff --git a/src/typings/checkout/paymentRequest.ts b/src/typings/checkout/paymentRequest.ts index 78964d019..2690a3f19 100644 --- a/src/typings/checkout/paymentRequest.ts +++ b/src/typings/checkout/paymentRequest.ts @@ -26,6 +26,7 @@ import { LineItem } from "./lineItem"; import { Mandate } from "./mandate"; import { MerchantRiskIndicator } from "./merchantRiskIndicator"; import { PaymentRequestPaymentMethod } from "./paymentRequestPaymentMethod"; +import { PaymentValidations } from "./paymentValidations"; import { PlatformChargebackLogic } from "./platformChargebackLogic"; import { RiskData } from "./riskData"; import { ShopperName } from "./shopperName"; @@ -127,7 +128,7 @@ export class PaymentRequest { */ "lineItems"?: Array; /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If this parameter is left empty, not provided, or not applicable (in case of cross-border transactions), then **shopperStatement** is used. Currently, `localizedShopperStatement` is only supported for payments with Visa, Mastercard, JCB, Diners, and Discover. **Supported characters**: Hiragana, Katakana, Kanji, and alphanumeric. */ "localizedShopperStatement"?: { [key: string]: string; }; "mandate"?: Mandate | null; @@ -159,6 +160,7 @@ export class PaymentRequest { */ "origin"?: string; "paymentMethod": PaymentRequestPaymentMethod; + "paymentValidations"?: PaymentValidations | null; "platformChargebackLogic"?: PlatformChargebackLogic | null; /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. @@ -533,6 +535,12 @@ export class PaymentRequest { "type": "PaymentRequestPaymentMethod", "format": "" }, + { + "name": "paymentValidations", + "baseName": "paymentValidations", + "type": "PaymentValidations | null", + "format": "" + }, { "name": "platformChargebackLogic", "baseName": "platformChargebackLogic", diff --git a/src/typings/checkout/paymentResponse.ts b/src/typings/checkout/paymentResponse.ts index a5c8a1552..930f945fe 100644 --- a/src/typings/checkout/paymentResponse.ts +++ b/src/typings/checkout/paymentResponse.ts @@ -11,6 +11,7 @@ import { Amount } from "./amount"; import { CheckoutOrderResponse } from "./checkoutOrderResponse"; import { FraudResult } from "./fraudResult"; import { PaymentResponseAction } from "./paymentResponseAction"; +import { PaymentValidationsResponse } from "./paymentValidationsResponse"; import { ResponsePaymentMethod } from "./responsePaymentMethod"; import { ThreeDS2ResponseData } from "./threeDS2ResponseData"; import { ThreeDS2Result } from "./threeDS2Result"; @@ -34,6 +35,7 @@ export class PaymentResponse { "merchantReference"?: string; "order"?: CheckoutOrderResponse | null; "paymentMethod"?: ResponsePaymentMethod | null; + "paymentValidations"?: PaymentValidationsResponse | null; /** * Adyen\'s 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > For payment methods that require a redirect or additional action, you will get this value in the `/payments/details` response. */ @@ -110,6 +112,12 @@ export class PaymentResponse { "type": "ResponsePaymentMethod | null", "format": "" }, + { + "name": "paymentValidations", + "baseName": "paymentValidations", + "type": "PaymentValidationsResponse | null", + "format": "" + }, { "name": "pspReference", "baseName": "pspReference", diff --git a/src/typings/checkout/paymentValidations.ts b/src/typings/checkout/paymentValidations.ts new file mode 100644 index 000000000..dc88cf814 --- /dev/null +++ b/src/typings/checkout/paymentValidations.ts @@ -0,0 +1,35 @@ +/* + * The version of the OpenAPI document: v71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { Name } from "./name"; + + +export class PaymentValidations { + "name"?: Name | null; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "Name | null", + "format": "" + } ]; + + static getAttributeTypeMap() { + return PaymentValidations.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/checkout/paymentValidationsNameResponse.ts b/src/typings/checkout/paymentValidationsNameResponse.ts new file mode 100644 index 000000000..db38dbf97 --- /dev/null +++ b/src/typings/checkout/paymentValidationsNameResponse.ts @@ -0,0 +1,60 @@ +/* + * The version of the OpenAPI document: v71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { PaymentValidationsNameResultRawResponse } from "./paymentValidationsNameResultRawResponse"; +import { PaymentValidationsNameResultResponse } from "./paymentValidationsNameResultResponse"; + + +export class PaymentValidationsNameResponse { + "rawResponse"?: PaymentValidationsNameResultRawResponse | null; + "result"?: PaymentValidationsNameResultResponse | null; + /** + * Informs you if the name validation was performed. Possible values: **performed**, **notPerformed**, **notSupported** + */ + "status"?: PaymentValidationsNameResponse.StatusEnum; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "rawResponse", + "baseName": "rawResponse", + "type": "PaymentValidationsNameResultRawResponse | null", + "format": "" + }, + { + "name": "result", + "baseName": "result", + "type": "PaymentValidationsNameResultResponse | null", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "PaymentValidationsNameResponse.StatusEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return PaymentValidationsNameResponse.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace PaymentValidationsNameResponse { + export enum StatusEnum { + NotPerformed = 'notPerformed', + NotSupported = 'notSupported', + Performed = 'performed' + } +} diff --git a/src/typings/checkout/paymentValidationsNameResultRawResponse.ts b/src/typings/checkout/paymentValidationsNameResultRawResponse.ts new file mode 100644 index 000000000..f8a4bb061 --- /dev/null +++ b/src/typings/checkout/paymentValidationsNameResultRawResponse.ts @@ -0,0 +1,76 @@ +/* + * The version of the OpenAPI document: v71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class PaymentValidationsNameResultRawResponse { + /** + * The raw first name validation result that Adyen received from the scheme. First name validation result is only returned for Visa. + */ + "firstName"?: string; + /** + * The raw full name validation result that Adyen received from the scheme. Full name is the only field that is validated for Mastercard + */ + "fullName"?: string; + /** + * The raw last name validation result that Adyen received from the scheme. Last name validation result is only returned for Visa. + */ + "lastName"?: string; + /** + * The raw middle name validation result that Adyen received from the scheme. Middle name validation result is only returned for Visa. + */ + "middleName"?: string; + /** + * The raw name validation status value that Adyen received from the scheme. Only returned for Visa. + */ + "status"?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "firstName", + "baseName": "firstName", + "type": "string", + "format": "" + }, + { + "name": "fullName", + "baseName": "fullName", + "type": "string", + "format": "" + }, + { + "name": "lastName", + "baseName": "lastName", + "type": "string", + "format": "" + }, + { + "name": "middleName", + "baseName": "middleName", + "type": "string", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return PaymentValidationsNameResultRawResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/checkout/paymentValidationsNameResultResponse.ts b/src/typings/checkout/paymentValidationsNameResultResponse.ts new file mode 100644 index 000000000..44d3a8b45 --- /dev/null +++ b/src/typings/checkout/paymentValidationsNameResultResponse.ts @@ -0,0 +1,66 @@ +/* + * The version of the OpenAPI document: v71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class PaymentValidationsNameResultResponse { + /** + * Informs you if the first name your shopper provided matches the cardholder first name on file at the issuing bank. The first name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch** + */ + "firstName"?: string; + /** + * Informs you if the full name your shopper provided matches the cardholder name on file at the issuing bank. The full name is the only field that is validated for Mastercard. Possible values: **match**, **partialMatch**, **noMatch** + */ + "fullName"?: string; + /** + * Informs you if the last name your shopper provided matches the cardholder last name on file at the issuing bank. The last name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch** + */ + "lastName"?: string; + /** + * Informs you if the middle name your shopper provided matches the cardholder middle name on file at the issuing bank. The middle name is only validated for Visa. Possible values: **match**, **partialMatch**, **noMatch** + */ + "middleName"?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "firstName", + "baseName": "firstName", + "type": "string", + "format": "" + }, + { + "name": "fullName", + "baseName": "fullName", + "type": "string", + "format": "" + }, + { + "name": "lastName", + "baseName": "lastName", + "type": "string", + "format": "" + }, + { + "name": "middleName", + "baseName": "middleName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return PaymentValidationsNameResultResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/checkout/paymentValidationsResponse.ts b/src/typings/checkout/paymentValidationsResponse.ts new file mode 100644 index 000000000..8df5a636c --- /dev/null +++ b/src/typings/checkout/paymentValidationsResponse.ts @@ -0,0 +1,35 @@ +/* + * The version of the OpenAPI document: v71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { PaymentValidationsNameResponse } from "./paymentValidationsNameResponse"; + + +export class PaymentValidationsResponse { + "name"?: PaymentValidationsNameResponse | null; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "PaymentValidationsNameResponse | null", + "format": "" + } ]; + + static getAttributeTypeMap() { + return PaymentValidationsResponse.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/checkout/pixDetails.ts b/src/typings/checkout/pixDetails.ts index 768981ae6..b87e675fb 100644 --- a/src/typings/checkout/pixDetails.ts +++ b/src/typings/checkout/pixDetails.ts @@ -24,6 +24,10 @@ export class PixDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -55,6 +59,12 @@ export class PixDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/pseDetails.ts b/src/typings/checkout/pseDetails.ts index 7c066cd01..5f1e0e8b5 100644 --- a/src/typings/checkout/pseDetails.ts +++ b/src/typings/checkout/pseDetails.ts @@ -30,6 +30,10 @@ export class PseDetails { */ "identificationType": string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The payment method type. */ "type"?: PseDetails.TypeEnum; @@ -69,6 +73,12 @@ export class PseDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/rakutenPayDetails.ts b/src/typings/checkout/rakutenPayDetails.ts index bfc8863c5..83445b768 100644 --- a/src/typings/checkout/rakutenPayDetails.ts +++ b/src/typings/checkout/rakutenPayDetails.ts @@ -21,6 +21,10 @@ export class RakutenPayDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -46,6 +50,12 @@ export class RakutenPayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/ratepayDetails.ts b/src/typings/checkout/ratepayDetails.ts index 6c3c91575..01f3b60b7 100644 --- a/src/typings/checkout/ratepayDetails.ts +++ b/src/typings/checkout/ratepayDetails.ts @@ -33,6 +33,10 @@ export class RatepayDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -76,6 +80,12 @@ export class RatepayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/responseAdditionalDataSepa.ts b/src/typings/checkout/responseAdditionalDataSepa.ts index 1707e01bf..cb0c4b44c 100644 --- a/src/typings/checkout/responseAdditionalDataSepa.ts +++ b/src/typings/checkout/responseAdditionalDataSepa.ts @@ -18,6 +18,10 @@ export class ResponseAdditionalDataSepa { */ "sepadirectdebit_mandateId"?: string; /** + * The date that the the shopper\'s bank account is charged. + */ + "sepadirectdebit_sepadirectdebit_dueDate"?: string; + /** * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF */ "sepadirectdebit_sequenceType"?: string; @@ -39,6 +43,12 @@ export class ResponseAdditionalDataSepa { "type": "string", "format": "" }, + { + "name": "sepadirectdebit_sepadirectdebit_dueDate", + "baseName": "sepadirectdebit.sepadirectdebit.dueDate", + "type": "string", + "format": "" + }, { "name": "sepadirectdebit_sequenceType", "baseName": "sepadirectdebit.sequenceType", diff --git a/src/typings/checkout/rivertyDetails.ts b/src/typings/checkout/rivertyDetails.ts index 56ce02862..e9bf5d913 100644 --- a/src/typings/checkout/rivertyDetails.ts +++ b/src/typings/checkout/rivertyDetails.ts @@ -41,6 +41,10 @@ export class RivertyDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -100,6 +104,12 @@ export class RivertyDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/samsungPayDetails.ts b/src/typings/checkout/samsungPayDetails.ts index 02036a207..100327be3 100644 --- a/src/typings/checkout/samsungPayDetails.ts +++ b/src/typings/checkout/samsungPayDetails.ts @@ -29,6 +29,10 @@ export class SamsungPayDetails { */ "samsungPayToken": string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -66,6 +70,12 @@ export class SamsungPayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/sepaDirectDebitDetails.ts b/src/typings/checkout/sepaDirectDebitDetails.ts index 615f8fcc6..39cbbc8e8 100644 --- a/src/typings/checkout/sepaDirectDebitDetails.ts +++ b/src/typings/checkout/sepaDirectDebitDetails.ts @@ -14,6 +14,10 @@ export class SepaDirectDebitDetails { */ "checkoutAttemptId"?: string; /** + * The date that the the shopper\'s bank account is charged. + */ + "dueDate"?: string; + /** * The International Bank Account Number (IBAN). */ "iban": string; @@ -29,6 +33,10 @@ export class SepaDirectDebitDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -52,6 +60,12 @@ export class SepaDirectDebitDetails { "type": "string", "format": "" }, + { + "name": "dueDate", + "baseName": "dueDate", + "type": "string", + "format": "" + }, { "name": "iban", "baseName": "iban", @@ -70,6 +84,12 @@ export class SepaDirectDebitDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/storedPaymentMethodDetails.ts b/src/typings/checkout/storedPaymentMethodDetails.ts index ba8463e0d..6ecacd23f 100644 --- a/src/typings/checkout/storedPaymentMethodDetails.ts +++ b/src/typings/checkout/storedPaymentMethodDetails.ts @@ -21,6 +21,10 @@ export class StoredPaymentMethodDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -46,6 +50,12 @@ export class StoredPaymentMethodDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/storedPaymentMethodResource.ts b/src/typings/checkout/storedPaymentMethodResource.ts index d4bdff68b..637bc4fdd 100644 --- a/src/typings/checkout/storedPaymentMethodResource.ts +++ b/src/typings/checkout/storedPaymentMethodResource.ts @@ -7,6 +7,8 @@ * Do not edit this class manually. */ +import { TokenMandate } from "./tokenMandate"; + export class StoredPaymentMethodResource { /** @@ -49,6 +51,7 @@ export class StoredPaymentMethodResource { * The last four digits of the PAN. */ "lastFour"?: string; + "mandate"?: TokenMandate | null; /** * The display name of the stored payment method. */ @@ -143,6 +146,12 @@ export class StoredPaymentMethodResource { "type": "string", "format": "" }, + { + "name": "mandate", + "baseName": "mandate", + "type": "TokenMandate | null", + "format": "" + }, { "name": "name", "baseName": "name", diff --git a/src/typings/checkout/tokenMandate.ts b/src/typings/checkout/tokenMandate.ts new file mode 100644 index 000000000..af89535a2 --- /dev/null +++ b/src/typings/checkout/tokenMandate.ts @@ -0,0 +1,207 @@ +/* + * The version of the OpenAPI document: v71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class TokenMandate { + /** + * The type of account identifier for the masked account number. + */ + "accountIdType"?: string; + /** + * The billing amount (in minor units) of the recurring transactions. + */ + "amount": string; + /** + * The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. + */ + "amountRule"?: TokenMandate.AmountRuleEnum; + /** + * The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. + */ + "billingAttemptsRule"?: TokenMandate.BillingAttemptsRuleEnum; + /** + * The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`. + */ + "billingDay"?: string; + /** + * The number of transactions that can be performed within the given frequency. + */ + "count"?: string; + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + */ + "currency": string; + /** + * End date of the billing plan, in YYYY-MM-DD format. + */ + "endsAt": string; + /** + * The frequency with which a shopper should be charged. Possible values: **adhoc**, **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. + */ + "frequency": TokenMandate.FrequencyEnum; + /** + * The unique identifier of the mandate. + */ + "mandateId": string; + /** + * The masked account number associated with the mandate. + */ + "maskedAccountId"?: string; + /** + * The provider-specific identifier for this mandate. + */ + "providerId": string; + /** + * Additional remarks or notes about the mandate. + */ + "remarks"?: string; + /** + * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. + */ + "startsAt"?: string; + /** + * The status of the mandate. Examples : active, revoked, completed, expired + */ + "status": string; + /** + * The transaction variant used for this mandate. + */ + "txVariant": string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "accountIdType", + "baseName": "accountIdType", + "type": "string", + "format": "" + }, + { + "name": "amount", + "baseName": "amount", + "type": "string", + "format": "" + }, + { + "name": "amountRule", + "baseName": "amountRule", + "type": "TokenMandate.AmountRuleEnum", + "format": "" + }, + { + "name": "billingAttemptsRule", + "baseName": "billingAttemptsRule", + "type": "TokenMandate.BillingAttemptsRuleEnum", + "format": "" + }, + { + "name": "billingDay", + "baseName": "billingDay", + "type": "string", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "string", + "format": "" + }, + { + "name": "currency", + "baseName": "currency", + "type": "string", + "format": "" + }, + { + "name": "endsAt", + "baseName": "endsAt", + "type": "string", + "format": "" + }, + { + "name": "frequency", + "baseName": "frequency", + "type": "TokenMandate.FrequencyEnum", + "format": "" + }, + { + "name": "mandateId", + "baseName": "mandateId", + "type": "string", + "format": "" + }, + { + "name": "maskedAccountId", + "baseName": "maskedAccountId", + "type": "string", + "format": "" + }, + { + "name": "providerId", + "baseName": "providerId", + "type": "string", + "format": "" + }, + { + "name": "remarks", + "baseName": "remarks", + "type": "string", + "format": "" + }, + { + "name": "startsAt", + "baseName": "startsAt", + "type": "string", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "string", + "format": "" + }, + { + "name": "txVariant", + "baseName": "txVariant", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return TokenMandate.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace TokenMandate { + export enum AmountRuleEnum { + Max = 'max', + Exact = 'exact' + } + export enum BillingAttemptsRuleEnum { + On = 'on', + Before = 'before', + After = 'after' + } + export enum FrequencyEnum { + Adhoc = 'adhoc', + Daily = 'daily', + Weekly = 'weekly', + BiWeekly = 'biWeekly', + Monthly = 'monthly', + Quarterly = 'quarterly', + HalfYearly = 'halfYearly', + Yearly = 'yearly' + } +} diff --git a/src/typings/checkout/twintDetails.ts b/src/typings/checkout/twintDetails.ts index 25180ac79..7857677fc 100644 --- a/src/typings/checkout/twintDetails.ts +++ b/src/typings/checkout/twintDetails.ts @@ -21,6 +21,10 @@ export class TwintDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -50,6 +54,12 @@ export class TwintDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/upiCollectDetails.ts b/src/typings/checkout/upiCollectDetails.ts index d6cdc918f..699c39d32 100644 --- a/src/typings/checkout/upiCollectDetails.ts +++ b/src/typings/checkout/upiCollectDetails.ts @@ -25,6 +25,10 @@ export class UpiCollectDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. */ "shopperNotificationReference"?: string; @@ -64,6 +68,12 @@ export class UpiCollectDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperNotificationReference", "baseName": "shopperNotificationReference", diff --git a/src/typings/checkout/upiIntentDetails.ts b/src/typings/checkout/upiIntentDetails.ts index f8e45fd07..f66f39448 100644 --- a/src/typings/checkout/upiIntentDetails.ts +++ b/src/typings/checkout/upiIntentDetails.ts @@ -29,6 +29,10 @@ export class UpiIntentDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. */ "shopperNotificationReference"?: string; @@ -70,6 +74,12 @@ export class UpiIntentDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperNotificationReference", "baseName": "shopperNotificationReference", diff --git a/src/typings/checkout/upiQrDetails.ts b/src/typings/checkout/upiQrDetails.ts index b51daf290..5477b5ccc 100644 --- a/src/typings/checkout/upiQrDetails.ts +++ b/src/typings/checkout/upiQrDetails.ts @@ -25,6 +25,10 @@ export class UpiQrDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. */ "shopperNotificationReference"?: string; @@ -60,6 +64,12 @@ export class UpiQrDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "shopperNotificationReference", "baseName": "shopperNotificationReference", diff --git a/src/typings/checkout/vippsDetails.ts b/src/typings/checkout/vippsDetails.ts index c75ffc21f..de899df41 100644 --- a/src/typings/checkout/vippsDetails.ts +++ b/src/typings/checkout/vippsDetails.ts @@ -21,6 +21,10 @@ export class VippsDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -50,6 +54,12 @@ export class VippsDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/checkout/visaCheckoutDetails.ts b/src/typings/checkout/visaCheckoutDetails.ts index b4279b4f9..6711e157e 100644 --- a/src/typings/checkout/visaCheckoutDetails.ts +++ b/src/typings/checkout/visaCheckoutDetails.ts @@ -18,6 +18,10 @@ export class VisaCheckoutDetails { */ "fundingSource"?: VisaCheckoutDetails.FundingSourceEnum; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **visacheckout** */ "type"?: VisaCheckoutDetails.TypeEnum; @@ -43,6 +47,12 @@ export class VisaCheckoutDetails { "type": "VisaCheckoutDetails.FundingSourceEnum", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/weChatPayDetails.ts b/src/typings/checkout/weChatPayDetails.ts index 0e574c9fc..7454097e0 100644 --- a/src/typings/checkout/weChatPayDetails.ts +++ b/src/typings/checkout/weChatPayDetails.ts @@ -14,6 +14,10 @@ export class WeChatPayDetails { */ "checkoutAttemptId"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * **wechatpay** */ "type"?: WeChatPayDetails.TypeEnum; @@ -29,6 +33,12 @@ export class WeChatPayDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/weChatPayMiniProgramDetails.ts b/src/typings/checkout/weChatPayMiniProgramDetails.ts index 50c0c398a..54b350711 100644 --- a/src/typings/checkout/weChatPayMiniProgramDetails.ts +++ b/src/typings/checkout/weChatPayMiniProgramDetails.ts @@ -16,6 +16,21 @@ export class WeChatPayMiniProgramDetails { "checkoutAttemptId"?: string; "openid"?: string; /** + * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. + */ + "recurringDetailReference"?: string; + /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + */ + "storedPaymentMethodId"?: string; + /** * **wechatpayMiniProgram** */ "type"?: WeChatPayMiniProgramDetails.TypeEnum; @@ -43,6 +58,24 @@ export class WeChatPayMiniProgramDetails { "type": "string", "format": "" }, + { + "name": "recurringDetailReference", + "baseName": "recurringDetailReference", + "type": "string", + "format": "" + }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, + { + "name": "storedPaymentMethodId", + "baseName": "storedPaymentMethodId", + "type": "string", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/checkout/zipDetails.ts b/src/typings/checkout/zipDetails.ts index 86458bed1..4140a38b4 100644 --- a/src/typings/checkout/zipDetails.ts +++ b/src/typings/checkout/zipDetails.ts @@ -25,6 +25,10 @@ export class ZipDetails { */ "recurringDetailReference"?: string; /** + * Base64-encoded JSON object containing SDK related parameters required by the SDK + */ + "sdkData"?: string; + /** * This is the `recurringDetailReference` returned in the response when you created the token. */ "storedPaymentMethodId"?: string; @@ -56,6 +60,12 @@ export class ZipDetails { "type": "string", "format": "" }, + { + "name": "sdkData", + "baseName": "sdkData", + "type": "string", + "format": "" + }, { "name": "storedPaymentMethodId", "baseName": "storedPaymentMethodId", diff --git a/src/typings/legalEntityManagement/financialReport.ts b/src/typings/legalEntityManagement/financialReport.ts index 5411aa856..58239ac6c 100644 --- a/src/typings/legalEntityManagement/financialReport.ts +++ b/src/typings/legalEntityManagement/financialReport.ts @@ -24,7 +24,7 @@ export class FinancialReport { /** * The date the financial data were provided, in YYYY-MM-DD format. */ - "dateOfFinancialData": string; + "dateOfFinancialData"?: string; /** * The number of employees of the business. */ diff --git a/src/typings/management/affirmInfo.ts b/src/typings/management/affirmInfo.ts index b64e42c38..4110f9841 100644 --- a/src/typings/management/affirmInfo.ts +++ b/src/typings/management/affirmInfo.ts @@ -9,6 +9,10 @@ export class AffirmInfo { + /** + * Merchant price plan + */ + "pricePlan"?: AffirmInfo.PricePlanEnum; /** * Merchant support email */ @@ -19,6 +23,12 @@ export class AffirmInfo { static readonly mapping: {[index: string]: string} | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "pricePlan", + "baseName": "pricePlan", + "type": "AffirmInfo.PricePlanEnum", + "format": "" + }, { "name": "supportEmail", "baseName": "supportEmail", @@ -34,3 +44,10 @@ export class AffirmInfo { } } +export namespace AffirmInfo { + export enum PricePlanEnum { + Bronze = 'BRONZE', + Silver = 'SILVER', + Gold = 'GOLD' + } +} diff --git a/src/typings/management/cardholderReceipt.ts b/src/typings/management/cardholderReceipt.ts index 12b669ab7..baecfc4b0 100644 --- a/src/typings/management/cardholderReceipt.ts +++ b/src/typings/management/cardholderReceipt.ts @@ -10,7 +10,7 @@ export class CardholderReceipt { /** - * A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler` + * The structure of the header to show on the shopper receipt. You can define the order of one or two header lines and blank lines. For example, **header1,header2,filler**. The text of the header lines is defined in the Customer Area under **In-person payments** > **Terminal settings** > **Receipts** in the **Receipt lines** block. */ "headerForAuthorizedReceipt"?: string; diff --git a/src/typings/management/key.ts b/src/typings/management/key.ts index f5173f57f..17a7c82d6 100644 --- a/src/typings/management/key.ts +++ b/src/typings/management/key.ts @@ -14,7 +14,7 @@ export class Key { */ "identifier"?: string; /** - * The secure passphrase to protect the shared key. Must consist of: * At least 12 characters. * At least 1 uppercase letter: `[A-Z]`. * At least 1 lowercase letter: `[a-z]`. * At least 1 digit: `[0-9]`. * At least 1 special character. Limited to the following: `~`, `@`, `$`, `%`, `^`, `&`, `*`, `(`, `)`, `_`, `+`, `=`, `}`, `{`, `]`, `[`, `;`, `:`, `?`, `.`, `,`, `>`, `<`. + * The secure passphrase to protect the shared key. Must consist of: * At least 12 characters. * At least 1 uppercase letter: `[A-Z]`. * At least 1 lowercase letter: `[a-z]`. * At least 1 digit: `[0-9]`. * At least 1 special character. Limited to the following: `~`, `!`, `@`, `#`, `$`, `%`, `^`, `&`, `*`, `(`, `)`, `_`, `+`, `=`, `}`, `{`, `]`, `[`, `;`, `:`, `?`, `.`, `,`, `>`, `<`. */ "passphrase"?: string; /** diff --git a/src/typings/management/models.ts b/src/typings/management/models.ts index 4b9b73c0f..99ae1b5bb 100644 --- a/src/typings/management/models.ts +++ b/src/typings/management/models.ts @@ -143,6 +143,7 @@ export * from "./storeSplitConfiguration" export * from "./subMerchantData" export * from "./supportedCardTypes" export * from "./surcharge" +export * from "./svsInfo" export * from "./swishInfo" export * from "./tapToPay" export * from "./terminal" @@ -192,6 +193,7 @@ export * from "./uploadAndroidAppResponse" export * from "./uploadAndroidCertificateResponse" export * from "./url" export * from "./user" +export * from "./valueLinkInfo" export * from "./vippsInfo" export * from "./weChatPayInfo" export * from "./weChatPayPosInfo" diff --git a/src/typings/management/objectSerializer.ts b/src/typings/management/objectSerializer.ts index 5d950b570..919de89a9 100644 --- a/src/typings/management/objectSerializer.ts +++ b/src/typings/management/objectSerializer.ts @@ -145,6 +145,7 @@ import { StoreSplitConfiguration } from "./storeSplitConfiguration"; import { SubMerchantData } from "./subMerchantData"; import { SupportedCardTypes } from "./supportedCardTypes"; import { Surcharge } from "./surcharge"; +import { SvsInfo } from "./svsInfo"; import { SwishInfo } from "./swishInfo"; import { TapToPay } from "./tapToPay"; import { Terminal } from "./terminal"; @@ -194,6 +195,7 @@ import { UploadAndroidAppResponse } from "./uploadAndroidAppResponse"; import { UploadAndroidCertificateResponse } from "./uploadAndroidCertificateResponse"; import { Url } from "./url"; import { User } from "./user"; +import { ValueLinkInfo } from "./valueLinkInfo"; import { VippsInfo } from "./vippsInfo"; import { WeChatPayInfo } from "./weChatPayInfo"; import { WeChatPayPosInfo } from "./weChatPayPosInfo"; @@ -215,6 +217,7 @@ let primitives = [ let enumsMap: Set = new Set([ "AccelInfo.ProcessingTypeEnum", + "AffirmInfo.PricePlanEnum", "AmexInfo.ServiceLevelEnum", "AndroidApp.StatusEnum", "Connectivity.SimcardStatusEnum", @@ -289,6 +292,7 @@ let enumsMap: Set = new Set([ "UpdateSplitConfigurationLogicRequest.SurchargeEnum", "UpdateSplitConfigurationLogicRequest.TipEnum", "UpdateStoreRequest.StatusEnum", + "ValueLinkInfo.PinSupportEnum", "Webhook.CommunicationFormatEnum", "Webhook.EncryptionProtocolEnum", "Webhook.FilterMerchantAccountTypeEnum", @@ -441,6 +445,7 @@ let typeMap: {[index: string]: any} = { "SubMerchantData": SubMerchantData, "SupportedCardTypes": SupportedCardTypes, "Surcharge": Surcharge, + "SvsInfo": SvsInfo, "SwishInfo": SwishInfo, "TapToPay": TapToPay, "Terminal": Terminal, @@ -490,6 +495,7 @@ let typeMap: {[index: string]: any} = { "UploadAndroidCertificateResponse": UploadAndroidCertificateResponse, "Url": Url, "User": User, + "ValueLinkInfo": ValueLinkInfo, "VippsInfo": VippsInfo, "WeChatPayInfo": WeChatPayInfo, "WeChatPayPosInfo": WeChatPayPosInfo, diff --git a/src/typings/management/paymentMethod.ts b/src/typings/management/paymentMethod.ts index cc55f3237..2ed413642 100644 --- a/src/typings/management/paymentMethod.ts +++ b/src/typings/management/paymentMethod.ts @@ -32,9 +32,11 @@ import { SepaDirectDebitInfo } from "./sepaDirectDebitInfo"; import { SodexoInfo } from "./sodexoInfo"; import { SofortInfo } from "./sofortInfo"; import { StarInfo } from "./starInfo"; +import { SvsInfo } from "./svsInfo"; import { SwishInfo } from "./swishInfo"; import { TicketInfo } from "./ticketInfo"; import { TwintInfo } from "./twintInfo"; +import { ValueLinkInfo } from "./valueLinkInfo"; import { VippsInfo } from "./vippsInfo"; import { WeChatPayInfo } from "./weChatPayInfo"; import { WeChatPayPosInfo } from "./weChatPayPosInfo"; @@ -115,6 +117,7 @@ export class PaymentMethod { * The unique identifier of the store for which to configure the payment method, if any. */ "storeIds"?: Array; + "svs"?: SvsInfo | null; "swish"?: SwishInfo | null; "ticket"?: TicketInfo | null; "twint"?: TwintInfo | null; @@ -122,6 +125,7 @@ export class PaymentMethod { * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). */ "type"?: string; + "valueLink"?: ValueLinkInfo | null; /** * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** */ @@ -400,6 +404,12 @@ export class PaymentMethod { "type": "Array", "format": "" }, + { + "name": "svs", + "baseName": "svs", + "type": "SvsInfo | null", + "format": "" + }, { "name": "swish", "baseName": "swish", @@ -424,6 +434,12 @@ export class PaymentMethod { "type": "string", "format": "" }, + { + "name": "valueLink", + "baseName": "valueLink", + "type": "ValueLinkInfo | null", + "format": "" + }, { "name": "verificationStatus", "baseName": "verificationStatus", diff --git a/src/typings/management/paymentMethodResponse.ts b/src/typings/management/paymentMethodResponse.ts index 74b38ec7a..3a3151fbd 100644 --- a/src/typings/management/paymentMethodResponse.ts +++ b/src/typings/management/paymentMethodResponse.ts @@ -140,6 +140,7 @@ export namespace PaymentMethodResponse { Jcb = 'jcb', Klarna = 'klarna', KlarnaAccount = 'klarna_account', + KlarnaB2b = 'klarna_b2b', KlarnaPaynow = 'klarna_paynow', LeCard = 'le_card', LeCardCredit = 'le_card_credit', @@ -181,6 +182,7 @@ export namespace PaymentMethodResponse { Sepadirectdebit = 'sepadirectdebit', Sodexo = 'sodexo', Star = 'star', + Svs = 'svs', Swish = 'swish', Ticket = 'ticket', TodoGiftcard = 'todo_giftcard', @@ -193,6 +195,7 @@ export namespace PaymentMethodResponse { UpBrazilPrepaid = 'up_brazil_prepaid', ValeRefeicao = 'vale_refeicao', ValeRefeicaoPrepaid = 'vale_refeicao_prepaid', + ValueLink = 'valueLink', VegasCard = 'vegas_card', VegasCardCredit = 'vegas_card_credit', VegasCardDebit = 'vegas_card_debit', diff --git a/src/typings/management/paymentMethodSetupInfo.ts b/src/typings/management/paymentMethodSetupInfo.ts index 41dd16c07..a408c6f1d 100644 --- a/src/typings/management/paymentMethodSetupInfo.ts +++ b/src/typings/management/paymentMethodSetupInfo.ts @@ -32,9 +32,11 @@ import { SepaDirectDebitInfo } from "./sepaDirectDebitInfo"; import { SodexoInfo } from "./sodexoInfo"; import { SofortInfo } from "./sofortInfo"; import { StarInfo } from "./starInfo"; +import { SvsInfo } from "./svsInfo"; import { SwishInfo } from "./swishInfo"; import { TicketInfo } from "./ticketInfo"; import { TwintInfo } from "./twintInfo"; +import { ValueLinkInfo } from "./valueLinkInfo"; import { VippsInfo } from "./vippsInfo"; import { WeChatPayInfo } from "./weChatPayInfo"; import { WeChatPayPosInfo } from "./weChatPayPosInfo"; @@ -103,6 +105,7 @@ export class PaymentMethodSetupInfo { * The unique identifier of the store for which to configure the payment method, if any. */ "storeIds"?: Array; + "svs"?: SvsInfo | null; "swish"?: SwishInfo | null; "ticket"?: TicketInfo | null; "twint"?: TwintInfo | null; @@ -110,6 +113,7 @@ export class PaymentMethodSetupInfo { * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). */ "type": PaymentMethodSetupInfo.TypeEnum; + "valueLink"?: ValueLinkInfo | null; "vipps"?: VippsInfo | null; "visa"?: GenericPmWithTdiInfo | null; "wechatpay"?: WeChatPayInfo | null; @@ -366,6 +370,12 @@ export class PaymentMethodSetupInfo { "type": "Array", "format": "" }, + { + "name": "svs", + "baseName": "svs", + "type": "SvsInfo | null", + "format": "" + }, { "name": "swish", "baseName": "swish", @@ -390,6 +400,12 @@ export class PaymentMethodSetupInfo { "type": "PaymentMethodSetupInfo.TypeEnum", "format": "" }, + { + "name": "valueLink", + "baseName": "valueLink", + "type": "ValueLinkInfo | null", + "format": "" + }, { "name": "vipps", "baseName": "vipps", @@ -495,6 +511,7 @@ export namespace PaymentMethodSetupInfo { Jcb = 'jcb', Klarna = 'klarna', KlarnaAccount = 'klarna_account', + KlarnaB2b = 'klarna_b2b', KlarnaPaynow = 'klarna_paynow', LeCard = 'le_card', LeCardCredit = 'le_card_credit', @@ -536,6 +553,7 @@ export namespace PaymentMethodSetupInfo { Sepadirectdebit = 'sepadirectdebit', Sodexo = 'sodexo', Star = 'star', + Svs = 'svs', Swish = 'swish', Ticket = 'ticket', TodoGiftcard = 'todo_giftcard', @@ -548,6 +566,7 @@ export namespace PaymentMethodSetupInfo { UpBrazilPrepaid = 'up_brazil_prepaid', ValeRefeicao = 'vale_refeicao', ValeRefeicaoPrepaid = 'vale_refeicao_prepaid', + ValueLink = 'valueLink', VegasCard = 'vegas_card', VegasCardCredit = 'vegas_card_credit', VegasCardDebit = 'vegas_card_debit', diff --git a/src/typings/management/svsInfo.ts b/src/typings/management/svsInfo.ts new file mode 100644 index 000000000..1c6d32f6d --- /dev/null +++ b/src/typings/management/svsInfo.ts @@ -0,0 +1,46 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class SvsInfo { + /** + * Authorisation Mid + */ + "authorisationMid": string; + /** + * CurrencyCode + */ + "currencyCode": string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authorisationMid", + "baseName": "authorisationMid", + "type": "string", + "format": "" + }, + { + "name": "currencyCode", + "baseName": "currencyCode", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return SvsInfo.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/management/valueLinkInfo.ts b/src/typings/management/valueLinkInfo.ts new file mode 100644 index 000000000..1a8c3d8d9 --- /dev/null +++ b/src/typings/management/valueLinkInfo.ts @@ -0,0 +1,72 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class ValueLinkInfo { + /** + * Authorisation Mid + */ + "authorisationMid": string; + /** + * PIN Support. For ecommerce, PIN is required. + */ + "pinSupport": ValueLinkInfo.PinSupportEnum; + /** + * Submitter ID + */ + "submitterId"?: string; + /** + * Terminal ID + */ + "terminalId"?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authorisationMid", + "baseName": "authorisationMid", + "type": "string", + "format": "" + }, + { + "name": "pinSupport", + "baseName": "pinSupport", + "type": "ValueLinkInfo.PinSupportEnum", + "format": "" + }, + { + "name": "submitterId", + "baseName": "submitterId", + "type": "string", + "format": "" + }, + { + "name": "terminalId", + "baseName": "terminalId", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ValueLinkInfo.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace ValueLinkInfo { + export enum PinSupportEnum { + Pin = 'PIN', + NoPin = 'NO PIN' + } +} diff --git a/src/typings/payment/additionalDataLevel23.ts b/src/typings/payment/additionalDataLevel23.ts index 98adcefa4..ea7a2d959 100644 --- a/src/typings/payment/additionalDataLevel23.ts +++ b/src/typings/payment/additionalDataLevel23.ts @@ -34,7 +34,7 @@ export class AdditionalDataLevel23 { */ "enhancedSchemeData_freightAmount"?: string; /** - * The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * [UNSPSC commodity codes](https://www.unspsc.org/) * [HS commodity codes](https://www.wcoomd.org/en/topics/nomenclature/overview.aspx) * [NAICS commodity codes](https://www.census.gov/naics/) * [NAPCS commodity codes](https://www.census.gov/naics/napcs/) * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros. + * The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * [UNSPSC commodity codes](https://www.ungm.org/public/unspsc) * [HS commodity codes](https://www.wcoomd.org/en/topics/nomenclature/overview.aspx) * [NAICS commodity codes](https://www.census.gov/naics/) * [NAPCS commodity codes](https://www.census.gov/naics/napcs/) * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros. */ "enhancedSchemeData_itemDetailLine_itemNr_commodityCode"?: string; /** diff --git a/src/typings/payment/paymentRequest.ts b/src/typings/payment/paymentRequest.ts index 302171ae4..4d47e7618 100644 --- a/src/typings/payment/paymentRequest.ts +++ b/src/typings/payment/paymentRequest.ts @@ -76,7 +76,7 @@ export class PaymentRequest { "fundingSource"?: PaymentRequest.FundingSourceEnum; "installments"?: Installments | null; /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana and ja-Hani character set for Visa, Mastercard and JCB payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, Kanji, capital letters, numbers and special characters. * Half-width or full-width characters. + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If this parameter is left empty, not provided, or not applicable (in case of cross-border transactions), then **shopperStatement** is used. Currently, `localizedShopperStatement` is only supported for payments with Visa, Mastercard, JCB, Diners, and Discover. **Supported characters**: Hiragana, Katakana, Kanji, and alphanumeric. */ "localizedShopperStatement"?: { [key: string]: string; }; "mandate"?: Mandate | null; diff --git a/src/typings/payment/paymentRequest3d.ts b/src/typings/payment/paymentRequest3d.ts index 77e54730a..33e2103bb 100644 --- a/src/typings/payment/paymentRequest3d.ts +++ b/src/typings/payment/paymentRequest3d.ts @@ -56,7 +56,7 @@ export class PaymentRequest3d { "fraudOffset"?: number; "installments"?: Installments | null; /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana and ja-Hani character set for Visa, Mastercard and JCB payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, Kanji, capital letters, numbers and special characters. * Half-width or full-width characters. + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If this parameter is left empty, not provided, or not applicable (in case of cross-border transactions), then **shopperStatement** is used. Currently, `localizedShopperStatement` is only supported for payments with Visa, Mastercard, JCB, Diners, and Discover. **Supported characters**: Hiragana, Katakana, Kanji, and alphanumeric. */ "localizedShopperStatement"?: { [key: string]: string; }; /** diff --git a/src/typings/payment/paymentRequest3ds2.ts b/src/typings/payment/paymentRequest3ds2.ts index f1e5b780f..13c28f840 100644 --- a/src/typings/payment/paymentRequest3ds2.ts +++ b/src/typings/payment/paymentRequest3ds2.ts @@ -57,7 +57,7 @@ export class PaymentRequest3ds2 { "fraudOffset"?: number; "installments"?: Installments | null; /** - * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana and ja-Hani character set for Visa, Mastercard and JCB payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, Kanji, capital letters, numbers and special characters. * Half-width or full-width characters. + * The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If this parameter is left empty, not provided, or not applicable (in case of cross-border transactions), then **shopperStatement** is used. Currently, `localizedShopperStatement` is only supported for payments with Visa, Mastercard, JCB, Diners, and Discover. **Supported characters**: Hiragana, Katakana, Kanji, and alphanumeric. */ "localizedShopperStatement"?: { [key: string]: string; }; /** diff --git a/src/typings/payment/responseAdditionalDataSepa.ts b/src/typings/payment/responseAdditionalDataSepa.ts index 43e2c5931..a6579835e 100644 --- a/src/typings/payment/responseAdditionalDataSepa.ts +++ b/src/typings/payment/responseAdditionalDataSepa.ts @@ -18,6 +18,10 @@ export class ResponseAdditionalDataSepa { */ "sepadirectdebit_mandateId"?: string; /** + * The date that the the shopper\'s bank account is charged. + */ + "sepadirectdebit_sepadirectdebit_dueDate"?: string; + /** * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF */ "sepadirectdebit_sequenceType"?: string; @@ -39,6 +43,12 @@ export class ResponseAdditionalDataSepa { "type": "string", "format": "" }, + { + "name": "sepadirectdebit_sepadirectdebit_dueDate", + "baseName": "sepadirectdebit.sepadirectdebit.dueDate", + "type": "string", + "format": "" + }, { "name": "sepadirectdebit_sequenceType", "baseName": "sepadirectdebit.sequenceType", diff --git a/src/typings/sessionAuthentication/accountHolderResource.ts b/src/typings/sessionAuthentication/accountHolderResource.ts index 0e4256382..b52df18d8 100644 --- a/src/typings/sessionAuthentication/accountHolderResource.ts +++ b/src/typings/sessionAuthentication/accountHolderResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class AccountHolderResource extends Resource { diff --git a/src/typings/sessionAuthentication/balanceAccountResource.ts b/src/typings/sessionAuthentication/balanceAccountResource.ts index ed6c1231e..6408e0ac3 100644 --- a/src/typings/sessionAuthentication/balanceAccountResource.ts +++ b/src/typings/sessionAuthentication/balanceAccountResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class BalanceAccountResource extends Resource { diff --git a/src/typings/sessionAuthentication/legalEntityResource.ts b/src/typings/sessionAuthentication/legalEntityResource.ts index c4851e41c..7504b4f43 100644 --- a/src/typings/sessionAuthentication/legalEntityResource.ts +++ b/src/typings/sessionAuthentication/legalEntityResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class LegalEntityResource extends Resource { diff --git a/src/typings/sessionAuthentication/merchantAccountResource.ts b/src/typings/sessionAuthentication/merchantAccountResource.ts index cfed80104..33790a1c1 100644 --- a/src/typings/sessionAuthentication/merchantAccountResource.ts +++ b/src/typings/sessionAuthentication/merchantAccountResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class MerchantAccountResource extends Resource { diff --git a/src/typings/sessionAuthentication/paymentInstrumentResource.ts b/src/typings/sessionAuthentication/paymentInstrumentResource.ts index 77be55c8d..ee8b5b658 100644 --- a/src/typings/sessionAuthentication/paymentInstrumentResource.ts +++ b/src/typings/sessionAuthentication/paymentInstrumentResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class PaymentInstrumentResource extends Resource { diff --git a/src/typings/transferWebhooks/transferDataTracking.ts b/src/typings/transferWebhooks/transferDataTracking.ts index 3d942bc34..336ee1789 100644 --- a/src/typings/transferWebhooks/transferDataTracking.ts +++ b/src/typings/transferWebhooks/transferDataTracking.ts @@ -30,11 +30,7 @@ export type TransferDataTracking = ConfirmationTrackingData | EstimationTracking */ export class TransferDataTrackingClass { - static readonly discriminator: string | undefined = "type"; + static readonly discriminator: string = "type"; - static readonly mapping: {[index: string]: string} | undefined = { - "confirmation": "ConfirmationTrackingData", - "estimation": "EstimationTrackingData", - "internalReview": "InternalReviewTrackingData" - }; + static readonly mapping: {[index: string]: string} | undefined = undefined; } From 3e27368549e5ec503c5ce95898f0403af00d9b6d Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot Date: Fri, 14 Nov 2025 09:13:11 +0000 Subject: [PATCH 2/2] style(fmt): code formatted --- src/services/balancePlatform/accountHoldersApi.ts | 3 +-- src/services/balancePlatform/authorizedCardUsersApi.ts | 1 - src/services/balancePlatform/balanceAccountsApi.ts | 1 - src/services/balancePlatform/balancesApi.ts | 1 - src/services/balancePlatform/bankAccountValidationApi.ts | 1 - src/services/balancePlatform/cardOrdersApi.ts | 1 - src/services/balancePlatform/grantAccountsApi.ts | 1 - src/services/balancePlatform/grantOffersApi.ts | 1 - src/services/balancePlatform/manageCardPINApi.ts | 1 - src/services/balancePlatform/manageSCADevicesApi.ts | 1 - src/services/balancePlatform/networkTokensApi.ts | 1 - src/services/balancePlatform/paymentInstrumentGroupsApi.ts | 1 - src/services/balancePlatform/paymentInstrumentsApi.ts | 1 - src/services/balancePlatform/platformApi.ts | 1 - src/services/balancePlatform/sCAAssociationManagementApi.ts | 1 - src/services/balancePlatform/sCADeviceManagementApi.ts | 1 - src/services/balancePlatform/transactionRulesApi.ts | 1 - .../balancePlatform/transferLimitsBalanceAccountLevelApi.ts | 1 - .../balancePlatform/transferLimitsBalancePlatformLevelApi.ts | 1 - src/services/balancePlatform/transferRoutesApi.ts | 1 - src/services/binLookup/binLookupApi.ts | 1 - src/services/checkout/donationsApi.ts | 1 - src/services/checkout/modificationsApi.ts | 1 - src/services/checkout/ordersApi.ts | 1 - src/services/checkout/paymentLinksApi.ts | 1 - src/services/checkout/paymentsApi.ts | 1 - src/services/checkout/utilityApi.ts | 2 -- src/services/dataProtection/dataProtectionApi.ts | 1 - src/services/disputes/disputesApi.ts | 1 - src/services/legalEntityManagement/businessLinesApi.ts | 1 - src/services/legalEntityManagement/documentsApi.ts | 1 - src/services/legalEntityManagement/hostedOnboardingApi.ts | 1 - src/services/legalEntityManagement/legalEntitiesApi.ts | 1 - src/services/legalEntityManagement/pCIQuestionnairesApi.ts | 1 - src/services/legalEntityManagement/taxEDeliveryConsentApi.ts | 1 - src/services/legalEntityManagement/termsOfServiceApi.ts | 1 - src/services/legalEntityManagement/transferInstrumentsApi.ts | 1 - src/services/management/aPICredentialsCompanyLevelApi.ts | 1 - src/services/management/aPICredentialsMerchantLevelApi.ts | 1 - src/services/management/aPIKeyCompanyLevelApi.ts | 1 - src/services/management/aPIKeyMerchantLevelApi.ts | 1 - src/services/management/accountCompanyLevelApi.ts | 1 - src/services/management/accountMerchantLevelApi.ts | 1 - src/services/management/accountStoreLevelApi.ts | 1 - src/services/management/allowedOriginsCompanyLevelApi.ts | 1 - src/services/management/allowedOriginsMerchantLevelApi.ts | 1 - src/services/management/androidFilesCompanyLevelApi.ts | 1 - src/services/management/clientKeyCompanyLevelApi.ts | 1 - src/services/management/clientKeyMerchantLevelApi.ts | 1 - src/services/management/myAPICredentialApi.ts | 1 - src/services/management/paymentMethodsMerchantLevelApi.ts | 1 - src/services/management/payoutSettingsMerchantLevelApi.ts | 1 - src/services/management/splitConfigurationMerchantLevelApi.ts | 1 - src/services/management/terminalActionsCompanyLevelApi.ts | 1 - src/services/management/terminalActionsTerminalLevelApi.ts | 1 - src/services/management/terminalOrdersCompanyLevelApi.ts | 1 - src/services/management/terminalOrdersMerchantLevelApi.ts | 1 - src/services/management/terminalSettingsCompanyLevelApi.ts | 1 - src/services/management/terminalSettingsMerchantLevelApi.ts | 1 - src/services/management/terminalSettingsStoreLevelApi.ts | 1 - src/services/management/terminalSettingsTerminalLevelApi.ts | 1 - src/services/management/terminalsTerminalLevelApi.ts | 1 - src/services/management/usersCompanyLevelApi.ts | 1 - src/services/management/usersMerchantLevelApi.ts | 1 - src/services/management/webhooksCompanyLevelApi.ts | 1 - src/services/management/webhooksMerchantLevelApi.ts | 1 - src/services/payment/modificationsApi.ts | 1 - src/services/payment/paymentsApi.ts | 1 - src/services/paymentsApp/paymentsAppApi.ts | 1 - src/services/payout/initializationApi.ts | 1 - src/services/payout/instantPayoutsApi.ts | 1 - src/services/payout/reviewingApi.ts | 1 - src/services/recurring/recurringApi.ts | 1 - .../sessionAuthentication/sessionAuthenticationApi.ts | 1 - src/services/storedValue/storedValueApi.ts | 1 - src/services/transfers/capitalApi.ts | 1 - src/services/transfers/transactionsApi.ts | 3 +-- src/services/transfers/transfersApi.ts | 4 +--- src/typings/balancePlatform/balanceWebhookSetting.ts | 2 -- src/typings/sessionAuthentication/accountHolderResource.ts | 1 - src/typings/sessionAuthentication/balanceAccountResource.ts | 1 - src/typings/sessionAuthentication/legalEntityResource.ts | 1 - src/typings/sessionAuthentication/merchantAccountResource.ts | 1 - .../sessionAuthentication/paymentInstrumentResource.ts | 1 - 84 files changed, 3 insertions(+), 90 deletions(-) diff --git a/src/services/balancePlatform/accountHoldersApi.ts b/src/services/balancePlatform/accountHoldersApi.ts index 553a3eb46..cdc3d9360 100644 --- a/src/services/balancePlatform/accountHoldersApi.ts +++ b/src/services/balancePlatform/accountHoldersApi.ts @@ -20,7 +20,6 @@ import { AccountHolderInfo } from "../../typings/balancePlatform/models"; import { AccountHolderUpdateRequest } from "../../typings/balancePlatform/models"; import { GetTaxFormResponse } from "../../typings/balancePlatform/models"; import { PaginatedBalanceAccountsResponse } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; /** @@ -134,7 +133,7 @@ export class AccountHoldersApi extends Service { * @param legalEntityId {@link string } The legal entity reference whose tax form you want to retrieve * @return {@link GetTaxFormResponse } */ - public async getTaxForm(id: string, formType: 'US1099k' | 'US1099nec', year: number, legalEntityId?: string, requestOptions?: IRequest.Options): Promise { + public async getTaxForm(id: string, formType: "US1099k" | "US1099nec", year: number, legalEntityId?: string, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/accountHolders/{id}/taxForms` .replace("{" + "id" + "}", encodeURIComponent(String(id))); const resource = new Resource(this, endpoint); diff --git a/src/services/balancePlatform/authorizedCardUsersApi.ts b/src/services/balancePlatform/authorizedCardUsersApi.ts index ac8cc478d..65b428924 100644 --- a/src/services/balancePlatform/authorizedCardUsersApi.ts +++ b/src/services/balancePlatform/authorizedCardUsersApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { AuthorisedCardUsers } from "../../typings/balancePlatform/models"; -import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; /** * API handler for AuthorizedCardUsersApi diff --git a/src/services/balancePlatform/balanceAccountsApi.ts b/src/services/balancePlatform/balanceAccountsApi.ts index 10ef7ab87..a40814d96 100644 --- a/src/services/balancePlatform/balanceAccountsApi.ts +++ b/src/services/balancePlatform/balanceAccountsApi.ts @@ -21,7 +21,6 @@ import { BalanceAccountUpdateRequest } from "../../typings/balancePlatform/model import { BalanceSweepConfigurationsResponse } from "../../typings/balancePlatform/models"; import { CreateSweepConfigurationV2 } from "../../typings/balancePlatform/models"; import { PaginatedPaymentInstrumentsResponse } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { SweepConfigurationV2 } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; import { UpdateSweepConfigurationV2 } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/balancesApi.ts b/src/services/balancePlatform/balancesApi.ts index f4abdf744..ce43eaf34 100644 --- a/src/services/balancePlatform/balancesApi.ts +++ b/src/services/balancePlatform/balancesApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { BalanceWebhookSettingInfo } from "../../typings/balancePlatform/models"; import { BalanceWebhookSettingInfoUpdate } from "../../typings/balancePlatform/models"; -import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; import { WebhookSetting } from "../../typings/balancePlatform/models"; import { WebhookSettings } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/bankAccountValidationApi.ts b/src/services/balancePlatform/bankAccountValidationApi.ts index ff54fafc9..5ecdd1c25 100644 --- a/src/services/balancePlatform/bankAccountValidationApi.ts +++ b/src/services/balancePlatform/bankAccountValidationApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { BankAccountIdentificationValidationRequest } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; /** * API handler for BankAccountValidationApi diff --git a/src/services/balancePlatform/cardOrdersApi.ts b/src/services/balancePlatform/cardOrdersApi.ts index 66ef74d95..1579f71f8 100644 --- a/src/services/balancePlatform/cardOrdersApi.ts +++ b/src/services/balancePlatform/cardOrdersApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { PaginatedGetCardOrderItemResponse } from "../../typings/balancePlatform/models"; import { PaginatedGetCardOrderResponse } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; /** * API handler for CardOrdersApi diff --git a/src/services/balancePlatform/grantAccountsApi.ts b/src/services/balancePlatform/grantAccountsApi.ts index d27a58b87..25cc1651a 100644 --- a/src/services/balancePlatform/grantAccountsApi.ts +++ b/src/services/balancePlatform/grantAccountsApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { CapitalGrantAccount } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; /** * API handler for GrantAccountsApi diff --git a/src/services/balancePlatform/grantOffersApi.ts b/src/services/balancePlatform/grantOffersApi.ts index aa55bdb98..87f5e6467 100644 --- a/src/services/balancePlatform/grantOffersApi.ts +++ b/src/services/balancePlatform/grantOffersApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { GrantOffer } from "../../typings/balancePlatform/models"; import { GrantOffers } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; /** * API handler for GrantOffersApi diff --git a/src/services/balancePlatform/manageCardPINApi.ts b/src/services/balancePlatform/manageCardPINApi.ts index a9cb3127e..763493a72 100644 --- a/src/services/balancePlatform/manageCardPINApi.ts +++ b/src/services/balancePlatform/manageCardPINApi.ts @@ -18,7 +18,6 @@ import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer import { PinChangeRequest } from "../../typings/balancePlatform/models"; import { PinChangeResponse } from "../../typings/balancePlatform/models"; import { PublicKeyResponse } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { RevealPinRequest } from "../../typings/balancePlatform/models"; import { RevealPinResponse } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/manageSCADevicesApi.ts b/src/services/balancePlatform/manageSCADevicesApi.ts index 593d88f81..6041c1e29 100644 --- a/src/services/balancePlatform/manageSCADevicesApi.ts +++ b/src/services/balancePlatform/manageSCADevicesApi.ts @@ -22,7 +22,6 @@ import { AssociationInitiateResponse } from "../../typings/balancePlatform/model import { RegisterSCAFinalResponse } from "../../typings/balancePlatform/models"; import { RegisterSCARequest } from "../../typings/balancePlatform/models"; import { RegisterSCAResponse } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { SearchRegisteredDevicesResponse } from "../../typings/balancePlatform/models"; /** diff --git a/src/services/balancePlatform/networkTokensApi.ts b/src/services/balancePlatform/networkTokensApi.ts index c2619d002..1ee1b904d 100644 --- a/src/services/balancePlatform/networkTokensApi.ts +++ b/src/services/balancePlatform/networkTokensApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { GetNetworkTokenResponse } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { UpdateNetworkTokenRequest } from "../../typings/balancePlatform/models"; /** diff --git a/src/services/balancePlatform/paymentInstrumentGroupsApi.ts b/src/services/balancePlatform/paymentInstrumentGroupsApi.ts index 54ba69df7..5d330c23b 100644 --- a/src/services/balancePlatform/paymentInstrumentGroupsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentGroupsApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { PaymentInstrumentGroup } from "../../typings/balancePlatform/models"; import { PaymentInstrumentGroupInfo } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; /** diff --git a/src/services/balancePlatform/paymentInstrumentsApi.ts b/src/services/balancePlatform/paymentInstrumentsApi.ts index b5848c94c..85ef353c2 100644 --- a/src/services/balancePlatform/paymentInstrumentsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentsApi.ts @@ -24,7 +24,6 @@ import { PaymentInstrumentRevealInfo } from "../../typings/balancePlatform/model import { PaymentInstrumentRevealRequest } from "../../typings/balancePlatform/models"; import { PaymentInstrumentRevealResponse } from "../../typings/balancePlatform/models"; import { PaymentInstrumentUpdateRequest } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; import { UpdatePaymentInstrument } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/platformApi.ts b/src/services/balancePlatform/platformApi.ts index 1a0a04c7c..bf068a966 100644 --- a/src/services/balancePlatform/platformApi.ts +++ b/src/services/balancePlatform/platformApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { BalancePlatform } from "../../typings/balancePlatform/models"; import { PaginatedAccountHoldersResponse } from "../../typings/balancePlatform/models"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; /** diff --git a/src/services/balancePlatform/sCAAssociationManagementApi.ts b/src/services/balancePlatform/sCAAssociationManagementApi.ts index a64b73fac..aa651cf75 100644 --- a/src/services/balancePlatform/sCAAssociationManagementApi.ts +++ b/src/services/balancePlatform/sCAAssociationManagementApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { ApproveAssociationRequest } from "../../typings/balancePlatform/models"; import { ApproveAssociationResponse } from "../../typings/balancePlatform/models"; -import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; import { ListAssociationsResponse } from "../../typings/balancePlatform/models"; import { RemoveAssociationRequest } from "../../typings/balancePlatform/models"; import { ScaEntityType } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/sCADeviceManagementApi.ts b/src/services/balancePlatform/sCADeviceManagementApi.ts index 72c32f167..43c896335 100644 --- a/src/services/balancePlatform/sCADeviceManagementApi.ts +++ b/src/services/balancePlatform/sCADeviceManagementApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { BeginScaDeviceRegistrationRequest } from "../../typings/balancePlatform/models"; import { BeginScaDeviceRegistrationResponse } from "../../typings/balancePlatform/models"; -import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; import { FinishScaDeviceRegistrationRequest } from "../../typings/balancePlatform/models"; import { FinishScaDeviceRegistrationResponse } from "../../typings/balancePlatform/models"; import { SubmitScaAssociationRequest } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/transactionRulesApi.ts b/src/services/balancePlatform/transactionRulesApi.ts index 61143e9eb..f60370dd7 100644 --- a/src/services/balancePlatform/transactionRulesApi.ts +++ b/src/services/balancePlatform/transactionRulesApi.ts @@ -15,7 +15,6 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRule } from "../../typings/balancePlatform/models"; import { TransactionRuleInfo } from "../../typings/balancePlatform/models"; import { TransactionRuleResponse } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/transferLimitsBalanceAccountLevelApi.ts b/src/services/balancePlatform/transferLimitsBalanceAccountLevelApi.ts index 902515e30..b221f4023 100644 --- a/src/services/balancePlatform/transferLimitsBalanceAccountLevelApi.ts +++ b/src/services/balancePlatform/transferLimitsBalanceAccountLevelApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { ApproveTransferLimitRequest } from "../../typings/balancePlatform/models"; import { CreateTransferLimitRequest } from "../../typings/balancePlatform/models"; -import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; import { LimitStatus } from "../../typings/balancePlatform/models"; import { Scope } from "../../typings/balancePlatform/models"; import { TransferLimit } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/transferLimitsBalancePlatformLevelApi.ts b/src/services/balancePlatform/transferLimitsBalancePlatformLevelApi.ts index b8278dcf0..d29ad1c80 100644 --- a/src/services/balancePlatform/transferLimitsBalancePlatformLevelApi.ts +++ b/src/services/balancePlatform/transferLimitsBalancePlatformLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { CreateTransferLimitRequest } from "../../typings/balancePlatform/models"; -import { DefaultErrorResponseEntity } from "../../typings/balancePlatform/models"; import { LimitStatus } from "../../typings/balancePlatform/models"; import { Scope } from "../../typings/balancePlatform/models"; import { TransferLimit } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/transferRoutesApi.ts b/src/services/balancePlatform/transferRoutesApi.ts index 0557a82c8..edd6e3762 100644 --- a/src/services/balancePlatform/transferRoutesApi.ts +++ b/src/services/balancePlatform/transferRoutesApi.ts @@ -15,7 +15,6 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; -import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransferRouteRequest } from "../../typings/balancePlatform/models"; import { TransferRouteResponse } from "../../typings/balancePlatform/models"; diff --git a/src/services/binLookup/binLookupApi.ts b/src/services/binLookup/binLookupApi.ts index d3b9cd899..32a038175 100644 --- a/src/services/binLookup/binLookupApi.ts +++ b/src/services/binLookup/binLookupApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/binLookup/objectSerializer"; import { CostEstimateRequest } from "../../typings/binLookup/models"; import { CostEstimateResponse } from "../../typings/binLookup/models"; -import { ServiceError } from "../../typings/binLookup/models"; import { ThreeDSAvailabilityRequest } from "../../typings/binLookup/models"; import { ThreeDSAvailabilityResponse } from "../../typings/binLookup/models"; diff --git a/src/services/checkout/donationsApi.ts b/src/services/checkout/donationsApi.ts index 25c999f49..fb077d305 100644 --- a/src/services/checkout/donationsApi.ts +++ b/src/services/checkout/donationsApi.ts @@ -19,7 +19,6 @@ import { DonationCampaignsRequest } from "../../typings/checkout/models"; import { DonationCampaignsResponse } from "../../typings/checkout/models"; import { DonationPaymentRequest } from "../../typings/checkout/models"; import { DonationPaymentResponse } from "../../typings/checkout/models"; -import { ServiceError } from "../../typings/checkout/models"; /** * API handler for DonationsApi diff --git a/src/services/checkout/modificationsApi.ts b/src/services/checkout/modificationsApi.ts index 328608f38..730237dde 100644 --- a/src/services/checkout/modificationsApi.ts +++ b/src/services/checkout/modificationsApi.ts @@ -25,7 +25,6 @@ import { PaymentRefundRequest } from "../../typings/checkout/models"; import { PaymentRefundResponse } from "../../typings/checkout/models"; import { PaymentReversalRequest } from "../../typings/checkout/models"; import { PaymentReversalResponse } from "../../typings/checkout/models"; -import { ServiceError } from "../../typings/checkout/models"; import { StandalonePaymentCancelRequest } from "../../typings/checkout/models"; import { StandalonePaymentCancelResponse } from "../../typings/checkout/models"; diff --git a/src/services/checkout/ordersApi.ts b/src/services/checkout/ordersApi.ts index b3abc3ebd..3c34ea6dc 100644 --- a/src/services/checkout/ordersApi.ts +++ b/src/services/checkout/ordersApi.ts @@ -21,7 +21,6 @@ import { CancelOrderRequest } from "../../typings/checkout/models"; import { CancelOrderResponse } from "../../typings/checkout/models"; import { CreateOrderRequest } from "../../typings/checkout/models"; import { CreateOrderResponse } from "../../typings/checkout/models"; -import { ServiceError } from "../../typings/checkout/models"; /** * API handler for OrdersApi diff --git a/src/services/checkout/paymentLinksApi.ts b/src/services/checkout/paymentLinksApi.ts index 57d9c0582..37047adb2 100644 --- a/src/services/checkout/paymentLinksApi.ts +++ b/src/services/checkout/paymentLinksApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/checkout/objectSerializer"; import { PaymentLinkRequest } from "../../typings/checkout/models"; import { PaymentLinkResponse } from "../../typings/checkout/models"; -import { ServiceError } from "../../typings/checkout/models"; import { UpdatePaymentLinkRequest } from "../../typings/checkout/models"; /** diff --git a/src/services/checkout/paymentsApi.ts b/src/services/checkout/paymentsApi.ts index 37f864cb7..e7ea34920 100644 --- a/src/services/checkout/paymentsApi.ts +++ b/src/services/checkout/paymentsApi.ts @@ -25,7 +25,6 @@ import { PaymentMethodsRequest } from "../../typings/checkout/models"; import { PaymentMethodsResponse } from "../../typings/checkout/models"; import { PaymentRequest } from "../../typings/checkout/models"; import { PaymentResponse } from "../../typings/checkout/models"; -import { ServiceError } from "../../typings/checkout/models"; import { SessionResultResponse } from "../../typings/checkout/models"; /** diff --git a/src/services/checkout/utilityApi.ts b/src/services/checkout/utilityApi.ts index ffefe4c8c..829e5469e 100644 --- a/src/services/checkout/utilityApi.ts +++ b/src/services/checkout/utilityApi.ts @@ -17,10 +17,8 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/checkout/objectSerializer"; import { ApplePaySessionRequest } from "../../typings/checkout/models"; import { ApplePaySessionResponse } from "../../typings/checkout/models"; -import { DefaultErrorResponseEntity } from "../../typings/checkout/models"; import { PaypalUpdateOrderRequest } from "../../typings/checkout/models"; import { PaypalUpdateOrderResponse } from "../../typings/checkout/models"; -import { ServiceError } from "../../typings/checkout/models"; import { UtilityRequest } from "../../typings/checkout/models"; import { UtilityResponse } from "../../typings/checkout/models"; import { ValidateShopperIdRequest } from "../../typings/checkout/models"; diff --git a/src/services/dataProtection/dataProtectionApi.ts b/src/services/dataProtection/dataProtectionApi.ts index e67116388..adddf906b 100644 --- a/src/services/dataProtection/dataProtectionApi.ts +++ b/src/services/dataProtection/dataProtectionApi.ts @@ -15,7 +15,6 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/dataProtection/objectSerializer"; -import { ServiceError } from "../../typings/dataProtection/models"; import { SubjectErasureByPspReferenceRequest } from "../../typings/dataProtection/models"; import { SubjectErasureResponse } from "../../typings/dataProtection/models"; diff --git a/src/services/disputes/disputesApi.ts b/src/services/disputes/disputesApi.ts index eb71ab027..0a37921b3 100644 --- a/src/services/disputes/disputesApi.ts +++ b/src/services/disputes/disputesApi.ts @@ -23,7 +23,6 @@ import { DefenseReasonsRequest } from "../../typings/disputes/models"; import { DefenseReasonsResponse } from "../../typings/disputes/models"; import { DeleteDefenseDocumentRequest } from "../../typings/disputes/models"; import { DeleteDefenseDocumentResponse } from "../../typings/disputes/models"; -import { ServiceError } from "../../typings/disputes/models"; import { SupplyDefenseDocumentRequest } from "../../typings/disputes/models"; import { SupplyDefenseDocumentResponse } from "../../typings/disputes/models"; diff --git a/src/services/legalEntityManagement/businessLinesApi.ts b/src/services/legalEntityManagement/businessLinesApi.ts index a4ce660bc..9d9f1713a 100644 --- a/src/services/legalEntityManagement/businessLinesApi.ts +++ b/src/services/legalEntityManagement/businessLinesApi.ts @@ -18,7 +18,6 @@ import { ObjectSerializer } from "../../typings/legalEntityManagement/objectSeri import { BusinessLine } from "../../typings/legalEntityManagement/models"; import { BusinessLineInfo } from "../../typings/legalEntityManagement/models"; import { BusinessLineInfoUpdate } from "../../typings/legalEntityManagement/models"; -import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for BusinessLinesApi diff --git a/src/services/legalEntityManagement/documentsApi.ts b/src/services/legalEntityManagement/documentsApi.ts index 2db5748ab..2b77b939f 100644 --- a/src/services/legalEntityManagement/documentsApi.ts +++ b/src/services/legalEntityManagement/documentsApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/legalEntityManagement/objectSerializer"; import { Document } from "../../typings/legalEntityManagement/models"; -import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for DocumentsApi diff --git a/src/services/legalEntityManagement/hostedOnboardingApi.ts b/src/services/legalEntityManagement/hostedOnboardingApi.ts index 7743886b7..7c52bc63d 100644 --- a/src/services/legalEntityManagement/hostedOnboardingApi.ts +++ b/src/services/legalEntityManagement/hostedOnboardingApi.ts @@ -19,7 +19,6 @@ import { OnboardingLink } from "../../typings/legalEntityManagement/models"; import { OnboardingLinkInfo } from "../../typings/legalEntityManagement/models"; import { OnboardingTheme } from "../../typings/legalEntityManagement/models"; import { OnboardingThemes } from "../../typings/legalEntityManagement/models"; -import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for HostedOnboardingApi diff --git a/src/services/legalEntityManagement/legalEntitiesApi.ts b/src/services/legalEntityManagement/legalEntitiesApi.ts index 2ceda925b..699f9594e 100644 --- a/src/services/legalEntityManagement/legalEntitiesApi.ts +++ b/src/services/legalEntityManagement/legalEntitiesApi.ts @@ -20,7 +20,6 @@ import { DataReviewConfirmationResponse } from "../../typings/legalEntityManagem import { LegalEntity } from "../../typings/legalEntityManagement/models"; import { LegalEntityInfo } from "../../typings/legalEntityManagement/models"; import { LegalEntityInfoRequiredType } from "../../typings/legalEntityManagement/models"; -import { ServiceError } from "../../typings/legalEntityManagement/models"; import { VerificationErrors } from "../../typings/legalEntityManagement/models"; /** diff --git a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts index ae82e61cf..38c01faa4 100644 --- a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts +++ b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts @@ -23,7 +23,6 @@ import { GetPciQuestionnaireInfosResponse } from "../../typings/legalEntityManag import { GetPciQuestionnaireResponse } from "../../typings/legalEntityManagement/models"; import { PciSigningRequest } from "../../typings/legalEntityManagement/models"; import { PciSigningResponse } from "../../typings/legalEntityManagement/models"; -import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for PCIQuestionnairesApi diff --git a/src/services/legalEntityManagement/taxEDeliveryConsentApi.ts b/src/services/legalEntityManagement/taxEDeliveryConsentApi.ts index 1505570a3..092cd7c1b 100644 --- a/src/services/legalEntityManagement/taxEDeliveryConsentApi.ts +++ b/src/services/legalEntityManagement/taxEDeliveryConsentApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/legalEntityManagement/objectSerializer"; import { CheckTaxElectronicDeliveryConsentResponse } from "../../typings/legalEntityManagement/models"; -import { ServiceError } from "../../typings/legalEntityManagement/models"; import { SetTaxElectronicDeliveryConsentRequest } from "../../typings/legalEntityManagement/models"; /** diff --git a/src/services/legalEntityManagement/termsOfServiceApi.ts b/src/services/legalEntityManagement/termsOfServiceApi.ts index 6b6bd28a8..fdba882c1 100644 --- a/src/services/legalEntityManagement/termsOfServiceApi.ts +++ b/src/services/legalEntityManagement/termsOfServiceApi.ts @@ -22,7 +22,6 @@ import { GetAcceptedTermsOfServiceDocumentResponse } from "../../typings/legalEn import { GetTermsOfServiceAcceptanceInfosResponse } from "../../typings/legalEntityManagement/models"; import { GetTermsOfServiceDocumentRequest } from "../../typings/legalEntityManagement/models"; import { GetTermsOfServiceDocumentResponse } from "../../typings/legalEntityManagement/models"; -import { ServiceError } from "../../typings/legalEntityManagement/models"; /** * API handler for TermsOfServiceApi diff --git a/src/services/legalEntityManagement/transferInstrumentsApi.ts b/src/services/legalEntityManagement/transferInstrumentsApi.ts index af439c99c..fa08dc974 100644 --- a/src/services/legalEntityManagement/transferInstrumentsApi.ts +++ b/src/services/legalEntityManagement/transferInstrumentsApi.ts @@ -15,7 +15,6 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/legalEntityManagement/objectSerializer"; -import { ServiceError } from "../../typings/legalEntityManagement/models"; import { TransferInstrument } from "../../typings/legalEntityManagement/models"; import { TransferInstrumentInfo } from "../../typings/legalEntityManagement/models"; diff --git a/src/services/management/aPICredentialsCompanyLevelApi.ts b/src/services/management/aPICredentialsCompanyLevelApi.ts index a622ce177..2d43153c3 100644 --- a/src/services/management/aPICredentialsCompanyLevelApi.ts +++ b/src/services/management/aPICredentialsCompanyLevelApi.ts @@ -19,7 +19,6 @@ import { CompanyApiCredential } from "../../typings/management/models"; import { CreateCompanyApiCredentialRequest } from "../../typings/management/models"; import { CreateCompanyApiCredentialResponse } from "../../typings/management/models"; import { ListCompanyApiCredentialsResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { UpdateCompanyApiCredentialRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/aPICredentialsMerchantLevelApi.ts b/src/services/management/aPICredentialsMerchantLevelApi.ts index 22042bdaa..42dc3cad4 100644 --- a/src/services/management/aPICredentialsMerchantLevelApi.ts +++ b/src/services/management/aPICredentialsMerchantLevelApi.ts @@ -19,7 +19,6 @@ import { ApiCredential } from "../../typings/management/models"; import { CreateApiCredentialResponse } from "../../typings/management/models"; import { CreateMerchantApiCredentialRequest } from "../../typings/management/models"; import { ListMerchantApiCredentialsResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { UpdateMerchantApiCredentialRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/aPIKeyCompanyLevelApi.ts b/src/services/management/aPIKeyCompanyLevelApi.ts index 2af6384b7..5ad3a8a75 100644 --- a/src/services/management/aPIKeyCompanyLevelApi.ts +++ b/src/services/management/aPIKeyCompanyLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { GenerateApiKeyResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for APIKeyCompanyLevelApi diff --git a/src/services/management/aPIKeyMerchantLevelApi.ts b/src/services/management/aPIKeyMerchantLevelApi.ts index 966455712..6a9808c31 100644 --- a/src/services/management/aPIKeyMerchantLevelApi.ts +++ b/src/services/management/aPIKeyMerchantLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { GenerateApiKeyResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for APIKeyMerchantLevelApi diff --git a/src/services/management/accountCompanyLevelApi.ts b/src/services/management/accountCompanyLevelApi.ts index f98ddea53..e55965248 100644 --- a/src/services/management/accountCompanyLevelApi.ts +++ b/src/services/management/accountCompanyLevelApi.ts @@ -18,7 +18,6 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Company } from "../../typings/management/models"; import { ListCompanyResponse } from "../../typings/management/models"; import { ListMerchantResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for AccountCompanyLevelApi diff --git a/src/services/management/accountMerchantLevelApi.ts b/src/services/management/accountMerchantLevelApi.ts index 6693000dc..e22ffdebc 100644 --- a/src/services/management/accountMerchantLevelApi.ts +++ b/src/services/management/accountMerchantLevelApi.ts @@ -20,7 +20,6 @@ import { CreateMerchantResponse } from "../../typings/management/models"; import { ListMerchantResponse } from "../../typings/management/models"; import { Merchant } from "../../typings/management/models"; import { RequestActivationResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for AccountMerchantLevelApi diff --git a/src/services/management/accountStoreLevelApi.ts b/src/services/management/accountStoreLevelApi.ts index 3447954fd..fd6c71231 100644 --- a/src/services/management/accountStoreLevelApi.ts +++ b/src/services/management/accountStoreLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { ListStoresResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { Store } from "../../typings/management/models"; import { StoreCreationRequest } from "../../typings/management/models"; import { StoreCreationWithMerchantCodeRequest } from "../../typings/management/models"; diff --git a/src/services/management/allowedOriginsCompanyLevelApi.ts b/src/services/management/allowedOriginsCompanyLevelApi.ts index 6ba2a1ce4..02eb8cc7c 100644 --- a/src/services/management/allowedOriginsCompanyLevelApi.ts +++ b/src/services/management/allowedOriginsCompanyLevelApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { AllowedOrigin } from "../../typings/management/models"; import { AllowedOriginsResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for AllowedOriginsCompanyLevelApi diff --git a/src/services/management/allowedOriginsMerchantLevelApi.ts b/src/services/management/allowedOriginsMerchantLevelApi.ts index d4f122482..3b2481134 100644 --- a/src/services/management/allowedOriginsMerchantLevelApi.ts +++ b/src/services/management/allowedOriginsMerchantLevelApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { AllowedOrigin } from "../../typings/management/models"; import { AllowedOriginsResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for AllowedOriginsMerchantLevelApi diff --git a/src/services/management/androidFilesCompanyLevelApi.ts b/src/services/management/androidFilesCompanyLevelApi.ts index f38e7940c..ccb2f5b42 100644 --- a/src/services/management/androidFilesCompanyLevelApi.ts +++ b/src/services/management/androidFilesCompanyLevelApi.ts @@ -19,7 +19,6 @@ import { AndroidApp } from "../../typings/management/models"; import { AndroidAppsResponse } from "../../typings/management/models"; import { AndroidCertificatesResponse } from "../../typings/management/models"; import { ReprocessAndroidAppResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { UploadAndroidAppResponse } from "../../typings/management/models"; import { UploadAndroidCertificateResponse } from "../../typings/management/models"; diff --git a/src/services/management/clientKeyCompanyLevelApi.ts b/src/services/management/clientKeyCompanyLevelApi.ts index d2165f8e1..90fdac5e5 100644 --- a/src/services/management/clientKeyCompanyLevelApi.ts +++ b/src/services/management/clientKeyCompanyLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { GenerateClientKeyResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for ClientKeyCompanyLevelApi diff --git a/src/services/management/clientKeyMerchantLevelApi.ts b/src/services/management/clientKeyMerchantLevelApi.ts index 880f9657f..9bf69808c 100644 --- a/src/services/management/clientKeyMerchantLevelApi.ts +++ b/src/services/management/clientKeyMerchantLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { GenerateClientKeyResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for ClientKeyMerchantLevelApi diff --git a/src/services/management/myAPICredentialApi.ts b/src/services/management/myAPICredentialApi.ts index 8cd34d1d9..db24ad8e4 100644 --- a/src/services/management/myAPICredentialApi.ts +++ b/src/services/management/myAPICredentialApi.ts @@ -20,7 +20,6 @@ import { AllowedOriginsResponse } from "../../typings/management/models"; import { CreateAllowedOriginRequest } from "../../typings/management/models"; import { GenerateClientKeyResponse } from "../../typings/management/models"; import { MeApiCredential } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for MyAPICredentialApi diff --git a/src/services/management/paymentMethodsMerchantLevelApi.ts b/src/services/management/paymentMethodsMerchantLevelApi.ts index a0f92d916..088a7e103 100644 --- a/src/services/management/paymentMethodsMerchantLevelApi.ts +++ b/src/services/management/paymentMethodsMerchantLevelApi.ts @@ -19,7 +19,6 @@ import { ApplePayInfo } from "../../typings/management/models"; import { PaymentMethod } from "../../typings/management/models"; import { PaymentMethodResponse } from "../../typings/management/models"; import { PaymentMethodSetupInfo } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { UpdatePaymentMethodInfo } from "../../typings/management/models"; /** diff --git a/src/services/management/payoutSettingsMerchantLevelApi.ts b/src/services/management/payoutSettingsMerchantLevelApi.ts index 40d21d106..3abce7b65 100644 --- a/src/services/management/payoutSettingsMerchantLevelApi.ts +++ b/src/services/management/payoutSettingsMerchantLevelApi.ts @@ -18,7 +18,6 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { PayoutSettings } from "../../typings/management/models"; import { PayoutSettingsRequest } from "../../typings/management/models"; import { PayoutSettingsResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { UpdatePayoutSettingsRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/splitConfigurationMerchantLevelApi.ts b/src/services/management/splitConfigurationMerchantLevelApi.ts index e918424f9..16065c9f7 100644 --- a/src/services/management/splitConfigurationMerchantLevelApi.ts +++ b/src/services/management/splitConfigurationMerchantLevelApi.ts @@ -15,7 +15,6 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; -import { RestServiceError } from "../../typings/management/models"; import { SplitConfiguration } from "../../typings/management/models"; import { SplitConfigurationList } from "../../typings/management/models"; import { SplitConfigurationRule } from "../../typings/management/models"; diff --git a/src/services/management/terminalActionsCompanyLevelApi.ts b/src/services/management/terminalActionsCompanyLevelApi.ts index 92f1edefc..1f06ac54c 100644 --- a/src/services/management/terminalActionsCompanyLevelApi.ts +++ b/src/services/management/terminalActionsCompanyLevelApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { ExternalTerminalAction } from "../../typings/management/models"; import { ListExternalTerminalActionsResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; /** * API handler for TerminalActionsCompanyLevelApi diff --git a/src/services/management/terminalActionsTerminalLevelApi.ts b/src/services/management/terminalActionsTerminalLevelApi.ts index 870d79279..82440e1c1 100644 --- a/src/services/management/terminalActionsTerminalLevelApi.ts +++ b/src/services/management/terminalActionsTerminalLevelApi.ts @@ -15,7 +15,6 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; -import { RestServiceError } from "../../typings/management/models"; import { ScheduleTerminalActionsRequest } from "../../typings/management/models"; import { ScheduleTerminalActionsResponse } from "../../typings/management/models"; diff --git a/src/services/management/terminalOrdersCompanyLevelApi.ts b/src/services/management/terminalOrdersCompanyLevelApi.ts index 7566afc8b..6f027b9cf 100644 --- a/src/services/management/terminalOrdersCompanyLevelApi.ts +++ b/src/services/management/terminalOrdersCompanyLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { BillingEntitiesResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { ShippingLocation } from "../../typings/management/models"; import { ShippingLocationsResponse } from "../../typings/management/models"; import { TerminalModelsResponse } from "../../typings/management/models"; diff --git a/src/services/management/terminalOrdersMerchantLevelApi.ts b/src/services/management/terminalOrdersMerchantLevelApi.ts index 0158e0826..af401acf4 100644 --- a/src/services/management/terminalOrdersMerchantLevelApi.ts +++ b/src/services/management/terminalOrdersMerchantLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { BillingEntitiesResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { ShippingLocation } from "../../typings/management/models"; import { ShippingLocationsResponse } from "../../typings/management/models"; import { TerminalModelsResponse } from "../../typings/management/models"; diff --git a/src/services/management/terminalSettingsCompanyLevelApi.ts b/src/services/management/terminalSettingsCompanyLevelApi.ts index c1646b9a6..f7e6ab7f6 100644 --- a/src/services/management/terminalSettingsCompanyLevelApi.ts +++ b/src/services/management/terminalSettingsCompanyLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Logo } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { TerminalSettings } from "../../typings/management/models"; /** diff --git a/src/services/management/terminalSettingsMerchantLevelApi.ts b/src/services/management/terminalSettingsMerchantLevelApi.ts index 3497f25dd..efacc8294 100644 --- a/src/services/management/terminalSettingsMerchantLevelApi.ts +++ b/src/services/management/terminalSettingsMerchantLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Logo } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { TerminalSettings } from "../../typings/management/models"; /** diff --git a/src/services/management/terminalSettingsStoreLevelApi.ts b/src/services/management/terminalSettingsStoreLevelApi.ts index 81f070c12..3b756b936 100644 --- a/src/services/management/terminalSettingsStoreLevelApi.ts +++ b/src/services/management/terminalSettingsStoreLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Logo } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { TerminalSettings } from "../../typings/management/models"; /** diff --git a/src/services/management/terminalSettingsTerminalLevelApi.ts b/src/services/management/terminalSettingsTerminalLevelApi.ts index 376b3c412..690f6eeac 100644 --- a/src/services/management/terminalSettingsTerminalLevelApi.ts +++ b/src/services/management/terminalSettingsTerminalLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { Logo } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { TerminalSettings } from "../../typings/management/models"; /** diff --git a/src/services/management/terminalsTerminalLevelApi.ts b/src/services/management/terminalsTerminalLevelApi.ts index 1b807d866..5f585fbb6 100644 --- a/src/services/management/terminalsTerminalLevelApi.ts +++ b/src/services/management/terminalsTerminalLevelApi.ts @@ -16,7 +16,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { ListTerminalsResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { TerminalReassignmentRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/usersCompanyLevelApi.ts b/src/services/management/usersCompanyLevelApi.ts index 2e2a49b9c..784d5db34 100644 --- a/src/services/management/usersCompanyLevelApi.ts +++ b/src/services/management/usersCompanyLevelApi.ts @@ -19,7 +19,6 @@ import { CompanyUser } from "../../typings/management/models"; import { CreateCompanyUserRequest } from "../../typings/management/models"; import { CreateCompanyUserResponse } from "../../typings/management/models"; import { ListCompanyUsersResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { UpdateCompanyUserRequest } from "../../typings/management/models"; /** diff --git a/src/services/management/usersMerchantLevelApi.ts b/src/services/management/usersMerchantLevelApi.ts index a997a2b9d..f3685662b 100644 --- a/src/services/management/usersMerchantLevelApi.ts +++ b/src/services/management/usersMerchantLevelApi.ts @@ -18,7 +18,6 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { CreateMerchantUserRequest } from "../../typings/management/models"; import { CreateUserResponse } from "../../typings/management/models"; import { ListMerchantUsersResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { UpdateMerchantUserRequest } from "../../typings/management/models"; import { User } from "../../typings/management/models"; diff --git a/src/services/management/webhooksCompanyLevelApi.ts b/src/services/management/webhooksCompanyLevelApi.ts index a778a5735..b6a379acf 100644 --- a/src/services/management/webhooksCompanyLevelApi.ts +++ b/src/services/management/webhooksCompanyLevelApi.ts @@ -18,7 +18,6 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { CreateCompanyWebhookRequest } from "../../typings/management/models"; import { GenerateHmacKeyResponse } from "../../typings/management/models"; import { ListWebhooksResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { TestCompanyWebhookRequest } from "../../typings/management/models"; import { TestWebhookResponse } from "../../typings/management/models"; import { UpdateCompanyWebhookRequest } from "../../typings/management/models"; diff --git a/src/services/management/webhooksMerchantLevelApi.ts b/src/services/management/webhooksMerchantLevelApi.ts index 2521bdeb3..65b97b929 100644 --- a/src/services/management/webhooksMerchantLevelApi.ts +++ b/src/services/management/webhooksMerchantLevelApi.ts @@ -18,7 +18,6 @@ import { ObjectSerializer } from "../../typings/management/objectSerializer"; import { CreateMerchantWebhookRequest } from "../../typings/management/models"; import { GenerateHmacKeyResponse } from "../../typings/management/models"; import { ListWebhooksResponse } from "../../typings/management/models"; -import { RestServiceError } from "../../typings/management/models"; import { TestWebhookRequest } from "../../typings/management/models"; import { TestWebhookResponse } from "../../typings/management/models"; import { UpdateMerchantWebhookRequest } from "../../typings/management/models"; diff --git a/src/services/payment/modificationsApi.ts b/src/services/payment/modificationsApi.ts index 8c152e0f4..8ef990a09 100644 --- a/src/services/payment/modificationsApi.ts +++ b/src/services/payment/modificationsApi.ts @@ -22,7 +22,6 @@ import { CaptureRequest } from "../../typings/payment/models"; import { DonationRequest } from "../../typings/payment/models"; import { ModificationResult } from "../../typings/payment/models"; import { RefundRequest } from "../../typings/payment/models"; -import { ServiceError } from "../../typings/payment/models"; import { TechnicalCancelRequest } from "../../typings/payment/models"; import { VoidPendingRefundRequest } from "../../typings/payment/models"; diff --git a/src/services/payment/paymentsApi.ts b/src/services/payment/paymentsApi.ts index 44e008adb..089f0b9e9 100644 --- a/src/services/payment/paymentsApi.ts +++ b/src/services/payment/paymentsApi.ts @@ -21,7 +21,6 @@ import { PaymentRequest } from "../../typings/payment/models"; import { PaymentRequest3d } from "../../typings/payment/models"; import { PaymentRequest3ds2 } from "../../typings/payment/models"; import { PaymentResult } from "../../typings/payment/models"; -import { ServiceError } from "../../typings/payment/models"; import { ThreeDS2ResultRequest } from "../../typings/payment/models"; import { ThreeDS2ResultResponse } from "../../typings/payment/models"; diff --git a/src/services/paymentsApp/paymentsAppApi.ts b/src/services/paymentsApp/paymentsAppApi.ts index 348588f80..072a524f2 100644 --- a/src/services/paymentsApp/paymentsAppApi.ts +++ b/src/services/paymentsApp/paymentsAppApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/paymentsApp/objectSerializer"; import { BoardingTokenRequest } from "../../typings/paymentsApp/models"; import { BoardingTokenResponse } from "../../typings/paymentsApp/models"; -import { DefaultErrorResponseEntity } from "../../typings/paymentsApp/models"; import { PaymentsAppResponse } from "../../typings/paymentsApp/models"; /** diff --git a/src/services/payout/initializationApi.ts b/src/services/payout/initializationApi.ts index 3857298f5..466ae007e 100644 --- a/src/services/payout/initializationApi.ts +++ b/src/services/payout/initializationApi.ts @@ -15,7 +15,6 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/payout/objectSerializer"; -import { ServiceError } from "../../typings/payout/models"; import { StoreDetailAndSubmitRequest } from "../../typings/payout/models"; import { StoreDetailAndSubmitResponse } from "../../typings/payout/models"; import { StoreDetailRequest } from "../../typings/payout/models"; diff --git a/src/services/payout/instantPayoutsApi.ts b/src/services/payout/instantPayoutsApi.ts index cb821227c..9c2043d21 100644 --- a/src/services/payout/instantPayoutsApi.ts +++ b/src/services/payout/instantPayoutsApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/payout/objectSerializer"; import { PayoutRequest } from "../../typings/payout/models"; import { PayoutResponse } from "../../typings/payout/models"; -import { ServiceError } from "../../typings/payout/models"; /** * API handler for InstantPayoutsApi diff --git a/src/services/payout/reviewingApi.ts b/src/services/payout/reviewingApi.ts index 22ef2acb5..f90f70ad3 100644 --- a/src/services/payout/reviewingApi.ts +++ b/src/services/payout/reviewingApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/payout/objectSerializer"; import { ModifyRequest } from "../../typings/payout/models"; import { ModifyResponse } from "../../typings/payout/models"; -import { ServiceError } from "../../typings/payout/models"; /** * API handler for ReviewingApi diff --git a/src/services/recurring/recurringApi.ts b/src/services/recurring/recurringApi.ts index 64073fe08..75f2fe624 100644 --- a/src/services/recurring/recurringApi.ts +++ b/src/services/recurring/recurringApi.ts @@ -27,7 +27,6 @@ import { RecurringDetailsRequest } from "../../typings/recurring/models"; import { RecurringDetailsResult } from "../../typings/recurring/models"; import { ScheduleAccountUpdaterRequest } from "../../typings/recurring/models"; import { ScheduleAccountUpdaterResult } from "../../typings/recurring/models"; -import { ServiceError } from "../../typings/recurring/models"; /** * API handler for RecurringApi diff --git a/src/services/sessionAuthentication/sessionAuthenticationApi.ts b/src/services/sessionAuthentication/sessionAuthenticationApi.ts index 9492e5178..204e77d3d 100644 --- a/src/services/sessionAuthentication/sessionAuthenticationApi.ts +++ b/src/services/sessionAuthentication/sessionAuthenticationApi.ts @@ -17,7 +17,6 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/sessionAuthentication/objectSerializer"; import { AuthenticationSessionRequest } from "../../typings/sessionAuthentication/models"; import { AuthenticationSessionResponse } from "../../typings/sessionAuthentication/models"; -import { DefaultErrorResponseEntity } from "../../typings/sessionAuthentication/models"; /** * API handler for SessionAuthenticationApi diff --git a/src/services/storedValue/storedValueApi.ts b/src/services/storedValue/storedValueApi.ts index e575250ba..c3d2bc81f 100644 --- a/src/services/storedValue/storedValueApi.ts +++ b/src/services/storedValue/storedValueApi.ts @@ -15,7 +15,6 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/storedValue/objectSerializer"; -import { ServiceError } from "../../typings/storedValue/models"; import { StoredValueBalanceCheckRequest } from "../../typings/storedValue/models"; import { StoredValueBalanceCheckResponse } from "../../typings/storedValue/models"; import { StoredValueBalanceMergeRequest } from "../../typings/storedValue/models"; diff --git a/src/services/transfers/capitalApi.ts b/src/services/transfers/capitalApi.ts index fc6bb23bb..7c6bb8b79 100644 --- a/src/services/transfers/capitalApi.ts +++ b/src/services/transfers/capitalApi.ts @@ -18,7 +18,6 @@ import { ObjectSerializer } from "../../typings/transfers/objectSerializer"; import { CapitalGrant } from "../../typings/transfers/models"; import { CapitalGrantInfo } from "../../typings/transfers/models"; import { CapitalGrants } from "../../typings/transfers/models"; -import { RestServiceError } from "../../typings/transfers/models"; /** * API handler for CapitalApi diff --git a/src/services/transfers/transactionsApi.ts b/src/services/transfers/transactionsApi.ts index e13f1c6e4..fd04b6217 100644 --- a/src/services/transfers/transactionsApi.ts +++ b/src/services/transfers/transactionsApi.ts @@ -15,7 +15,6 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/transfers/objectSerializer"; -import { RestServiceError } from "../../typings/transfers/models"; import { Transaction } from "../../typings/transfers/models"; import { TransactionSearchResponse } from "../../typings/transfers/models"; @@ -46,7 +45,7 @@ export class TransactionsApi extends Service { * @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page. * @return {@link TransactionSearchResponse } */ - public async getAllTransactions(createdSince: Date, createdUntil: Date, balancePlatform?: string, paymentInstrumentId?: string, accountHolderId?: string, balanceAccountId?: string, cursor?: string, sortOrder?: 'asc' | 'desc', limit?: number, requestOptions?: IRequest.Options): Promise { + public async getAllTransactions(createdSince: Date, createdUntil: Date, balancePlatform?: string, paymentInstrumentId?: string, accountHolderId?: string, balanceAccountId?: string, cursor?: string, sortOrder?: "asc" | "desc", limit?: number, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/transactions`; const resource = new Resource(this, endpoint); diff --git a/src/services/transfers/transfersApi.ts b/src/services/transfers/transfersApi.ts index f728c465e..56d63f760 100644 --- a/src/services/transfers/transfersApi.ts +++ b/src/services/transfers/transfersApi.ts @@ -20,11 +20,9 @@ import { CancelTransfersRequest } from "../../typings/transfers/models"; import { FindTransfersResponse } from "../../typings/transfers/models"; import { ReturnTransferRequest } from "../../typings/transfers/models"; import { ReturnTransferResponse } from "../../typings/transfers/models"; -import { ServiceError } from "../../typings/transfers/models"; import { Transfer } from "../../typings/transfers/models"; import { TransferData } from "../../typings/transfers/models"; import { TransferInfo } from "../../typings/transfers/models"; -import { TransferServiceRestServiceError } from "../../typings/transfers/models"; /** * API handler for TransfersApi @@ -91,7 +89,7 @@ export class TransfersApi extends Service { * @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page. * @return {@link FindTransfersResponse } */ - public async getAllTransfers(createdSince: Date, createdUntil: Date, balancePlatform?: string, accountHolderId?: string, balanceAccountId?: string, paymentInstrumentId?: string, reference?: string, category?: 'bank' | 'card' | 'grants' | 'interest' | 'internal' | 'issuedCard' | 'migration' | 'platformPayment' | 'topUp' | 'upgrade', sortOrder?: 'asc' | 'desc', cursor?: string, limit?: number, requestOptions?: IRequest.Options): Promise { + public async getAllTransfers(createdSince: Date, createdUntil: Date, balancePlatform?: string, accountHolderId?: string, balanceAccountId?: string, paymentInstrumentId?: string, reference?: string, category?: "bank" | "card" | "grants" | "interest" | "internal" | "issuedCard" | "migration" | "platformPayment" | "topUp" | "upgrade", sortOrder?: "asc" | "desc", cursor?: string, limit?: number, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/transfers`; const resource = new Resource(this, endpoint); diff --git a/src/typings/balancePlatform/balanceWebhookSetting.ts b/src/typings/balancePlatform/balanceWebhookSetting.ts index 7b03f026f..46e02f59c 100644 --- a/src/typings/balancePlatform/balanceWebhookSetting.ts +++ b/src/typings/balancePlatform/balanceWebhookSetting.ts @@ -8,8 +8,6 @@ */ import { Condition } from "./condition"; -import { SettingType } from "./settingType"; -import { Target } from "./target"; import { WebhookSetting } from "./webhookSetting"; diff --git a/src/typings/sessionAuthentication/accountHolderResource.ts b/src/typings/sessionAuthentication/accountHolderResource.ts index b52df18d8..0e4256382 100644 --- a/src/typings/sessionAuthentication/accountHolderResource.ts +++ b/src/typings/sessionAuthentication/accountHolderResource.ts @@ -8,7 +8,6 @@ */ import { Resource } from "./resource"; -import { ResourceType } from "./resourceType"; export class AccountHolderResource extends Resource { diff --git a/src/typings/sessionAuthentication/balanceAccountResource.ts b/src/typings/sessionAuthentication/balanceAccountResource.ts index 6408e0ac3..ed6c1231e 100644 --- a/src/typings/sessionAuthentication/balanceAccountResource.ts +++ b/src/typings/sessionAuthentication/balanceAccountResource.ts @@ -8,7 +8,6 @@ */ import { Resource } from "./resource"; -import { ResourceType } from "./resourceType"; export class BalanceAccountResource extends Resource { diff --git a/src/typings/sessionAuthentication/legalEntityResource.ts b/src/typings/sessionAuthentication/legalEntityResource.ts index 7504b4f43..c4851e41c 100644 --- a/src/typings/sessionAuthentication/legalEntityResource.ts +++ b/src/typings/sessionAuthentication/legalEntityResource.ts @@ -8,7 +8,6 @@ */ import { Resource } from "./resource"; -import { ResourceType } from "./resourceType"; export class LegalEntityResource extends Resource { diff --git a/src/typings/sessionAuthentication/merchantAccountResource.ts b/src/typings/sessionAuthentication/merchantAccountResource.ts index 33790a1c1..cfed80104 100644 --- a/src/typings/sessionAuthentication/merchantAccountResource.ts +++ b/src/typings/sessionAuthentication/merchantAccountResource.ts @@ -8,7 +8,6 @@ */ import { Resource } from "./resource"; -import { ResourceType } from "./resourceType"; export class MerchantAccountResource extends Resource { diff --git a/src/typings/sessionAuthentication/paymentInstrumentResource.ts b/src/typings/sessionAuthentication/paymentInstrumentResource.ts index ee8b5b658..77be55c8d 100644 --- a/src/typings/sessionAuthentication/paymentInstrumentResource.ts +++ b/src/typings/sessionAuthentication/paymentInstrumentResource.ts @@ -8,7 +8,6 @@ */ import { Resource } from "./resource"; -import { ResourceType } from "./resourceType"; export class PaymentInstrumentResource extends Resource {