qovery-typescript-axios 1.1.534 → 1.1.535

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
@@ -14557,6 +14557,160 @@ export interface ProjectStatsResponseList {
14557
14557
  */
14558
14558
  'results'?: Array<ProjectStats>;
14559
14559
  }
14560
+ /**
14561
+ *
14562
+ * @export
14563
+ * @interface QueuedDeploymentRequestWithStages
14564
+ */
14565
+ export interface QueuedDeploymentRequestWithStages {
14566
+ /**
14567
+ *
14568
+ * @type {QueuedDeploymentRequestWithStagesIdentifier}
14569
+ * @memberof QueuedDeploymentRequestWithStages
14570
+ */
14571
+ 'identifier': QueuedDeploymentRequestWithStagesIdentifier;
14572
+ /**
14573
+ *
14574
+ * @type {QueuedDeploymentRequestWithStagesAuditingData}
14575
+ * @memberof QueuedDeploymentRequestWithStages
14576
+ */
14577
+ 'auditing_data': QueuedDeploymentRequestWithStagesAuditingData;
14578
+ /**
14579
+ *
14580
+ * @type {DeploymentHistoryTriggerAction}
14581
+ * @memberof QueuedDeploymentRequestWithStages
14582
+ */
14583
+ 'trigger_action': DeploymentHistoryTriggerAction;
14584
+ /**
14585
+ *
14586
+ * @type {QueuedDeploymentRequestWithStagesStages}
14587
+ * @memberof QueuedDeploymentRequestWithStages
14588
+ */
14589
+ 'stages': QueuedDeploymentRequestWithStagesStages;
14590
+ }
14591
+
14592
+
14593
+ /**
14594
+ *
14595
+ * @export
14596
+ * @interface QueuedDeploymentRequestWithStagesAuditingData
14597
+ */
14598
+ export interface QueuedDeploymentRequestWithStagesAuditingData {
14599
+ /**
14600
+ *
14601
+ * @type {string}
14602
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14603
+ */
14604
+ 'triggered_by': string;
14605
+ /**
14606
+ *
14607
+ * @type {OrganizationEventOrigin}
14608
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14609
+ */
14610
+ 'origin'?: OrganizationEventOrigin;
14611
+ }
14612
+
14613
+
14614
+ /**
14615
+ *
14616
+ * @export
14617
+ * @interface QueuedDeploymentRequestWithStagesIdentifier
14618
+ */
14619
+ export interface QueuedDeploymentRequestWithStagesIdentifier {
14620
+ /**
14621
+ *
14622
+ * @type {string}
14623
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14624
+ */
14625
+ 'deployment_request_id': string;
14626
+ /**
14627
+ *
14628
+ * @type {string}
14629
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14630
+ */
14631
+ 'environment_id': string;
14632
+ }
14633
+ /**
14634
+ *
14635
+ * @export
14636
+ * @interface QueuedDeploymentRequestWithStagesStages
14637
+ */
14638
+ export interface QueuedDeploymentRequestWithStagesStages {
14639
+ /**
14640
+ *
14641
+ * @type {string}
14642
+ * @memberof QueuedDeploymentRequestWithStagesStages
14643
+ */
14644
+ 'name': string;
14645
+ /**
14646
+ *
14647
+ * @type {StageStatusEnum}
14648
+ * @memberof QueuedDeploymentRequestWithStagesStages
14649
+ */
14650
+ 'status': StageStatusEnum;
14651
+ /**
14652
+ *
14653
+ * @type {Array<QueuedDeploymentRequestWithStagesStagesServicesInner>}
14654
+ * @memberof QueuedDeploymentRequestWithStagesStages
14655
+ */
14656
+ 'services': Array<QueuedDeploymentRequestWithStagesStagesServicesInner>;
14657
+ }
14658
+
14659
+
14660
+ /**
14661
+ *
14662
+ * @export
14663
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInner
14664
+ */
14665
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInner {
14666
+ /**
14667
+ *
14668
+ * @type {QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier}
14669
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14670
+ */
14671
+ 'identifier': QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier;
14672
+ /**
14673
+ *
14674
+ * @type {StageStatusEnum}
14675
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14676
+ */
14677
+ 'status': StageStatusEnum;
14678
+ /**
14679
+ *
14680
+ * @type {string}
14681
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14682
+ */
14683
+ 'icon_uri'?: string;
14684
+ }
14685
+
14686
+
14687
+ /**
14688
+ *
14689
+ * @export
14690
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14691
+ */
14692
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier {
14693
+ /**
14694
+ *
14695
+ * @type {string}
14696
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14697
+ */
14698
+ 'service_id': string;
14699
+ /**
14700
+ *
14701
+ * @type {ServiceTypeEnum}
14702
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14703
+ */
14704
+ 'service_type': ServiceTypeEnum;
14705
+ /**
14706
+ *
14707
+ * @type {string}
14708
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14709
+ */
14710
+ 'name': string;
14711
+ }
14712
+
14713
+
14560
14714
  /**
14561
14715
  *
14562
14716
  * @export
@@ -33620,6 +33774,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
33620
33774
 
33621
33775
 
33622
33776
 
33777
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33778
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33779
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33780
+
33781
+ return {
33782
+ url: toPathString(localVarUrlObj),
33783
+ options: localVarRequestOptions,
33784
+ };
33785
+ },
33786
+ /**
33787
+ *
33788
+ * @summary Get Deployment Queue By EnvironmentId
33789
+ * @param {string} environmentId
33790
+ * @param {*} [options] Override http request option.
33791
+ * @throws {RequiredError}
33792
+ */
33793
+ getEnvironmentDeploymentQueue: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33794
+ // verify required parameter 'environmentId' is not null or undefined
33795
+ assertParamExists('getEnvironmentDeploymentQueue', 'environmentId', environmentId)
33796
+ const localVarPath = `/environment/{environmentId}/deploymentQueue`
33797
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
33798
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33799
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33800
+ let baseOptions;
33801
+ if (configuration) {
33802
+ baseOptions = configuration.baseOptions;
33803
+ }
33804
+
33805
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33806
+ const localVarHeaderParameter = {} as any;
33807
+ const localVarQueryParameter = {} as any;
33808
+
33809
+ // authentication ApiKeyAuth required
33810
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33811
+
33812
+ // authentication bearerAuth required
33813
+ // http bearer authentication required
33814
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33815
+
33816
+
33817
+
33623
33818
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33624
33819
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33625
33820
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33712,6 +33907,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
33712
33907
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options);
33713
33908
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33714
33909
  },
