qovery-typescript-axios 1.1.263 → 1.1.264
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 +247 -0
- package/dist/api.d.ts +153 -0
- package/dist/api.js +168 -8
- package/dist/esm/api.d.ts +153 -0
- package/dist/esm/api.js +160 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7260,6 +7260,85 @@ export interface GitRepositoryResponseList {
|
|
|
7260
7260
|
*/
|
|
7261
7261
|
'results'?: Array<GitRepository>;
|
|
7262
7262
|
}
|
|
7263
|
+
/**
|
|
7264
|
+
*
|
|
7265
|
+
* @export
|
|
7266
|
+
* @interface GitTokenAssociatedServiceResponse
|
|
7267
|
+
*/
|
|
7268
|
+
export interface GitTokenAssociatedServiceResponse {
|
|
7269
|
+
/**
|
|
7270
|
+
*
|
|
7271
|
+
* @type {string}
|
|
7272
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7273
|
+
*/
|
|
7274
|
+
'project_id': string;
|
|
7275
|
+
/**
|
|
7276
|
+
*
|
|
7277
|
+
* @type {string}
|
|
7278
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7279
|
+
*/
|
|
7280
|
+
'project_name': string;
|
|
7281
|
+
/**
|
|
7282
|
+
*
|
|
7283
|
+
* @type {string}
|
|
7284
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7285
|
+
*/
|
|
7286
|
+
'environment_id': string;
|
|
7287
|
+
/**
|
|
7288
|
+
*
|
|
7289
|
+
* @type {string}
|
|
7290
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7291
|
+
*/
|
|
7292
|
+
'environment_name': string;
|
|
7293
|
+
/**
|
|
7294
|
+
*
|
|
7295
|
+
* @type {string}
|
|
7296
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7297
|
+
*/
|
|
7298
|
+
'service_id': string;
|
|
7299
|
+
/**
|
|
7300
|
+
*
|
|
7301
|
+
* @type {string}
|
|
7302
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7303
|
+
*/
|
|
7304
|
+
'service_name': string;
|
|
7305
|
+
/**
|
|
7306
|
+
*
|
|
7307
|
+
* @type {GitTokenAssociatedServiceType}
|
|
7308
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7309
|
+
*/
|
|
7310
|
+
'service_type': GitTokenAssociatedServiceType;
|
|
7311
|
+
}
|
|
7312
|
+
|
|
7313
|
+
|
|
7314
|
+
/**
|
|
7315
|
+
*
|
|
7316
|
+
* @export
|
|
7317
|
+
* @enum {string}
|
|
7318
|
+
*/
|
|
7319
|
+
|
|
7320
|
+
export const GitTokenAssociatedServiceType = {
|
|
7321
|
+
APPLICATION: 'APPLICATION',
|
|
7322
|
+
JOB: 'JOB',
|
|
7323
|
+
HELM: 'HELM'
|
|
7324
|
+
} as const;
|
|
7325
|
+
|
|
7326
|
+
export type GitTokenAssociatedServiceType = typeof GitTokenAssociatedServiceType[keyof typeof GitTokenAssociatedServiceType];
|
|
7327
|
+
|
|
7328
|
+
|
|
7329
|
+
/**
|
|
7330
|
+
*
|
|
7331
|
+
* @export
|
|
7332
|
+
* @interface GitTokenAssociatedServicesResponseList
|
|
7333
|
+
*/
|
|
7334
|
+
export interface GitTokenAssociatedServicesResponseList {
|
|
7335
|
+
/**
|
|
7336
|
+
*
|
|
7337
|
+
* @type {Array<GitTokenAssociatedServiceResponse>}
|
|
7338
|
+
* @memberof GitTokenAssociatedServicesResponseList
|
|
7339
|
+
*/
|
|
7340
|
+
'results'?: Array<GitTokenAssociatedServiceResponse>;
|
|
7341
|
+
}
|
|
7263
7342
|
/**
|
|
7264
7343
|
*
|
|
7265
7344
|
* @export
|
|
@@ -7347,6 +7426,12 @@ export interface GitTokenResponse {
|
|
|
7347
7426
|
* @memberof GitTokenResponse
|
|
7348
7427
|
*/
|
|
7349
7428
|
'expired_at'?: string;
|
|
7429
|
+
/**
|
|
7430
|
+
* The number of services using this git token
|
|
7431
|
+
* @type {number}
|
|
7432
|
+
* @memberof GitTokenResponse
|
|
7433
|
+
*/
|
|
7434
|
+
'associated_services_count': number;
|
|
7350
7435
|
}
|
|
7351
7436
|
|
|
7352
7437
|
|
|
@@ -43595,6 +43680,51 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
43595
43680
|
options: localVarRequestOptions,
|
|
43596
43681
|
};
|
|
43597
43682
|
},
|
|
43683
|
+
/**
|
|
43684
|
+
* Get organization git tokens associated services
|
|
43685
|
+
* @summary Get organization git token associated services
|
|
43686
|
+
* @param {string} organizationId Organization ID
|
|
43687
|
+
* @param {string} gitTokenId Git Token ID
|
|
43688
|
+
* @param {*} [options] Override http request option.
|
|
43689
|
+
* @throws {RequiredError}
|
|
43690
|
+
*/
|
|
43691
|
+
getGitTokenAssociatedServices: async (organizationId: string, gitTokenId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43692
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
43693
|
+
assertParamExists('getGitTokenAssociatedServices', 'organizationId', organizationId)
|
|
43694
|
+
// verify required parameter 'gitTokenId' is not null or undefined
|
|
43695
|
+
assertParamExists('getGitTokenAssociatedServices', 'gitTokenId', gitTokenId)
|
|
43696
|
+
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}/associatedServices`
|
|
43697
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
43698
|
+
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
43699
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43700
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43701
|
+
let baseOptions;
|
|
43702
|
+
if (configuration) {
|
|
43703
|
+
baseOptions = configuration.baseOptions;
|
|
43704
|
+
}
|
|
43705
|
+
|
|
43706
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
43707
|
+
const localVarHeaderParameter = {} as any;
|
|
43708
|
+
const localVarQueryParameter = {} as any;
|
|
43709
|
+
|
|
43710
|
+
// authentication ApiKeyAuth required
|
|
43711
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
43712
|
+
|
|
43713
|
+
// authentication bearerAuth required
|
|
43714
|
+
// http bearer authentication required
|
|
43715
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
43716
|
+
|
|
43717
|
+
|
|
43718
|
+
|
|
43719
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43720
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43721
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43722
|
+
|
|
43723
|
+
return {
|
|
43724
|
+
url: toPathString(localVarUrlObj),
|
|
43725
|
+
options: localVarRequestOptions,
|
|
43726
|
+
};
|
|
43727
|
+
},
|
|
43598
43728
|
/**
|
|
43599
43729
|
*
|
|
43600
43730
|
* @summary Get organization by ID
|
|
@@ -43627,6 +43757,51 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
43627
43757
|
|
|
43628
43758
|
|
|
43629
43759
|
|
|
43760
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43761
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43762
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43763
|
+
|
|
43764
|
+
return {
|
|
43765
|
+
url: toPathString(localVarUrlObj),
|
|
43766
|
+
options: localVarRequestOptions,
|
|
43767
|
+
};
|
|
43768
|
+
},
|
|
43769
|
+
/**
|
|
43770
|
+
* Get organization git tokens
|
|
43771
|
+
* @summary Get organization git token
|
|
43772
|
+
* @param {string} organizationId Organization ID
|
|
43773
|
+
* @param {string} gitTokenId Git Token ID
|
|
43774
|
+
* @param {*} [options] Override http request option.
|
|
43775
|
+
* @throws {RequiredError}
|
|
43776
|
+
*/
|
|
43777
|
+
getOrganizationGitTokens: async (organizationId: string, gitTokenId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43778
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
43779
|
+
assertParamExists('getOrganizationGitTokens', 'organizationId', organizationId)
|
|
43780
|
+
// verify required parameter 'gitTokenId' is not null or undefined
|
|
43781
|
+
assertParamExists('getOrganizationGitTokens', 'gitTokenId', gitTokenId)
|
|
43782
|
+
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
|
|
43783
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
43784
|
+
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
43785
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43787
|
+
let baseOptions;
|
|
43788
|
+
if (configuration) {
|
|
43789
|
+
baseOptions = configuration.baseOptions;
|
|
43790
|
+
}
|
|
43791
|
+
|
|
43792
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
43793
|
+
const localVarHeaderParameter = {} as any;
|
|
43794
|
+
const localVarQueryParameter = {} as any;
|
|
43795
|
+
|
|
43796
|
+
// authentication ApiKeyAuth required
|
|
43797
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
43798
|
+
|
|
43799
|
+
// authentication bearerAuth required
|
|
43800
|
+
// http bearer authentication required
|
|
43801
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
43802
|
+
|
|
43803
|
+
|
|
43804
|
+
|
|
43630
43805
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43631
43806
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43632
43807
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -43836,6 +44011,18 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
43836
44011
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganization(organizationId, organizationEditRequest, options);
|
|
43837
44012
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
43838
44013
|
},
|
|
44014
|
+
/**
|
|
44015
|
+
* Get organization git tokens associated services
|
|
44016
|
+
* @summary Get organization git token associated services
|
|
44017
|
+
* @param {string} organizationId Organization ID
|
|
44018
|
+
* @param {string} gitTokenId Git Token ID
|
|
44019
|
+
* @param {*} [options] Override http request option.
|
|
44020
|
+
* @throws {RequiredError}
|
|
44021
|
+
*/
|
|
44022
|
+
async getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenAssociatedServicesResponseList>> {
|
|
44023
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGitTokenAssociatedServices(organizationId, gitTokenId, options);
|
|
44024
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44025
|
+
},
|
|
43839
44026
|
/**
|
|
43840
44027
|
*
|
|
43841
44028
|
* @summary Get organization by ID
|
|
@@ -43847,6 +44034,18 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
43847
44034
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganization(organizationId, options);
|
|
43848
44035
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
43849
44036
|
},
|
|
44037
|
+
/**
|
|
44038
|
+
* Get organization git tokens
|
|
44039
|
+
* @summary Get organization git token
|
|
44040
|
+
* @param {string} organizationId Organization ID
|
|
44041
|
+
* @param {string} gitTokenId Git Token ID
|
|
44042
|
+
* @param {*} [options] Override http request option.
|
|
44043
|
+
* @throws {RequiredError}
|
|
44044
|
+
*/
|
|
44045
|
+
async getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>> {
|
|
44046
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationGitTokens(organizationId, gitTokenId, options);
|
|
44047
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44048
|
+
},
|
|
43850
44049
|
/**
|
|
43851
44050
|
*
|
|
43852
44051
|
* @summary List user organizations
|
|
@@ -43954,6 +44153,17 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
43954
44153
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: any): AxiosPromise<Organization> {
|
|
43955
44154
|
return localVarFp.editOrganization(organizationId, organizationEditRequest, options).then((request) => request(axios, basePath));
|
|
43956
44155
|
},
|
|
44156
|
+
/**
|
|
44157
|
+
* Get organization git tokens associated services
|
|
44158
|
+
* @summary Get organization git token associated services
|
|
44159
|
+
* @param {string} organizationId Organization ID
|
|
44160
|
+
* @param {string} gitTokenId Git Token ID
|
|
44161
|
+
* @param {*} [options] Override http request option.
|
|
44162
|
+
* @throws {RequiredError}
|
|
44163
|
+
*/
|
|
44164
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenAssociatedServicesResponseList> {
|
|
44165
|
+
return localVarFp.getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
44166
|
+
},
|
|
43957
44167
|
/**
|
|
43958
44168
|
*
|
|
43959
44169
|
* @summary Get organization by ID
|
|
@@ -43964,6 +44174,17 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
43964
44174
|
getOrganization(organizationId: string, options?: any): AxiosPromise<Organization> {
|
|
43965
44175
|
return localVarFp.getOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
43966
44176
|
},
|
|
44177
|
+
/**
|
|
44178
|
+
* Get organization git tokens
|
|
44179
|
+
* @summary Get organization git token
|
|
44180
|
+
* @param {string} organizationId Organization ID
|
|
44181
|
+
* @param {string} gitTokenId Git Token ID
|
|
44182
|
+
* @param {*} [options] Override http request option.
|
|
44183
|
+
* @throws {RequiredError}
|
|
44184
|
+
*/
|
|
44185
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenResponse> {
|
|
44186
|
+
return localVarFp.getOrganizationGitTokens(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
44187
|
+
},
|
|
43967
44188
|
/**
|
|
43968
44189
|
*
|
|
43969
44190
|
* @summary List user organizations
|
|
@@ -44080,6 +44301,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
44080
44301
|
return OrganizationMainCallsApiFp(this.configuration).editOrganization(organizationId, organizationEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
44081
44302
|
}
|
|
44082
44303
|
|
|
44304
|
+
/**
|
|
44305
|
+
* Get organization git tokens associated services
|
|
44306
|
+
* @summary Get organization git token associated services
|
|
44307
|
+
* @param {string} organizationId Organization ID
|
|
44308
|
+
* @param {string} gitTokenId Git Token ID
|
|
44309
|
+
* @param {*} [options] Override http request option.
|
|
44310
|
+
* @throws {RequiredError}
|
|
44311
|
+
* @memberof OrganizationMainCallsApi
|
|
44312
|
+
*/
|
|
44313
|
+
public getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) {
|
|
44314
|
+
return OrganizationMainCallsApiFp(this.configuration).getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
44315
|
+
}
|
|
44316
|
+
|
|
44083
44317
|
/**
|
|
44084
44318
|
*
|
|
44085
44319
|
* @summary Get organization by ID
|
|
@@ -44092,6 +44326,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
44092
44326
|
return OrganizationMainCallsApiFp(this.configuration).getOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
44093
44327
|
}
|
|
44094
44328
|
|
|
44329
|
+
/**
|
|
44330
|
+
* Get organization git tokens
|
|
44331
|
+
* @summary Get organization git token
|
|
44332
|
+
* @param {string} organizationId Organization ID
|
|
44333
|
+
* @param {string} gitTokenId Git Token ID
|
|
44334
|
+
* @param {*} [options] Override http request option.
|
|
44335
|
+
* @throws {RequiredError}
|
|
44336
|
+
* @memberof OrganizationMainCallsApi
|
|
44337
|
+
*/
|
|
44338
|
+
public getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) {
|
|
44339
|
+
return OrganizationMainCallsApiFp(this.configuration).getOrganizationGitTokens(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
44340
|
+
}
|
|
44341
|
+
|
|
44095
44342
|
/**
|
|
44096
44343
|
*
|
|
44097
44344
|
* @summary List user organizations
|
package/dist/api.d.ts
CHANGED
|
@@ -7053,6 +7053,79 @@ export interface GitRepositoryResponseList {
|
|
|
7053
7053
|
*/
|
|
7054
7054
|
'results'?: Array<GitRepository>;
|
|
7055
7055
|
}
|
|
7056
|
+
/**
|
|
7057
|
+
*
|
|
7058
|
+
* @export
|
|
7059
|
+
* @interface GitTokenAssociatedServiceResponse
|
|
7060
|
+
*/
|
|
7061
|
+
export interface GitTokenAssociatedServiceResponse {
|
|
7062
|
+
/**
|
|
7063
|
+
*
|
|
7064
|
+
* @type {string}
|
|
7065
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7066
|
+
*/
|
|
7067
|
+
'project_id': string;
|
|
7068
|
+
/**
|
|
7069
|
+
*
|
|
7070
|
+
* @type {string}
|
|
7071
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7072
|
+
*/
|
|
7073
|
+
'project_name': string;
|
|
7074
|
+
/**
|
|
7075
|
+
*
|
|
7076
|
+
* @type {string}
|
|
7077
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7078
|
+
*/
|
|
7079
|
+
'environment_id': string;
|
|
7080
|
+
/**
|
|
7081
|
+
*
|
|
7082
|
+
* @type {string}
|
|
7083
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7084
|
+
*/
|
|
7085
|
+
'environment_name': string;
|
|
7086
|
+
/**
|
|
7087
|
+
*
|
|
7088
|
+
* @type {string}
|
|
7089
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7090
|
+
*/
|
|
7091
|
+
'service_id': string;
|
|
7092
|
+
/**
|
|
7093
|
+
*
|
|
7094
|
+
* @type {string}
|
|
7095
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7096
|
+
*/
|
|
7097
|
+
'service_name': string;
|
|
7098
|
+
/**
|
|
7099
|
+
*
|
|
7100
|
+
* @type {GitTokenAssociatedServiceType}
|
|
7101
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7102
|
+
*/
|
|
7103
|
+
'service_type': GitTokenAssociatedServiceType;
|
|
7104
|
+
}
|
|
7105
|
+
/**
|
|
7106
|
+
*
|
|
7107
|
+
* @export
|
|
7108
|
+
* @enum {string}
|
|
7109
|
+
*/
|
|
7110
|
+
export declare const GitTokenAssociatedServiceType: {
|
|
7111
|
+
readonly APPLICATION: "APPLICATION";
|
|
7112
|
+
readonly JOB: "JOB";
|
|
7113
|
+
readonly HELM: "HELM";
|
|
7114
|
+
};
|
|
7115
|
+
export type GitTokenAssociatedServiceType = typeof GitTokenAssociatedServiceType[keyof typeof GitTokenAssociatedServiceType];
|
|
7116
|
+
/**
|
|
7117
|
+
*
|
|
7118
|
+
* @export
|
|
7119
|
+
* @interface GitTokenAssociatedServicesResponseList
|
|
7120
|
+
*/
|
|
7121
|
+
export interface GitTokenAssociatedServicesResponseList {
|
|
7122
|
+
/**
|
|
7123
|
+
*
|
|
7124
|
+
* @type {Array<GitTokenAssociatedServiceResponse>}
|
|
7125
|
+
* @memberof GitTokenAssociatedServicesResponseList
|
|
7126
|
+
*/
|
|
7127
|
+
'results'?: Array<GitTokenAssociatedServiceResponse>;
|
|
7128
|
+
}
|
|
7056
7129
|
/**
|
|
7057
7130
|
*
|
|
7058
7131
|
* @export
|
|
@@ -7138,6 +7211,12 @@ export interface GitTokenResponse {
|
|
|
7138
7211
|
* @memberof GitTokenResponse
|
|
7139
7212
|
*/
|
|
7140
7213
|
'expired_at'?: string;
|
|
7214
|
+
/**
|
|
7215
|
+
* The number of services using this git token
|
|
7216
|
+
* @type {number}
|
|
7217
|
+
* @memberof GitTokenResponse
|
|
7218
|
+
*/
|
|
7219
|
+
'associated_services_count': number;
|
|
7141
7220
|
}
|
|
7142
7221
|
/**
|
|
7143
7222
|
*
|
|
@@ -27089,6 +27168,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27089
27168
|
* @throws {RequiredError}
|
|
27090
27169
|
*/
|
|
27091
27170
|
editOrganization: (organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27171
|
+
/**
|
|
27172
|
+
* Get organization git tokens associated services
|
|
27173
|
+
* @summary Get organization git token associated services
|
|
27174
|
+
* @param {string} organizationId Organization ID
|
|
27175
|
+
* @param {string} gitTokenId Git Token ID
|
|
27176
|
+
* @param {*} [options] Override http request option.
|
|
27177
|
+
* @throws {RequiredError}
|
|
27178
|
+
*/
|
|
27179
|
+
getGitTokenAssociatedServices: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27092
27180
|
/**
|
|
27093
27181
|
*
|
|
27094
27182
|
* @summary Get organization by ID
|
|
@@ -27097,6 +27185,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27097
27185
|
* @throws {RequiredError}
|
|
27098
27186
|
*/
|
|
27099
27187
|
getOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27188
|
+
/**
|
|
27189
|
+
* Get organization git tokens
|
|
27190
|
+
* @summary Get organization git token
|
|
27191
|
+
* @param {string} organizationId Organization ID
|
|
27192
|
+
* @param {string} gitTokenId Git Token ID
|
|
27193
|
+
* @param {*} [options] Override http request option.
|
|
27194
|
+
* @throws {RequiredError}
|
|
27195
|
+
*/
|
|
27196
|
+
getOrganizationGitTokens: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27100
27197
|
/**
|
|
27101
27198
|
*
|
|
27102
27199
|
* @summary List user organizations
|
|
@@ -27179,6 +27276,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27179
27276
|
* @throws {RequiredError}
|
|
27180
27277
|
*/
|
|
27181
27278
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27279
|
+
/**
|
|
27280
|
+
* Get organization git tokens associated services
|
|
27281
|
+
* @summary Get organization git token associated services
|
|
27282
|
+
* @param {string} organizationId Organization ID
|
|
27283
|
+
* @param {string} gitTokenId Git Token ID
|
|
27284
|
+
* @param {*} [options] Override http request option.
|
|
27285
|
+
* @throws {RequiredError}
|
|
27286
|
+
*/
|
|
27287
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenAssociatedServicesResponseList>>;
|
|
27182
27288
|
/**
|
|
27183
27289
|
*
|
|
27184
27290
|
* @summary Get organization by ID
|
|
@@ -27187,6 +27293,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27187
27293
|
* @throws {RequiredError}
|
|
27188
27294
|
*/
|
|
27189
27295
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27296
|
+
/**
|
|
27297
|
+
* Get organization git tokens
|
|
27298
|
+
* @summary Get organization git token
|
|
27299
|
+
* @param {string} organizationId Organization ID
|
|
27300
|
+
* @param {string} gitTokenId Git Token ID
|
|
27301
|
+
* @param {*} [options] Override http request option.
|
|
27302
|
+
* @throws {RequiredError}
|
|
27303
|
+
*/
|
|
27304
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
|
|
27190
27305
|
/**
|
|
27191
27306
|
*
|
|
27192
27307
|
* @summary List user organizations
|
|
@@ -27269,6 +27384,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27269
27384
|
* @throws {RequiredError}
|
|
27270
27385
|
*/
|
|
27271
27386
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: any): AxiosPromise<Organization>;
|
|
27387
|
+
/**
|
|
27388
|
+
* Get organization git tokens associated services
|
|
27389
|
+
* @summary Get organization git token associated services
|
|
27390
|
+
* @param {string} organizationId Organization ID
|
|
27391
|
+
* @param {string} gitTokenId Git Token ID
|
|
27392
|
+
* @param {*} [options] Override http request option.
|
|
27393
|
+
* @throws {RequiredError}
|
|
27394
|
+
*/
|
|
27395
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenAssociatedServicesResponseList>;
|
|
27272
27396
|
/**
|
|
27273
27397
|
*
|
|
27274
27398
|
* @summary Get organization by ID
|
|
@@ -27277,6 +27401,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27277
27401
|
* @throws {RequiredError}
|
|
27278
27402
|
*/
|
|
27279
27403
|
getOrganization(organizationId: string, options?: any): AxiosPromise<Organization>;
|
|
27404
|
+
/**
|
|
27405
|
+
* Get organization git tokens
|
|
27406
|
+
* @summary Get organization git token
|
|
27407
|
+
* @param {string} organizationId Organization ID
|
|
27408
|
+
* @param {string} gitTokenId Git Token ID
|
|
27409
|
+
* @param {*} [options] Override http request option.
|
|
27410
|
+
* @throws {RequiredError}
|
|
27411
|
+
*/
|
|
27412
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenResponse>;
|
|
27280
27413
|
/**
|
|
27281
27414
|
*
|
|
27282
27415
|
* @summary List user organizations
|
|
@@ -27367,6 +27500,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27367
27500
|
* @memberof OrganizationMainCallsApi
|
|
27368
27501
|
*/
|
|
27369
27502
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27503
|
+
/**
|
|
27504
|
+
* Get organization git tokens associated services
|
|
27505
|
+
* @summary Get organization git token associated services
|
|
27506
|
+
* @param {string} organizationId Organization ID
|
|
27507
|
+
* @param {string} gitTokenId Git Token ID
|
|
27508
|
+
* @param {*} [options] Override http request option.
|
|
27509
|
+
* @throws {RequiredError}
|
|
27510
|
+
* @memberof OrganizationMainCallsApi
|
|
27511
|
+
*/
|
|
27512
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenAssociatedServicesResponseList, any>>;
|
|
27370
27513
|
/**
|
|
27371
27514
|
*
|
|
27372
27515
|
* @summary Get organization by ID
|
|
@@ -27376,6 +27519,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27376
27519
|
* @memberof OrganizationMainCallsApi
|
|
27377
27520
|
*/
|
|
27378
27521
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27522
|
+
/**
|
|
27523
|
+
* Get organization git tokens
|
|
27524
|
+
* @summary Get organization git token
|
|
27525
|
+
* @param {string} organizationId Organization ID
|
|
27526
|
+
* @param {string} gitTokenId Git Token ID
|
|
27527
|
+
* @param {*} [options] Override http request option.
|
|
27528
|
+
* @throws {RequiredError}
|
|
27529
|
+
* @memberof OrganizationMainCallsApi
|
|
27530
|
+
*/
|
|
27531
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any>>;
|
|
27379
27532
|
/**
|
|
27380
27533
|
*
|
|
27381
27534
|
* @summary List user organizations
|
package/dist/api.js
CHANGED
|
@@ -22,14 +22,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = void 0;
|
|
25
|
+
exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.LinkedServiceTypeEnum = exports.KubernetesEnum = exports.JobScheduleEvent = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmForceEvent = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMetricsApi = exports.ApplicationMetricsApiFactory = exports.ApplicationMetricsApiFp = exports.ApplicationMetricsApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.ServiceTypeEnum = exports.ServiceStepMetricNameEnum = exports.ServiceDeploymentStatusEnum = void 0;
|
|
27
|
+
exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = void 0;
|
|
28
|
+
exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMetricsApi = exports.DatabaseMetricsApiFactory = exports.DatabaseMetricsApiFp = exports.DatabaseMetricsApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMetricsApi = exports.ContainerMetricsApiFactory = exports.ContainerMetricsApiFp = exports.ContainerMetricsApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = void 0;
|
|
29
|
+
exports.HelmApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = void 0;
|
|
30
|
+
exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.HelmApi = exports.HelmApiFactory = exports.HelmApiFp = void 0;
|
|
31
|
+
exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMetricsApi = exports.JobMetricsApiFactory = exports.JobMetricsApiFp = exports.JobMetricsApiAxiosParamCreator = exports.JobMainCallsApi = void 0;
|
|
32
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = void 0;
|
|
33
33
|
const axios_1 = require("axios");
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
@@ -319,6 +319,16 @@ exports.GitProviderEnum = {
|
|
|
319
319
|
GITHUB: 'GITHUB',
|
|
320
320
|
GITLAB: 'GITLAB'
|
|
321
321
|
};
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
* @export
|
|
325
|
+
* @enum {string}
|
|
326
|
+
*/
|
|
327
|
+
exports.GitTokenAssociatedServiceType = {
|
|
328
|
+
APPLICATION: 'APPLICATION',
|
|
329
|
+
JOB: 'JOB',
|
|
330
|
+
HELM: 'HELM'
|
|
331
|
+
};
|
|
322
332
|
/**
|
|
323
333
|
*
|
|
324
334
|
* @export
|
|
@@ -28630,6 +28640,44 @@ const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
28630
28640
|
options: localVarRequestOptions,
|
|
28631
28641
|
};
|
|
28632
28642
|
}),
|
|
28643
|
+
/**
|
|
28644
|
+
* Get organization git tokens associated services
|
|
28645
|
+
* @summary Get organization git token associated services
|
|
28646
|
+
* @param {string} organizationId Organization ID
|
|
28647
|
+
* @param {string} gitTokenId Git Token ID
|
|
28648
|
+
* @param {*} [options] Override http request option.
|
|
28649
|
+
* @throws {RequiredError}
|
|
28650
|
+
*/
|
|
28651
|
+
getGitTokenAssociatedServices: (organizationId, gitTokenId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
28652
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
28653
|
+
(0, common_1.assertParamExists)('getGitTokenAssociatedServices', 'organizationId', organizationId);
|
|
28654
|
+
// verify required parameter 'gitTokenId' is not null or undefined
|
|
28655
|
+
(0, common_1.assertParamExists)('getGitTokenAssociatedServices', 'gitTokenId', gitTokenId);
|
|
28656
|
+
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}/associatedServices`
|
|
28657
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
28658
|
+
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
28659
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28660
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
28661
|
+
let baseOptions;
|
|
28662
|
+
if (configuration) {
|
|
28663
|
+
baseOptions = configuration.baseOptions;
|
|
28664
|
+
}
|
|
28665
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
28666
|
+
const localVarHeaderParameter = {};
|
|
28667
|
+
const localVarQueryParameter = {};
|
|
28668
|
+
// authentication ApiKeyAuth required
|
|
28669
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
28670
|
+
// authentication bearerAuth required
|
|
28671
|
+
// http bearer authentication required
|
|
28672
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
28673
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
28674
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28675
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
28676
|
+
return {
|
|
28677
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
28678
|
+
options: localVarRequestOptions,
|
|
28679
|
+
};
|
|
28680
|
+
}),
|
|
28633
28681
|
/**
|
|
28634
28682
|
*
|
|
28635
28683
|
* @summary Get organization by ID
|
|
@@ -28664,6 +28712,44 @@ const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
28664
28712
|
options: localVarRequestOptions,
|
|
28665
28713
|
};
|
|
28666
28714
|
}),
|
|
28715
|
+
/**
|
|
28716
|
+
* Get organization git tokens
|
|
28717
|
+
* @summary Get organization git token
|
|
28718
|
+
* @param {string} organizationId Organization ID
|
|
28719
|
+
* @param {string} gitTokenId Git Token ID
|
|
28720
|
+
* @param {*} [options] Override http request option.
|
|
28721
|
+
* @throws {RequiredError}
|
|
28722
|
+
*/
|
|
28723
|
+
getOrganizationGitTokens: (organizationId, gitTokenId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
28724
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
28725
|
+
(0, common_1.assertParamExists)('getOrganizationGitTokens', 'organizationId', organizationId);
|
|
28726
|
+
// verify required parameter 'gitTokenId' is not null or undefined
|
|
28727
|
+
(0, common_1.assertParamExists)('getOrganizationGitTokens', 'gitTokenId', gitTokenId);
|
|
28728
|
+
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
|
|
28729
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
28730
|
+
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
28731
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28732
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
28733
|
+
let baseOptions;
|
|
28734
|
+
if (configuration) {
|
|
28735
|
+
baseOptions = configuration.baseOptions;
|
|
28736
|
+
}
|
|
28737
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
28738
|
+
const localVarHeaderParameter = {};
|
|
28739
|
+
const localVarQueryParameter = {};
|
|
28740
|
+
// authentication ApiKeyAuth required
|
|
28741
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
28742
|
+
// authentication bearerAuth required
|
|
28743
|
+
// http bearer authentication required
|
|
28744
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
28745
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
28746
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28747
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
28748
|
+
return {
|
|
28749
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
28750
|
+
options: localVarRequestOptions,
|
|
28751
|
+
};
|
|
28752
|
+
}),
|
|
28667
28753
|
/**
|
|
28668
28754
|
*
|
|
28669
28755
|
* @summary List user organizations
|
|
@@ -28855,6 +28941,20 @@ const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
28855
28941
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
28856
28942
|
});
|
|
28857
28943
|
},
|
|
28944
|
+
/**
|
|
28945
|
+
* Get organization git tokens associated services
|
|
28946
|
+
* @summary Get organization git token associated services
|
|
28947
|
+
* @param {string} organizationId Organization ID
|
|
28948
|
+
* @param {string} gitTokenId Git Token ID
|
|
28949
|
+
* @param {*} [options] Override http request option.
|
|
28950
|
+
* @throws {RequiredError}
|
|
28951
|
+
*/
|
|
28952
|
+
getGitTokenAssociatedServices(organizationId, gitTokenId, options) {
|
|
28953
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28954
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getGitTokenAssociatedServices(organizationId, gitTokenId, options);
|
|
28955
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
28956
|
+
});
|
|
28957
|
+
},
|
|
28858
28958
|
/**
|
|
28859
28959
|
*
|
|
28860
28960
|
* @summary Get organization by ID
|
|
@@ -28868,6 +28968,20 @@ const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
28868
28968
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
28869
28969
|
});
|
|
28870
28970
|
},
|
|
28971
|
+
/**
|
|
28972
|
+
* Get organization git tokens
|
|
28973
|
+
* @summary Get organization git token
|
|
28974
|
+
* @param {string} organizationId Organization ID
|
|
28975
|
+
* @param {string} gitTokenId Git Token ID
|
|
28976
|
+
* @param {*} [options] Override http request option.
|
|
28977
|
+
* @throws {RequiredError}
|
|
28978
|
+
*/
|
|
28979
|
+
getOrganizationGitTokens(organizationId, gitTokenId, options) {
|
|
28980
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28981
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationGitTokens(organizationId, gitTokenId, options);
|
|
28982
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
28983
|
+
});
|
|
28984
|
+
},
|
|
28871
28985
|
/**
|
|
28872
28986
|
*
|
|
28873
28987
|
* @summary List user organizations
|
|
@@ -28981,6 +29095,17 @@ const OrganizationMainCallsApiFactory = function (configuration, basePath, axios
|
|
|
28981
29095
|
editOrganization(organizationId, organizationEditRequest, options) {
|
|
28982
29096
|
return localVarFp.editOrganization(organizationId, organizationEditRequest, options).then((request) => request(axios, basePath));
|
|
28983
29097
|
},
|
|
29098
|
+
/**
|
|
29099
|
+
* Get organization git tokens associated services
|
|
29100
|
+
* @summary Get organization git token associated services
|
|
29101
|
+
* @param {string} organizationId Organization ID
|
|
29102
|
+
* @param {string} gitTokenId Git Token ID
|
|
29103
|
+
* @param {*} [options] Override http request option.
|
|
29104
|
+
* @throws {RequiredError}
|
|
29105
|
+
*/
|
|
29106
|
+
getGitTokenAssociatedServices(organizationId, gitTokenId, options) {
|
|
29107
|
+
return localVarFp.getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
29108
|
+
},
|
|
28984
29109
|
/**
|
|
28985
29110
|
*
|
|
28986
29111
|
* @summary Get organization by ID
|
|
@@ -28991,6 +29116,17 @@ const OrganizationMainCallsApiFactory = function (configuration, basePath, axios
|
|
|
28991
29116
|
getOrganization(organizationId, options) {
|
|
28992
29117
|
return localVarFp.getOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
28993
29118
|
},
|
|
29119
|
+
/**
|
|
29120
|
+
* Get organization git tokens
|
|
29121
|
+
* @summary Get organization git token
|
|
29122
|
+
* @param {string} organizationId Organization ID
|
|
29123
|
+
* @param {string} gitTokenId Git Token ID
|
|
29124
|
+
* @param {*} [options] Override http request option.
|
|
29125
|
+
* @throws {RequiredError}
|
|
29126
|
+
*/
|
|
29127
|
+
getOrganizationGitTokens(organizationId, gitTokenId, options) {
|
|
29128
|
+
return localVarFp.getOrganizationGitTokens(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
29129
|
+
},
|
|
28994
29130
|
/**
|
|
28995
29131
|
*
|
|
28996
29132
|
* @summary List user organizations
|
|
@@ -29101,6 +29237,18 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
|
|
|
29101
29237
|
editOrganization(organizationId, organizationEditRequest, options) {
|
|
29102
29238
|
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).editOrganization(organizationId, organizationEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29103
29239
|
}
|
|
29240
|
+
/**
|
|
29241
|
+
* Get organization git tokens associated services
|
|
29242
|
+
* @summary Get organization git token associated services
|
|
29243
|
+
* @param {string} organizationId Organization ID
|
|
29244
|
+
* @param {string} gitTokenId Git Token ID
|
|
29245
|
+
* @param {*} [options] Override http request option.
|
|
29246
|
+
* @throws {RequiredError}
|
|
29247
|
+
* @memberof OrganizationMainCallsApi
|
|
29248
|
+
*/
|
|
29249
|
+
getGitTokenAssociatedServices(organizationId, gitTokenId, options) {
|
|
29250
|
+
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
29251
|
+
}
|
|
29104
29252
|
/**
|
|
29105
29253
|
*
|
|
29106
29254
|
* @summary Get organization by ID
|
|
@@ -29112,6 +29260,18 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
|
|
|
29112
29260
|
getOrganization(organizationId, options) {
|
|
29113
29261
|
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).getOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
29114
29262
|
}
|
|
29263
|
+
/**
|
|
29264
|
+
* Get organization git tokens
|
|
29265
|
+
* @summary Get organization git token
|
|
29266
|
+
* @param {string} organizationId Organization ID
|
|
29267
|
+
* @param {string} gitTokenId Git Token ID
|
|
29268
|
+
* @param {*} [options] Override http request option.
|
|
29269
|
+
* @throws {RequiredError}
|
|
29270
|
+
* @memberof OrganizationMainCallsApi
|
|
29271
|
+
*/
|
|
29272
|
+
getOrganizationGitTokens(organizationId, gitTokenId, options) {
|
|
29273
|
+
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).getOrganizationGitTokens(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
29274
|
+
}
|
|
29115
29275
|
/**
|
|
29116
29276
|
*
|
|
29117
29277
|
* @summary List user organizations
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -7053,6 +7053,79 @@ export interface GitRepositoryResponseList {
|
|
|
7053
7053
|
*/
|
|
7054
7054
|
'results'?: Array<GitRepository>;
|
|
7055
7055
|
}
|
|
7056
|
+
/**
|
|
7057
|
+
*
|
|
7058
|
+
* @export
|
|
7059
|
+
* @interface GitTokenAssociatedServiceResponse
|
|
7060
|
+
*/
|
|
7061
|
+
export interface GitTokenAssociatedServiceResponse {
|
|
7062
|
+
/**
|
|
7063
|
+
*
|
|
7064
|
+
* @type {string}
|
|
7065
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7066
|
+
*/
|
|
7067
|
+
'project_id': string;
|
|
7068
|
+
/**
|
|
7069
|
+
*
|
|
7070
|
+
* @type {string}
|
|
7071
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7072
|
+
*/
|
|
7073
|
+
'project_name': string;
|
|
7074
|
+
/**
|
|
7075
|
+
*
|
|
7076
|
+
* @type {string}
|
|
7077
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7078
|
+
*/
|
|
7079
|
+
'environment_id': string;
|
|
7080
|
+
/**
|
|
7081
|
+
*
|
|
7082
|
+
* @type {string}
|
|
7083
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7084
|
+
*/
|
|
7085
|
+
'environment_name': string;
|
|
7086
|
+
/**
|
|
7087
|
+
*
|
|
7088
|
+
* @type {string}
|
|
7089
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7090
|
+
*/
|
|
7091
|
+
'service_id': string;
|
|
7092
|
+
/**
|
|
7093
|
+
*
|
|
7094
|
+
* @type {string}
|
|
7095
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7096
|
+
*/
|
|
7097
|
+
'service_name': string;
|
|
7098
|
+
/**
|
|
7099
|
+
*
|
|
7100
|
+
* @type {GitTokenAssociatedServiceType}
|
|
7101
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7102
|
+
*/
|
|
7103
|
+
'service_type': GitTokenAssociatedServiceType;
|
|
7104
|
+
}
|
|
7105
|
+
/**
|
|
7106
|
+
*
|
|
7107
|
+
* @export
|
|
7108
|
+
* @enum {string}
|
|
7109
|
+
*/
|
|
7110
|
+
export declare const GitTokenAssociatedServiceType: {
|
|
7111
|
+
readonly APPLICATION: "APPLICATION";
|
|
7112
|
+
readonly JOB: "JOB";
|
|
7113
|
+
readonly HELM: "HELM";
|
|
7114
|
+
};
|
|
7115
|
+
export type GitTokenAssociatedServiceType = typeof GitTokenAssociatedServiceType[keyof typeof GitTokenAssociatedServiceType];
|
|
7116
|
+
/**
|
|
7117
|
+
*
|
|
7118
|
+
* @export
|
|
7119
|
+
* @interface GitTokenAssociatedServicesResponseList
|
|
7120
|
+
*/
|
|
7121
|
+
export interface GitTokenAssociatedServicesResponseList {
|
|
7122
|
+
/**
|
|
7123
|
+
*
|
|
7124
|
+
* @type {Array<GitTokenAssociatedServiceResponse>}
|
|
7125
|
+
* @memberof GitTokenAssociatedServicesResponseList
|
|
7126
|
+
*/
|
|
7127
|
+
'results'?: Array<GitTokenAssociatedServiceResponse>;
|
|
7128
|
+
}
|
|
7056
7129
|
/**
|
|
7057
7130
|
*
|
|
7058
7131
|
* @export
|
|
@@ -7138,6 +7211,12 @@ export interface GitTokenResponse {
|
|
|
7138
7211
|
* @memberof GitTokenResponse
|
|
7139
7212
|
*/
|
|
7140
7213
|
'expired_at'?: string;
|
|
7214
|
+
/**
|
|
7215
|
+
* The number of services using this git token
|
|
7216
|
+
* @type {number}
|
|
7217
|
+
* @memberof GitTokenResponse
|
|
7218
|
+
*/
|
|
7219
|
+
'associated_services_count': number;
|
|
7141
7220
|
}
|
|
7142
7221
|
/**
|
|
7143
7222
|
*
|
|
@@ -27089,6 +27168,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27089
27168
|
* @throws {RequiredError}
|
|
27090
27169
|
*/
|
|
27091
27170
|
editOrganization: (organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27171
|
+
/**
|
|
27172
|
+
* Get organization git tokens associated services
|
|
27173
|
+
* @summary Get organization git token associated services
|
|
27174
|
+
* @param {string} organizationId Organization ID
|
|
27175
|
+
* @param {string} gitTokenId Git Token ID
|
|
27176
|
+
* @param {*} [options] Override http request option.
|
|
27177
|
+
* @throws {RequiredError}
|
|
27178
|
+
*/
|
|
27179
|
+
getGitTokenAssociatedServices: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27092
27180
|
/**
|
|
27093
27181
|
*
|
|
27094
27182
|
* @summary Get organization by ID
|
|
@@ -27097,6 +27185,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27097
27185
|
* @throws {RequiredError}
|
|
27098
27186
|
*/
|
|
27099
27187
|
getOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27188
|
+
/**
|
|
27189
|
+
* Get organization git tokens
|
|
27190
|
+
* @summary Get organization git token
|
|
27191
|
+
* @param {string} organizationId Organization ID
|
|
27192
|
+
* @param {string} gitTokenId Git Token ID
|
|
27193
|
+
* @param {*} [options] Override http request option.
|
|
27194
|
+
* @throws {RequiredError}
|
|
27195
|
+
*/
|
|
27196
|
+
getOrganizationGitTokens: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27100
27197
|
/**
|
|
27101
27198
|
*
|
|
27102
27199
|
* @summary List user organizations
|
|
@@ -27179,6 +27276,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27179
27276
|
* @throws {RequiredError}
|
|
27180
27277
|
*/
|
|
27181
27278
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27279
|
+
/**
|
|
27280
|
+
* Get organization git tokens associated services
|
|
27281
|
+
* @summary Get organization git token associated services
|
|
27282
|
+
* @param {string} organizationId Organization ID
|
|
27283
|
+
* @param {string} gitTokenId Git Token ID
|
|
27284
|
+
* @param {*} [options] Override http request option.
|
|
27285
|
+
* @throws {RequiredError}
|
|
27286
|
+
*/
|
|
27287
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenAssociatedServicesResponseList>>;
|
|
27182
27288
|
/**
|
|
27183
27289
|
*
|
|
27184
27290
|
* @summary Get organization by ID
|
|
@@ -27187,6 +27293,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27187
27293
|
* @throws {RequiredError}
|
|
27188
27294
|
*/
|
|
27189
27295
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27296
|
+
/**
|
|
27297
|
+
* Get organization git tokens
|
|
27298
|
+
* @summary Get organization git token
|
|
27299
|
+
* @param {string} organizationId Organization ID
|
|
27300
|
+
* @param {string} gitTokenId Git Token ID
|
|
27301
|
+
* @param {*} [options] Override http request option.
|
|
27302
|
+
* @throws {RequiredError}
|
|
27303
|
+
*/
|
|
27304
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
|
|
27190
27305
|
/**
|
|
27191
27306
|
*
|
|
27192
27307
|
* @summary List user organizations
|
|
@@ -27269,6 +27384,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27269
27384
|
* @throws {RequiredError}
|
|
27270
27385
|
*/
|
|
27271
27386
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: any): AxiosPromise<Organization>;
|
|
27387
|
+
/**
|
|
27388
|
+
* Get organization git tokens associated services
|
|
27389
|
+
* @summary Get organization git token associated services
|
|
27390
|
+
* @param {string} organizationId Organization ID
|
|
27391
|
+
* @param {string} gitTokenId Git Token ID
|
|
27392
|
+
* @param {*} [options] Override http request option.
|
|
27393
|
+
* @throws {RequiredError}
|
|
27394
|
+
*/
|
|
27395
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenAssociatedServicesResponseList>;
|
|
27272
27396
|
/**
|
|
27273
27397
|
*
|
|
27274
27398
|
* @summary Get organization by ID
|
|
@@ -27277,6 +27401,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27277
27401
|
* @throws {RequiredError}
|
|
27278
27402
|
*/
|
|
27279
27403
|
getOrganization(organizationId: string, options?: any): AxiosPromise<Organization>;
|
|
27404
|
+
/**
|
|
27405
|
+
* Get organization git tokens
|
|
27406
|
+
* @summary Get organization git token
|
|
27407
|
+
* @param {string} organizationId Organization ID
|
|
27408
|
+
* @param {string} gitTokenId Git Token ID
|
|
27409
|
+
* @param {*} [options] Override http request option.
|
|
27410
|
+
* @throws {RequiredError}
|
|
27411
|
+
*/
|
|
27412
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenResponse>;
|
|
27280
27413
|
/**
|
|
27281
27414
|
*
|
|
27282
27415
|
* @summary List user organizations
|
|
@@ -27367,6 +27500,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27367
27500
|
* @memberof OrganizationMainCallsApi
|
|
27368
27501
|
*/
|
|
27369
27502
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27503
|
+
/**
|
|
27504
|
+
* Get organization git tokens associated services
|
|
27505
|
+
* @summary Get organization git token associated services
|
|
27506
|
+
* @param {string} organizationId Organization ID
|
|
27507
|
+
* @param {string} gitTokenId Git Token ID
|
|
27508
|
+
* @param {*} [options] Override http request option.
|
|
27509
|
+
* @throws {RequiredError}
|
|
27510
|
+
* @memberof OrganizationMainCallsApi
|
|
27511
|
+
*/
|
|
27512
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenAssociatedServicesResponseList, any>>;
|
|
27370
27513
|
/**
|
|
27371
27514
|
*
|
|
27372
27515
|
* @summary Get organization by ID
|
|
@@ -27376,6 +27519,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27376
27519
|
* @memberof OrganizationMainCallsApi
|
|
27377
27520
|
*/
|
|
27378
27521
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27522
|
+
/**
|
|
27523
|
+
* Get organization git tokens
|
|
27524
|
+
* @summary Get organization git token
|
|
27525
|
+
* @param {string} organizationId Organization ID
|
|
27526
|
+
* @param {string} gitTokenId Git Token ID
|
|
27527
|
+
* @param {*} [options] Override http request option.
|
|
27528
|
+
* @throws {RequiredError}
|
|
27529
|
+
* @memberof OrganizationMainCallsApi
|
|
27530
|
+
*/
|
|
27531
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any>>;
|
|
27379
27532
|
/**
|
|
27380
27533
|
*
|
|
27381
27534
|
* @summary List user organizations
|
package/dist/esm/api.js
CHANGED
|
@@ -309,6 +309,16 @@ export const GitProviderEnum = {
|
|
|
309
309
|
GITHUB: 'GITHUB',
|
|
310
310
|
GITLAB: 'GITLAB'
|
|
311
311
|
};
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @export
|
|
315
|
+
* @enum {string}
|
|
316
|
+
*/
|
|
317
|
+
export const GitTokenAssociatedServiceType = {
|
|
318
|
+
APPLICATION: 'APPLICATION',
|
|
319
|
+
JOB: 'JOB',
|
|
320
|
+
HELM: 'HELM'
|
|
321
|
+
};
|
|
312
322
|
/**
|
|
313
323
|
*
|
|
314
324
|
* @export
|
|
@@ -28348,6 +28358,44 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
28348
28358
|
options: localVarRequestOptions,
|
|
28349
28359
|
};
|
|
28350
28360
|
}),
|
|
28361
|
+
/**
|
|
28362
|
+
* Get organization git tokens associated services
|
|
28363
|
+
* @summary Get organization git token associated services
|
|
28364
|
+
* @param {string} organizationId Organization ID
|
|
28365
|
+
* @param {string} gitTokenId Git Token ID
|
|
28366
|
+
* @param {*} [options] Override http request option.
|
|
28367
|
+
* @throws {RequiredError}
|
|
28368
|
+
*/
|
|
28369
|
+
getGitTokenAssociatedServices: (organizationId, gitTokenId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
28370
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
28371
|
+
assertParamExists('getGitTokenAssociatedServices', 'organizationId', organizationId);
|
|
28372
|
+
// verify required parameter 'gitTokenId' is not null or undefined
|
|
28373
|
+
assertParamExists('getGitTokenAssociatedServices', 'gitTokenId', gitTokenId);
|
|
28374
|
+
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}/associatedServices`
|
|
28375
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
28376
|
+
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
28377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28378
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28379
|
+
let baseOptions;
|
|
28380
|
+
if (configuration) {
|
|
28381
|
+
baseOptions = configuration.baseOptions;
|
|
28382
|
+
}
|
|
28383
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
28384
|
+
const localVarHeaderParameter = {};
|
|
28385
|
+
const localVarQueryParameter = {};
|
|
28386
|
+
// authentication ApiKeyAuth required
|
|
28387
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
28388
|
+
// authentication bearerAuth required
|
|
28389
|
+
// http bearer authentication required
|
|
28390
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
28391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28393
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
28394
|
+
return {
|
|
28395
|
+
url: toPathString(localVarUrlObj),
|
|
28396
|
+
options: localVarRequestOptions,
|
|
28397
|
+
};
|
|
28398
|
+
}),
|
|
28351
28399
|
/**
|
|
28352
28400
|
*
|
|
28353
28401
|
* @summary Get organization by ID
|
|
@@ -28382,6 +28430,44 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
28382
28430
|
options: localVarRequestOptions,
|
|
28383
28431
|
};
|
|
28384
28432
|
}),
|
|
28433
|
+
/**
|
|
28434
|
+
* Get organization git tokens
|
|
28435
|
+
* @summary Get organization git token
|
|
28436
|
+
* @param {string} organizationId Organization ID
|
|
28437
|
+
* @param {string} gitTokenId Git Token ID
|
|
28438
|
+
* @param {*} [options] Override http request option.
|
|
28439
|
+
* @throws {RequiredError}
|
|
28440
|
+
*/
|
|
28441
|
+
getOrganizationGitTokens: (organizationId, gitTokenId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
28442
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
28443
|
+
assertParamExists('getOrganizationGitTokens', 'organizationId', organizationId);
|
|
28444
|
+
// verify required parameter 'gitTokenId' is not null or undefined
|
|
28445
|
+
assertParamExists('getOrganizationGitTokens', 'gitTokenId', gitTokenId);
|
|
28446
|
+
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
|
|
28447
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
28448
|
+
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
28449
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28450
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28451
|
+
let baseOptions;
|
|
28452
|
+
if (configuration) {
|
|
28453
|
+
baseOptions = configuration.baseOptions;
|
|
28454
|
+
}
|
|
28455
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
28456
|
+
const localVarHeaderParameter = {};
|
|
28457
|
+
const localVarQueryParameter = {};
|
|
28458
|
+
// authentication ApiKeyAuth required
|
|
28459
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
28460
|
+
// authentication bearerAuth required
|
|
28461
|
+
// http bearer authentication required
|
|
28462
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
28463
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28464
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28465
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
28466
|
+
return {
|
|
28467
|
+
url: toPathString(localVarUrlObj),
|
|
28468
|
+
options: localVarRequestOptions,
|
|
28469
|
+
};
|
|
28470
|
+
}),
|
|
28385
28471
|
/**
|
|
28386
28472
|
*
|
|
28387
28473
|
* @summary List user organizations
|
|
@@ -28572,6 +28658,20 @@ export const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
28572
28658
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28573
28659
|
});
|
|
28574
28660
|
},
|
|
28661
|
+
/**
|
|
28662
|
+
* Get organization git tokens associated services
|
|
28663
|
+
* @summary Get organization git token associated services
|
|
28664
|
+
* @param {string} organizationId Organization ID
|
|
28665
|
+
* @param {string} gitTokenId Git Token ID
|
|
28666
|
+
* @param {*} [options] Override http request option.
|
|
28667
|
+
* @throws {RequiredError}
|
|
28668
|
+
*/
|
|
28669
|
+
getGitTokenAssociatedServices(organizationId, gitTokenId, options) {
|
|
28670
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28671
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getGitTokenAssociatedServices(organizationId, gitTokenId, options);
|
|
28672
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28673
|
+
});
|
|
28674
|
+
},
|
|
28575
28675
|
/**
|
|
28576
28676
|
*
|
|
28577
28677
|
* @summary Get organization by ID
|
|
@@ -28585,6 +28685,20 @@ export const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
28585
28685
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28586
28686
|
});
|
|
28587
28687
|
},
|
|
28688
|
+
/**
|
|
28689
|
+
* Get organization git tokens
|
|
28690
|
+
* @summary Get organization git token
|
|
28691
|
+
* @param {string} organizationId Organization ID
|
|
28692
|
+
* @param {string} gitTokenId Git Token ID
|
|
28693
|
+
* @param {*} [options] Override http request option.
|
|
28694
|
+
* @throws {RequiredError}
|
|
28695
|
+
*/
|
|
28696
|
+
getOrganizationGitTokens(organizationId, gitTokenId, options) {
|
|
28697
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28698
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationGitTokens(organizationId, gitTokenId, options);
|
|
28699
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28700
|
+
});
|
|
28701
|
+
},
|
|
28588
28702
|
/**
|
|
28589
28703
|
*
|
|
28590
28704
|
* @summary List user organizations
|
|
@@ -28697,6 +28811,17 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
|
|
|
28697
28811
|
editOrganization(organizationId, organizationEditRequest, options) {
|
|
28698
28812
|
return localVarFp.editOrganization(organizationId, organizationEditRequest, options).then((request) => request(axios, basePath));
|
|
28699
28813
|
},
|
|
28814
|
+
/**
|
|
28815
|
+
* Get organization git tokens associated services
|
|
28816
|
+
* @summary Get organization git token associated services
|
|
28817
|
+
* @param {string} organizationId Organization ID
|
|
28818
|
+
* @param {string} gitTokenId Git Token ID
|
|
28819
|
+
* @param {*} [options] Override http request option.
|
|
28820
|
+
* @throws {RequiredError}
|
|
28821
|
+
*/
|
|
28822
|
+
getGitTokenAssociatedServices(organizationId, gitTokenId, options) {
|
|
28823
|
+
return localVarFp.getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
28824
|
+
},
|
|
28700
28825
|
/**
|
|
28701
28826
|
*
|
|
28702
28827
|
* @summary Get organization by ID
|
|
@@ -28707,6 +28832,17 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
|
|
|
28707
28832
|
getOrganization(organizationId, options) {
|
|
28708
28833
|
return localVarFp.getOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
28709
28834
|
},
|
|
28835
|
+
/**
|
|
28836
|
+
* Get organization git tokens
|
|
28837
|
+
* @summary Get organization git token
|
|
28838
|
+
* @param {string} organizationId Organization ID
|
|
28839
|
+
* @param {string} gitTokenId Git Token ID
|
|
28840
|
+
* @param {*} [options] Override http request option.
|
|
28841
|
+
* @throws {RequiredError}
|
|
28842
|
+
*/
|
|
28843
|
+
getOrganizationGitTokens(organizationId, gitTokenId, options) {
|
|
28844
|
+
return localVarFp.getOrganizationGitTokens(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
28845
|
+
},
|
|
28710
28846
|
/**
|
|
28711
28847
|
*
|
|
28712
28848
|
* @summary List user organizations
|
|
@@ -28816,6 +28952,18 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
28816
28952
|
editOrganization(organizationId, organizationEditRequest, options) {
|
|
28817
28953
|
return OrganizationMainCallsApiFp(this.configuration).editOrganization(organizationId, organizationEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28818
28954
|
}
|
|
28955
|
+
/**
|
|
28956
|
+
* Get organization git tokens associated services
|
|
28957
|
+
* @summary Get organization git token associated services
|
|
28958
|
+
* @param {string} organizationId Organization ID
|
|
28959
|
+
* @param {string} gitTokenId Git Token ID
|
|
28960
|
+
* @param {*} [options] Override http request option.
|
|
28961
|
+
* @throws {RequiredError}
|
|
28962
|
+
* @memberof OrganizationMainCallsApi
|
|
28963
|
+
*/
|
|
28964
|
+
getGitTokenAssociatedServices(organizationId, gitTokenId, options) {
|
|
28965
|
+
return OrganizationMainCallsApiFp(this.configuration).getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
28966
|
+
}
|
|
28819
28967
|
/**
|
|
28820
28968
|
*
|
|
28821
28969
|
* @summary Get organization by ID
|
|
@@ -28827,6 +28975,18 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
28827
28975
|
getOrganization(organizationId, options) {
|
|
28828
28976
|
return OrganizationMainCallsApiFp(this.configuration).getOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
28829
28977
|
}
|
|
28978
|
+
/**
|
|
28979
|
+
* Get organization git tokens
|
|
28980
|
+
* @summary Get organization git token
|
|
28981
|
+
* @param {string} organizationId Organization ID
|
|
28982
|
+
* @param {string} gitTokenId Git Token ID
|
|
28983
|
+
* @param {*} [options] Override http request option.
|
|
28984
|
+
* @throws {RequiredError}
|
|
28985
|
+
* @memberof OrganizationMainCallsApi
|
|
28986
|
+
*/
|
|
28987
|
+
getOrganizationGitTokens(organizationId, gitTokenId, options) {
|
|
28988
|
+
return OrganizationMainCallsApiFp(this.configuration).getOrganizationGitTokens(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
28989
|
+
}
|
|
28830
28990
|
/**
|
|
28831
28991
|
*
|
|
28832
28992
|
* @summary List user organizations
|