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