Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CompaniesService

The companies service

extends

{BaseService}

Hierarchy

Index

Constructors

constructor

Methods

create

  • create(company: Company): Promise<ApiResponseDto<Company>>

Protected deleteVerb

  • deleteVerb(path: string): Promise<any>

getById

  • getById(id: string): Promise<ApiResponseDto<Company>>

getByOwnerId

  • getByOwnerId(ownerId: string): Promise<ApiResponseDto<Array<Company>>>
  • Return all the companies of which the given id is a owner

    Parameters

    • ownerId: string

      The owner identifier

    Returns Promise<ApiResponseDto<Array<Company>>>

Protected getVerb

  • getVerb(path: string, options?: any): Promise<any>

Protected postVerb

  • postVerb(path: string, body: any): Promise<any>

Protected postVerbObservable

  • postVerbObservable(path: string, body: any): Observable<any>

Protected putVerb

  • putVerb(path: string, body: any): Promise<any>

update

  • update(company: Company): Promise<ApiResponseDto<Company>>

Generated using TypeDoc