1313 */
1414
1515
16- import globalAxios , { AxiosPromise , AxiosInstance } from 'axios' ;
16+ import globalAxios , { AxiosPromise , AxiosInstance , AxiosRequestConfig } from 'axios' ;
1717import { Configuration } from '../configuration' ;
1818// Some imports not used depending on template conditions
1919// @ts -ignore
@@ -42,7 +42,7 @@ export const AppServicesApiAxiosParamCreator = function (configuration?: Configu
4242 * @param {* } [options] Override http request option.
4343 * @throws {RequiredError }
4444 */
45- apiAccountsMgmtV1AccessTokenPost : async ( options : any = { } ) : Promise < RequestArgs > => {
45+ apiAccountsMgmtV1AccessTokenPost : async ( options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
4646 const localVarPath = `/api/accounts_mgmt/v1/access_token` ;
4747 // use dummy base URL string because the URL constructor only accepts absolute URLs.
4848 const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -61,7 +61,7 @@ export const AppServicesApiAxiosParamCreator = function (configuration?: Configu
6161
6262
6363
64- setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ;
64+ setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
6565 let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
6666 localVarRequestOptions . headers = { ...localVarHeaderParameter , ...headersFromBaseOptions , ...options . headers } ;
6767
@@ -77,7 +77,7 @@ export const AppServicesApiAxiosParamCreator = function (configuration?: Configu
7777 * @param {* } [options] Override http request option.
7878 * @throws {RequiredError }
7979 */
80- apiAccountsMgmtV1CurrentAccountGet : async ( fetchLabels ?: boolean , options : any = { } ) : Promise < RequestArgs > => {
80+ apiAccountsMgmtV1CurrentAccountGet : async ( fetchLabels ?: boolean , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
8181 const localVarPath = `/api/accounts_mgmt/v1/current_account` ;
8282 // use dummy base URL string because the URL constructor only accepts absolute URLs.
8383 const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -100,7 +100,7 @@ export const AppServicesApiAxiosParamCreator = function (configuration?: Configu
100100
101101
102102
103- setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ;
103+ setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
104104 let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
105105 localVarRequestOptions . headers = { ...localVarHeaderParameter , ...headersFromBaseOptions , ...options . headers } ;
106106
@@ -118,7 +118,7 @@ export const AppServicesApiAxiosParamCreator = function (configuration?: Configu
118118 * @param {* } [options] Override http request option.
119119 * @throws {RequiredError }
120120 */
121- apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet : async ( orgId : string , search ?: string , fetchRelatedResources ?: boolean , options : any = { } ) : Promise < RequestArgs > => {
121+ apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet : async ( orgId : string , search ?: string , fetchRelatedResources ?: boolean , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
122122 // verify required parameter 'orgId' is not null or undefined
123123 assertParamExists ( 'apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet' , 'orgId' , orgId )
124124 const localVarPath = `/api/accounts_mgmt/v1/organizations/{orgId}/quota_cost`
@@ -148,7 +148,7 @@ export const AppServicesApiAxiosParamCreator = function (configuration?: Configu
148148
149149
150150
151- setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ;
151+ setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
152152 let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
153153 localVarRequestOptions . headers = { ...localVarHeaderParameter , ...headersFromBaseOptions , ...options . headers } ;
154154
@@ -164,7 +164,7 @@ export const AppServicesApiAxiosParamCreator = function (configuration?: Configu
164164 * @param {* } [options] Override http request option.
165165 * @throws {RequiredError }
166166 */
167- apiAuthorizationsV1SelfTermsReviewPost : async ( selfTermsReview : SelfTermsReview , options : any = { } ) : Promise < RequestArgs > => {
167+ apiAuthorizationsV1SelfTermsReviewPost : async ( selfTermsReview : SelfTermsReview , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
168168 // verify required parameter 'selfTermsReview' is not null or undefined
169169 assertParamExists ( 'apiAuthorizationsV1SelfTermsReviewPost' , 'selfTermsReview' , selfTermsReview )
170170 const localVarPath = `/api/authorizations/v1/self_terms_review` ;
@@ -187,7 +187,7 @@ export const AppServicesApiAxiosParamCreator = function (configuration?: Configu
187187
188188 localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ;
189189
190- setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ;
190+ setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
191191 let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
192192 localVarRequestOptions . headers = { ...localVarHeaderParameter , ...headersFromBaseOptions , ...options . headers } ;
193193 localVarRequestOptions . data = serializeDataIfNeeded ( selfTermsReview , localVarRequestOptions , configuration )
@@ -213,7 +213,7 @@ export const AppServicesApiFp = function(configuration?: Configuration) {
213213 * @param {* } [options] Override http request option.
214214 * @throws {RequiredError }
215215 */
216- async apiAccountsMgmtV1AccessTokenPost ( options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < AccessTokenCfg > > {
216+ async apiAccountsMgmtV1AccessTokenPost ( options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < AccessTokenCfg > > {
217217 const localVarAxiosArgs = await localVarAxiosParamCreator . apiAccountsMgmtV1AccessTokenPost ( options ) ;
218218 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
219219 } ,
@@ -224,7 +224,7 @@ export const AppServicesApiFp = function(configuration?: Configuration) {
224224 * @param {* } [options] Override http request option.
225225 * @throws {RequiredError }
226226 */
227- async apiAccountsMgmtV1CurrentAccountGet ( fetchLabels ?: boolean , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < Account > > {
227+ async apiAccountsMgmtV1CurrentAccountGet ( fetchLabels ?: boolean , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < Account > > {
228228 const localVarAxiosArgs = await localVarAxiosParamCreator . apiAccountsMgmtV1CurrentAccountGet ( fetchLabels , options ) ;
229229 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
230230 } ,
@@ -237,7 +237,7 @@ export const AppServicesApiFp = function(configuration?: Configuration) {
237237 * @param {* } [options] Override http request option.
238238 * @throws {RequiredError }
239239 */
240- async apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet ( orgId : string , search ?: string , fetchRelatedResources ?: boolean , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < QuotaCostList > > {
240+ async apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet ( orgId : string , search ?: string , fetchRelatedResources ?: boolean , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < QuotaCostList > > {
241241 const localVarAxiosArgs = await localVarAxiosParamCreator . apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet ( orgId , search , fetchRelatedResources , options ) ;
242242 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
243243 } ,
@@ -248,7 +248,7 @@ export const AppServicesApiFp = function(configuration?: Configuration) {
248248 * @param {* } [options] Override http request option.
249249 * @throws {RequiredError }
250250 */
251- async apiAuthorizationsV1SelfTermsReviewPost ( selfTermsReview : SelfTermsReview , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < TermsReviewResponse > > {
251+ async apiAuthorizationsV1SelfTermsReviewPost ( selfTermsReview : SelfTermsReview , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < TermsReviewResponse > > {
252252 const localVarAxiosArgs = await localVarAxiosParamCreator . apiAuthorizationsV1SelfTermsReviewPost ( selfTermsReview , options ) ;
253253 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
254254 } ,
@@ -319,7 +319,7 @@ export interface AppServicesApiInterface {
319319 * @throws {RequiredError }
320320 * @memberof AppServicesApiInterface
321321 */
322- apiAccountsMgmtV1AccessTokenPost ( options ?: any ) : AxiosPromise < AccessTokenCfg > ;
322+ apiAccountsMgmtV1AccessTokenPost ( options ?: AxiosRequestConfig ) : AxiosPromise < AccessTokenCfg > ;
323323
324324 /**
325325 *
@@ -329,7 +329,7 @@ export interface AppServicesApiInterface {
329329 * @throws {RequiredError }
330330 * @memberof AppServicesApiInterface
331331 */
332- apiAccountsMgmtV1CurrentAccountGet ( fetchLabels ?: boolean , options ?: any ) : AxiosPromise < Account > ;
332+ apiAccountsMgmtV1CurrentAccountGet ( fetchLabels ?: boolean , options ?: AxiosRequestConfig ) : AxiosPromise < Account > ;
333333
334334 /**
335335 *
@@ -341,7 +341,7 @@ export interface AppServicesApiInterface {
341341 * @throws {RequiredError }
342342 * @memberof AppServicesApiInterface
343343 */
344- apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet ( orgId : string , search ?: string , fetchRelatedResources ?: boolean , options ?: any ) : AxiosPromise < QuotaCostList > ;
344+ apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet ( orgId : string , search ?: string , fetchRelatedResources ?: boolean , options ?: AxiosRequestConfig ) : AxiosPromise < QuotaCostList > ;
345345
346346 /**
347347 *
@@ -351,7 +351,7 @@ export interface AppServicesApiInterface {
351351 * @throws {RequiredError }
352352 * @memberof AppServicesApiInterface
353353 */
354- apiAuthorizationsV1SelfTermsReviewPost ( selfTermsReview : SelfTermsReview , options ?: any ) : AxiosPromise < TermsReviewResponse > ;
354+ apiAuthorizationsV1SelfTermsReviewPost ( selfTermsReview : SelfTermsReview , options ?: AxiosRequestConfig ) : AxiosPromise < TermsReviewResponse > ;
355355
356356}
357357
@@ -369,7 +369,7 @@ export class AppServicesApi extends BaseAPI implements AppServicesApiInterface {
369369 * @throws {RequiredError }
370370 * @memberof AppServicesApi
371371 */
372- public apiAccountsMgmtV1AccessTokenPost ( options ?: any ) {
372+ public apiAccountsMgmtV1AccessTokenPost ( options ?: AxiosRequestConfig ) {
373373 return AppServicesApiFp ( this . configuration ) . apiAccountsMgmtV1AccessTokenPost ( options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
374374 }
375375
@@ -381,7 +381,7 @@ export class AppServicesApi extends BaseAPI implements AppServicesApiInterface {
381381 * @throws {RequiredError }
382382 * @memberof AppServicesApi
383383 */
384- public apiAccountsMgmtV1CurrentAccountGet ( fetchLabels ?: boolean , options ?: any ) {
384+ public apiAccountsMgmtV1CurrentAccountGet ( fetchLabels ?: boolean , options ?: AxiosRequestConfig ) {
385385 return AppServicesApiFp ( this . configuration ) . apiAccountsMgmtV1CurrentAccountGet ( fetchLabels , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
386386 }
387387
@@ -395,7 +395,7 @@ export class AppServicesApi extends BaseAPI implements AppServicesApiInterface {
395395 * @throws {RequiredError }
396396 * @memberof AppServicesApi
397397 */
398- public apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet ( orgId : string , search ?: string , fetchRelatedResources ?: boolean , options ?: any ) {
398+ public apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet ( orgId : string , search ?: string , fetchRelatedResources ?: boolean , options ?: AxiosRequestConfig ) {
399399 return AppServicesApiFp ( this . configuration ) . apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet ( orgId , search , fetchRelatedResources , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
400400 }
401401
@@ -407,7 +407,7 @@ export class AppServicesApi extends BaseAPI implements AppServicesApiInterface {
407407 * @throws {RequiredError }
408408 * @memberof AppServicesApi
409409 */
410- public apiAuthorizationsV1SelfTermsReviewPost ( selfTermsReview : SelfTermsReview , options ?: any ) {
410+ public apiAuthorizationsV1SelfTermsReviewPost ( selfTermsReview : SelfTermsReview , options ?: AxiosRequestConfig ) {
411411 return AppServicesApiFp ( this . configuration ) . apiAuthorizationsV1SelfTermsReviewPost ( selfTermsReview , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
412412 }
413413}
0 commit comments