From 613491605e490541dd84a8f50163385abc10fd6b Mon Sep 17 00:00:00 2001 From: Alessio Zampatti Date: Fri, 11 Aug 2023 12:48:07 +0200 Subject: [PATCH 1/3] Fix ManagementAPI typo --- src/services/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/index.ts b/src/services/index.ts index 2742a021b..480ffb9f0 100644 --- a/src/services/index.ts +++ b/src/services/index.ts @@ -8,7 +8,7 @@ export { default as PayoutAPI } from "./payout"; export { default as Platforms } from "./platforms"; export { default as StoredValueAPI} from "./storedValueApi"; export { default as TerminalManagementAPI } from "./terminalManagementApi"; -export { default as ManagemenAPI } from "./management"; +export { default as ManagementAPI } from "./management"; export { default as LegalEntityManagementAPI } from "./legalEntityManagement"; export { default as TransfersAPI } from "./transfers"; export { default as BalancePlatformAPI } from "./balancePlatform"; From adc82ae70518c8cc795c53887ee48d3f875328f3 Mon Sep 17 00:00:00 2001 From: Alessio Zampatti Date: Fri, 11 Aug 2023 12:48:43 +0200 Subject: [PATCH 2/3] Update management.spec.ts --- src/__tests__/management.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/management.spec.ts b/src/__tests__/management.spec.ts index 1873ac968..701158e57 100644 --- a/src/__tests__/management.spec.ts +++ b/src/__tests__/management.spec.ts @@ -1,7 +1,7 @@ import nock from "nock"; import Client from "../client"; import { createClient } from "../__mocks__/base"; -import { ManagemenAPI } from "../services"; +import { ManagementAPI } from "../services"; import { management } from "../typings"; import * as requests from "../__mocks__/management/requests"; import * as responses from "../__mocks__/management/responses"; From ec58d3f61aab92d7eac6dca8fe83518762ad4ae5 Mon Sep 17 00:00:00 2001 From: Alessio Zampatti Date: Wed, 16 Aug 2023 09:47:50 +0000 Subject: [PATCH 3/3] fix tests --- src/__tests__/management.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__tests__/management.spec.ts b/src/__tests__/management.spec.ts index 701158e57..da3e50287 100644 --- a/src/__tests__/management.spec.ts +++ b/src/__tests__/management.spec.ts @@ -11,7 +11,7 @@ import {forbiddenError} from "../__mocks__/management/forbidden403"; import {invalidUserCreated422} from "../__mocks__/management/invalidUserCreated422"; let client: Client; -let managementService: ManagemenAPI; +let managementService: ManagementAPI; let scope: nock.Scope; const merchantId = "merchantId"; @@ -29,7 +29,7 @@ beforeEach((): void => { } client = createClient(); scope = nock("https://management-test.adyen.com/v1"); - managementService = new ManagemenAPI(client); + managementService = new ManagementAPI(client); }); afterEach(() => {