33910
+ /**
33911
+ *
33912
+ * @summary Get Deployment Queue By EnvironmentId
33913
+ * @param {string} environmentId
33914
+ * @param {*} [options] Override http request option.
33915
+ * @throws {RequiredError}
33916
+ */
33917
+ async getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueuedDeploymentRequestWithStages>> {
33918
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentDeploymentQueue(environmentId, options);
33919
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33920
+ },
33715
33921
  /**
33716
33922
  *
33717
33923
  * @summary List Services By OrganizationId
@@ -33755,6 +33961,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
33755
33961
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus> {
33756
33962
  return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
33757
33963
  },
33964
+ /**
33965
+ *
33966
+ * @summary Get Deployment Queue By EnvironmentId
33967
+ * @param {string} environmentId
33968
+ * @param {*} [options] Override http request option.
33969
+ * @throws {RequiredError}
33970
+ */
33971
+ getEnvironmentDeploymentQueue(environmentId: string, options?: any): AxiosPromise<QueuedDeploymentRequestWithStages> {
33972
+ return localVarFp.getEnvironmentDeploymentQueue(environmentId, options).then((request) => request(axios, basePath));
33973
+ },
33758
33974
  /**
33759
33975
  *
33760
33976
  * @summary List Services By OrganizationId
@@ -33801,6 +34017,18 @@ export class DefaultApi extends BaseAPI {
33801
34017
  return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
33802
34018
  }
33803
34019
 
34020
+ /**
34021
+ *
34022
+ * @summary Get Deployment Queue By EnvironmentId
34023
+ * @param {string} environmentId
34024
+ * @param {*} [options] Override http request option.
34025
+ * @throws {RequiredError}
34026
+ * @memberof DefaultApi
34027
+ */
34028
+ public getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig) {
34029
+ return DefaultApiFp(this.configuration).getEnvironmentDeploymentQueue(environmentId, options).then((request) => request(this.axios, this.basePath));
34030
+ }
34031
+
33804
34032
  /**
33805
34033
  *
33806
34034
  * @summary List Services By OrganizationId
package/dist/api.d.ts CHANGED
@@ -14116,6 +14116,150 @@ export interface ProjectStatsResponseList {
14116
14116
  */
