diff --git a/src/api/types.ts b/src/api/types.ts index d1c23cb..5efe0e9 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -473,24 +473,6 @@ export interface Token { scope?: string; } -export interface ServiceAccountInput { - name: string; -} - -export interface ServiceAccount { - id: string; - createdAt: string; - updatedAt: string; - name: string; - clientId: string; - clientSecret: string; -} - -export interface ServiceAccountsListResult { - total: number; - data: ServiceAccount[]; -} - /** * Teams */ diff --git a/src/api/yepcodeApi.ts b/src/api/yepcodeApi.ts index a123f8b..cf90f2f 100644 --- a/src/api/yepcodeApi.ts +++ b/src/api/yepcodeApi.ts @@ -35,9 +35,6 @@ import { StorageObject, CreateStorageObjectInput, Token, - ServiceAccountInput, - ServiceAccount, - ServiceAccountsListResult, Sandbox, CreateSandboxInput, UpdateSandboxInput, @@ -808,20 +805,6 @@ export class YepCodeApi { }); } - async getAllServiceAccounts(): Promise { - return this.request("GET", "/auth/service-accounts"); - } - - async createServiceAccount( - data: ServiceAccountInput - ): Promise { - return this.request("POST", "/auth/service-accounts", { data }); - } - - async deleteServiceAccount(id: string): Promise { - return this.request("DELETE", `/auth/service-accounts/${id}`); - } - // Team endpoints async getTeam(): Promise { return this.request("GET", "/team");