Properties
create
create: function
Type declaration
-
- (payload: any, headers?: any): Promise<AxiosPromise<any>>
-
Parameters
-
payload: any
-
Optional headers: any
Returns Promise<AxiosPromise<any>>
destroy
destroy: function
Type declaration
-
- (id: string | number, headers?: any): Promise<AxiosPromise<any>>
-
Parameters
-
id: string | number
-
Optional headers: any
Returns Promise<AxiosPromise<any>>
getOne
getOne: function
Type declaration
-
- (id: string | number, headers?: any): Promise<AxiosPromise<any>>
-
Parameters
-
id: string | number
-
Optional headers: any
Returns Promise<AxiosPromise<any>>
list
list: function
Type declaration
-
- (queryObj?: any, headers?: any): Promise<AxiosPromise<any>>
-
Parameters
-
Optional queryObj: any
-
Optional headers: any
Returns Promise<AxiosPromise<any>>
update
update: function
Type declaration
-
- (id: string | number, payload: any, headers?: any): Promise<AxiosPromise<any>>
-
Parameters
-
id: string | number
-
payload: any
-
Optional headers: any
Returns Promise<AxiosPromise<any>>