qovery-typescript-axios 1.1.263 → 1.1.265
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 +253 -0
- package/dist/api.d.ts +159 -0
- package/dist/api.js +168 -8
- package/dist/esm/api.d.ts +159 -0
- package/dist/esm/api.js +160 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5496,6 +5496,12 @@ export interface DeploymentStageWithServicesStatuses {
|
|
|
5496
5496
|
* @memberof DeploymentStageWithServicesStatuses
|
|
5497
5497
|
*/
|
|
5498
5498
|
'databases'?: Array<Status>;
|
|
5499
|
+
/**
|
|
5500
|
+
*
|
|
5501
|
+
* @type {Array<Status>}
|
|
5502
|
+
* @memberof DeploymentStageWithServicesStatuses
|
|
5503
|
+
*/
|
|
5504
|
+
'helms'?: Array<Status>;
|
|
5499
5505
|
/**
|
|
5500
5506
|
*
|
|
5501
5507
|
* @type {Stage}
|
|
@@ -7260,6 +7266,85 @@ export interface GitRepositoryResponseList {
|
|
|
7260
7266
|
*/
|
|
7261
7267
|
'results'?: Array<GitRepository>;
|
|
7262
7268
|
}
|
|
7269
|
+
/**
|
|
7270
|
+
*
|
|
7271
|
+
* @export
|
|
7272
|
+
* @interface GitTokenAssociatedServiceResponse
|
|
7273
|
+
*/
|
|
7274
|
+
export interface GitTokenAssociatedServiceResponse {
|
|
7275
|
+
/**
|
|
7276
|
+
*
|
|
7277
|
+
* @type {string}
|
|
7278
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7279
|
+
*/
|
|
7280
|
+
'project_id': string;
|
|
7281
|
+
/**
|
|
7282
|
+
*
|
|
7283
|
+
* @type {string}
|
|
7284
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7285
|
+
*/
|
|
7286
|
+
'project_name': string;
|
|
7287
|
+
/**
|
|
7288
|
+
*
|
|
7289
|
+
* @type {string}
|
|
7290
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7291
|
+
*/
|
|
7292
|
+
'environment_id': string;
|
|
7293
|
+
/**
|
|
7294
|
+
*
|
|
7295
|
+
* @type {string}
|
|
7296
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7297
|
+
*/
|
|
7298
|
+
'environment_name': string;
|
|
7299
|
+
/**
|
|
7300
|
+
*
|
|
7301
|
+
* @type {string}
|
|
7302
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7303
|
+
*/
|
|
7304
|
+
'service_id': string;
|
|
7305
|
+
/**
|
|
7306
|
+
*
|
|
7307
|
+
* @type {string}
|
|
7308
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7309
|
+
*/
|
|
7310
|
+
'service_name': string;
|
|
7311
|
+
/**
|
|
7312
|
+
*
|
|
7313
|
+
* @type {GitTokenAssociatedServiceType}
|
|
7314
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7315
|
+
*/
|
|
7316
|
+
'service_type': GitTokenAssociatedServiceType;
|
|
7317
|
+
}
|
|
7318
|
+
|
|
7319
|
+
|
|
7320
|
+
/**
|
|
7321
|
+
*
|
|
7322
|
+
* @export
|
|
7323
|
+
* @enum {string}
|
|
7324
|
+
*/
|
|
7325
|
+
|
|
7326
|
+
export const GitTokenAssociatedServiceType = {
|
|
7327
|
+
APPLICATION: 'APPLICATION',
|
|
7328
|
+
JOB: 'JOB',
|
|
7329
|
+
HELM: 'HELM'
|
|
7330
|
+
} as const;
|
|
7331
|
+
|
|
7332
|
+
export type GitTokenAssociatedServiceType = typeof GitTokenAssociatedServiceType[keyof typeof GitTokenAssociatedServiceType];
|
|
7333
|
+
|
|
7334
|
+
|
|
7335
|
+
/**
|
|
7336
|
+
*
|
|
7337
|
+
* @export
|
|
7338
|
+
* @interface GitTokenAssociatedServicesResponseList
|
|
7339
|
+
*/
|
|
7340
|
+
export interface GitTokenAssociatedServicesResponseList {
|
|
7341
|
+
/**
|
|
7342
|
+
*
|
|
7343
|
+
* @type {Array<GitTokenAssociatedServiceResponse>}
|
|
7344
|
+
* @memberof GitTokenAssociatedServicesResponseList
|
|
7345
|
+
*/
|
|
7346
|
+
'results'?: Array<GitTokenAssociatedServiceResponse>;
|
|
7347
|
+
}
|
|
7263
7348
|
/**
|
|
7264
7349
|
*
|
|
7265
7350
|
* @export
|
|
@@ -7347,6 +7432,12 @@ export interface GitTokenResponse {
|
|
|
7347
7432
|
* @memberof GitTokenResponse
|
|
7348
7433
|
*/
|
|
7349
7434
|
'expired_at'?: string;
|
|
7435
|
+
/**
|
|
7436
|
+
* The number of services using this git token
|
|
7437
|
+
* @type {number}
|
|
7438
|
+
* @memberof GitTokenResponse
|
|
7439
|
+
*/
|
|
7440
|
+
'associated_services_count': number;
|
|
7350
7441
|
}
|
|
7351
7442
|
|
|
7352
7443
|
|
|
@@ -43595,6 +43686,51 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
43595
43686
|
options: localVarRequestOptions,
|
|
43596
43687
|
};
|
|
43597
43688
|
},
|
|
43689
|
+
/**
|
|
43690
|
+
* Get organization git tokens associated services
|
|
43691
|
+
* @summary Get organization git token associated services
|
|
43692
|
+
* @param {string} organizationId Organization ID
|
|
43693
|
+
* @param {string} gitTokenId Git Token ID
|
|
43694
|
+
* @param {*} [options] Override http request option.
|
|
43695
|
+
* @throws {RequiredError}
|
|
43696
|
+
*/
|
|
43697
|
+
getGitTokenAssociatedServices: async (organizationId: string, gitTokenId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43698
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
43699
|
+
assertParamExists('getGitTokenAssociatedServices', 'organizationId', organizationId)
|
|
43700
|
+
// verify required parameter 'gitTokenId' is not null or undefined
|
|
43701
|
+
assertParamExists('getGitTokenAssociatedServices', 'gitTokenId', gitTokenId)
|
|
43702
|
+
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}/associatedServices`
|
|
43703
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
43704
|
+
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
43705
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43706
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43707
|
+
let baseOptions;
|
|
43708
|
+
if (configuration) {
|
|
43709
|
+
baseOptions = configuration.baseOptions;
|
|
43710
|
+
}
|
|
43711
|
+
|
|
43712
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
43713
|
+
const localVarHeaderParameter = {} as any;
|
|
43714
|
+
const localVarQueryParameter = {} as any;
|
|
43715
|
+
|
|
43716
|
+
// authentication ApiKeyAuth required
|
|
43717
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
43718
|
+
|
|
43719
|
+
// authentication bearerAuth required
|
|
43720
|
+
// http bearer authentication required
|
|
43721
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
43722
|
+
|
|
43723
|
+
|
|
43724
|
+
|
|
43725
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43726
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43727
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43728
|
+
|
|
43729
|
+
return {
|
|
43730
|
+
url: toPathString(localVarUrlObj),
|
|
43731
|
+
options: localVarRequestOptions,
|
|
43732
|
+
};
|
|
43733
|
+
},
|
|
43598
43734
|
/**
|
|
43599
43735
|
*
|
|
43600
43736
|
* @summary Get organization by ID
|
|
@@ -43627,6 +43763,51 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
43627
43763
|
|
|
43628
43764
|
|
|
43629
43765
|
|
|
43766
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43767
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43768
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43769
|
+
|
|
43770
|
+
return {
|
|
43771
|
+
url: toPathString(localVarUrlObj),
|
|
43772
|
+
options: localVarRequestOptions,
|
|
43773
|
+
};
|
|
43774
|
+
},
|
|
43775
|
+
/**
|
|
43776
|
+
* Get organization git tokens
|
|
43777
|
+
* @summary Get organization git token
|
|
43778
|
+
* @param {string} organizationId Organization ID
|
|
43779
|
+
* @param {string} gitTokenId Git Token ID
|
|
43780
|
+
* @param {*} [options] Override http request option.
|
|
43781
|
+
* @throws {RequiredError}
|
|
43782
|
+
*/
|
|
43783
|
+
getOrganizationGitTokens: async (organizationId: string, gitTokenId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43784
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
43785
|
+
assertParamExists('getOrganizationGitTokens', 'organizationId', organizationId)
|
|
43786
|
+
// verify required parameter 'gitTokenId' is not null or undefined
|
|
43787
|
+
assertParamExists('getOrganizationGitTokens', 'gitTokenId', gitTokenId)
|
|
43788
|
+
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
|
|
43789
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
43790
|
+
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
43791
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43792
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43793
|
+
let baseOptions;
|
|
43794
|
+
if (configuration) {
|
|
43795
|
+
baseOptions = configuration.baseOptions;
|
|
43796
|
+
}
|
|
43797
|
+
|
|
43798
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
43799
|
+
const localVarHeaderParameter = {} as any;
|
|
43800
|
+
const localVarQueryParameter = {} as any;
|
|
43801
|
+
|
|
43802
|
+
// authentication ApiKeyAuth required
|
|
43803
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
43804
|
+
|
|
43805
|
+
// authentication bearerAuth required
|
|
43806
|
+
// http bearer authentication required
|
|
43807
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
43808
|
+
|
|
43809
|
+
|
|
43810
|
+
|
|
43630
43811
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43631
43812
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43632
43813
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -43836,6 +44017,18 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
43836
44017
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganization(organizationId, organizationEditRequest, options);
|
|
43837
44018
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
43838
44019
|
},
|
|
44020
|
+
/**
|
|
44021
|
+
* Get organization git tokens associated services
|
|
44022
|
+
* @summary Get organization git token associated services
|
|
44023
|
+
* @param {string} organizationId Organization ID
|
|
44024
|
+
* @param {string} gitTokenId Git Token ID
|
|
44025
|
+
* @param {*} [options] Override http request option.
|
|
44026
|
+
* @throws {RequiredError}
|
|
44027
|
+
*/
|
|
44028
|
+
async getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenAssociatedServicesResponseList>> {
|
|
44029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGitTokenAssociatedServices(organizationId, gitTokenId, options);
|
|
44030
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44031
|
+
},
|
|
43839
44032
|
/**
|
|
43840
44033
|
*
|
|
43841
44034
|
* @summary Get organization by ID
|
|
@@ -43847,6 +44040,18 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
43847
44040
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganization(organizationId, options);
|
|
43848
44041
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
43849
44042
|
},
|
|
44043
|
+
/**
|
|
44044
|
+
* Get organization git tokens
|
|
44045
|
+
* @summary Get organization git token
|
|
44046
|
+
* @param {string} organizationId Organization ID
|
|
44047
|
+
* @param {string} gitTokenId Git Token ID
|
|
44048
|
+
* @param {*} [options] Override http request option.
|
|
44049
|
+
* @throws {RequiredError}
|
|
44050
|
+
*/
|
|
44051
|
+
async getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>> {
|
|
44052
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationGitTokens(organizationId, gitTokenId, options);
|
|
44053
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44054
|
+
},
|
|
43850
44055
|
/**
|
|
43851
44056
|
*
|
|
43852
44057
|
* @summary List user organizations
|
|
@@ -43954,6 +44159,17 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
43954
44159
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: any): AxiosPromise<Organization> {
|
|
43955
44160
|
return localVarFp.editOrganization(organizationId, organizationEditRequest, options).then((request) => request(axios, basePath));
|
|
43956
44161
|
},
|
|
44162
|
+
/**
|
|
44163
|
+
* Get organization git tokens associated services
|
|
44164
|
+
* @summary Get organization git token associated services
|
|
44165
|
+
* @param {string} organizationId Organization ID
|
|
44166
|
+
* @param {string} gitTokenId Git Token ID
|
|
44167
|
+
* @param {*} [options] Override http request option.
|
|
44168
|
+
* @throws {RequiredError}
|
|
44169
|
+
*/
|
|
44170
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenAssociatedServicesResponseList> {
|
|
44171
|
+
return localVarFp.getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
44172
|
+
},
|
|
43957
44173
|
/**
|
|
43958
44174
|
*
|
|
43959
44175
|
* @summary Get organization by ID
|
|
@@ -43964,6 +44180,17 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
43964
44180
|
getOrganization(organizationId: string, options?: any): AxiosPromise<Organization> {
|
|
43965
44181
|
return localVarFp.getOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
43966
44182
|
},
|
|
44183
|
+
/**
|
|
44184
|
+
* Get organization git tokens
|
|
44185
|
+
* @summary Get organization git token
|
|
44186
|
+
* @param {string} organizationId Organization ID
|
|
44187
|
+
* @param {string} gitTokenId Git Token ID
|
|
44188
|
+
* @param {*} [options] Override http request option.
|
|
44189
|
+
* @throws {RequiredError}
|
|
44190
|
+
*/
|
|
44191
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenResponse> {
|
|
44192
|
+
return localVarFp.getOrganizationGitTokens(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
44193
|
+
},
|
|
43967
44194
|
/**
|
|
43968
44195
|
*
|
|
43969
44196
|
* @summary List user organizations
|
|
@@ -44080,6 +44307,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
44080
44307
|
return OrganizationMainCallsApiFp(this.configuration).editOrganization(organizationId, organizationEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
44081
44308
|
}
|
|
44082
44309
|
|
|
44310
|
+
/**
|
|
44311
|
+
* Get organization git tokens associated services
|
|
44312
|
+
* @summary Get organization git token associated services
|
|
44313
|
+
* @param {string} organizationId Organization ID
|
|
44314
|
+
* @param {string} gitTokenId Git Token ID
|
|
44315
|
+
* @param {*} [options] Override http request option.
|
|
44316
|
+
* @throws {RequiredError}
|
|
44317
|
+
* @memberof OrganizationMainCallsApi
|
|
44318
|
+
*/
|
|
44319
|
+
public getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) {
|
|
44320
|
+
return OrganizationMainCallsApiFp(this.configuration).getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
44321
|
+
}
|
|
44322
|
+
|
|
44083
44323
|
/**
|
|
44084
44324
|
*
|
|
44085
44325
|
* @summary Get organization by ID
|
|
@@ -44092,6 +44332,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
44092
44332
|
return OrganizationMainCallsApiFp(this.configuration).getOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
44093
44333
|
}
|
|
44094
44334
|
|
|
44335
|
+
/**
|
|
44336
|
+
* Get organization git tokens
|
|
44337
|
+
* @summary Get organization git token
|
|
44338
|
+
* @param {string} organizationId Organization ID
|
|
44339
|
+
* @param {string} gitTokenId Git Token ID
|
|
44340
|
+
* @param {*} [options] Override http request option.
|
|
44341
|
+
* @throws {RequiredError}
|
|
44342
|
+
* @memberof OrganizationMainCallsApi
|
|
44343
|
+
*/
|
|
44344
|
+
public getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) {
|
|
44345
|
+
return OrganizationMainCallsApiFp(this.configuration).getOrganizationGitTokens(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
44346
|
+
}
|
|
44347
|
+
|
|
44095
44348
|
/**
|
|
44096
44349
|
*
|
|
44097
44350
|
* @summary List user organizations
|
package/dist/api.d.ts
CHANGED
|
@@ -5327,6 +5327,12 @@ export interface DeploymentStageWithServicesStatuses {
|
|
|
5327
5327
|
* @memberof DeploymentStageWithServicesStatuses
|
|
5328
5328
|
*/
|
|
5329
5329
|
'databases'?: Array<Status>;
|
|
5330
|
+
/**
|
|
5331
|
+
*
|
|
5332
|
+
* @type {Array<Status>}
|
|
5333
|
+
* @memberof DeploymentStageWithServicesStatuses
|
|
5334
|
+
*/
|
|
5335
|
+
'helms'?: Array<Status>;
|
|
5330
5336
|
/**
|
|
5331
5337
|
*
|
|
5332
5338
|
* @type {Stage}
|
|
@@ -7053,6 +7059,79 @@ export interface GitRepositoryResponseList {
|
|
|
7053
7059
|
*/
|
|
7054
7060
|
'results'?: Array<GitRepository>;
|
|
7055
7061
|
}
|
|
7062
|
+
/**
|
|
7063
|
+
*
|
|
7064
|
+
* @export
|
|
7065
|
+
* @interface GitTokenAssociatedServiceResponse
|
|
7066
|
+
*/
|
|
7067
|
+
export interface GitTokenAssociatedServiceResponse {
|
|
7068
|
+
/**
|
|
7069
|
+
*
|
|
7070
|
+
* @type {string}
|
|
7071
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7072
|
+
*/
|
|
7073
|
+
'project_id': string;
|
|
7074
|
+
/**
|
|
7075
|
+
*
|
|
7076
|
+
* @type {string}
|
|
7077
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7078
|
+
*/
|
|
7079
|
+
'project_name': string;
|
|
7080
|
+
/**
|
|
7081
|
+
*
|
|
7082
|
+
* @type {string}
|
|
7083
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7084
|
+
*/
|
|
7085
|
+
'environment_id': string;
|
|
7086
|
+
/**
|
|
7087
|
+
*
|
|
7088
|
+
* @type {string}
|
|
7089
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7090
|
+
*/
|
|
7091
|
+
'environment_name': string;
|
|
7092
|
+
/**
|
|
7093
|
+
*
|
|
7094
|
+
* @type {string}
|
|
7095
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7096
|
+
*/
|
|
7097
|
+
'service_id': string;
|
|
7098
|
+
/**
|
|
7099
|
+
*
|
|
7100
|
+
* @type {string}
|
|
7101
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7102
|
+
*/
|
|
7103
|
+
'service_name': string;
|
|
7104
|
+
/**
|
|
7105
|
+
*
|
|
7106
|
+
* @type {GitTokenAssociatedServiceType}
|
|
7107
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7108
|
+
*/
|
|
7109
|
+
'service_type': GitTokenAssociatedServiceType;
|
|
7110
|
+
}
|
|
7111
|
+
/**
|
|
7112
|
+
*
|
|
7113
|
+
* @export
|
|
7114
|
+
* @enum {string}
|
|
7115
|
+
*/
|
|
7116
|
+
export declare const GitTokenAssociatedServiceType: {
|
|
7117
|
+
readonly APPLICATION: "APPLICATION";
|
|
7118
|
+
readonly JOB: "JOB";
|
|
7119
|
+
readonly HELM: "HELM";
|
|
7120
|
+
};
|
|
7121
|
+
export type GitTokenAssociatedServiceType = typeof GitTokenAssociatedServiceType[keyof typeof GitTokenAssociatedServiceType];
|
|
7122
|
+
/**
|
|
7123
|
+
*
|
|
7124
|
+
* @export
|
|
7125
|
+
* @interface GitTokenAssociatedServicesResponseList
|
|
7126
|
+
*/
|
|
7127
|
+
export interface GitTokenAssociatedServicesResponseList {
|
|
7128
|
+
/**
|
|
7129
|
+
*
|
|
7130
|
+
* @type {Array<GitTokenAssociatedServiceResponse>}
|
|
7131
|
+
* @memberof GitTokenAssociatedServicesResponseList
|
|
7132
|
+
*/
|
|
7133
|
+
'results'?: Array<GitTokenAssociatedServiceResponse>;
|
|
7134
|
+
}
|
|
7056
7135
|
/**
|
|
7057
7136
|
*
|
|
7058
7137
|
* @export
|
|
@@ -7138,6 +7217,12 @@ export interface GitTokenResponse {
|
|
|
7138
7217
|
* @memberof GitTokenResponse
|
|
7139
7218
|
*/
|
|
7140
7219
|
'expired_at'?: string;
|
|
7220
|
+
/**
|
|
7221
|
+
* The number of services using this git token
|
|
7222
|
+
* @type {number}
|
|
7223
|
+
* @memberof GitTokenResponse
|
|
7224
|
+
*/
|
|
7225
|
+
'associated_services_count': number;
|
|
7141
7226
|
}
|
|
7142
7227
|
/**
|
|
7143
7228
|
*
|
|
@@ -27089,6 +27174,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27089
27174
|
* @throws {RequiredError}
|
|
27090
27175
|
*/
|
|
27091
27176
|
editOrganization: (organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27177
|
+
/**
|
|
27178
|
+
* Get organization git tokens associated services
|
|
27179
|
+
* @summary Get organization git token associated services
|
|
27180
|
+
* @param {string} organizationId Organization ID
|
|
27181
|
+
* @param {string} gitTokenId Git Token ID
|
|
27182
|
+
* @param {*} [options] Override http request option.
|
|
27183
|
+
* @throws {RequiredError}
|
|
27184
|
+
*/
|
|
27185
|
+
getGitTokenAssociatedServices: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27092
27186
|
/**
|
|
27093
27187
|
*
|
|
27094
27188
|
* @summary Get organization by ID
|
|
@@ -27097,6 +27191,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27097
27191
|
* @throws {RequiredError}
|
|
27098
27192
|
*/
|
|
27099
27193
|
getOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27194
|
+
/**
|
|
27195
|
+
* Get organization git tokens
|
|
27196
|
+
* @summary Get organization git token
|
|
27197
|
+
* @param {string} organizationId Organization ID
|
|
27198
|
+
* @param {string} gitTokenId Git Token ID
|
|
27199
|
+
* @param {*} [options] Override http request option.
|
|
27200
|
+
* @throws {RequiredError}
|
|
27201
|
+
*/
|
|
27202
|
+
getOrganizationGitTokens: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27100
27203
|
/**
|
|
27101
27204
|
*
|
|
27102
27205
|
* @summary List user organizations
|
|
@@ -27179,6 +27282,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27179
27282
|
* @throws {RequiredError}
|
|
27180
27283
|
*/
|
|
27181
27284
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27285
|
+
/**
|
|
27286
|
+
* Get organization git tokens associated services
|
|
27287
|
+
* @summary Get organization git token associated services
|
|
27288
|
+
* @param {string} organizationId Organization ID
|
|
27289
|
+
* @param {string} gitTokenId Git Token ID
|
|
27290
|
+
* @param {*} [options] Override http request option.
|
|
27291
|
+
* @throws {RequiredError}
|
|
27292
|
+
*/
|
|
27293
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenAssociatedServicesResponseList>>;
|
|
27182
27294
|
/**
|
|
27183
27295
|
*
|
|
27184
27296
|
* @summary Get organization by ID
|
|
@@ -27187,6 +27299,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27187
27299
|
* @throws {RequiredError}
|
|
27188
27300
|
*/
|
|
27189
27301
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27302
|
+
/**
|
|
27303
|
+
* Get organization git tokens
|
|
27304
|
+
* @summary Get organization git token
|
|
27305
|
+
* @param {string} organizationId Organization ID
|
|
27306
|
+
* @param {string} gitTokenId Git Token ID
|
|
27307
|
+
* @param {*} [options] Override http request option.
|
|
27308
|
+
* @throws {RequiredError}
|
|
27309
|
+
*/
|
|
27310
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
|
|
27190
27311
|
/**
|
|
27191
27312
|
*
|
|
27192
27313
|
* @summary List user organizations
|
|
@@ -27269,6 +27390,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27269
27390
|
* @throws {RequiredError}
|
|
27270
27391
|
*/
|
|
27271
27392
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: any): AxiosPromise<Organization>;
|
|
27393
|
+
/**
|
|
27394
|
+
* Get organization git tokens associated services
|
|
27395
|
+
* @summary Get organization git token associated services
|
|
27396
|
+
* @param {string} organizationId Organization ID
|
|
27397
|
+
* @param {string} gitTokenId Git Token ID
|
|
27398
|
+
* @param {*} [options] Override http request option.
|
|
27399
|
+
* @throws {RequiredError}
|
|
27400
|
+
*/
|
|
27401
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenAssociatedServicesResponseList>;
|
|
27272
27402
|
/**
|
|
27273
27403
|
*
|
|
27274
27404
|
* @summary Get organization by ID
|
|
@@ -27277,6 +27407,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27277
27407
|
* @throws {RequiredError}
|
|
27278
27408
|
*/
|
|
27279
27409
|
getOrganization(organizationId: string, options?: any): AxiosPromise<Organization>;
|
|
27410
|
+
/**
|
|
27411
|
+
* Get organization git tokens
|
|
27412
|
+
* @summary Get organization git token
|
|
27413
|
+
* @param {string} organizationId Organization ID
|
|
27414
|
+
* @param {string} gitTokenId Git Token ID
|
|
27415
|
+
* @param {*} [options] Override http request option.
|
|
27416
|
+
* @throws {RequiredError}
|
|
27417
|
+
*/
|
|
27418
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenResponse>;
|
|
27280
27419
|
/**
|
|
27281
27420
|
*
|
|
27282
27421
|
* @summary List user organizations
|
|
@@ -27367,6 +27506,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27367
27506
|
* @memberof OrganizationMainCallsApi
|
|
27368
27507
|
*/
|
|
27369
27508
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27509
|
+
/**
|
|
27510
|
+
* Get organization git tokens associated services
|
|
27511
|
+
* @summary Get organization git token associated services
|
|
27512
|
+
* @param {string} organizationId Organization ID
|
|
27513
|
+
* @param {string} gitTokenId Git Token ID
|
|
27514
|
+
* @param {*} [options] Override http request option.
|
|
27515
|
+
* @throws {RequiredError}
|
|
27516
|
+
* @memberof OrganizationMainCallsApi
|
|
27517
|
+
*/
|
|
27518
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenAssociatedServicesResponseList, any>>;
|
|
27370
27519
|
/**
|
|
27371
27520
|
*
|
|
27372
27521
|
* @summary Get organization by ID
|
|
@@ -27376,6 +27525,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27376
27525
|
* @memberof OrganizationMainCallsApi
|
|
27377
27526
|
*/
|
|
27378
27527
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27528
|
+
/**
|
|
27529
|
+
* Get organization git tokens
|
|
27530
|
+
* @summary Get organization git token
|
|
27531
|
+
* @param {string} organizationId Organization ID
|
|
27532
|
+
* @param {string} gitTokenId Git Token ID
|
|
27533
|
+
* @param {*} [options] Override http request option.
|
|
27534
|
+
* @throws {RequiredError}
|
|
27535
|
+
* @memberof OrganizationMainCallsApi
|
|
27536
|
+
*/
|
|
27537
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any>>;
|
|
27379
27538
|
/**
|
|
27380
27539
|
*
|
|
27381
27540
|
* @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
|
@@ -5327,6 +5327,12 @@ export interface DeploymentStageWithServicesStatuses {
|
|
|
5327
5327
|
* @memberof DeploymentStageWithServicesStatuses
|
|
5328
5328
|
*/
|
|
5329
5329
|
'databases'?: Array<Status>;
|
|
5330
|
+
/**
|
|
5331
|
+
*
|
|
5332
|
+
* @type {Array<Status>}
|
|
5333
|
+
* @memberof DeploymentStageWithServicesStatuses
|
|
5334
|
+
*/
|
|
5335
|
+
'helms'?: Array<Status>;
|
|
5330
5336
|
/**
|
|
5331
5337
|
*
|
|
5332
5338
|
* @type {Stage}
|
|
@@ -7053,6 +7059,79 @@ export interface GitRepositoryResponseList {
|
|
|
7053
7059
|
*/
|
|
7054
7060
|
'results'?: Array<GitRepository>;
|
|
7055
7061
|
}
|
|
7062
|
+
/**
|
|
7063
|
+
*
|
|
7064
|
+
* @export
|
|
7065
|
+
* @interface GitTokenAssociatedServiceResponse
|
|
7066
|
+
*/
|
|
7067
|
+
export interface GitTokenAssociatedServiceResponse {
|
|
7068
|
+
/**
|
|
7069
|
+
*
|
|
7070
|
+
* @type {string}
|
|
7071
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7072
|
+
*/
|
|
7073
|
+
'project_id': string;
|
|
7074
|
+
/**
|
|
7075
|
+
*
|
|
7076
|
+
* @type {string}
|
|
7077
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7078
|
+
*/
|
|
7079
|
+
'project_name': string;
|
|
7080
|
+
/**
|
|
7081
|
+
*
|
|
7082
|
+
* @type {string}
|
|
7083
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7084
|
+
*/
|
|
7085
|
+
'environment_id': string;
|
|
7086
|
+
/**
|
|
7087
|
+
*
|
|
7088
|
+
* @type {string}
|
|
7089
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7090
|
+
*/
|
|
7091
|
+
'environment_name': string;
|
|
7092
|
+
/**
|
|
7093
|
+
*
|
|
7094
|
+
* @type {string}
|
|
7095
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7096
|
+
*/
|
|
7097
|
+
'service_id': string;
|
|
7098
|
+
/**
|
|
7099
|
+
*
|
|
7100
|
+
* @type {string}
|
|
7101
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7102
|
+
*/
|
|
7103
|
+
'service_name': string;
|
|
7104
|
+
/**
|
|
7105
|
+
*
|
|
7106
|
+
* @type {GitTokenAssociatedServiceType}
|
|
7107
|
+
* @memberof GitTokenAssociatedServiceResponse
|
|
7108
|
+
*/
|
|
7109
|
+
'service_type': GitTokenAssociatedServiceType;
|
|
7110
|
+
}
|
|
7111
|
+
/**
|
|
7112
|
+
*
|
|
7113
|
+
* @export
|
|
7114
|
+
* @enum {string}
|
|
7115
|
+
*/
|
|
7116
|
+
export declare const GitTokenAssociatedServiceType: {
|
|
7117
|
+
readonly APPLICATION: "APPLICATION";
|
|
7118
|
+
readonly JOB: "JOB";
|
|
7119
|
+
readonly HELM: "HELM";
|
|
7120
|
+
};
|
|
7121
|
+
export type GitTokenAssociatedServiceType = typeof GitTokenAssociatedServiceType[keyof typeof GitTokenAssociatedServiceType];
|
|
7122
|
+
/**
|
|
7123
|
+
*
|
|
7124
|
+
* @export
|
|
7125
|
+
* @interface GitTokenAssociatedServicesResponseList
|
|
7126
|
+
*/
|
|
7127
|
+
export interface GitTokenAssociatedServicesResponseList {
|
|
7128
|
+
/**
|
|
7129
|
+
*
|
|
7130
|
+
* @type {Array<GitTokenAssociatedServiceResponse>}
|
|
7131
|
+
* @memberof GitTokenAssociatedServicesResponseList
|
|
7132
|
+
*/
|
|
7133
|
+
'results'?: Array<GitTokenAssociatedServiceResponse>;
|
|
7134
|
+
}
|
|
7056
7135
|
/**
|
|
7057
7136
|
*
|
|
7058
7137
|
* @export
|
|
@@ -7138,6 +7217,12 @@ export interface GitTokenResponse {
|
|
|
7138
7217
|
* @memberof GitTokenResponse
|
|
7139
7218
|
*/
|
|
7140
7219
|
'expired_at'?: string;
|
|
7220
|
+
/**
|
|
7221
|
+
* The number of services using this git token
|
|
7222
|
+
* @type {number}
|
|
7223
|
+
* @memberof GitTokenResponse
|
|
7224
|
+
*/
|
|
7225
|
+
'associated_services_count': number;
|
|
7141
7226
|
}
|
|
7142
7227
|
/**
|
|
7143
7228
|
*
|
|
@@ -27089,6 +27174,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27089
27174
|
* @throws {RequiredError}
|
|
27090
27175
|
*/
|
|
27091
27176
|
editOrganization: (organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27177
|
+
/**
|
|
27178
|
+
* Get organization git tokens associated services
|
|
27179
|
+
* @summary Get organization git token associated services
|
|
27180
|
+
* @param {string} organizationId Organization ID
|
|
27181
|
+
* @param {string} gitTokenId Git Token ID
|
|
27182
|
+
* @param {*} [options] Override http request option.
|
|
27183
|
+
* @throws {RequiredError}
|
|
27184
|
+
*/
|
|
27185
|
+
getGitTokenAssociatedServices: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27092
27186
|
/**
|
|
27093
27187
|
*
|
|
27094
27188
|
* @summary Get organization by ID
|
|
@@ -27097,6 +27191,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27097
27191
|
* @throws {RequiredError}
|
|
27098
27192
|
*/
|
|
27099
27193
|
getOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27194
|
+
/**
|
|
27195
|
+
* Get organization git tokens
|
|
27196
|
+
* @summary Get organization git token
|
|
27197
|
+
* @param {string} organizationId Organization ID
|
|
27198
|
+
* @param {string} gitTokenId Git Token ID
|
|
27199
|
+
* @param {*} [options] Override http request option.
|
|
27200
|
+
* @throws {RequiredError}
|
|
27201
|
+
*/
|
|
27202
|
+
getOrganizationGitTokens: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27100
27203
|
/**
|
|
27101
27204
|
*
|
|
27102
27205
|
* @summary List user organizations
|
|
@@ -27179,6 +27282,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27179
27282
|
* @throws {RequiredError}
|
|
27180
27283
|
*/
|
|
27181
27284
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27285
|
+
/**
|
|
27286
|
+
* Get organization git tokens associated services
|
|
27287
|
+
* @summary Get organization git token associated services
|
|
27288
|
+
* @param {string} organizationId Organization ID
|
|
27289
|
+
* @param {string} gitTokenId Git Token ID
|
|
27290
|
+
* @param {*} [options] Override http request option.
|
|
27291
|
+
* @throws {RequiredError}
|
|
27292
|
+
*/
|
|
27293
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenAssociatedServicesResponseList>>;
|
|
27182
27294
|
/**
|
|
27183
27295
|
*
|
|
27184
27296
|
* @summary Get organization by ID
|
|
@@ -27187,6 +27299,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27187
27299
|
* @throws {RequiredError}
|
|
27188
27300
|
*/
|
|
27189
27301
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27302
|
+
/**
|
|
27303
|
+
* Get organization git tokens
|
|
27304
|
+
* @summary Get organization git token
|
|
27305
|
+
* @param {string} organizationId Organization ID
|
|
27306
|
+
* @param {string} gitTokenId Git Token ID
|
|
27307
|
+
* @param {*} [options] Override http request option.
|
|
27308
|
+
* @throws {RequiredError}
|
|
27309
|
+
*/
|
|
27310
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
|
|
27190
27311
|
/**
|
|
27191
27312
|
*
|
|
27192
27313
|
* @summary List user organizations
|
|
@@ -27269,6 +27390,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27269
27390
|
* @throws {RequiredError}
|
|
27270
27391
|
*/
|
|
27271
27392
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: any): AxiosPromise<Organization>;
|
|
27393
|
+
/**
|
|
27394
|
+
* Get organization git tokens associated services
|
|
27395
|
+
* @summary Get organization git token associated services
|
|
27396
|
+
* @param {string} organizationId Organization ID
|
|
27397
|
+
* @param {string} gitTokenId Git Token ID
|
|
27398
|
+
* @param {*} [options] Override http request option.
|
|
27399
|
+
* @throws {RequiredError}
|
|
27400
|
+
*/
|
|
27401
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenAssociatedServicesResponseList>;
|
|
27272
27402
|
/**
|
|
27273
27403
|
*
|
|
27274
27404
|
* @summary Get organization by ID
|
|
@@ -27277,6 +27407,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27277
27407
|
* @throws {RequiredError}
|
|
27278
27408
|
*/
|
|
27279
27409
|
getOrganization(organizationId: string, options?: any): AxiosPromise<Organization>;
|
|
27410
|
+
/**
|
|
27411
|
+
* Get organization git tokens
|
|
27412
|
+
* @summary Get organization git token
|
|
27413
|
+
* @param {string} organizationId Organization ID
|
|
27414
|
+
* @param {string} gitTokenId Git Token ID
|
|
27415
|
+
* @param {*} [options] Override http request option.
|
|
27416
|
+
* @throws {RequiredError}
|
|
27417
|
+
*/
|
|
27418
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenResponse>;
|
|
27280
27419
|
/**
|
|
27281
27420
|
*
|
|
27282
27421
|
* @summary List user organizations
|
|
@@ -27367,6 +27506,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27367
27506
|
* @memberof OrganizationMainCallsApi
|
|
27368
27507
|
*/
|
|
27369
27508
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27509
|
+
/**
|
|
27510
|
+
* Get organization git tokens associated services
|
|
27511
|
+
* @summary Get organization git token associated services
|
|
27512
|
+
* @param {string} organizationId Organization ID
|
|
27513
|
+
* @param {string} gitTokenId Git Token ID
|
|
27514
|
+
* @param {*} [options] Override http request option.
|
|
27515
|
+
* @throws {RequiredError}
|
|
27516
|
+
* @memberof OrganizationMainCallsApi
|
|
27517
|
+
*/
|
|
27518
|
+
getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenAssociatedServicesResponseList, any>>;
|
|
27370
27519
|
/**
|
|
27371
27520
|
*
|
|
27372
27521
|
* @summary Get organization by ID
|
|
@@ -27376,6 +27525,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27376
27525
|
* @memberof OrganizationMainCallsApi
|
|
27377
27526
|
*/
|
|
27378
27527
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27528
|
+
/**
|
|
27529
|
+
* Get organization git tokens
|
|
27530
|
+
* @summary Get organization git token
|
|
27531
|
+
* @param {string} organizationId Organization ID
|
|
27532
|
+
* @param {string} gitTokenId Git Token ID
|
|
27533
|
+
* @param {*} [options] Override http request option.
|
|
27534
|
+
* @throws {RequiredError}
|
|
27535
|
+
* @memberof OrganizationMainCallsApi
|
|
27536
|
+
*/
|
|
27537
|
+
getOrganizationGitTokens(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any>>;
|
|
27379
27538
|
/**
|
|
27380
27539
|
*
|
|
27381
27540
|
* @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
|