qovery-typescript-axios 1.1.102 → 1.1.104

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
@@ -29467,6 +29467,82 @@ export const DeploymentStageMainCallsApiAxiosParamCreator = function (configurat
29467
29467
  options: localVarRequestOptions,
29468
29468
  };
29469
29469
  },
29470
+ /**
29471
+ *
29472
+ * @summary Get Deployment Stage
29473
+ * @param {string} deploymentStageId Deployment Stage ID
29474
+ * @param {*} [options] Override http request option.
29475
+ * @throws {RequiredError}
29476
+ */
29477
+ getDeploymentStage: async (deploymentStageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29478
+ // verify required parameter 'deploymentStageId' is not null or undefined
29479
+ assertParamExists('getDeploymentStage', 'deploymentStageId', deploymentStageId)
29480
+ const localVarPath = `/deploymentStage/{deploymentStageId}`
29481
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
29482
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29483
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29484
+ let baseOptions;
29485
+ if (configuration) {
29486
+ baseOptions = configuration.baseOptions;
29487
+ }
29488
+
29489
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29490
+ const localVarHeaderParameter = {} as any;
29491
+ const localVarQueryParameter = {} as any;
29492
+
29493
+ // authentication bearerAuth required
29494
+ // http bearer authentication required
29495
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29496
+
29497
+
29498
+
29499
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29500
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29501
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29502
+
29503
+ return {
29504
+ url: toPathString(localVarUrlObj),
29505
+ options: localVarRequestOptions,
29506
+ };
29507
+ },
29508
+ /**
29509
+ *
29510
+ * @summary Get Service Deployment Stage
29511
+ * @param {string} serviceId Service ID of an application/job/container/database
29512
+ * @param {*} [options] Override http request option.
29513
+ * @throws {RequiredError}
29514
+ */
29515
+ getServiceDeploymentStage: async (serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29516
+ // verify required parameter 'serviceId' is not null or undefined
29517
+ assertParamExists('getServiceDeploymentStage', 'serviceId', serviceId)
29518
+ const localVarPath = `/service/{serviceId}/deploymentStage`
29519
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
29520
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29521
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29522
+ let baseOptions;
29523
+ if (configuration) {
29524
+ baseOptions = configuration.baseOptions;
29525
+ }
29526
+
29527
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29528
+ const localVarHeaderParameter = {} as any;
29529
+ const localVarQueryParameter = {} as any;
29530
+
29531
+ // authentication bearerAuth required
29532
+ // http bearer authentication required
29533
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29534
+
29535
+
29536
+
29537
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29538
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29539
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29540
+
29541
+ return {
29542
+ url: toPathString(localVarUrlObj),
29543
+ options: localVarRequestOptions,
29544
+ };
29545
+ },
29470
29546
  /**
29471
29547
  *
29472
29548
  * @summary List environment deployment stage
@@ -29604,6 +29680,28 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
29604
29680
  const localVarAxiosArgs = await localVarAxiosParamCreator.editDeploymentStage(deploymentStageId, deploymentStageRequest, options);
29605
29681
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29606
29682
  },
29683
+ /**
29684
+ *
29685
+ * @summary Get Deployment Stage
29686
+ * @param {string} deploymentStageId Deployment Stage ID
29687
+ * @param {*} [options] Override http request option.
29688
+ * @throws {RequiredError}
29689
+ */
29690
+ async getDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>> {
29691
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentStage(deploymentStageId, options);
29692
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29693
+ },
29694
+ /**
29695
+ *
29696
+ * @summary Get Service Deployment Stage
29697
+ * @param {string} serviceId Service ID of an application/job/container/database
29698
+ * @param {*} [options] Override http request option.
29699
+ * @throws {RequiredError}
29700
+ */
29701
+ async getServiceDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>> {
29702
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceDeploymentStage(serviceId, options);
29703
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29704
+ },
29607
29705
  /**
29608
29706
  *
29609
29707
  * @summary List environment deployment stage
@@ -29680,6 +29778,26 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
29680
29778
  editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: any): AxiosPromise<DeploymentStageResponse> {
29681
29779
  return localVarFp.editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(axios, basePath));
29682
29780
  },
29781
+ /**
29782
+ *
29783
+ * @summary Get Deployment Stage
29784
+ * @param {string} deploymentStageId Deployment Stage ID
29785
+ * @param {*} [options] Override http request option.
29786
+ * @throws {RequiredError}
29787
+ */
29788
+ getDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponse> {
29789
+ return localVarFp.getDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
29790
+ },
29791
+ /**
29792
+ *
29793
+ * @summary Get Service Deployment Stage
29794
+ * @param {string} serviceId Service ID of an application/job/container/database
29795
+ * @param {*} [options] Override http request option.
29796
+ * @throws {RequiredError}
29797
+ */
29798
+ getServiceDeploymentStage(serviceId: string, options?: any): AxiosPromise<DeploymentStageResponse> {
29799
+ return localVarFp.getServiceDeploymentStage(serviceId, options).then((request) => request(axios, basePath));
29800
+ },
29683
29801
  /**
29684
29802
  *
29685
29803
  * @summary List environment deployment stage
@@ -29762,6 +29880,30 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
29762
29880
  return DeploymentStageMainCallsApiFp(this.configuration).editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
29763
29881
  }
29764
29882
 
29883
+ /**
29884
+ *
29885
+ * @summary Get Deployment Stage
29886
+ * @param {string} deploymentStageId Deployment Stage ID
29887
+ * @param {*} [options] Override http request option.
29888
+ * @throws {RequiredError}
29889
+ * @memberof DeploymentStageMainCallsApi
29890
+ */
29891
+ public getDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig) {
29892
+ return DeploymentStageMainCallsApiFp(this.configuration).getDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
29893
+ }
29894
+
29895
+ /**
29896
+ *
29897
+ * @summary Get Service Deployment Stage
29898
+ * @param {string} serviceId Service ID of an application/job/container/database
29899
+ * @param {*} [options] Override http request option.
29900
+ * @throws {RequiredError}
29901
+ * @memberof DeploymentStageMainCallsApi
29902
+ */
29903
+ public getServiceDeploymentStage(serviceId: string, options?: AxiosRequestConfig) {
29904
+ return DeploymentStageMainCallsApiFp(this.configuration).getServiceDeploymentStage(serviceId, options).then((request) => request(this.axios, this.basePath));
29905
+ }
29906
+
29765
29907
  /**
29766
29908
  *
29767
29909
  * @summary List environment deployment stage
package/dist/api.d.ts CHANGED
@@ -20772,6 +20772,22 @@ export declare const DeploymentStageMainCallsApiAxiosParamCreator: (configuratio
20772
20772
  * @throws {RequiredError}
20773
20773
  */
20774
20774
  editDeploymentStage: (deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20775
+ /**
20776
+ *
20777
+ * @summary Get Deployment Stage
20778
+ * @param {string} deploymentStageId Deployment Stage ID
20779
+ * @param {*} [options] Override http request option.
20780
+ * @throws {RequiredError}
20781
+ */
20782
+ getDeploymentStage: (deploymentStageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20783
+ /**
20784
+ *
20785
+ * @summary Get Service Deployment Stage
20786
+ * @param {string} serviceId Service ID of an application/job/container/database
20787
+ * @param {*} [options] Override http request option.
20788
+ * @throws {RequiredError}
20789
+ */
20790
+ getServiceDeploymentStage: (serviceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20775
20791
  /**
20776
20792
  *
20777
20793
  * @summary List environment deployment stage
@@ -20830,6 +20846,22 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
20830
20846
  * @throws {RequiredError}
20831
20847
  */
20832
20848
  editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>>;
20849
+ /**
20850
+ *
20851
+ * @summary Get Deployment Stage
20852
+ * @param {string} deploymentStageId Deployment Stage ID
20853
+ * @param {*} [options] Override http request option.
20854
+ * @throws {RequiredError}
20855
+ */
20856
+ getDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>>;
20857
+ /**
20858
+ *
20859
+ * @summary Get Service Deployment Stage
20860
+ * @param {string} serviceId Service ID of an application/job/container/database
20861
+ * @param {*} [options] Override http request option.
20862
+ * @throws {RequiredError}
20863
+ */
20864
+ getServiceDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponse>>;
20833
20865
  /**
20834
20866
  *
20835
20867
  * @summary List environment deployment stage
@@ -20888,6 +20920,22 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
20888
20920
  * @throws {RequiredError}
20889
20921
  */
20890
20922
  editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: any): AxiosPromise<DeploymentStageResponse>;
20923
+ /**
20924
+ *
20925
+ * @summary Get Deployment Stage
20926
+ * @param {string} deploymentStageId Deployment Stage ID
20927
+ * @param {*} [options] Override http request option.
20928
+ * @throws {RequiredError}
20929
+ */
20930
+ getDeploymentStage(deploymentStageId: string, options?: any): AxiosPromise<DeploymentStageResponse>;
20931
+ /**
20932
+ *
20933
+ * @summary Get Service Deployment Stage
20934
+ * @param {string} serviceId Service ID of an application/job/container/database
20935
+ * @param {*} [options] Override http request option.
20936
+ * @throws {RequiredError}
20937
+ */
20938
+ getServiceDeploymentStage(serviceId: string, options?: any): AxiosPromise<DeploymentStageResponse>;
20891
20939
  /**
20892
20940
  *
20893
20941
  * @summary List environment deployment stage
@@ -20952,6 +21000,24 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
20952
21000
  * @memberof DeploymentStageMainCallsApi
20953
21001
  */
20954
21002
  editDeploymentStage(deploymentStageId: string, deploymentStageRequest?: DeploymentStageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponse>>;
21003
+ /**
21004
+ *
21005
+ * @summary Get Deployment Stage
21006
+ * @param {string} deploymentStageId Deployment Stage ID
21007
+ * @param {*} [options] Override http request option.
21008
+ * @throws {RequiredError}
21009
+ * @memberof DeploymentStageMainCallsApi
21010
+ */
21011
+ getDeploymentStage(deploymentStageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponse>>;
21012
+ /**
21013
+ *
21014
+ * @summary Get Service Deployment Stage
21015
+ * @param {string} serviceId Service ID of an application/job/container/database
21016
+ * @param {*} [options] Override http request option.
21017
+ * @throws {RequiredError}
21018
+ * @memberof DeploymentStageMainCallsApi
21019
+ */
21020
+ getServiceDeploymentStage(serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponse>>;
20955
21021
  /**
20956
21022
  *
20957
21023
  * @summary List environment deployment stage
package/dist/api.js CHANGED
@@ -16190,6 +16190,70 @@ const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
16190
16190
  options: localVarRequestOptions,
16191
16191
  };
16192
16192
  }),
16193
+ /**
16194
+ *
16195
+ * @summary Get Deployment Stage
16196
+ * @param {string} deploymentStageId Deployment Stage ID
16197
+ * @param {*} [options] Override http request option.
16198
+ * @throws {RequiredError}
16199
+ */
16200
+ getDeploymentStage: (deploymentStageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16201
+ // verify required parameter 'deploymentStageId' is not null or undefined
16202
+ (0, common_1.assertParamExists)('getDeploymentStage', 'deploymentStageId', deploymentStageId);
16203
+ const localVarPath = `/deploymentStage/{deploymentStageId}`
16204
+ .replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
16205
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16206
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16207
+ let baseOptions;
16208
+ if (configuration) {
16209
+ baseOptions = configuration.baseOptions;
16210
+ }
16211
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16212
+ const localVarHeaderParameter = {};
16213
+ const localVarQueryParameter = {};
16214
+ // authentication bearerAuth required
16215
+ // http bearer authentication required
16216
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16217
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16218
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16219
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16220
+ return {
16221
+ url: (0, common_1.toPathString)(localVarUrlObj),
16222
+ options: localVarRequestOptions,
16223
+ };
16224
+ }),
16225
+ /**
16226
+ *
16227
+ * @summary Get Service Deployment Stage
16228
+ * @param {string} serviceId Service ID of an application/job/container/database
16229
+ * @param {*} [options] Override http request option.
16230
+ * @throws {RequiredError}
16231
+ */
16232
+ getServiceDeploymentStage: (serviceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16233
+ // verify required parameter 'serviceId' is not null or undefined
16234
+ (0, common_1.assertParamExists)('getServiceDeploymentStage', 'serviceId', serviceId);
16235
+ const localVarPath = `/service/{serviceId}/deploymentStage`
16236
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
16237
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16238
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16239
+ let baseOptions;
16240
+ if (configuration) {
16241
+ baseOptions = configuration.baseOptions;
16242
+ }
16243
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16244
+ const localVarHeaderParameter = {};
16245
+ const localVarQueryParameter = {};
16246
+ // authentication bearerAuth required
16247
+ // http bearer authentication required
16248
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16249
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16250
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16251
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16252
+ return {
16253
+ url: (0, common_1.toPathString)(localVarUrlObj),
16254
+ options: localVarRequestOptions,
16255
+ };
16256
+ }),
16193
16257
  /**
16194
16258
  *
16195
16259
  * @summary List environment deployment stage
@@ -16323,6 +16387,32 @@ const DeploymentStageMainCallsApiFp = function (configuration) {
16323
16387
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16324
16388
  });
16325
16389
  },
16390
+ /**
16391
+ *
16392
+ * @summary Get Deployment Stage
16393
+ * @param {string} deploymentStageId Deployment Stage ID
16394
+ * @param {*} [options] Override http request option.
16395
+ * @throws {RequiredError}
16396
+ */
16397
+ getDeploymentStage(deploymentStageId, options) {
16398
+ return __awaiter(this, void 0, void 0, function* () {
16399
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDeploymentStage(deploymentStageId, options);
16400
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16401
+ });
16402
+ },
16403
+ /**
16404
+ *
16405
+ * @summary Get Service Deployment Stage
16406
+ * @param {string} serviceId Service ID of an application/job/container/database
16407
+ * @param {*} [options] Override http request option.
16408
+ * @throws {RequiredError}
16409
+ */
16410
+ getServiceDeploymentStage(serviceId, options) {
16411
+ return __awaiter(this, void 0, void 0, function* () {
16412
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getServiceDeploymentStage(serviceId, options);
16413
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16414
+ });
16415
+ },
16326
16416
  /**
16327
16417
  *
16328
16418
  * @summary List environment deployment stage
@@ -16403,6 +16493,26 @@ const DeploymentStageMainCallsApiFactory = function (configuration, basePath, ax
16403
16493
  editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
16404
16494
  return localVarFp.editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(axios, basePath));
16405
16495
  },
16496
+ /**
16497
+ *
16498
+ * @summary Get Deployment Stage
16499
+ * @param {string} deploymentStageId Deployment Stage ID
16500
+ * @param {*} [options] Override http request option.
16501
+ * @throws {RequiredError}
16502
+ */
16503
+ getDeploymentStage(deploymentStageId, options) {
16504
+ return localVarFp.getDeploymentStage(deploymentStageId, options).then((request) => request(axios, basePath));
16505
+ },
16506
+ /**
16507
+ *
16508
+ * @summary Get Service Deployment Stage
16509
+ * @param {string} serviceId Service ID of an application/job/container/database
16510
+ * @param {*} [options] Override http request option.
16511
+ * @throws {RequiredError}
16512
+ */
16513
+ getServiceDeploymentStage(serviceId, options) {
16514
+ return localVarFp.getServiceDeploymentStage(serviceId, options).then((request) => request(axios, basePath));
16515
+ },
16406
16516
  /**
16407
16517
  *
16408
16518
  * @summary List environment deployment stage
@@ -16481,6 +16591,28 @@ class DeploymentStageMainCallsApi extends base_1.BaseAPI {
16481
16591
  editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
16482
16592
  return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
16483
16593
  }
16594
+ /**
16595
+ *
16596
+ * @summary Get Deployment Stage
16597
+ * @param {string} deploymentStageId Deployment Stage ID
16598
+ * @param {*} [options] Override http request option.
16599
+ * @throws {RequiredError}
16600
+ * @memberof DeploymentStageMainCallsApi
16601
+ */
16602
+ getDeploymentStage(deploymentStageId, options) {
16603
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).getDeploymentStage(deploymentStageId, options).then((request) => request(this.axios, this.basePath));
16604
+ }
16605
+ /**
16606
+ *
16607
+ * @summary Get Service Deployment Stage
16608
+ * @param {string} serviceId Service ID of an application/job/container/database
16609
+ * @param {*} [options] Override http request option.
16610
+ * @throws {RequiredError}
16611
+ * @memberof DeploymentStageMainCallsApi
16612
+ */
16613
+ getServiceDeploymentStage(serviceId, options) {
16614
+ return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).getServiceDeploymentStage(serviceId, options).then((request) => request(this.axios, this.basePath));
16615
+ }
16484
16616
  /**
16485
16617
  *
16486
16618
  * @summary List environment deployment stage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.102",
3
+ "version": "v1.1.104",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [