qovery-typescript-axios 1.1.799 → 1.1.802
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 +152 -0
- package/dist/api.d.ts +107 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +107 -0
- package/dist/esm/api.js +71 -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
|
|
|
@@ -14228,6 +14240,19 @@ export interface ListDirectoriesFromGitRepository200Response {
|
|
|
14228
14240
|
*/
|
|
14229
14241
|
'results'?: Array<string>;
|
|
14230
14242
|
}
|
|
14243
|
+
/**
|
|
14244
|
+
*
|
|
14245
|
+
* @export
|
|
14246
|
+
* @interface ListEnvironmentsByOrganizationId200Response
|
|
14247
|
+
*/
|
|
14248
|
+
export interface ListEnvironmentsByOrganizationId200Response {
|
|
14249
|
+
/**
|
|
14250
|
+
*
|
|
14251
|
+
* @type {Array<OrganizationEnvironmentResponse>}
|
|
14252
|
+
* @memberof ListEnvironmentsByOrganizationId200Response
|
|
14253
|
+
*/
|
|
14254
|
+
'results'?: Array<OrganizationEnvironmentResponse>;
|
|
14255
|
+
}
|
|
14231
14256
|
/**
|
|
14232
14257
|
*
|
|
14233
14258
|
* @export
|
|
@@ -15656,6 +15681,57 @@ export interface OrganizationEditRequest {
|
|
|
15656
15681
|
*/
|
|
15657
15682
|
'admin_emails'?: Array<string> | null;
|
|
15658
15683
|
}
|
|
15684
|
+
/**
|
|
15685
|
+
*
|
|
15686
|
+
* @export
|
|
15687
|
+
* @interface OrganizationEnvironmentResponse
|
|
15688
|
+
*/
|
|
15689
|
+
export interface OrganizationEnvironmentResponse {
|
|
15690
|
+
/**
|
|
15691
|
+
*
|
|
15692
|
+
* @type {string}
|
|
15693
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15694
|
+
*/
|
|
15695
|
+
'id': string;
|
|
15696
|
+
/**
|
|
15697
|
+
*
|
|
15698
|
+
* @type {string}
|
|
15699
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15700
|
+
*/
|
|
15701
|
+
'created_at': string;
|
|
15702
|
+
/**
|
|
15703
|
+
*
|
|
15704
|
+
* @type {string}
|
|
15705
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15706
|
+
*/
|
|
15707
|
+
'updated_at'?: string;
|
|
15708
|
+
/**
|
|
15709
|
+
* name is case insensitive
|
|
15710
|
+
* @type {string}
|
|
15711
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15712
|
+
*/
|
|
15713
|
+
'name': string;
|
|
15714
|
+
/**
|
|
15715
|
+
*
|
|
15716
|
+
* @type {ReferenceObject}
|
|
15717
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15718
|
+
*/
|
|
15719
|
+
'organization': ReferenceObject;
|
|
15720
|
+
/**
|
|
15721
|
+
*
|
|
15722
|
+
* @type {ReferenceObject}
|
|
15723
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15724
|
+
*/
|
|
15725
|
+
'project': ReferenceObject;
|
|
15726
|
+
/**
|
|
15727
|
+
*
|
|
15728
|
+
* @type {EnvironmentModeEnum}
|
|
15729
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15730
|
+
*/
|
|
15731
|
+
'mode': EnvironmentModeEnum;
|
|
15732
|
+
}
|
|
15733
|
+
|
|
15734
|
+
|
|
15659
15735
|
/**
|
|
15660
15736
|
* Origin of the organization event
|
|
15661
15737
|
* @export
|
|
@@ -58572,6 +58648,47 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
58572
58648
|
|
|
58573
58649
|
|
|
58574
58650
|
|
|
58651
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58652
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58653
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
58654
|
+
|
|
58655
|
+
return {
|
|
58656
|
+
url: toPathString(localVarUrlObj),
|
|
58657
|
+
options: localVarRequestOptions,
|
|
58658
|
+
};
|
|
58659
|
+
},
|
|
58660
|
+
/**
|
|
58661
|
+
*
|
|
58662
|
+
* @summary List Environments By OrganizationId
|
|
58663
|
+
* @param {string} organizationId
|
|
58664
|
+
* @param {*} [options] Override http request option.
|
|
58665
|
+
* @throws {RequiredError}
|
|
58666
|
+
*/
|
|
58667
|
+
listEnvironmentsByOrganizationId: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58668
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
58669
|
+
assertParamExists('listEnvironmentsByOrganizationId', 'organizationId', organizationId)
|
|
58670
|
+
const localVarPath = `/organization/{organizationId}/environments`
|
|
58671
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
58672
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58673
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58674
|
+
let baseOptions;
|
|
58675
|
+
if (configuration) {
|
|
58676
|
+
baseOptions = configuration.baseOptions;
|
|
58677
|
+
}
|
|
58678
|
+
|
|
58679
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
58680
|
+
const localVarHeaderParameter = {} as any;
|
|
58681
|
+
const localVarQueryParameter = {} as any;
|
|
58682
|
+
|
|
58683
|
+
// authentication ApiKeyAuth required
|
|
58684
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
58685
|
+
|
|
58686
|
+
// authentication bearerAuth required
|
|
58687
|
+
// http bearer authentication required
|
|
58688
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
58689
|
+
|
|
58690
|
+
|
|
58691
|
+
|
|
58575
58692
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58576
58693
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58577
58694
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -59053,6 +59170,19 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
59053
59170
|
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.getOrganizationGitToken']?.[localVarOperationServerIndex]?.url;
|
|
59054
59171
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
59055
59172
|
},
|
|
59173
|
+
/**
|
|
59174
|
+
*
|
|
59175
|
+
* @summary List Environments By OrganizationId
|
|
59176
|
+
* @param {string} organizationId
|
|
59177
|
+
* @param {*} [options] Override http request option.
|
|
59178
|
+
* @throws {RequiredError}
|
|
59179
|
+
*/
|
|
59180
|
+
async listEnvironmentsByOrganizationId(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEnvironmentsByOrganizationId200Response>> {
|
|
59181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentsByOrganizationId(organizationId, options);
|
|
59182
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
59183
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.listEnvironmentsByOrganizationId']?.[localVarOperationServerIndex]?.url;
|
|
59184
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
59185
|
+
},
|
|
59056
59186
|
/**
|
|
59057
59187
|
*
|
|
59058
59188
|
* @summary List user organizations
|
|
@@ -59277,6 +59407,16 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
59277
59407
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitTokenResponse> {
|
|
59278
59408
|
return localVarFp.getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
59279
59409
|
},
|
|
59410
|
+
/**
|
|
59411
|
+
*
|
|
59412
|
+
* @summary List Environments By OrganizationId
|
|
59413
|
+
* @param {string} organizationId
|
|
59414
|
+
* @param {*} [options] Override http request option.
|
|
59415
|
+
* @throws {RequiredError}
|
|
59416
|
+
*/
|
|
59417
|
+
listEnvironmentsByOrganizationId(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ListEnvironmentsByOrganizationId200Response> {
|
|
59418
|
+
return localVarFp.listEnvironmentsByOrganizationId(organizationId, options).then((request) => request(axios, basePath));
|
|
59419
|
+
},
|
|
59280
59420
|
/**
|
|
59281
59421
|
*
|
|
59282
59422
|
* @summary List user organizations
|
|
@@ -59502,6 +59642,18 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
59502
59642
|
return OrganizationMainCallsApiFp(this.configuration).getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
59503
59643
|
}
|
|
59504
59644
|
|
|
59645
|
+
/**
|
|
59646
|
+
*
|
|
59647
|
+
* @summary List Environments By OrganizationId
|
|
59648
|
+
* @param {string} organizationId
|
|
59649
|
+
* @param {*} [options] Override http request option.
|
|
59650
|
+
* @throws {RequiredError}
|
|
59651
|
+
* @memberof OrganizationMainCallsApi
|
|
59652
|
+
*/
|
|
59653
|
+
public listEnvironmentsByOrganizationId(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
59654
|
+
return OrganizationMainCallsApiFp(this.configuration).listEnvironmentsByOrganizationId(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
59655
|
+
}
|
|
59656
|
+
|
|
59505
59657
|
/**
|
|
59506
59658
|
*
|
|
59507
59659
|
* @summary List user organizations
|
package/dist/api.d.ts
CHANGED
|
@@ -12890,6 +12890,12 @@ export interface KedaScalerRequest {
|
|
|
12890
12890
|
* @memberof KedaScalerRequest
|
|
12891
12891
|
*/
|
|
12892
12892
|
'config_yaml'?: string;
|
|
12893
|
+
/**
|
|
12894
|
+
*
|
|
12895
|
+
* @type {string}
|
|
12896
|
+
* @memberof KedaScalerRequest
|
|
12897
|
+
*/
|
|
12898
|
+
'trigger_authentication_id'?: string;
|
|
12893
12899
|
}
|
|
12894
12900
|
/**
|
|
12895
12901
|
*
|
|
@@ -12947,6 +12953,12 @@ export interface KedaScalerResponse {
|
|
|
12947
12953
|
* @memberof KedaScalerResponse
|
|
12948
12954
|
*/
|
|
12949
12955
|
'config_yaml'?: string | null;
|
|
12956
|
+
/**
|
|
12957
|
+
*
|
|
12958
|
+
* @type {string}
|
|
12959
|
+
* @memberof KedaScalerResponse
|
|
12960
|
+
*/
|
|
12961
|
+
'trigger_authentication_id'?: string;
|
|
12950
12962
|
}
|
|
12951
12963
|
/**
|
|
12952
12964
|
*
|
|
@@ -13775,6 +13787,19 @@ export interface ListDirectoriesFromGitRepository200Response {
|
|
|
13775
13787
|
*/
|
|
13776
13788
|
'results'?: Array<string>;
|
|
13777
13789
|
}
|
|
13790
|
+
/**
|
|
13791
|
+
*
|
|
13792
|
+
* @export
|
|
13793
|
+
* @interface ListEnvironmentsByOrganizationId200Response
|
|
13794
|
+
*/
|
|
13795
|
+
export interface ListEnvironmentsByOrganizationId200Response {
|
|
13796
|
+
/**
|
|
13797
|
+
*
|
|
13798
|
+
* @type {Array<OrganizationEnvironmentResponse>}
|
|
13799
|
+
* @memberof ListEnvironmentsByOrganizationId200Response
|
|
13800
|
+
*/
|
|
13801
|
+
'results'?: Array<OrganizationEnvironmentResponse>;
|
|
13802
|
+
}
|
|
13778
13803
|
/**
|
|
13779
13804
|
*
|
|
13780
13805
|
* @export
|
|
@@ -15174,6 +15199,55 @@ export interface OrganizationEditRequest {
|
|
|
15174
15199
|
*/
|
|
15175
15200
|
'admin_emails'?: Array<string> | null;
|
|
15176
15201
|
}
|
|
15202
|
+
/**
|
|
15203
|
+
*
|
|
15204
|
+
* @export
|
|
15205
|
+
* @interface OrganizationEnvironmentResponse
|
|
15206
|
+
*/
|
|
15207
|
+
export interface OrganizationEnvironmentResponse {
|
|
15208
|
+
/**
|
|
15209
|
+
*
|
|
15210
|
+
* @type {string}
|
|
15211
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15212
|
+
*/
|
|
15213
|
+
'id': string;
|
|
15214
|
+
/**
|
|
15215
|
+
*
|
|
15216
|
+
* @type {string}
|
|
15217
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15218
|
+
*/
|
|
15219
|
+
'created_at': string;
|
|
15220
|
+
/**
|
|
15221
|
+
*
|
|
15222
|
+
* @type {string}
|
|
15223
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15224
|
+
*/
|
|
15225
|
+
'updated_at'?: string;
|
|
15226
|
+
/**
|
|
15227
|
+
* name is case insensitive
|
|
15228
|
+
* @type {string}
|
|
15229
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15230
|
+
*/
|
|
15231
|
+
'name': string;
|
|
15232
|
+
/**
|
|
15233
|
+
*
|
|
15234
|
+
* @type {ReferenceObject}
|
|
15235
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15236
|
+
*/
|
|
15237
|
+
'organization': ReferenceObject;
|
|
15238
|
+
/**
|
|
15239
|
+
*
|
|
15240
|
+
* @type {ReferenceObject}
|
|
15241
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15242
|
+
*/
|
|
15243
|
+
'project': ReferenceObject;
|
|
15244
|
+
/**
|
|
15245
|
+
*
|
|
15246
|
+
* @type {EnvironmentModeEnum}
|
|
15247
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15248
|
+
*/
|
|
15249
|
+
'mode': EnvironmentModeEnum;
|
|
15250
|
+
}
|
|
15177
15251
|
/**
|
|
15178
15252
|
* Origin of the organization event
|
|
15179
15253
|
* @export
|
|
@@ -37302,6 +37376,14 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
37302
37376
|
* @throws {RequiredError}
|
|
37303
37377
|
*/
|
|
37304
37378
|
getOrganizationGitToken: (organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37379
|
+
/**
|
|
37380
|
+
*
|
|
37381
|
+
* @summary List Environments By OrganizationId
|
|
37382
|
+
* @param {string} organizationId
|
|
37383
|
+
* @param {*} [options] Override http request option.
|
|
37384
|
+
* @throws {RequiredError}
|
|
37385
|
+
*/
|
|
37386
|
+
listEnvironmentsByOrganizationId: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37305
37387
|
/**
|
|
37306
37388
|
*
|
|
37307
37389
|
* @summary List user organizations
|
|
@@ -37465,6 +37547,14 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
37465
37547
|
* @throws {RequiredError}
|
|
37466
37548
|
*/
|
|
37467
37549
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
|
|
37550
|
+
/**
|
|
37551
|
+
*
|
|
37552
|
+
* @summary List Environments By OrganizationId
|
|
37553
|
+
* @param {string} organizationId
|
|
37554
|
+
* @param {*} [options] Override http request option.
|
|
37555
|
+
* @throws {RequiredError}
|
|
37556
|
+
*/
|
|
37557
|
+
listEnvironmentsByOrganizationId(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEnvironmentsByOrganizationId200Response>>;
|
|
37468
37558
|
/**
|
|
37469
37559
|
*
|
|
37470
37560
|
* @summary List user organizations
|
|
@@ -37628,6 +37718,14 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
37628
37718
|
* @throws {RequiredError}
|
|
37629
37719
|
*/
|
|
37630
37720
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitTokenResponse>;
|
|
37721
|
+
/**
|
|
37722
|
+
*
|
|
37723
|
+
* @summary List Environments By OrganizationId
|
|
37724
|
+
* @param {string} organizationId
|
|
37725
|
+
* @param {*} [options] Override http request option.
|
|
37726
|
+
* @throws {RequiredError}
|
|
37727
|
+
*/
|
|
37728
|
+
listEnvironmentsByOrganizationId(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ListEnvironmentsByOrganizationId200Response>;
|
|
37631
37729
|
/**
|
|
37632
37730
|
*
|
|
37633
37731
|
* @summary List user organizations
|
|
@@ -37804,6 +37902,15 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
37804
37902
|
* @memberof OrganizationMainCallsApi
|
|
37805
37903
|
*/
|
|
37806
37904
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any, {}>>;
|
|
37905
|
+
/**
|
|
37906
|
+
*
|
|
37907
|
+
* @summary List Environments By OrganizationId
|
|
37908
|
+
* @param {string} organizationId
|
|
37909
|
+
* @param {*} [options] Override http request option.
|
|
37910
|
+
* @throws {RequiredError}
|
|
37911
|
+
* @memberof OrganizationMainCallsApi
|
|
37912
|
+
*/
|
|
37913
|
+
listEnvironmentsByOrganizationId(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEnvironmentsByOrganizationId200Response, any, {}>>;
|
|
37807
37914
|
/**
|
|
37808
37915
|
*
|
|
37809
37916
|
* @summary List user organizations
|
package/dist/api.js
CHANGED
|
@@ -36707,6 +36707,40 @@ const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
36707
36707
|
options: localVarRequestOptions,
|
|
36708
36708
|
};
|
|
36709
36709
|
}),
|
|
36710
|
+
/**
|
|
36711
|
+
*
|
|
36712
|
+
* @summary List Environments By OrganizationId
|
|
36713
|
+
* @param {string} organizationId
|
|
36714
|
+
* @param {*} [options] Override http request option.
|
|
36715
|
+
* @throws {RequiredError}
|
|
36716
|
+
*/
|
|
36717
|
+
listEnvironmentsByOrganizationId: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
36718
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
36719
|
+
(0, common_1.assertParamExists)('listEnvironmentsByOrganizationId', 'organizationId', organizationId);
|
|
36720
|
+
const localVarPath = `/organization/{organizationId}/environments`
|
|
36721
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
36722
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36723
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36724
|
+
let baseOptions;
|
|
36725
|
+
if (configuration) {
|
|
36726
|
+
baseOptions = configuration.baseOptions;
|
|
36727
|
+
}
|
|
36728
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
36729
|
+
const localVarHeaderParameter = {};
|
|
36730
|
+
const localVarQueryParameter = {};
|
|
36731
|
+
// authentication ApiKeyAuth required
|
|
36732
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
36733
|
+
// authentication bearerAuth required
|
|
36734
|
+
// http bearer authentication required
|
|
36735
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
36736
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
36737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36738
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36739
|
+
return {
|
|
36740
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
36741
|
+
options: localVarRequestOptions,
|
|
36742
|
+
};
|
|
36743
|
+
}),
|
|
36710
36744
|
/**
|
|
36711
36745
|
*
|
|
36712
36746
|
* @summary List user organizations
|
|
@@ -37158,6 +37192,22 @@ const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
37158
37192
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37159
37193
|
});
|
|
37160
37194
|
},
|
|
37195
|
+
/**
|
|
37196
|
+
*
|
|
37197
|
+
* @summary List Environments By OrganizationId
|
|
37198
|
+
* @param {string} organizationId
|
|
37199
|
+
* @param {*} [options] Override http request option.
|
|
37200
|
+
* @throws {RequiredError}
|
|
37201
|
+
*/
|
|
37202
|
+
listEnvironmentsByOrganizationId(organizationId, options) {
|
|
37203
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37204
|
+
var _a, _b, _c;
|
|
37205
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentsByOrganizationId(organizationId, options);
|
|
37206
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37207
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationMainCallsApi.listEnvironmentsByOrganizationId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37208
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37209
|
+
});
|
|
37210
|
+
},
|
|
37161
37211
|
/**
|
|
37162
37212
|
*
|
|
37163
37213
|
* @summary List user organizations
|
|
@@ -37403,6 +37453,16 @@ const OrganizationMainCallsApiFactory = function (configuration, basePath, axios
|
|
|
37403
37453
|
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
37404
37454
|
return localVarFp.getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
37405
37455
|
},
|
|
37456
|
+
/**
|
|
37457
|
+
*
|
|
37458
|
+
* @summary List Environments By OrganizationId
|
|
37459
|
+
* @param {string} organizationId
|
|
37460
|
+
* @param {*} [options] Override http request option.
|
|
37461
|
+
* @throws {RequiredError}
|
|
37462
|
+
*/
|
|
37463
|
+
listEnvironmentsByOrganizationId(organizationId, options) {
|
|
37464
|
+
return localVarFp.listEnvironmentsByOrganizationId(organizationId, options).then((request) => request(axios, basePath));
|
|
37465
|
+
},
|
|
37406
37466
|
/**
|
|
37407
37467
|
*
|
|
37408
37468
|
* @summary List user organizations
|
|
@@ -37617,6 +37677,17 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
|
|
|
37617
37677
|
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
37618
37678
|
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
37619
37679
|
}
|
|
37680
|
+
/**
|
|
37681
|
+
*
|
|
37682
|
+
* @summary List Environments By OrganizationId
|
|
37683
|
+
* @param {string} organizationId
|
|
37684
|
+
* @param {*} [options] Override http request option.
|
|
37685
|
+
* @throws {RequiredError}
|
|
37686
|
+
* @memberof OrganizationMainCallsApi
|
|
37687
|
+
*/
|
|
37688
|
+
listEnvironmentsByOrganizationId(organizationId, options) {
|
|
37689
|
+
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).listEnvironmentsByOrganizationId(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
37690
|
+
}
|
|
37620
37691
|
/**
|
|
37621
37692
|
*
|
|
37622
37693
|
* @summary List user organizations
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -12890,6 +12890,12 @@ export interface KedaScalerRequest {
|
|
|
12890
12890
|
* @memberof KedaScalerRequest
|
|
12891
12891
|
*/
|
|
12892
12892
|
'config_yaml'?: string;
|
|
12893
|
+
/**
|
|
12894
|
+
*
|
|
12895
|
+
* @type {string}
|
|
12896
|
+
* @memberof KedaScalerRequest
|
|
12897
|
+
*/
|
|
12898
|
+
'trigger_authentication_id'?: string;
|
|
12893
12899
|
}
|
|
12894
12900
|
/**
|
|
12895
12901
|
*
|
|
@@ -12947,6 +12953,12 @@ export interface KedaScalerResponse {
|
|
|
12947
12953
|
* @memberof KedaScalerResponse
|
|
12948
12954
|
*/
|
|
12949
12955
|
'config_yaml'?: string | null;
|
|
12956
|
+
/**
|
|
12957
|
+
*
|
|
12958
|
+
* @type {string}
|
|
12959
|
+
* @memberof KedaScalerResponse
|
|
12960
|
+
*/
|
|
12961
|
+
'trigger_authentication_id'?: string;
|
|
12950
12962
|
}
|
|
12951
12963
|
/**
|
|
12952
12964
|
*
|
|
@@ -13775,6 +13787,19 @@ export interface ListDirectoriesFromGitRepository200Response {
|
|
|
13775
13787
|
*/
|
|
13776
13788
|
'results'?: Array<string>;
|
|
13777
13789
|
}
|
|
13790
|
+
/**
|
|
13791
|
+
*
|
|
13792
|
+
* @export
|
|
13793
|
+
* @interface ListEnvironmentsByOrganizationId200Response
|
|
13794
|
+
*/
|
|
13795
|
+
export interface ListEnvironmentsByOrganizationId200Response {
|
|
13796
|
+
/**
|
|
13797
|
+
*
|
|
13798
|
+
* @type {Array<OrganizationEnvironmentResponse>}
|
|
13799
|
+
* @memberof ListEnvironmentsByOrganizationId200Response
|
|
13800
|
+
*/
|
|
13801
|
+
'results'?: Array<OrganizationEnvironmentResponse>;
|
|
13802
|
+
}
|
|
13778
13803
|
/**
|
|
13779
13804
|
*
|
|
13780
13805
|
* @export
|
|
@@ -15174,6 +15199,55 @@ export interface OrganizationEditRequest {
|
|
|
15174
15199
|
*/
|
|
15175
15200
|
'admin_emails'?: Array<string> | null;
|
|
15176
15201
|
}
|
|
15202
|
+
/**
|
|
15203
|
+
*
|
|
15204
|
+
* @export
|
|
15205
|
+
* @interface OrganizationEnvironmentResponse
|
|
15206
|
+
*/
|
|
15207
|
+
export interface OrganizationEnvironmentResponse {
|
|
15208
|
+
/**
|
|
15209
|
+
*
|
|
15210
|
+
* @type {string}
|
|
15211
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15212
|
+
*/
|
|
15213
|
+
'id': string;
|
|
15214
|
+
/**
|
|
15215
|
+
*
|
|
15216
|
+
* @type {string}
|
|
15217
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15218
|
+
*/
|
|
15219
|
+
'created_at': string;
|
|
15220
|
+
/**
|
|
15221
|
+
*
|
|
15222
|
+
* @type {string}
|
|
15223
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15224
|
+
*/
|
|
15225
|
+
'updated_at'?: string;
|
|
15226
|
+
/**
|
|
15227
|
+
* name is case insensitive
|
|
15228
|
+
* @type {string}
|
|
15229
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15230
|
+
*/
|
|
15231
|
+
'name': string;
|
|
15232
|
+
/**
|
|
15233
|
+
*
|
|
15234
|
+
* @type {ReferenceObject}
|
|
15235
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15236
|
+
*/
|
|
15237
|
+
'organization': ReferenceObject;
|
|
15238
|
+
/**
|
|
15239
|
+
*
|
|
15240
|
+
* @type {ReferenceObject}
|
|
15241
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15242
|
+
*/
|
|
15243
|
+
'project': ReferenceObject;
|
|
15244
|
+
/**
|
|
15245
|
+
*
|
|
15246
|
+
* @type {EnvironmentModeEnum}
|
|
15247
|
+
* @memberof OrganizationEnvironmentResponse
|
|
15248
|
+
*/
|
|
15249
|
+
'mode': EnvironmentModeEnum;
|
|
15250
|
+
}
|
|
15177
15251
|
/**
|
|
15178
15252
|
* Origin of the organization event
|
|
15179
15253
|
* @export
|
|
@@ -37302,6 +37376,14 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
37302
37376
|
* @throws {RequiredError}
|
|
37303
37377
|
*/
|
|
37304
37378
|
getOrganizationGitToken: (organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37379
|
+
/**
|
|
37380
|
+
*
|
|
37381
|
+
* @summary List Environments By OrganizationId
|
|
37382
|
+
* @param {string} organizationId
|
|
37383
|
+
* @param {*} [options] Override http request option.
|
|
37384
|
+
* @throws {RequiredError}
|
|
37385
|
+
*/
|
|
37386
|
+
listEnvironmentsByOrganizationId: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37305
37387
|
/**
|
|
37306
37388
|
*
|
|
37307
37389
|
* @summary List user organizations
|
|
@@ -37465,6 +37547,14 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
37465
37547
|
* @throws {RequiredError}
|
|
37466
37548
|
*/
|
|
37467
37549
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
|
|
37550
|
+
/**
|
|
37551
|
+
*
|
|
37552
|
+
* @summary List Environments By OrganizationId
|
|
37553
|
+
* @param {string} organizationId
|
|
37554
|
+
* @param {*} [options] Override http request option.
|
|
37555
|
+
* @throws {RequiredError}
|
|
37556
|
+
*/
|
|
37557
|
+
listEnvironmentsByOrganizationId(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEnvironmentsByOrganizationId200Response>>;
|
|
37468
37558
|
/**
|
|
37469
37559
|
*
|
|
37470
37560
|
* @summary List user organizations
|
|
@@ -37628,6 +37718,14 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
37628
37718
|
* @throws {RequiredError}
|
|
37629
37719
|
*/
|
|
37630
37720
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitTokenResponse>;
|
|
37721
|
+
/**
|
|
37722
|
+
*
|
|
37723
|
+
* @summary List Environments By OrganizationId
|
|
37724
|
+
* @param {string} organizationId
|
|
37725
|
+
* @param {*} [options] Override http request option.
|
|
37726
|
+
* @throws {RequiredError}
|
|
37727
|
+
*/
|
|
37728
|
+
listEnvironmentsByOrganizationId(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ListEnvironmentsByOrganizationId200Response>;
|
|
37631
37729
|
/**
|
|
37632
37730
|
*
|
|
37633
37731
|
* @summary List user organizations
|
|
@@ -37804,6 +37902,15 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
37804
37902
|
* @memberof OrganizationMainCallsApi
|
|
37805
37903
|
*/
|
|
37806
37904
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any, {}>>;
|
|
37905
|
+
/**
|
|
37906
|
+
*
|
|
37907
|
+
* @summary List Environments By OrganizationId
|
|
37908
|
+
* @param {string} organizationId
|
|
37909
|
+
* @param {*} [options] Override http request option.
|
|
37910
|
+
* @throws {RequiredError}
|
|
37911
|
+
* @memberof OrganizationMainCallsApi
|
|
37912
|
+
*/
|
|
37913
|
+
listEnvironmentsByOrganizationId(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEnvironmentsByOrganizationId200Response, any, {}>>;
|
|
37807
37914
|
/**
|
|
37808
37915
|
*
|
|
37809
37916
|
* @summary List user organizations
|
package/dist/esm/api.js
CHANGED
|
@@ -36391,6 +36391,40 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
36391
36391
|
options: localVarRequestOptions,
|
|
36392
36392
|
};
|
|
36393
36393
|
}),
|
|
36394
|
+
/**
|
|
36395
|
+
*
|
|
36396
|
+
* @summary List Environments By OrganizationId
|
|
36397
|
+
* @param {string} organizationId
|
|
36398
|
+
* @param {*} [options] Override http request option.
|
|
36399
|
+
* @throws {RequiredError}
|
|
36400
|
+
*/
|
|
36401
|
+
listEnvironmentsByOrganizationId: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
36402
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
36403
|
+
assertParamExists('listEnvironmentsByOrganizationId', 'organizationId', organizationId);
|
|
36404
|
+
const localVarPath = `/organization/{organizationId}/environments`
|
|
36405
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
36406
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36407
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36408
|
+
let baseOptions;
|
|
36409
|
+
if (configuration) {
|
|
36410
|
+
baseOptions = configuration.baseOptions;
|
|
36411
|
+
}
|
|
36412
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
36413
|
+
const localVarHeaderParameter = {};
|
|
36414
|
+
const localVarQueryParameter = {};
|
|
36415
|
+
// authentication ApiKeyAuth required
|
|
36416
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
36417
|
+
// authentication bearerAuth required
|
|
36418
|
+
// http bearer authentication required
|
|
36419
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
36420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36422
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36423
|
+
return {
|
|
36424
|
+
url: toPathString(localVarUrlObj),
|
|
36425
|
+
options: localVarRequestOptions,
|
|
36426
|
+
};
|
|
36427
|
+
}),
|
|
36394
36428
|
/**
|
|
36395
36429
|
*
|
|
36396
36430
|
* @summary List user organizations
|
|
@@ -36841,6 +36875,22 @@ export const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
36841
36875
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36842
36876
|
});
|
|
36843
36877
|
},
|
|
36878
|
+
/**
|
|
36879
|
+
*
|
|
36880
|
+
* @summary List Environments By OrganizationId
|
|
36881
|
+
* @param {string} organizationId
|
|
36882
|
+
* @param {*} [options] Override http request option.
|
|
36883
|
+
* @throws {RequiredError}
|
|
36884
|
+
*/
|
|
36885
|
+
listEnvironmentsByOrganizationId(organizationId, options) {
|
|
36886
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36887
|
+
var _a, _b, _c;
|
|
36888
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentsByOrganizationId(organizationId, options);
|
|
36889
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36890
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationMainCallsApi.listEnvironmentsByOrganizationId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36891
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36892
|
+
});
|
|
36893
|
+
},
|
|
36844
36894
|
/**
|
|
36845
36895
|
*
|
|
36846
36896
|
* @summary List user organizations
|
|
@@ -37085,6 +37135,16 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
|
|
|
37085
37135
|
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
37086
37136
|
return localVarFp.getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
37087
37137
|
},
|
|
37138
|
+
/**
|
|
37139
|
+
*
|
|
37140
|
+
* @summary List Environments By OrganizationId
|
|
37141
|
+
* @param {string} organizationId
|
|
37142
|
+
* @param {*} [options] Override http request option.
|
|
37143
|
+
* @throws {RequiredError}
|
|
37144
|
+
*/
|
|
37145
|
+
listEnvironmentsByOrganizationId(organizationId, options) {
|
|
37146
|
+
return localVarFp.listEnvironmentsByOrganizationId(organizationId, options).then((request) => request(axios, basePath));
|
|
37147
|
+
},
|
|
37088
37148
|
/**
|
|
37089
37149
|
*
|
|
37090
37150
|
* @summary List user organizations
|
|
@@ -37298,6 +37358,17 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
37298
37358
|
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
37299
37359
|
return OrganizationMainCallsApiFp(this.configuration).getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
37300
37360
|
}
|
|
37361
|
+
/**
|
|
37362
|
+
*
|
|
37363
|
+
* @summary List Environments By OrganizationId
|
|
37364
|
+
* @param {string} organizationId
|
|
37365
|
+
* @param {*} [options] Override http request option.
|
|
37366
|
+
* @throws {RequiredError}
|
|
37367
|
+
* @memberof OrganizationMainCallsApi
|
|
37368
|
+
*/
|
|
37369
|
+
listEnvironmentsByOrganizationId(organizationId, options) {
|
|
37370
|
+
return OrganizationMainCallsApiFp(this.configuration).listEnvironmentsByOrganizationId(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
37371
|
+
}
|
|
37301
37372
|
/**
|
|
37302
37373
|
*
|
|
37303
37374
|
* @summary List user organizations
|