qovery-typescript-axios 1.1.797 → 1.1.799
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +537 -0
- package/dist/api.d.ts +292 -0
- package/dist/api.js +431 -3
- package/dist/esm/api.d.ts +292 -0
- package/dist/esm/api.js +424 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1583,6 +1583,12 @@ export interface ApplicationEditRequest {
|
|
|
1583
1583
|
* @memberof ApplicationEditRequest
|
|
1584
1584
|
*/
|
|
1585
1585
|
'docker_target_build_stage'?: string | null;
|
|
1586
|
+
/**
|
|
1587
|
+
*
|
|
1588
|
+
* @type {AutoscalingPolicyRequest}
|
|
1589
|
+
* @memberof ApplicationEditRequest
|
|
1590
|
+
*/
|
|
1591
|
+
'autoscaling'?: AutoscalingPolicyRequest;
|
|
1586
1592
|
}
|
|
1587
1593
|
|
|
1588
1594
|
|
|
@@ -13385,6 +13391,81 @@ export const KedaScalerRole = {
|
|
|
13385
13391
|
export type KedaScalerRole = typeof KedaScalerRole[keyof typeof KedaScalerRole];
|
|
13386
13392
|
|
|
13387
13393
|
|
|
13394
|
+
/**
|
|
13395
|
+
*
|
|
13396
|
+
* @export
|
|
13397
|
+
* @interface KedaTriggerAuthenticationRequest
|
|
13398
|
+
*/
|
|
13399
|
+
export interface KedaTriggerAuthenticationRequest {
|
|
13400
|
+
/**
|
|
13401
|
+
*
|
|
13402
|
+
* @type {string}
|
|
13403
|
+
* @memberof KedaTriggerAuthenticationRequest
|
|
13404
|
+
*/
|
|
13405
|
+
'name': string;
|
|
13406
|
+
/**
|
|
13407
|
+
* Optional raw KEDA TriggerAuthentication YAML configuration.
|
|
13408
|
+
* @type {string}
|
|
13409
|
+
* @memberof KedaTriggerAuthenticationRequest
|
|
13410
|
+
*/
|
|
13411
|
+
'config_yaml'?: string;
|
|
13412
|
+
}
|
|
13413
|
+
/**
|
|
13414
|
+
*
|
|
13415
|
+
* @export
|
|
13416
|
+
* @interface KedaTriggerAuthenticationResponse
|
|
13417
|
+
*/
|
|
13418
|
+
export interface KedaTriggerAuthenticationResponse {
|
|
13419
|
+
/**
|
|
13420
|
+
*
|
|
13421
|
+
* @type {string}
|
|
13422
|
+
* @memberof KedaTriggerAuthenticationResponse
|
|
13423
|
+
*/
|
|
13424
|
+
'id': string;
|
|
13425
|
+
/**
|
|
13426
|
+
*
|
|
13427
|
+
* @type {string}
|
|
13428
|
+
* @memberof KedaTriggerAuthenticationResponse
|
|
13429
|
+
*/
|
|
13430
|
+
'created_at': string;
|
|
13431
|
+
/**
|
|
13432
|
+
*
|
|
13433
|
+
* @type {string}
|
|
13434
|
+
* @memberof KedaTriggerAuthenticationResponse
|
|
13435
|
+
*/
|
|
13436
|
+
'updated_at'?: string;
|
|
13437
|
+
/**
|
|
13438
|
+
*
|
|
13439
|
+
* @type {string}
|
|
13440
|
+
* @memberof KedaTriggerAuthenticationResponse
|
|
13441
|
+
*/
|
|
13442
|
+
'organization_id': string;
|
|
13443
|
+
/**
|
|
13444
|
+
*
|
|
13445
|
+
* @type {string}
|
|
13446
|
+
* @memberof KedaTriggerAuthenticationResponse
|
|
13447
|
+
*/
|
|
13448
|
+
'name': string;
|
|
13449
|
+
/**
|
|
13450
|
+
* Optional raw KEDA TriggerAuthentication YAML configuration.
|
|
13451
|
+
* @type {string}
|
|
13452
|
+
* @memberof KedaTriggerAuthenticationResponse
|
|
13453
|
+
*/
|
|
13454
|
+
'config_yaml'?: string;
|
|
13455
|
+
}
|
|
13456
|
+
/**
|
|
13457
|
+
*
|
|
13458
|
+
* @export
|
|
13459
|
+
* @interface KedaTriggerAuthenticationResponseList
|
|
13460
|
+
*/
|
|
13461
|
+
export interface KedaTriggerAuthenticationResponseList {
|
|
13462
|
+
/**
|
|
13463
|
+
*
|
|
13464
|
+
* @type {Array<KedaTriggerAuthenticationResponse>}
|
|
13465
|
+
* @memberof KedaTriggerAuthenticationResponseList
|
|
13466
|
+
*/
|
|
13467
|
+
'results'?: Array<KedaTriggerAuthenticationResponse>;
|
|
13468
|
+
}
|
|
13388
13469
|
/**
|
|
13389
13470
|
*
|
|
13390
13471
|
* @export
|
|
@@ -53359,6 +53440,462 @@ export class JobsApi extends BaseAPI {
|
|
|
53359
53440
|
|
|
53360
53441
|
|
|
53361
53442
|
|
|
53443
|
+
/**
|
|
53444
|
+
* KedaTriggerAuthenticationApi - axios parameter creator
|
|
53445
|
+
* @export
|
|
53446
|
+
*/
|
|
53447
|
+
export const KedaTriggerAuthenticationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
53448
|
+
return {
|
|
53449
|
+
/**
|
|
53450
|
+
*
|
|
53451
|
+
* @summary create Keda Trigger Authentications
|
|
53452
|
+
* @param {string} organizationId Organization ID
|
|
53453
|
+
* @param {KedaTriggerAuthenticationRequest} kedaTriggerAuthenticationRequest
|
|
53454
|
+
* @param {*} [options] Override http request option.
|
|
53455
|
+
* @throws {RequiredError}
|
|
53456
|
+
*/
|
|
53457
|
+
createKedaTriggerAuthentication: async (organizationId: string, kedaTriggerAuthenticationRequest: KedaTriggerAuthenticationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53458
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53459
|
+
assertParamExists('createKedaTriggerAuthentication', 'organizationId', organizationId)
|
|
53460
|
+
// verify required parameter 'kedaTriggerAuthenticationRequest' is not null or undefined
|
|
53461
|
+
assertParamExists('createKedaTriggerAuthentication', 'kedaTriggerAuthenticationRequest', kedaTriggerAuthenticationRequest)
|
|
53462
|
+
const localVarPath = `/organization/{organizationId}/keda-trigger-authentications`
|
|
53463
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
53464
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53465
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53466
|
+
let baseOptions;
|
|
53467
|
+
if (configuration) {
|
|
53468
|
+
baseOptions = configuration.baseOptions;
|
|
53469
|
+
}
|
|
53470
|
+
|
|
53471
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
53472
|
+
const localVarHeaderParameter = {} as any;
|
|
53473
|
+
const localVarQueryParameter = {} as any;
|
|
53474
|
+
|
|
53475
|
+
// authentication ApiKeyAuth required
|
|
53476
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53477
|
+
|
|
53478
|
+
// authentication bearerAuth required
|
|
53479
|
+
// http bearer authentication required
|
|
53480
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53481
|
+
|
|
53482
|
+
|
|
53483
|
+
|
|
53484
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
53485
|
+
|
|
53486
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53487
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53488
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53489
|
+
localVarRequestOptions.data = serializeDataIfNeeded(kedaTriggerAuthenticationRequest, localVarRequestOptions, configuration)
|
|
53490
|
+
|
|
53491
|
+
return {
|
|
53492
|
+
url: toPathString(localVarUrlObj),
|
|
53493
|
+
options: localVarRequestOptions,
|
|
53494
|
+
};
|
|
53495
|
+
},
|
|
53496
|
+
/**
|
|
53497
|
+
*
|
|
53498
|
+
* @summary Delete a KEDA trigger authentication
|
|
53499
|
+
* @param {string} organizationId Organization ID
|
|
53500
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53501
|
+
* @param {*} [options] Override http request option.
|
|
53502
|
+
* @throws {RequiredError}
|
|
53503
|
+
*/
|
|
53504
|
+
deleteKedaTriggerAuthentication: async (organizationId: string, triggerAuthenticationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53505
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53506
|
+
assertParamExists('deleteKedaTriggerAuthentication', 'organizationId', organizationId)
|
|
53507
|
+
// verify required parameter 'triggerAuthenticationId' is not null or undefined
|
|
53508
|
+
assertParamExists('deleteKedaTriggerAuthentication', 'triggerAuthenticationId', triggerAuthenticationId)
|
|
53509
|
+
const localVarPath = `/organization/{organizationId}/keda-trigger-authentications/{triggerAuthenticationId}`
|
|
53510
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
53511
|
+
.replace(`{${"triggerAuthenticationId"}}`, encodeURIComponent(String(triggerAuthenticationId)));
|
|
53512
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53513
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53514
|
+
let baseOptions;
|
|
53515
|
+
if (configuration) {
|
|
53516
|
+
baseOptions = configuration.baseOptions;
|
|
53517
|
+
}
|
|
53518
|
+
|
|
53519
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
53520
|
+
const localVarHeaderParameter = {} as any;
|
|
53521
|
+
const localVarQueryParameter = {} as any;
|
|
53522
|
+
|
|
53523
|
+
// authentication ApiKeyAuth required
|
|
53524
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53525
|
+
|
|
53526
|
+
// authentication bearerAuth required
|
|
53527
|
+
// http bearer authentication required
|
|
53528
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53529
|
+
|
|
53530
|
+
|
|
53531
|
+
|
|
53532
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53533
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53534
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53535
|
+
|
|
53536
|
+
return {
|
|
53537
|
+
url: toPathString(localVarUrlObj),
|
|
53538
|
+
options: localVarRequestOptions,
|
|
53539
|
+
};
|
|
53540
|
+
},
|
|
53541
|
+
/**
|
|
53542
|
+
*
|
|
53543
|
+
* @summary Get a KEDA trigger authentication
|
|
53544
|
+
* @param {string} organizationId Organization ID
|
|
53545
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53546
|
+
* @param {*} [options] Override http request option.
|
|
53547
|
+
* @throws {RequiredError}
|
|
53548
|
+
*/
|
|
53549
|
+
getKedaTriggerAuthentication: async (organizationId: string, triggerAuthenticationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53550
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53551
|
+
assertParamExists('getKedaTriggerAuthentication', 'organizationId', organizationId)
|
|
53552
|
+
// verify required parameter 'triggerAuthenticationId' is not null or undefined
|
|
53553
|
+
assertParamExists('getKedaTriggerAuthentication', 'triggerAuthenticationId', triggerAuthenticationId)
|
|
53554
|
+
const localVarPath = `/organization/{organizationId}/keda-trigger-authentications/{triggerAuthenticationId}`
|
|
53555
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
53556
|
+
.replace(`{${"triggerAuthenticationId"}}`, encodeURIComponent(String(triggerAuthenticationId)));
|
|
53557
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53558
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53559
|
+
let baseOptions;
|
|
53560
|
+
if (configuration) {
|
|
53561
|
+
baseOptions = configuration.baseOptions;
|
|
53562
|
+
}
|
|
53563
|
+
|
|
53564
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53565
|
+
const localVarHeaderParameter = {} as any;
|
|
53566
|
+
const localVarQueryParameter = {} as any;
|
|
53567
|
+
|
|
53568
|
+
// authentication ApiKeyAuth required
|
|
53569
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53570
|
+
|
|
53571
|
+
// authentication bearerAuth required
|
|
53572
|
+
// http bearer authentication required
|
|
53573
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53574
|
+
|
|
53575
|
+
|
|
53576
|
+
|
|
53577
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53578
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53579
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53580
|
+
|
|
53581
|
+
return {
|
|
53582
|
+
url: toPathString(localVarUrlObj),
|
|
53583
|
+
options: localVarRequestOptions,
|
|
53584
|
+
};
|
|
53585
|
+
},
|
|
53586
|
+
/**
|
|
53587
|
+
*
|
|
53588
|
+
* @summary list Keda TriggerAuthentications
|
|
53589
|
+
* @param {string} organizationId Organization ID
|
|
53590
|
+
* @param {*} [options] Override http request option.
|
|
53591
|
+
* @throws {RequiredError}
|
|
53592
|
+
*/
|
|
53593
|
+
listKedaTriggerAuthentications: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53594
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53595
|
+
assertParamExists('listKedaTriggerAuthentications', 'organizationId', organizationId)
|
|
53596
|
+
const localVarPath = `/organization/{organizationId}/keda-trigger-authentications`
|
|
53597
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
53598
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53599
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53600
|
+
let baseOptions;
|
|
53601
|
+
if (configuration) {
|
|
53602
|
+
baseOptions = configuration.baseOptions;
|
|
53603
|
+
}
|
|
53604
|
+
|
|
53605
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53606
|
+
const localVarHeaderParameter = {} as any;
|
|
53607
|
+
const localVarQueryParameter = {} as any;
|
|
53608
|
+
|
|
53609
|
+
// authentication ApiKeyAuth required
|
|
53610
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53611
|
+
|
|
53612
|
+
// authentication bearerAuth required
|
|
53613
|
+
// http bearer authentication required
|
|
53614
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53615
|
+
|
|
53616
|
+
|
|
53617
|
+
|
|
53618
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53619
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53620
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53621
|
+
|
|
53622
|
+
return {
|
|
53623
|
+
url: toPathString(localVarUrlObj),
|
|
53624
|
+
options: localVarRequestOptions,
|
|
53625
|
+
};
|
|
53626
|
+
},
|
|
53627
|
+
/**
|
|
53628
|
+
*
|
|
53629
|
+
* @summary Update a KEDA trigger authentication
|
|
53630
|
+
* @param {string} organizationId Organization ID
|
|
53631
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53632
|
+
* @param {KedaTriggerAuthenticationRequest} [kedaTriggerAuthenticationRequest]
|
|
53633
|
+
* @param {*} [options] Override http request option.
|
|
53634
|
+
* @throws {RequiredError}
|
|
53635
|
+
*/
|
|
53636
|
+
updateKedaTriggerAuthentication: async (organizationId: string, triggerAuthenticationId: string, kedaTriggerAuthenticationRequest?: KedaTriggerAuthenticationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53637
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53638
|
+
assertParamExists('updateKedaTriggerAuthentication', 'organizationId', organizationId)
|
|
53639
|
+
// verify required parameter 'triggerAuthenticationId' is not null or undefined
|
|
53640
|
+
assertParamExists('updateKedaTriggerAuthentication', 'triggerAuthenticationId', triggerAuthenticationId)
|
|
53641
|
+
const localVarPath = `/organization/{organizationId}/keda-trigger-authentications/{triggerAuthenticationId}`
|
|
53642
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
53643
|
+
.replace(`{${"triggerAuthenticationId"}}`, encodeURIComponent(String(triggerAuthenticationId)));
|
|
53644
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53645
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53646
|
+
let baseOptions;
|
|
53647
|
+
if (configuration) {
|
|
53648
|
+
baseOptions = configuration.baseOptions;
|
|
53649
|
+
}
|
|
53650
|
+
|
|
53651
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
53652
|
+
const localVarHeaderParameter = {} as any;
|
|
53653
|
+
const localVarQueryParameter = {} as any;
|
|
53654
|
+
|
|
53655
|
+
// authentication ApiKeyAuth required
|
|
53656
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53657
|
+
|
|
53658
|
+
// authentication bearerAuth required
|
|
53659
|
+
// http bearer authentication required
|
|
53660
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53661
|
+
|
|
53662
|
+
|
|
53663
|
+
|
|
53664
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
53665
|
+
|
|
53666
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53668
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53669
|
+
localVarRequestOptions.data = serializeDataIfNeeded(kedaTriggerAuthenticationRequest, localVarRequestOptions, configuration)
|
|
53670
|
+
|
|
53671
|
+
return {
|
|
53672
|
+
url: toPathString(localVarUrlObj),
|
|
53673
|
+
options: localVarRequestOptions,
|
|
53674
|
+
};
|
|
53675
|
+
},
|
|
53676
|
+
}
|
|
53677
|
+
};
|
|
53678
|
+
|
|
53679
|
+
/**
|
|
53680
|
+
* KedaTriggerAuthenticationApi - functional programming interface
|
|
53681
|
+
* @export
|
|
53682
|
+
*/
|
|
53683
|
+
export const KedaTriggerAuthenticationApiFp = function(configuration?: Configuration) {
|
|
53684
|
+
const localVarAxiosParamCreator = KedaTriggerAuthenticationApiAxiosParamCreator(configuration)
|
|
53685
|
+
return {
|
|
53686
|
+
/**
|
|
53687
|
+
*
|
|
53688
|
+
* @summary create Keda Trigger Authentications
|
|
53689
|
+
* @param {string} organizationId Organization ID
|
|
53690
|
+
* @param {KedaTriggerAuthenticationRequest} kedaTriggerAuthenticationRequest
|
|
53691
|
+
* @param {*} [options] Override http request option.
|
|
53692
|
+
* @throws {RequiredError}
|
|
53693
|
+
*/
|
|
53694
|
+
async createKedaTriggerAuthentication(organizationId: string, kedaTriggerAuthenticationRequest: KedaTriggerAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KedaTriggerAuthenticationResponse>> {
|
|
53695
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createKedaTriggerAuthentication(organizationId, kedaTriggerAuthenticationRequest, options);
|
|
53696
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53697
|
+
const localVarOperationServerBasePath = operationServerMap['KedaTriggerAuthenticationApi.createKedaTriggerAuthentication']?.[localVarOperationServerIndex]?.url;
|
|
53698
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53699
|
+
},
|
|
53700
|
+
/**
|
|
53701
|
+
*
|
|
53702
|
+
* @summary Delete a KEDA trigger authentication
|
|
53703
|
+
* @param {string} organizationId Organization ID
|
|
53704
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53705
|
+
* @param {*} [options] Override http request option.
|
|
53706
|
+
* @throws {RequiredError}
|
|
53707
|
+
*/
|
|
53708
|
+
async deleteKedaTriggerAuthentication(organizationId: string, triggerAuthenticationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
53709
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKedaTriggerAuthentication(organizationId, triggerAuthenticationId, options);
|
|
53710
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53711
|
+
const localVarOperationServerBasePath = operationServerMap['KedaTriggerAuthenticationApi.deleteKedaTriggerAuthentication']?.[localVarOperationServerIndex]?.url;
|
|
53712
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53713
|
+
},
|
|
53714
|
+
/**
|
|
53715
|
+
*
|
|
53716
|
+
* @summary Get a KEDA trigger authentication
|
|
53717
|
+
* @param {string} organizationId Organization ID
|
|
53718
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53719
|
+
* @param {*} [options] Override http request option.
|
|
53720
|
+
* @throws {RequiredError}
|
|
53721
|
+
*/
|
|
53722
|
+
async getKedaTriggerAuthentication(organizationId: string, triggerAuthenticationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KedaTriggerAuthenticationResponse>> {
|
|
53723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getKedaTriggerAuthentication(organizationId, triggerAuthenticationId, options);
|
|
53724
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53725
|
+
const localVarOperationServerBasePath = operationServerMap['KedaTriggerAuthenticationApi.getKedaTriggerAuthentication']?.[localVarOperationServerIndex]?.url;
|
|
53726
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53727
|
+
},
|
|
53728
|
+
/**
|
|
53729
|
+
*
|
|
53730
|
+
* @summary list Keda TriggerAuthentications
|
|
53731
|
+
* @param {string} organizationId Organization ID
|
|
53732
|
+
* @param {*} [options] Override http request option.
|
|
53733
|
+
* @throws {RequiredError}
|
|
53734
|
+
*/
|
|
53735
|
+
async listKedaTriggerAuthentications(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KedaTriggerAuthenticationResponseList>> {
|
|
53736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listKedaTriggerAuthentications(organizationId, options);
|
|
53737
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53738
|
+
const localVarOperationServerBasePath = operationServerMap['KedaTriggerAuthenticationApi.listKedaTriggerAuthentications']?.[localVarOperationServerIndex]?.url;
|
|
53739
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53740
|
+
},
|
|
53741
|
+
/**
|
|
53742
|
+
*
|
|
53743
|
+
* @summary Update a KEDA trigger authentication
|
|
53744
|
+
* @param {string} organizationId Organization ID
|
|
53745
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53746
|
+
* @param {KedaTriggerAuthenticationRequest} [kedaTriggerAuthenticationRequest]
|
|
53747
|
+
* @param {*} [options] Override http request option.
|
|
53748
|
+
* @throws {RequiredError}
|
|
53749
|
+
*/
|
|
53750
|
+
async updateKedaTriggerAuthentication(organizationId: string, triggerAuthenticationId: string, kedaTriggerAuthenticationRequest?: KedaTriggerAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KedaTriggerAuthenticationResponse>> {
|
|
53751
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateKedaTriggerAuthentication(organizationId, triggerAuthenticationId, kedaTriggerAuthenticationRequest, options);
|
|
53752
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53753
|
+
const localVarOperationServerBasePath = operationServerMap['KedaTriggerAuthenticationApi.updateKedaTriggerAuthentication']?.[localVarOperationServerIndex]?.url;
|
|
53754
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53755
|
+
},
|
|
53756
|
+
}
|
|
53757
|
+
};
|
|
53758
|
+
|
|
53759
|
+
/**
|
|
53760
|
+
* KedaTriggerAuthenticationApi - factory interface
|
|
53761
|
+
* @export
|
|
53762
|
+
*/
|
|
53763
|
+
export const KedaTriggerAuthenticationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
53764
|
+
const localVarFp = KedaTriggerAuthenticationApiFp(configuration)
|
|
53765
|
+
return {
|
|
53766
|
+
/**
|
|
53767
|
+
*
|
|
53768
|
+
* @summary create Keda Trigger Authentications
|
|
53769
|
+
* @param {string} organizationId Organization ID
|
|
53770
|
+
* @param {KedaTriggerAuthenticationRequest} kedaTriggerAuthenticationRequest
|
|
53771
|
+
* @param {*} [options] Override http request option.
|
|
53772
|
+
* @throws {RequiredError}
|
|
53773
|
+
*/
|
|
53774
|
+
createKedaTriggerAuthentication(organizationId: string, kedaTriggerAuthenticationRequest: KedaTriggerAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<KedaTriggerAuthenticationResponse> {
|
|
53775
|
+
return localVarFp.createKedaTriggerAuthentication(organizationId, kedaTriggerAuthenticationRequest, options).then((request) => request(axios, basePath));
|
|
53776
|
+
},
|
|
53777
|
+
/**
|
|
53778
|
+
*
|
|
53779
|
+
* @summary Delete a KEDA trigger authentication
|
|
53780
|
+
* @param {string} organizationId Organization ID
|
|
53781
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53782
|
+
* @param {*} [options] Override http request option.
|
|
53783
|
+
* @throws {RequiredError}
|
|
53784
|
+
*/
|
|
53785
|
+
deleteKedaTriggerAuthentication(organizationId: string, triggerAuthenticationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
53786
|
+
return localVarFp.deleteKedaTriggerAuthentication(organizationId, triggerAuthenticationId, options).then((request) => request(axios, basePath));
|
|
53787
|
+
},
|
|
53788
|
+
/**
|
|
53789
|
+
*
|
|
53790
|
+
* @summary Get a KEDA trigger authentication
|
|
53791
|
+
* @param {string} organizationId Organization ID
|
|
53792
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53793
|
+
* @param {*} [options] Override http request option.
|
|
53794
|
+
* @throws {RequiredError}
|
|
53795
|
+
*/
|
|
53796
|
+
getKedaTriggerAuthentication(organizationId: string, triggerAuthenticationId: string, options?: RawAxiosRequestConfig): AxiosPromise<KedaTriggerAuthenticationResponse> {
|
|
53797
|
+
return localVarFp.getKedaTriggerAuthentication(organizationId, triggerAuthenticationId, options).then((request) => request(axios, basePath));
|
|
53798
|
+
},
|
|
53799
|
+
/**
|
|
53800
|
+
*
|
|
53801
|
+
* @summary list Keda TriggerAuthentications
|
|
53802
|
+
* @param {string} organizationId Organization ID
|
|
53803
|
+
* @param {*} [options] Override http request option.
|
|
53804
|
+
* @throws {RequiredError}
|
|
53805
|
+
*/
|
|
53806
|
+
listKedaTriggerAuthentications(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<KedaTriggerAuthenticationResponseList> {
|
|
53807
|
+
return localVarFp.listKedaTriggerAuthentications(organizationId, options).then((request) => request(axios, basePath));
|
|
53808
|
+
},
|
|
53809
|
+
/**
|
|
53810
|
+
*
|
|
53811
|
+
* @summary Update a KEDA trigger authentication
|
|
53812
|
+
* @param {string} organizationId Organization ID
|
|
53813
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53814
|
+
* @param {KedaTriggerAuthenticationRequest} [kedaTriggerAuthenticationRequest]
|
|
53815
|
+
* @param {*} [options] Override http request option.
|
|
53816
|
+
* @throws {RequiredError}
|
|
53817
|
+
*/
|
|
53818
|
+
updateKedaTriggerAuthentication(organizationId: string, triggerAuthenticationId: string, kedaTriggerAuthenticationRequest?: KedaTriggerAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<KedaTriggerAuthenticationResponse> {
|
|
53819
|
+
return localVarFp.updateKedaTriggerAuthentication(organizationId, triggerAuthenticationId, kedaTriggerAuthenticationRequest, options).then((request) => request(axios, basePath));
|
|
53820
|
+
},
|
|
53821
|
+
};
|
|
53822
|
+
};
|
|
53823
|
+
|
|
53824
|
+
/**
|
|
53825
|
+
* KedaTriggerAuthenticationApi - object-oriented interface
|
|
53826
|
+
* @export
|
|
53827
|
+
* @class KedaTriggerAuthenticationApi
|
|
53828
|
+
* @extends {BaseAPI}
|
|
53829
|
+
*/
|
|
53830
|
+
export class KedaTriggerAuthenticationApi extends BaseAPI {
|
|
53831
|
+
/**
|
|
53832
|
+
*
|
|
53833
|
+
* @summary create Keda Trigger Authentications
|
|
53834
|
+
* @param {string} organizationId Organization ID
|
|
53835
|
+
* @param {KedaTriggerAuthenticationRequest} kedaTriggerAuthenticationRequest
|
|
53836
|
+
* @param {*} [options] Override http request option.
|
|
53837
|
+
* @throws {RequiredError}
|
|
53838
|
+
* @memberof KedaTriggerAuthenticationApi
|
|
53839
|
+
*/
|
|
53840
|
+
public createKedaTriggerAuthentication(organizationId: string, kedaTriggerAuthenticationRequest: KedaTriggerAuthenticationRequest, options?: RawAxiosRequestConfig) {
|
|
53841
|
+
return KedaTriggerAuthenticationApiFp(this.configuration).createKedaTriggerAuthentication(organizationId, kedaTriggerAuthenticationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
53842
|
+
}
|
|
53843
|
+
|
|
53844
|
+
/**
|
|
53845
|
+
*
|
|
53846
|
+
* @summary Delete a KEDA trigger authentication
|
|
53847
|
+
* @param {string} organizationId Organization ID
|
|
53848
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53849
|
+
* @param {*} [options] Override http request option.
|
|
53850
|
+
* @throws {RequiredError}
|
|
53851
|
+
* @memberof KedaTriggerAuthenticationApi
|
|
53852
|
+
*/
|
|
53853
|
+
public deleteKedaTriggerAuthentication(organizationId: string, triggerAuthenticationId: string, options?: RawAxiosRequestConfig) {
|
|
53854
|
+
return KedaTriggerAuthenticationApiFp(this.configuration).deleteKedaTriggerAuthentication(organizationId, triggerAuthenticationId, options).then((request) => request(this.axios, this.basePath));
|
|
53855
|
+
}
|
|
53856
|
+
|
|
53857
|
+
/**
|
|
53858
|
+
*
|
|
53859
|
+
* @summary Get a KEDA trigger authentication
|
|
53860
|
+
* @param {string} organizationId Organization ID
|
|
53861
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53862
|
+
* @param {*} [options] Override http request option.
|
|
53863
|
+
* @throws {RequiredError}
|
|
53864
|
+
* @memberof KedaTriggerAuthenticationApi
|
|
53865
|
+
*/
|
|
53866
|
+
public getKedaTriggerAuthentication(organizationId: string, triggerAuthenticationId: string, options?: RawAxiosRequestConfig) {
|
|
53867
|
+
return KedaTriggerAuthenticationApiFp(this.configuration).getKedaTriggerAuthentication(organizationId, triggerAuthenticationId, options).then((request) => request(this.axios, this.basePath));
|
|
53868
|
+
}
|
|
53869
|
+
|
|
53870
|
+
/**
|
|
53871
|
+
*
|
|
53872
|
+
* @summary list Keda TriggerAuthentications
|
|
53873
|
+
* @param {string} organizationId Organization ID
|
|
53874
|
+
* @param {*} [options] Override http request option.
|
|
53875
|
+
* @throws {RequiredError}
|
|
53876
|
+
* @memberof KedaTriggerAuthenticationApi
|
|
53877
|
+
*/
|
|
53878
|
+
public listKedaTriggerAuthentications(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
53879
|
+
return KedaTriggerAuthenticationApiFp(this.configuration).listKedaTriggerAuthentications(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
53880
|
+
}
|
|
53881
|
+
|
|
53882
|
+
/**
|
|
53883
|
+
*
|
|
53884
|
+
* @summary Update a KEDA trigger authentication
|
|
53885
|
+
* @param {string} organizationId Organization ID
|
|
53886
|
+
* @param {string} triggerAuthenticationId KEDA triggerAuthentication ID
|
|
53887
|
+
* @param {KedaTriggerAuthenticationRequest} [kedaTriggerAuthenticationRequest]
|
|
53888
|
+
* @param {*} [options] Override http request option.
|
|
53889
|
+
* @throws {RequiredError}
|
|
53890
|
+
* @memberof KedaTriggerAuthenticationApi
|
|
53891
|
+
*/
|
|
53892
|
+
public updateKedaTriggerAuthentication(organizationId: string, triggerAuthenticationId: string, kedaTriggerAuthenticationRequest?: KedaTriggerAuthenticationRequest, options?: RawAxiosRequestConfig) {
|
|
53893
|
+
return KedaTriggerAuthenticationApiFp(this.configuration).updateKedaTriggerAuthentication(organizationId, triggerAuthenticationId, kedaTriggerAuthenticationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
53894
|
+
}
|
|
53895
|
+
}
|
|
53896
|
+
|
|
53897
|
+
|
|
53898
|
+
|
|
53362
53899
|
/**
|
|
53363
53900
|
* LifecycleTemplateMainCallsApi - axios parameter creator
|
|
53364
53901
|
* @export
|