14117
14117
  'results'?: Array<ProjectStats>;
14118
14118
  }
14119
+ /**
14120
+ *
14121
+ * @export
14122
+ * @interface QueuedDeploymentRequestWithStages
14123
+ */
14124
+ export interface QueuedDeploymentRequestWithStages {
14125
+ /**
14126
+ *
14127
+ * @type {QueuedDeploymentRequestWithStagesIdentifier}
14128
+ * @memberof QueuedDeploymentRequestWithStages
14129
+ */
14130
+ 'identifier': QueuedDeploymentRequestWithStagesIdentifier;
14131
+ /**
14132
+ *
14133
+ * @type {QueuedDeploymentRequestWithStagesAuditingData}
14134
+ * @memberof QueuedDeploymentRequestWithStages
14135
+ */
14136
+ 'auditing_data': QueuedDeploymentRequestWithStagesAuditingData;
14137
+ /**
14138
+ *
14139
+ * @type {DeploymentHistoryTriggerAction}
14140
+ * @memberof QueuedDeploymentRequestWithStages
14141
+ */
14142
+ 'trigger_action': DeploymentHistoryTriggerAction;
14143
+ /**
14144
+ *
14145
+ * @type {QueuedDeploymentRequestWithStagesStages}
14146
+ * @memberof QueuedDeploymentRequestWithStages
14147
+ */
14148
+ 'stages': QueuedDeploymentRequestWithStagesStages;
14149
+ }
14150
+ /**
14151
+ *
14152
+ * @export
14153
+ * @interface QueuedDeploymentRequestWithStagesAuditingData
14154
+ */
14155
+ export interface QueuedDeploymentRequestWithStagesAuditingData {
14156
+ /**
14157
+ *
14158
+ * @type {string}
14159
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14160
+ */
14161
+ 'triggered_by': string;
14162
+ /**
14163
+ *
14164
+ * @type {OrganizationEventOrigin}
14165
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14166
+ */
14167
+ 'origin'?: OrganizationEventOrigin;
14168
+ }
14169
+ /**
14170
+ *
14171
+ * @export
14172
+ * @interface QueuedDeploymentRequestWithStagesIdentifier
14173
+ */
14174
+ export interface QueuedDeploymentRequestWithStagesIdentifier {
14175
+ /**
14176
+ *
14177
+ * @type {string}
14178
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14179
+ */
14180
+ 'deployment_request_id': string;
14181
+ /**
14182
+ *
14183
+ * @type {string}
14184
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14185
+ */
14186
+ 'environment_id': string;
14187
+ }
14188
+ /**
14189
+ *
14190
+ * @export
14191
+ * @interface QueuedDeploymentRequestWithStagesStages
14192
+ */
14193
+ export interface QueuedDeploymentRequestWithStagesStages {
14194
+ /**
14195
+ *
14196
+ * @type {string}
14197
+ * @memberof QueuedDeploymentRequestWithStagesStages
14198
+ */
14199
+ 'name': string;
14200
+ /**
14201
+ *
14202
+ * @type {StageStatusEnum}
14203
+ * @memberof QueuedDeploymentRequestWithStagesStages
14204
+ */
14205
+ 'status': StageStatusEnum;
14206
+ /**
14207
+ *
14208
+ * @type {Array<QueuedDeploymentRequestWithStagesStagesServicesInner>}
14209
+ * @memberof QueuedDeploymentRequestWithStagesStages
14210
+ */
14211
+ 'services': Array<QueuedDeploymentRequestWithStagesStagesServicesInner>;
14212
+ }
14213
+ /**
14214
+ *
14215
+ * @export
14216
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInner
14217
+ */
14218
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInner {
14219
+ /**
14220
+ *
14221
+ * @type {QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier}
14222
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14223
+ */
14224
+ 'identifier': QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier;
14225
+ /**
14226
+ *
14227
+ * @type {StageStatusEnum}
14228
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14229
+ */
14230
+ 'status': StageStatusEnum;
14231
+ /**
14232
+ *
14233
+ * @type {string}
14234
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14235
+ */
14236
+ 'icon_uri'?: string;
14237
+ }
14238
+ /**
14239
+ *
14240
+ * @export
14241
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14242
+ */
14243
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier {
14244
+ /**
14245
+ *
14246
+ * @type {string}
14247
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14248
+ */
14249
+ 'service_id': string;
14250
+ /**
14251
+ *
14252
+ * @type {ServiceTypeEnum}
14253
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14254
+ */
14255
+ 'service_type': ServiceTypeEnum;
14256
+ /**
14257
+ *
14258
+ * @type {string}
14259
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14260
+ */
14261
+ 'name': string;
14262
+ }
14119
14263
  /**
14120
14264
  *
14121
14265
  * @export
@@ -24071,6 +24215,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
24071
24215
  * @throws {RequiredError}
24072
24216
  */
