From 23976b32b6823429b5b9719b972e65f21ca580fb Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Thu, 8 Feb 2024 09:21:50 +0000 Subject: [PATCH 1/2] [reformat][adyen-sdk-automation] automated change --- .../balancePlatform/accountHoldersApi.ts | 3 +- .../balancePlatform/balanceAccountsApi.ts | 1 + .../bankAccountValidationApi.ts | 1 + src/services/balancePlatform/cardOrdersApi.ts | 1 + .../balancePlatform/grantAccountsApi.ts | 1 + .../balancePlatform/grantOffersApi.ts | 1 + .../balancePlatform/networkTokensApi.ts | 1 + .../balancePlatform/pINFunctionalityApi.ts | 1 + .../paymentInstrumentGroupsApi.ts | 1 + .../balancePlatform/paymentInstrumentsApi.ts | 1 + src/services/balancePlatform/platformApi.ts | 1 + .../balancePlatform/transactionRulesApi.ts | 3 +- .../balancePlatform/transferRoutesApi.ts | 3 +- src/services/binLookupApi.ts | 1 + .../checkout/classicCheckoutSDKApi.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/dataProtectionApi.ts | 1 + src/services/disputesApi.ts | 1 + .../legalEntityManagement/businessLinesApi.ts | 1 + .../legalEntityManagement/documentsApi.ts | 1 + .../hostedOnboardingApi.ts | 1 + .../legalEntityManagement/legalEntitiesApi.ts | 1 + .../pCIQuestionnairesApi.ts | 1 + .../termsOfServiceApi.ts | 1 + .../transferInstrumentsApi.ts | 3 +- .../aPICredentialsCompanyLevelApi.ts | 1 + .../aPICredentialsMerchantLevelApi.ts | 1 + .../management/aPIKeyCompanyLevelApi.ts | 1 + .../management/aPIKeyMerchantLevelApi.ts | 1 + .../management/accountCompanyLevelApi.ts | 1 + .../management/accountMerchantLevelApi.ts | 1 + .../management/accountStoreLevelApi.ts | 1 + .../allowedOriginsCompanyLevelApi.ts | 1 + .../allowedOriginsMerchantLevelApi.ts | 1 + .../management/androidFilesCompanyLevelApi.ts | 1 + .../management/clientKeyCompanyLevelApi.ts | 1 + .../management/clientKeyMerchantLevelApi.ts | 1 + src/services/management/myAPICredentialApi.ts | 1 + .../paymentMethodsMerchantLevelApi.ts | 1 + .../payoutSettingsMerchantLevelApi.ts | 1 + .../splitConfigurationMerchantLevelApi.ts | 3 +- .../terminalActionsCompanyLevelApi.ts | 1 + .../terminalActionsTerminalLevelApi.ts | 3 +- .../terminalOrdersCompanyLevelApi.ts | 1 + .../terminalOrdersMerchantLevelApi.ts | 1 + .../terminalSettingsCompanyLevelApi.ts | 1 + .../terminalSettingsMerchantLevelApi.ts | 1 + .../terminalSettingsStoreLevelApi.ts | 1 + .../terminalSettingsTerminalLevelApi.ts | 1 + .../management/terminalsTerminalLevelApi.ts | 1 + .../management/usersCompanyLevelApi.ts | 1 + .../management/usersMerchantLevelApi.ts | 1 + .../management/webhooksCompanyLevelApi.ts | 1 + .../management/webhooksMerchantLevelApi.ts | 1 + src/services/paymentApi.ts | 1 + src/services/payout/initializationApi.ts | 3 +- src/services/payout/instantPayoutsApi.ts | 1 + src/services/payout/reviewingApi.ts | 1 + src/services/recurringApi.ts | 1 + src/services/storedValueApi.ts | 1 + src/services/terminalManagementApi.ts | 1 + src/services/transfers/capitalApi.ts | 1 + src/services/transfers/transactionsApi.ts | 3 +- src/services/transfers/transfersApi.ts | 4 +- src/typings/checkout/balanceCheckRequest.ts | 2 +- .../checkout/createCheckoutSessionRequest.ts | 2 +- .../checkout/createCheckoutSessionResponse.ts | 2 +- src/typings/checkout/models.ts | 2 + src/typings/checkout/paymentMethodsRequest.ts | 2 +- src/typings/checkout/paymentRequest.ts | 2 +- src/typings/checkout/paymentSetupRequest.ts | 2 +- src/typings/checkout/threeDS2RequestData.ts | 14 ++++++ src/typings/checkout/threeDS2RequestFields.ts | 14 ++++++ src/typings/management/models.ts | 1 + src/typings/management/notification.ts | 44 ++++++++++++++++++- src/typings/management/store.ts | 2 +- .../management/updatePaymentMethodInfo.ts | 9 ++++ src/typings/management/updateStoreRequest.ts | 2 +- 83 files changed, 170 insertions(+), 18 deletions(-) diff --git a/src/services/balancePlatform/accountHoldersApi.ts b/src/services/balancePlatform/accountHoldersApi.ts index a6d0caf72..7da6a45d2 100644 --- a/src/services/balancePlatform/accountHoldersApi.ts +++ b/src/services/balancePlatform/accountHoldersApi.ts @@ -16,6 +16,7 @@ import { AccountHolderUpdateRequest, GetTaxFormResponse, PaginatedBalanceAccountsResponse, + RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; @@ -102,7 +103,7 @@ export class AccountHoldersApi extends Service { * @param year {@link number } The tax year in YYYY format for the tax form you want to retrieve * @return {@link GetTaxFormResponse } */ - public async getTaxForm(id: string, formType?: "US1099k" | "US1099nec", year?: number, requestOptions?: IRequest.Options): Promise { + public async getTaxForm(id: string, formType?: 'US1099k' | 'US1099nec', year?: number, 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/balanceAccountsApi.ts b/src/services/balancePlatform/balanceAccountsApi.ts index b117b62c1..ffff0ea11 100644 --- a/src/services/balancePlatform/balanceAccountsApi.ts +++ b/src/services/balancePlatform/balanceAccountsApi.ts @@ -17,6 +17,7 @@ import { BalanceSweepConfigurationsResponse, CreateSweepConfigurationV2, PaginatedPaymentInstrumentsResponse, + RestServiceError, SweepConfigurationV2, UpdateSweepConfigurationV2, ObjectSerializer diff --git a/src/services/balancePlatform/bankAccountValidationApi.ts b/src/services/balancePlatform/bankAccountValidationApi.ts index cb5f174f8..e58593d70 100644 --- a/src/services/balancePlatform/bankAccountValidationApi.ts +++ b/src/services/balancePlatform/bankAccountValidationApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { BankAccountIdentificationValidationRequest, + RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/cardOrdersApi.ts b/src/services/balancePlatform/cardOrdersApi.ts index cb95622e0..990c03d5c 100644 --- a/src/services/balancePlatform/cardOrdersApi.ts +++ b/src/services/balancePlatform/cardOrdersApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { PaginatedGetCardOrderItemResponse, PaginatedGetCardOrderResponse, + RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/grantAccountsApi.ts b/src/services/balancePlatform/grantAccountsApi.ts index 8127a64f0..7612e2016 100644 --- a/src/services/balancePlatform/grantAccountsApi.ts +++ b/src/services/balancePlatform/grantAccountsApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { CapitalGrantAccount, + RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/grantOffersApi.ts b/src/services/balancePlatform/grantOffersApi.ts index fa3298ff5..84d1b4d03 100644 --- a/src/services/balancePlatform/grantOffersApi.ts +++ b/src/services/balancePlatform/grantOffersApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { GrantOffer, GrantOffers, + RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/networkTokensApi.ts b/src/services/balancePlatform/networkTokensApi.ts index b30105e81..8620e5b5a 100644 --- a/src/services/balancePlatform/networkTokensApi.ts +++ b/src/services/balancePlatform/networkTokensApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { GetNetworkTokenResponse, + RestServiceError, UpdateNetworkTokenRequest, ObjectSerializer } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/pINFunctionalityApi.ts b/src/services/balancePlatform/pINFunctionalityApi.ts index c3b01c998..3309bfb01 100644 --- a/src/services/balancePlatform/pINFunctionalityApi.ts +++ b/src/services/balancePlatform/pINFunctionalityApi.ts @@ -14,6 +14,7 @@ import { PinChangeRequest, PinChangeResponse, PublicKeyResponse, + RestServiceError, RevealPinRequest, RevealPinResponse, ObjectSerializer diff --git a/src/services/balancePlatform/paymentInstrumentGroupsApi.ts b/src/services/balancePlatform/paymentInstrumentGroupsApi.ts index 934568c13..603d1b874 100644 --- a/src/services/balancePlatform/paymentInstrumentGroupsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentGroupsApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { PaymentInstrumentGroup, PaymentInstrumentGroupInfo, + RestServiceError, TransactionRulesResponse, ObjectSerializer } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/paymentInstrumentsApi.ts b/src/services/balancePlatform/paymentInstrumentsApi.ts index 598b39e3e..333b6f580 100644 --- a/src/services/balancePlatform/paymentInstrumentsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentsApi.ts @@ -16,6 +16,7 @@ import { PaymentInstrumentInfo, PaymentInstrumentRevealInfo, PaymentInstrumentUpdateRequest, + RestServiceError, TransactionRulesResponse, UpdatePaymentInstrument, ObjectSerializer diff --git a/src/services/balancePlatform/platformApi.ts b/src/services/balancePlatform/platformApi.ts index fe87aa4ed..dbc7c296b 100644 --- a/src/services/balancePlatform/platformApi.ts +++ b/src/services/balancePlatform/platformApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { BalancePlatform, PaginatedAccountHoldersResponse, + RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/transactionRulesApi.ts b/src/services/balancePlatform/transactionRulesApi.ts index b76f5687c..2a0cf66a5 100644 --- a/src/services/balancePlatform/transactionRulesApi.ts +++ b/src/services/balancePlatform/transactionRulesApi.ts @@ -10,7 +10,8 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { +import { + RestServiceError, TransactionRule, TransactionRuleInfo, TransactionRuleResponse, diff --git a/src/services/balancePlatform/transferRoutesApi.ts b/src/services/balancePlatform/transferRoutesApi.ts index 8121a3ab6..585e29eaa 100644 --- a/src/services/balancePlatform/transferRoutesApi.ts +++ b/src/services/balancePlatform/transferRoutesApi.ts @@ -10,7 +10,8 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { +import { + RestServiceError, TransferRouteRequest, TransferRouteResponse, ObjectSerializer diff --git a/src/services/binLookupApi.ts b/src/services/binLookupApi.ts index e65887989..f5ae3df91 100644 --- a/src/services/binLookupApi.ts +++ b/src/services/binLookupApi.ts @@ -12,6 +12,7 @@ import getJsonResponse from "../helpers/getJsonResponse"; import Service from "../service"; 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"; import { IRequest } from "../typings/requestOptions"; diff --git a/src/services/checkout/classicCheckoutSDKApi.ts b/src/services/checkout/classicCheckoutSDKApi.ts index ff49e010b..baf7a92b2 100644 --- a/src/services/checkout/classicCheckoutSDKApi.ts +++ b/src/services/checkout/classicCheckoutSDKApi.ts @@ -15,6 +15,7 @@ import { PaymentSetupResponse, PaymentVerificationRequest, PaymentVerificationResponse, + ServiceError, ObjectSerializer } from "../../typings/checkout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/checkout/donationsApi.ts b/src/services/checkout/donationsApi.ts index 2bcc4d2e8..4afb821ed 100644 --- a/src/services/checkout/donationsApi.ts +++ b/src/services/checkout/donationsApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { DonationPaymentRequest, DonationPaymentResponse, + ServiceError, ObjectSerializer } from "../../typings/checkout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/checkout/modificationsApi.ts b/src/services/checkout/modificationsApi.ts index 1b79c9297..ac7d1e267 100644 --- a/src/services/checkout/modificationsApi.ts +++ b/src/services/checkout/modificationsApi.ts @@ -21,6 +21,7 @@ import { PaymentRefundResponse, PaymentReversalRequest, PaymentReversalResponse, + ServiceError, StandalonePaymentCancelRequest, StandalonePaymentCancelResponse, ObjectSerializer diff --git a/src/services/checkout/ordersApi.ts b/src/services/checkout/ordersApi.ts index 530fc30a1..4ae182408 100644 --- a/src/services/checkout/ordersApi.ts +++ b/src/services/checkout/ordersApi.ts @@ -17,6 +17,7 @@ import { CancelOrderResponse, CreateOrderRequest, CreateOrderResponse, + ServiceError, ObjectSerializer } from "../../typings/checkout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/checkout/paymentLinksApi.ts b/src/services/checkout/paymentLinksApi.ts index 6fcad85cf..548d781a8 100644 --- a/src/services/checkout/paymentLinksApi.ts +++ b/src/services/checkout/paymentLinksApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { PaymentLinkRequest, PaymentLinkResponse, + ServiceError, UpdatePaymentLinkRequest, ObjectSerializer } from "../../typings/checkout/models"; diff --git a/src/services/checkout/paymentsApi.ts b/src/services/checkout/paymentsApi.ts index 3a6a35ed4..72e5a00e6 100644 --- a/src/services/checkout/paymentsApi.ts +++ b/src/services/checkout/paymentsApi.ts @@ -21,6 +21,7 @@ import { PaymentMethodsResponse, PaymentRequest, PaymentResponse, + ServiceError, SessionResultResponse, ObjectSerializer } from "../../typings/checkout/models"; diff --git a/src/services/checkout/utilityApi.ts b/src/services/checkout/utilityApi.ts index 1092b4048..572635258 100644 --- a/src/services/checkout/utilityApi.ts +++ b/src/services/checkout/utilityApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { ApplePaySessionRequest, ApplePaySessionResponse, + ServiceError, UtilityRequest, UtilityResponse, ObjectSerializer diff --git a/src/services/dataProtectionApi.ts b/src/services/dataProtectionApi.ts index 7c2a0f30c..07db4b737 100644 --- a/src/services/dataProtectionApi.ts +++ b/src/services/dataProtectionApi.ts @@ -10,6 +10,7 @@ import Client from "../client"; import getJsonResponse from "../helpers/getJsonResponse"; import Service from "../service"; +import { ServiceError } from "../typings/dataProtection/models"; import { SubjectErasureByPspReferenceRequest } from "../typings/dataProtection/models"; import { SubjectErasureResponse } from "../typings/dataProtection/models"; import { IRequest } from "../typings/requestOptions"; diff --git a/src/services/disputesApi.ts b/src/services/disputesApi.ts index f2f61b18b..86b6f3de0 100644 --- a/src/services/disputesApi.ts +++ b/src/services/disputesApi.ts @@ -18,6 +18,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"; import { IRequest } from "../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/businessLinesApi.ts b/src/services/legalEntityManagement/businessLinesApi.ts index 45ce6adaa..6c7796f6f 100644 --- a/src/services/legalEntityManagement/businessLinesApi.ts +++ b/src/services/legalEntityManagement/businessLinesApi.ts @@ -14,6 +14,7 @@ import { BusinessLine, BusinessLineInfo, BusinessLineInfoUpdate, + ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/documentsApi.ts b/src/services/legalEntityManagement/documentsApi.ts index 563c1d621..a18dbde4d 100644 --- a/src/services/legalEntityManagement/documentsApi.ts +++ b/src/services/legalEntityManagement/documentsApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { Document, + ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/hostedOnboardingApi.ts b/src/services/legalEntityManagement/hostedOnboardingApi.ts index a217be595..8467218db 100644 --- a/src/services/legalEntityManagement/hostedOnboardingApi.ts +++ b/src/services/legalEntityManagement/hostedOnboardingApi.ts @@ -15,6 +15,7 @@ import { OnboardingLinkInfo, OnboardingTheme, OnboardingThemes, + ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/legalEntitiesApi.ts b/src/services/legalEntityManagement/legalEntitiesApi.ts index 1fc9b48e3..fb12a96a2 100644 --- a/src/services/legalEntityManagement/legalEntitiesApi.ts +++ b/src/services/legalEntityManagement/legalEntitiesApi.ts @@ -16,6 +16,7 @@ import { LegalEntity, LegalEntityInfo, LegalEntityInfoRequiredType, + ServiceError, VerificationErrors, ObjectSerializer } from "../../typings/legalEntityManagement/models"; diff --git a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts index 3b9d32711..9fa5950e9 100644 --- a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts +++ b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts @@ -17,6 +17,7 @@ import { GetPciQuestionnaireResponse, PciSigningRequest, PciSigningResponse, + ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/termsOfServiceApi.ts b/src/services/legalEntityManagement/termsOfServiceApi.ts index a279540d8..3b307dc2f 100644 --- a/src/services/legalEntityManagement/termsOfServiceApi.ts +++ b/src/services/legalEntityManagement/termsOfServiceApi.ts @@ -17,6 +17,7 @@ import { GetTermsOfServiceAcceptanceInfosResponse, GetTermsOfServiceDocumentRequest, GetTermsOfServiceDocumentResponse, + ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/transferInstrumentsApi.ts b/src/services/legalEntityManagement/transferInstrumentsApi.ts index 8e58ae184..7f6073adf 100644 --- a/src/services/legalEntityManagement/transferInstrumentsApi.ts +++ b/src/services/legalEntityManagement/transferInstrumentsApi.ts @@ -10,7 +10,8 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { +import { + ServiceError, TransferInstrument, TransferInstrumentInfo, ObjectSerializer diff --git a/src/services/management/aPICredentialsCompanyLevelApi.ts b/src/services/management/aPICredentialsCompanyLevelApi.ts index 2822cbbce..9bdb6cb02 100644 --- a/src/services/management/aPICredentialsCompanyLevelApi.ts +++ b/src/services/management/aPICredentialsCompanyLevelApi.ts @@ -15,6 +15,7 @@ import { CreateCompanyApiCredentialRequest, CreateCompanyApiCredentialResponse, ListCompanyApiCredentialsResponse, + RestServiceError, UpdateCompanyApiCredentialRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/aPICredentialsMerchantLevelApi.ts b/src/services/management/aPICredentialsMerchantLevelApi.ts index 6dccd370c..86830c0d6 100644 --- a/src/services/management/aPICredentialsMerchantLevelApi.ts +++ b/src/services/management/aPICredentialsMerchantLevelApi.ts @@ -15,6 +15,7 @@ import { CreateApiCredentialResponse, CreateMerchantApiCredentialRequest, ListMerchantApiCredentialsResponse, + RestServiceError, UpdateMerchantApiCredentialRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/aPIKeyCompanyLevelApi.ts b/src/services/management/aPIKeyCompanyLevelApi.ts index c8a128d6e..0a1070979 100644 --- a/src/services/management/aPIKeyCompanyLevelApi.ts +++ b/src/services/management/aPIKeyCompanyLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { GenerateApiKeyResponse, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/aPIKeyMerchantLevelApi.ts b/src/services/management/aPIKeyMerchantLevelApi.ts index a1f23dd3a..6b8740ab2 100644 --- a/src/services/management/aPIKeyMerchantLevelApi.ts +++ b/src/services/management/aPIKeyMerchantLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { GenerateApiKeyResponse, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/accountCompanyLevelApi.ts b/src/services/management/accountCompanyLevelApi.ts index 21d1c5c42..1caa3bc7e 100644 --- a/src/services/management/accountCompanyLevelApi.ts +++ b/src/services/management/accountCompanyLevelApi.ts @@ -14,6 +14,7 @@ import { Company, ListCompanyResponse, ListMerchantResponse, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/accountMerchantLevelApi.ts b/src/services/management/accountMerchantLevelApi.ts index f8a1dee7d..3bd650245 100644 --- a/src/services/management/accountMerchantLevelApi.ts +++ b/src/services/management/accountMerchantLevelApi.ts @@ -16,6 +16,7 @@ import { ListMerchantResponse, Merchant, RequestActivationResponse, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/accountStoreLevelApi.ts b/src/services/management/accountStoreLevelApi.ts index 545afe5eb..b3d6c4d8c 100644 --- a/src/services/management/accountStoreLevelApi.ts +++ b/src/services/management/accountStoreLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { ListStoresResponse, + RestServiceError, Store, StoreCreationRequest, StoreCreationWithMerchantCodeRequest, diff --git a/src/services/management/allowedOriginsCompanyLevelApi.ts b/src/services/management/allowedOriginsCompanyLevelApi.ts index f13ec1f4c..64ca5092b 100644 --- a/src/services/management/allowedOriginsCompanyLevelApi.ts +++ b/src/services/management/allowedOriginsCompanyLevelApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { AllowedOrigin, AllowedOriginsResponse, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/allowedOriginsMerchantLevelApi.ts b/src/services/management/allowedOriginsMerchantLevelApi.ts index 91cb2cb87..a6a98b768 100644 --- a/src/services/management/allowedOriginsMerchantLevelApi.ts +++ b/src/services/management/allowedOriginsMerchantLevelApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { AllowedOrigin, AllowedOriginsResponse, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/androidFilesCompanyLevelApi.ts b/src/services/management/androidFilesCompanyLevelApi.ts index 033fad64b..699271ee3 100644 --- a/src/services/management/androidFilesCompanyLevelApi.ts +++ b/src/services/management/androidFilesCompanyLevelApi.ts @@ -14,6 +14,7 @@ import { AndroidApp, AndroidAppsResponse, AndroidCertificatesResponse, + RestServiceError, UploadAndroidAppResponse, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/clientKeyCompanyLevelApi.ts b/src/services/management/clientKeyCompanyLevelApi.ts index ac6dd07b4..3369429bb 100644 --- a/src/services/management/clientKeyCompanyLevelApi.ts +++ b/src/services/management/clientKeyCompanyLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { GenerateClientKeyResponse, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/clientKeyMerchantLevelApi.ts b/src/services/management/clientKeyMerchantLevelApi.ts index 4e4f9c4a0..eb2c13d28 100644 --- a/src/services/management/clientKeyMerchantLevelApi.ts +++ b/src/services/management/clientKeyMerchantLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { GenerateClientKeyResponse, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/myAPICredentialApi.ts b/src/services/management/myAPICredentialApi.ts index e01f51baa..4d80fd02f 100644 --- a/src/services/management/myAPICredentialApi.ts +++ b/src/services/management/myAPICredentialApi.ts @@ -16,6 +16,7 @@ import { CreateAllowedOriginRequest, GenerateClientKeyResponse, MeApiCredential, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/paymentMethodsMerchantLevelApi.ts b/src/services/management/paymentMethodsMerchantLevelApi.ts index 210b8134f..4953f5af4 100644 --- a/src/services/management/paymentMethodsMerchantLevelApi.ts +++ b/src/services/management/paymentMethodsMerchantLevelApi.ts @@ -15,6 +15,7 @@ import { PaymentMethod, PaymentMethodResponse, PaymentMethodSetupInfo, + RestServiceError, UpdatePaymentMethodInfo, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/payoutSettingsMerchantLevelApi.ts b/src/services/management/payoutSettingsMerchantLevelApi.ts index 6574022ee..b70bce7f8 100644 --- a/src/services/management/payoutSettingsMerchantLevelApi.ts +++ b/src/services/management/payoutSettingsMerchantLevelApi.ts @@ -14,6 +14,7 @@ import { PayoutSettings, PayoutSettingsRequest, PayoutSettingsResponse, + RestServiceError, UpdatePayoutSettingsRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/splitConfigurationMerchantLevelApi.ts b/src/services/management/splitConfigurationMerchantLevelApi.ts index 202d77de0..a266ee9be 100644 --- a/src/services/management/splitConfigurationMerchantLevelApi.ts +++ b/src/services/management/splitConfigurationMerchantLevelApi.ts @@ -10,7 +10,8 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { +import { + RestServiceError, SplitConfiguration, SplitConfigurationList, SplitConfigurationRule, diff --git a/src/services/management/terminalActionsCompanyLevelApi.ts b/src/services/management/terminalActionsCompanyLevelApi.ts index ff1903e73..5cdad0cac 100644 --- a/src/services/management/terminalActionsCompanyLevelApi.ts +++ b/src/services/management/terminalActionsCompanyLevelApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { ExternalTerminalAction, ListExternalTerminalActionsResponse, + RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/terminalActionsTerminalLevelApi.ts b/src/services/management/terminalActionsTerminalLevelApi.ts index b9e729cf2..783686fe0 100644 --- a/src/services/management/terminalActionsTerminalLevelApi.ts +++ b/src/services/management/terminalActionsTerminalLevelApi.ts @@ -10,7 +10,8 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { +import { + RestServiceError, ScheduleTerminalActionsRequest, ScheduleTerminalActionsResponse, ObjectSerializer diff --git a/src/services/management/terminalOrdersCompanyLevelApi.ts b/src/services/management/terminalOrdersCompanyLevelApi.ts index f444bb764..6b353199d 100644 --- a/src/services/management/terminalOrdersCompanyLevelApi.ts +++ b/src/services/management/terminalOrdersCompanyLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { BillingEntitiesResponse, + RestServiceError, ShippingLocation, ShippingLocationsResponse, TerminalModelsResponse, diff --git a/src/services/management/terminalOrdersMerchantLevelApi.ts b/src/services/management/terminalOrdersMerchantLevelApi.ts index 06e39cea5..6caf70726 100644 --- a/src/services/management/terminalOrdersMerchantLevelApi.ts +++ b/src/services/management/terminalOrdersMerchantLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { BillingEntitiesResponse, + RestServiceError, ShippingLocation, ShippingLocationsResponse, TerminalModelsResponse, diff --git a/src/services/management/terminalSettingsCompanyLevelApi.ts b/src/services/management/terminalSettingsCompanyLevelApi.ts index e56221a1e..5fb48db84 100644 --- a/src/services/management/terminalSettingsCompanyLevelApi.ts +++ b/src/services/management/terminalSettingsCompanyLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { Logo, + RestServiceError, TerminalSettings, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/terminalSettingsMerchantLevelApi.ts b/src/services/management/terminalSettingsMerchantLevelApi.ts index 6c41e12fd..cf97028e8 100644 --- a/src/services/management/terminalSettingsMerchantLevelApi.ts +++ b/src/services/management/terminalSettingsMerchantLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { Logo, + RestServiceError, TerminalSettings, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/terminalSettingsStoreLevelApi.ts b/src/services/management/terminalSettingsStoreLevelApi.ts index 89b2f4373..7f8711311 100644 --- a/src/services/management/terminalSettingsStoreLevelApi.ts +++ b/src/services/management/terminalSettingsStoreLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { Logo, + RestServiceError, TerminalSettings, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/terminalSettingsTerminalLevelApi.ts b/src/services/management/terminalSettingsTerminalLevelApi.ts index 1893a17c6..0e706e759 100644 --- a/src/services/management/terminalSettingsTerminalLevelApi.ts +++ b/src/services/management/terminalSettingsTerminalLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { Logo, + RestServiceError, TerminalSettings, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/terminalsTerminalLevelApi.ts b/src/services/management/terminalsTerminalLevelApi.ts index c0ef8f83f..b230c217b 100644 --- a/src/services/management/terminalsTerminalLevelApi.ts +++ b/src/services/management/terminalsTerminalLevelApi.ts @@ -12,6 +12,7 @@ import Service from "../../service"; import Client from "../../client"; import { ListTerminalsResponse, + RestServiceError, TerminalReassignmentRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/usersCompanyLevelApi.ts b/src/services/management/usersCompanyLevelApi.ts index 9af238a0a..55f9a62c4 100644 --- a/src/services/management/usersCompanyLevelApi.ts +++ b/src/services/management/usersCompanyLevelApi.ts @@ -15,6 +15,7 @@ import { CreateCompanyUserRequest, CreateCompanyUserResponse, ListCompanyUsersResponse, + RestServiceError, UpdateCompanyUserRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/usersMerchantLevelApi.ts b/src/services/management/usersMerchantLevelApi.ts index 7726040e5..ebb82d2bc 100644 --- a/src/services/management/usersMerchantLevelApi.ts +++ b/src/services/management/usersMerchantLevelApi.ts @@ -14,6 +14,7 @@ import { CreateMerchantUserRequest, CreateUserResponse, ListMerchantUsersResponse, + RestServiceError, UpdateMerchantUserRequest, User, ObjectSerializer diff --git a/src/services/management/webhooksCompanyLevelApi.ts b/src/services/management/webhooksCompanyLevelApi.ts index 802aebf34..c3c85c61d 100644 --- a/src/services/management/webhooksCompanyLevelApi.ts +++ b/src/services/management/webhooksCompanyLevelApi.ts @@ -14,6 +14,7 @@ import { CreateCompanyWebhookRequest, GenerateHmacKeyResponse, ListWebhooksResponse, + RestServiceError, TestCompanyWebhookRequest, TestWebhookResponse, UpdateCompanyWebhookRequest, diff --git a/src/services/management/webhooksMerchantLevelApi.ts b/src/services/management/webhooksMerchantLevelApi.ts index e41f15630..9b0b2dc52 100644 --- a/src/services/management/webhooksMerchantLevelApi.ts +++ b/src/services/management/webhooksMerchantLevelApi.ts @@ -14,6 +14,7 @@ import { CreateMerchantWebhookRequest, GenerateHmacKeyResponse, ListWebhooksResponse, + RestServiceError, TestWebhookRequest, TestWebhookResponse, UpdateMerchantWebhookRequest, diff --git a/src/services/paymentApi.ts b/src/services/paymentApi.ts index d75c968e2..0d8d11d06 100644 --- a/src/services/paymentApi.ts +++ b/src/services/paymentApi.ts @@ -23,6 +23,7 @@ import { PaymentRequest3d } from "../typings/payment/models"; import { PaymentRequest3ds2 } from "../typings/payment/models"; import { PaymentResult } from "../typings/payment/models"; import { RefundRequest } from "../typings/payment/models"; +import { ServiceError } from "../typings/payment/models"; import { TechnicalCancelRequest } from "../typings/payment/models"; import { ThreeDS2ResultRequest } from "../typings/payment/models"; import { ThreeDS2ResultResponse } from "../typings/payment/models"; diff --git a/src/services/payout/initializationApi.ts b/src/services/payout/initializationApi.ts index 03fce51d8..d4441c599 100644 --- a/src/services/payout/initializationApi.ts +++ b/src/services/payout/initializationApi.ts @@ -10,7 +10,8 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { +import { + ServiceError, StoreDetailAndSubmitRequest, StoreDetailAndSubmitResponse, StoreDetailRequest, diff --git a/src/services/payout/instantPayoutsApi.ts b/src/services/payout/instantPayoutsApi.ts index 421a4147f..2b58a4edd 100644 --- a/src/services/payout/instantPayoutsApi.ts +++ b/src/services/payout/instantPayoutsApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { PayoutRequest, PayoutResponse, + ServiceError, ObjectSerializer } from "../../typings/payout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/payout/reviewingApi.ts b/src/services/payout/reviewingApi.ts index a5e014232..e1903496a 100644 --- a/src/services/payout/reviewingApi.ts +++ b/src/services/payout/reviewingApi.ts @@ -13,6 +13,7 @@ import Client from "../../client"; import { ModifyRequest, ModifyResponse, + ServiceError, ObjectSerializer } from "../../typings/payout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/recurringApi.ts b/src/services/recurringApi.ts index f4d672a04..daf1c7005 100644 --- a/src/services/recurringApi.ts +++ b/src/services/recurringApi.ts @@ -22,6 +22,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"; import { IRequest } from "../typings/requestOptions"; import Resource from "./resource"; import { ObjectSerializer } from "../typings/recurring/models"; diff --git a/src/services/storedValueApi.ts b/src/services/storedValueApi.ts index 28425347d..e675d176e 100644 --- a/src/services/storedValueApi.ts +++ b/src/services/storedValueApi.ts @@ -10,6 +10,7 @@ import Client from "../client"; import getJsonResponse from "../helpers/getJsonResponse"; import Service from "../service"; +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/terminalManagementApi.ts b/src/services/terminalManagementApi.ts index 7effe9e62..b654d9cb8 100644 --- a/src/services/terminalManagementApi.ts +++ b/src/services/terminalManagementApi.ts @@ -20,6 +20,7 @@ import { GetTerminalDetailsRequest } from "../typings/terminalManagement/models" import { GetTerminalDetailsResponse } from "../typings/terminalManagement/models"; import { GetTerminalsUnderAccountRequest } from "../typings/terminalManagement/models"; import { GetTerminalsUnderAccountResponse } from "../typings/terminalManagement/models"; +import { ServiceError } from "../typings/terminalManagement/models"; import { IRequest } from "../typings/requestOptions"; import Resource from "./resource"; import { ObjectSerializer } from "../typings/terminalManagement/models"; diff --git a/src/services/transfers/capitalApi.ts b/src/services/transfers/capitalApi.ts index a5a3e2c3e..b7f19bc5c 100644 --- a/src/services/transfers/capitalApi.ts +++ b/src/services/transfers/capitalApi.ts @@ -14,6 +14,7 @@ import { CapitalGrant, CapitalGrantInfo, CapitalGrants, + RestServiceError, ObjectSerializer } from "../../typings/transfers/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/transfers/transactionsApi.ts b/src/services/transfers/transactionsApi.ts index 3146cedb6..18a397b64 100644 --- a/src/services/transfers/transactionsApi.ts +++ b/src/services/transfers/transactionsApi.ts @@ -10,7 +10,8 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { +import { + RestServiceError, Transaction, TransactionSearchResponse, ObjectSerializer diff --git a/src/services/transfers/transfersApi.ts b/src/services/transfers/transfersApi.ts index 5a9107a82..e321fcde0 100644 --- a/src/services/transfers/transfersApi.ts +++ b/src/services/transfers/transfersApi.ts @@ -10,9 +10,11 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { +import { + RestServiceError, ReturnTransferRequest, ReturnTransferResponse, + ServiceError, Transfer, TransferInfo, ObjectSerializer diff --git a/src/typings/checkout/balanceCheckRequest.ts b/src/typings/checkout/balanceCheckRequest.ts index 41befc6af..d2d996931 100644 --- a/src/typings/checkout/balanceCheckRequest.ts +++ b/src/typings/checkout/balanceCheckRequest.ts @@ -138,7 +138,7 @@ export class BalanceCheckRequest { */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms). + * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. */ 'store'?: string; /** diff --git a/src/typings/checkout/createCheckoutSessionRequest.ts b/src/typings/checkout/createCheckoutSessionRequest.ts index 1a578c210..6497bc6f7 100644 --- a/src/typings/checkout/createCheckoutSessionRequest.ts +++ b/src/typings/checkout/createCheckoutSessionRequest.ts @@ -190,7 +190,7 @@ export class CreateCheckoutSessionRequest { */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms). + * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. */ 'store'?: string; /** diff --git a/src/typings/checkout/createCheckoutSessionResponse.ts b/src/typings/checkout/createCheckoutSessionResponse.ts index a72f07b3e..ca92ae500 100644 --- a/src/typings/checkout/createCheckoutSessionResponse.ts +++ b/src/typings/checkout/createCheckoutSessionResponse.ts @@ -198,7 +198,7 @@ export class CreateCheckoutSessionResponse { */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms). + * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. */ 'store'?: string; /** diff --git a/src/typings/checkout/models.ts b/src/typings/checkout/models.ts index c2fbbeb7e..9bc3bb561 100644 --- a/src/typings/checkout/models.ts +++ b/src/typings/checkout/models.ts @@ -546,12 +546,14 @@ let enumsMap: {[index: string]: any} = { "ThreeDS2RequestData.AcctTypeEnum": ThreeDS2RequestData.AcctTypeEnum, "ThreeDS2RequestData.AddrMatchEnum": ThreeDS2RequestData.AddrMatchEnum, "ThreeDS2RequestData.ChallengeIndicatorEnum": ThreeDS2RequestData.ChallengeIndicatorEnum, + "ThreeDS2RequestData.PlatformEnum": ThreeDS2RequestData.PlatformEnum, "ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum": ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum, "ThreeDS2RequestData.TransTypeEnum": ThreeDS2RequestData.TransTypeEnum, "ThreeDS2RequestData.TransactionTypeEnum": ThreeDS2RequestData.TransactionTypeEnum, "ThreeDS2RequestFields.AcctTypeEnum": ThreeDS2RequestFields.AcctTypeEnum, "ThreeDS2RequestFields.AddrMatchEnum": ThreeDS2RequestFields.AddrMatchEnum, "ThreeDS2RequestFields.ChallengeIndicatorEnum": ThreeDS2RequestFields.ChallengeIndicatorEnum, + "ThreeDS2RequestFields.PlatformEnum": ThreeDS2RequestFields.PlatformEnum, "ThreeDS2RequestFields.ThreeDSRequestorChallengeIndEnum": ThreeDS2RequestFields.ThreeDSRequestorChallengeIndEnum, "ThreeDS2RequestFields.TransTypeEnum": ThreeDS2RequestFields.TransTypeEnum, "ThreeDS2RequestFields.TransactionTypeEnum": ThreeDS2RequestFields.TransactionTypeEnum, diff --git a/src/typings/checkout/paymentMethodsRequest.ts b/src/typings/checkout/paymentMethodsRequest.ts index 6873e6590..7e8fe3700 100644 --- a/src/typings/checkout/paymentMethodsRequest.ts +++ b/src/typings/checkout/paymentMethodsRequest.ts @@ -50,7 +50,7 @@ export class PaymentMethodsRequest { */ 'splitCardFundingSources'?: boolean; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms). + * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. */ 'store'?: string; diff --git a/src/typings/checkout/paymentRequest.ts b/src/typings/checkout/paymentRequest.ts index 0241879e0..00c49bc1c 100644 --- a/src/typings/checkout/paymentRequest.ts +++ b/src/typings/checkout/paymentRequest.ts @@ -255,7 +255,7 @@ export class PaymentRequest { */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms). + * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. */ 'store'?: string; /** diff --git a/src/typings/checkout/paymentSetupRequest.ts b/src/typings/checkout/paymentSetupRequest.ts index a632f56b5..e8a93dd98 100644 --- a/src/typings/checkout/paymentSetupRequest.ts +++ b/src/typings/checkout/paymentSetupRequest.ts @@ -184,7 +184,7 @@ export class PaymentSetupRequest { */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms). + * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. */ 'store'?: string; /** diff --git a/src/typings/checkout/threeDS2RequestData.ts b/src/typings/checkout/threeDS2RequestData.ts index d2fa5fd36..e7e019883 100644 --- a/src/typings/checkout/threeDS2RequestData.ts +++ b/src/typings/checkout/threeDS2RequestData.ts @@ -72,6 +72,10 @@ export class ThreeDS2RequestData { */ 'paymentAuthenticationUseCase'?: string; /** + * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` + */ + 'platform'?: ThreeDS2RequestData.PlatformEnum; + /** * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. */ 'purchaseInstalData'?: string; @@ -236,6 +240,11 @@ export class ThreeDS2RequestData { "baseName": "paymentAuthenticationUseCase", "type": "string" }, + { + "name": "platform", + "baseName": "platform", + "type": "ThreeDS2RequestData.PlatformEnum" + }, { "name": "purchaseInstalData", "baseName": "purchaseInstalData", @@ -368,6 +377,11 @@ export namespace ThreeDS2RequestData { RequestChallenge = 'requestChallenge', RequestChallengeAsMandate = 'requestChallengeAsMandate' } + export enum PlatformEnum { + IOs = 'iOS', + Android = 'android', + Browser = 'browser' + } export enum ThreeDSRequestorChallengeIndEnum { _01 = '01', _02 = '02', diff --git a/src/typings/checkout/threeDS2RequestFields.ts b/src/typings/checkout/threeDS2RequestFields.ts index d7a563da4..e9389e2df 100644 --- a/src/typings/checkout/threeDS2RequestFields.ts +++ b/src/typings/checkout/threeDS2RequestFields.ts @@ -68,6 +68,10 @@ export class ThreeDS2RequestFields { */ 'paymentAuthenticationUseCase'?: string; /** + * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` + */ + 'platform'?: ThreeDS2RequestFields.PlatformEnum; + /** * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. */ 'purchaseInstalData'?: string; @@ -219,6 +223,11 @@ export class ThreeDS2RequestFields { "baseName": "paymentAuthenticationUseCase", "type": "string" }, + { + "name": "platform", + "baseName": "platform", + "type": "ThreeDS2RequestFields.PlatformEnum" + }, { "name": "purchaseInstalData", "baseName": "purchaseInstalData", @@ -341,6 +350,11 @@ export namespace ThreeDS2RequestFields { RequestChallenge = 'requestChallenge', RequestChallengeAsMandate = 'requestChallengeAsMandate' } + export enum PlatformEnum { + IOs = 'iOS', + Android = 'android', + Browser = 'browser' + } export enum ThreeDSRequestorChallengeIndEnum { _01 = '01', _02 = '02', diff --git a/src/typings/management/models.ts b/src/typings/management/models.ts index c1fc41dda..14c6ca17a 100644 --- a/src/typings/management/models.ts +++ b/src/typings/management/models.ts @@ -385,6 +385,7 @@ let enumsMap: {[index: string]: any} = { "InstallAndroidAppDetails.TypeEnum": InstallAndroidAppDetails.TypeEnum, "InstallAndroidCertificateDetails.TypeEnum": InstallAndroidCertificateDetails.TypeEnum, "KlarnaInfo.RegionEnum": KlarnaInfo.RegionEnum, + "Notification.CategoryEnum": Notification.CategoryEnum, "PayAtTable.AuthenticationMethodEnum": PayAtTable.AuthenticationMethodEnum, "PayAtTable.PaymentInstrumentEnum": PayAtTable.PaymentInstrumentEnum, "PaymentMethod.VerificationStatusEnum": PaymentMethod.VerificationStatusEnum, diff --git a/src/typings/management/notification.ts b/src/typings/management/notification.ts index 4bc9ff087..67a670fc7 100644 --- a/src/typings/management/notification.ts +++ b/src/typings/management/notification.ts @@ -10,17 +10,53 @@ export class Notification { /** - * Shows or hides the event notification button on the terminal screen. + * The type of event notification sent when you select the notification button. + */ + 'category'?: Notification.CategoryEnum; + /** + * The text shown in the prompt which opens when you select the notification button. For example, the description of the input box for pay-at-table. + */ + 'details'?: string; + /** + * Enables sending event notifications either by pressing the Confirm key on terminals with a keypad or by tapping the event notification button on the terminal screen. + */ + 'enabled'?: boolean; + /** + * Shows or hides the event notification button on the screen of terminal models that have a keypad. */ 'showButton'?: boolean; + /** + * The name of the notification button on the terminal screen. + */ + 'title'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "category", + "baseName": "category", + "type": "Notification.CategoryEnum" + }, + { + "name": "details", + "baseName": "details", + "type": "string" + }, + { + "name": "enabled", + "baseName": "enabled", + "type": "boolean" + }, { "name": "showButton", "baseName": "showButton", "type": "boolean" + }, + { + "name": "title", + "baseName": "title", + "type": "string" } ]; static getAttributeTypeMap() { @@ -28,3 +64,9 @@ export class Notification { } } +export namespace Notification { + export enum CategoryEnum { + SaleWakeUp = 'SaleWakeUp', + KeyPressed = 'KeyPressed' + } +} diff --git a/src/typings/management/store.ts b/src/typings/management/store.ts index d4f4aab9a..582bffa4d 100644 --- a/src/typings/management/store.ts +++ b/src/typings/management/store.ts @@ -23,7 +23,7 @@ export class Store { */ 'description'?: string; /** - * When using the Zip payment method: The location ID that Zip has assigned to your store. + * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. */ 'externalReferenceId'?: string; /** diff --git a/src/typings/management/updatePaymentMethodInfo.ts b/src/typings/management/updatePaymentMethodInfo.ts index 408895e38..3e83e4fb1 100644 --- a/src/typings/management/updatePaymentMethodInfo.ts +++ b/src/typings/management/updatePaymentMethodInfo.ts @@ -23,6 +23,10 @@ export class UpdatePaymentMethodInfo { * The list of currencies that a payment method supports. By default, all currencies supported by the payment method. */ 'currencies'?: Array; + /** + * Custom routing flags for acquirer routing. + */ + 'customRoutingFlags'?: Array; 'diners'?: GenericPmWithTdiInfo; 'discover'?: GenericPmWithTdiInfo; 'eftpos_australia'?: GenericPmWithTdiInfo; @@ -70,6 +74,11 @@ export class UpdatePaymentMethodInfo { "baseName": "currencies", "type": "Array" }, + { + "name": "customRoutingFlags", + "baseName": "customRoutingFlags", + "type": "Array" + }, { "name": "diners", "baseName": "diners", diff --git a/src/typings/management/updateStoreRequest.ts b/src/typings/management/updateStoreRequest.ts index 77fe344a3..07de9c0f3 100644 --- a/src/typings/management/updateStoreRequest.ts +++ b/src/typings/management/updateStoreRequest.ts @@ -21,7 +21,7 @@ export class UpdateStoreRequest { */ 'description'?: string; /** - * When using the Zip payment method: The location ID that Zip has assigned to your store. + * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. */ 'externalReferenceId'?: string; /** From d26e5e6d89aa6353e7452dc83296f91d12fb3b82 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot Date: Thu, 8 Feb 2024 09:22:23 +0000 Subject: [PATCH 2/2] style(fmt): code formatted --- src/services/balancePlatform/accountHoldersApi.ts | 3 +-- src/services/balancePlatform/balanceAccountsApi.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/networkTokensApi.ts | 1 - src/services/balancePlatform/pINFunctionalityApi.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 | 3 +-- src/services/balancePlatform/transferRoutesApi.ts | 3 +-- src/services/binLookupApi.ts | 1 - src/services/checkout/classicCheckoutSDKApi.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/dataProtectionApi.ts | 1 - src/services/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/termsOfServiceApi.ts | 1 - src/services/legalEntityManagement/transferInstrumentsApi.ts | 3 +-- 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 | 3 +-- src/services/management/terminalActionsCompanyLevelApi.ts | 1 - src/services/management/terminalActionsTerminalLevelApi.ts | 3 +-- 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/paymentApi.ts | 1 - src/services/payout/initializationApi.ts | 3 +-- src/services/payout/instantPayoutsApi.ts | 1 - src/services/payout/reviewingApi.ts | 1 - src/services/recurringApi.ts | 1 - src/services/storedValueApi.ts | 1 - src/services/terminalManagementApi.ts | 1 - src/services/transfers/capitalApi.ts | 1 - src/services/transfers/transactionsApi.ts | 3 +-- src/services/transfers/transfersApi.ts | 4 +--- 69 files changed, 9 insertions(+), 79 deletions(-) diff --git a/src/services/balancePlatform/accountHoldersApi.ts b/src/services/balancePlatform/accountHoldersApi.ts index 7da6a45d2..a6d0caf72 100644 --- a/src/services/balancePlatform/accountHoldersApi.ts +++ b/src/services/balancePlatform/accountHoldersApi.ts @@ -16,7 +16,6 @@ import { AccountHolderUpdateRequest, GetTaxFormResponse, PaginatedBalanceAccountsResponse, - RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; @@ -103,7 +102,7 @@ export class AccountHoldersApi extends Service { * @param year {@link number } The tax year in YYYY format for the tax form you want to retrieve * @return {@link GetTaxFormResponse } */ - public async getTaxForm(id: string, formType?: 'US1099k' | 'US1099nec', year?: number, requestOptions?: IRequest.Options): Promise { + public async getTaxForm(id: string, formType?: "US1099k" | "US1099nec", year?: number, 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/balanceAccountsApi.ts b/src/services/balancePlatform/balanceAccountsApi.ts index ffff0ea11..b117b62c1 100644 --- a/src/services/balancePlatform/balanceAccountsApi.ts +++ b/src/services/balancePlatform/balanceAccountsApi.ts @@ -17,7 +17,6 @@ import { BalanceSweepConfigurationsResponse, CreateSweepConfigurationV2, PaginatedPaymentInstrumentsResponse, - RestServiceError, SweepConfigurationV2, UpdateSweepConfigurationV2, ObjectSerializer diff --git a/src/services/balancePlatform/bankAccountValidationApi.ts b/src/services/balancePlatform/bankAccountValidationApi.ts index e58593d70..cb5f174f8 100644 --- a/src/services/balancePlatform/bankAccountValidationApi.ts +++ b/src/services/balancePlatform/bankAccountValidationApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { BankAccountIdentificationValidationRequest, - RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/cardOrdersApi.ts b/src/services/balancePlatform/cardOrdersApi.ts index 990c03d5c..cb95622e0 100644 --- a/src/services/balancePlatform/cardOrdersApi.ts +++ b/src/services/balancePlatform/cardOrdersApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { PaginatedGetCardOrderItemResponse, PaginatedGetCardOrderResponse, - RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/grantAccountsApi.ts b/src/services/balancePlatform/grantAccountsApi.ts index 7612e2016..8127a64f0 100644 --- a/src/services/balancePlatform/grantAccountsApi.ts +++ b/src/services/balancePlatform/grantAccountsApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { CapitalGrantAccount, - RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/grantOffersApi.ts b/src/services/balancePlatform/grantOffersApi.ts index 84d1b4d03..fa3298ff5 100644 --- a/src/services/balancePlatform/grantOffersApi.ts +++ b/src/services/balancePlatform/grantOffersApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { GrantOffer, GrantOffers, - RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/networkTokensApi.ts b/src/services/balancePlatform/networkTokensApi.ts index 8620e5b5a..b30105e81 100644 --- a/src/services/balancePlatform/networkTokensApi.ts +++ b/src/services/balancePlatform/networkTokensApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { GetNetworkTokenResponse, - RestServiceError, UpdateNetworkTokenRequest, ObjectSerializer } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/pINFunctionalityApi.ts b/src/services/balancePlatform/pINFunctionalityApi.ts index 3309bfb01..c3b01c998 100644 --- a/src/services/balancePlatform/pINFunctionalityApi.ts +++ b/src/services/balancePlatform/pINFunctionalityApi.ts @@ -14,7 +14,6 @@ import { PinChangeRequest, PinChangeResponse, PublicKeyResponse, - RestServiceError, RevealPinRequest, RevealPinResponse, ObjectSerializer diff --git a/src/services/balancePlatform/paymentInstrumentGroupsApi.ts b/src/services/balancePlatform/paymentInstrumentGroupsApi.ts index 603d1b874..934568c13 100644 --- a/src/services/balancePlatform/paymentInstrumentGroupsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentGroupsApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { PaymentInstrumentGroup, PaymentInstrumentGroupInfo, - RestServiceError, TransactionRulesResponse, ObjectSerializer } from "../../typings/balancePlatform/models"; diff --git a/src/services/balancePlatform/paymentInstrumentsApi.ts b/src/services/balancePlatform/paymentInstrumentsApi.ts index 333b6f580..598b39e3e 100644 --- a/src/services/balancePlatform/paymentInstrumentsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentsApi.ts @@ -16,7 +16,6 @@ import { PaymentInstrumentInfo, PaymentInstrumentRevealInfo, PaymentInstrumentUpdateRequest, - RestServiceError, TransactionRulesResponse, UpdatePaymentInstrument, ObjectSerializer diff --git a/src/services/balancePlatform/platformApi.ts b/src/services/balancePlatform/platformApi.ts index dbc7c296b..fe87aa4ed 100644 --- a/src/services/balancePlatform/platformApi.ts +++ b/src/services/balancePlatform/platformApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { BalancePlatform, PaginatedAccountHoldersResponse, - RestServiceError, ObjectSerializer } from "../../typings/balancePlatform/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/balancePlatform/transactionRulesApi.ts b/src/services/balancePlatform/transactionRulesApi.ts index 2a0cf66a5..b76f5687c 100644 --- a/src/services/balancePlatform/transactionRulesApi.ts +++ b/src/services/balancePlatform/transactionRulesApi.ts @@ -10,8 +10,7 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { - RestServiceError, +import { TransactionRule, TransactionRuleInfo, TransactionRuleResponse, diff --git a/src/services/balancePlatform/transferRoutesApi.ts b/src/services/balancePlatform/transferRoutesApi.ts index 585e29eaa..8121a3ab6 100644 --- a/src/services/balancePlatform/transferRoutesApi.ts +++ b/src/services/balancePlatform/transferRoutesApi.ts @@ -10,8 +10,7 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { - RestServiceError, +import { TransferRouteRequest, TransferRouteResponse, ObjectSerializer diff --git a/src/services/binLookupApi.ts b/src/services/binLookupApi.ts index f5ae3df91..e65887989 100644 --- a/src/services/binLookupApi.ts +++ b/src/services/binLookupApi.ts @@ -12,7 +12,6 @@ import getJsonResponse from "../helpers/getJsonResponse"; import Service from "../service"; 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"; import { IRequest } from "../typings/requestOptions"; diff --git a/src/services/checkout/classicCheckoutSDKApi.ts b/src/services/checkout/classicCheckoutSDKApi.ts index baf7a92b2..ff49e010b 100644 --- a/src/services/checkout/classicCheckoutSDKApi.ts +++ b/src/services/checkout/classicCheckoutSDKApi.ts @@ -15,7 +15,6 @@ import { PaymentSetupResponse, PaymentVerificationRequest, PaymentVerificationResponse, - ServiceError, ObjectSerializer } from "../../typings/checkout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/checkout/donationsApi.ts b/src/services/checkout/donationsApi.ts index 4afb821ed..2bcc4d2e8 100644 --- a/src/services/checkout/donationsApi.ts +++ b/src/services/checkout/donationsApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { DonationPaymentRequest, DonationPaymentResponse, - ServiceError, ObjectSerializer } from "../../typings/checkout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/checkout/modificationsApi.ts b/src/services/checkout/modificationsApi.ts index ac7d1e267..1b79c9297 100644 --- a/src/services/checkout/modificationsApi.ts +++ b/src/services/checkout/modificationsApi.ts @@ -21,7 +21,6 @@ import { PaymentRefundResponse, PaymentReversalRequest, PaymentReversalResponse, - ServiceError, StandalonePaymentCancelRequest, StandalonePaymentCancelResponse, ObjectSerializer diff --git a/src/services/checkout/ordersApi.ts b/src/services/checkout/ordersApi.ts index 4ae182408..530fc30a1 100644 --- a/src/services/checkout/ordersApi.ts +++ b/src/services/checkout/ordersApi.ts @@ -17,7 +17,6 @@ import { CancelOrderResponse, CreateOrderRequest, CreateOrderResponse, - ServiceError, ObjectSerializer } from "../../typings/checkout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/checkout/paymentLinksApi.ts b/src/services/checkout/paymentLinksApi.ts index 548d781a8..6fcad85cf 100644 --- a/src/services/checkout/paymentLinksApi.ts +++ b/src/services/checkout/paymentLinksApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { PaymentLinkRequest, PaymentLinkResponse, - ServiceError, UpdatePaymentLinkRequest, ObjectSerializer } from "../../typings/checkout/models"; diff --git a/src/services/checkout/paymentsApi.ts b/src/services/checkout/paymentsApi.ts index 72e5a00e6..3a6a35ed4 100644 --- a/src/services/checkout/paymentsApi.ts +++ b/src/services/checkout/paymentsApi.ts @@ -21,7 +21,6 @@ import { PaymentMethodsResponse, PaymentRequest, PaymentResponse, - ServiceError, SessionResultResponse, ObjectSerializer } from "../../typings/checkout/models"; diff --git a/src/services/checkout/utilityApi.ts b/src/services/checkout/utilityApi.ts index 572635258..1092b4048 100644 --- a/src/services/checkout/utilityApi.ts +++ b/src/services/checkout/utilityApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { ApplePaySessionRequest, ApplePaySessionResponse, - ServiceError, UtilityRequest, UtilityResponse, ObjectSerializer diff --git a/src/services/dataProtectionApi.ts b/src/services/dataProtectionApi.ts index 07db4b737..7c2a0f30c 100644 --- a/src/services/dataProtectionApi.ts +++ b/src/services/dataProtectionApi.ts @@ -10,7 +10,6 @@ import Client from "../client"; import getJsonResponse from "../helpers/getJsonResponse"; import Service from "../service"; -import { ServiceError } from "../typings/dataProtection/models"; import { SubjectErasureByPspReferenceRequest } from "../typings/dataProtection/models"; import { SubjectErasureResponse } from "../typings/dataProtection/models"; import { IRequest } from "../typings/requestOptions"; diff --git a/src/services/disputesApi.ts b/src/services/disputesApi.ts index 86b6f3de0..f2f61b18b 100644 --- a/src/services/disputesApi.ts +++ b/src/services/disputesApi.ts @@ -18,7 +18,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"; import { IRequest } from "../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/businessLinesApi.ts b/src/services/legalEntityManagement/businessLinesApi.ts index 6c7796f6f..45ce6adaa 100644 --- a/src/services/legalEntityManagement/businessLinesApi.ts +++ b/src/services/legalEntityManagement/businessLinesApi.ts @@ -14,7 +14,6 @@ import { BusinessLine, BusinessLineInfo, BusinessLineInfoUpdate, - ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/documentsApi.ts b/src/services/legalEntityManagement/documentsApi.ts index a18dbde4d..563c1d621 100644 --- a/src/services/legalEntityManagement/documentsApi.ts +++ b/src/services/legalEntityManagement/documentsApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { Document, - ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/hostedOnboardingApi.ts b/src/services/legalEntityManagement/hostedOnboardingApi.ts index 8467218db..a217be595 100644 --- a/src/services/legalEntityManagement/hostedOnboardingApi.ts +++ b/src/services/legalEntityManagement/hostedOnboardingApi.ts @@ -15,7 +15,6 @@ import { OnboardingLinkInfo, OnboardingTheme, OnboardingThemes, - ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/legalEntitiesApi.ts b/src/services/legalEntityManagement/legalEntitiesApi.ts index fb12a96a2..1fc9b48e3 100644 --- a/src/services/legalEntityManagement/legalEntitiesApi.ts +++ b/src/services/legalEntityManagement/legalEntitiesApi.ts @@ -16,7 +16,6 @@ import { LegalEntity, LegalEntityInfo, LegalEntityInfoRequiredType, - ServiceError, VerificationErrors, ObjectSerializer } from "../../typings/legalEntityManagement/models"; diff --git a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts index 9fa5950e9..3b9d32711 100644 --- a/src/services/legalEntityManagement/pCIQuestionnairesApi.ts +++ b/src/services/legalEntityManagement/pCIQuestionnairesApi.ts @@ -17,7 +17,6 @@ import { GetPciQuestionnaireResponse, PciSigningRequest, PciSigningResponse, - ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/termsOfServiceApi.ts b/src/services/legalEntityManagement/termsOfServiceApi.ts index 3b307dc2f..a279540d8 100644 --- a/src/services/legalEntityManagement/termsOfServiceApi.ts +++ b/src/services/legalEntityManagement/termsOfServiceApi.ts @@ -17,7 +17,6 @@ import { GetTermsOfServiceAcceptanceInfosResponse, GetTermsOfServiceDocumentRequest, GetTermsOfServiceDocumentResponse, - ServiceError, ObjectSerializer } from "../../typings/legalEntityManagement/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/legalEntityManagement/transferInstrumentsApi.ts b/src/services/legalEntityManagement/transferInstrumentsApi.ts index 7f6073adf..8e58ae184 100644 --- a/src/services/legalEntityManagement/transferInstrumentsApi.ts +++ b/src/services/legalEntityManagement/transferInstrumentsApi.ts @@ -10,8 +10,7 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { - ServiceError, +import { TransferInstrument, TransferInstrumentInfo, ObjectSerializer diff --git a/src/services/management/aPICredentialsCompanyLevelApi.ts b/src/services/management/aPICredentialsCompanyLevelApi.ts index 9bdb6cb02..2822cbbce 100644 --- a/src/services/management/aPICredentialsCompanyLevelApi.ts +++ b/src/services/management/aPICredentialsCompanyLevelApi.ts @@ -15,7 +15,6 @@ import { CreateCompanyApiCredentialRequest, CreateCompanyApiCredentialResponse, ListCompanyApiCredentialsResponse, - RestServiceError, UpdateCompanyApiCredentialRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/aPICredentialsMerchantLevelApi.ts b/src/services/management/aPICredentialsMerchantLevelApi.ts index 86830c0d6..6dccd370c 100644 --- a/src/services/management/aPICredentialsMerchantLevelApi.ts +++ b/src/services/management/aPICredentialsMerchantLevelApi.ts @@ -15,7 +15,6 @@ import { CreateApiCredentialResponse, CreateMerchantApiCredentialRequest, ListMerchantApiCredentialsResponse, - RestServiceError, UpdateMerchantApiCredentialRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/aPIKeyCompanyLevelApi.ts b/src/services/management/aPIKeyCompanyLevelApi.ts index 0a1070979..c8a128d6e 100644 --- a/src/services/management/aPIKeyCompanyLevelApi.ts +++ b/src/services/management/aPIKeyCompanyLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { GenerateApiKeyResponse, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/aPIKeyMerchantLevelApi.ts b/src/services/management/aPIKeyMerchantLevelApi.ts index 6b8740ab2..a1f23dd3a 100644 --- a/src/services/management/aPIKeyMerchantLevelApi.ts +++ b/src/services/management/aPIKeyMerchantLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { GenerateApiKeyResponse, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/accountCompanyLevelApi.ts b/src/services/management/accountCompanyLevelApi.ts index 1caa3bc7e..21d1c5c42 100644 --- a/src/services/management/accountCompanyLevelApi.ts +++ b/src/services/management/accountCompanyLevelApi.ts @@ -14,7 +14,6 @@ import { Company, ListCompanyResponse, ListMerchantResponse, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/accountMerchantLevelApi.ts b/src/services/management/accountMerchantLevelApi.ts index 3bd650245..f8a1dee7d 100644 --- a/src/services/management/accountMerchantLevelApi.ts +++ b/src/services/management/accountMerchantLevelApi.ts @@ -16,7 +16,6 @@ import { ListMerchantResponse, Merchant, RequestActivationResponse, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/accountStoreLevelApi.ts b/src/services/management/accountStoreLevelApi.ts index b3d6c4d8c..545afe5eb 100644 --- a/src/services/management/accountStoreLevelApi.ts +++ b/src/services/management/accountStoreLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { ListStoresResponse, - RestServiceError, Store, StoreCreationRequest, StoreCreationWithMerchantCodeRequest, diff --git a/src/services/management/allowedOriginsCompanyLevelApi.ts b/src/services/management/allowedOriginsCompanyLevelApi.ts index 64ca5092b..f13ec1f4c 100644 --- a/src/services/management/allowedOriginsCompanyLevelApi.ts +++ b/src/services/management/allowedOriginsCompanyLevelApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { AllowedOrigin, AllowedOriginsResponse, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/allowedOriginsMerchantLevelApi.ts b/src/services/management/allowedOriginsMerchantLevelApi.ts index a6a98b768..91cb2cb87 100644 --- a/src/services/management/allowedOriginsMerchantLevelApi.ts +++ b/src/services/management/allowedOriginsMerchantLevelApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { AllowedOrigin, AllowedOriginsResponse, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/androidFilesCompanyLevelApi.ts b/src/services/management/androidFilesCompanyLevelApi.ts index 699271ee3..033fad64b 100644 --- a/src/services/management/androidFilesCompanyLevelApi.ts +++ b/src/services/management/androidFilesCompanyLevelApi.ts @@ -14,7 +14,6 @@ import { AndroidApp, AndroidAppsResponse, AndroidCertificatesResponse, - RestServiceError, UploadAndroidAppResponse, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/clientKeyCompanyLevelApi.ts b/src/services/management/clientKeyCompanyLevelApi.ts index 3369429bb..ac6dd07b4 100644 --- a/src/services/management/clientKeyCompanyLevelApi.ts +++ b/src/services/management/clientKeyCompanyLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { GenerateClientKeyResponse, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/clientKeyMerchantLevelApi.ts b/src/services/management/clientKeyMerchantLevelApi.ts index eb2c13d28..4e4f9c4a0 100644 --- a/src/services/management/clientKeyMerchantLevelApi.ts +++ b/src/services/management/clientKeyMerchantLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { GenerateClientKeyResponse, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/myAPICredentialApi.ts b/src/services/management/myAPICredentialApi.ts index 4d80fd02f..e01f51baa 100644 --- a/src/services/management/myAPICredentialApi.ts +++ b/src/services/management/myAPICredentialApi.ts @@ -16,7 +16,6 @@ import { CreateAllowedOriginRequest, GenerateClientKeyResponse, MeApiCredential, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/paymentMethodsMerchantLevelApi.ts b/src/services/management/paymentMethodsMerchantLevelApi.ts index 4953f5af4..210b8134f 100644 --- a/src/services/management/paymentMethodsMerchantLevelApi.ts +++ b/src/services/management/paymentMethodsMerchantLevelApi.ts @@ -15,7 +15,6 @@ import { PaymentMethod, PaymentMethodResponse, PaymentMethodSetupInfo, - RestServiceError, UpdatePaymentMethodInfo, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/payoutSettingsMerchantLevelApi.ts b/src/services/management/payoutSettingsMerchantLevelApi.ts index b70bce7f8..6574022ee 100644 --- a/src/services/management/payoutSettingsMerchantLevelApi.ts +++ b/src/services/management/payoutSettingsMerchantLevelApi.ts @@ -14,7 +14,6 @@ import { PayoutSettings, PayoutSettingsRequest, PayoutSettingsResponse, - RestServiceError, UpdatePayoutSettingsRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/splitConfigurationMerchantLevelApi.ts b/src/services/management/splitConfigurationMerchantLevelApi.ts index a266ee9be..202d77de0 100644 --- a/src/services/management/splitConfigurationMerchantLevelApi.ts +++ b/src/services/management/splitConfigurationMerchantLevelApi.ts @@ -10,8 +10,7 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { - RestServiceError, +import { SplitConfiguration, SplitConfigurationList, SplitConfigurationRule, diff --git a/src/services/management/terminalActionsCompanyLevelApi.ts b/src/services/management/terminalActionsCompanyLevelApi.ts index 5cdad0cac..ff1903e73 100644 --- a/src/services/management/terminalActionsCompanyLevelApi.ts +++ b/src/services/management/terminalActionsCompanyLevelApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { ExternalTerminalAction, ListExternalTerminalActionsResponse, - RestServiceError, ObjectSerializer } from "../../typings/management/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/management/terminalActionsTerminalLevelApi.ts b/src/services/management/terminalActionsTerminalLevelApi.ts index 783686fe0..b9e729cf2 100644 --- a/src/services/management/terminalActionsTerminalLevelApi.ts +++ b/src/services/management/terminalActionsTerminalLevelApi.ts @@ -10,8 +10,7 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { - RestServiceError, +import { ScheduleTerminalActionsRequest, ScheduleTerminalActionsResponse, ObjectSerializer diff --git a/src/services/management/terminalOrdersCompanyLevelApi.ts b/src/services/management/terminalOrdersCompanyLevelApi.ts index 6b353199d..f444bb764 100644 --- a/src/services/management/terminalOrdersCompanyLevelApi.ts +++ b/src/services/management/terminalOrdersCompanyLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { BillingEntitiesResponse, - RestServiceError, ShippingLocation, ShippingLocationsResponse, TerminalModelsResponse, diff --git a/src/services/management/terminalOrdersMerchantLevelApi.ts b/src/services/management/terminalOrdersMerchantLevelApi.ts index 6caf70726..06e39cea5 100644 --- a/src/services/management/terminalOrdersMerchantLevelApi.ts +++ b/src/services/management/terminalOrdersMerchantLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { BillingEntitiesResponse, - RestServiceError, ShippingLocation, ShippingLocationsResponse, TerminalModelsResponse, diff --git a/src/services/management/terminalSettingsCompanyLevelApi.ts b/src/services/management/terminalSettingsCompanyLevelApi.ts index 5fb48db84..e56221a1e 100644 --- a/src/services/management/terminalSettingsCompanyLevelApi.ts +++ b/src/services/management/terminalSettingsCompanyLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { Logo, - RestServiceError, TerminalSettings, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/terminalSettingsMerchantLevelApi.ts b/src/services/management/terminalSettingsMerchantLevelApi.ts index cf97028e8..6c41e12fd 100644 --- a/src/services/management/terminalSettingsMerchantLevelApi.ts +++ b/src/services/management/terminalSettingsMerchantLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { Logo, - RestServiceError, TerminalSettings, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/terminalSettingsStoreLevelApi.ts b/src/services/management/terminalSettingsStoreLevelApi.ts index 7f8711311..89b2f4373 100644 --- a/src/services/management/terminalSettingsStoreLevelApi.ts +++ b/src/services/management/terminalSettingsStoreLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { Logo, - RestServiceError, TerminalSettings, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/terminalSettingsTerminalLevelApi.ts b/src/services/management/terminalSettingsTerminalLevelApi.ts index 0e706e759..1893a17c6 100644 --- a/src/services/management/terminalSettingsTerminalLevelApi.ts +++ b/src/services/management/terminalSettingsTerminalLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { Logo, - RestServiceError, TerminalSettings, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/terminalsTerminalLevelApi.ts b/src/services/management/terminalsTerminalLevelApi.ts index b230c217b..c0ef8f83f 100644 --- a/src/services/management/terminalsTerminalLevelApi.ts +++ b/src/services/management/terminalsTerminalLevelApi.ts @@ -12,7 +12,6 @@ import Service from "../../service"; import Client from "../../client"; import { ListTerminalsResponse, - RestServiceError, TerminalReassignmentRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/usersCompanyLevelApi.ts b/src/services/management/usersCompanyLevelApi.ts index 55f9a62c4..9af238a0a 100644 --- a/src/services/management/usersCompanyLevelApi.ts +++ b/src/services/management/usersCompanyLevelApi.ts @@ -15,7 +15,6 @@ import { CreateCompanyUserRequest, CreateCompanyUserResponse, ListCompanyUsersResponse, - RestServiceError, UpdateCompanyUserRequest, ObjectSerializer } from "../../typings/management/models"; diff --git a/src/services/management/usersMerchantLevelApi.ts b/src/services/management/usersMerchantLevelApi.ts index ebb82d2bc..7726040e5 100644 --- a/src/services/management/usersMerchantLevelApi.ts +++ b/src/services/management/usersMerchantLevelApi.ts @@ -14,7 +14,6 @@ import { CreateMerchantUserRequest, CreateUserResponse, ListMerchantUsersResponse, - RestServiceError, UpdateMerchantUserRequest, User, ObjectSerializer diff --git a/src/services/management/webhooksCompanyLevelApi.ts b/src/services/management/webhooksCompanyLevelApi.ts index c3c85c61d..802aebf34 100644 --- a/src/services/management/webhooksCompanyLevelApi.ts +++ b/src/services/management/webhooksCompanyLevelApi.ts @@ -14,7 +14,6 @@ import { CreateCompanyWebhookRequest, GenerateHmacKeyResponse, ListWebhooksResponse, - RestServiceError, TestCompanyWebhookRequest, TestWebhookResponse, UpdateCompanyWebhookRequest, diff --git a/src/services/management/webhooksMerchantLevelApi.ts b/src/services/management/webhooksMerchantLevelApi.ts index 9b0b2dc52..e41f15630 100644 --- a/src/services/management/webhooksMerchantLevelApi.ts +++ b/src/services/management/webhooksMerchantLevelApi.ts @@ -14,7 +14,6 @@ import { CreateMerchantWebhookRequest, GenerateHmacKeyResponse, ListWebhooksResponse, - RestServiceError, TestWebhookRequest, TestWebhookResponse, UpdateMerchantWebhookRequest, diff --git a/src/services/paymentApi.ts b/src/services/paymentApi.ts index 0d8d11d06..d75c968e2 100644 --- a/src/services/paymentApi.ts +++ b/src/services/paymentApi.ts @@ -23,7 +23,6 @@ import { PaymentRequest3d } from "../typings/payment/models"; import { PaymentRequest3ds2 } from "../typings/payment/models"; import { PaymentResult } from "../typings/payment/models"; import { RefundRequest } from "../typings/payment/models"; -import { ServiceError } from "../typings/payment/models"; import { TechnicalCancelRequest } from "../typings/payment/models"; import { ThreeDS2ResultRequest } from "../typings/payment/models"; import { ThreeDS2ResultResponse } from "../typings/payment/models"; diff --git a/src/services/payout/initializationApi.ts b/src/services/payout/initializationApi.ts index d4441c599..03fce51d8 100644 --- a/src/services/payout/initializationApi.ts +++ b/src/services/payout/initializationApi.ts @@ -10,8 +10,7 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { - ServiceError, +import { StoreDetailAndSubmitRequest, StoreDetailAndSubmitResponse, StoreDetailRequest, diff --git a/src/services/payout/instantPayoutsApi.ts b/src/services/payout/instantPayoutsApi.ts index 2b58a4edd..421a4147f 100644 --- a/src/services/payout/instantPayoutsApi.ts +++ b/src/services/payout/instantPayoutsApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { PayoutRequest, PayoutResponse, - ServiceError, ObjectSerializer } from "../../typings/payout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/payout/reviewingApi.ts b/src/services/payout/reviewingApi.ts index e1903496a..a5e014232 100644 --- a/src/services/payout/reviewingApi.ts +++ b/src/services/payout/reviewingApi.ts @@ -13,7 +13,6 @@ import Client from "../../client"; import { ModifyRequest, ModifyResponse, - ServiceError, ObjectSerializer } from "../../typings/payout/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/recurringApi.ts b/src/services/recurringApi.ts index daf1c7005..f4d672a04 100644 --- a/src/services/recurringApi.ts +++ b/src/services/recurringApi.ts @@ -22,7 +22,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"; import { IRequest } from "../typings/requestOptions"; import Resource from "./resource"; import { ObjectSerializer } from "../typings/recurring/models"; diff --git a/src/services/storedValueApi.ts b/src/services/storedValueApi.ts index e675d176e..28425347d 100644 --- a/src/services/storedValueApi.ts +++ b/src/services/storedValueApi.ts @@ -10,7 +10,6 @@ import Client from "../client"; import getJsonResponse from "../helpers/getJsonResponse"; import Service from "../service"; -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/terminalManagementApi.ts b/src/services/terminalManagementApi.ts index b654d9cb8..7effe9e62 100644 --- a/src/services/terminalManagementApi.ts +++ b/src/services/terminalManagementApi.ts @@ -20,7 +20,6 @@ import { GetTerminalDetailsRequest } from "../typings/terminalManagement/models" import { GetTerminalDetailsResponse } from "../typings/terminalManagement/models"; import { GetTerminalsUnderAccountRequest } from "../typings/terminalManagement/models"; import { GetTerminalsUnderAccountResponse } from "../typings/terminalManagement/models"; -import { ServiceError } from "../typings/terminalManagement/models"; import { IRequest } from "../typings/requestOptions"; import Resource from "./resource"; import { ObjectSerializer } from "../typings/terminalManagement/models"; diff --git a/src/services/transfers/capitalApi.ts b/src/services/transfers/capitalApi.ts index b7f19bc5c..a5a3e2c3e 100644 --- a/src/services/transfers/capitalApi.ts +++ b/src/services/transfers/capitalApi.ts @@ -14,7 +14,6 @@ import { CapitalGrant, CapitalGrantInfo, CapitalGrants, - RestServiceError, ObjectSerializer } from "../../typings/transfers/models"; import { IRequest } from "../../typings/requestOptions"; diff --git a/src/services/transfers/transactionsApi.ts b/src/services/transfers/transactionsApi.ts index 18a397b64..3146cedb6 100644 --- a/src/services/transfers/transactionsApi.ts +++ b/src/services/transfers/transactionsApi.ts @@ -10,8 +10,7 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { - RestServiceError, +import { Transaction, TransactionSearchResponse, ObjectSerializer diff --git a/src/services/transfers/transfersApi.ts b/src/services/transfers/transfersApi.ts index e321fcde0..5a9107a82 100644 --- a/src/services/transfers/transfersApi.ts +++ b/src/services/transfers/transfersApi.ts @@ -10,11 +10,9 @@ import getJsonResponse from "../../helpers/getJsonResponse"; import Service from "../../service"; import Client from "../../client"; -import { - RestServiceError, +import { ReturnTransferRequest, ReturnTransferResponse, - ServiceError, Transfer, TransferInfo, ObjectSerializer