qovery-typescript-axios 1.1.534 → 1.1.536

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
@@ -6527,6 +6527,18 @@ export interface DeploymentHistoryService {
6527
6527
  * @memberof DeploymentHistoryService
6528
6528
  */
6529
6529
  'status_details'?: StatusDetails;
6530
+ /**
6531
+ *
6532
+ * @type {string}
6533
+ * @memberof DeploymentHistoryService
6534
+ */
6535
+ 'icon_uri': string;
6536
+ /**
6537
+ *
6538
+ * @type {string}
6539
+ * @memberof DeploymentHistoryService
6540
+ */
6541
+ 'total_duration'?: string;
6530
6542
  }
6531
6543
 
6532
6544
 
@@ -6732,12 +6744,6 @@ export interface DeploymentHistoryServiceIdentifier {
6732
6744
  * @memberof DeploymentHistoryServiceIdentifier
6733
6745
  */
6734
6746
  'execution_id'?: string;
6735
- /**
6736
- *
6737
- * @type {string}
6738
- * @memberof DeploymentHistoryServiceIdentifier
6739
- */
6740
- 'icon_uri': string;
6741
6747
  }
6742
6748
 
6743
6749
 
@@ -14557,6 +14563,160 @@ export interface ProjectStatsResponseList {
14557
14563
  */
14558
14564
  'results'?: Array<ProjectStats>;
14559
14565
  }
14566
+ /**
14567
+ *
14568
+ * @export
14569
+ * @interface QueuedDeploymentRequestWithStages
14570
+ */
14571
+ export interface QueuedDeploymentRequestWithStages {
14572
+ /**
14573
+ *
14574
+ * @type {QueuedDeploymentRequestWithStagesIdentifier}
14575
+ * @memberof QueuedDeploymentRequestWithStages
14576
+ */
14577
+ 'identifier': QueuedDeploymentRequestWithStagesIdentifier;
14578
+ /**
14579
+ *
14580
+ * @type {QueuedDeploymentRequestWithStagesAuditingData}
14581
+ * @memberof QueuedDeploymentRequestWithStages
14582
+ */
14583
+ 'auditing_data': QueuedDeploymentRequestWithStagesAuditingData;
14584
+ /**
14585
+ *
14586
+ * @type {DeploymentHistoryTriggerAction}
14587
+ * @memberof QueuedDeploymentRequestWithStages
14588
+ */
14589
+ 'trigger_action': DeploymentHistoryTriggerAction;
14590
+ /**
14591
+ *
14592
+ * @type {QueuedDeploymentRequestWithStagesStages}
14593
+ * @memberof QueuedDeploymentRequestWithStages
14594
+ */
14595
+ 'stages': QueuedDeploymentRequestWithStagesStages;
14596
+ }
14597
+
14598
+
14599
+ /**
14600
+ *
14601
+ * @export
14602
+ * @interface QueuedDeploymentRequestWithStagesAuditingData
14603
+ */
14604
+ export interface QueuedDeploymentRequestWithStagesAuditingData {
14605
+ /**
14606
+ *
14607
+ * @type {string}
14608
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14609
+ */
14610
+ 'triggered_by': string;
14611
+ /**
14612
+ *
14613
+ * @type {OrganizationEventOrigin}
14614
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14615
+ */
14616
+ 'origin'?: OrganizationEventOrigin;
14617
+ }
14618
+
14619
+
14620
+ /**
14621
+ *
14622
+ * @export
14623
+ * @interface QueuedDeploymentRequestWithStagesIdentifier
14624
+ */
14625
+ export interface QueuedDeploymentRequestWithStagesIdentifier {
14626
+ /**
14627
+ *
14628
+ * @type {string}
14629
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14630
+ */
14631
+ 'deployment_request_id': string;
14632
+ /**
14633
+ *
14634
+ * @type {string}
14635
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14636
+ */
14637
+ 'environment_id': string;
14638
+ }
14639
+ /**
14640
+ *
14641
+ * @export
14642
+ * @interface QueuedDeploymentRequestWithStagesStages
14643
+ */
14644
+ export interface QueuedDeploymentRequestWithStagesStages {
14645
+ /**
14646
+ *
14647
+ * @type {string}
14648
+ * @memberof QueuedDeploymentRequestWithStagesStages
14649
+ */
14650
+ 'name': string;
14651
+ /**
14652
+ *
14653
+ * @type {StageStatusEnum}
14654
+ * @memberof QueuedDeploymentRequestWithStagesStages
14655
+ */
14656
+ 'status': StageStatusEnum;
14657
+ /**
14658
+ *
14659
+ * @type {Array<QueuedDeploymentRequestWithStagesStagesServicesInner>}
14660
+ * @memberof QueuedDeploymentRequestWithStagesStages
14661
+ */
14662
+ 'services': Array<QueuedDeploymentRequestWithStagesStagesServicesInner>;
14663
+ }
14664
+
14665
+
14666
+ /**
14667
+ *
14668
+ * @export
14669
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInner
14670
+ */
14671
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInner {
14672
+ /**
14673
+ *
14674
+ * @type {QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier}
14675
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14676
+ */
14677
+ 'identifier': QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier;
14678
+ /**
14679
+ *
14680
+ * @type {StageStatusEnum}
14681
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14682
+ */
14683
+ 'status': StageStatusEnum;
14684
+ /**
14685
+ *
14686
+ * @type {string}
14687
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14688
+ */
14689
+ 'icon_uri'?: string;
14690
+ }
14691
+
14692
+
14693
+ /**
14694
+ *
14695
+ * @export
14696
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14697
+ */
14698
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier {
14699
+ /**
14700
+ *
14701
+ * @type {string}
14702
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14703
+ */
14704
+ 'service_id': string;
14705
+ /**
14706
+ *
14707
+ * @type {ServiceTypeEnum}
14708
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14709
+ */
14710
+ 'service_type': ServiceTypeEnum;
14711
+ /**
14712
+ *
14713
+ * @type {string}
14714
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14715
+ */
14716
+ 'name': string;
14717
+ }
14718
+
14719
+
14560
14720
  /**
14561
14721
  *
14562
14722
  * @export
@@ -33620,6 +33780,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
33620
33780
 
33621
33781
 
33622
33782
 
33783
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33784
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33785
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33786
+
33787
+ return {
33788
+ url: toPathString(localVarUrlObj),
33789
+ options: localVarRequestOptions,
33790
+ };
33791
+ },
33792
+ /**
33793
+ *
33794
+ * @summary Get Deployment Queue By EnvironmentId
33795
+ * @param {string} environmentId
33796
+ * @param {*} [options] Override http request option.
33797
+ * @throws {RequiredError}
33798
+ */
33799
+ getEnvironmentDeploymentQueue: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33800
+ // verify required parameter 'environmentId' is not null or undefined
33801
+ assertParamExists('getEnvironmentDeploymentQueue', 'environmentId', environmentId)
33802
+ const localVarPath = `/environment/{environmentId}/deploymentQueue`
33803
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
33804
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33805
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33806
+ let baseOptions;
33807
+ if (configuration) {
33808
+ baseOptions = configuration.baseOptions;
33809
+ }
33810
+
33811
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33812
+ const localVarHeaderParameter = {} as any;
33813
+ const localVarQueryParameter = {} as any;
33814
+
33815
+ // authentication ApiKeyAuth required
33816
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33817
+
33818
+ // authentication bearerAuth required
33819
+ // http bearer authentication required
33820
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33821
+
33822
+
33823
+
33623
33824
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33624
33825
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33625
33826
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33712,6 +33913,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
33712
33913
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options);
33713
33914
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33714
33915
  },
33916
+ /**
33917
+ *
33918
+ * @summary Get Deployment Queue By EnvironmentId
33919
+ * @param {string} environmentId
33920
+ * @param {*} [options] Override http request option.
33921
+ * @throws {RequiredError}
33922
+ */
33923
+ async getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueuedDeploymentRequestWithStages>> {
33924
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentDeploymentQueue(environmentId, options);
33925
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33926
+ },
33715
33927
  /**
33716
33928
  *
33717
33929
  * @summary List Services By OrganizationId
@@ -33755,6 +33967,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
33755
33967
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus> {
33756
33968
  return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
33757
33969
  },
33970
+ /**
33971
+ *
33972
+ * @summary Get Deployment Queue By EnvironmentId
33973
+ * @param {string} environmentId
33974
+ * @param {*} [options] Override http request option.
33975
+ * @throws {RequiredError}
33976
+ */
33977
+ getEnvironmentDeploymentQueue(environmentId: string, options?: any): AxiosPromise<QueuedDeploymentRequestWithStages> {
33978
+ return localVarFp.getEnvironmentDeploymentQueue(environmentId, options).then((request) => request(axios, basePath));
33979
+ },
33758
33980
  /**
33759
33981
  *
33760
33982
  * @summary List Services By OrganizationId
@@ -33801,6 +34023,18 @@ export class DefaultApi extends BaseAPI {
33801
34023
  return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
33802
34024
  }
33803
34025
 
34026
+ /**
34027
+ *
34028
+ * @summary Get Deployment Queue By EnvironmentId
34029
+ * @param {string} environmentId
34030
+ * @param {*} [options] Override http request option.
34031
+ * @throws {RequiredError}
34032
+ * @memberof DefaultApi
34033
+ */
34034
+ public getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig) {
34035
+ return DefaultApiFp(this.configuration).getEnvironmentDeploymentQueue(environmentId, options).then((request) => request(this.axios, this.basePath));
34036
+ }
34037
+
33804
34038
  /**
33805
34039
  *
33806
34040
  * @summary List Services By OrganizationId
package/dist/api.d.ts CHANGED
@@ -6345,6 +6345,18 @@ export interface DeploymentHistoryService {
6345
6345
  * @memberof DeploymentHistoryService
6346
6346
  */
6347
6347
  'status_details'?: StatusDetails;
6348
+ /**
6349
+ *
6350
+ * @type {string}
6351
+ * @memberof DeploymentHistoryService
6352
+ */
6353
+ 'icon_uri': string;
6354
+ /**
6355
+ *
6356
+ * @type {string}
6357
+ * @memberof DeploymentHistoryService
6358
+ */
6359
+ 'total_duration'?: string;
6348
6360
  }
6349
6361
  /**
6350
6362
  * @type DeploymentHistoryServiceDetails
@@ -6542,12 +6554,6 @@ export interface DeploymentHistoryServiceIdentifier {
6542
6554
  * @memberof DeploymentHistoryServiceIdentifier
6543
6555
  */
6544
6556
  'execution_id'?: string;
6545
- /**
6546
- *
6547
- * @type {string}
6548
- * @memberof DeploymentHistoryServiceIdentifier
6549
- */
6550
- 'icon_uri': string;
6551
6557
  }
6552
6558
  /**
6553
6559
  *
@@ -14116,6 +14122,150 @@ export interface ProjectStatsResponseList {
14116
14122
  */
14117
14123
  'results'?: Array<ProjectStats>;
14118
14124
  }
14125
+ /**
14126
+ *
14127
+ * @export
14128
+ * @interface QueuedDeploymentRequestWithStages
14129
+ */
14130
+ export interface QueuedDeploymentRequestWithStages {
14131
+ /**
14132
+ *
14133
+ * @type {QueuedDeploymentRequestWithStagesIdentifier}
14134
+ * @memberof QueuedDeploymentRequestWithStages
14135
+ */
14136
+ 'identifier': QueuedDeploymentRequestWithStagesIdentifier;
14137
+ /**
14138
+ *
14139
+ * @type {QueuedDeploymentRequestWithStagesAuditingData}
14140
+ * @memberof QueuedDeploymentRequestWithStages
14141
+ */
14142
+ 'auditing_data': QueuedDeploymentRequestWithStagesAuditingData;
14143
+ /**
14144
+ *
14145
+ * @type {DeploymentHistoryTriggerAction}
14146
+ * @memberof QueuedDeploymentRequestWithStages
14147
+ */
14148
+ 'trigger_action': DeploymentHistoryTriggerAction;
14149
+ /**
14150
+ *
14151
+ * @type {QueuedDeploymentRequestWithStagesStages}
14152
+ * @memberof QueuedDeploymentRequestWithStages
14153
+ */
14154
+ 'stages': QueuedDeploymentRequestWithStagesStages;
14155
+ }
14156
+ /**
14157
+ *
14158
+ * @export
14159
+ * @interface QueuedDeploymentRequestWithStagesAuditingData
14160
+ */
14161
+ export interface QueuedDeploymentRequestWithStagesAuditingData {
14162
+ /**
14163
+ *
14164
+ * @type {string}
14165
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14166
+ */
14167
+ 'triggered_by': string;
14168
+ /**
14169
+ *
14170
+ * @type {OrganizationEventOrigin}
14171
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14172
+ */
14173
+ 'origin'?: OrganizationEventOrigin;
14174
+ }
14175
+ /**
14176
+ *
14177
+ * @export
14178
+ * @interface QueuedDeploymentRequestWithStagesIdentifier
14179
+ */
14180
+ export interface QueuedDeploymentRequestWithStagesIdentifier {
14181
+ /**
14182
+ *
14183
+ * @type {string}
14184
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14185
+ */
14186
+ 'deployment_request_id': string;
14187
+ /**
14188
+ *
14189
+ * @type {string}
14190
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14191
+ */
14192
+ 'environment_id': string;
14193
+ }
14194
+ /**
14195
+ *
14196
+ * @export
14197
+ * @interface QueuedDeploymentRequestWithStagesStages
14198
+ */
14199
+ export interface QueuedDeploymentRequestWithStagesStages {
14200
+ /**
14201
+ *
14202
+ * @type {string}
14203
+ * @memberof QueuedDeploymentRequestWithStagesStages
14204
+ */
14205
+ 'name': string;
14206
+ /**
14207
+ *
14208
+ * @type {StageStatusEnum}
14209
+ * @memberof QueuedDeploymentRequestWithStagesStages
14210
+ */
14211
+ 'status': StageStatusEnum;
14212
+ /**
14213
+ *
14214
+ * @type {Array<QueuedDeploymentRequestWithStagesStagesServicesInner>}
14215
+ * @memberof QueuedDeploymentRequestWithStagesStages
14216
+ */
14217
+ 'services': Array<QueuedDeploymentRequestWithStagesStagesServicesInner>;
14218
+ }
14219
+ /**
14220
+ *
14221
+ * @export
14222
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInner
14223
+ */
14224
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInner {
14225
+ /**
14226
+ *
14227
+ * @type {QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier}
14228
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14229
+ */
14230
+ 'identifier': QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier;
14231
+ /**
14232
+ *
14233
+ * @type {StageStatusEnum}
14234
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14235
+ */
14236
+ 'status': StageStatusEnum;
14237
+ /**
14238
+ *
14239
+ * @type {string}
14240
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14241
+ */
14242
+ 'icon_uri'?: string;
14243
+ }
14244
+ /**
14245
+ *
14246
+ * @export
14247
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14248
+ */
14249
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier {
14250
+ /**
14251
+ *
14252
+ * @type {string}
14253
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14254
+ */
14255
+ 'service_id': string;
14256
+ /**
14257
+ *
14258
+ * @type {ServiceTypeEnum}
14259
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14260
+ */
14261
+ 'service_type': ServiceTypeEnum;
14262
+ /**
14263
+ *
14264
+ * @type {string}
14265
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14266
+ */
14267
+ 'name': string;
14268
+ }
14119
14269
  /**
14120
14270
  *
14121
14271
  * @export
@@ -24071,6 +24221,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
24071
24221
  * @throws {RequiredError}
24072
24222
  */