24073
24217
  getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24218
+ /**
24219
+ *
24220
+ * @summary Get Deployment Queue By EnvironmentId
24221
+ * @param {string} environmentId
24222
+ * @param {*} [options] Override http request option.
24223
+ * @throws {RequiredError}
24224
+ */
24225
+ getEnvironmentDeploymentQueue: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24074
24226
  /**
24075
24227
  *
24076
24228
  * @summary List Services By OrganizationId
@@ -24103,6 +24255,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
24103
24255
  * @throws {RequiredError}
24104
24256
  */
24105
24257
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
24258
+ /**
24259
+ *
24260
+ * @summary Get Deployment Queue By EnvironmentId
24261
+ * @param {string} environmentId
24262
+ * @param {*} [options] Override http request option.
24263
+ * @throws {RequiredError}
24264
+ */
24265
+ getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueuedDeploymentRequestWithStages>>;
24106
24266
  /**
24107
24267
  *
24108
24268
  * @summary List Services By OrganizationId
@@ -24135,6 +24295,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
24135
24295
  * @throws {RequiredError}
24136
24296
  */
24137
24297
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus>;
24298
+ /**
24299
+ *
24300
+ * @summary Get Deployment Queue By EnvironmentId
24301
+ * @param {string} environmentId
24302
+ * @param {*} [options] Override http request option.
24303
+ * @throws {RequiredError}
24304
+ */
24305
+ getEnvironmentDeploymentQueue(environmentId: string, options?: any): AxiosPromise<QueuedDeploymentRequestWithStages>;
24138
24306
  /**
24139
24307
  *
24140
24308
  * @summary List Services By OrganizationId
@@ -24171,6 +24339,15 @@ export declare class DefaultApi extends BaseAPI {
24171
24339
  * @memberof DefaultApi
24172
24340
  */
