qovery-typescript-axios 1.1.456 → 1.1.458

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 CHANGED
@@ -11917,7 +11917,8 @@ export const OrganizationEventType = {
11917
11917
  TRIGGER_RESTART: 'TRIGGER_RESTART',
11918
11918
  TRIGGER_DELETE: 'TRIGGER_DELETE',
11919
11919
  SHELL: 'SHELL',
11920
- PORT_FORWARD: 'PORT_FORWARD'
11920
+ PORT_FORWARD: 'PORT_FORWARD',
11921
+ CLONE: 'CLONE'
11921
11922
  } as const;
11922
11923
 
11923
11924
  export type OrganizationEventType = typeof OrganizationEventType[keyof typeof OrganizationEventType];
@@ -31030,207 +31031,6 @@ export class DatabasesApi extends BaseAPI {
31030
31031
 
31031
31032
 
31032
31033
 
31033
- /**
31034
- * DefaultApi - axios parameter creator
31035
- * @export
31036
- */
31037
- export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
31038
- return {
31039
- /**
31040
- * Get organization container registry associated services
31041
- * @summary Get organization container registry associated services
31042
- * @param {string} organizationId
31043
- * @param {string} containerRegistryId
31044
- * @param {*} [options] Override http request option.
31045
- * @throws {RequiredError}
31046
- */
31047
- getContainerRegistryAssociatedServices: async (organizationId: string, containerRegistryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31048
- // verify required parameter 'organizationId' is not null or undefined
31049
- assertParamExists('getContainerRegistryAssociatedServices', 'organizationId', organizationId)
31050
- // verify required parameter 'containerRegistryId' is not null or undefined
31051
- assertParamExists('getContainerRegistryAssociatedServices', 'containerRegistryId', containerRegistryId)
31052
- const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}/associatedServices`
31053
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
31054
- .replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
31055
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
31056
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31057
- let baseOptions;
31058
- if (configuration) {
31059
- baseOptions = configuration.baseOptions;
31060
- }
31061
-
31062
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31063
- const localVarHeaderParameter = {} as any;
31064
- const localVarQueryParameter = {} as any;
31065
-
31066
- // authentication ApiKeyAuth required
31067
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31068
-
31069
- // authentication bearerAuth required
31070
- // http bearer authentication required
31071
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
31072
-
31073
-
31074
-
31075
- setSearchParams(localVarUrlObj, localVarQueryParameter);
31076
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31077
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31078
-
31079
- return {
31080
- url: toPathString(localVarUrlObj),
31081
- options: localVarRequestOptions,
31082
- };
31083
- },
31084
- /**
31085
- * Get organization helm repository associated services
31086
- * @summary Get organization helm repository associated services
31087
- * @param {string} organizationId
31088
- * @param {string} helmRepositoryId
31089
- * @param {*} [options] Override http request option.
31090
- * @throws {RequiredError}
31091
- */
31092
- getHelmRepositoryAssociatedServices: async (organizationId: string, helmRepositoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31093
- // verify required parameter 'organizationId' is not null or undefined
31094
- assertParamExists('getHelmRepositoryAssociatedServices', 'organizationId', organizationId)
31095
- // verify required parameter 'helmRepositoryId' is not null or undefined
31096
- assertParamExists('getHelmRepositoryAssociatedServices', 'helmRepositoryId', helmRepositoryId)
31097
- const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}/associatedServices`
31098
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
31099
- .replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
31100
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
31101
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31102
- let baseOptions;
31103
- if (configuration) {
31104
- baseOptions = configuration.baseOptions;
31105
- }
31106
-
31107
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31108
- const localVarHeaderParameter = {} as any;
31109
- const localVarQueryParameter = {} as any;
31110
-
31111
- // authentication ApiKeyAuth required
31112
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31113
-
31114
- // authentication bearerAuth required
31115
- // http bearer authentication required
31116
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
31117
-
31118
-
31119
-
31120
- setSearchParams(localVarUrlObj, localVarQueryParameter);
31121
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31122
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31123
-
31124
- return {
31125
- url: toPathString(localVarUrlObj),
31126
- options: localVarRequestOptions,
31127
- };
31128
- },
31129
- }
31130
- };
31131
-
31132
- /**
31133
- * DefaultApi - functional programming interface
31134
- * @export
31135
- */
31136
- export const DefaultApiFp = function(configuration?: Configuration) {
31137
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
31138
- return {
31139
- /**
31140
- * Get organization container registry associated services
31141
- * @summary Get organization container registry associated services
31142
- * @param {string} organizationId
31143
- * @param {string} containerRegistryId
31144
- * @param {*} [options] Override http request option.
31145
- * @throws {RequiredError}
31146
- */
31147
- async getContainerRegistryAssociatedServices(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryAssociatedServicesResponseList>> {
31148
- const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerRegistryAssociatedServices(organizationId, containerRegistryId, options);
31149
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31150
- },
31151
- /**
31152
- * Get organization helm repository associated services
31153
- * @summary Get organization helm repository associated services
31154
- * @param {string} organizationId
31155
- * @param {string} helmRepositoryId
31156
- * @param {*} [options] Override http request option.
31157
- * @throws {RequiredError}
31158
- */
31159
- async getHelmRepositoryAssociatedServices(organizationId: string, helmRepositoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryAssociatedServicesResponseList>> {
31160
- const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmRepositoryAssociatedServices(organizationId, helmRepositoryId, options);
31161
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31162
- },
31163
- }
31164
- };
31165
-
31166
- /**
31167
- * DefaultApi - factory interface
31168
- * @export
31169
- */
31170
- export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
31171
- const localVarFp = DefaultApiFp(configuration)
31172
- return {
31173
- /**
31174
- * Get organization container registry associated services
31175
- * @summary Get organization container registry associated services
31176
- * @param {string} organizationId
31177
- * @param {string} containerRegistryId
31178
- * @param {*} [options] Override http request option.
31179
- * @throws {RequiredError}
31180
- */
31181
- getContainerRegistryAssociatedServices(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryAssociatedServicesResponseList> {
31182
- return localVarFp.getContainerRegistryAssociatedServices(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
31183
- },
31184
- /**
31185
- * Get organization helm repository associated services
31186
- * @summary Get organization helm repository associated services
31187
- * @param {string} organizationId
31188
- * @param {string} helmRepositoryId
31189
- * @param {*} [options] Override http request option.
31190
- * @throws {RequiredError}
31191
- */
31192
- getHelmRepositoryAssociatedServices(organizationId: string, helmRepositoryId: string, options?: any): AxiosPromise<HelmRepositoryAssociatedServicesResponseList> {
31193
- return localVarFp.getHelmRepositoryAssociatedServices(organizationId, helmRepositoryId, options).then((request) => request(axios, basePath));
31194
- },
31195
- };
31196
- };
31197
-
31198
- /**
31199
- * DefaultApi - object-oriented interface
31200
- * @export
31201
- * @class DefaultApi
31202
- * @extends {BaseAPI}
31203
- */
31204
- export class DefaultApi extends BaseAPI {
31205
- /**
31206
- * Get organization container registry associated services
31207
- * @summary Get organization container registry associated services
31208
- * @param {string} organizationId
31209
- * @param {string} containerRegistryId
31210
- * @param {*} [options] Override http request option.
31211
- * @throws {RequiredError}
31212
- * @memberof DefaultApi
31213
- */
31214
- public getContainerRegistryAssociatedServices(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) {
31215
- return DefaultApiFp(this.configuration).getContainerRegistryAssociatedServices(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
31216
- }
31217
-
31218
- /**
31219
- * Get organization helm repository associated services
31220
- * @summary Get organization helm repository associated services
31221
- * @param {string} organizationId
31222
- * @param {string} helmRepositoryId
31223
- * @param {*} [options] Override http request option.
31224
- * @throws {RequiredError}
31225
- * @memberof DefaultApi
31226
- */
31227
- public getHelmRepositoryAssociatedServices(organizationId: string, helmRepositoryId: string, options?: AxiosRequestConfig) {
31228
- return DefaultApiFp(this.configuration).getHelmRepositoryAssociatedServices(organizationId, helmRepositoryId, options).then((request) => request(this.axios, this.basePath));
31229
- }
31230
- }
31231
-
31232
-
31233
-
31234
31034
  /**
31235
31035
  * DeploymentStageMainCallsApi - axios parameter creator
31236
31036
  * @export
@@ -46635,6 +46435,51 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
46635
46435
  options: localVarRequestOptions,
46636
46436
  };
46637
46437
  },
46438
+ /**
46439
+ * Get organization container registry associated services
46440
+ * @summary Get organization container registry associated services
46441
+ * @param {string} organizationId
46442
+ * @param {string} containerRegistryId
46443
+ * @param {*} [options] Override http request option.
46444
+ * @throws {RequiredError}
46445
+ */
46446
+ getContainerRegistryAssociatedServices: async (organizationId: string, containerRegistryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46447
+ // verify required parameter 'organizationId' is not null or undefined
46448
+ assertParamExists('getContainerRegistryAssociatedServices', 'organizationId', organizationId)
46449
+ // verify required parameter 'containerRegistryId' is not null or undefined
46450
+ assertParamExists('getContainerRegistryAssociatedServices', 'containerRegistryId', containerRegistryId)
46451
+ const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}/associatedServices`
46452
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
46453
+ .replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
46454
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46455
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46456
+ let baseOptions;
46457
+ if (configuration) {
46458
+ baseOptions = configuration.baseOptions;
46459
+ }
46460
+
46461
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
46462
+ const localVarHeaderParameter = {} as any;
46463
+ const localVarQueryParameter = {} as any;
46464
+
46465
+ // authentication ApiKeyAuth required
46466
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
46467
+
46468
+ // authentication bearerAuth required
46469
+ // http bearer authentication required
46470
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
46471
+
46472
+
46473
+
46474
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
46475
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46476
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46477
+
46478
+ return {
46479
+ url: toPathString(localVarUrlObj),
46480
+ options: localVarRequestOptions,
46481
+ };
46482
+ },
46638
46483
  /**
46639
46484
  * Get organization git tokens associated services
46640
46485
  * @summary Get organization git token associated services
@@ -46671,6 +46516,51 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
46671
46516
 
46672
46517
 
46673
46518
 
46519
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
46520
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46521
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46522
+
46523
+ return {
46524
+ url: toPathString(localVarUrlObj),
46525
+ options: localVarRequestOptions,
46526
+ };
46527
+ },
46528
+ /**
46529
+ * Get organization helm repository associated services
46530
+ * @summary Get organization helm repository associated services
46531
+ * @param {string} organizationId
46532
+ * @param {string} helmRepositoryId
46533
+ * @param {*} [options] Override http request option.
46534
+ * @throws {RequiredError}
46535
+ */
46536
+ getHelmRepositoryAssociatedServices: async (organizationId: string, helmRepositoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46537
+ // verify required parameter 'organizationId' is not null or undefined
46538
+ assertParamExists('getHelmRepositoryAssociatedServices', 'organizationId', organizationId)
46539
+ // verify required parameter 'helmRepositoryId' is not null or undefined
46540
+ assertParamExists('getHelmRepositoryAssociatedServices', 'helmRepositoryId', helmRepositoryId)
46541
+ const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}/associatedServices`
46542
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
46543
+ .replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
46544
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46545
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46546
+ let baseOptions;
46547
+ if (configuration) {
46548
+ baseOptions = configuration.baseOptions;
46549
+ }
46550
+
46551
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
46552
+ const localVarHeaderParameter = {} as any;
46553
+ const localVarQueryParameter = {} as any;
46554
+
46555
+ // authentication ApiKeyAuth required
46556
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
46557
+
46558
+ // authentication bearerAuth required
46559
+ // http bearer authentication required
46560
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
46561
+
46562
+
46563
+
46674
46564
  setSearchParams(localVarUrlObj, localVarQueryParameter);
46675
46565
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46676
46566
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -46966,6 +46856,18 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
46966
46856
  const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganization(organizationId, organizationEditRequest, options);
46967
46857
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46968
46858
  },
46859
+ /**
46860
+ * Get organization container registry associated services
46861
+ * @summary Get organization container registry associated services
46862
+ * @param {string} organizationId
46863
+ * @param {string} containerRegistryId
46864
+ * @param {*} [options] Override http request option.
46865
+ * @throws {RequiredError}
46866
+ */
46867
+ async getContainerRegistryAssociatedServices(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryAssociatedServicesResponseList>> {
46868
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerRegistryAssociatedServices(organizationId, containerRegistryId, options);
46869
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46870
+ },
46969
46871
  /**
46970
46872
  * Get organization git tokens associated services
46971
46873
  * @summary Get organization git token associated services
@@ -46978,6 +46880,18 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
46978
46880
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGitTokenAssociatedServices(organizationId, gitTokenId, options);
46979
46881
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46980
46882
  },
46883
+ /**
46884
+ * Get organization helm repository associated services
46885
+ * @summary Get organization helm repository associated services
46886
+ * @param {string} organizationId
46887
+ * @param {string} helmRepositoryId
46888
+ * @param {*} [options] Override http request option.
46889
+ * @throws {RequiredError}
46890
+ */
46891
+ async getHelmRepositoryAssociatedServices(organizationId: string, helmRepositoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryAssociatedServicesResponseList>> {
46892
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmRepositoryAssociatedServices(organizationId, helmRepositoryId, options);
46893
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46894
+ },
46981
46895
  /**
46982
46896
  *
46983
46897
  * @summary Get organization by ID
@@ -47108,6 +47022,17 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
47108
47022
  editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: any): AxiosPromise<Organization> {
47109
47023
  return localVarFp.editOrganization(organizationId, organizationEditRequest, options).then((request) => request(axios, basePath));
47110
47024
  },
47025
+ /**
47026
+ * Get organization container registry associated services
47027
+ * @summary Get organization container registry associated services
47028
+ * @param {string} organizationId
47029
+ * @param {string} containerRegistryId
47030
+ * @param {*} [options] Override http request option.
47031
+ * @throws {RequiredError}
47032
+ */
47033
+ getContainerRegistryAssociatedServices(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryAssociatedServicesResponseList> {
47034
+ return localVarFp.getContainerRegistryAssociatedServices(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
47035
+ },
47111
47036
  /**
47112
47037
  * Get organization git tokens associated services
47113
47038
  * @summary Get organization git token associated services
@@ -47119,6 +47044,17 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
47119
47044
  getGitTokenAssociatedServices(organizationId: string, gitTokenId: string, options?: any): AxiosPromise<GitTokenAssociatedServicesResponseList> {
47120
47045
  return localVarFp.getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
47121
47046
  },
47047
+ /**
47048
+ * Get organization helm repository associated services
47049
+ * @summary Get organization helm repository associated services
47050
+ * @param {string} organizationId
47051
+ * @param {string} helmRepositoryId
47052
+ * @param {*} [options] Override http request option.
47053
+ * @throws {RequiredError}
47054
+ */
47055
+ getHelmRepositoryAssociatedServices(organizationId: string, helmRepositoryId: string, options?: any): AxiosPromise<HelmRepositoryAssociatedServicesResponseList> {
47056
+ return localVarFp.getHelmRepositoryAssociatedServices(organizationId, helmRepositoryId, options).then((request) => request(axios, basePath));
47057
+ },
47122
47058
  /**
47123
47059
  *
47124
47060
  * @summary Get organization by ID
@@ -47256,6 +47192,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
47256
47192
  return OrganizationMainCallsApiFp(this.configuration).editOrganization(organizationId, organizationEditRequest, options).then((request) => request(this.axios, this.basePath));
47257
47193
  }
47258
47194
 
47195
+ /**
47196
+ * Get organization container registry associated services
47197
+ * @summary Get organization container registry associated services
47198
+ * @param {string} organizationId
47199
+ * @param {string} containerRegistryId
47200
+ * @param {*} [options] Override http request option.
47201
+ * @throws {RequiredError}
47202
+ * @memberof OrganizationMainCallsApi
47203
+ */
47204
+ public getContainerRegistryAssociatedServices(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) {
47205
+ return OrganizationMainCallsApiFp(this.configuration).getContainerRegistryAssociatedServices(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
47206
+ }
47207
+
47259
47208
  /**
47260
47209
  * Get organization git tokens associated services
47261
47210
  * @summary Get organization git token associated services
@@ -47269,6 +47218,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
47269
47218
  return OrganizationMainCallsApiFp(this.configuration).getGitTokenAssociatedServices(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
47270
47219
  }
47271
47220
 
47221
+ /**
47222
+ * Get organization helm repository associated services
47223
+ * @summary Get organization helm repository associated services
47224
+ * @param {string} organizationId
47225
+ * @param {string} helmRepositoryId
47226
+ * @param {*} [options] Override http request option.
47227
+ * @throws {RequiredError}
47228
+ * @memberof OrganizationMainCallsApi
47229
+ */
47230
+ public getHelmRepositoryAssociatedServices(organizationId: string, helmRepositoryId: string, options?: AxiosRequestConfig) {
47231
+ return OrganizationMainCallsApiFp(this.configuration).getHelmRepositoryAssociatedServices(organizationId, helmRepositoryId, options).then((request) => request(this.axios, this.basePath));
47232
+ }
47233
+
47272
47234
  /**
47273
47235
  *
47274
47236
  * @summary Get organization by ID