qovery-typescript-axios 1.1.533 → 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
@@ -6732,6 +6732,12 @@ export interface DeploymentHistoryServiceIdentifier {
6732
6732
  * @memberof DeploymentHistoryServiceIdentifier
6733
6733
  */
6734
6734
  'execution_id'?: string;
6735
+ /**
6736
+ *
6737
+ * @type {string}
6738
+ * @memberof DeploymentHistoryServiceIdentifier
6739
+ */
6740
+ 'icon_uri': string;
6735
6741
  }
6736
6742
 
6737
6743
 
@@ -11998,6 +12004,19 @@ export interface ListServicesByEnvironmentId200Response {
11998
12004
  */
11999
12005
  export type ListServicesByEnvironmentId200ResponseResultsInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
12000
12006
 
12007
+ /**
12008
+ *
12009
+ * @export
12010
+ * @interface ListServicesByOrganizationId200Response
12011
+ */
12012
+ export interface ListServicesByOrganizationId200Response {
12013
+ /**
12014
+ *
12015
+ * @type {Array<ServiceLightResponse>}
12016
+ * @memberof ListServicesByOrganizationId200Response
12017
+ */
12018
+ 'results'?: Array<ServiceLightResponse>;
12019
+ }
12001
12020
  /**
12002
12021
  *
12003
12022
  * @export
@@ -14538,6 +14557,160 @@ export interface ProjectStatsResponseList {
14538
14557
  */
14539
14558
  'results'?: Array<ProjectStats>;
14540
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
+
14541
14714
  /**
14542
14715
  *
14543
14716
  * @export
@@ -15220,6 +15393,69 @@ export interface ServiceLabelRequest {
15220
15393
  */
15221
15394
  'id': string;
15222
15395
  }
15396
+ /**
15397
+ *
15398
+ * @export
15399
+ * @interface ServiceLightResponse
15400
+ */
15401
+ export interface ServiceLightResponse {
15402
+ /**
15403
+ *
15404
+ * @type {string}
15405
+ * @memberof ServiceLightResponse
15406
+ */
15407
+ 'id': string;
15408
+ /**
15409
+ *
15410
+ * @type {string}
15411
+ * @memberof ServiceLightResponse
15412
+ */
15413
+ 'name': string;
15414
+ /**
15415
+ *
15416
+ * @type {string}
15417
+ * @memberof ServiceLightResponse
15418
+ */
15419
+ 'description': string;
15420
+ /**
15421
+ *
15422
+ * @type {string}
15423
+ * @memberof ServiceLightResponse
15424
+ */
15425
+ 'icon_uri': string;
15426
+ /**
15427
+ *
15428
+ * @type {ServiceTypeEnum}
15429
+ * @memberof ServiceLightResponse
15430
+ */
15431
+ 'service_type': ServiceTypeEnum;
15432
+ /**
15433
+ *
15434
+ * @type {string}
15435
+ * @memberof ServiceLightResponse
15436
+ */
15437
+ 'project_id': string;
15438
+ /**
15439
+ *
15440
+ * @type {string}
15441
+ * @memberof ServiceLightResponse
15442
+ */
15443
+ 'project_name': string;
15444
+ /**
15445
+ *
15446
+ * @type {string}
15447
+ * @memberof ServiceLightResponse
15448
+ */
15449
+ 'environment_id': string;
15450
+ /**
15451
+ *
15452
+ * @type {string}
15453
+ * @memberof ServiceLightResponse
15454
+ */
15455
+ 'environment_name': string;
15456
+ }
15457
+
15458
+
15223
15459
  /**
15224
15460
  *
15225
15461
  * @export
@@ -33538,6 +33774,98 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
33538
33774
 
33539
33775
 
33540
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
+
33818
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33819
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33820
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33821
+
33822
+ return {
33823
+ url: toPathString(localVarUrlObj),
33824
+ options: localVarRequestOptions,
33825
+ };
33826
+ },
33827
+ /**
33828
+ *
33829
+ * @summary List Services By OrganizationId
33830
+ * @param {string} organizationId
33831
+ * @param {string | null} [projectId]
33832
+ * @param {string | null} [environmentId]
33833
+ * @param {*} [options] Override http request option.
33834
+ * @throws {RequiredError}
33835
+ */
33836
+ listServicesByOrganizationId: async (organizationId: string, projectId?: string | null, environmentId?: string | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33837
+ // verify required parameter 'organizationId' is not null or undefined
33838
+ assertParamExists('listServicesByOrganizationId', 'organizationId', organizationId)
33839
+ const localVarPath = `/organization/{organizationId}/services`
33840
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33841
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33842
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33843
+ let baseOptions;
33844
+ if (configuration) {
33845
+ baseOptions = configuration.baseOptions;
33846
+ }
33847
+
33848
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33849
+ const localVarHeaderParameter = {} as any;
33850
+ const localVarQueryParameter = {} as any;
33851
+
33852
+ // authentication ApiKeyAuth required
33853
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33854
+
33855
+ // authentication bearerAuth required
33856
+ // http bearer authentication required
33857
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33858
+
33859
+ if (projectId !== undefined) {
33860
+ localVarQueryParameter['project_id'] = projectId;
33861
+ }
33862
+
33863
+ if (environmentId !== undefined) {
33864
+ localVarQueryParameter['environment_id'] = environmentId;
33865
+ }
33866
+
33867
+
33868
+
33541
33869
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33542
33870
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33543
33871
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33579,6 +33907,30 @@ export const DefaultApiFp = function(configuration?: Configuration) {
33579
33907
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options);
33580
33908
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33581
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
+ },
33921
+ /**
33922
+ *
33923
+ * @summary List Services By OrganizationId
33924
+ * @param {string} organizationId
33925
+ * @param {string | null} [projectId]
33926
+ * @param {string | null} [environmentId]
33927
+ * @param {*} [options] Override http request option.
33928
+ * @throws {RequiredError}
33929
+ */
33930
+ async listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServicesByOrganizationId200Response>> {
33931
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listServicesByOrganizationId(organizationId, projectId, environmentId, options);
33932
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33933
+ },
33582
33934
  }
33583
33935
  };
33584
33936
 
@@ -33609,6 +33961,28 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
33609
33961
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus> {
33610
33962
  return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
33611
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
+ },
33974
+ /**
33975
+ *
33976
+ * @summary List Services By OrganizationId
33977
+ * @param {string} organizationId
33978
+ * @param {string | null} [projectId]
33979
+ * @param {string | null} [environmentId]
33980
+ * @param {*} [options] Override http request option.
33981
+ * @throws {RequiredError}
33982
+ */
33983
+ listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: any): AxiosPromise<ListServicesByOrganizationId200Response> {
33984
+ return localVarFp.listServicesByOrganizationId(organizationId, projectId, environmentId, options).then((request) => request(axios, basePath));
33985
+ },
33612
33986
  };
33613
33987
  };
33614
33988
 
@@ -33642,6 +34016,32 @@ export class DefaultApi extends BaseAPI {
33642
34016
  public getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig) {
33643
34017
  return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
33644
34018
  }
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
+
34032
+ /**
34033
+ *
34034
+ * @summary List Services By OrganizationId
34035
+ * @param {string} organizationId
34036
+ * @param {string | null} [projectId]
34037
+ * @param {string | null} [environmentId]
34038
+ * @param {*} [options] Override http request option.
34039
+ * @throws {RequiredError}
34040
+ * @memberof DefaultApi
34041
+ */
34042
+ public listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig) {
34043
+ return DefaultApiFp(this.configuration).listServicesByOrganizationId(organizationId, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
34044
+ }
33645
34045
  }
33646
34046
 
33647
34047