From 9c10bb9d306258eb8f1d1e0fe014b37c98d4e2d9 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Fri, 18 Jul 2025 09:31:15 +0000 Subject: [PATCH 1/2] [reformat][adyen-sdk-automation] automated change --- 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 + .../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 + .../legalEntityManagement/hostedOnboardingApi.ts | 1 + src/services/legalEntityManagement/legalEntitiesApi.ts | 1 + .../legalEntityManagement/pCIQuestionnairesApi.ts | 1 + .../legalEntityManagement/taxEDeliveryConsentApi.ts | 1 + src/services/legalEntityManagement/termsOfServiceApi.ts | 1 + .../legalEntityManagement/transferInstrumentsApi.ts | 1 + src/services/management/aPICredentialsCompanyLevelApi.ts | 1 + .../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 + .../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 + .../management/paymentMethodsMerchantLevelApi.ts | 1 + .../management/payoutSettingsMerchantLevelApi.ts | 1 + .../management/splitConfigurationMerchantLevelApi.ts | 1 + .../management/terminalActionsCompanyLevelApi.ts | 1 + .../management/terminalActionsTerminalLevelApi.ts | 1 + src/services/management/terminalOrdersCompanyLevelApi.ts | 1 + .../management/terminalOrdersMerchantLevelApi.ts | 1 + .../management/terminalSettingsCompanyLevelApi.ts | 1 + .../management/terminalSettingsMerchantLevelApi.ts | 1 + src/services/management/terminalSettingsStoreLevelApi.ts | 1 + .../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/legalEntityManagement/attachment.ts | 2 +- .../sessionAuthentication/accountHolderResource.ts | 1 + .../sessionAuthentication/balanceAccountResource.ts | 1 + src/typings/sessionAuthentication/legalEntityResource.ts | 1 + .../sessionAuthentication/merchantAccountResource.ts | 1 + .../sessionAuthentication/paymentInstrumentResource.ts | 1 + src/typings/transferWebhooks/transferDataTracking.ts | 9 ++------- 82 files changed, 88 insertions(+), 11 deletions(-) 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..068d305bd 100644 --- a/src/services/balancePlatform/paymentInstrumentsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentsApi.ts @@ -24,6 +24,7 @@ import { PaymentInstrumentRevealInfo } from "../../typings/balancePlatform/model import { PaymentInstrumentRevealRequest } from "../../typings/balancePlatform/models"; import { PaymentInstrumentRevealResponse } from "../../typings/balancePlatform/models"; import { PaymentInstrumentUpdateRequest } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; import { UpdatePaymentInstrument } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/platformApi.ts b/src/services/balancePlatform/platformApi.ts index bf068a966..1a0a04c7c 100644 --- a/src/services/balancePlatform/platformApi.ts +++ b/src/services/balancePlatform/platformApi.ts @@ -17,6 +17,7 @@ import Resource from "../resource"; import { ObjectSerializer } from "../../typings/balancePlatform/objectSerializer"; import { BalancePlatform } from "../../typings/balancePlatform/models"; import { PaginatedAccountHoldersResponse } from "../../typings/balancePlatform/models"; +import { RestServiceError } from "../../typings/balancePlatform/models"; import { TransactionRulesResponse } from "../../typings/balancePlatform/models"; /** diff --git a/src/services/balancePlatform/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..fb5b306f4 100644 --- a/src/services/transfers/transactionsApi.ts +++ b/src/services/transfers/transactionsApi.ts @@ -15,6 +15,7 @@ import { IRequest } from "../../typings/requestOptions"; import Resource from "../resource"; import { ObjectSerializer } from "../../typings/transfers/objectSerializer"; +import { RestServiceError } from "../../typings/transfers/models"; import { Transaction } from "../../typings/transfers/models"; import { TransactionSearchResponse } from "../../typings/transfers/models"; @@ -45,7 +46,7 @@ export class TransactionsApi extends Service { * @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page. * @return {@link TransactionSearchResponse } */ - public async getAllTransactions(createdSince: Date, createdUntil: Date, balancePlatform?: string, paymentInstrumentId?: string, accountHolderId?: string, balanceAccountId?: string, cursor?: string, sortOrder?: "asc" | "desc", limit?: number, requestOptions?: IRequest.Options): Promise { + public async getAllTransactions(createdSince: Date, createdUntil: Date, balancePlatform?: string, paymentInstrumentId?: string, accountHolderId?: string, balanceAccountId?: string, cursor?: string, sortOrder?: 'asc' | 'desc', limit?: number, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/transactions`; const resource = new Resource(this, endpoint); diff --git a/src/services/transfers/transfersApi.ts b/src/services/transfers/transfersApi.ts index e1afa1b75..3451d76ee 100644 --- a/src/services/transfers/transfersApi.ts +++ b/src/services/transfers/transfersApi.ts @@ -20,9 +20,11 @@ import { CancelTransfersRequest } from "../../typings/transfers/models"; import { FindTransfersResponse } from "../../typings/transfers/models"; import { ReturnTransferRequest } from "../../typings/transfers/models"; import { ReturnTransferResponse } from "../../typings/transfers/models"; +import { ServiceError } from "../../typings/transfers/models"; import { Transfer } from "../../typings/transfers/models"; import { TransferData } from "../../typings/transfers/models"; import { TransferInfo } from "../../typings/transfers/models"; +import { TransferServiceRestServiceError } from "../../typings/transfers/models"; /** * API handler for TransfersApi @@ -89,7 +91,7 @@ export class TransfersApi extends Service { * @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page. * @return {@link FindTransfersResponse } */ - public async getAllTransfers(createdSince: Date, createdUntil: Date, balancePlatform?: string, accountHolderId?: string, balanceAccountId?: string, paymentInstrumentId?: string, reference?: string, category?: "bank" | "card" | "grants" | "interest" | "internal" | "issuedCard" | "migration" | "platformPayment" | "topUp" | "upgrade", sortOrder?: "asc" | "desc", cursor?: string, limit?: number, requestOptions?: IRequest.Options): Promise { + public async getAllTransfers(createdSince: Date, createdUntil: Date, balancePlatform?: string, accountHolderId?: string, balanceAccountId?: string, paymentInstrumentId?: string, reference?: string, category?: 'bank' | 'card' | 'grants' | 'interest' | 'internal' | 'issuedCard' | 'migration' | 'platformPayment' | 'topUp' | 'upgrade', sortOrder?: 'asc' | 'desc', cursor?: string, limit?: number, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/transfers`; const resource = new Resource(this, endpoint); diff --git a/src/typings/balancePlatform/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/legalEntityManagement/attachment.ts b/src/typings/legalEntityManagement/attachment.ts index 3d81ff864..5e4bd931d 100644 --- a/src/typings/legalEntityManagement/attachment.ts +++ b/src/typings/legalEntityManagement/attachment.ts @@ -30,7 +30,7 @@ export class Attachment { */ "pageName"?: string; /** - * Specifies which side of the ID card is uploaded. * When `type` is **driversLicense** or **identityCard**, set this to **front** or **back**. * When omitted, we infer the page number based on the order of attachments. + * Specifies which side of the ID card is uploaded. * If the `type` is **driversLicense** or **identityCard**, you must set this to **front** or **back**. * For any other types, when this is omitted, we infer the page number based on the order of attachments. */ "pageType"?: string; diff --git a/src/typings/sessionAuthentication/accountHolderResource.ts b/src/typings/sessionAuthentication/accountHolderResource.ts index 0e4256382..b52df18d8 100644 --- a/src/typings/sessionAuthentication/accountHolderResource.ts +++ b/src/typings/sessionAuthentication/accountHolderResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class AccountHolderResource extends Resource { diff --git a/src/typings/sessionAuthentication/balanceAccountResource.ts b/src/typings/sessionAuthentication/balanceAccountResource.ts index ed6c1231e..6408e0ac3 100644 --- a/src/typings/sessionAuthentication/balanceAccountResource.ts +++ b/src/typings/sessionAuthentication/balanceAccountResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class BalanceAccountResource extends Resource { diff --git a/src/typings/sessionAuthentication/legalEntityResource.ts b/src/typings/sessionAuthentication/legalEntityResource.ts index c4851e41c..7504b4f43 100644 --- a/src/typings/sessionAuthentication/legalEntityResource.ts +++ b/src/typings/sessionAuthentication/legalEntityResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class LegalEntityResource extends Resource { diff --git a/src/typings/sessionAuthentication/merchantAccountResource.ts b/src/typings/sessionAuthentication/merchantAccountResource.ts index cfed80104..33790a1c1 100644 --- a/src/typings/sessionAuthentication/merchantAccountResource.ts +++ b/src/typings/sessionAuthentication/merchantAccountResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class MerchantAccountResource extends Resource { diff --git a/src/typings/sessionAuthentication/paymentInstrumentResource.ts b/src/typings/sessionAuthentication/paymentInstrumentResource.ts index 77be55c8d..ee8b5b658 100644 --- a/src/typings/sessionAuthentication/paymentInstrumentResource.ts +++ b/src/typings/sessionAuthentication/paymentInstrumentResource.ts @@ -8,6 +8,7 @@ */ import { Resource } from "./resource"; +import { ResourceType } from "./resourceType"; export class PaymentInstrumentResource extends Resource { diff --git a/src/typings/transferWebhooks/transferDataTracking.ts b/src/typings/transferWebhooks/transferDataTracking.ts index 5e520d893..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 mapping: {[index: string]: string} | undefined = { - "confirmation": "ConfirmationTrackingData", - "estimation": "EstimationTrackingData", - "internalReview": "InternalReviewTrackingData", - }; + static readonly discriminator: string = "type"; + static readonly mapping: {[index: string]: string} | undefined = undefined; } From 6ca3cc89cb201f72d216f8452c5700a3c7b8b8e3 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot Date: Fri, 18 Jul 2025 09:31:56 +0000 Subject: [PATCH 2/2] style(fmt): code formatted --- src/services/balancePlatform/accountHoldersApi.ts | 3 +-- src/services/balancePlatform/authorizedCardUsersApi.ts | 1 - src/services/balancePlatform/balanceAccountsApi.ts | 1 - src/services/balancePlatform/balancesApi.ts | 1 - src/services/balancePlatform/bankAccountValidationApi.ts | 1 - src/services/balancePlatform/cardOrdersApi.ts | 1 - src/services/balancePlatform/grantAccountsApi.ts | 1 - src/services/balancePlatform/grantOffersApi.ts | 1 - src/services/balancePlatform/manageCardPINApi.ts | 1 - src/services/balancePlatform/manageSCADevicesApi.ts | 1 - src/services/balancePlatform/networkTokensApi.ts | 1 - src/services/balancePlatform/paymentInstrumentGroupsApi.ts | 1 - src/services/balancePlatform/paymentInstrumentsApi.ts | 1 - src/services/balancePlatform/platformApi.ts | 1 - src/services/balancePlatform/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 068d305bd..0d5a078f1 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 fb5b306f4..6d176d378 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 3451d76ee..e1afa1b75 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 {