qovery-typescript-axios 1.1.1043 → 1.1.1044

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.
@@ -25,9 +25,9 @@ jobs:
25
25
  runs-on: ubuntu-latest
26
26
 
27
27
  steps:
28
- - uses: actions/checkout@v6.1.0
28
+ - uses: actions/checkout@v6
29
29
  - name: Set up Node
30
- uses: actions/setup-node@v6.5.0
30
+ uses: actions/setup-node@v6
31
31
  with:
32
32
  node-version: '24.x'
33
33
  registry-url: 'https://registry.npmjs.org'
@@ -10,10 +10,10 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
 
12
12
  steps:
13
- - uses: actions/checkout@v2.8.0
13
+ - uses: actions/checkout@v2
14
14
 
15
15
  - name: Create an incremental release
16
- uses: aurestic/incremental-tag@master
16
+ uses: aurestic/incrementarl-create-release@master
17
17
  with:
18
18
  flag_branch: false
19
19
  message: Bump version
package/api.ts CHANGED
@@ -12013,6 +12013,77 @@ export interface CustomDomain {
12013
12013
  }
12014
12014
 
12015
12015
 
12016
+ /**
12017
+ *
12018
+ * @export
12019
+ * @interface CustomDomainEnvironmentResponse
12020
+ */
12021
+ export interface CustomDomainEnvironmentResponse {
12022
+ /**
12023
+ * Id of the environment.
12024
+ * @type {string}
12025
+ * @memberof CustomDomainEnvironmentResponse
12026
+ */
12027
+ 'id': string;
12028
+ /**
12029
+ * Name of the environment.
12030
+ * @type {string}
12031
+ * @memberof CustomDomainEnvironmentResponse
12032
+ */
12033
+ 'name': string;
12034
+ /**
12035
+ *
12036
+ * @type {EnvironmentRoutingModeEnum}
12037
+ * @memberof CustomDomainEnvironmentResponse
12038
+ */
12039
+ 'routing_mode': EnvironmentRoutingModeEnum;
12040
+ }
12041
+
12042
+
12043
+ /**
12044
+ *
12045
+ * @export
12046
+ * @interface CustomDomainPortResponse
12047
+ */
12048
+ export interface CustomDomainPortResponse {
12049
+ /**
12050
+ * Id of the port.
12051
+ * @type {string}
12052
+ * @memberof CustomDomainPortResponse
12053
+ */
12054
+ 'id': string;
12055
+ /**
12056
+ * Name of the port.
12057
+ * @type {string}
12058
+ * @memberof CustomDomainPortResponse
12059
+ */
12060
+ 'name': string;
12061
+ /**
12062
+ * The port the service listens on.
12063
+ * @type {number}
12064
+ * @memberof CustomDomainPortResponse
12065
+ */
12066
+ 'internal_port': number;
12067
+ }
12068
+ /**
12069
+ *
12070
+ * @export
12071
+ * @interface CustomDomainProjectResponse
12072
+ */
12073
+ export interface CustomDomainProjectResponse {
12074
+ /**
12075
+ * Id of the project.
12076
+ * @type {string}
12077
+ * @memberof CustomDomainProjectResponse
12078
+ */
12079
+ 'id': string;
12080
+ /**
12081
+ * Name of the project.
12082
+ * @type {string}
12083
+ * @memberof CustomDomainProjectResponse
12084
+ */
12085
+ 'name': string;
12086
+ }
12016
12087
  /**
12017
12088
  *
12018
12089
  * @export
@@ -12051,6 +12122,76 @@ export interface CustomDomainResponseList {
12051
12122
  */
12052
12123
  'results'?: Array<CustomDomain>;
12053
12124
  }
12125
+ /**
12126
+ * Requests to the domain on `path` go to `port` of `service`. `port` is null when the service has no public port.
12127
+ * @export
12128
+ * @interface CustomDomainRouteResponse
12129
+ */
12130
+ export interface CustomDomainRouteResponse {
12131
+ /**
12132
+ * Id of the route.
12133
+ * @type {string}
12134
+ * @memberof CustomDomainRouteResponse
12135
+ */
12136
+ 'id': string;
12137
+ /**
12138
+ * Id of this domain in the custom domain API of the service (`/application|container|helm/{id}/customDomain/{customDomainId}`).
12139
+ * @type {string}
12140
+ * @memberof CustomDomainRouteResponse
12141
+ */
12142
+ 'custom_domain_id': string;
12143
+ /**
12144
+ *
12145
+ * @type {CustomDomainServiceResponse}
12146
+ * @memberof CustomDomainRouteResponse
12147
+ */
12148
+ 'service': CustomDomainServiceResponse;
12149
+ /**
12150
+ *
12151
+ * @type {CustomDomainPortResponse}
12152
+ * @memberof CustomDomainRouteResponse
12153
+ */
12154
+ 'port': CustomDomainPortResponse | null;
12155
+ /**
12156
+ * The path of the requests this route serves.
12157
+ * @type {string}
12158
+ * @memberof CustomDomainRouteResponse
12159
+ */
12160
+ 'path': string;
12161
+ /**
12162
+ * The path that replaces `path` before the request reaches the service. Null when the path is not rewritten.
12163
+ * @type {string}
12164
+ * @memberof CustomDomainRouteResponse
12165
+ */
12166
+ 'path_rewrite': string | null;
12167
+ }
12168
+ /**
12169
+ *
12170
+ * @export
12171
+ * @interface CustomDomainServiceResponse
12172
+ */
12173
+ export interface CustomDomainServiceResponse {
12174
+ /**
12175
+ * Id of the service.
12176
+ * @type {string}
12177
+ * @memberof CustomDomainServiceResponse
12178
+ */
12179
+ 'id': string;
12180
+ /**
12181
+ * Type of the service. Only `APPLICATION`, `CONTAINER` and `HELM` services have custom domains.
12182
+ * @type {ServiceTypeEnum}
12183
+ * @memberof CustomDomainServiceResponse
12184
+ */
12185
+ 'type': ServiceTypeEnum;
12186
+ /**
12187
+ * Name of the service.
12188
+ * @type {string}
12189
+ * @memberof CustomDomainServiceResponse
12190
+ */
12191
+ 'name': string;
12192
+ }
12193
+
12194
+
12054
12195
  /**
12055
12196
  *
12056
12197
  * @export
@@ -15391,6 +15532,20 @@ export interface EnvironmentResponseList {
15391
15532
  */
15392
15533
  'results'?: Array<Environment>;
15393
15534
  }
15535
+ /**
15536
+ * How the environment routes its custom domains. * `PER_ROUTER_LISTENER_SET`: a domain belongs to one service and follows its default public port and path. * `PER_HOSTNAME_LISTENER_SET`: several services can share a domain, and each route chooses its port, path and path rewrite.
15537
+ * @export
15538
+ * @enum {string}
15539
+ */
15540
+
15541
+ export const EnvironmentRoutingModeEnum = {
15542
+ ROUTER_LISTENER_SET: 'PER_ROUTER_LISTENER_SET',
15543
+ HOSTNAME_LISTENER_SET: 'PER_HOSTNAME_LISTENER_SET'
15544
+ } as const;
15545
+
15546
+ export type EnvironmentRoutingModeEnum = typeof EnvironmentRoutingModeEnum[keyof typeof EnvironmentRoutingModeEnum];
15547
+
15548
+
15394
15549
  /**
15395
15550
  *
15396
15551
  * @export
@@ -22822,6 +22977,86 @@ export interface OrganizationCurrentCost {
22822
22977
  }
22823
22978
 
22824
22979
 
22980
+ /**
22981
+ *
22982
+ * @export
22983
+ * @interface OrganizationCustomDomainPaginatedResponseList
22984
+ */
22985
+ export interface OrganizationCustomDomainPaginatedResponseList {
22986
+ /**
22987
+ *
22988
+ * @type {number}
22989
+ * @memberof OrganizationCustomDomainPaginatedResponseList
22990
+ */
22991
+ 'page': number;
22992
+ /**
22993
+ *
22994
+ * @type {number}
22995
+ * @memberof OrganizationCustomDomainPaginatedResponseList
22996
+ */
22997
+ 'page_size': number;
22998
+ /**
22999
+ *
23000
+ * @type {Array<OrganizationCustomDomainResponse>}
23001
+ * @memberof OrganizationCustomDomainPaginatedResponseList
23002
+ */
23003
+ 'results': Array<OrganizationCustomDomainResponse>;
23004
+ /**
23005
+ * The number of domains matching the query, on all pages.
23006
+ * @type {number}
23007
+ * @memberof OrganizationCustomDomainPaginatedResponseList
23008
+ */
23009
+ 'total_count': number;
23010
+ }
23011
+ /**
23012
+ * One domain name of one environment, with every route that serves it. It has no id of its own; `environment_id` and `domain` identify it.
23013
+ * @export
23014
+ * @interface OrganizationCustomDomainResponse
23015
+ */
23016
+ export interface OrganizationCustomDomainResponse {
23017
+ /**
23018
+ * Id of the environment of the domain.
23019
+ * @type {string}
23020
+ * @memberof OrganizationCustomDomainResponse
23021
+ */
23022
+ 'environment_id': string;
23023
+ /**
23024
+ * The domain name.
23025
+ * @type {string}
23026
+ * @memberof OrganizationCustomDomainResponse
23027
+ */
23028
+ 'domain': string;
23029
+ /**
23030
+ *
23031
+ * @type {CustomDomainProjectResponse}
23032
+ * @memberof OrganizationCustomDomainResponse
23033
+ */
23034
+ 'project': CustomDomainProjectResponse;
23035
+ /**
23036
+ *
23037
+ * @type {CustomDomainEnvironmentResponse}
23038
+ * @memberof OrganizationCustomDomainResponse
23039
+ */
23040
+ 'environment': CustomDomainEnvironmentResponse;
23041
+ /**
23042
+ * The routes of the domain, one per service and path.
23043
+ * @type {Array<CustomDomainRouteResponse>}
23044
+ * @memberof OrganizationCustomDomainResponse
23045
+ */
23046
+ 'routes': Array<CustomDomainRouteResponse>;
23047
+ /**
23048
+ * Whether Qovery generates a certificate for the domain. `false` when a CDN or another party manages the certificate.
23049
+ * @type {boolean}
23050
+ * @memberof OrganizationCustomDomainResponse
23051
+ */
23052
+ 'generate_certificate': boolean;
23053
+ /**
23054
+ * Whether the domain is behind a CDN. If `true`, Qovery only checks that the domain points to an IP; otherwise it checks that the domain resolves to the service load balancer.
23055
+ * @type {boolean}
23056
+ * @memberof OrganizationCustomDomainResponse
23057
+ */
23058
+ 'use_cdn': boolean;
23059
+ }
22825
23060
  /**
22826
23061
  *
22827
23062
  * @export
@@ -70787,6 +71022,161 @@ export class OrganizationClusterLockApi extends BaseAPI {
70787
71022
 
70788
71023
 
70789
71024
 
71025
+ /**
71026
+ * OrganizationCustomDomainApi - axios parameter creator
71027
+ * @export
71028
+ */
71029
+ export const OrganizationCustomDomainApiAxiosParamCreator = function (configuration?: Configuration) {
71030
+ return {
71031
+ /**
71032
+ * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
71033
+ * @summary List organization custom domains
71034
+ * @param {string} organizationId Organization ID
71035
+ * @param {string} [projectId] Only list the domains of this project. A project of another organization gives an empty list.
71036
+ * @param {string} [environmentId] Only list the domains of this environment. An environment of another organization gives an empty list.
71037
+ * @param {string} [search] Only list the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
71038
+ * @param {number} [page] The page to return, starting at 1. A page after the last one has no results.
71039
+ * @param {number} [pageSize] The number of domains per page.
71040
+ * @param {*} [options] Override http request option.
71041
+ * @throws {RequiredError}
71042
+ */
71043
+ listOrganizationCustomDomain: async (organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
71044
+ // verify required parameter 'organizationId' is not null or undefined
71045
+ assertParamExists('listOrganizationCustomDomain', 'organizationId', organizationId)
71046
+ const localVarPath = `/organization/{organizationId}/customDomain`
71047
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
71048
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
71049
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
71050
+ let baseOptions;
71051
+ if (configuration) {
71052
+ baseOptions = configuration.baseOptions;
71053
+ }
71054
+
71055
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
71056
+ const localVarHeaderParameter = {} as any;
71057
+ const localVarQueryParameter = {} as any;
71058
+
71059
+ // authentication ApiKeyAuth required
71060
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
71061
+
71062
+ // authentication bearerAuth required
71063
+ // http bearer authentication required
71064
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
71065
+
71066
+ if (projectId !== undefined) {
71067
+ localVarQueryParameter['projectId'] = projectId;
71068
+ }
71069
+
71070
+ if (environmentId !== undefined) {
71071
+ localVarQueryParameter['environmentId'] = environmentId;
71072
+ }
71073
+
71074
+ if (search !== undefined) {
71075
+ localVarQueryParameter['search'] = search;
71076
+ }
71077
+
71078
+ if (page !== undefined) {
71079
+ localVarQueryParameter['page'] = page;
71080
+ }
71081
+
71082
+ if (pageSize !== undefined) {
71083
+ localVarQueryParameter['pageSize'] = pageSize;
71084
+ }
71085
+
71086
+
71087
+
71088
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
71089
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
71090
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
71091
+
71092
+ return {
71093
+ url: toPathString(localVarUrlObj),
71094
+ options: localVarRequestOptions,
71095
+ };
71096
+ },
71097
+ }
71098
+ };
71099
+
71100
+ /**
71101
+ * OrganizationCustomDomainApi - functional programming interface
71102
+ * @export
71103
+ */
71104
+ export const OrganizationCustomDomainApiFp = function(configuration?: Configuration) {
71105
+ const localVarAxiosParamCreator = OrganizationCustomDomainApiAxiosParamCreator(configuration)
71106
+ return {
71107
+ /**
71108
+ * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
71109
+ * @summary List organization custom domains
71110
+ * @param {string} organizationId Organization ID
71111
+ * @param {string} [projectId] Only list the domains of this project. A project of another organization gives an empty list.
71112
+ * @param {string} [environmentId] Only list the domains of this environment. An environment of another organization gives an empty list.
71113
+ * @param {string} [search] Only list the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
71114
+ * @param {number} [page] The page to return, starting at 1. A page after the last one has no results.
71115
+ * @param {number} [pageSize] The number of domains per page.
71116
+ * @param {*} [options] Override http request option.
71117
+ * @throws {RequiredError}
71118
+ */
71119
+ async listOrganizationCustomDomain(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomDomainPaginatedResponseList>> {
71120
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationCustomDomain(organizationId, projectId, environmentId, search, page, pageSize, options);
71121
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
71122
+ const localVarOperationServerBasePath = operationServerMap['OrganizationCustomDomainApi.listOrganizationCustomDomain']?.[localVarOperationServerIndex]?.url;
71123
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
71124
+ },
71125
+ }
71126
+ };
71127
+
71128
+ /**
71129
+ * OrganizationCustomDomainApi - factory interface
71130
+ * @export
71131
+ */
71132
+ export const OrganizationCustomDomainApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
71133
+ const localVarFp = OrganizationCustomDomainApiFp(configuration)
71134
+ return {
71135
+ /**
71136
+ * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
71137
+ * @summary List organization custom domains
71138
+ * @param {string} organizationId Organization ID
71139
+ * @param {string} [projectId] Only list the domains of this project. A project of another organization gives an empty list.
71140
+ * @param {string} [environmentId] Only list the domains of this environment. An environment of another organization gives an empty list.
71141
+ * @param {string} [search] Only list the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
71142
+ * @param {number} [page] The page to return, starting at 1. A page after the last one has no results.
71143
+ * @param {number} [pageSize] The number of domains per page.
71144
+ * @param {*} [options] Override http request option.
71145
+ * @throws {RequiredError}
71146
+ */
71147
+ listOrganizationCustomDomain(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationCustomDomainPaginatedResponseList> {
71148
+ return localVarFp.listOrganizationCustomDomain(organizationId, projectId, environmentId, search, page, pageSize, options).then((request) => request(axios, basePath));
71149
+ },
71150
+ };
71151
+ };
71152
+
71153
+ /**
71154
+ * OrganizationCustomDomainApi - object-oriented interface
71155
+ * @export
71156
+ * @class OrganizationCustomDomainApi
71157
+ * @extends {BaseAPI}
71158
+ */
71159
+ export class OrganizationCustomDomainApi extends BaseAPI {
71160
+ /**
71161
+ * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
71162
+ * @summary List organization custom domains
71163
+ * @param {string} organizationId Organization ID
71164
+ * @param {string} [projectId] Only list the domains of this project. A project of another organization gives an empty list.
71165
+ * @param {string} [environmentId] Only list the domains of this environment. An environment of another organization gives an empty list.
71166
+ * @param {string} [search] Only list the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
71167
+ * @param {number} [page] The page to return, starting at 1. A page after the last one has no results.
71168
+ * @param {number} [pageSize] The number of domains per page.
71169
+ * @param {*} [options] Override http request option.
71170
+ * @throws {RequiredError}
71171
+ * @memberof OrganizationCustomDomainApi
71172
+ */
71173
+ public listOrganizationCustomDomain(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
71174
+ return OrganizationCustomDomainApiFp(this.configuration).listOrganizationCustomDomain(organizationId, projectId, environmentId, search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
71175
+ }
71176
+ }
71177
+
71178
+
71179
+
70790
71180
  /**
70791
71181
  * OrganizationCustomRoleApi - axios parameter creator
70792
71182
  * @export