24073
24223
  getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24224
+ /**
24225
+ *
24226
+ * @summary Get Deployment Queue By EnvironmentId
24227
+ * @param {string} environmentId
24228
+ * @param {*} [options] Override http request option.
24229
+ * @throws {RequiredError}
24230
+ */
24231
+ getEnvironmentDeploymentQueue: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24074
24232
  /**
24075
24233
  *
24076
24234
  * @summary List Services By OrganizationId
@@ -24103,6 +24261,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
24103
24261
  * @throws {RequiredError}
24104
24262
  */
24105
24263
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
24264
+ /**
24265
+ *
24266
+ * @summary Get Deployment Queue By EnvironmentId
24267
+ * @param {string} environmentId
24268
+ * @param {*} [options] Override http request option.
24269
+ * @throws {RequiredError}
24270
+ */
24271
+ getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueuedDeploymentRequestWithStages>>;
24106
24272
  /**
24107
24273
  *
24108
24274
  * @summary List Services By OrganizationId
@@ -24135,6 +24301,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
24135
24301
  * @throws {RequiredError}
24136
24302
  */
24137
24303
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus>;
24304
+ /**
24305
+ *
24306
+ * @summary Get Deployment Queue By EnvironmentId
24307
+ * @param {string} environmentId
24308
+ * @param {*} [options] Override http request option.
24309
+ * @throws {RequiredError}
24310
+ */
24311
+ getEnvironmentDeploymentQueue(environmentId: string, options?: any): AxiosPromise<QueuedDeploymentRequestWithStages>;
24138
24312
  /**
24139
24313
  *
24140
24314
  * @summary List Services By OrganizationId
@@ -24171,6 +24345,15 @@ export declare class DefaultApi extends BaseAPI {
24171
24345
  * @memberof DefaultApi
24172
24346
  */
24173
24347
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
24348
+ /**
24349
+ *
24350
+ * @summary Get Deployment Queue By EnvironmentId
24351
+ * @param {string} environmentId
24352
+ * @param {*} [options] Override http request option.
24353
+ * @throws {RequiredError}
24354
+ * @memberof DefaultApi
24355
+ */
24356
+ getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedDeploymentRequestWithStages, any>>;
24174
24357
  /**
24175
24358
  *
24176
24359
  * @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
@@ -6345,6 +6345,18 @@ export interface DeploymentHistoryService {
6345
6345
  * @memberof DeploymentHistoryService
6346
6346
  */
6347
6347
  'status_details'?: StatusDetails;
6348
+ /**
6349
+ *
6350
+ * @type {string}
6351
+ * @memberof DeploymentHistoryService
6352
+ */
6353
+ 'icon_uri': string;
6354
+ /**
6355
+ *
6356
+ * @type {string}
6357
+ * @memberof DeploymentHistoryService
6358
+ */
6359
+ 'total_duration'?: string;
6348
6360
  }
6349
6361
  /**
6350
6362
  * @type DeploymentHistoryServiceDetails
@@ -6542,12 +6554,6 @@ export interface DeploymentHistoryServiceIdentifier {
6542
6554
  * @memberof DeploymentHistoryServiceIdentifier
6543
6555
  */
6544
6556
  'execution_id'?: string;
6545
- /**
6546
- *
6547
- * @type {string}
6548
- * @memberof DeploymentHistoryServiceIdentifier
6549
- */
6550
- 'icon_uri': string;
6551
6557
  }
6552
6558
  /**
6553
6559
  *
@@ -14116,6 +14122,150 @@ export interface ProjectStatsResponseList {
14116
14122
  */
14117
14123
  'results'?: Array<ProjectStats>;
14118
14124
  }
14125
+ /**
14126
+ *
14127
+ * @export
14128
+ * @interface QueuedDeploymentRequestWithStages
14129
+ */
14130
+ export interface QueuedDeploymentRequestWithStages {
14131
+ /**
14132
+ *
14133
+ * @type {QueuedDeploymentRequestWithStagesIdentifier}
14134
+ * @memberof QueuedDeploymentRequestWithStages
14135
+ */
14136
+ 'identifier': QueuedDeploymentRequestWithStagesIdentifier;
14137
+ /**
14138
+ *
14139
+ * @type {QueuedDeploymentRequestWithStagesAuditingData}
14140
+ * @memberof QueuedDeploymentRequestWithStages
14141
+ */
14142
+ 'auditing_data': QueuedDeploymentRequestWithStagesAuditingData;
14143
+ /**
14144
+ *
14145
+ * @type {DeploymentHistoryTriggerAction}
14146
+ * @memberof QueuedDeploymentRequestWithStages
14147
+ */
14148
+ 'trigger_action': DeploymentHistoryTriggerAction;
14149
+ /**
14150
+ *
14151
+ * @type {QueuedDeploymentRequestWithStagesStages}
14152
+ * @memberof QueuedDeploymentRequestWithStages
14153
+ */
14154
+ 'stages': QueuedDeploymentRequestWithStagesStages;
14155
+ }
14156
+ /**
14157
+ *
14158
+ * @export
14159
+ * @interface QueuedDeploymentRequestWithStagesAuditingData
14160
+ */
14161
+ export interface QueuedDeploymentRequestWithStagesAuditingData {
14162
+ /**
14163
+ *
14164
+ * @type {string}
14165
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14166
+ */
14167
+ 'triggered_by': string;
14168
+ /**
14169
+ *
14170
+ * @type {OrganizationEventOrigin}
14171
+ * @memberof QueuedDeploymentRequestWithStagesAuditingData
14172
+ */
14173
+ 'origin'?: OrganizationEventOrigin;
14174
+ }
14175
+ /**
14176
+ *
14177
+ * @export
14178
+ * @interface QueuedDeploymentRequestWithStagesIdentifier
14179
+ */
14180
+ export interface QueuedDeploymentRequestWithStagesIdentifier {
14181
+ /**
14182
+ *
14183
+ * @type {string}
14184
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14185
+ */
14186
+ 'deployment_request_id': string;
14187
+ /**
14188
+ *
14189
+ * @type {string}
14190
+ * @memberof QueuedDeploymentRequestWithStagesIdentifier
14191
+ */
14192
+ 'environment_id': string;
14193
+ }
14194
+ /**
14195
+ *
14196
+ * @export
14197
+ * @interface QueuedDeploymentRequestWithStagesStages
14198
+ */
14199
+ export interface QueuedDeploymentRequestWithStagesStages {
14200
+ /**
14201
+ *
14202
+ * @type {string}
14203
+ * @memberof QueuedDeploymentRequestWithStagesStages
14204
+ */
14205
+ 'name': string;
14206
+ /**
14207
+ *
14208
+ * @type {StageStatusEnum}
14209
+ * @memberof QueuedDeploymentRequestWithStagesStages
14210
+ */
14211
+ 'status': StageStatusEnum;
14212
+ /**
14213
+ *
14214
+ * @type {Array<QueuedDeploymentRequestWithStagesStagesServicesInner>}
14215
+ * @memberof QueuedDeploymentRequestWithStagesStages
14216
+ */
14217
+ 'services': Array<QueuedDeploymentRequestWithStagesStagesServicesInner>;
14218
+ }
14219
+ /**
14220
+ *
14221
+ * @export
14222
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInner
14223
+ */
14224
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInner {
14225
+ /**
14226
+ *
14227
+ * @type {QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier}
14228
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14229
+ */
14230
+ 'identifier': QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier;
14231
+ /**
14232
+ *
14233
+ * @type {StageStatusEnum}
14234
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14235
+ */
14236
+ 'status': StageStatusEnum;
14237
+ /**
14238
+ *
14239
+ * @type {string}
14240
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInner
14241
+ */
14242
+ 'icon_uri'?: string;
14243
+ }
14244
+ /**
14245
+ *
14246
+ * @export
14247
+ * @interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14248
+ */
14249
+ export interface QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier {
14250
+ /**
14251
+ *
14252
+ * @type {string}
14253
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14254
+ */
14255
+ 'service_id': string;
14256
+ /**
14257
+ *
14258
+ * @type {ServiceTypeEnum}
14259
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14260
+ */
14261
+ 'service_type': ServiceTypeEnum;
14262
+ /**
14263
+ *
14264
+ * @type {string}
14265
+ * @memberof QueuedDeploymentRequestWithStagesStagesServicesInnerIdentifier
14266
+ */
14267
+ 'name': string;
14268
+ }
14119
14269
  /**
14120
14270
  *
14121
14271
  * @export
@@ -24071,6 +24221,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
24071
24221
  * @throws {RequiredError}
24072
24222
  */
24073
24223
  getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24224
+ /**
24225
+ *
24226
+ * @summary Get Deployment Queue By EnvironmentId
24227
+ * @param {string} environmentId
24228
+ * @param {*} [options] Override http request option.
24229
+ * @throws {RequiredError}
24230
+ */
24231
+ getEnvironmentDeploymentQueue: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24074
24232
  /**
24075
24233
  *
24076
24234
  * @summary List Services By OrganizationId
@@ -24103,6 +24261,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
24103
24261
  * @throws {RequiredError}
24104
24262
  */
24105
24263
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
24264
+ /**
24265
+ *
24266
+ * @summary Get Deployment Queue By EnvironmentId
24267
+ * @param {string} environmentId
24268
+ * @param {*} [options] Override http request option.
24269
+ * @throws {RequiredError}
24270
+ */
24271
+ getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueuedDeploymentRequestWithStages>>;
24106
24272
  /**
24107
24273
  *
24108
24274
  * @summary List Services By OrganizationId
@@ -24135,6 +24301,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
24135
24301
  * @throws {RequiredError}
24136
24302
  */
24137
24303
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus>;
24304
+ /**
24305
+ *
24306
+ * @summary Get Deployment Queue By EnvironmentId
24307
+ * @param {string} environmentId
24308
+ * @param {*} [options] Override http request option.
24309
+ * @throws {RequiredError}
24310
+ */
24311
+ getEnvironmentDeploymentQueue(environmentId: string, options?: any): AxiosPromise<QueuedDeploymentRequestWithStages>;
24138
24312
  /**
24139
24313
  *
24140
24314
  * @summary List Services By OrganizationId
@@ -24171,6 +24345,15 @@ export declare class DefaultApi extends BaseAPI {
24171
24345
  * @memberof DefaultApi
24172
24346
  */
24173
24347
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
24348
+ /**
24349
+ *
24350
+ * @summary Get Deployment Queue By EnvironmentId
24351
+ * @param {string} environmentId
24352
+ * @param {*} [options] Override http request option.
24353
+ * @throws {RequiredError}
24354
+ * @memberof DefaultApi
24355
+ */
24356
+ getEnvironmentDeploymentQueue(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedDeploymentRequestWithStages, any>>;
24174
24357
  /**
24175
24358
  *
24176
24359
  * @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.536",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {