From e834770847b5e2709b73caa6ecb942d3593d6f99 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Wed, 30 Jul 2025 07:33:05 +0000 Subject: [PATCH 1/5] [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 + .../balancePlatform/manageCardPINApi.ts | 1 + .../balancePlatform/manageSCADevicesApi.ts | 1 + .../balancePlatform/networkTokensApi.ts | 1 + .../paymentInstrumentGroupsApi.ts | 1 + .../balancePlatform/paymentInstrumentsApi.ts | 5 +- src/services/balancePlatform/platformApi.ts | 1 + .../balancePlatform/transactionRulesApi.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 | 1 + .../dataProtection/dataProtectionApi.ts | 1 + src/services/disputes/disputesApi.ts | 1 + .../legalEntityManagement/businessLinesApi.ts | 1 + .../legalEntityManagement/documentsApi.ts | 1 + .../hostedOnboardingApi.ts | 1 + .../legalEntityManagement/legalEntitiesApi.ts | 1 + .../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 | 1 + .../sessionAuthenticationApi.ts | 1 + src/services/storedValue/storedValueApi.ts | 1 + src/services/transfers/capitalApi.ts | 1 + src/services/transfers/transactionsApi.ts | 5 +- src/services/transfers/transfersApi.ts | 6 +- .../balancePlatformNotificationResponse.ts | 2 +- src/typings/acsWebhooks/resource.ts | 2 +- ...additionalBankIdentificationRequirement.ts | 67 ++++++++++++++++ src/typings/balancePlatform/balanceAccount.ts | 2 +- .../balancePlatform/balanceAccountBase.ts | 2 +- .../balancePlatform/balanceAccountInfo.ts | 2 +- .../balanceAccountUpdateRequest.ts | 2 +- .../balancePlatform/balanceWebhookSetting.ts | 2 + src/typings/balancePlatform/card.ts | 10 +++ src/typings/balancePlatform/cardInfo.ts | 10 +++ src/typings/balancePlatform/cardOrderItem.ts | 2 +- .../createSweepConfigurationV2.ts | 1 + src/typings/balancePlatform/models.ts | 1 + src/typings/balancePlatform/networkToken.ts | 2 +- .../networkTokenActivationDataRequest.ts | 2 +- .../networkTokenActivationDataResponse.ts | 2 +- .../balancePlatform/objectSerializer.ts | 7 +- .../balancePlatform/sweepConfigurationV2.ts | 1 + .../balancePlatform/transactionRule.ts | 4 +- .../balancePlatform/transactionRuleInfo.ts | 4 +- .../transferRouteRequirementsInner.ts | 3 +- .../updateSweepConfigurationV2.ts | 1 + .../balanceNotificationData.ts | 4 +- .../balancePlatformNotificationResponse.ts | 2 +- .../configurationWebhooks/balanceAccount.ts | 2 +- .../balancePlatformNotificationResponse.ts | 2 +- src/typings/configurationWebhooks/card.ts | 10 +++ .../configurationWebhooks/cardOrderItem.ts | 2 +- src/typings/configurationWebhooks/models.ts | 4 + .../networkTokenNotificationDataV2.ts | 10 ++- .../networkTokenRequestor.ts | 2 +- .../networkTokenRiskRuleData.ts | 76 +++++++++++++++++++ .../networkTokenRiskRuleSource.ts | 46 +++++++++++ .../networkTokenTransactionRulesResult.ts | 68 +++++++++++++++++ .../networkTokenTriggeredRiskRule.ts | 53 +++++++++++++ .../configurationWebhooks/objectSerializer.ts | 8 ++ src/typings/configurationWebhooks/resource.ts | 2 +- .../sweepConfigurationV2.ts | 1 + src/typings/legalEntityManagement/address.ts | 2 +- ...anceCompensationWarningNotificationData.ts | 2 +- .../resource.ts | 2 +- .../balancePlatformNotificationResponse.ts | 2 +- .../reportWebhooks/reportNotificationData.ts | 2 +- src/typings/reportWebhooks/resource.ts | 2 +- .../accountHolderResource.ts | 1 + .../balanceAccountResource.ts | 1 + .../legalEntityResource.ts | 1 + .../merchantAccountResource.ts | 1 + .../paymentInstrumentResource.ts | 1 + .../balancePlatformNotificationResponse.ts | 2 +- src/typings/transactionWebhooks/resource.ts | 2 +- .../transactionWebhooks/transaction.ts | 2 +- .../balancePlatformNotificationResponse.ts | 2 +- .../transferWebhooks/partyIdentification.ts | 20 +++++ src/typings/transferWebhooks/resource.ts | 2 +- .../transactionRuleReference.ts | 2 +- src/typings/transferWebhooks/transferData.ts | 1 + .../transferWebhooks/transferDataTracking.ts | 11 +-- src/typings/transferWebhooks/transferEvent.ts | 1 + src/typings/transfers/partyIdentification.ts | 20 +++++ src/typings/transfers/transaction.ts | 2 +- .../transfers/transactionRuleReference.ts | 2 +- src/typings/transfers/transfer.ts | 1 + src/typings/transfers/transferData.ts | 1 + src/typings/transfers/transferEvent.ts | 1 + .../transfers/ultimatePartyIdentification.ts | 20 +++++ 140 files changed, 567 insertions(+), 54 deletions(-) create mode 100644 src/typings/balancePlatform/additionalBankIdentificationRequirement.ts create mode 100644 src/typings/configurationWebhooks/networkTokenRiskRuleData.ts create mode 100644 src/typings/configurationWebhooks/networkTokenRiskRuleSource.ts create mode 100644 src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts create mode 100644 src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.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/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 0d5a078f1..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"; @@ -41,13 +42,13 @@ export class PaymentInstrumentsApi extends Service { } /** - * @summary Create network token activation data + * @summary Create network token provisioning data * @param id {@link string } The unique identifier of the payment instrument. * @param networkTokenActivationDataRequest {@link NetworkTokenActivationDataRequest } * @param requestOptions {@link IRequest.Options } * @return {@link NetworkTokenActivationDataResponse } */ - public async createNetworkTokenActivationData(id: string, networkTokenActivationDataRequest: NetworkTokenActivationDataRequest, requestOptions?: IRequest.Options): Promise { + public async createNetworkTokenProvisioningData(id: string, networkTokenActivationDataRequest: NetworkTokenActivationDataRequest, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/paymentInstruments/{id}/networkTokenActivationData` .replace("{" + "id" + "}", encodeURIComponent(String(id))); const resource = new Resource(this, endpoint); 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/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/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 7c640358e..b4f2d67b9 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 8fe53856d..3346188d7 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 fd3210c08..c89721842 100644 --- a/src/services/checkout/utilityApi.ts +++ b/src/services/checkout/utilityApi.ts @@ -19,6 +19,7 @@ import { ApplePaySessionRequest } from "../../typings/checkout/models"; import { ApplePaySessionResponse } 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"; 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 fb9a9e5cf..c62287ced 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 064290fb7..024c56e59 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 ad88a1e84..bcb8f1692 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 9948a00e2..d16db573d 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"; /** diff --git a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts index 04df88f5b..ea2ab2147 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 55d2fa4b0..3d12db666 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 bb9e5078b..7d01ceafb 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 bb67e4173..be91d5616 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 0675dfaf0..b17e41b32 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 3e3b48134..0386b95ff 100644 --- a/src/services/recurring/recurringApi.ts +++ b/src/services/recurring/recurringApi.ts @@ -27,6 +27,7 @@ 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 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 6d176d378..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"; @@ -41,11 +42,11 @@ export class TransactionsApi extends Service { * @param accountHolderId {@link string } The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don\'t provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`. * @param balanceAccountId {@link string } The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don\'t provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`. * @param cursor {@link string } The `cursor` returned in the links of the previous response. - * @param sortOrder {@link 'asc' | 'desc' } The transactions sorting order. Possible values: - **asc**: Ascending order, from older to most recent. - **desc**: Descending order, from most recent to older. + * @param sortOrder {@link 'asc' | 'desc' } Determines the sort order of the returned transactions. The sort order is based on the creation date of the transaction. Possible values: - **asc**: Ascending order, from oldest to most recent. - **desc**: Descending order, from most recent to oldest. Default value: **asc**. * @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 e1afa1b75..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 @@ -84,12 +86,12 @@ export class TransfersApi extends Service { * @param paymentInstrumentId {@link string } The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide. * @param reference {@link string } The reference you provided in the POST [/transfers](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) request * @param category {@link 'bank' | 'card' | 'grants' | 'interest' | 'internal' | 'issuedCard' | 'migration' | 'platformPayment' | 'topUp' | 'upgrade' } The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: Transfer initiated by a Adyen-issued card. - **platformPayment**: Fund movements related to payments that are acquired for your users. - * @param sortOrder {@link 'asc' | 'desc' } The transfers sorting order. Possible values: - **asc**: Ascending order, from older to most recent. - **desc**: Descending order, from most recent to older. + * @param sortOrder {@link 'asc' | 'desc' } Determines the sort order of the returned transfers. The sort order is based on the creation date of the transfers. Possible values: - **asc**: Ascending order, from oldest to most recent. - **desc**: Descending order, from most recent to oldest. Default value: **asc**. * @param cursor {@link string } The `cursor` returned in the links of the previous response. * @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/acsWebhooks/balancePlatformNotificationResponse.ts b/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts index 18122d640..dedda166e 100644 --- a/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/acsWebhooks/resource.ts b/src/typings/acsWebhooks/resource.ts index f45de4906..10876b6a6 100644 --- a/src/typings/acsWebhooks/resource.ts +++ b/src/typings/acsWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/balancePlatform/additionalBankIdentificationRequirement.ts b/src/typings/balancePlatform/additionalBankIdentificationRequirement.ts new file mode 100644 index 000000000..17ce0ed05 --- /dev/null +++ b/src/typings/balancePlatform/additionalBankIdentificationRequirement.ts @@ -0,0 +1,67 @@ +/* + * 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 AdditionalBankIdentificationRequirement { + /** + * The type of additional bank identification, depending on the country. Possible values: * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces. * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces. * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + */ + "additionalBankIdentificationType"?: AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum; + /** + * The description of the additional bank identification requirement. + */ + "description"?: string; + /** + * **additionalBankIdentificationRequirement** + */ + "type": AdditionalBankIdentificationRequirement.TypeEnum; + + 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": "additionalBankIdentificationType", + "baseName": "additionalBankIdentificationType", + "type": "AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum", + "format": "" + }, + { + "name": "description", + "baseName": "description", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "AdditionalBankIdentificationRequirement.TypeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return AdditionalBankIdentificationRequirement.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace AdditionalBankIdentificationRequirement { + export enum AdditionalBankIdentificationTypeEnum { + AuBsbCode = 'auBsbCode', + CaRoutingNumber = 'caRoutingNumber', + GbSortCode = 'gbSortCode', + UsRoutingNumber = 'usRoutingNumber' + } + export enum TypeEnum { + AdditionalBankIdentificationRequirement = 'additionalBankIdentificationRequirement' + } +} diff --git a/src/typings/balancePlatform/balanceAccount.ts b/src/typings/balancePlatform/balanceAccount.ts index e03981ec4..b4558fe00 100644 --- a/src/typings/balancePlatform/balanceAccount.ts +++ b/src/typings/balancePlatform/balanceAccount.ts @@ -13,7 +13,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccount { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/balancePlatform/balanceAccountBase.ts b/src/typings/balancePlatform/balanceAccountBase.ts index 8d968a257..6b6743587 100644 --- a/src/typings/balancePlatform/balanceAccountBase.ts +++ b/src/typings/balancePlatform/balanceAccountBase.ts @@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccountBase { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/balancePlatform/balanceAccountInfo.ts b/src/typings/balancePlatform/balanceAccountInfo.ts index d7ec03c21..3317f432a 100644 --- a/src/typings/balancePlatform/balanceAccountInfo.ts +++ b/src/typings/balancePlatform/balanceAccountInfo.ts @@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccountInfo { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/balancePlatform/balanceAccountUpdateRequest.ts b/src/typings/balancePlatform/balanceAccountUpdateRequest.ts index 91662c7c7..800271cce 100644 --- a/src/typings/balancePlatform/balanceAccountUpdateRequest.ts +++ b/src/typings/balancePlatform/balanceAccountUpdateRequest.ts @@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccountUpdateRequest { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId"?: string; /** 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/card.ts b/src/typings/balancePlatform/card.ts index 72745c879..3fd874fc3 100644 --- a/src/typings/balancePlatform/card.ts +++ b/src/typings/balancePlatform/card.ts @@ -54,6 +54,10 @@ export class Card { * The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration. */ "threeDSecure"?: string; + /** + * Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**. > Reach out to your Adyen contact to determine the value relevant for your integration. + */ + "usage"?: string; static readonly discriminator: string | undefined = undefined; @@ -137,6 +141,12 @@ export class Card { "baseName": "threeDSecure", "type": "string", "format": "" + }, + { + "name": "usage", + "baseName": "usage", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/balancePlatform/cardInfo.ts b/src/typings/balancePlatform/cardInfo.ts index 9531d6d8e..6aec84221 100644 --- a/src/typings/balancePlatform/cardInfo.ts +++ b/src/typings/balancePlatform/cardInfo.ts @@ -36,6 +36,10 @@ export class CardInfo { * The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration. */ "threeDSecure"?: string; + /** + * Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**. > Reach out to your Adyen contact to determine the value relevant for your integration. + */ + "usage"?: string; static readonly discriminator: string | undefined = undefined; @@ -89,6 +93,12 @@ export class CardInfo { "baseName": "threeDSecure", "type": "string", "format": "" + }, + { + "name": "usage", + "baseName": "usage", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/balancePlatform/cardOrderItem.ts b/src/typings/balancePlatform/cardOrderItem.ts index fe05bcce8..3fceeaec5 100644 --- a/src/typings/balancePlatform/cardOrderItem.ts +++ b/src/typings/balancePlatform/cardOrderItem.ts @@ -21,7 +21,7 @@ export class CardOrderItem { */ "cardOrderItemId"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/balancePlatform/createSweepConfigurationV2.ts b/src/typings/balancePlatform/createSweepConfigurationV2.ts index af69ac418..5006ce693 100644 --- a/src/typings/balancePlatform/createSweepConfigurationV2.ts +++ b/src/typings/balancePlatform/createSweepConfigurationV2.ts @@ -180,6 +180,7 @@ export namespace CreateSweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/balancePlatform/models.ts b/src/typings/balancePlatform/models.ts index f0c40f5d8..763c9785c 100644 --- a/src/typings/balancePlatform/models.ts +++ b/src/typings/balancePlatform/models.ts @@ -6,6 +6,7 @@ export * from "./accountHolderUpdateRequest" export * from "./accountSupportingEntityCapability" export * from "./activeNetworkTokensRestriction" export * from "./additionalBankIdentification" +export * from "./additionalBankIdentificationRequirement" export * from "./address" export * from "./addressRequirement" export * from "./amount" diff --git a/src/typings/balancePlatform/networkToken.ts b/src/typings/balancePlatform/networkToken.ts index 7b8006a46..dcad14960 100644 --- a/src/typings/balancePlatform/networkToken.ts +++ b/src/typings/balancePlatform/networkToken.ts @@ -17,7 +17,7 @@ export class NetworkToken { */ "brandVariant"?: string; /** - * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2020-12-18T10:15:30+01:00**.. + * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2025-03-19T10:15:30+01:00**.. */ "creationDate"?: Date; "device"?: DeviceInfo | null; diff --git a/src/typings/balancePlatform/networkTokenActivationDataRequest.ts b/src/typings/balancePlatform/networkTokenActivationDataRequest.ts index b2547a5a0..400ee57a5 100644 --- a/src/typings/balancePlatform/networkTokenActivationDataRequest.ts +++ b/src/typings/balancePlatform/networkTokenActivationDataRequest.ts @@ -10,7 +10,7 @@ export class NetworkTokenActivationDataRequest { /** - * A block of data automatically generated by Adyen\'s SDK for network token provisioning. This `sdkInput` is required to create provisioning data for the network token. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) + * A block of data automatically generated by Adyen\'s SDK for network token provisioning. This `sdkOutput` is required to create provisioning data for the network token. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) */ "sdkOutput"?: string; diff --git a/src/typings/balancePlatform/networkTokenActivationDataResponse.ts b/src/typings/balancePlatform/networkTokenActivationDataResponse.ts index bc078ddcd..841f81b67 100644 --- a/src/typings/balancePlatform/networkTokenActivationDataResponse.ts +++ b/src/typings/balancePlatform/networkTokenActivationDataResponse.ts @@ -10,7 +10,7 @@ export class NetworkTokenActivationDataResponse { /** - * A block of data automatically generated by Adyen\'s SDK for network token provisioning. This `sdkInput` is required to create provisioning data for the network token. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) + * A block of data that contains the activation data for a network token. This `sdkInput` is required to initialize Adyen\'s SDK for network token provisioning. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) */ "sdkInput"?: string; diff --git a/src/typings/balancePlatform/objectSerializer.ts b/src/typings/balancePlatform/objectSerializer.ts index fa2dc46bd..71e4d5917 100644 --- a/src/typings/balancePlatform/objectSerializer.ts +++ b/src/typings/balancePlatform/objectSerializer.ts @@ -8,6 +8,7 @@ import { AccountHolderUpdateRequest } from "./accountHolderUpdateRequest"; import { AccountSupportingEntityCapability } from "./accountSupportingEntityCapability"; import { ActiveNetworkTokensRestriction } from "./activeNetworkTokensRestriction"; import { AdditionalBankIdentification } from "./additionalBankIdentification"; +import { AdditionalBankIdentificationRequirement } from "./additionalBankIdentificationRequirement"; import { Address } from "./address"; import { AddressRequirement } from "./addressRequirement"; import { Amount } from "./amount"; @@ -205,6 +206,8 @@ let enumsMap: Set = new Set([ "AccountSupportingEntityCapability.RequestedLevelEnum", "AccountSupportingEntityCapability.VerificationStatusEnum", "AdditionalBankIdentification.TypeEnum", + "AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum", + "AdditionalBankIdentificationRequirement.TypeEnum", "AddressRequirement.RequiredAddressFieldsEnum", "AddressRequirement.TypeEnum", "AmountMinMaxRequirement.TypeEnum", @@ -306,8 +309,9 @@ let enumsMap: Set = new Set([ "TransferRoute.PriorityEnum", "TransferRouteRequest.CategoryEnum", "TransferRouteRequest.PrioritiesEnum", - "TransferRouteRequirementsInner.RequiredAddressFieldsEnum", + "TransferRouteRequirementsInner.AdditionalBankIdentificationTypeEnum", "TransferRouteRequirementsInner.TypeEnum", + "TransferRouteRequirementsInner.RequiredAddressFieldsEnum", "TransferRouteRequirementsInner.BankAccountIdentificationTypesEnum", "TransferRouteRequirementsInner.PaymentInstrumentTypeEnum", "UKLocalAccountIdentification.TypeEnum", @@ -341,6 +345,7 @@ let typeMap: {[index: string]: any} = { "AccountSupportingEntityCapability": AccountSupportingEntityCapability, "ActiveNetworkTokensRestriction": ActiveNetworkTokensRestriction, "AdditionalBankIdentification": AdditionalBankIdentification, + "AdditionalBankIdentificationRequirement": AdditionalBankIdentificationRequirement, "Address": Address, "AddressRequirement": AddressRequirement, "Amount": Amount, diff --git a/src/typings/balancePlatform/sweepConfigurationV2.ts b/src/typings/balancePlatform/sweepConfigurationV2.ts index f6e6903c0..d3dd16c85 100644 --- a/src/typings/balancePlatform/sweepConfigurationV2.ts +++ b/src/typings/balancePlatform/sweepConfigurationV2.ts @@ -190,6 +190,7 @@ export namespace SweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/balancePlatform/transactionRule.ts b/src/typings/balancePlatform/transactionRule.ts index 8de46cb38..5a535a747 100644 --- a/src/typings/balancePlatform/transactionRule.ts +++ b/src/typings/balancePlatform/transactionRule.ts @@ -22,7 +22,7 @@ export class TransactionRule { */ "description": string; /** - * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. */ "endDate"?: string; "entityKey": TransactionRuleEntityKey; @@ -49,7 +49,7 @@ export class TransactionRule { */ "score"?: number; /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. */ "startDate"?: string; /** diff --git a/src/typings/balancePlatform/transactionRuleInfo.ts b/src/typings/balancePlatform/transactionRuleInfo.ts index b252ee194..144426e2c 100644 --- a/src/typings/balancePlatform/transactionRuleInfo.ts +++ b/src/typings/balancePlatform/transactionRuleInfo.ts @@ -22,7 +22,7 @@ export class TransactionRuleInfo { */ "description": string; /** - * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. */ "endDate"?: string; "entityKey": TransactionRuleEntityKey; @@ -45,7 +45,7 @@ export class TransactionRuleInfo { */ "score"?: number; /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. */ "startDate"?: string; /** diff --git a/src/typings/balancePlatform/transferRouteRequirementsInner.ts b/src/typings/balancePlatform/transferRouteRequirementsInner.ts index d347f2e19..cd36ed1c1 100644 --- a/src/typings/balancePlatform/transferRouteRequirementsInner.ts +++ b/src/typings/balancePlatform/transferRouteRequirementsInner.ts @@ -7,6 +7,7 @@ * Do not edit this class manually. */ +import { AdditionalBankIdentificationRequirement } from "./additionalBankIdentificationRequirement"; import { AddressRequirement } from "./addressRequirement"; import { AmountMinMaxRequirement } from "./amountMinMaxRequirement"; import { AmountNonZeroDecimalsRequirement } from "./amountNonZeroDecimalsRequirement"; @@ -22,7 +23,7 @@ import { USInternationalAchAddressRequirement } from "./uSInternationalAchAddres * Type * @export */ -export type TransferRouteRequirementsInner = AddressRequirement | AmountMinMaxRequirement | AmountNonZeroDecimalsRequirement | BankAccountIdentificationTypeRequirement | IbanAccountIdentificationRequirement | PaymentInstrumentRequirement | USInstantPayoutAddressRequirement | USInternationalAchAddressRequirement; +export type TransferRouteRequirementsInner = AdditionalBankIdentificationRequirement | AddressRequirement | AmountMinMaxRequirement | AmountNonZeroDecimalsRequirement | BankAccountIdentificationTypeRequirement | IbanAccountIdentificationRequirement | PaymentInstrumentRequirement | USInstantPayoutAddressRequirement | USInternationalAchAddressRequirement; /** * @type TransferRouteRequirementsInnerClass diff --git a/src/typings/balancePlatform/updateSweepConfigurationV2.ts b/src/typings/balancePlatform/updateSweepConfigurationV2.ts index 5e6295584..6b3a2b9f8 100644 --- a/src/typings/balancePlatform/updateSweepConfigurationV2.ts +++ b/src/typings/balancePlatform/updateSweepConfigurationV2.ts @@ -190,6 +190,7 @@ export namespace UpdateSweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/balanceWebhooks/balanceNotificationData.ts b/src/typings/balanceWebhooks/balanceNotificationData.ts index 85783fa41..833509870 100644 --- a/src/typings/balanceWebhooks/balanceNotificationData.ts +++ b/src/typings/balanceWebhooks/balanceNotificationData.ts @@ -21,11 +21,11 @@ export class BalanceNotificationData { "balancePlatform"?: string; "balances": Balances; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** - * TThe three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). */ "currency": string; /** diff --git a/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts b/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts index 18122d640..dedda166e 100644 --- a/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/configurationWebhooks/balanceAccount.ts b/src/typings/configurationWebhooks/balanceAccount.ts index e03981ec4..b4558fe00 100644 --- a/src/typings/configurationWebhooks/balanceAccount.ts +++ b/src/typings/configurationWebhooks/balanceAccount.ts @@ -13,7 +13,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccount { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts b/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts index 7f66baeac..76850348a 100644 --- a/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/configurationWebhooks/card.ts b/src/typings/configurationWebhooks/card.ts index 72745c879..3fd874fc3 100644 --- a/src/typings/configurationWebhooks/card.ts +++ b/src/typings/configurationWebhooks/card.ts @@ -54,6 +54,10 @@ export class Card { * The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration. */ "threeDSecure"?: string; + /** + * Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**. > Reach out to your Adyen contact to determine the value relevant for your integration. + */ + "usage"?: string; static readonly discriminator: string | undefined = undefined; @@ -137,6 +141,12 @@ export class Card { "baseName": "threeDSecure", "type": "string", "format": "" + }, + { + "name": "usage", + "baseName": "usage", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/configurationWebhooks/cardOrderItem.ts b/src/typings/configurationWebhooks/cardOrderItem.ts index fe05bcce8..3fceeaec5 100644 --- a/src/typings/configurationWebhooks/cardOrderItem.ts +++ b/src/typings/configurationWebhooks/cardOrderItem.ts @@ -21,7 +21,7 @@ export class CardOrderItem { */ "cardOrderItemId"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/configurationWebhooks/models.ts b/src/typings/configurationWebhooks/models.ts index 605665c0a..7b9712252 100644 --- a/src/typings/configurationWebhooks/models.ts +++ b/src/typings/configurationWebhooks/models.ts @@ -32,6 +32,10 @@ export * from "./name" export * from "./networkTokenNotificationDataV2" export * from "./networkTokenNotificationRequest" export * from "./networkTokenRequestor" +export * from "./networkTokenRiskRuleData" +export * from "./networkTokenRiskRuleSource" +export * from "./networkTokenTransactionRulesResult" +export * from "./networkTokenTriggeredRiskRule" export * from "./paymentInstrument" export * from "./paymentInstrumentAdditionalBankAccountIdentificationsInner" export * from "./paymentInstrumentNotificationData" diff --git a/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts b/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts index d3b8d75df..9161c3564 100644 --- a/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts +++ b/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts @@ -8,6 +8,7 @@ */ import { NetworkTokenRequestor } from "./networkTokenRequestor"; +import { NetworkTokenTransactionRulesResult } from "./networkTokenTransactionRulesResult"; import { TokenAuthentication } from "./tokenAuthentication"; import { ValidationFacts } from "./validationFacts"; import { Wallet } from "./wallet"; @@ -44,8 +45,9 @@ export class NetworkTokenNotificationDataV2 { */ "tokenLastFour"?: string; "tokenRequestor"?: NetworkTokenRequestor | null; + "transactionRulesResult"?: NetworkTokenTransactionRulesResult | null; /** - * The type of network token. + * The type of network token. Possible values: **wallet**, **cof**. */ "type"?: string; /** @@ -113,6 +115,12 @@ export class NetworkTokenNotificationDataV2 { "type": "NetworkTokenRequestor | null", "format": "" }, + { + "name": "transactionRulesResult", + "baseName": "transactionRulesResult", + "type": "NetworkTokenTransactionRulesResult | null", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/configurationWebhooks/networkTokenRequestor.ts b/src/typings/configurationWebhooks/networkTokenRequestor.ts index 5abbd5260..a07c4b881 100644 --- a/src/typings/configurationWebhooks/networkTokenRequestor.ts +++ b/src/typings/configurationWebhooks/networkTokenRequestor.ts @@ -10,7 +10,7 @@ export class NetworkTokenRequestor { /** - * The id of the network token requestor. + * The unique identifier of the network token requestor. */ "id"?: string; /** diff --git a/src/typings/configurationWebhooks/networkTokenRiskRuleData.ts b/src/typings/configurationWebhooks/networkTokenRiskRuleData.ts new file mode 100644 index 000000000..45f925161 --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenRiskRuleData.ts @@ -0,0 +1,76 @@ +/* + * 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 NetworkTokenRiskRuleData { + /** + * The description of the transaction rule. + */ + "description"?: string; + /** + * The unique identifier of the transaction rule. + */ + "id"?: string; + /** + * The outcome type of the transaction rule. + */ + "outcomeType"?: string; + /** + * The reference for the transaction rule. + */ + "reference"?: string; + /** + * The transaction score determined by the rule. + */ + "score"?: 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": "description", + "baseName": "description", + "type": "string", + "format": "" + }, + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "outcomeType", + "baseName": "outcomeType", + "type": "string", + "format": "" + }, + { + "name": "reference", + "baseName": "reference", + "type": "string", + "format": "" + }, + { + "name": "score", + "baseName": "score", + "type": "number", + "format": "int32" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenRiskRuleData.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/networkTokenRiskRuleSource.ts b/src/typings/configurationWebhooks/networkTokenRiskRuleSource.ts new file mode 100644 index 000000000..041aacaee --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenRiskRuleSource.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 NetworkTokenRiskRuleSource { + /** + * The unique identifier of the resource to which the transaction rule applies. + */ + "id"?: string; + /** + * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. + */ + "type"?: 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": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenRiskRuleSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts b/src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts new file mode 100644 index 000000000..552ef8e26 --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts @@ -0,0 +1,68 @@ +/* + * 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 { NetworkTokenTriggeredRiskRule } from "./networkTokenTriggeredRiskRule"; + + +export class NetworkTokenTransactionRulesResult { + /** + * The advice given by the Risk analysis. + */ + "advice"?: string; + /** + * Indicates whether the transaction passed all rules with `outcomeType` **hardBlock**. + */ + "allHardBlockRulesPassed"?: boolean; + /** + * The score of the Risk analysis. + */ + "score"?: number; + /** + * Contains a list of all triggered transaction rules and the corresponding data. + */ + "triggeredTransactionRules"?: 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": "advice", + "baseName": "advice", + "type": "string", + "format": "" + }, + { + "name": "allHardBlockRulesPassed", + "baseName": "allHardBlockRulesPassed", + "type": "boolean", + "format": "" + }, + { + "name": "score", + "baseName": "score", + "type": "number", + "format": "int32" + }, + { + "name": "triggeredTransactionRules", + "baseName": "triggeredTransactionRules", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenTransactionRulesResult.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.ts b/src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.ts new file mode 100644 index 000000000..a0558336a --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.ts @@ -0,0 +1,53 @@ +/* + * 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 { NetworkTokenRiskRuleData } from "./networkTokenRiskRuleData"; +import { NetworkTokenRiskRuleSource } from "./networkTokenRiskRuleSource"; + + +export class NetworkTokenTriggeredRiskRule { + /** + * Explains why the transaction rule failed. + */ + "reason"?: string; + "transactionRule"?: NetworkTokenRiskRuleData | null; + "transactionRuleSource"?: NetworkTokenRiskRuleSource | 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": "reason", + "baseName": "reason", + "type": "string", + "format": "" + }, + { + "name": "transactionRule", + "baseName": "transactionRule", + "type": "NetworkTokenRiskRuleData | null", + "format": "" + }, + { + "name": "transactionRuleSource", + "baseName": "transactionRuleSource", + "type": "NetworkTokenRiskRuleSource | null", + "format": "" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenTriggeredRiskRule.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/objectSerializer.ts b/src/typings/configurationWebhooks/objectSerializer.ts index 034b7bb05..a552a697d 100644 --- a/src/typings/configurationWebhooks/objectSerializer.ts +++ b/src/typings/configurationWebhooks/objectSerializer.ts @@ -34,6 +34,10 @@ import { Name } from "./name"; import { NetworkTokenNotificationDataV2 } from "./networkTokenNotificationDataV2"; import { NetworkTokenNotificationRequest } from "./networkTokenNotificationRequest"; import { NetworkTokenRequestor } from "./networkTokenRequestor"; +import { NetworkTokenRiskRuleData } from "./networkTokenRiskRuleData"; +import { NetworkTokenRiskRuleSource } from "./networkTokenRiskRuleSource"; +import { NetworkTokenTransactionRulesResult } from "./networkTokenTransactionRulesResult"; +import { NetworkTokenTriggeredRiskRule } from "./networkTokenTriggeredRiskRule"; import { PaymentInstrument } from "./paymentInstrument"; import { PaymentInstrumentAdditionalBankAccountIdentificationsInnerClass } from "./paymentInstrumentAdditionalBankAccountIdentificationsInner"; import { PaymentInstrumentNotificationData } from "./paymentInstrumentNotificationData"; @@ -145,6 +149,10 @@ let typeMap: {[index: string]: any} = { "NetworkTokenNotificationDataV2": NetworkTokenNotificationDataV2, "NetworkTokenNotificationRequest": NetworkTokenNotificationRequest, "NetworkTokenRequestor": NetworkTokenRequestor, + "NetworkTokenRiskRuleData": NetworkTokenRiskRuleData, + "NetworkTokenRiskRuleSource": NetworkTokenRiskRuleSource, + "NetworkTokenTransactionRulesResult": NetworkTokenTransactionRulesResult, + "NetworkTokenTriggeredRiskRule": NetworkTokenTriggeredRiskRule, "PaymentInstrument": PaymentInstrument, "PaymentInstrumentAdditionalBankAccountIdentificationsInner": PaymentInstrumentAdditionalBankAccountIdentificationsInnerClass, "PaymentInstrumentNotificationData": PaymentInstrumentNotificationData, diff --git a/src/typings/configurationWebhooks/resource.ts b/src/typings/configurationWebhooks/resource.ts index c2649f92f..a9831dabb 100644 --- a/src/typings/configurationWebhooks/resource.ts +++ b/src/typings/configurationWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/configurationWebhooks/sweepConfigurationV2.ts b/src/typings/configurationWebhooks/sweepConfigurationV2.ts index f6e6903c0..d3dd16c85 100644 --- a/src/typings/configurationWebhooks/sweepConfigurationV2.ts +++ b/src/typings/configurationWebhooks/sweepConfigurationV2.ts @@ -190,6 +190,7 @@ export namespace SweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/legalEntityManagement/address.ts b/src/typings/legalEntityManagement/address.ts index 985fcf08c..235592230 100644 --- a/src/typings/legalEntityManagement/address.ts +++ b/src/typings/legalEntityManagement/address.ts @@ -22,7 +22,7 @@ export class Address { */ "postalCode"?: string; /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. Required for Australia and New Zealand. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. */ "stateOrProvince"?: string; /** diff --git a/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts b/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts index 0fe4440e7..c61d5c0a2 100644 --- a/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts +++ b/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts @@ -19,7 +19,7 @@ export class NegativeBalanceCompensationWarningNotificationData { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/negativeBalanceWarningWebhooks/resource.ts b/src/typings/negativeBalanceWarningWebhooks/resource.ts index f45de4906..10876b6a6 100644 --- a/src/typings/negativeBalanceWarningWebhooks/resource.ts +++ b/src/typings/negativeBalanceWarningWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts b/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts index 18122d640..dedda166e 100644 --- a/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/reportWebhooks/reportNotificationData.ts b/src/typings/reportWebhooks/reportNotificationData.ts index bd9cfde78..e7ffb7eba 100644 --- a/src/typings/reportWebhooks/reportNotificationData.ts +++ b/src/typings/reportWebhooks/reportNotificationData.ts @@ -18,7 +18,7 @@ export class ReportNotificationData { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/reportWebhooks/resource.ts b/src/typings/reportWebhooks/resource.ts index f45de4906..10876b6a6 100644 --- a/src/typings/reportWebhooks/resource.ts +++ b/src/typings/reportWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** 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/transactionWebhooks/balancePlatformNotificationResponse.ts b/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts index cdc77073e..20fbaeb4f 100644 --- a/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/transactionWebhooks/resource.ts b/src/typings/transactionWebhooks/resource.ts index b96700779..19ff17ecf 100644 --- a/src/typings/transactionWebhooks/resource.ts +++ b/src/typings/transactionWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transactionWebhooks/transaction.ts b/src/typings/transactionWebhooks/transaction.ts index 23cb7d6dd..042c4ce66 100644 --- a/src/typings/transactionWebhooks/transaction.ts +++ b/src/typings/transactionWebhooks/transaction.ts @@ -26,7 +26,7 @@ export class Transaction { */ "bookingDate": Date; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts b/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts index cdc77073e..20fbaeb4f 100644 --- a/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/transferWebhooks/partyIdentification.ts b/src/typings/transferWebhooks/partyIdentification.ts index e874d6a3d..37f7bae9c 100644 --- a/src/typings/transferWebhooks/partyIdentification.ts +++ b/src/typings/transferWebhooks/partyIdentification.ts @@ -17,6 +17,10 @@ export class PartyIdentification { */ "dateOfBirth"?: string; /** + * The email address of the organization or individual. Maximum length: 254 characters. + */ + "email"?: string; + /** * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. */ "firstName"?: string; @@ -36,6 +40,10 @@ export class PartyIdentification { * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. */ "type"?: PartyIdentification.TypeEnum; + /** + * The URL of the organization or individual. Maximum length: 255 characters. + */ + "url"?: string; static readonly discriminator: string | undefined = undefined; @@ -54,6 +62,12 @@ export class PartyIdentification { "type": "string", "format": "date" }, + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, { "name": "firstName", "baseName": "firstName", @@ -83,6 +97,12 @@ export class PartyIdentification { "baseName": "type", "type": "PartyIdentification.TypeEnum", "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/transferWebhooks/resource.ts b/src/typings/transferWebhooks/resource.ts index b96700779..19ff17ecf 100644 --- a/src/typings/transferWebhooks/resource.ts +++ b/src/typings/transferWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transferWebhooks/transactionRuleReference.ts b/src/typings/transferWebhooks/transactionRuleReference.ts index 3614ed8ed..a4625f681 100644 --- a/src/typings/transferWebhooks/transactionRuleReference.ts +++ b/src/typings/transferWebhooks/transactionRuleReference.ts @@ -26,7 +26,7 @@ export class TransactionRuleReference { */ "reference"?: string; /** - * The score of the rule in case it\'s a scoreBased rule. + * The transaction score determined by the rule. Returned only when `outcomeType` is **scoreBased**. */ "score"?: number; diff --git a/src/typings/transferWebhooks/transferData.ts b/src/typings/transferWebhooks/transferData.ts index 83cbc0331..34b955023 100644 --- a/src/typings/transferWebhooks/transferData.ts +++ b/src/typings/transferWebhooks/transferData.ts @@ -311,6 +311,7 @@ export namespace TransferData { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transferWebhooks/transferDataTracking.ts b/src/typings/transferWebhooks/transferDataTracking.ts index e2e22ae77..336ee1789 100644 --- a/src/typings/transferWebhooks/transferDataTracking.ts +++ b/src/typings/transferWebhooks/transferDataTracking.ts @@ -30,12 +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", - }; - -} \ No newline at end of file + static readonly mapping: {[index: string]: string} | undefined = undefined; +} diff --git a/src/typings/transferWebhooks/transferEvent.ts b/src/typings/transferWebhooks/transferEvent.ts index 55302e06f..6a15b1023 100644 --- a/src/typings/transferWebhooks/transferEvent.ts +++ b/src/typings/transferWebhooks/transferEvent.ts @@ -201,6 +201,7 @@ export namespace TransferEvent { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/partyIdentification.ts b/src/typings/transfers/partyIdentification.ts index e874d6a3d..37f7bae9c 100644 --- a/src/typings/transfers/partyIdentification.ts +++ b/src/typings/transfers/partyIdentification.ts @@ -17,6 +17,10 @@ export class PartyIdentification { */ "dateOfBirth"?: string; /** + * The email address of the organization or individual. Maximum length: 254 characters. + */ + "email"?: string; + /** * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. */ "firstName"?: string; @@ -36,6 +40,10 @@ export class PartyIdentification { * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. */ "type"?: PartyIdentification.TypeEnum; + /** + * The URL of the organization or individual. Maximum length: 255 characters. + */ + "url"?: string; static readonly discriminator: string | undefined = undefined; @@ -54,6 +62,12 @@ export class PartyIdentification { "type": "string", "format": "date" }, + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, { "name": "firstName", "baseName": "firstName", @@ -83,6 +97,12 @@ export class PartyIdentification { "baseName": "type", "type": "PartyIdentification.TypeEnum", "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/transfers/transaction.ts b/src/typings/transfers/transaction.ts index 23cb7d6dd..042c4ce66 100644 --- a/src/typings/transfers/transaction.ts +++ b/src/typings/transfers/transaction.ts @@ -26,7 +26,7 @@ export class Transaction { */ "bookingDate": Date; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transfers/transactionRuleReference.ts b/src/typings/transfers/transactionRuleReference.ts index 3614ed8ed..a4625f681 100644 --- a/src/typings/transfers/transactionRuleReference.ts +++ b/src/typings/transfers/transactionRuleReference.ts @@ -26,7 +26,7 @@ export class TransactionRuleReference { */ "reference"?: string; /** - * The score of the rule in case it\'s a scoreBased rule. + * The transaction score determined by the rule. Returned only when `outcomeType` is **scoreBased**. */ "score"?: number; diff --git a/src/typings/transfers/transfer.ts b/src/typings/transfers/transfer.ts index 91d7b7c8f..9eb6ef1c6 100644 --- a/src/typings/transfers/transfer.ts +++ b/src/typings/transfers/transfer.ts @@ -225,6 +225,7 @@ export namespace Transfer { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/transferData.ts b/src/typings/transfers/transferData.ts index f39dace5e..df4ca7130 100644 --- a/src/typings/transfers/transferData.ts +++ b/src/typings/transfers/transferData.ts @@ -311,6 +311,7 @@ export namespace TransferData { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/transferEvent.ts b/src/typings/transfers/transferEvent.ts index 55302e06f..6a15b1023 100644 --- a/src/typings/transfers/transferEvent.ts +++ b/src/typings/transfers/transferEvent.ts @@ -201,6 +201,7 @@ export namespace TransferEvent { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/ultimatePartyIdentification.ts b/src/typings/transfers/ultimatePartyIdentification.ts index 5844416f4..c1b288ba4 100644 --- a/src/typings/transfers/ultimatePartyIdentification.ts +++ b/src/typings/transfers/ultimatePartyIdentification.ts @@ -17,6 +17,10 @@ export class UltimatePartyIdentification { */ "dateOfBirth"?: string; /** + * The email address of the organization or individual. Maximum length: 254 characters. + */ + "email"?: string; + /** * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. */ "firstName"?: string; @@ -36,6 +40,10 @@ export class UltimatePartyIdentification { * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. */ "type"?: UltimatePartyIdentification.TypeEnum; + /** + * The URL of the organization or individual. Maximum length: 255 characters. + */ + "url"?: string; static readonly discriminator: string | undefined = undefined; @@ -54,6 +62,12 @@ export class UltimatePartyIdentification { "type": "string", "format": "date" }, + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, { "name": "firstName", "baseName": "firstName", @@ -83,6 +97,12 @@ export class UltimatePartyIdentification { "baseName": "type", "type": "UltimatePartyIdentification.TypeEnum", "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { From ba4acb3f7d92c690ad62c9f14c63ed9847e221be Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot Date: Wed, 30 Jul 2025 07:33:50 +0000 Subject: [PATCH 2/5] 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/transactionRulesApi.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 | 1 - 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 - 80 files changed, 3 insertions(+), 85 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/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/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 b4f2d67b9..7c640358e 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 3346188d7..8fe53856d 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 c89721842..fd3210c08 100644 --- a/src/services/checkout/utilityApi.ts +++ b/src/services/checkout/utilityApi.ts @@ -19,7 +19,6 @@ import { ApplePaySessionRequest } from "../../typings/checkout/models"; import { ApplePaySessionResponse } 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"; 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 c62287ced..fb9a9e5cf 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 024c56e59..064290fb7 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 bcb8f1692..ad88a1e84 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 d16db573d..9948a00e2 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 ea2ab2147..04df88f5b 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 3d12db666..55d2fa4b0 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 7d01ceafb..bb9e5078b 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 be91d5616..bb67e4173 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 b17e41b32..0675dfaf0 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 0386b95ff..3e3b48134 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 { From bd367cf8edc10e4ef42c0db915e9f7625af7fa1a Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Wed, 30 Jul 2025 14:57:51 +0000 Subject: [PATCH 3/5] [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 + .../balancePlatform/manageCardPINApi.ts | 1 + .../balancePlatform/manageSCADevicesApi.ts | 1 + .../balancePlatform/networkTokensApi.ts | 1 + .../paymentInstrumentGroupsApi.ts | 1 + .../balancePlatform/paymentInstrumentsApi.ts | 5 +- src/services/balancePlatform/platformApi.ts | 1 + .../balancePlatform/transactionRulesApi.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 | 1 + .../dataProtection/dataProtectionApi.ts | 1 + src/services/disputes/disputesApi.ts | 1 + .../legalEntityManagement/businessLinesApi.ts | 1 + .../legalEntityManagement/documentsApi.ts | 1 + .../hostedOnboardingApi.ts | 1 + .../legalEntityManagement/legalEntitiesApi.ts | 1 + .../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 | 1 + .../sessionAuthenticationApi.ts | 1 + src/services/storedValue/storedValueApi.ts | 1 + src/services/transfers/capitalApi.ts | 1 + src/services/transfers/transactionsApi.ts | 5 +- src/services/transfers/transfersApi.ts | 6 +- .../balancePlatformNotificationResponse.ts | 2 +- src/typings/acsWebhooks/resource.ts | 2 +- ...additionalBankIdentificationRequirement.ts | 67 ++++++++++++++++ src/typings/balancePlatform/balanceAccount.ts | 2 +- .../balancePlatform/balanceAccountBase.ts | 2 +- .../balancePlatform/balanceAccountInfo.ts | 2 +- .../balanceAccountUpdateRequest.ts | 2 +- .../balancePlatform/balanceWebhookSetting.ts | 2 + src/typings/balancePlatform/card.ts | 10 +++ src/typings/balancePlatform/cardInfo.ts | 10 +++ src/typings/balancePlatform/cardOrderItem.ts | 2 +- .../createSweepConfigurationV2.ts | 1 + src/typings/balancePlatform/models.ts | 1 + src/typings/balancePlatform/networkToken.ts | 2 +- .../networkTokenActivationDataRequest.ts | 2 +- .../networkTokenActivationDataResponse.ts | 2 +- .../balancePlatform/objectSerializer.ts | 7 +- .../balancePlatform/sweepConfigurationV2.ts | 1 + .../balancePlatform/transactionRule.ts | 4 +- .../balancePlatform/transactionRuleInfo.ts | 4 +- .../transferRouteRequirementsInner.ts | 3 +- .../updateSweepConfigurationV2.ts | 1 + .../balanceNotificationData.ts | 4 +- .../balancePlatformNotificationResponse.ts | 2 +- .../configurationWebhooks/balanceAccount.ts | 2 +- .../balancePlatformNotificationResponse.ts | 2 +- src/typings/configurationWebhooks/card.ts | 10 +++ .../configurationWebhooks/cardOrderItem.ts | 2 +- src/typings/configurationWebhooks/models.ts | 4 + .../networkTokenNotificationDataV2.ts | 10 ++- .../networkTokenRequestor.ts | 2 +- .../networkTokenRiskRuleData.ts | 76 +++++++++++++++++++ .../networkTokenRiskRuleSource.ts | 46 +++++++++++ .../networkTokenTransactionRulesResult.ts | 68 +++++++++++++++++ .../networkTokenTriggeredRiskRule.ts | 53 +++++++++++++ .../configurationWebhooks/objectSerializer.ts | 8 ++ src/typings/configurationWebhooks/resource.ts | 2 +- .../sweepConfigurationV2.ts | 1 + src/typings/legalEntityManagement/address.ts | 2 +- ...anceCompensationWarningNotificationData.ts | 2 +- .../resource.ts | 2 +- .../balancePlatformNotificationResponse.ts | 2 +- .../reportWebhooks/reportNotificationData.ts | 2 +- src/typings/reportWebhooks/resource.ts | 2 +- .../accountHolderResource.ts | 1 + .../balanceAccountResource.ts | 1 + .../legalEntityResource.ts | 1 + .../merchantAccountResource.ts | 1 + .../paymentInstrumentResource.ts | 1 + .../balancePlatformNotificationResponse.ts | 2 +- src/typings/transactionWebhooks/resource.ts | 2 +- .../transactionWebhooks/transaction.ts | 2 +- .../balancePlatformNotificationResponse.ts | 2 +- .../transferWebhooks/partyIdentification.ts | 20 +++++ src/typings/transferWebhooks/resource.ts | 2 +- .../transactionRuleReference.ts | 2 +- src/typings/transferWebhooks/transferData.ts | 1 + .../transferWebhooks/transferDataTracking.ts | 11 +-- src/typings/transferWebhooks/transferEvent.ts | 1 + src/typings/transfers/partyIdentification.ts | 20 +++++ src/typings/transfers/transaction.ts | 2 +- .../transfers/transactionRuleReference.ts | 2 +- src/typings/transfers/transfer.ts | 1 + src/typings/transfers/transferData.ts | 1 + src/typings/transfers/transferEvent.ts | 1 + .../transfers/ultimatePartyIdentification.ts | 20 +++++ 140 files changed, 567 insertions(+), 54 deletions(-) create mode 100644 src/typings/balancePlatform/additionalBankIdentificationRequirement.ts create mode 100644 src/typings/configurationWebhooks/networkTokenRiskRuleData.ts create mode 100644 src/typings/configurationWebhooks/networkTokenRiskRuleSource.ts create mode 100644 src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts create mode 100644 src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.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/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 0d5a078f1..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"; @@ -41,13 +42,13 @@ export class PaymentInstrumentsApi extends Service { } /** - * @summary Create network token activation data + * @summary Create network token provisioning data * @param id {@link string } The unique identifier of the payment instrument. * @param networkTokenActivationDataRequest {@link NetworkTokenActivationDataRequest } * @param requestOptions {@link IRequest.Options } * @return {@link NetworkTokenActivationDataResponse } */ - public async createNetworkTokenActivationData(id: string, networkTokenActivationDataRequest: NetworkTokenActivationDataRequest, requestOptions?: IRequest.Options): Promise { + public async createNetworkTokenProvisioningData(id: string, networkTokenActivationDataRequest: NetworkTokenActivationDataRequest, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/paymentInstruments/{id}/networkTokenActivationData` .replace("{" + "id" + "}", encodeURIComponent(String(id))); const resource = new Resource(this, endpoint); 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/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/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 7c640358e..b4f2d67b9 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 8fe53856d..3346188d7 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 fd3210c08..c89721842 100644 --- a/src/services/checkout/utilityApi.ts +++ b/src/services/checkout/utilityApi.ts @@ -19,6 +19,7 @@ import { ApplePaySessionRequest } from "../../typings/checkout/models"; import { ApplePaySessionResponse } 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"; 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 fb9a9e5cf..c62287ced 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 064290fb7..024c56e59 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 ad88a1e84..bcb8f1692 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 9948a00e2..d16db573d 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"; /** diff --git a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts index 04df88f5b..ea2ab2147 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 55d2fa4b0..3d12db666 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 bb9e5078b..7d01ceafb 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 bb67e4173..be91d5616 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 0675dfaf0..b17e41b32 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 3e3b48134..0386b95ff 100644 --- a/src/services/recurring/recurringApi.ts +++ b/src/services/recurring/recurringApi.ts @@ -27,6 +27,7 @@ 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 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 6d176d378..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"; @@ -41,11 +42,11 @@ export class TransactionsApi extends Service { * @param accountHolderId {@link string } The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don\'t provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`. * @param balanceAccountId {@link string } The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don\'t provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`. * @param cursor {@link string } The `cursor` returned in the links of the previous response. - * @param sortOrder {@link 'asc' | 'desc' } The transactions sorting order. Possible values: - **asc**: Ascending order, from older to most recent. - **desc**: Descending order, from most recent to older. + * @param sortOrder {@link 'asc' | 'desc' } Determines the sort order of the returned transactions. The sort order is based on the creation date of the transaction. Possible values: - **asc**: Ascending order, from oldest to most recent. - **desc**: Descending order, from most recent to oldest. Default value: **asc**. * @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 e1afa1b75..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 @@ -84,12 +86,12 @@ export class TransfersApi extends Service { * @param paymentInstrumentId {@link string } The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide. * @param reference {@link string } The reference you provided in the POST [/transfers](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) request * @param category {@link 'bank' | 'card' | 'grants' | 'interest' | 'internal' | 'issuedCard' | 'migration' | 'platformPayment' | 'topUp' | 'upgrade' } The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: Transfer initiated by a Adyen-issued card. - **platformPayment**: Fund movements related to payments that are acquired for your users. - * @param sortOrder {@link 'asc' | 'desc' } The transfers sorting order. Possible values: - **asc**: Ascending order, from older to most recent. - **desc**: Descending order, from most recent to older. + * @param sortOrder {@link 'asc' | 'desc' } Determines the sort order of the returned transfers. The sort order is based on the creation date of the transfers. Possible values: - **asc**: Ascending order, from oldest to most recent. - **desc**: Descending order, from most recent to oldest. Default value: **asc**. * @param cursor {@link string } The `cursor` returned in the links of the previous response. * @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/acsWebhooks/balancePlatformNotificationResponse.ts b/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts index 18122d640..dedda166e 100644 --- a/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/acsWebhooks/resource.ts b/src/typings/acsWebhooks/resource.ts index f45de4906..10876b6a6 100644 --- a/src/typings/acsWebhooks/resource.ts +++ b/src/typings/acsWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/balancePlatform/additionalBankIdentificationRequirement.ts b/src/typings/balancePlatform/additionalBankIdentificationRequirement.ts new file mode 100644 index 000000000..17ce0ed05 --- /dev/null +++ b/src/typings/balancePlatform/additionalBankIdentificationRequirement.ts @@ -0,0 +1,67 @@ +/* + * 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 AdditionalBankIdentificationRequirement { + /** + * The type of additional bank identification, depending on the country. Possible values: * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces. * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces. * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + */ + "additionalBankIdentificationType"?: AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum; + /** + * The description of the additional bank identification requirement. + */ + "description"?: string; + /** + * **additionalBankIdentificationRequirement** + */ + "type": AdditionalBankIdentificationRequirement.TypeEnum; + + 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": "additionalBankIdentificationType", + "baseName": "additionalBankIdentificationType", + "type": "AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum", + "format": "" + }, + { + "name": "description", + "baseName": "description", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "AdditionalBankIdentificationRequirement.TypeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return AdditionalBankIdentificationRequirement.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace AdditionalBankIdentificationRequirement { + export enum AdditionalBankIdentificationTypeEnum { + AuBsbCode = 'auBsbCode', + CaRoutingNumber = 'caRoutingNumber', + GbSortCode = 'gbSortCode', + UsRoutingNumber = 'usRoutingNumber' + } + export enum TypeEnum { + AdditionalBankIdentificationRequirement = 'additionalBankIdentificationRequirement' + } +} diff --git a/src/typings/balancePlatform/balanceAccount.ts b/src/typings/balancePlatform/balanceAccount.ts index e03981ec4..b4558fe00 100644 --- a/src/typings/balancePlatform/balanceAccount.ts +++ b/src/typings/balancePlatform/balanceAccount.ts @@ -13,7 +13,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccount { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/balancePlatform/balanceAccountBase.ts b/src/typings/balancePlatform/balanceAccountBase.ts index 8d968a257..6b6743587 100644 --- a/src/typings/balancePlatform/balanceAccountBase.ts +++ b/src/typings/balancePlatform/balanceAccountBase.ts @@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccountBase { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/balancePlatform/balanceAccountInfo.ts b/src/typings/balancePlatform/balanceAccountInfo.ts index d7ec03c21..3317f432a 100644 --- a/src/typings/balancePlatform/balanceAccountInfo.ts +++ b/src/typings/balancePlatform/balanceAccountInfo.ts @@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccountInfo { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/balancePlatform/balanceAccountUpdateRequest.ts b/src/typings/balancePlatform/balanceAccountUpdateRequest.ts index 91662c7c7..800271cce 100644 --- a/src/typings/balancePlatform/balanceAccountUpdateRequest.ts +++ b/src/typings/balancePlatform/balanceAccountUpdateRequest.ts @@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccountUpdateRequest { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId"?: string; /** 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/card.ts b/src/typings/balancePlatform/card.ts index 72745c879..3fd874fc3 100644 --- a/src/typings/balancePlatform/card.ts +++ b/src/typings/balancePlatform/card.ts @@ -54,6 +54,10 @@ export class Card { * The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration. */ "threeDSecure"?: string; + /** + * Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**. > Reach out to your Adyen contact to determine the value relevant for your integration. + */ + "usage"?: string; static readonly discriminator: string | undefined = undefined; @@ -137,6 +141,12 @@ export class Card { "baseName": "threeDSecure", "type": "string", "format": "" + }, + { + "name": "usage", + "baseName": "usage", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/balancePlatform/cardInfo.ts b/src/typings/balancePlatform/cardInfo.ts index 9531d6d8e..6aec84221 100644 --- a/src/typings/balancePlatform/cardInfo.ts +++ b/src/typings/balancePlatform/cardInfo.ts @@ -36,6 +36,10 @@ export class CardInfo { * The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration. */ "threeDSecure"?: string; + /** + * Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**. > Reach out to your Adyen contact to determine the value relevant for your integration. + */ + "usage"?: string; static readonly discriminator: string | undefined = undefined; @@ -89,6 +93,12 @@ export class CardInfo { "baseName": "threeDSecure", "type": "string", "format": "" + }, + { + "name": "usage", + "baseName": "usage", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/balancePlatform/cardOrderItem.ts b/src/typings/balancePlatform/cardOrderItem.ts index fe05bcce8..3fceeaec5 100644 --- a/src/typings/balancePlatform/cardOrderItem.ts +++ b/src/typings/balancePlatform/cardOrderItem.ts @@ -21,7 +21,7 @@ export class CardOrderItem { */ "cardOrderItemId"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/balancePlatform/createSweepConfigurationV2.ts b/src/typings/balancePlatform/createSweepConfigurationV2.ts index af69ac418..5006ce693 100644 --- a/src/typings/balancePlatform/createSweepConfigurationV2.ts +++ b/src/typings/balancePlatform/createSweepConfigurationV2.ts @@ -180,6 +180,7 @@ export namespace CreateSweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/balancePlatform/models.ts b/src/typings/balancePlatform/models.ts index f0c40f5d8..763c9785c 100644 --- a/src/typings/balancePlatform/models.ts +++ b/src/typings/balancePlatform/models.ts @@ -6,6 +6,7 @@ export * from "./accountHolderUpdateRequest" export * from "./accountSupportingEntityCapability" export * from "./activeNetworkTokensRestriction" export * from "./additionalBankIdentification" +export * from "./additionalBankIdentificationRequirement" export * from "./address" export * from "./addressRequirement" export * from "./amount" diff --git a/src/typings/balancePlatform/networkToken.ts b/src/typings/balancePlatform/networkToken.ts index 7b8006a46..dcad14960 100644 --- a/src/typings/balancePlatform/networkToken.ts +++ b/src/typings/balancePlatform/networkToken.ts @@ -17,7 +17,7 @@ export class NetworkToken { */ "brandVariant"?: string; /** - * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2020-12-18T10:15:30+01:00**.. + * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2025-03-19T10:15:30+01:00**.. */ "creationDate"?: Date; "device"?: DeviceInfo | null; diff --git a/src/typings/balancePlatform/networkTokenActivationDataRequest.ts b/src/typings/balancePlatform/networkTokenActivationDataRequest.ts index b2547a5a0..400ee57a5 100644 --- a/src/typings/balancePlatform/networkTokenActivationDataRequest.ts +++ b/src/typings/balancePlatform/networkTokenActivationDataRequest.ts @@ -10,7 +10,7 @@ export class NetworkTokenActivationDataRequest { /** - * A block of data automatically generated by Adyen\'s SDK for network token provisioning. This `sdkInput` is required to create provisioning data for the network token. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) + * A block of data automatically generated by Adyen\'s SDK for network token provisioning. This `sdkOutput` is required to create provisioning data for the network token. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) */ "sdkOutput"?: string; diff --git a/src/typings/balancePlatform/networkTokenActivationDataResponse.ts b/src/typings/balancePlatform/networkTokenActivationDataResponse.ts index bc078ddcd..841f81b67 100644 --- a/src/typings/balancePlatform/networkTokenActivationDataResponse.ts +++ b/src/typings/balancePlatform/networkTokenActivationDataResponse.ts @@ -10,7 +10,7 @@ export class NetworkTokenActivationDataResponse { /** - * A block of data automatically generated by Adyen\'s SDK for network token provisioning. This `sdkInput` is required to create provisioning data for the network token. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) + * A block of data that contains the activation data for a network token. This `sdkInput` is required to initialize Adyen\'s SDK for network token provisioning. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) */ "sdkInput"?: string; diff --git a/src/typings/balancePlatform/objectSerializer.ts b/src/typings/balancePlatform/objectSerializer.ts index fa2dc46bd..71e4d5917 100644 --- a/src/typings/balancePlatform/objectSerializer.ts +++ b/src/typings/balancePlatform/objectSerializer.ts @@ -8,6 +8,7 @@ import { AccountHolderUpdateRequest } from "./accountHolderUpdateRequest"; import { AccountSupportingEntityCapability } from "./accountSupportingEntityCapability"; import { ActiveNetworkTokensRestriction } from "./activeNetworkTokensRestriction"; import { AdditionalBankIdentification } from "./additionalBankIdentification"; +import { AdditionalBankIdentificationRequirement } from "./additionalBankIdentificationRequirement"; import { Address } from "./address"; import { AddressRequirement } from "./addressRequirement"; import { Amount } from "./amount"; @@ -205,6 +206,8 @@ let enumsMap: Set = new Set([ "AccountSupportingEntityCapability.RequestedLevelEnum", "AccountSupportingEntityCapability.VerificationStatusEnum", "AdditionalBankIdentification.TypeEnum", + "AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum", + "AdditionalBankIdentificationRequirement.TypeEnum", "AddressRequirement.RequiredAddressFieldsEnum", "AddressRequirement.TypeEnum", "AmountMinMaxRequirement.TypeEnum", @@ -306,8 +309,9 @@ let enumsMap: Set = new Set([ "TransferRoute.PriorityEnum", "TransferRouteRequest.CategoryEnum", "TransferRouteRequest.PrioritiesEnum", - "TransferRouteRequirementsInner.RequiredAddressFieldsEnum", + "TransferRouteRequirementsInner.AdditionalBankIdentificationTypeEnum", "TransferRouteRequirementsInner.TypeEnum", + "TransferRouteRequirementsInner.RequiredAddressFieldsEnum", "TransferRouteRequirementsInner.BankAccountIdentificationTypesEnum", "TransferRouteRequirementsInner.PaymentInstrumentTypeEnum", "UKLocalAccountIdentification.TypeEnum", @@ -341,6 +345,7 @@ let typeMap: {[index: string]: any} = { "AccountSupportingEntityCapability": AccountSupportingEntityCapability, "ActiveNetworkTokensRestriction": ActiveNetworkTokensRestriction, "AdditionalBankIdentification": AdditionalBankIdentification, + "AdditionalBankIdentificationRequirement": AdditionalBankIdentificationRequirement, "Address": Address, "AddressRequirement": AddressRequirement, "Amount": Amount, diff --git a/src/typings/balancePlatform/sweepConfigurationV2.ts b/src/typings/balancePlatform/sweepConfigurationV2.ts index f6e6903c0..d3dd16c85 100644 --- a/src/typings/balancePlatform/sweepConfigurationV2.ts +++ b/src/typings/balancePlatform/sweepConfigurationV2.ts @@ -190,6 +190,7 @@ export namespace SweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/balancePlatform/transactionRule.ts b/src/typings/balancePlatform/transactionRule.ts index 8de46cb38..5a535a747 100644 --- a/src/typings/balancePlatform/transactionRule.ts +++ b/src/typings/balancePlatform/transactionRule.ts @@ -22,7 +22,7 @@ export class TransactionRule { */ "description": string; /** - * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. */ "endDate"?: string; "entityKey": TransactionRuleEntityKey; @@ -49,7 +49,7 @@ export class TransactionRule { */ "score"?: number; /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. */ "startDate"?: string; /** diff --git a/src/typings/balancePlatform/transactionRuleInfo.ts b/src/typings/balancePlatform/transactionRuleInfo.ts index b252ee194..144426e2c 100644 --- a/src/typings/balancePlatform/transactionRuleInfo.ts +++ b/src/typings/balancePlatform/transactionRuleInfo.ts @@ -22,7 +22,7 @@ export class TransactionRuleInfo { */ "description": string; /** - * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. */ "endDate"?: string; "entityKey": TransactionRuleEntityKey; @@ -45,7 +45,7 @@ export class TransactionRuleInfo { */ "score"?: number; /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. */ "startDate"?: string; /** diff --git a/src/typings/balancePlatform/transferRouteRequirementsInner.ts b/src/typings/balancePlatform/transferRouteRequirementsInner.ts index d347f2e19..cd36ed1c1 100644 --- a/src/typings/balancePlatform/transferRouteRequirementsInner.ts +++ b/src/typings/balancePlatform/transferRouteRequirementsInner.ts @@ -7,6 +7,7 @@ * Do not edit this class manually. */ +import { AdditionalBankIdentificationRequirement } from "./additionalBankIdentificationRequirement"; import { AddressRequirement } from "./addressRequirement"; import { AmountMinMaxRequirement } from "./amountMinMaxRequirement"; import { AmountNonZeroDecimalsRequirement } from "./amountNonZeroDecimalsRequirement"; @@ -22,7 +23,7 @@ import { USInternationalAchAddressRequirement } from "./uSInternationalAchAddres * Type * @export */ -export type TransferRouteRequirementsInner = AddressRequirement | AmountMinMaxRequirement | AmountNonZeroDecimalsRequirement | BankAccountIdentificationTypeRequirement | IbanAccountIdentificationRequirement | PaymentInstrumentRequirement | USInstantPayoutAddressRequirement | USInternationalAchAddressRequirement; +export type TransferRouteRequirementsInner = AdditionalBankIdentificationRequirement | AddressRequirement | AmountMinMaxRequirement | AmountNonZeroDecimalsRequirement | BankAccountIdentificationTypeRequirement | IbanAccountIdentificationRequirement | PaymentInstrumentRequirement | USInstantPayoutAddressRequirement | USInternationalAchAddressRequirement; /** * @type TransferRouteRequirementsInnerClass diff --git a/src/typings/balancePlatform/updateSweepConfigurationV2.ts b/src/typings/balancePlatform/updateSweepConfigurationV2.ts index 5e6295584..6b3a2b9f8 100644 --- a/src/typings/balancePlatform/updateSweepConfigurationV2.ts +++ b/src/typings/balancePlatform/updateSweepConfigurationV2.ts @@ -190,6 +190,7 @@ export namespace UpdateSweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/balanceWebhooks/balanceNotificationData.ts b/src/typings/balanceWebhooks/balanceNotificationData.ts index 85783fa41..833509870 100644 --- a/src/typings/balanceWebhooks/balanceNotificationData.ts +++ b/src/typings/balanceWebhooks/balanceNotificationData.ts @@ -21,11 +21,11 @@ export class BalanceNotificationData { "balancePlatform"?: string; "balances": Balances; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** - * TThe three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). */ "currency": string; /** diff --git a/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts b/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts index 18122d640..dedda166e 100644 --- a/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/configurationWebhooks/balanceAccount.ts b/src/typings/configurationWebhooks/balanceAccount.ts index e03981ec4..b4558fe00 100644 --- a/src/typings/configurationWebhooks/balanceAccount.ts +++ b/src/typings/configurationWebhooks/balanceAccount.ts @@ -13,7 +13,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccount { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts b/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts index 7f66baeac..76850348a 100644 --- a/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/configurationWebhooks/card.ts b/src/typings/configurationWebhooks/card.ts index 72745c879..3fd874fc3 100644 --- a/src/typings/configurationWebhooks/card.ts +++ b/src/typings/configurationWebhooks/card.ts @@ -54,6 +54,10 @@ export class Card { * The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration. */ "threeDSecure"?: string; + /** + * Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**. > Reach out to your Adyen contact to determine the value relevant for your integration. + */ + "usage"?: string; static readonly discriminator: string | undefined = undefined; @@ -137,6 +141,12 @@ export class Card { "baseName": "threeDSecure", "type": "string", "format": "" + }, + { + "name": "usage", + "baseName": "usage", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/configurationWebhooks/cardOrderItem.ts b/src/typings/configurationWebhooks/cardOrderItem.ts index fe05bcce8..3fceeaec5 100644 --- a/src/typings/configurationWebhooks/cardOrderItem.ts +++ b/src/typings/configurationWebhooks/cardOrderItem.ts @@ -21,7 +21,7 @@ export class CardOrderItem { */ "cardOrderItemId"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/configurationWebhooks/models.ts b/src/typings/configurationWebhooks/models.ts index 605665c0a..7b9712252 100644 --- a/src/typings/configurationWebhooks/models.ts +++ b/src/typings/configurationWebhooks/models.ts @@ -32,6 +32,10 @@ export * from "./name" export * from "./networkTokenNotificationDataV2" export * from "./networkTokenNotificationRequest" export * from "./networkTokenRequestor" +export * from "./networkTokenRiskRuleData" +export * from "./networkTokenRiskRuleSource" +export * from "./networkTokenTransactionRulesResult" +export * from "./networkTokenTriggeredRiskRule" export * from "./paymentInstrument" export * from "./paymentInstrumentAdditionalBankAccountIdentificationsInner" export * from "./paymentInstrumentNotificationData" diff --git a/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts b/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts index d3b8d75df..9161c3564 100644 --- a/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts +++ b/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts @@ -8,6 +8,7 @@ */ import { NetworkTokenRequestor } from "./networkTokenRequestor"; +import { NetworkTokenTransactionRulesResult } from "./networkTokenTransactionRulesResult"; import { TokenAuthentication } from "./tokenAuthentication"; import { ValidationFacts } from "./validationFacts"; import { Wallet } from "./wallet"; @@ -44,8 +45,9 @@ export class NetworkTokenNotificationDataV2 { */ "tokenLastFour"?: string; "tokenRequestor"?: NetworkTokenRequestor | null; + "transactionRulesResult"?: NetworkTokenTransactionRulesResult | null; /** - * The type of network token. + * The type of network token. Possible values: **wallet**, **cof**. */ "type"?: string; /** @@ -113,6 +115,12 @@ export class NetworkTokenNotificationDataV2 { "type": "NetworkTokenRequestor | null", "format": "" }, + { + "name": "transactionRulesResult", + "baseName": "transactionRulesResult", + "type": "NetworkTokenTransactionRulesResult | null", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/configurationWebhooks/networkTokenRequestor.ts b/src/typings/configurationWebhooks/networkTokenRequestor.ts index 5abbd5260..a07c4b881 100644 --- a/src/typings/configurationWebhooks/networkTokenRequestor.ts +++ b/src/typings/configurationWebhooks/networkTokenRequestor.ts @@ -10,7 +10,7 @@ export class NetworkTokenRequestor { /** - * The id of the network token requestor. + * The unique identifier of the network token requestor. */ "id"?: string; /** diff --git a/src/typings/configurationWebhooks/networkTokenRiskRuleData.ts b/src/typings/configurationWebhooks/networkTokenRiskRuleData.ts new file mode 100644 index 000000000..45f925161 --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenRiskRuleData.ts @@ -0,0 +1,76 @@ +/* + * 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 NetworkTokenRiskRuleData { + /** + * The description of the transaction rule. + */ + "description"?: string; + /** + * The unique identifier of the transaction rule. + */ + "id"?: string; + /** + * The outcome type of the transaction rule. + */ + "outcomeType"?: string; + /** + * The reference for the transaction rule. + */ + "reference"?: string; + /** + * The transaction score determined by the rule. + */ + "score"?: 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": "description", + "baseName": "description", + "type": "string", + "format": "" + }, + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "outcomeType", + "baseName": "outcomeType", + "type": "string", + "format": "" + }, + { + "name": "reference", + "baseName": "reference", + "type": "string", + "format": "" + }, + { + "name": "score", + "baseName": "score", + "type": "number", + "format": "int32" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenRiskRuleData.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/networkTokenRiskRuleSource.ts b/src/typings/configurationWebhooks/networkTokenRiskRuleSource.ts new file mode 100644 index 000000000..041aacaee --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenRiskRuleSource.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 NetworkTokenRiskRuleSource { + /** + * The unique identifier of the resource to which the transaction rule applies. + */ + "id"?: string; + /** + * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. + */ + "type"?: 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": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenRiskRuleSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts b/src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts new file mode 100644 index 000000000..552ef8e26 --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts @@ -0,0 +1,68 @@ +/* + * 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 { NetworkTokenTriggeredRiskRule } from "./networkTokenTriggeredRiskRule"; + + +export class NetworkTokenTransactionRulesResult { + /** + * The advice given by the Risk analysis. + */ + "advice"?: string; + /** + * Indicates whether the transaction passed all rules with `outcomeType` **hardBlock**. + */ + "allHardBlockRulesPassed"?: boolean; + /** + * The score of the Risk analysis. + */ + "score"?: number; + /** + * Contains a list of all triggered transaction rules and the corresponding data. + */ + "triggeredTransactionRules"?: 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": "advice", + "baseName": "advice", + "type": "string", + "format": "" + }, + { + "name": "allHardBlockRulesPassed", + "baseName": "allHardBlockRulesPassed", + "type": "boolean", + "format": "" + }, + { + "name": "score", + "baseName": "score", + "type": "number", + "format": "int32" + }, + { + "name": "triggeredTransactionRules", + "baseName": "triggeredTransactionRules", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenTransactionRulesResult.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.ts b/src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.ts new file mode 100644 index 000000000..a0558336a --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.ts @@ -0,0 +1,53 @@ +/* + * 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 { NetworkTokenRiskRuleData } from "./networkTokenRiskRuleData"; +import { NetworkTokenRiskRuleSource } from "./networkTokenRiskRuleSource"; + + +export class NetworkTokenTriggeredRiskRule { + /** + * Explains why the transaction rule failed. + */ + "reason"?: string; + "transactionRule"?: NetworkTokenRiskRuleData | null; + "transactionRuleSource"?: NetworkTokenRiskRuleSource | 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": "reason", + "baseName": "reason", + "type": "string", + "format": "" + }, + { + "name": "transactionRule", + "baseName": "transactionRule", + "type": "NetworkTokenRiskRuleData | null", + "format": "" + }, + { + "name": "transactionRuleSource", + "baseName": "transactionRuleSource", + "type": "NetworkTokenRiskRuleSource | null", + "format": "" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenTriggeredRiskRule.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/objectSerializer.ts b/src/typings/configurationWebhooks/objectSerializer.ts index 034b7bb05..a552a697d 100644 --- a/src/typings/configurationWebhooks/objectSerializer.ts +++ b/src/typings/configurationWebhooks/objectSerializer.ts @@ -34,6 +34,10 @@ import { Name } from "./name"; import { NetworkTokenNotificationDataV2 } from "./networkTokenNotificationDataV2"; import { NetworkTokenNotificationRequest } from "./networkTokenNotificationRequest"; import { NetworkTokenRequestor } from "./networkTokenRequestor"; +import { NetworkTokenRiskRuleData } from "./networkTokenRiskRuleData"; +import { NetworkTokenRiskRuleSource } from "./networkTokenRiskRuleSource"; +import { NetworkTokenTransactionRulesResult } from "./networkTokenTransactionRulesResult"; +import { NetworkTokenTriggeredRiskRule } from "./networkTokenTriggeredRiskRule"; import { PaymentInstrument } from "./paymentInstrument"; import { PaymentInstrumentAdditionalBankAccountIdentificationsInnerClass } from "./paymentInstrumentAdditionalBankAccountIdentificationsInner"; import { PaymentInstrumentNotificationData } from "./paymentInstrumentNotificationData"; @@ -145,6 +149,10 @@ let typeMap: {[index: string]: any} = { "NetworkTokenNotificationDataV2": NetworkTokenNotificationDataV2, "NetworkTokenNotificationRequest": NetworkTokenNotificationRequest, "NetworkTokenRequestor": NetworkTokenRequestor, + "NetworkTokenRiskRuleData": NetworkTokenRiskRuleData, + "NetworkTokenRiskRuleSource": NetworkTokenRiskRuleSource, + "NetworkTokenTransactionRulesResult": NetworkTokenTransactionRulesResult, + "NetworkTokenTriggeredRiskRule": NetworkTokenTriggeredRiskRule, "PaymentInstrument": PaymentInstrument, "PaymentInstrumentAdditionalBankAccountIdentificationsInner": PaymentInstrumentAdditionalBankAccountIdentificationsInnerClass, "PaymentInstrumentNotificationData": PaymentInstrumentNotificationData, diff --git a/src/typings/configurationWebhooks/resource.ts b/src/typings/configurationWebhooks/resource.ts index c2649f92f..a9831dabb 100644 --- a/src/typings/configurationWebhooks/resource.ts +++ b/src/typings/configurationWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/configurationWebhooks/sweepConfigurationV2.ts b/src/typings/configurationWebhooks/sweepConfigurationV2.ts index f6e6903c0..d3dd16c85 100644 --- a/src/typings/configurationWebhooks/sweepConfigurationV2.ts +++ b/src/typings/configurationWebhooks/sweepConfigurationV2.ts @@ -190,6 +190,7 @@ export namespace SweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/legalEntityManagement/address.ts b/src/typings/legalEntityManagement/address.ts index 985fcf08c..235592230 100644 --- a/src/typings/legalEntityManagement/address.ts +++ b/src/typings/legalEntityManagement/address.ts @@ -22,7 +22,7 @@ export class Address { */ "postalCode"?: string; /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. Required for Australia and New Zealand. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. */ "stateOrProvince"?: string; /** diff --git a/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts b/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts index 0fe4440e7..c61d5c0a2 100644 --- a/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts +++ b/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts @@ -19,7 +19,7 @@ export class NegativeBalanceCompensationWarningNotificationData { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/negativeBalanceWarningWebhooks/resource.ts b/src/typings/negativeBalanceWarningWebhooks/resource.ts index f45de4906..10876b6a6 100644 --- a/src/typings/negativeBalanceWarningWebhooks/resource.ts +++ b/src/typings/negativeBalanceWarningWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts b/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts index 18122d640..dedda166e 100644 --- a/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/reportWebhooks/reportNotificationData.ts b/src/typings/reportWebhooks/reportNotificationData.ts index bd9cfde78..e7ffb7eba 100644 --- a/src/typings/reportWebhooks/reportNotificationData.ts +++ b/src/typings/reportWebhooks/reportNotificationData.ts @@ -18,7 +18,7 @@ export class ReportNotificationData { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/reportWebhooks/resource.ts b/src/typings/reportWebhooks/resource.ts index f45de4906..10876b6a6 100644 --- a/src/typings/reportWebhooks/resource.ts +++ b/src/typings/reportWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** 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/transactionWebhooks/balancePlatformNotificationResponse.ts b/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts index cdc77073e..20fbaeb4f 100644 --- a/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/transactionWebhooks/resource.ts b/src/typings/transactionWebhooks/resource.ts index b96700779..19ff17ecf 100644 --- a/src/typings/transactionWebhooks/resource.ts +++ b/src/typings/transactionWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transactionWebhooks/transaction.ts b/src/typings/transactionWebhooks/transaction.ts index 23cb7d6dd..042c4ce66 100644 --- a/src/typings/transactionWebhooks/transaction.ts +++ b/src/typings/transactionWebhooks/transaction.ts @@ -26,7 +26,7 @@ export class Transaction { */ "bookingDate": Date; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts b/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts index cdc77073e..20fbaeb4f 100644 --- a/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/transferWebhooks/partyIdentification.ts b/src/typings/transferWebhooks/partyIdentification.ts index e874d6a3d..37f7bae9c 100644 --- a/src/typings/transferWebhooks/partyIdentification.ts +++ b/src/typings/transferWebhooks/partyIdentification.ts @@ -17,6 +17,10 @@ export class PartyIdentification { */ "dateOfBirth"?: string; /** + * The email address of the organization or individual. Maximum length: 254 characters. + */ + "email"?: string; + /** * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. */ "firstName"?: string; @@ -36,6 +40,10 @@ export class PartyIdentification { * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. */ "type"?: PartyIdentification.TypeEnum; + /** + * The URL of the organization or individual. Maximum length: 255 characters. + */ + "url"?: string; static readonly discriminator: string | undefined = undefined; @@ -54,6 +62,12 @@ export class PartyIdentification { "type": "string", "format": "date" }, + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, { "name": "firstName", "baseName": "firstName", @@ -83,6 +97,12 @@ export class PartyIdentification { "baseName": "type", "type": "PartyIdentification.TypeEnum", "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/transferWebhooks/resource.ts b/src/typings/transferWebhooks/resource.ts index b96700779..19ff17ecf 100644 --- a/src/typings/transferWebhooks/resource.ts +++ b/src/typings/transferWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transferWebhooks/transactionRuleReference.ts b/src/typings/transferWebhooks/transactionRuleReference.ts index 3614ed8ed..a4625f681 100644 --- a/src/typings/transferWebhooks/transactionRuleReference.ts +++ b/src/typings/transferWebhooks/transactionRuleReference.ts @@ -26,7 +26,7 @@ export class TransactionRuleReference { */ "reference"?: string; /** - * The score of the rule in case it\'s a scoreBased rule. + * The transaction score determined by the rule. Returned only when `outcomeType` is **scoreBased**. */ "score"?: number; diff --git a/src/typings/transferWebhooks/transferData.ts b/src/typings/transferWebhooks/transferData.ts index 83cbc0331..34b955023 100644 --- a/src/typings/transferWebhooks/transferData.ts +++ b/src/typings/transferWebhooks/transferData.ts @@ -311,6 +311,7 @@ export namespace TransferData { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transferWebhooks/transferDataTracking.ts b/src/typings/transferWebhooks/transferDataTracking.ts index e2e22ae77..336ee1789 100644 --- a/src/typings/transferWebhooks/transferDataTracking.ts +++ b/src/typings/transferWebhooks/transferDataTracking.ts @@ -30,12 +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", - }; - -} \ No newline at end of file + static readonly mapping: {[index: string]: string} | undefined = undefined; +} diff --git a/src/typings/transferWebhooks/transferEvent.ts b/src/typings/transferWebhooks/transferEvent.ts index 55302e06f..6a15b1023 100644 --- a/src/typings/transferWebhooks/transferEvent.ts +++ b/src/typings/transferWebhooks/transferEvent.ts @@ -201,6 +201,7 @@ export namespace TransferEvent { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/partyIdentification.ts b/src/typings/transfers/partyIdentification.ts index e874d6a3d..37f7bae9c 100644 --- a/src/typings/transfers/partyIdentification.ts +++ b/src/typings/transfers/partyIdentification.ts @@ -17,6 +17,10 @@ export class PartyIdentification { */ "dateOfBirth"?: string; /** + * The email address of the organization or individual. Maximum length: 254 characters. + */ + "email"?: string; + /** * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. */ "firstName"?: string; @@ -36,6 +40,10 @@ export class PartyIdentification { * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. */ "type"?: PartyIdentification.TypeEnum; + /** + * The URL of the organization or individual. Maximum length: 255 characters. + */ + "url"?: string; static readonly discriminator: string | undefined = undefined; @@ -54,6 +62,12 @@ export class PartyIdentification { "type": "string", "format": "date" }, + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, { "name": "firstName", "baseName": "firstName", @@ -83,6 +97,12 @@ export class PartyIdentification { "baseName": "type", "type": "PartyIdentification.TypeEnum", "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/transfers/transaction.ts b/src/typings/transfers/transaction.ts index 23cb7d6dd..042c4ce66 100644 --- a/src/typings/transfers/transaction.ts +++ b/src/typings/transfers/transaction.ts @@ -26,7 +26,7 @@ export class Transaction { */ "bookingDate": Date; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transfers/transactionRuleReference.ts b/src/typings/transfers/transactionRuleReference.ts index 3614ed8ed..a4625f681 100644 --- a/src/typings/transfers/transactionRuleReference.ts +++ b/src/typings/transfers/transactionRuleReference.ts @@ -26,7 +26,7 @@ export class TransactionRuleReference { */ "reference"?: string; /** - * The score of the rule in case it\'s a scoreBased rule. + * The transaction score determined by the rule. Returned only when `outcomeType` is **scoreBased**. */ "score"?: number; diff --git a/src/typings/transfers/transfer.ts b/src/typings/transfers/transfer.ts index 91d7b7c8f..9eb6ef1c6 100644 --- a/src/typings/transfers/transfer.ts +++ b/src/typings/transfers/transfer.ts @@ -225,6 +225,7 @@ export namespace Transfer { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/transferData.ts b/src/typings/transfers/transferData.ts index f39dace5e..df4ca7130 100644 --- a/src/typings/transfers/transferData.ts +++ b/src/typings/transfers/transferData.ts @@ -311,6 +311,7 @@ export namespace TransferData { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/transferEvent.ts b/src/typings/transfers/transferEvent.ts index 55302e06f..6a15b1023 100644 --- a/src/typings/transfers/transferEvent.ts +++ b/src/typings/transfers/transferEvent.ts @@ -201,6 +201,7 @@ export namespace TransferEvent { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/ultimatePartyIdentification.ts b/src/typings/transfers/ultimatePartyIdentification.ts index 5844416f4..c1b288ba4 100644 --- a/src/typings/transfers/ultimatePartyIdentification.ts +++ b/src/typings/transfers/ultimatePartyIdentification.ts @@ -17,6 +17,10 @@ export class UltimatePartyIdentification { */ "dateOfBirth"?: string; /** + * The email address of the organization or individual. Maximum length: 254 characters. + */ + "email"?: string; + /** * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. */ "firstName"?: string; @@ -36,6 +40,10 @@ export class UltimatePartyIdentification { * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. */ "type"?: UltimatePartyIdentification.TypeEnum; + /** + * The URL of the organization or individual. Maximum length: 255 characters. + */ + "url"?: string; static readonly discriminator: string | undefined = undefined; @@ -54,6 +62,12 @@ export class UltimatePartyIdentification { "type": "string", "format": "date" }, + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, { "name": "firstName", "baseName": "firstName", @@ -83,6 +97,12 @@ export class UltimatePartyIdentification { "baseName": "type", "type": "UltimatePartyIdentification.TypeEnum", "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { From fddb4f97caf3f827dbaac6c15828fe571f9cae42 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot Date: Wed, 30 Jul 2025 14:58:44 +0000 Subject: [PATCH 4/5] 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/transactionRulesApi.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 | 1 - 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 - 80 files changed, 3 insertions(+), 85 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/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/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 b4f2d67b9..7c640358e 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 3346188d7..8fe53856d 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 c89721842..fd3210c08 100644 --- a/src/services/checkout/utilityApi.ts +++ b/src/services/checkout/utilityApi.ts @@ -19,7 +19,6 @@ import { ApplePaySessionRequest } from "../../typings/checkout/models"; import { ApplePaySessionResponse } 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"; 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 c62287ced..fb9a9e5cf 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 024c56e59..064290fb7 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 bcb8f1692..ad88a1e84 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 d16db573d..9948a00e2 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 ea2ab2147..04df88f5b 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 3d12db666..55d2fa4b0 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 7d01ceafb..bb9e5078b 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 be91d5616..bb67e4173 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 b17e41b32..0675dfaf0 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 0386b95ff..3e3b48134 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 { From c55cadacde0237f5b48b316b561dca8f8bdcf31b Mon Sep 17 00:00:00 2001 From: Ayodeji Ogundare <63319309+ayodejidev@users.noreply.github.com> Date: Wed, 30 Jul 2025 17:11:45 +0200 Subject: [PATCH 5/5] Revert TransferDataTrackingClass changes --- src/typings/transferWebhooks/transferDataTracking.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/typings/transferWebhooks/transferDataTracking.ts b/src/typings/transferWebhooks/transferDataTracking.ts index 336ee1789..3d942bc34 100644 --- a/src/typings/transferWebhooks/transferDataTracking.ts +++ b/src/typings/transferWebhooks/transferDataTracking.ts @@ -30,7 +30,11 @@ export type TransferDataTracking = ConfirmationTrackingData | EstimationTracking */ export class TransferDataTrackingClass { - static readonly discriminator: string = "type"; + static readonly discriminator: string | undefined = "type"; - static readonly mapping: {[index: string]: string} | undefined = undefined; + static readonly mapping: {[index: string]: string} | undefined = { + "confirmation": "ConfirmationTrackingData", + "estimation": "EstimationTrackingData", + "internalReview": "InternalReviewTrackingData" + }; }