From ed3783ea6bd86b76a24c7446af6c64c44cd30163 Mon Sep 17 00:00:00 2001 From: Anki Batsukh Date: Tue, 17 Oct 2023 15:02:06 +0200 Subject: [PATCH] remove AddSurchargeReturnType --- src/clockodo.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/clockodo.ts b/src/clockodo.ts index db066583..1077c9c1 100644 --- a/src/clockodo.ts +++ b/src/clockodo.ts @@ -466,7 +466,7 @@ export class Clockodo { async addSurcharge( params: Params> - ): Promise { + ): Promise { REQUIRED.checkRequired(params, REQUIRED.ADD_SURCHARGE); return this.api.post("/v2/surcharges", params); @@ -1045,10 +1045,6 @@ export type AddUserReturnType = { user: User; }; -export type AddSurchargeReturnType = { - surcharge: Surcharge; -}; - export type WorkTimesParams = { /** The user ID by which the work times should be filtered */ usersId?: number;