@@ -17,11 +17,11 @@ import http = require('http');
17
17
import { GetAccount } from '../model/getAccount' ;
18
18
19
19
import { ObjectSerializer , Authentication , VoidAuth , Interceptor } from '../model/models' ;
20
- import { HttpBasicAuth , HttpBearerAuth , ApiKeyAuth , OAuth } from '../model/models' ;
20
+ import { ApiKeyAuth } from '../model/models' ;
21
21
22
- import { HttpError , RequestFile } from './apis' ;
22
+ import { HttpError } from './apis' ;
23
23
24
- let defaultBasePath = 'https://api.sendinblue.com/v3' ;
24
+ const defaultBasePath = 'https://api.sendinblue.com/v3' ;
25
25
26
26
// ===============================================
27
27
// This file is autogenerated - Please do not edit
@@ -34,8 +34,8 @@ export enum AccountApiApiKeys {
34
34
35
35
export class AccountApi {
36
36
protected _basePath = defaultBasePath ;
37
- protected _defaultHeaders : any = { 'user-agent' : 'sendinblue_clientAPI/v2.2.0/ts-node' } ; ;
38
- protected _useQuerystring : boolean = false ;
37
+ protected _defaultHeaders : any = { 'user-agent' : 'sendinblue_clientAPI/v2.2.0/ts-node' } ;
38
+ protected _useQuerystring = false ;
39
39
40
40
protected authentications = {
41
41
'default' : < Authentication > new VoidAuth ( ) ,
@@ -100,22 +100,22 @@ export class AccountApi {
100
100
*/
101
101
public async getAccount ( options : { headers : { [ name : string ] : string } } = { headers : { } } ) : Promise < { response : http . IncomingMessage ; body : GetAccount ; } > {
102
102
const localVarPath = this . basePath + '/account' ;
103
- let localVarQueryParameters : any = { } ;
104
- let localVarHeaderParams : any = ( < any > Object ) . assign ( { } , this . _defaultHeaders ) ;
103
+ const localVarQueryParameters : any = { } ;
104
+ const localVarHeaderParams : any = ( < any > Object ) . assign ( { } , this . _defaultHeaders ) ;
105
105
const produces = [ 'application/json' ] ;
106
106
// give precedence to 'application/json'
107
107
if ( produces . indexOf ( 'application/json' ) >= 0 ) {
108
108
localVarHeaderParams . Accept = 'application/json' ;
109
109
} else {
110
110
localVarHeaderParams . Accept = produces . join ( ',' ) ;
111
111
}
112
- let localVarFormParams : any = { } ;
112
+ const localVarFormParams : any = { } ;
113
113
114
114
( < any > Object ) . assign ( localVarHeaderParams , options . headers ) ;
115
115
116
- let localVarUseFormData = false ;
116
+ const localVarUseFormData = false ;
117
117
118
- let localVarRequestOptions : localVarRequest . Options = {
118
+ const localVarRequestOptions : localVarRequest . Options = {
119
119
method : 'GET' ,
120
120
qs : localVarQueryParameters ,
121
121
headers : localVarHeaderParams ,
0 commit comments