qovery-typescript-axios 1.1.266 → 1.1.268
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 +15 -13
- package/dist/api.d.ts +10 -8
- package/dist/api.js +15 -13
- package/dist/esm/api.d.ts +10 -8
- package/dist/esm/api.js +15 -13
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -10510,6 +10510,7 @@ export const OrganizationEventSubTargetType = {
|
|
|
10510
10510
|
DEPLOYMENT_STAGE: 'DEPLOYMENT_STAGE',
|
|
10511
10511
|
GITHUB_APP: 'GITHUB_APP',
|
|
10512
10512
|
GIT_REPOSITORY: 'GIT_REPOSITORY',
|
|
10513
|
+
GIT_TOKEN: 'GIT_TOKEN',
|
|
10513
10514
|
INVITATION: 'INVITATION',
|
|
10514
10515
|
MEMBER_ROLE: 'MEMBER_ROLE',
|
|
10515
10516
|
PLAN: 'PLAN',
|
|
@@ -10549,6 +10550,7 @@ export const OrganizationEventTargetType = {
|
|
|
10549
10550
|
DATABASE: 'DATABASE',
|
|
10550
10551
|
ENVIRONMENT: 'ENVIRONMENT',
|
|
10551
10552
|
JOB: 'JOB',
|
|
10553
|
+
HELM: 'HELM',
|
|
10552
10554
|
MEMBERS_AND_ROLES: 'MEMBERS_AND_ROLES',
|
|
10553
10555
|
ORGANIZATION: 'ORGANIZATION',
|
|
10554
10556
|
PROJECT: 'PROJECT',
|
|
@@ -43779,18 +43781,18 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
43779
43781
|
};
|
|
43780
43782
|
},
|
|
43781
43783
|
/**
|
|
43782
|
-
* Get organization git
|
|
43784
|
+
* Get organization git token
|
|
43783
43785
|
* @summary Get organization git token
|
|
43784
43786
|
* @param {string} organizationId Organization ID
|
|
43785
43787
|
* @param {string} gitTokenId Git Token ID
|
|
43786
43788
|
* @param {*} [options] Override http request option.
|
|
43787
43789
|
* @throws {RequiredError}
|
|
43788
43790
|
*/
|
|
43789
|
-
|
|
43791
|
+
getOrganizationGitToken: async (organizationId: string, gitTokenId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43790
43792
|
// verify required parameter 'organizationId' is not null or undefined
|
|
43791
|
-
assertParamExists('
|
|
43793
|
+
assertParamExists('getOrganizationGitToken', 'organizationId', organizationId)
|
|
43792
43794
|
// verify required parameter 'gitTokenId' is not null or undefined
|
|
43793
|
-
assertParamExists('
|
|
43795
|
+
assertParamExists('getOrganizationGitToken', 'gitTokenId', gitTokenId)
|
|
43794
43796
|
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
|
|
43795
43797
|
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
43796
43798
|
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
@@ -44047,15 +44049,15 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
44047
44049
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44048
44050
|
},
|
|
44049
44051
|
/**
|
|
44050
|
-
* Get organization git
|
|
44052
|
+
* Get organization git token
|
|
44051
44053
|
* @summary Get organization git token
|
|
44052
44054
|
* @param {string} organizationId Organization ID
|
|
44053
44055
|
* @param {string} gitTokenId Git Token ID
|
|
44054
44056
|
* @param {*} [options] Override http request option.
|
|
44055
44057
|
* @throws {RequiredError}
|
|
44056
44058
|
*/
|
|
44057
|
-
async
|
|
44058
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
44059
|
+
async getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>> {
|
|
44060
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationGitToken(organizationId, gitTokenId, options);
|
|
44059
44061
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
44060
44062
|
},
|
|
44061
44063
|
/**
|
|
@@ -44187,15 +44189,15 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
44187
44189
|
return localVarFp.getOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
44188
44190
|
},
|
|
44189
44191
|
/**
|
|
44190
|
-
* Get organization git
|
|
44192
|
+
* Get organization git token
|
|
44191
44193
|
* @summary Get organization git token
|
|
44192
44194
|
* @param {string} organizationId Organization ID
|
|
44193
44195
|
* @param {string} gitTokenId Git Token ID
|
|
44194
44196
|
* @param {*} [options] Override http request option.
|
|
44195
44197
|
* @throws {RequiredError}
|
|
44196
44198
|
*/
|
|
44197
|
-
|
|
44198
|
-
return localVarFp.
|
|
44199
|
+
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenResponse> {
|
|
44200
|
+
return localVarFp.getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
44199
44201
|
},
|
|
44200
44202
|
/**
|
|
44201
44203
|
*
|
|
@@ -44339,7 +44341,7 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
44339
44341
|
}
|
|
44340
44342
|
|
|
44341
44343
|
/**
|
|
44342
|
-
* Get organization git
|
|
44344
|
+
* Get organization git token
|
|
44343
44345
|
* @summary Get organization git token
|
|
44344
44346
|
* @param {string} organizationId Organization ID
|
|
44345
44347
|
* @param {string} gitTokenId Git Token ID
|
|
@@ -44347,8 +44349,8 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
44347
44349
|
* @throws {RequiredError}
|
|
44348
44350
|
* @memberof OrganizationMainCallsApi
|
|
44349
44351
|
*/
|
|
44350
|
-
public
|
|
44351
|
-
return OrganizationMainCallsApiFp(this.configuration).
|
|
44352
|
+
public getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) {
|
|
44353
|
+
return OrganizationMainCallsApiFp(this.configuration).getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
44352
44354
|
}
|
|
44353
44355
|
|
|
44354
44356
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -10211,6 +10211,7 @@ export declare const OrganizationEventSubTargetType: {
|
|
|
10211
10211
|
readonly DEPLOYMENT_STAGE: "DEPLOYMENT_STAGE";
|
|
10212
10212
|
readonly GITHUB_APP: "GITHUB_APP";
|
|
10213
10213
|
readonly GIT_REPOSITORY: "GIT_REPOSITORY";
|
|
10214
|
+
readonly GIT_TOKEN: "GIT_TOKEN";
|
|
10214
10215
|
readonly INVITATION: "INVITATION";
|
|
10215
10216
|
readonly MEMBER_ROLE: "MEMBER_ROLE";
|
|
10216
10217
|
readonly PLAN: "PLAN";
|
|
@@ -10246,6 +10247,7 @@ export declare const OrganizationEventTargetType: {
|
|
|
10246
10247
|
readonly DATABASE: "DATABASE";
|
|
10247
10248
|
readonly ENVIRONMENT: "ENVIRONMENT";
|
|
10248
10249
|
readonly JOB: "JOB";
|
|
10250
|
+
readonly HELM: "HELM";
|
|
10249
10251
|
readonly MEMBERS_AND_ROLES: "MEMBERS_AND_ROLES";
|
|
10250
10252
|
readonly ORGANIZATION: "ORGANIZATION";
|
|
10251
10253
|
readonly PROJECT: "PROJECT";
|
|
@@ -27198,14 +27200,14 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27198
27200
|
*/
|
|
27199
27201
|
getOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27200
27202
|
/**
|
|
27201
|
-
* Get organization git
|
|
27203
|
+
* Get organization git token
|
|
27202
27204
|
* @summary Get organization git token
|
|
27203
27205
|
* @param {string} organizationId Organization ID
|
|
27204
27206
|
* @param {string} gitTokenId Git Token ID
|
|
27205
27207
|
* @param {*} [options] Override http request option.
|
|
27206
27208
|
* @throws {RequiredError}
|
|
27207
27209
|
*/
|
|
27208
|
-
|
|
27210
|
+
getOrganizationGitToken: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27209
27211
|
/**
|
|
27210
27212
|
*
|
|
27211
27213
|
* @summary List user organizations
|
|
@@ -27306,14 +27308,14 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27306
27308
|
*/
|
|
27307
27309
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27308
27310
|
/**
|
|
27309
|
-
* Get organization git
|
|
27311
|
+
* Get organization git token
|
|
27310
27312
|
* @summary Get organization git token
|
|
27311
27313
|
* @param {string} organizationId Organization ID
|
|
27312
27314
|
* @param {string} gitTokenId Git Token ID
|
|
27313
27315
|
* @param {*} [options] Override http request option.
|
|
27314
27316
|
* @throws {RequiredError}
|
|
27315
27317
|
*/
|
|
27316
|
-
|
|
27318
|
+
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
|
|
27317
27319
|
/**
|
|
27318
27320
|
*
|
|
27319
27321
|
* @summary List user organizations
|
|
@@ -27414,14 +27416,14 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27414
27416
|
*/
|
|
27415
27417
|
getOrganization(organizationId: string, options?: any): AxiosPromise<Organization>;
|
|
27416
27418
|
/**
|
|
27417
|
-
* Get organization git
|
|
27419
|
+
* Get organization git token
|
|
27418
27420
|
* @summary Get organization git token
|
|
27419
27421
|
* @param {string} organizationId Organization ID
|
|
27420
27422
|
* @param {string} gitTokenId Git Token ID
|
|
27421
27423
|
* @param {*} [options] Override http request option.
|
|
27422
27424
|
* @throws {RequiredError}
|
|
27423
27425
|
*/
|
|
27424
|
-
|
|
27426
|
+
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenResponse>;
|
|
27425
27427
|
/**
|
|
27426
27428
|
*
|
|
27427
27429
|
* @summary List user organizations
|
|
@@ -27532,7 +27534,7 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27532
27534
|
*/
|
|
27533
27535
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27534
27536
|
/**
|
|
27535
|
-
* Get organization git
|
|
27537
|
+
* Get organization git token
|
|
27536
27538
|
* @summary Get organization git token
|
|
27537
27539
|
* @param {string} organizationId Organization ID
|
|
27538
27540
|
* @param {string} gitTokenId Git Token ID
|
|
@@ -27540,7 +27542,7 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27540
27542
|
* @throws {RequiredError}
|
|
27541
27543
|
* @memberof OrganizationMainCallsApi
|
|
27542
27544
|
*/
|
|
27543
|
-
|
|
27545
|
+
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any>>;
|
|
27544
27546
|
/**
|
|
27545
27547
|
*
|
|
27546
27548
|
* @summary List user organizations
|
package/dist/api.js
CHANGED
|
@@ -476,6 +476,7 @@ exports.OrganizationEventSubTargetType = {
|
|
|
476
476
|
DEPLOYMENT_STAGE: 'DEPLOYMENT_STAGE',
|
|
477
477
|
GITHUB_APP: 'GITHUB_APP',
|
|
478
478
|
GIT_REPOSITORY: 'GIT_REPOSITORY',
|
|
479
|
+
GIT_TOKEN: 'GIT_TOKEN',
|
|
479
480
|
INVITATION: 'INVITATION',
|
|
480
481
|
MEMBER_ROLE: 'MEMBER_ROLE',
|
|
481
482
|
PLAN: 'PLAN',
|
|
@@ -497,6 +498,7 @@ exports.OrganizationEventTargetType = {
|
|
|
497
498
|
DATABASE: 'DATABASE',
|
|
498
499
|
ENVIRONMENT: 'ENVIRONMENT',
|
|
499
500
|
JOB: 'JOB',
|
|
501
|
+
HELM: 'HELM',
|
|
500
502
|
MEMBERS_AND_ROLES: 'MEMBERS_AND_ROLES',
|
|
501
503
|
ORGANIZATION: 'ORGANIZATION',
|
|
502
504
|
PROJECT: 'PROJECT',
|
|
@@ -28713,18 +28715,18 @@ const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
28713
28715
|
};
|
|
28714
28716
|
}),
|
|
28715
28717
|
/**
|
|
28716
|
-
* Get organization git
|
|
28718
|
+
* Get organization git token
|
|
28717
28719
|
* @summary Get organization git token
|
|
28718
28720
|
* @param {string} organizationId Organization ID
|
|
28719
28721
|
* @param {string} gitTokenId Git Token ID
|
|
28720
28722
|
* @param {*} [options] Override http request option.
|
|
28721
28723
|
* @throws {RequiredError}
|
|
28722
28724
|
*/
|
|
28723
|
-
|
|
28725
|
+
getOrganizationGitToken: (organizationId, gitTokenId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
28724
28726
|
// verify required parameter 'organizationId' is not null or undefined
|
|
28725
|
-
(0, common_1.assertParamExists)('
|
|
28727
|
+
(0, common_1.assertParamExists)('getOrganizationGitToken', 'organizationId', organizationId);
|
|
28726
28728
|
// verify required parameter 'gitTokenId' is not null or undefined
|
|
28727
|
-
(0, common_1.assertParamExists)('
|
|
28729
|
+
(0, common_1.assertParamExists)('getOrganizationGitToken', 'gitTokenId', gitTokenId);
|
|
28728
28730
|
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
|
|
28729
28731
|
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
28730
28732
|
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
@@ -28969,16 +28971,16 @@ const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
28969
28971
|
});
|
|
28970
28972
|
},
|
|
28971
28973
|
/**
|
|
28972
|
-
* Get organization git
|
|
28974
|
+
* Get organization git token
|
|
28973
28975
|
* @summary Get organization git token
|
|
28974
28976
|
* @param {string} organizationId Organization ID
|
|
28975
28977
|
* @param {string} gitTokenId Git Token ID
|
|
28976
28978
|
* @param {*} [options] Override http request option.
|
|
28977
28979
|
* @throws {RequiredError}
|
|
28978
28980
|
*/
|
|
28979
|
-
|
|
28981
|
+
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
28980
28982
|
return __awaiter(this, void 0, void 0, function* () {
|
|
28981
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
28983
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationGitToken(organizationId, gitTokenId, options);
|
|
28982
28984
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
28983
28985
|
});
|
|
28984
28986
|
},
|
|
@@ -29117,15 +29119,15 @@ const OrganizationMainCallsApiFactory = function (configuration, basePath, axios
|
|
|
29117
29119
|
return localVarFp.getOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
29118
29120
|
},
|
|
29119
29121
|
/**
|
|
29120
|
-
* Get organization git
|
|
29122
|
+
* Get organization git token
|
|
29121
29123
|
* @summary Get organization git token
|
|
29122
29124
|
* @param {string} organizationId Organization ID
|
|
29123
29125
|
* @param {string} gitTokenId Git Token ID
|
|
29124
29126
|
* @param {*} [options] Override http request option.
|
|
29125
29127
|
* @throws {RequiredError}
|
|
29126
29128
|
*/
|
|
29127
|
-
|
|
29128
|
-
return localVarFp.
|
|
29129
|
+
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
29130
|
+
return localVarFp.getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
29129
29131
|
},
|
|
29130
29132
|
/**
|
|
29131
29133
|
*
|
|
@@ -29261,7 +29263,7 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
|
|
|
29261
29263
|
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).getOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
29262
29264
|
}
|
|
29263
29265
|
/**
|
|
29264
|
-
* Get organization git
|
|
29266
|
+
* Get organization git token
|
|
29265
29267
|
* @summary Get organization git token
|
|
29266
29268
|
* @param {string} organizationId Organization ID
|
|
29267
29269
|
* @param {string} gitTokenId Git Token ID
|
|
@@ -29269,8 +29271,8 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
|
|
|
29269
29271
|
* @throws {RequiredError}
|
|
29270
29272
|
* @memberof OrganizationMainCallsApi
|
|
29271
29273
|
*/
|
|
29272
|
-
|
|
29273
|
-
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).
|
|
29274
|
+
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
29275
|
+
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
29274
29276
|
}
|
|
29275
29277
|
/**
|
|
29276
29278
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -10211,6 +10211,7 @@ export declare const OrganizationEventSubTargetType: {
|
|
|
10211
10211
|
readonly DEPLOYMENT_STAGE: "DEPLOYMENT_STAGE";
|
|
10212
10212
|
readonly GITHUB_APP: "GITHUB_APP";
|
|
10213
10213
|
readonly GIT_REPOSITORY: "GIT_REPOSITORY";
|
|
10214
|
+
readonly GIT_TOKEN: "GIT_TOKEN";
|
|
10214
10215
|
readonly INVITATION: "INVITATION";
|
|
10215
10216
|
readonly MEMBER_ROLE: "MEMBER_ROLE";
|
|
10216
10217
|
readonly PLAN: "PLAN";
|
|
@@ -10246,6 +10247,7 @@ export declare const OrganizationEventTargetType: {
|
|
|
10246
10247
|
readonly DATABASE: "DATABASE";
|
|
10247
10248
|
readonly ENVIRONMENT: "ENVIRONMENT";
|
|
10248
10249
|
readonly JOB: "JOB";
|
|
10250
|
+
readonly HELM: "HELM";
|
|
10249
10251
|
readonly MEMBERS_AND_ROLES: "MEMBERS_AND_ROLES";
|
|
10250
10252
|
readonly ORGANIZATION: "ORGANIZATION";
|
|
10251
10253
|
readonly PROJECT: "PROJECT";
|
|
@@ -27198,14 +27200,14 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
27198
27200
|
*/
|
|
27199
27201
|
getOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27200
27202
|
/**
|
|
27201
|
-
* Get organization git
|
|
27203
|
+
* Get organization git token
|
|
27202
27204
|
* @summary Get organization git token
|
|
27203
27205
|
* @param {string} organizationId Organization ID
|
|
27204
27206
|
* @param {string} gitTokenId Git Token ID
|
|
27205
27207
|
* @param {*} [options] Override http request option.
|
|
27206
27208
|
* @throws {RequiredError}
|
|
27207
27209
|
*/
|
|
27208
|
-
|
|
27210
|
+
getOrganizationGitToken: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27209
27211
|
/**
|
|
27210
27212
|
*
|
|
27211
27213
|
* @summary List user organizations
|
|
@@ -27306,14 +27308,14 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
27306
27308
|
*/
|
|
27307
27309
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
27308
27310
|
/**
|
|
27309
|
-
* Get organization git
|
|
27311
|
+
* Get organization git token
|
|
27310
27312
|
* @summary Get organization git token
|
|
27311
27313
|
* @param {string} organizationId Organization ID
|
|
27312
27314
|
* @param {string} gitTokenId Git Token ID
|
|
27313
27315
|
* @param {*} [options] Override http request option.
|
|
27314
27316
|
* @throws {RequiredError}
|
|
27315
27317
|
*/
|
|
27316
|
-
|
|
27318
|
+
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
|
|
27317
27319
|
/**
|
|
27318
27320
|
*
|
|
27319
27321
|
* @summary List user organizations
|
|
@@ -27414,14 +27416,14 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
27414
27416
|
*/
|
|
27415
27417
|
getOrganization(organizationId: string, options?: any): AxiosPromise<Organization>;
|
|
27416
27418
|
/**
|
|
27417
|
-
* Get organization git
|
|
27419
|
+
* Get organization git token
|
|
27418
27420
|
* @summary Get organization git token
|
|
27419
27421
|
* @param {string} organizationId Organization ID
|
|
27420
27422
|
* @param {string} gitTokenId Git Token ID
|
|
27421
27423
|
* @param {*} [options] Override http request option.
|
|
27422
27424
|
* @throws {RequiredError}
|
|
27423
27425
|
*/
|
|
27424
|
-
|
|
27426
|
+
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenResponse>;
|
|
27425
27427
|
/**
|
|
27426
27428
|
*
|
|
27427
27429
|
* @summary List user organizations
|
|
@@ -27532,7 +27534,7 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27532
27534
|
*/
|
|
27533
27535
|
getOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
|
|
27534
27536
|
/**
|
|
27535
|
-
* Get organization git
|
|
27537
|
+
* Get organization git token
|
|
27536
27538
|
* @summary Get organization git token
|
|
27537
27539
|
* @param {string} organizationId Organization ID
|
|
27538
27540
|
* @param {string} gitTokenId Git Token ID
|
|
@@ -27540,7 +27542,7 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
27540
27542
|
* @throws {RequiredError}
|
|
27541
27543
|
* @memberof OrganizationMainCallsApi
|
|
27542
27544
|
*/
|
|
27543
|
-
|
|
27545
|
+
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any>>;
|
|
27544
27546
|
/**
|
|
27545
27547
|
*
|
|
27546
27548
|
* @summary List user organizations
|
package/dist/esm/api.js
CHANGED
|
@@ -466,6 +466,7 @@ export const OrganizationEventSubTargetType = {
|
|
|
466
466
|
DEPLOYMENT_STAGE: 'DEPLOYMENT_STAGE',
|
|
467
467
|
GITHUB_APP: 'GITHUB_APP',
|
|
468
468
|
GIT_REPOSITORY: 'GIT_REPOSITORY',
|
|
469
|
+
GIT_TOKEN: 'GIT_TOKEN',
|
|
469
470
|
INVITATION: 'INVITATION',
|
|
470
471
|
MEMBER_ROLE: 'MEMBER_ROLE',
|
|
471
472
|
PLAN: 'PLAN',
|
|
@@ -487,6 +488,7 @@ export const OrganizationEventTargetType = {
|
|
|
487
488
|
DATABASE: 'DATABASE',
|
|
488
489
|
ENVIRONMENT: 'ENVIRONMENT',
|
|
489
490
|
JOB: 'JOB',
|
|
491
|
+
HELM: 'HELM',
|
|
490
492
|
MEMBERS_AND_ROLES: 'MEMBERS_AND_ROLES',
|
|
491
493
|
ORGANIZATION: 'ORGANIZATION',
|
|
492
494
|
PROJECT: 'PROJECT',
|
|
@@ -28431,18 +28433,18 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
28431
28433
|
};
|
|
28432
28434
|
}),
|
|
28433
28435
|
/**
|
|
28434
|
-
* Get organization git
|
|
28436
|
+
* Get organization git token
|
|
28435
28437
|
* @summary Get organization git token
|
|
28436
28438
|
* @param {string} organizationId Organization ID
|
|
28437
28439
|
* @param {string} gitTokenId Git Token ID
|
|
28438
28440
|
* @param {*} [options] Override http request option.
|
|
28439
28441
|
* @throws {RequiredError}
|
|
28440
28442
|
*/
|
|
28441
|
-
|
|
28443
|
+
getOrganizationGitToken: (organizationId, gitTokenId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
28442
28444
|
// verify required parameter 'organizationId' is not null or undefined
|
|
28443
|
-
assertParamExists('
|
|
28445
|
+
assertParamExists('getOrganizationGitToken', 'organizationId', organizationId);
|
|
28444
28446
|
// verify required parameter 'gitTokenId' is not null or undefined
|
|
28445
|
-
assertParamExists('
|
|
28447
|
+
assertParamExists('getOrganizationGitToken', 'gitTokenId', gitTokenId);
|
|
28446
28448
|
const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
|
|
28447
28449
|
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
28448
28450
|
.replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
|
|
@@ -28686,16 +28688,16 @@ export const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
28686
28688
|
});
|
|
28687
28689
|
},
|
|
28688
28690
|
/**
|
|
28689
|
-
* Get organization git
|
|
28691
|
+
* Get organization git token
|
|
28690
28692
|
* @summary Get organization git token
|
|
28691
28693
|
* @param {string} organizationId Organization ID
|
|
28692
28694
|
* @param {string} gitTokenId Git Token ID
|
|
28693
28695
|
* @param {*} [options] Override http request option.
|
|
28694
28696
|
* @throws {RequiredError}
|
|
28695
28697
|
*/
|
|
28696
|
-
|
|
28698
|
+
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
28697
28699
|
return __awaiter(this, void 0, void 0, function* () {
|
|
28698
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
28700
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationGitToken(organizationId, gitTokenId, options);
|
|
28699
28701
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28700
28702
|
});
|
|
28701
28703
|
},
|
|
@@ -28833,15 +28835,15 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
|
|
|
28833
28835
|
return localVarFp.getOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
28834
28836
|
},
|
|
28835
28837
|
/**
|
|
28836
|
-
* Get organization git
|
|
28838
|
+
* Get organization git token
|
|
28837
28839
|
* @summary Get organization git token
|
|
28838
28840
|
* @param {string} organizationId Organization ID
|
|
28839
28841
|
* @param {string} gitTokenId Git Token ID
|
|
28840
28842
|
* @param {*} [options] Override http request option.
|
|
28841
28843
|
* @throws {RequiredError}
|
|
28842
28844
|
*/
|
|
28843
|
-
|
|
28844
|
-
return localVarFp.
|
|
28845
|
+
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
28846
|
+
return localVarFp.getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
28845
28847
|
},
|
|
28846
28848
|
/**
|
|
28847
28849
|
*
|
|
@@ -28976,7 +28978,7 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
28976
28978
|
return OrganizationMainCallsApiFp(this.configuration).getOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
28977
28979
|
}
|
|
28978
28980
|
/**
|
|
28979
|
-
* Get organization git
|
|
28981
|
+
* Get organization git token
|
|
28980
28982
|
* @summary Get organization git token
|
|
28981
28983
|
* @param {string} organizationId Organization ID
|
|
28982
28984
|
* @param {string} gitTokenId Git Token ID
|
|
@@ -28984,8 +28986,8 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
28984
28986
|
* @throws {RequiredError}
|
|
28985
28987
|
* @memberof OrganizationMainCallsApi
|
|
28986
28988
|
*/
|
|
28987
|
-
|
|
28988
|
-
return OrganizationMainCallsApiFp(this.configuration).
|
|
28989
|
+
getOrganizationGitToken(organizationId, gitTokenId, options) {
|
|
28990
|
+
return OrganizationMainCallsApiFp(this.configuration).getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
28989
28991
|
}
|
|
28990
28992
|
/**
|
|
28991
28993
|
*
|