qovery-typescript-axios 1.1.258 → 1.1.261

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/dist/api.d.ts CHANGED
@@ -1870,6 +1870,48 @@ export interface ClusterAdvancedSettings {
1870
1870
  * @memberof ClusterAdvancedSettings
1871
1871
  */
1872
1872
  'registry.mirroring_mode'?: RegistryMirroringModeEnum;
1873
+ /**
1874
+ * vcpu request in millicores
1875
+ * @type {number}
1876
+ * @memberof ClusterAdvancedSettings
1877
+ */
1878
+ 'nginx.vcpu.request_in_milli_cpu'?: number;
1879
+ /**
1880
+ * vcpu limit in millicores
1881
+ * @type {number}
1882
+ * @memberof ClusterAdvancedSettings
1883
+ */
1884
+ 'nginx.vcpu.limit_in_milli_cpu'?: number;
1885
+ /**
1886
+ * memory request in MiB
1887
+ * @type {number}
1888
+ * @memberof ClusterAdvancedSettings
1889
+ */
1890
+ 'nginx.memory.request_in_mib'?: number;
1891
+ /**
1892
+ * memory limit in MiB
1893
+ * @type {number}
1894
+ * @memberof ClusterAdvancedSettings
1895
+ */
1896
+ 'nginx.memory.limit_in_mib'?: number;
1897
+ /**
1898
+ * hpa cpu threshold in percentage
1899
+ * @type {number}
1900
+ * @memberof ClusterAdvancedSettings
1901
+ */
1902
+ 'nginx.hpa.cpu_utilization_percentage_threshold'?: number;
1903
+ /**
1904
+ * hpa minimum number of instances
1905
+ * @type {number}
1906
+ * @memberof ClusterAdvancedSettings
1907
+ */
1908
+ 'nginx.hpa.min_number_instances'?: number;
1909
+ /**
1910
+ * hpa maximum number of instances
1911
+ * @type {number}
1912
+ * @memberof ClusterAdvancedSettings
1913
+ */
1914
+ 'nginx.hpa.max_number_instances'?: number;
1873
1915
  }
1874
1916
  export declare const ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum: {
1875
1917
  readonly OPTIONAL: "optional";
@@ -7005,6 +7047,43 @@ export interface GitRepositoryResponseList {
7005
7047
  */
7006
7048
  'results'?: Array<GitRepository>;
7007
7049
  }
7050
+ /**
7051
+ *
7052
+ * @export
7053
+ * @interface GitTokenRequest
7054
+ */
7055
+ export interface GitTokenRequest {
7056
+ /**
7057
+ *
7058
+ * @type {string}
7059
+ * @memberof GitTokenRequest
7060
+ */
7061
+ 'name': string;
7062
+ /**
7063
+ *
7064
+ * @type {string}
7065
+ * @memberof GitTokenRequest
7066
+ */
7067
+ 'description'?: string;
7068
+ /**
7069
+ *
7070
+ * @type {GitProviderEnum}
7071
+ * @memberof GitTokenRequest
7072
+ */
7073
+ 'type': GitProviderEnum;
7074
+ /**
7075
+ * The token from your git provider side
7076
+ * @type {string}
7077
+ * @memberof GitTokenRequest
7078
+ */
7079
+ 'token': string;
7080
+ /**
7081
+ * Mandatory only for BITBUCKET git provider, to allow us to fetch repositories at creation/edition of a service
7082
+ * @type {string}
7083
+ * @memberof GitTokenRequest
7084
+ */
7085
+ 'workspace'?: string;
7086
+ }
7008
7087
  /**
7009
7088
  *
7010
7089
  * @export
@@ -7047,6 +7126,12 @@ export interface GitTokenResponse {
7047
7126
  * @memberof GitTokenResponse
7048
7127
  */
7049
7128
  'type': GitProviderEnum;
7129
+ /**
7130
+ *
7131
+ * @type {string}
7132
+ * @memberof GitTokenResponse
7133
+ */
7134
+ 'expired_at'?: string;
7050
7135
  }