24173
24341
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
24342
+ /**
24343
+ *
24344
+ * @summary Get Deployment Queue By EnvironmentId
24345
+ * @param {string} environmentId
24346
+ * @param {*} [options] Override http request option.
24347
+ * @throws {RequiredError}
24348
+ * @memberof DefaultApi
24349
+ */
24350
+ getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedDeploymentRequestWithStages, any>>;
24174
24351
  /**
24175
24352
  *
24176
24353
  * @summary List Services By OrganizationId
package/dist/api.js CHANGED
@@ -16548,6 +16548,40 @@ const DefaultApiAxiosParamCreator = function (configuration) {
16548
16548
  options: localVarRequestOptions,
16549
16549
  };
16550
16550
  }),
16551
+ /**
16552
+ *
16553
+ * @summary Get Deployment Queue By EnvironmentId
16554
+ * @param {string} environmentId
16555
+ * @param {*} [options] Override http request option.
16556
+ * @throws {RequiredError}
16557
+ */
16558
+ getEnvironmentDeploymentQueue: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16559
+ // verify required parameter 'environmentId' is not null or undefined
16560
+ (0, common_1.assertParamExists)('getEnvironmentDeploymentQueue', 'environmentId', environmentId);
16561
+ const localVarPath = `/environment/{environmentId}/deploymentQueue`
16562
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
16563
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16564
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16565
+ let baseOptions;
16566
+ if (configuration) {
16567
+ baseOptions = configuration.baseOptions;
16568
+ }
16569
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16570
+ const localVarHeaderParameter = {};
16571
+ const localVarQueryParameter = {};
16572
+ // authentication ApiKeyAuth required
16573
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
16574
+ // authentication bearerAuth required
16575
+ // http bearer authentication required
16576
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16577
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16578
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16579
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16580
+ return {
16581
+ url: (0, common_1.toPathString)(localVarUrlObj),
16582
+ options: localVarRequestOptions,
16583
+ };
16584
+ }),
16551
16585
  /**
16552
16586
  *
16553
16587
  * @summary List Services By OrganizationId
@@ -16626,6 +16660,19 @@ const DefaultApiFp = function (configuration) {
16626
16660
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16627
16661
  });
16628
16662
  },
16663
+ /**
16664
+ *
16665
+ * @summary Get Deployment Queue By EnvironmentId
16666
+ * @param {string} environmentId
16667
+ * @param {*} [options] Override http request option.
16668
+ * @throws {RequiredError}
16669
+ */
16670
+ getEnvironmentDeploymentQueue(environmentId, options) {
16671
+ return __awaiter(this, void 0, void 0, function* () {
16672
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentDeploymentQueue(environmentId, options);
16673
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16674
+ });
16675
+ },
16629
16676
  /**
16630
16677
  *
16631
16678
  * @summary List Services By OrganizationId
@@ -16671,6 +16718,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
16671
16718
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
16672
16719
  return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
16673
16720
  },
16721
+ /**
16722
+ *
16723
+ * @summary Get Deployment Queue By EnvironmentId
16724
+ * @param {string} environmentId
16725
+ * @param {*} [options] Override http request option.
16726
+ * @throws {RequiredError}
16727
+ */
16728
+ getEnvironmentDeploymentQueue(environmentId, options) {
16729
+ return localVarFp.getEnvironmentDeploymentQueue(environmentId, options).then((request) => request(axios, basePath));
16730
+ },
16674
16731
  /**
16675
16732
  *
16676
16733
  * @summary List Services By OrganizationId
@@ -16715,6 +16772,17 @@ class DefaultApi extends base_1.BaseAPI {
16715
16772
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
16716
16773
  return (0, exports.DefaultApiFp)(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
16717
16774
  }
16775
+ /**
16776
+ *
16777
+ * @summary Get Deployment Queue By EnvironmentId
16778
+ * @param {string} environmentId
16779
+ * @param {*} [options] Override http request option.
16780
+ * @throws {RequiredError}
16781
+ * @memberof DefaultApi
16782
+ */
16783
+ getEnvironmentDeploymentQueue(environmentId, options) {
16784
+ return (0, exports.DefaultApiFp)(this.configuration).getEnvironmentDeploymentQueue(environmentId, options).then((request) => request(this.axios, this.basePath));
16785
+ }
16718
16786
  /**
16719
16787
  *
16720
16788
  * @summary List Services By OrganizationId
package/dist/esm/api.d.ts CHANGED
@@ -14116,6 +14116,150 @@ export interface ProjectStatsResponseList {
14116
14116
  */
14117
14117
  'results'?: Array<ProjectStats>;
14118
14118
  }
14119
+ /**
14120
+ *
14121
+ * @export
14122
+ * @interface QueuedDeploymentRequestWithStages
14123
+ */
14124
+ export interface QueuedDeploymentRequestWithStages {
14125
+ /**
14126
+ *
14127
+ * @type {QueuedDeploymentRequestWithStagesIdentifier}
14128
+ * @memberof QueuedDeploymentRequestWithStages
14129
+ */
14130
+ 'identifier': QueuedDeploymentRequestWithStagesIdentifier;
14131
+ /**
14132
+ *
14133
+ * @type {QueuedDeploymentRequestWithStagesAuditingData}
14134
+ * @memberof QueuedDeploymentRequestWithStages
14135
+ */
14136
+ 'auditing_data': QueuedDeploymentRequestWithStagesAuditingData;
14137
+ /**
14138
+ *
14139
+ * @type {DeploymentHistoryTriggerAction}
14140
+ * @memberof QueuedDeploymentRequestWithStages
14141
+ */
14142
+ 'trigger_action': DeploymentHistoryTriggerAction;
14143
+ /**
14144
+ *
14145
+ * @type {QueuedDeploymentRequestWithStagesStages}
14146
+ * @memberof QueuedDeploymentRequestWithStages
14147
+ */
14148
+ 'stages': QueuedDeploymentRequestWithStagesStages;
14149
+ }
14150
+ /**
14151
+ *
14152
+ * @export
14153
+ * @interface QueuedDeploymentRequestWithStagesAuditingData
14154
+ */
14155
+ export interface QueuedDeploymentRequestWithStagesAuditingData {
14156
+ /**
14157
+ *
14158
+ * @type {string}
14159
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14160
+ */
14161
+ 'triggered_by': string;
14162
+ /**
14163
+ *
14164
+ * @type {OrganizationEventOrigin}
14165
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14166
+ */
14167
+ 'origin'?: OrganizationEventOrigin;
14168
+ }
14169
+ /**
14170
+ *
14171
+ * @export
14172
+ * @interface QueuedDeploymentRequestWithStagesIdentifier
14173
+ */
14174
+ export interface QueuedDeploymentRequestWithStagesIdentifier {
14175
+ /**
14176
+ *
14177
+ * @type {string}
14178
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14179
+ */
14180
+ 'deployment_request_id': string;
14181
+ /**
14182
+ *
14183
+ * @type {string}
14184
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14185
+ */
14186
+ 'environment_id': string;
14187
+ }
14188
+ /**
14189
+ *
14190
+ * @export
14191
+ * @interface QueuedDeploymentRequestWithStagesStages
14192
+ */
14193
+ export interface QueuedDeploymentRequestWithStagesStages {
14194
+ /**
14195
+ *
14196
+ * @type {string}
14197
+ * @memberof QueuedDeploymentRequestWithStagesStages
14198
+ */
14199
+ 'name': string;
14200
+ /**
14201
+ *
14202
+ * @type {StageStatusEnum}
14203
+ * @memberof QueuedDeploymentRequestWithStagesStages
14204
+ */
14205
+ 'status': StageStatusEnum;
14206
+ /**
14207
+ *
14208
+ * @type {Array<QueuedDeploymentRequestWithStagesStagesServicesInner>}
14209
+ * @memberof QueuedDeploymentRequestWithStagesStages
14210
+ */
14211
+ 'services': Array<QueuedDeploymentRequestWithStagesStagesServicesInner>;
14212
+ }
14213
+ /**
14214
+ *
14215
+ * @export
14216
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInner
14217
+ */
14218
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInner {
14219
+ /**
14220
+ *
14221
+ * @type {QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier}
14222
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14223
+ */
14224
+ 'identifier': QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier;
14225
+ /**
14226
+ *
14227
+ * @type {StageStatusEnum}
14228
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14229
+ */
14230
+ 'status': StageStatusEnum;
14231
+ /**
14232
+ *
14233
+ * @type {string}
14234
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14235
+ */
14236
+ 'icon_uri'?: string;
14237
+ }
14238
+ /**
14239
+ *
14240
+ * @export
14241
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14242
+ */
14243
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier {
14244
+ /**
14245
+ *
14246
+ * @type {string}
14247
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14248
+ */
14249
+ 'service_id': string;
14250
+ /**
14251
+ *
14252
+ * @type {ServiceTypeEnum}
14253
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14254
+ */
14255
+ 'service_type': ServiceTypeEnum;
14256
+ /**
14257
+ *
14258
+ * @type {string}
14259
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14260
+ */
14261
+ 'name': string;
14262
+ }
14119
14263
  /**
14120
14264
  *
14121
14265
  * @export
@@ -24071,6 +24215,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
24071
24215
  * @throws {RequiredError}
24072
24216
  */
24073
24217
  getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24218
+ /**
24219
+ *
24220
+ * @summary Get Deployment Queue By EnvironmentId
24221
+ * @param {string} environmentId
24222
+ * @param {*} [options] Override http request option.
24223
+ * @throws {RequiredError}
24224
+ */
24225
+ getEnvironmentDeploymentQueue: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24074
24226
  /**
24075
24227
  *
24076
24228
  * @summary List Services By OrganizationId
@@ -24103,6 +24255,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
24103
24255
  * @throws {RequiredError}
24104
24256
  */
24105
24257
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
24258
+ /**
24259
+ *
24260
+ * @summary Get Deployment Queue By EnvironmentId
24261
+ * @param {string} environmentId
24262
+ * @param {*} [options] Override http request option.
24263
+ * @throws {RequiredError}
24264
+ */
24265
+ getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueuedDeploymentRequestWithStages>>;
24106
24266
  /**
24107
24267
  *
24108
24268
  * @summary List Services By OrganizationId
@@ -24135,6 +24295,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
24135
24295
  * @throws {RequiredError}
24136
24296
  */
24137
24297
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus>;
24298
+ /**
24299
+ *
24300
+ * @summary Get Deployment Queue By EnvironmentId
24301
+ * @param {string} environmentId
24302
+ * @param {*} [options] Override http request option.
24303
+ * @throws {RequiredError}
24304
+ */
24305
+ getEnvironmentDeploymentQueue(environmentId: string, options?: any): AxiosPromise<QueuedDeploymentRequestWithStages>;
24138
24306
  /**
24139
24307
  *
24140
24308
  * @summary List Services By OrganizationId
@@ -24171,6 +24339,15 @@ export declare class DefaultApi extends BaseAPI {
24171
24339
  * @memberof DefaultApi
24172
24340
  */
24173
24341
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
24342
+ /**
24343
+ *
24344
+ * @summary Get Deployment Queue By EnvironmentId
24345
+ * @param {string} environmentId
24346
+ * @param {*} [options] Override http request option.
24347
+ * @throws {RequiredError}
24348
+ * @memberof DefaultApi
24349
+ */
24350
+ getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedDeploymentRequestWithStages, any>>;
24174
24351
  /**
24175
24352
  *
24176
24353
  * @summary List Services By OrganizationId
package/dist/esm/api.js CHANGED
@@ -16413,6 +16413,40 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
16413
16413
  options: localVarRequestOptions,
16414
16414
  };
16415
16415
  }),
16416
+ /**
16417
+ *
16418
+ * @summary Get Deployment Queue By EnvironmentId
16419
+ * @param {string} environmentId
16420
+ * @param {*} [options] Override http request option.
16421
+ * @throws {RequiredError}
16422
+ */
16423
+ getEnvironmentDeploymentQueue: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16424
+ // verify required parameter 'environmentId' is not null or undefined
16425
+ assertParamExists('getEnvironmentDeploymentQueue', 'environmentId', environmentId);
16426
+ const localVarPath = `/environment/{environmentId}/deploymentQueue`
16427
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
16428
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16429
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16430
+ let baseOptions;
16431
+ if (configuration) {
16432
+ baseOptions = configuration.baseOptions;
16433
+ }
16434
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16435
+ const localVarHeaderParameter = {};
16436
+ const localVarQueryParameter = {};
16437
+ // authentication ApiKeyAuth required
16438
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16439
+ // authentication bearerAuth required
16440
+ // http bearer authentication required
16441
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
16442
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16443
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16444
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16445
+ return {
16446
+ url: toPathString(localVarUrlObj),
16447
+ options: localVarRequestOptions,
16448
+ };
16449
+ }),
16416
16450
  /**
16417
16451
  *
16418
16452
  * @summary List Services By OrganizationId
@@ -16490,6 +16524,19 @@ export const DefaultApiFp = function (configuration) {
16490
16524
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16491
16525
  });
16492
16526
  },
16527
+ /**
16528
+ *
16529
+ * @summary Get Deployment Queue By EnvironmentId
16530
+ * @param {string} environmentId
16531
+ * @param {*} [options] Override http request option.
16532
+ * @throws {RequiredError}
16533
+ */
16534
+ getEnvironmentDeploymentQueue(environmentId, options) {
16535
+ return __awaiter(this, void 0, void 0, function* () {
16536
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentDeploymentQueue(environmentId, options);
16537
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16538
+ });
16539
+ },
16493
16540
  /**
16494
16541
  *
16495
16542
  * @summary List Services By OrganizationId
@@ -16534,6 +16581,16 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
16534
16581
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
16535
16582
  return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
16536
16583
  },
16584
+ /**
16585
+ *
16586
+ * @summary Get Deployment Queue By EnvironmentId
16587
+ * @param {string} environmentId
16588
+ * @param {*} [options] Override http request option.
16589
+ * @throws {RequiredError}
16590
+ */
16591
+ getEnvironmentDeploymentQueue(environmentId, options) {
16592
+ return localVarFp.getEnvironmentDeploymentQueue(environmentId, options).then((request) => request(axios, basePath));
16593
+ },
16537
16594
  /**
16538
16595
  *
16539
16596
  * @summary List Services By OrganizationId
@@ -16577,6 +16634,17 @@ export class DefaultApi extends BaseAPI {
16577
16634
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
16578
16635
  return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
16579
16636
  }
16637
+ /**
16638
+ *
16639
+ * @summary Get Deployment Queue By EnvironmentId
16640
+ * @param {string} environmentId
16641
+ * @param {*} [options] Override http request option.
16642
+ * @throws {RequiredError}
16643
+ * @memberof DefaultApi
16644
+ */
16645
+ getEnvironmentDeploymentQueue(environmentId, options) {
16646
+ return DefaultApiFp(this.configuration).getEnvironmentDeploymentQueue(environmentId, options).then((request) => request(this.axios, this.basePath));
16647
+ }
16580
16648
  /**
16581
16649
  *
16582
16650
  * @summary List Services By OrganizationId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.534",
3
+ "version": "v1.1.535",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {