File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -473,24 +473,6 @@ export interface Token {
473473 scope ?: string ;
474474}
475475
476- export interface ServiceAccountInput {
477- name : string ;
478- }
479-
480- export interface ServiceAccount {
481- id : string ;
482- createdAt : string ;
483- updatedAt : string ;
484- name : string ;
485- clientId : string ;
486- clientSecret : string ;
487- }
488-
489- export interface ServiceAccountsListResult {
490- total : number ;
491- data : ServiceAccount [ ] ;
492- }
493-
494476/**
495477 * Teams
496478 */
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ import {
3535 StorageObject ,
3636 CreateStorageObjectInput ,
3737 Token ,
38- ServiceAccountInput ,
39- ServiceAccount ,
40- ServiceAccountsListResult ,
4138 Sandbox ,
4239 CreateSandboxInput ,
4340 UpdateSandboxInput ,
@@ -808,20 +805,6 @@ export class YepCodeApi {
808805 } ) ;
809806 }
810807
811- async getAllServiceAccounts ( ) : Promise < ServiceAccountsListResult > {
812- return this . request ( "GET" , "/auth/service-accounts" ) ;
813- }
814-
815- async createServiceAccount (
816- data : ServiceAccountInput
817- ) : Promise < ServiceAccount > {
818- return this . request ( "POST" , "/auth/service-accounts" , { data } ) ;
819- }
820-
821- async deleteServiceAccount ( id : string ) : Promise < void > {
822- return this . request ( "DELETE" , `/auth/service-accounts/${ id } ` ) ;
823- }
824-
825808 // Team endpoints
826809 async getTeam ( ) : Promise < Team > {
827810 return this . request ( "GET" , "/team" ) ;
You can’t perform that action at this time.
0 commit comments