qovery-typescript-axios 1.1.164 → 1.1.165

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.
Files changed (4) hide show
  1. package/api.ts +184 -36
  2. package/dist/api.d.ts +116 -38
  3. package/dist/api.js +122 -0
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -2276,10 +2276,10 @@ export interface ClusterCloudProviderInfo {
2276
2276
  'cloud_provider'?: CloudProviderEnum;
2277
2277
  /**
2278
2278
  *
2279
- * @type {ClusterCloudProviderInfoCredentials}
2279
+ * @type {InlineResponse200Targets}
2280
2280
  * @memberof ClusterCloudProviderInfo
2281
2281
  */
2282
- 'credentials'?: ClusterCloudProviderInfoCredentials;
2282
+ 'credentials'?: InlineResponse200Targets;
2283
2283
  /**
2284
2284
  *
2285
2285
  * @type {string}
@@ -2287,25 +2287,6 @@ export interface ClusterCloudProviderInfo {
2287
2287
  */
2288
2288
  'region'?: string;
2289
2289
  }
2290
- /**
2291
- *
2292
- * @export
2293
- * @interface ClusterCloudProviderInfoCredentials
2294
- */
2295
- export interface ClusterCloudProviderInfoCredentials {
2296
- /**
2297
- *
2298
- * @type {string}
2299
- * @memberof ClusterCloudProviderInfoCredentials
2300
- */
2301
- 'id'?: string;
2302
- /**
2303
- *
2304
- * @type {string}
2305
- * @memberof ClusterCloudProviderInfoCredentials
2306
- */
2307
- 'name'?: string;
2308
- }
2309
2290
  /**
2310
2291
  *
2311
2292
  * @export
@@ -2320,10 +2301,10 @@ export interface ClusterCloudProviderInfoRequest {
2320
2301
  'cloud_provider'?: CloudProviderEnum;
2321
2302
  /**
2322
2303
  *
2323
- * @type {ClusterCloudProviderInfoCredentials}
2304
+ * @type {InlineResponse200Targets}
2324
2305
  * @memberof ClusterCloudProviderInfoRequest
2325
2306
  */
2326
- 'credentials'?: ClusterCloudProviderInfoCredentials;
2307
+ 'credentials'?: InlineResponse200Targets;
2327
2308
  /**
2328
2309
  *
2329
2310
  * @type {string}
@@ -8061,54 +8042,86 @@ export interface InlineObject {
8061
8042
  export interface InlineResponse200 {
8062
8043
  /**
8063
8044
  *
8064
- * @type {EnvironmentStatus}
8045
+ * @type {Array<InlineResponse200Targets>}
8065
8046
  * @memberof InlineResponse200
8066
8047
  */
8048
+ 'targets'?: Array<InlineResponse200Targets>;
8049
+ }
8050
+ /**
8051
+ *
8052
+ * @export
8053
+ * @interface InlineResponse2001
8054
+ */
8055
+ export interface InlineResponse2001 {
8056
+ /**
8057
+ *
8058
+ * @type {EnvironmentStatus}
8059
+ * @memberof InlineResponse2001
8060
+ */
8067
8061
  'environment'?: EnvironmentStatus;
8068
8062
  /**
8069
8063
  *
8070
8064
  * @type {Array<Status>}
8071
- * @memberof InlineResponse200
8065
+ * @memberof InlineResponse2001
8072
8066
  */
8073
8067
  'applications'?: Array<Status>;
8074
8068
  /**
8075
8069
  *
8076
8070
  * @type {Array<Status>}
8077
- * @memberof InlineResponse200
8071
+ * @memberof InlineResponse2001
8078
8072
  */
8079
8073
  'containers'?: Array<Status>;
8080
8074
  /**
8081
8075
  *
8082
8076
  * @type {Array<Status>}
8083
- * @memberof InlineResponse200
8077
+ * @memberof InlineResponse2001
8084
8078
  */
8085
8079
  'jobs'?: Array<Status>;
8086
8080
  /**
8087
8081
  *
8088
8082
  * @type {Array<Status>}
8089
- * @memberof InlineResponse200
8083
+ * @memberof InlineResponse2001
8090
8084
  */
8091
8085
  'databases'?: Array<Status>;
8092
8086
  }
