@@ -6,32 +6,32 @@ export class ApiClient {
6
6
this . request = request ;
7
7
}
8
8
9
- public async get < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
9
+ async get < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
10
10
let response = await this . makeRequest ( RequestMethod . GET , url , options )
11
11
return response ;
12
12
}
13
13
14
- public async post < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
14
+ async post < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
15
15
let response = await this . makeRequest ( RequestMethod . POST , url , options )
16
16
return response ;
17
17
}
18
18
19
- public async put < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
19
+ async put < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
20
20
let response = await this . makeRequest ( RequestMethod . PUT , url , options )
21
21
return response ;
22
22
}
23
23
24
- public async patch < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
24
+ async patch < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
25
25
let response = await this . makeRequest ( RequestMethod . PATCH , url , options )
26
26
return response ;
27
27
}
28
28
29
- public async delete < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
29
+ async delete < T > ( url : string , options : ApiOptionalParams < T > = { } ) {
30
30
let response = await this . makeRequest ( RequestMethod . DELETE , url , options )
31
31
return response ;
32
32
}
33
33
34
- public async paginateRequest < T > (
34
+ async paginateRequest < T > (
35
35
method : RequestMethod ,
36
36
url : string ,
37
37
paginationType : PaginationType ,
0 commit comments