7051
7136
  /**
7052
7137
  *
@@ -26801,6 +26886,15 @@ export declare class OrganizationEventApi extends BaseAPI {
26801
26886
  * @export
26802
26887
  */
26803
26888
  export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
26889
+ /**
26890
+ * Create a new git token to be used as a git provider by a service
26891
+ * @summary Create a git token
26892
+ * @param {string} organizationId Organization ID
26893
+ * @param {GitTokenRequest} [gitTokenRequest]
26894
+ * @param {*} [options] Override http request option.
26895
+ * @throws {RequiredError}
26896
+ */
26897
+ createGitToken: (organizationId: string, gitTokenRequest?: GitTokenRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26804
26898
  /**
26805
26899
  *
26806
26900
  * @summary Create an organization
@@ -26809,6 +26903,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
26809
26903
  * @throws {RequiredError}
26810
26904
  */
26811
26905
  createOrganization: (organizationRequest?: OrganizationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26906
+ /**
26907
+ *
26908
+ * @summary Delete a git token
26909
+ * @param {string} organizationId Organization ID
26910
+ * @param {string} gitTokenId Git Token ID
26911
+ * @param {*} [options] Override http request option.
26912
+ * @throws {RequiredError}
26913
+ */
26914
+ deleteGitToken: (organizationId: string, gitTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26812
26915
  /**
26813
26916
  * To delete an organization you must have the admin permission
26814
26917
  * @summary Delete an organization
@@ -26817,6 +26920,16 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
26817
26920
  * @throws {RequiredError}
26818
26921
  */
26819
26922
  deleteOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26923
+ /**
26924
+ *
26925
+ * @summary Edit a git token
26926
+ * @param {string} organizationId Organization ID
26927
+ * @param {string} gitTokenId Git Token ID
26928
+ * @param {GitTokenRequest} [gitTokenRequest]
26929
+ * @param {*} [options] Override http request option.
26930
+ * @throws {RequiredError}
26931
+ */
26932
+ editGitToken: (organizationId: string, gitTokenId: string, gitTokenRequest?: GitTokenRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26820
26933
  /**
26821
26934
  * To edit an organization you must have the admin permission
26822
26935
  * @summary Edit an organization
@@ -26863,6 +26976,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
26863
26976
  * @export
26864
26977
  */
26865
26978
  export declare const OrganizationMainCallsApiFp: (configuration?: Configuration) => {
26979
+ /**
26980
+ * Create a new git token to be used as a git provider by a service
26981
+ * @summary Create a git token
26982
+ * @param {string} organizationId Organization ID
26983
+ * @param {GitTokenRequest} [gitTokenRequest]
26984
+ * @param {*} [options] Override http request option.
26985
+ * @throws {RequiredError}
26986
+ */
26987
+ createGitToken(organizationId: string, gitTokenRequest?: GitTokenRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
26866
26988
  /**
26867
26989
  *
26868
26990
  * @summary Create an organization
@@ -26871,6 +26993,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
26871
26993
  * @throws {RequiredError}
26872
26994
  */
26873
26995
  createOrganization(organizationRequest?: OrganizationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
26996
+ /**
26997
+ *
26998
+ * @summary Delete a git token
26999
+ * @param {string} organizationId Organization ID
27000
+ * @param {string} gitTokenId Git Token ID
27001
+ * @param {*} [options] Override http request option.
27002
+ * @throws {RequiredError}
27003
+ */
27004
+ deleteGitToken(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26874
27005
  /**
26875
27006
  * To delete an organization you must have the admin permission
26876
27007
  * @summary Delete an organization
@@ -26879,6 +27010,16 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
26879
27010
  * @throws {RequiredError}
26880
27011
  */
26881
27012
  deleteOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
27013
+ /**
27014
+ *
27015
+ * @summary Edit a git token
27016
+ * @param {string} organizationId Organization ID
27017
+ * @param {string} gitTokenId Git Token ID
27018
+ * @param {GitTokenRequest} [gitTokenRequest]
27019
+ * @param {*} [options] Override http request option.
27020
+ * @throws {RequiredError}
27021
+ */
27022
+ editGitToken(organizationId: string, gitTokenId: string, gitTokenRequest?: GitTokenRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
26882
27023
  /**
26883
27024
  * To edit an organization you must have the admin permission
26884
27025
  * @summary Edit an organization
@@ -26925,6 +27066,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
26925
27066
  * @export
26926
27067
  */
26927
27068
  export declare const OrganizationMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
27069
+ /**
27070
+ * Create a new git token to be used as a git provider by a service
27071
+ * @summary Create a git token
27072
+ * @param {string} organizationId Organization ID
27073
+ * @param {GitTokenRequest} [gitTokenRequest]
27074
+ * @param {*} [options] Override http request option.
27075
+ * @throws {RequiredError}
27076
+ */
27077
+ createGitToken(organizationId: string, gitTokenRequest?: GitTokenRequest, options?: any): AxiosPromise<GitTokenResponse>;
26928
27078
  /**
26929
27079
  *
26930
27080
  * @summary Create an organization
@@ -26933,6 +27083,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
26933
27083
  * @throws {RequiredError}
26934
27084
  */
26935
27085
  createOrganization(organizationRequest?: OrganizationRequest, options?: any): AxiosPromise<Organization>;
27086
+ /**
27087
+ *
27088
+ * @summary Delete a git token
27089
+ * @param {string} organizationId Organization ID
27090
+ * @param {string} gitTokenId Git Token ID
27091
+ * @param {*} [options] Override http request option.
27092
+ * @throws {RequiredError}
27093
+ */
27094
+ deleteGitToken(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<void>;
26936
27095
  /**
26937
27096
  * To delete an organization you must have the admin permission
26938
27097
  * @summary Delete an organization
@@ -26941,6 +27100,16 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
26941
27100
  * @throws {RequiredError}
26942
27101
  */
26943
27102
  deleteOrganization(organizationId: string, options?: any): AxiosPromise<void>;
27103
+ /**
27104
+ *
27105
+ * @summary Edit a git token
27106
+ * @param {string} organizationId Organization ID
27107
+ * @param {string} gitTokenId Git Token ID
27108
+ * @param {GitTokenRequest} [gitTokenRequest]
27109
+ * @param {*} [options] Override http request option.
27110
+ * @throws {RequiredError}
27111
+ */
27112
+ editGitToken(organizationId: string, gitTokenId: string, gitTokenRequest?: GitTokenRequest, options?: any): AxiosPromise<GitTokenResponse>;
26944
27113
  /**
26945
27114
  * To edit an organization you must have the admin permission
26946
27115
  * @summary Edit an organization
@@ -26989,6 +27158,16 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
26989
27158
  * @extends {BaseAPI}
26990
27159
  */
26991
27160
  export declare class OrganizationMainCallsApi extends BaseAPI {
27161
+ /**
27162
+ * Create a new git token to be used as a git provider by a service
27163
+ * @summary Create a git token
27164
+ * @param {string} organizationId Organization ID
27165
+ * @param {GitTokenRequest} [gitTokenRequest]
27166
+ * @param {*} [options] Override http request option.
27167
+ * @throws {RequiredError}
27168
+ * @memberof OrganizationMainCallsApi
27169
+ */
27170
+ createGitToken(organizationId: string, gitTokenRequest?: GitTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any>>;
26992
27171
  /**
26993
27172
  *
26994
27173
  * @summary Create an organization
@@ -26998,6 +27177,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
26998
27177
  * @memberof OrganizationMainCallsApi
26999
27178
  */
27000
27179
  createOrganization(organizationRequest?: OrganizationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any>>;
27180
+ /**
27181
+ *
27182
+ * @summary Delete a git token
27183
+ * @param {string} organizationId Organization ID
27184
+ * @param {string} gitTokenId Git Token ID
27185
+ * @param {*} [options] Override http request option.
27186
+ * @throws {RequiredError}
27187
+ * @memberof OrganizationMainCallsApi
27188
+ */
27189
+ deleteGitToken(organizationId: string, gitTokenId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27001
27190
  /**
27002
27191
  * To delete an organization you must have the admin permission
27003
27192
  * @summary Delete an organization
@@ -27007,6 +27196,17 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
27007
27196
  * @memberof OrganizationMainCallsApi
27008
27197
  */
27009
27198
  deleteOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
27199
+ /**
27200
+ *
27201
+ * @summary Edit a git token
27202
+ * @param {string} organizationId Organization ID
27203
+ * @param {string} gitTokenId Git Token ID
27204
+ * @param {GitTokenRequest} [gitTokenRequest]
27205
+ * @param {*} [options] Override http request option.
27206
+ * @throws {RequiredError}
27207
+ * @memberof OrganizationMainCallsApi
27208
+ */
27209
+ editGitToken(organizationId: string, gitTokenId: string, gitTokenRequest?: GitTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any>>;
27010
27210
  /**
27011
27211
  * To edit an organization you must have the admin permission
27012
27212
  * @summary Edit an organization
package/dist/api.js CHANGED
@@ -28117,6 +28117,43 @@ exports.OrganizationEventApi = OrganizationEventApi;
28117
28117
  */
28118
28118
  const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
28119
28119
  return {
28120
+ /**
28121
+ * Create a new git token to be used as a git provider by a service
28122
+ * @summary Create a git token
28123
+ * @param {string} organizationId Organization ID
28124
+ * @param {GitTokenRequest} [gitTokenRequest]
28125
+ * @param {*} [options] Override http request option.
28126
+ * @throws {RequiredError}
28127
+ */
28128
+ createGitToken: (organizationId, gitTokenRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
28129
+ // verify required parameter 'organizationId' is not null or undefined
28130
+ (0, common_1.assertParamExists)('createGitToken', 'organizationId', organizationId);
28131
+ const localVarPath = `/organization/{organizationId}/gitToken`
28132
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
28133
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28134
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
28135
+ let baseOptions;
28136
+ if (configuration) {
28137
+ baseOptions = configuration.baseOptions;
28138
+ }
28139
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
28140
+ const localVarHeaderParameter = {};
28141
+ const localVarQueryParameter = {};
28142
+ // authentication ApiKeyAuth required
28143
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
28144
+ // authentication bearerAuth required
28145
+ // http bearer authentication required
28146
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
28147
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28148
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
28149
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28150
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
28151
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(gitTokenRequest, localVarRequestOptions, configuration);
28152
+ return {
28153
+ url: (0, common_1.toPathString)(localVarUrlObj),
28154
+ options: localVarRequestOptions,
28155
+ };
28156
+ }),
28120
28157
  /**
28121
28158
  *
28122
28159
  * @summary Create an organization
@@ -28150,6 +28187,44 @@ const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
28150
28187
  options: localVarRequestOptions,
28151
28188
  };
28152
28189
  }),
28190
+ /**
28191
+ *
28192
+ * @summary Delete a git token
28193
+ * @param {string} organizationId Organization ID
28194
+ * @param {string} gitTokenId Git Token ID
28195
+ * @param {*} [options] Override http request option.
28196
+ * @throws {RequiredError}
28197
+ */
28198
+ deleteGitToken: (organizationId, gitTokenId, options = {}) => __awaiter(this, void 0, void 0, function* () {
28199
+ // verify required parameter 'organizationId' is not null or undefined
28200
+ (0, common_1.assertParamExists)('deleteGitToken', 'organizationId', organizationId);
28201
+ // verify required parameter 'gitTokenId' is not null or undefined
28202
+ (0, common_1.assertParamExists)('deleteGitToken', 'gitTokenId', gitTokenId);
28203
+ const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
28204
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
28205
+ .replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
28206
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28207
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
28208
+ let baseOptions;
28209
+ if (configuration) {
28210
+ baseOptions = configuration.baseOptions;
28211
+ }
28212
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
28213
+ const localVarHeaderParameter = {};
28214
+ const localVarQueryParameter = {};
28215
+ // authentication ApiKeyAuth required
28216
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
28217
+ // authentication bearerAuth required
28218
+ // http bearer authentication required
28219
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
28220
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
28221
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28222
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
28223
+ return {
28224
+ url: (0, common_1.toPathString)(localVarUrlObj),
28225
+ options: localVarRequestOptions,
28226
+ };
28227
+ }),
28153
28228
  /**
28154
28229
  * To delete an organization you must have the admin permission
28155
28230
  * @summary Delete an organization
@@ -28184,6 +28259,47 @@ const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
28184
28259
  options: localVarRequestOptions,
28185
28260
  };
28186
28261
  }),
28262
+ /**
28263
+ *
28264
+ * @summary Edit a git token
28265
+ * @param {string} organizationId Organization ID
28266
+ * @param {string} gitTokenId Git Token ID
28267
+ * @param {GitTokenRequest} [gitTokenRequest]
28268
+ * @param {*} [options] Override http request option.
28269
+ * @throws {RequiredError}
28270
+ */
28271
+ editGitToken: (organizationId, gitTokenId, gitTokenRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
28272
+ // verify required parameter 'organizationId' is not null or undefined
28273
+ (0, common_1.assertParamExists)('editGitToken', 'organizationId', organizationId);
28274
+ // verify required parameter 'gitTokenId' is not null or undefined
28275
+ (0, common_1.assertParamExists)('editGitToken', 'gitTokenId', gitTokenId);
28276
+ const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
28277
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
28278
+ .replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
28279
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28280
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
28281
+ let baseOptions;
28282
+ if (configuration) {
28283
+ baseOptions = configuration.baseOptions;
28284
+ }
28285
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
28286
+ const localVarHeaderParameter = {};
28287
+ const localVarQueryParameter = {};
28288
+ // authentication ApiKeyAuth required
28289
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
28290
+ // authentication bearerAuth required
28291
+ // http bearer authentication required
28292
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
28293
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28294
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
28295
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28296
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
28297
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(gitTokenRequest, localVarRequestOptions, configuration);
28298
+ return {
28299
+ url: (0, common_1.toPathString)(localVarUrlObj),
28300
+ options: localVarRequestOptions,
28301
+ };
28302
+ }),
28187
28303
  /**
28188
28304
  * To edit an organization you must have the admin permission
28189
28305
  * @summary Edit an organization
@@ -28363,6 +28479,20 @@ exports.OrganizationMainCallsApiAxiosParamCreator = OrganizationMainCallsApiAxio
28363
28479
  const OrganizationMainCallsApiFp = function (configuration) {
28364
28480
  const localVarAxiosParamCreator = (0, exports.OrganizationMainCallsApiAxiosParamCreator)(configuration);
28365
28481
  return {
28482
+ /**
28483
+ * Create a new git token to be used as a git provider by a service
28484
+ * @summary Create a git token
28485
+ * @param {string} organizationId Organization ID
28486
+ * @param {GitTokenRequest} [gitTokenRequest]
28487
+ * @param {*} [options] Override http request option.
28488
+ * @throws {RequiredError}
28489
+ */
28490
+ createGitToken(organizationId, gitTokenRequest, options) {
28491
+ return __awaiter(this, void 0, void 0, function* () {
28492
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createGitToken(organizationId, gitTokenRequest, options);
28493
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
28494
+ });
28495
+ },
28366
28496
  /**
28367
28497
  *
28368
28498
  * @summary Create an organization
@@ -28376,6 +28506,20 @@ const OrganizationMainCallsApiFp = function (configuration) {
28376
28506
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
28377
28507
  });
28378
28508
  },
28509
+ /**
28510
+ *
28511
+ * @summary Delete a git token
28512
+ * @param {string} organizationId Organization ID
28513
+ * @param {string} gitTokenId Git Token ID
28514
+ * @param {*} [options] Override http request option.
28515
+ * @throws {RequiredError}
28516
+ */
28517
+ deleteGitToken(organizationId, gitTokenId, options) {
28518
+ return __awaiter(this, void 0, void 0, function* () {
28519
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteGitToken(organizationId, gitTokenId, options);
28520
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
28521
+ });
28522
+ },
28379
28523
  /**
28380
28524
  * To delete an organization you must have the admin permission
28381
28525
  * @summary Delete an organization
@@ -28389,6 +28533,21 @@ const OrganizationMainCallsApiFp = function (configuration) {
28389
28533
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
28390
28534
  });
28391
28535
  },
28536
+ /**
28537
+ *
28538
+ * @summary Edit a git token
28539
+ * @param {string} organizationId Organization ID
28540
+ * @param {string} gitTokenId Git Token ID
28541
+ * @param {GitTokenRequest} [gitTokenRequest]
28542
+ * @param {*} [options] Override http request option.
28543
+ * @throws {RequiredError}
28544
+ */
28545
+ editGitToken(organizationId, gitTokenId, gitTokenRequest, options) {
28546
+ return __awaiter(this, void 0, void 0, function* () {
28547
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editGitToken(organizationId, gitTokenId, gitTokenRequest, options);
28548
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
28549
+ });
28550
+ },
28392
28551
  /**
28393
28552
  * To edit an organization you must have the admin permission
28394
28553
  * @summary Edit an organization
@@ -28464,6 +28623,17 @@ exports.OrganizationMainCallsApiFp = OrganizationMainCallsApiFp;
28464
28623
  const OrganizationMainCallsApiFactory = function (configuration, basePath, axios) {
28465
28624
  const localVarFp = (0, exports.OrganizationMainCallsApiFp)(configuration);
28466
28625
  return {
28626
+ /**
28627
+ * Create a new git token to be used as a git provider by a service
28628
+ * @summary Create a git token
28629
+ * @param {string} organizationId Organization ID
28630
+ * @param {GitTokenRequest} [gitTokenRequest]
28631
+ * @param {*} [options] Override http request option.
28632
+ * @throws {RequiredError}
28633
+ */
28634
+ createGitToken(organizationId, gitTokenRequest, options) {
28635
+ return localVarFp.createGitToken(organizationId, gitTokenRequest, options).then((request) => request(axios, basePath));
28636
+ },
28467
28637
  /**
28468
28638
  *
28469
28639
  * @summary Create an organization
@@ -28474,6 +28644,17 @@ const OrganizationMainCallsApiFactory = function (configuration, basePath, axios
28474
28644
  createOrganization(organizationRequest, options) {
28475
28645
  return localVarFp.createOrganization(organizationRequest, options).then((request) => request(axios, basePath));
28476
28646
  },
28647
+ /**
28648
+ *
28649
+ * @summary Delete a git token
28650
+ * @param {string} organizationId Organization ID
28651
+ * @param {string} gitTokenId Git Token ID
28652
+ * @param {*} [options] Override http request option.
28653
+ * @throws {RequiredError}
28654
+ */
28655
+ deleteGitToken(organizationId, gitTokenId, options) {
28656
+ return localVarFp.deleteGitToken(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
28657
+ },
28477
28658
  /**
28478
28659
  * To delete an organization you must have the admin permission
28479
28660
  * @summary Delete an organization
@@ -28484,6 +28665,18 @@ const OrganizationMainCallsApiFactory = function (configuration, basePath, axios
28484
28665
  deleteOrganization(organizationId, options) {
28485
28666
  return localVarFp.deleteOrganization(organizationId, options).then((request) => request(axios, basePath));
28486
28667
  },
28668
+ /**
28669
+ *
28670
+ * @summary Edit a git token
28671
+ * @param {string} organizationId Organization ID
28672
+ * @param {string} gitTokenId Git Token ID
28673
+ * @param {GitTokenRequest} [gitTokenRequest]
28674
+ * @param {*} [options] Override http request option.
28675
+ * @throws {RequiredError}
28676
+ */
28677
+ editGitToken(organizationId, gitTokenId, gitTokenRequest, options) {
28678
+ return localVarFp.editGitToken(organizationId, gitTokenId, gitTokenRequest, options).then((request) => request(axios, basePath));
28679
+ },
28487
28680
  /**
28488
28681
  * To edit an organization you must have the admin permission
28489
28682
  * @summary Edit an organization
@@ -28544,6 +28737,18 @@ exports.OrganizationMainCallsApiFactory = OrganizationMainCallsApiFactory;
28544
28737
  * @extends {BaseAPI}
28545
28738
  */
28546
28739
  class OrganizationMainCallsApi extends base_1.BaseAPI {
28740
+ /**
28741
+ * Create a new git token to be used as a git provider by a service
28742
+ * @summary Create a git token
28743
+ * @param {string} organizationId Organization ID
28744
+ * @param {GitTokenRequest} [gitTokenRequest]
28745
+ * @param {*} [options] Override http request option.
28746
+ * @throws {RequiredError}
28747
+ * @memberof OrganizationMainCallsApi
28748
+ */
28749
+ createGitToken(organizationId, gitTokenRequest, options) {
28750
+ return (0, exports.OrganizationMainCallsApiFp)(this.configuration).createGitToken(organizationId, gitTokenRequest, options).then((request) => request(this.axios, this.basePath));
28751
+ }
28547
28752
  /**
28548
28753
  *
28549
28754
  * @summary Create an organization
@@ -28555,6 +28760,18 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
28555
28760
  createOrganization(organizationRequest, options) {
28556
28761
  return (0, exports.OrganizationMainCallsApiFp)(this.configuration).createOrganization(organizationRequest, options).then((request) => request(this.axios, this.basePath));
28557
28762
  }
28763
+ /**
28764
+ *
28765
+ * @summary Delete a git token
28766
+ * @param {string} organizationId Organization ID
28767
+ * @param {string} gitTokenId Git Token ID
28768
+ * @param {*} [options] Override http request option.
28769
+ * @throws {RequiredError}
28770
+ * @memberof OrganizationMainCallsApi
28771
+ */
28772
+ deleteGitToken(organizationId, gitTokenId, options) {
28773
+ return (0, exports.OrganizationMainCallsApiFp)(this.configuration).deleteGitToken(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
28774
+ }
28558
28775
  /**
28559
28776
  * To delete an organization you must have the admin permission
28560
28777
  * @summary Delete an organization
@@ -28566,6 +28783,19 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
28566
28783
  deleteOrganization(organizationId, options) {
28567
28784
  return (0, exports.OrganizationMainCallsApiFp)(this.configuration).deleteOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
28568
28785
  }
28786
+ /**
28787
+ *
28788
+ * @summary Edit a git token
28789
+ * @param {string} organizationId Organization ID
28790
+ * @param {string} gitTokenId Git Token ID
28791
+ * @param {GitTokenRequest} [gitTokenRequest]
28792
+ * @param {*} [options] Override http request option.
28793
+ * @throws {RequiredError}
28794
+ * @memberof OrganizationMainCallsApi
28795
+ */
28796
+ editGitToken(organizationId, gitTokenId, gitTokenRequest, options) {
28797
+ return (0, exports.OrganizationMainCallsApiFp)(this.configuration).editGitToken(organizationId, gitTokenId, gitTokenRequest, options).then((request) => request(this.axios, this.basePath));
28798
+ }
28569
28799
  /**
28570
28800
  * To edit an organization you must have the admin permission
28571
28801
  * @summary Edit an organization