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/esm/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/esm/api.js CHANGED
@@ -27835,6 +27835,43 @@ export class OrganizationEventApi extends BaseAPI {
27835
27835
  */
27836
27836
  export const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
27837
27837
  return {
27838
+ /**
27839
+ * Create a new git token to be used as a git provider by a service
27840
+ * @summary Create a git token
27841
+ * @param {string} organizationId Organization ID
27842
+ * @param {GitTokenRequest} [gitTokenRequest]
27843
+ * @param {*} [options] Override http request option.
27844
+ * @throws {RequiredError}
27845
+ */
27846
+ createGitToken: (organizationId, gitTokenRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
27847
+ // verify required parameter 'organizationId' is not null or undefined
27848
+ assertParamExists('createGitToken', 'organizationId', organizationId);
27849
+ const localVarPath = `/organization/{organizationId}/gitToken`
27850
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
27851
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27852
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27853
+ let baseOptions;
27854
+ if (configuration) {
27855
+ baseOptions = configuration.baseOptions;
27856
+ }
27857
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
27858
+ const localVarHeaderParameter = {};
27859
+ const localVarQueryParameter = {};
27860
+ // authentication ApiKeyAuth required
27861
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
27862
+ // authentication bearerAuth required
27863
+ // http bearer authentication required
27864
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
27865
+ localVarHeaderParameter['Content-Type'] = 'application/json';
27866
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27867
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27868
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
27869
+ localVarRequestOptions.data = serializeDataIfNeeded(gitTokenRequest, localVarRequestOptions, configuration);
27870
+ return {
27871
+ url: toPathString(localVarUrlObj),
27872
+ options: localVarRequestOptions,
27873
+ };
27874
+ }),
27838
27875
  /**
27839
27876
  *
27840
27877
  * @summary Create an organization
@@ -27868,6 +27905,44 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
27868
27905
  options: localVarRequestOptions,
27869
27906
  };
27870
27907
  }),
27908
+ /**
27909
+ *
27910
+ * @summary Delete a git token
27911
+ * @param {string} organizationId Organization ID
27912
+ * @param {string} gitTokenId Git Token ID
27913
+ * @param {*} [options] Override http request option.
27914
+ * @throws {RequiredError}
27915
+ */
27916
+ deleteGitToken: (organizationId, gitTokenId, options = {}) => __awaiter(this, void 0, void 0, function* () {
27917
+ // verify required parameter 'organizationId' is not null or undefined
27918
+ assertParamExists('deleteGitToken', 'organizationId', organizationId);
27919
+ // verify required parameter 'gitTokenId' is not null or undefined
27920
+ assertParamExists('deleteGitToken', 'gitTokenId', gitTokenId);
27921
+ const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
27922
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
27923
+ .replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
27924
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27925
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27926
+ let baseOptions;
27927
+ if (configuration) {
27928
+ baseOptions = configuration.baseOptions;
27929
+ }
27930
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
27931
+ const localVarHeaderParameter = {};
27932
+ const localVarQueryParameter = {};
27933
+ // authentication ApiKeyAuth required
27934
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
27935
+ // authentication bearerAuth required
27936
+ // http bearer authentication required
27937
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
27938
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27939
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27940
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
27941
+ return {
27942
+ url: toPathString(localVarUrlObj),
27943
+ options: localVarRequestOptions,
27944
+ };
27945
+ }),
27871
27946
  /**
27872
27947
  * To delete an organization you must have the admin permission
27873
27948
  * @summary Delete an organization
@@ -27902,6 +27977,47 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
27902
27977
  options: localVarRequestOptions,
27903
27978
  };
27904
27979
  }),
27980
+ /**
27981
+ *
27982
+ * @summary Edit a git token
27983
+ * @param {string} organizationId Organization ID
27984
+ * @param {string} gitTokenId Git Token ID
27985
+ * @param {GitTokenRequest} [gitTokenRequest]
27986
+ * @param {*} [options] Override http request option.
27987
+ * @throws {RequiredError}
27988
+ */
27989
+ editGitToken: (organizationId, gitTokenId, gitTokenRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
27990
+ // verify required parameter 'organizationId' is not null or undefined
27991
+ assertParamExists('editGitToken', 'organizationId', organizationId);
27992
+ // verify required parameter 'gitTokenId' is not null or undefined
27993
+ assertParamExists('editGitToken', 'gitTokenId', gitTokenId);
27994
+ const localVarPath = `/organization/{organizationId}/gitToken/{gitTokenId}`
27995
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
27996
+ .replace(`{${"gitTokenId"}}`, encodeURIComponent(String(gitTokenId)));
27997
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27998
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27999
+ let baseOptions;
28000
+ if (configuration) {
28001
+ baseOptions = configuration.baseOptions;
28002
+ }
28003
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
28004
+ const localVarHeaderParameter = {};
28005
+ const localVarQueryParameter = {};
28006
+ // authentication ApiKeyAuth required
28007
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
28008
+ // authentication bearerAuth required
28009
+ // http bearer authentication required
28010
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
28011
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28012
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28013
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28014
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
28015
+ localVarRequestOptions.data = serializeDataIfNeeded(gitTokenRequest, localVarRequestOptions, configuration);
28016
+ return {
28017
+ url: toPathString(localVarUrlObj),
28018
+ options: localVarRequestOptions,
28019
+ };
28020
+ }),
27905
28021
  /**
27906
28022
  * To edit an organization you must have the admin permission
27907
28023
  * @summary Edit an organization
@@ -28080,6 +28196,20 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
28080
28196
  export const OrganizationMainCallsApiFp = function (configuration) {
28081
28197
  const localVarAxiosParamCreator = OrganizationMainCallsApiAxiosParamCreator(configuration);
28082
28198
  return {
28199
+ /**
28200
+ * Create a new git token to be used as a git provider by a service
28201
+ * @summary Create a git token
28202
+ * @param {string} organizationId Organization ID
28203
+ * @param {GitTokenRequest} [gitTokenRequest]
28204
+ * @param {*} [options] Override http request option.
28205
+ * @throws {RequiredError}
28206
+ */
28207
+ createGitToken(organizationId, gitTokenRequest, options) {
28208
+ return __awaiter(this, void 0, void 0, function* () {
28209
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createGitToken(organizationId, gitTokenRequest, options);
28210
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28211
+ });
28212
+ },
28083
28213
  /**
28084
28214
  *
28085
28215
  * @summary Create an organization
@@ -28093,6 +28223,20 @@ export const OrganizationMainCallsApiFp = function (configuration) {
28093
28223
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28094
28224
  });
28095
28225
  },
28226
+ /**
28227
+ *
28228
+ * @summary Delete a git token
28229
+ * @param {string} organizationId Organization ID
28230
+ * @param {string} gitTokenId Git Token ID
28231
+ * @param {*} [options] Override http request option.
28232
+ * @throws {RequiredError}
28233
+ */
28234
+ deleteGitToken(organizationId, gitTokenId, options) {
28235
+ return __awaiter(this, void 0, void 0, function* () {
28236
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteGitToken(organizationId, gitTokenId, options);
28237
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28238
+ });
28239
+ },
28096
28240
  /**
28097
28241
  * To delete an organization you must have the admin permission
28098
28242
  * @summary Delete an organization
@@ -28106,6 +28250,21 @@ export const OrganizationMainCallsApiFp = function (configuration) {
28106
28250
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28107
28251
  });
28108
28252
  },
28253
+ /**
28254
+ *
28255
+ * @summary Edit a git token
28256
+ * @param {string} organizationId Organization ID
28257
+ * @param {string} gitTokenId Git Token ID
28258
+ * @param {GitTokenRequest} [gitTokenRequest]
28259
+ * @param {*} [options] Override http request option.
28260
+ * @throws {RequiredError}
28261
+ */
28262
+ editGitToken(organizationId, gitTokenId, gitTokenRequest, options) {
28263
+ return __awaiter(this, void 0, void 0, function* () {
28264
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editGitToken(organizationId, gitTokenId, gitTokenRequest, options);
28265
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28266
+ });
28267
+ },
28109
28268
  /**
28110
28269
  * To edit an organization you must have the admin permission
28111
28270
  * @summary Edit an organization
@@ -28180,6 +28339,17 @@ export const OrganizationMainCallsApiFp = function (configuration) {
28180
28339
  export const OrganizationMainCallsApiFactory = function (configuration, basePath, axios) {
28181
28340
  const localVarFp = OrganizationMainCallsApiFp(configuration);
28182
28341
  return {
28342
+ /**
28343
+ * Create a new git token to be used as a git provider by a service
28344
+ * @summary Create a git token
28345
+ * @param {string} organizationId Organization ID
28346
+ * @param {GitTokenRequest} [gitTokenRequest]
28347
+ * @param {*} [options] Override http request option.
28348
+ * @throws {RequiredError}
28349
+ */
28350
+ createGitToken(organizationId, gitTokenRequest, options) {
28351
+ return localVarFp.createGitToken(organizationId, gitTokenRequest, options).then((request) => request(axios, basePath));
28352
+ },
28183
28353
  /**
28184
28354
  *
28185
28355
  * @summary Create an organization
@@ -28190,6 +28360,17 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
28190
28360
  createOrganization(organizationRequest, options) {
28191
28361
  return localVarFp.createOrganization(organizationRequest, options).then((request) => request(axios, basePath));
28192
28362
  },
28363
+ /**
28364
+ *
28365
+ * @summary Delete a git token
28366
+ * @param {string} organizationId Organization ID
28367
+ * @param {string} gitTokenId Git Token ID
28368
+ * @param {*} [options] Override http request option.
28369
+ * @throws {RequiredError}
28370
+ */
28371
+ deleteGitToken(organizationId, gitTokenId, options) {
28372
+ return localVarFp.deleteGitToken(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
28373
+ },
28193
28374
  /**
28194
28375
  * To delete an organization you must have the admin permission
28195
28376
  * @summary Delete an organization
@@ -28200,6 +28381,18 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
28200
28381
  deleteOrganization(organizationId, options) {
28201
28382
  return localVarFp.deleteOrganization(organizationId, options).then((request) => request(axios, basePath));
28202
28383
  },
28384
+ /**
28385
+ *
28386
+ * @summary Edit a git token
28387
+ * @param {string} organizationId Organization ID
28388
+ * @param {string} gitTokenId Git Token ID
28389
+ * @param {GitTokenRequest} [gitTokenRequest]
28390
+ * @param {*} [options] Override http request option.
28391
+ * @throws {RequiredError}
28392
+ */
28393
+ editGitToken(organizationId, gitTokenId, gitTokenRequest, options) {
28394
+ return localVarFp.editGitToken(organizationId, gitTokenId, gitTokenRequest, options).then((request) => request(axios, basePath));
28395
+ },
28203
28396
  /**
28204
28397
  * To edit an organization you must have the admin permission
28205
28398
  * @summary Edit an organization
@@ -28259,6 +28452,18 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
28259
28452
  * @extends {BaseAPI}
28260
28453
  */
28261
28454
  export class OrganizationMainCallsApi extends BaseAPI {
28455
+ /**
28456
+ * Create a new git token to be used as a git provider by a service
28457
+ * @summary Create a git token
28458
+ * @param {string} organizationId Organization ID
28459
+ * @param {GitTokenRequest} [gitTokenRequest]
28460
+ * @param {*} [options] Override http request option.
28461
+ * @throws {RequiredError}
28462
+ * @memberof OrganizationMainCallsApi
28463
+ */
28464
+ createGitToken(organizationId, gitTokenRequest, options) {
28465
+ return OrganizationMainCallsApiFp(this.configuration).createGitToken(organizationId, gitTokenRequest, options).then((request) => request(this.axios, this.basePath));
28466
+ }
28262
28467
  /**
28263
28468
  *
28264
28469
  * @summary Create an organization
@@ -28270,6 +28475,18 @@ export class OrganizationMainCallsApi extends BaseAPI {
28270
28475
  createOrganization(organizationRequest, options) {
28271
28476
  return OrganizationMainCallsApiFp(this.configuration).createOrganization(organizationRequest, options).then((request) => request(this.axios, this.basePath));
28272
28477
  }
28478
+ /**
28479
+ *
28480
+ * @summary Delete a git token
28481
+ * @param {string} organizationId Organization ID
28482
+ * @param {string} gitTokenId Git Token ID
28483
+ * @param {*} [options] Override http request option.
28484
+ * @throws {RequiredError}
28485
+ * @memberof OrganizationMainCallsApi
28486
+ */
28487
+ deleteGitToken(organizationId, gitTokenId, options) {
28488
+ return OrganizationMainCallsApiFp(this.configuration).deleteGitToken(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
28489
+ }
28273
28490
  /**
28274
28491
  * To delete an organization you must have the admin permission
28275
28492
  * @summary Delete an organization
@@ -28281,6 +28498,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
28281
28498
  deleteOrganization(organizationId, options) {
28282
28499
  return OrganizationMainCallsApiFp(this.configuration).deleteOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
28283
28500
  }
28501
+ /**
28502
+ *
28503
+ * @summary Edit a git token
28504
+ * @param {string} organizationId Organization ID
28505
+ * @param {string} gitTokenId Git Token ID
28506
+ * @param {GitTokenRequest} [gitTokenRequest]
28507
+ * @param {*} [options] Override http request option.
28508
+ * @throws {RequiredError}
28509
+ * @memberof OrganizationMainCallsApi
28510
+ */
28511
+ editGitToken(organizationId, gitTokenId, gitTokenRequest, options) {
28512
+ return OrganizationMainCallsApiFp(this.configuration).editGitToken(organizationId, gitTokenId, gitTokenRequest, options).then((request) => request(this.axios, this.basePath));
28513
+ }
28284
28514
  /**
28285
28515
  * To edit an organization you must have the admin permission
28286
28516
  * @summary Edit an organization
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.258",
3
+ "version": "v1.1.261",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {