@@ -17,11 +17,11 @@ import http = require('http');
1717import { GetAccount } from '../model/getAccount' ;
1818
1919import { ObjectSerializer , Authentication , VoidAuth , Interceptor } from '../model/models' ;
20- import { HttpBasicAuth , HttpBearerAuth , ApiKeyAuth , OAuth } from '../model/models' ;
20+ import { ApiKeyAuth } from '../model/models' ;
2121
22- import { HttpError , RequestFile } from './apis' ;
22+ import { HttpError } from './apis' ;
2323
24- let defaultBasePath = 'https://api.sendinblue.com/v3' ;
24+ const defaultBasePath = 'https://api.sendinblue.com/v3' ;
2525
2626// ===============================================
2727// This file is autogenerated - Please do not edit
@@ -34,8 +34,8 @@ export enum AccountApiApiKeys {
3434
3535export class AccountApi {
3636 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 ;
3939
4040 protected authentications = {
4141 'default' : < Authentication > new VoidAuth ( ) ,
@@ -100,22 +100,22 @@ export class AccountApi {
100100 */
101101 public async getAccount ( options : { headers : { [ name : string ] : string } } = { headers : { } } ) : Promise < { response : http . IncomingMessage ; body : GetAccount ; } > {
102102 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 ) ;
105105 const produces = [ 'application/json' ] ;
106106 // give precedence to 'application/json'
107107 if ( produces . indexOf ( 'application/json' ) >= 0 ) {
108108 localVarHeaderParams . Accept = 'application/json' ;
109109 } else {
110110 localVarHeaderParams . Accept = produces . join ( ',' ) ;
111111 }
112- let localVarFormParams : any = { } ;
112+ const localVarFormParams : any = { } ;
113113
114114 ( < any > Object ) . assign ( localVarHeaderParams , options . headers ) ;
115115
116- let localVarUseFormData = false ;
116+ const localVarUseFormData = false ;
117117
118- let localVarRequestOptions : localVarRequest . Options = {
118+ const localVarRequestOptions : localVarRequest . Options = {
119119 method : 'GET' ,
120120 qs : localVarQueryParameters ,
121121 headers : localVarHeaderParams ,
0 commit comments