8093
8087
  /**
8094
8088
  *
8095
8089
  * @export
8096
- * @interface InlineResponse2001
8090
+ * @interface InlineResponse2002
8097
8091
  */
8098
- export interface InlineResponse2001 {
8092
+ export interface InlineResponse2002 {
8099
8093
  /**
8100
8094
  *
8101
8095
  * @type {EnvironmentStatus}
8102
- * @memberof InlineResponse2001
8096
+ * @memberof InlineResponse2002
8103
8097
  */
8104
8098
  'environment'?: EnvironmentStatus;
8105
8099
  /**
8106
8100
  *
8107
8101
  * @type {DeploymentStageWithServiceStatusesList}
8108
- * @memberof InlineResponse2001
8102
+ * @memberof InlineResponse2002
8109
8103
  */
8110
8104
  'stages'?: DeploymentStageWithServiceStatusesList;
8111
8105
  }
8106
+ /**
8107
+ *
8108
+ * @export
8109
+ * @interface InlineResponse200Targets
8110
+ */
8111
+ export interface InlineResponse200Targets {
8112
+ /**
8113
+ *
8114
+ * @type {string}
8115
+ * @memberof InlineResponse200Targets
8116
+ */
8117
+ 'id'?: string;
8118
+ /**
8119
+ *
8120
+ * @type {string}
8121
+ * @memberof InlineResponse200Targets
8122
+ */
8123
+ 'name'?: string;
8124
+ }
8112
8125
  /**
8113
8126
  *
8114
8127
  * @export
@@ -32594,7 +32607,7 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
32594
32607
  * @param {*} [options] Override http request option.
32595
32608
  * @throws {RequiredError}
32596
32609
  */
32597
- async getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
32610
+ async getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2001>> {
32598
32611
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatuses(environmentId, options);
32599
32612
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32600
32613
  },
@@ -32605,7 +32618,7 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
32605
32618
  * @param {*} [options] Override http request option.
32606
32619
  * @throws {RequiredError}
32607
32620
  */
32608
- async getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2001>> {
32621
+ async getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2002>> {
32609
32622
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatusesWithStages(environmentId, options);
32610
32623
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32611
32624
  },
@@ -32667,7 +32680,7 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
32667
32680
  * @param {*} [options] Override http request option.
32668
32681
  * @throws {RequiredError}
32669
32682
  */
32670
- getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse200> {
32683
+ getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse2001> {
32671
32684
  return localVarFp.getEnvironmentStatuses(environmentId, options).then((request) => request(axios, basePath));
32672
32685
  },
32673
32686
  /**
@@ -32677,7 +32690,7 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
32677
32690
  * @param {*} [options] Override http request option.
32678
32691
  * @throws {RequiredError}
32679
32692
  */
32680
- getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<InlineResponse2001> {
32693
+ getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<InlineResponse2002> {
32681
32694
  return localVarFp.getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(axios, basePath));
32682
32695
  },
32683
32696
  };
@@ -39481,6 +39494,84 @@ export class OrganizationCustomRoleApi extends BaseAPI {
39481
39494
  */
39482
39495
  export const OrganizationEventApiAxiosParamCreator = function (configuration?: Configuration) {
39483
39496
  return {
39497
+ /**
39498
+ * Get available event targets to filter events
39499
+ * @summary Get available event targets to filter events
39500
+ * @param {string} organizationId Organization ID
39501
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
39502
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
39503
+ * @param {OrganizationEventType} [eventType]
39504
+ * @param {OrganizationEventTargetType} [targetType]
39505
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
39506
+ * @param {OrganizationEventOrigin} [origin]
39507
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
39508
+ * @param {string} [environmentId] Mandatory when requesting a service
39509
+ * @param {*} [options] Override http request option.
39510
+ * @throws {RequiredError}
39511
+ */
39512
+ getOrganizationEventTargets: async (organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39513
+ // verify required parameter 'organizationId' is not null or undefined
39514
+ assertParamExists('getOrganizationEventTargets', 'organizationId', organizationId)
39515
+ const localVarPath = `/organization/{organizationId}/targets`
39516
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
39517
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
39518
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39519
+ let baseOptions;
39520
+ if (configuration) {
39521
+ baseOptions = configuration.baseOptions;
39522
+ }
39523
+
39524
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
39525
+ const localVarHeaderParameter = {} as any;
39526
+ const localVarQueryParameter = {} as any;
39527
+
39528
+ // authentication bearerAuth required
39529
+ // http bearer authentication required
39530
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
39531
+
39532
+ if (fromTimestamp !== undefined) {
39533
+ localVarQueryParameter['fromTimestamp'] = fromTimestamp;
39534
+ }
39535
+
39536
+ if (toTimestamp !== undefined) {
39537
+ localVarQueryParameter['toTimestamp'] = toTimestamp;
39538
+ }
39539
+
39540
+ if (eventType !== undefined) {
39541
+ localVarQueryParameter['eventType'] = eventType;
39542
+ }
39543
+
39544
+ if (targetType !== undefined) {
39545
+ localVarQueryParameter['targetType'] = targetType;
39546
+ }
39547
+
39548
+ if (triggeredBy !== undefined) {
39549
+ localVarQueryParameter['triggeredBy'] = triggeredBy;
39550
+ }
39551
+
39552
+ if (origin !== undefined) {
39553
+ localVarQueryParameter['origin'] = origin;
39554
+ }
39555
+
39556
+ if (projectId !== undefined) {
39557
+ localVarQueryParameter['projectId'] = projectId;
39558
+ }
39559
+
39560
+ if (environmentId !== undefined) {
39561
+ localVarQueryParameter['environmentId'] = environmentId;
39562
+ }
39563
+
39564
+
39565
+
39566
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
39567
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39568
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
39569
+
39570
+ return {
39571
+ url: toPathString(localVarUrlObj),
39572
+ options: localVarRequestOptions,
39573
+ };
39574
+ },
39484
39575
  /**
39485
39576
  * Get all events inside the organization
39486
39577
  * @summary Get all events inside the organization
@@ -39584,6 +39675,25 @@ export const OrganizationEventApiAxiosParamCreator = function (configuration?: C
39584
39675
  export const OrganizationEventApiFp = function(configuration?: Configuration) {
39585
39676
  const localVarAxiosParamCreator = OrganizationEventApiAxiosParamCreator(configuration)
39586
39677
  return {
39678
+ /**
39679
+ * Get available event targets to filter events
39680
+ * @summary Get available event targets to filter events
39681
+ * @param {string} organizationId Organization ID
39682
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
39683
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
39684
+ * @param {OrganizationEventType} [eventType]
39685
+ * @param {OrganizationEventTargetType} [targetType]
39686
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
39687
+ * @param {OrganizationEventOrigin} [origin]
39688
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
39689
+ * @param {string} [environmentId] Mandatory when requesting a service
39690
+ * @param {*} [options] Override http request option.
39691
+ * @throws {RequiredError}
39692
+ */
39693
+ async getOrganizationEventTargets(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
39694
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options);
39695
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39696
+ },
39587
39697
  /**
39588
39698
  * Get all events inside the organization
39589
39699
  * @summary Get all events inside the organization
@@ -39616,6 +39726,24 @@ export const OrganizationEventApiFp = function(configuration?: Configuration) {
39616
39726
  export const OrganizationEventApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
39617
39727
  const localVarFp = OrganizationEventApiFp(configuration)
39618
39728
  return {
39729
+ /**
39730
+ * Get available event targets to filter events
39731
+ * @summary Get available event targets to filter events
39732
+ * @param {string} organizationId Organization ID
39733
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
39734
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
39735
+ * @param {OrganizationEventType} [eventType]
39736
+ * @param {OrganizationEventTargetType} [targetType]
39737
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
39738
+ * @param {OrganizationEventOrigin} [origin]
39739
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
39740
+ * @param {string} [environmentId] Mandatory when requesting a service
39741
+ * @param {*} [options] Override http request option.
39742
+ * @throws {RequiredError}
39743
+ */
39744
+ getOrganizationEventTargets(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: any): AxiosPromise<InlineResponse200> {
39745
+ return localVarFp.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(axios, basePath));
39746
+ },
39619
39747
  /**
39620
39748
  * Get all events inside the organization
39621
39749
  * @summary Get all events inside the organization
@@ -39647,6 +39775,26 @@ export const OrganizationEventApiFactory = function (configuration?: Configurati
39647
39775
  * @extends {BaseAPI}
39648
39776
  */
39649
39777
  export class OrganizationEventApi extends BaseAPI {
39778
+ /**
39779
+ * Get available event targets to filter events
39780
+ * @summary Get available event targets to filter events
39781
+ * @param {string} organizationId Organization ID
39782
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
39783
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
39784
+ * @param {OrganizationEventType} [eventType]
39785
+ * @param {OrganizationEventTargetType} [targetType]
39786
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
39787
+ * @param {OrganizationEventOrigin} [origin]
39788
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
39789
+ * @param {string} [environmentId] Mandatory when requesting a service
39790
+ * @param {*} [options] Override http request option.
39791
+ * @throws {RequiredError}
39792
+ * @memberof OrganizationEventApi
39793
+ */
39794
+ public getOrganizationEventTargets(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: AxiosRequestConfig) {
39795
+ return OrganizationEventApiFp(this.configuration).getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
39796
+ }
39797
+
39650
39798
  /**
39651
39799
  * Get all events inside the organization
39652
39800
  * @summary Get all events inside the organization
package/dist/api.d.ts CHANGED
@@ -2257,10 +2257,10 @@ export interface ClusterCloudProviderInfo {
2257
2257
  'cloud_provider'?: CloudProviderEnum;
2258
2258
  /**
2259
2259
  *
2260
- * @type {ClusterCloudProviderInfoCredentials}
2260
+ * @type {InlineResponse200Targets}
2261
2261
  * @memberof ClusterCloudProviderInfo
2262
2262
  */
2263
- 'credentials'?: ClusterCloudProviderInfoCredentials;
2263
+ 'credentials'?: InlineResponse200Targets;
2264
2264
  /**
2265
2265
  *
2266
2266
  * @type {string}
@@ -2268,25 +2268,6 @@ export interface ClusterCloudProviderInfo {
2268
2268
  */
2269
2269
  'region'?: string;
2270
2270
  }
2271
- /**
2272
- *
2273
- * @export
2274
- * @interface ClusterCloudProviderInfoCredentials
2275
- */
2276
- export interface ClusterCloudProviderInfoCredentials {
2277
- /**
2278
- *
2279
- * @type {string}
2280
- * @memberof ClusterCloudProviderInfoCredentials
2281
- */
2282
- 'id'?: string;
2283
- /**
2284
- *
2285
- * @type {string}
2286
- * @memberof ClusterCloudProviderInfoCredentials
2287
- */
2288
- 'name'?: string;
2289
- }
2290
2271
  /**
2291
2272
  *
2292
2273
  * @export
@@ -2301,10 +2282,10 @@ export interface ClusterCloudProviderInfoRequest {
2301
2282
  'cloud_provider'?: CloudProviderEnum;
2302
2283
  /**
2303
2284
  *
2304
- * @type {ClusterCloudProviderInfoCredentials}
2285
+ * @type {InlineResponse200Targets}
2305
2286
  * @memberof ClusterCloudProviderInfoRequest
2306
2287
  */
2307
- 'credentials'?: ClusterCloudProviderInfoCredentials;
2288
+ 'credentials'?: InlineResponse200Targets;
2308
2289
  /**
2309
2290
  *
2310
2291
  * @type {string}
@@ -8010,54 +7991,86 @@ export interface InlineObject {
8010
7991
  export interface InlineResponse200 {
8011
7992
  /**
8012
7993
  *
8013
- * @type {EnvironmentStatus}
7994
+ * @type {Array<InlineResponse200Targets>}
8014
7995
  * @memberof InlineResponse200
8015
7996
  */
7997
+ 'targets'?: Array<InlineResponse200Targets>;
7998
+ }
7999
+ /**
8000
+ *
8001
+ * @export
8002
+ * @interface InlineResponse2001
8003
+ */
8004
+ export interface InlineResponse2001 {
8005
+ /**
8006
+ *
8007
+ * @type {EnvironmentStatus}
8008
+ * @memberof InlineResponse2001
8009
+ */
8016
8010
  'environment'?: EnvironmentStatus;
8017
8011
  /**
8018
8012
  *
8019
8013
  * @type {Array<Status>}
8020
- * @memberof InlineResponse200
8014
+ * @memberof InlineResponse2001
8021
8015
  */
8022
8016
  'applications'?: Array<Status>;
8023
8017
  /**
8024
8018
  *
8025
8019
  * @type {Array<Status>}
8026
- * @memberof InlineResponse200
8020
+ * @memberof InlineResponse2001
8027
8021
  */
8028
8022
  'containers'?: Array<Status>;
8029
8023
  /**
8030
8024
  *
8031
8025
  * @type {Array<Status>}
8032
- * @memberof InlineResponse200
8026
+ * @memberof InlineResponse2001
8033
8027
  */
8034
8028
  'jobs'?: Array<Status>;
8035
8029
  /**
8036
8030
  *
8037
8031
  * @type {Array<Status>}
8038
- * @memberof InlineResponse200
8032
+ * @memberof InlineResponse2001
8039
8033
  */
8040
8034
  'databases'?: Array<Status>;
8041
8035
  }
8042
8036
  /**
8043
8037
  *
8044
8038
  * @export
8045
- * @interface InlineResponse2001
8039
+ * @interface InlineResponse2002
8046
8040
  */
8047
- export interface InlineResponse2001 {
8041
+ export interface InlineResponse2002 {
8048
8042
  /**
8049
8043
  *
8050
8044
  * @type {EnvironmentStatus}
8051
- * @memberof InlineResponse2001
8045
+ * @memberof InlineResponse2002
8052
8046
  */
8053
8047
  'environment'?: EnvironmentStatus;
8054
8048
  /**
8055
8049
  *
8056
8050
  * @type {DeploymentStageWithServiceStatusesList}
8057
- * @memberof InlineResponse2001
8051
+ * @memberof InlineResponse2002
8058
8052
  */
8059
8053
  'stages'?: DeploymentStageWithServiceStatusesList;
8060
8054
  }
8055
+ /**
8056
+ *
8057
+ * @export
8058
+ * @interface InlineResponse200Targets
8059
+ */
8060
+ export interface InlineResponse200Targets {
8061
+ /**
8062
+ *
8063
+ * @type {string}
8064
+ * @memberof InlineResponse200Targets
8065
+ */
8066
+ 'id'?: string;
8067
+ /**
8068
+ *
8069
+ * @type {string}
8070
+ * @memberof InlineResponse200Targets
8071
+ */
8072
+ 'name'?: string;
8073
+ }
8061
8074
  /**
8062
8075
  *
8063
8076
  * @export
@@ -22645,7 +22658,7 @@ export declare const EnvironmentMainCallsApiFp: (configuration?: Configuration)
22645
22658
  * @param {*} [options] Override http request option.
22646
22659
  * @throws {RequiredError}
22647
22660
  */
22648
- getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
22661
+ getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2001>>;
22649
22662
  /**
22650
22663
  *
22651
22664
  * @summary Get environment statuses with stages
@@ -22653,7 +22666,7 @@ export declare const EnvironmentMainCallsApiFp: (configuration?: Configuration)
22653
22666
  * @param {*} [options] Override http request option.
22654
22667
  * @throws {RequiredError}
22655
22668
  */
22656
- getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2001>>;
22669
+ getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2002>>;
22657
22670
  };
22658
22671
  /**
22659
22672
  * EnvironmentMainCallsApi - factory interface
@@ -22700,7 +22713,7 @@ export declare const EnvironmentMainCallsApiFactory: (configuration?: Configurat
22700
22713
  * @param {*} [options] Override http request option.
22701
22714
  * @throws {RequiredError}
22702
22715
  */
22703
- getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse200>;
22716
+ getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse2001>;
22704
22717
  /**
22705
22718
  *
22706
22719
  * @summary Get environment statuses with stages
@@ -22708,7 +22721,7 @@ export declare const EnvironmentMainCallsApiFactory: (configuration?: Configurat
22708
22721
  * @param {*} [options] Override http request option.
22709
22722
  * @throws {RequiredError}
22710
22723
  */
22711
- getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<InlineResponse2001>;
22724
+ getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<InlineResponse2002>;
22712
22725
  };
22713
22726
  /**
22714
22727
  * EnvironmentMainCallsApi - object-oriented interface
@@ -22762,7 +22775,7 @@ export declare class EnvironmentMainCallsApi extends BaseAPI {
22762
22775
  * @throws {RequiredError}
22763
22776
  * @memberof EnvironmentMainCallsApi
22764
22777
  */
22765
- getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200>>;
22778
+ getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse2001>>;
22766
22779
  /**
22767
22780
  *
22768
22781
  * @summary Get environment statuses with stages
@@ -22771,7 +22784,7 @@ export declare class EnvironmentMainCallsApi extends BaseAPI {
22771
22784
  * @throws {RequiredError}
22772
22785
  * @memberof EnvironmentMainCallsApi
22773
22786
  */
22774
- getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse2001>>;
22787
+ getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse2002>>;
22775
22788
  }
22776
22789
  /**
22777
22790
  * EnvironmentSecretApi - axios parameter creator
@@ -26087,6 +26100,22 @@ export declare class OrganizationCustomRoleApi extends BaseAPI {
26087
26100
  * @export
26088
26101
  */
26089
26102
  export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Configuration) => {
26103
+ /**
26104
+ * Get available event targets to filter events
26105
+ * @summary Get available event targets to filter events
26106
+ * @param {string} organizationId Organization ID
26107
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
26108
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
26109
+ * @param {OrganizationEventType} [eventType]
26110
+ * @param {OrganizationEventTargetType} [targetType]
26111
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
26112
+ * @param {OrganizationEventOrigin} [origin]
26113
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
26114
+ * @param {string} [environmentId] Mandatory when requesting a service
26115
+ * @param {*} [options] Override http request option.
26116
+ * @throws {RequiredError}
26117
+ */
26118
+ getOrganizationEventTargets: (organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26090
26119
  /**
26091
26120
  * Get all events inside the organization
26092
26121
  * @summary Get all events inside the organization
@@ -26112,6 +26141,22 @@ export declare const OrganizationEventApiAxiosParamCreator: (configuration?: Con
26112
26141
  * @export
26113
26142
  */
26114
26143
  export declare const OrganizationEventApiFp: (configuration?: Configuration) => {
26144
+ /**
26145
+ * Get available event targets to filter events
26146
+ * @summary Get available event targets to filter events
26147
+ * @param {string} organizationId Organization ID
26148
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
26149
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
26150
+ * @param {OrganizationEventType} [eventType]
26151
+ * @param {OrganizationEventTargetType} [targetType]
26152
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
26153
+ * @param {OrganizationEventOrigin} [origin]
26154
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
26155
+ * @param {string} [environmentId] Mandatory when requesting a service
26156
+ * @param {*} [options] Override http request option.
26157
+ * @throws {RequiredError}
26158
+ */
26159
+ getOrganizationEventTargets(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
26115
26160
  /**
26116
26161
  * Get all events inside the organization
26117
26162
  * @summary Get all events inside the organization
@@ -26137,6 +26182,22 @@ export declare const OrganizationEventApiFp: (configuration?: Configuration) =>
26137
26182
  * @export
26138
26183
  */
26139
26184
  export declare const OrganizationEventApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26185
+ /**
26186
+ * Get available event targets to filter events
26187
+ * @summary Get available event targets to filter events
26188
+ * @param {string} organizationId Organization ID
26189
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
26190
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
26191
+ * @param {OrganizationEventType} [eventType]
26192
+ * @param {OrganizationEventTargetType} [targetType]
26193
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
26194
+ * @param {OrganizationEventOrigin} [origin]
26195
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
26196
+ * @param {string} [environmentId] Mandatory when requesting a service
26197
+ * @param {*} [options] Override http request option.
26198
+ * @throws {RequiredError}
26199
+ */
26200
+ getOrganizationEventTargets(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: any): AxiosPromise<InlineResponse200>;
26140
26201
  /**
26141
26202
  * Get all events inside the organization
26142
26203
  * @summary Get all events inside the organization
@@ -26164,6 +26225,23 @@ export declare const OrganizationEventApiFactory: (configuration?: Configuration
26164
26225
  * @extends {BaseAPI}
26165
26226
  */
26166
26227
  export declare class OrganizationEventApi extends BaseAPI {
26228
+ /**
26229
+ * Get available event targets to filter events
26230
+ * @summary Get available event targets to filter events
26231
+ * @param {string} organizationId Organization ID
26232
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
26233
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
26234
+ * @param {OrganizationEventType} [eventType]
26235
+ * @param {OrganizationEventTargetType} [targetType]
26236
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
26237
+ * @param {OrganizationEventOrigin} [origin]
26238
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
26239
+ * @param {string} [environmentId] Mandatory when requesting a service
26240
+ * @param {*} [options] Override http request option.
26241
+ * @throws {RequiredError}
26242
+ * @memberof OrganizationEventApi
26243
+ */
26244
+ getOrganizationEventTargets(organizationId: string, fromTimestamp?: string, toTimestamp?: string, eventType?: OrganizationEventType, targetType?: OrganizationEventTargetType, triggeredBy?: string, origin?: OrganizationEventOrigin, projectId?: string, environmentId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200>>;
26167
26245
  /**
26168
26246
  * Get all events inside the organization
26169
26247
  * @summary Get all events inside the organization
package/dist/api.js CHANGED
@@ -25042,6 +25042,70 @@ exports.OrganizationCustomRoleApi = OrganizationCustomRoleApi;
25042
25042
  */
25043
25043
  const OrganizationEventApiAxiosParamCreator = function (configuration) {
25044
25044
  return {
25045
+ /**
25046
+ * Get available event targets to filter events
25047
+ * @summary Get available event targets to filter events
25048
+ * @param {string} organizationId Organization ID
25049
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
25050
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
25051
+ * @param {OrganizationEventType} [eventType]
25052
+ * @param {OrganizationEventTargetType} [targetType]
25053
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25054
+ * @param {OrganizationEventOrigin} [origin]
25055
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
25056
+ * @param {string} [environmentId] Mandatory when requesting a service
25057
+ * @param {*} [options] Override http request option.
25058
+ * @throws {RequiredError}
25059
+ */
25060
+ getOrganizationEventTargets: (organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
25061
+ // verify required parameter 'organizationId' is not null or undefined
25062
+ (0, common_1.assertParamExists)('getOrganizationEventTargets', 'organizationId', organizationId);
25063
+ const localVarPath = `/organization/{organizationId}/targets`
25064
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
25065
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25066
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
25067
+ let baseOptions;
25068
+ if (configuration) {
25069
+ baseOptions = configuration.baseOptions;
25070
+ }
25071
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
25072
+ const localVarHeaderParameter = {};
25073
+ const localVarQueryParameter = {};
25074
+ // authentication bearerAuth required
25075
+ // http bearer authentication required
25076
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
25077
+ if (fromTimestamp !== undefined) {
25078
+ localVarQueryParameter['fromTimestamp'] = fromTimestamp;
25079
+ }
25080
+ if (toTimestamp !== undefined) {
25081
+ localVarQueryParameter['toTimestamp'] = toTimestamp;
25082
+ }
25083
+ if (eventType !== undefined) {
25084
+ localVarQueryParameter['eventType'] = eventType;
25085
+ }
25086
+ if (targetType !== undefined) {
25087
+ localVarQueryParameter['targetType'] = targetType;
25088
+ }
25089
+ if (triggeredBy !== undefined) {
25090
+ localVarQueryParameter['triggeredBy'] = triggeredBy;
25091
+ }
25092
+ if (origin !== undefined) {
25093
+ localVarQueryParameter['origin'] = origin;
25094
+ }
25095
+ if (projectId !== undefined) {
25096
+ localVarQueryParameter['projectId'] = projectId;
25097
+ }
25098
+ if (environmentId !== undefined) {
25099
+ localVarQueryParameter['environmentId'] = environmentId;
25100
+ }
25101
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
25102
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25103
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
25104
+ return {
25105
+ url: (0, common_1.toPathString)(localVarUrlObj),
25106
+ options: localVarRequestOptions,
25107
+ };
25108
+ }),
25045
25109
  /**
25046
25110
  * Get all events inside the organization
25047
25111
  * @summary Get all events inside the organization
@@ -25128,6 +25192,27 @@ exports.OrganizationEventApiAxiosParamCreator = OrganizationEventApiAxiosParamCr
25128
25192
  const OrganizationEventApiFp = function (configuration) {
25129
25193
  const localVarAxiosParamCreator = (0, exports.OrganizationEventApiAxiosParamCreator)(configuration);
25130
25194
  return {
25195
+ /**
25196
+ * Get available event targets to filter events
25197
+ * @summary Get available event targets to filter events
25198
+ * @param {string} organizationId Organization ID
25199
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
25200
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
25201
+ * @param {OrganizationEventType} [eventType]
25202
+ * @param {OrganizationEventTargetType} [targetType]
25203
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25204
+ * @param {OrganizationEventOrigin} [origin]
25205
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
25206
+ * @param {string} [environmentId] Mandatory when requesting a service
25207
+ * @param {*} [options] Override http request option.
25208
+ * @throws {RequiredError}
25209
+ */
25210
+ getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options) {
25211
+ return __awaiter(this, void 0, void 0, function* () {
25212
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options);
25213
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
25214
+ });
25215
+ },
25131
25216
  /**
25132
25217
  * Get all events inside the organization
25133
25218
  * @summary Get all events inside the organization
@@ -25162,6 +25247,24 @@ exports.OrganizationEventApiFp = OrganizationEventApiFp;
25162
25247
  const OrganizationEventApiFactory = function (configuration, basePath, axios) {
25163
25248
  const localVarFp = (0, exports.OrganizationEventApiFp)(configuration);
25164
25249
  return {
25250
+ /**
25251
+ * Get available event targets to filter events
25252
+ * @summary Get available event targets to filter events
25253
+ * @param {string} organizationId Organization ID
25254
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
25255
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
25256
+ * @param {OrganizationEventType} [eventType]
25257
+ * @param {OrganizationEventTargetType} [targetType]
25258
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25259
+ * @param {OrganizationEventOrigin} [origin]
25260
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
25261
+ * @param {string} [environmentId] Mandatory when requesting a service
25262
+ * @param {*} [options] Override http request option.
25263
+ * @throws {RequiredError}
25264
+ */
25265
+ getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options) {
25266
+ return localVarFp.getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(axios, basePath));
25267
+ },
25165
25268
  /**
25166
25269
  * Get all events inside the organization
25167
25270
  * @summary Get all events inside the organization
@@ -25193,6 +25296,25 @@ exports.OrganizationEventApiFactory = OrganizationEventApiFactory;
25193
25296
  * @extends {BaseAPI}
25194
25297
  */
25195
25298
  class OrganizationEventApi extends base_1.BaseAPI {
25299
+ /**
25300
+ * Get available event targets to filter events
25301
+ * @summary Get available event targets to filter events
25302
+ * @param {string} organizationId Organization ID
25303
+ * @param {string} [fromTimestamp] Display targets available since this timestamp. A range of date can be specified by using &#x60;from-timestamp&#x60; with &#x60;to-timestamp&#x60; The format is a timestamp with nano precision
25304
+ * @param {string} [toTimestamp] Display targets triggered before this timestamp. A range of date can be specified by using &#x60;to-timestamp&#x60; with &#x60;from-timestamp&#x60; The format is a timestamp with nano precision
25305
+ * @param {OrganizationEventType} [eventType]
25306
+ * @param {OrganizationEventTargetType} [targetType]
25307
+ * @param {string} [triggeredBy] Information about the owner of the event (user name / apitoken / automatic action)
25308
+ * @param {OrganizationEventOrigin} [origin]
25309
+ * @param {string} [projectId] Mandatory when requesting an environment or a service
25310
+ * @param {string} [environmentId] Mandatory when requesting a service
25311
+ * @param {*} [options] Override http request option.
25312
+ * @throws {RequiredError}
25313
+ * @memberof OrganizationEventApi
25314
+ */
25315
+ getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options) {
25316
+ return (0, exports.OrganizationEventApiFp)(this.configuration).getOrganizationEventTargets(organizationId, fromTimestamp, toTimestamp, eventType, targetType, triggeredBy, origin, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
25317
+ }
25196
25318
  /**
25197
25319
  * Get all events inside the organization
25198
25320
  * @summary Get all events inside the organization
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.164",
3
+ "version": "v1.1.165",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [