qovery-typescript-axios 1.1.339 → 1.1.341
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 +12 -460
- package/dist/api.d.ts +12 -206
- package/dist/api.js +0 -422
- package/dist/esm/api.d.ts +12 -206
- package/dist/esm/api.js +0 -422
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4213,6 +4213,12 @@ export interface CronJobResponseAllOfScheduleCronjob {
|
|
|
4213
4213
|
* @memberof CronJobResponseAllOfScheduleCronjob
|
|
4214
4214
|
*/
|
|
4215
4215
|
'entrypoint'?: string;
|
|
4216
|
+
/**
|
|
4217
|
+
* tz identifier at which the schedule at will be executed
|
|
4218
|
+
* @type {string}
|
|
4219
|
+
* @memberof CronJobResponseAllOfScheduleCronjob
|
|
4220
|
+
*/
|
|
4221
|
+
'timezone': string;
|
|
4216
4222
|
/**
|
|
4217
4223
|
* Can only be set if the event is CRON. Represent the cron format for the job schedule without seconds. For example: `* * * * *` represent the cron to launch the job every minute. See https://crontab.guru/ to WISIWIG interface. Timezone is UT
|
|
4218
4224
|
* @type {string}
|
|
@@ -8850,6 +8856,12 @@ export interface JobRequestAllOfScheduleCronjob {
|
|
|
8850
8856
|
* @memberof JobRequestAllOfScheduleCronjob
|
|
8851
8857
|
*/
|
|
8852
8858
|
'entrypoint'?: string;
|
|
8859
|
+
/**
|
|
8860
|
+
* Specify a timezone identifier to run the schedule at. By default Etc/UTC
|
|
8861
|
+
* @type {string}
|
|
8862
|
+
* @memberof JobRequestAllOfScheduleCronjob
|
|
8863
|
+
*/
|
|
8864
|
+
'timezone'?: string;
|
|
8853
8865
|
/**
|
|
8854
8866
|
* Can only be set if the event is CRON. Represent the cron format for the job schedule without seconds. For example: `* * * * *` represent the cron to launch the job every minute. See https://crontab.guru/ to WISIWIG interface. Timezone is UTC
|
|
8855
8867
|
* @type {string}
|
|
@@ -13558,47 +13570,6 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration?:
|
|
|
13558
13570
|
|
|
13559
13571
|
|
|
13560
13572
|
|
|
13561
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13562
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13563
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13564
|
-
|
|
13565
|
-
return {
|
|
13566
|
-
url: toPathString(localVarUrlObj),
|
|
13567
|
-
options: localVarRequestOptions,
|
|
13568
|
-
};
|
|
13569
|
-
},
|
|
13570
|
-
/**
|
|
13571
|
-
*
|
|
13572
|
-
* @summary Redeploy application
|
|
13573
|
-
* @param {string} applicationId Application ID
|
|
13574
|
-
* @param {*} [options] Override http request option.
|
|
13575
|
-
* @throws {RequiredError}
|
|
13576
|
-
*/
|
|
13577
|
-
redeployApplication: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13578
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
13579
|
-
assertParamExists('redeployApplication', 'applicationId', applicationId)
|
|
13580
|
-
const localVarPath = `/application/{applicationId}/redeploy`
|
|
13581
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
13582
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13583
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13584
|
-
let baseOptions;
|
|
13585
|
-
if (configuration) {
|
|
13586
|
-
baseOptions = configuration.baseOptions;
|
|
13587
|
-
}
|
|
13588
|
-
|
|
13589
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
13590
|
-
const localVarHeaderParameter = {} as any;
|
|
13591
|
-
const localVarQueryParameter = {} as any;
|
|
13592
|
-
|
|
13593
|
-
// authentication ApiKeyAuth required
|
|
13594
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13595
|
-
|
|
13596
|
-
// authentication bearerAuth required
|
|
13597
|
-
// http bearer authentication required
|
|
13598
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13599
|
-
|
|
13600
|
-
|
|
13601
|
-
|
|
13602
13573
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13603
13574
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13604
13575
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13723,17 +13694,6 @@ export const ApplicationActionsApiFp = function(configuration?: Configuration) {
|
|
|
13723
13694
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootApplication(applicationId, options);
|
|
13724
13695
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13725
13696
|
},
|
|
13726
|
-
/**
|
|
13727
|
-
*
|
|
13728
|
-
* @summary Redeploy application
|
|
13729
|
-
* @param {string} applicationId Application ID
|
|
13730
|
-
* @param {*} [options] Override http request option.
|
|
13731
|
-
* @throws {RequiredError}
|
|
13732
|
-
*/
|
|
13733
|
-
async redeployApplication(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
13734
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployApplication(applicationId, options);
|
|
13735
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13736
|
-
},
|
|
13737
13697
|
/**
|
|
13738
13698
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
13739
13699
|
* @summary Deprecated - Restart application
|
|
@@ -13787,16 +13747,6 @@ export const ApplicationActionsApiFactory = function (configuration?: Configurat
|
|
|
13787
13747
|
rebootApplication(applicationId: string, options?: any): AxiosPromise<Status> {
|
|
13788
13748
|
return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
13789
13749
|
},
|
|
13790
|
-
/**
|
|
13791
|
-
*
|
|
13792
|
-
* @summary Redeploy application
|
|
13793
|
-
* @param {string} applicationId Application ID
|
|
13794
|
-
* @param {*} [options] Override http request option.
|
|
13795
|
-
* @throws {RequiredError}
|
|
13796
|
-
*/
|
|
13797
|
-
redeployApplication(applicationId: string, options?: any): AxiosPromise<Status> {
|
|
13798
|
-
return localVarFp.redeployApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
13799
|
-
},
|
|
13800
13750
|
/**
|
|
13801
13751
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
13802
13752
|
* @summary Deprecated - Restart application
|
|
@@ -13852,18 +13802,6 @@ export class ApplicationActionsApi extends BaseAPI {
|
|
|
13852
13802
|
return ApplicationActionsApiFp(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
13853
13803
|
}
|
|
13854
13804
|
|
|
13855
|
-
/**
|
|
13856
|
-
*
|
|
13857
|
-
* @summary Redeploy application
|
|
13858
|
-
* @param {string} applicationId Application ID
|
|
13859
|
-
* @param {*} [options] Override http request option.
|
|
13860
|
-
* @throws {RequiredError}
|
|
13861
|
-
* @memberof ApplicationActionsApi
|
|
13862
|
-
*/
|
|
13863
|
-
public redeployApplication(applicationId: string, options?: AxiosRequestConfig) {
|
|
13864
|
-
return ApplicationActionsApiFp(this.configuration).redeployApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
13865
|
-
}
|
|
13866
|
-
|
|
13867
13805
|
/**
|
|
13868
13806
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
13869
13807
|
* @summary Deprecated - Restart application
|
|
@@ -22634,47 +22572,6 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
22634
22572
|
|
|
22635
22573
|
|
|
22636
22574
|
|
|
22637
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22638
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22639
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22640
|
-
|
|
22641
|
-
return {
|
|
22642
|
-
url: toPathString(localVarUrlObj),
|
|
22643
|
-
options: localVarRequestOptions,
|
|
22644
|
-
};
|
|
22645
|
-
},
|
|
22646
|
-
/**
|
|
22647
|
-
*
|
|
22648
|
-
* @summary Redeploy container
|
|
22649
|
-
* @param {string} containerId Container ID
|
|
22650
|
-
* @param {*} [options] Override http request option.
|
|
22651
|
-
* @throws {RequiredError}
|
|
22652
|
-
*/
|
|
22653
|
-
redeployContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22654
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
22655
|
-
assertParamExists('redeployContainer', 'containerId', containerId)
|
|
22656
|
-
const localVarPath = `/container/{containerId}/redeploy`
|
|
22657
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
22658
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22659
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22660
|
-
let baseOptions;
|
|
22661
|
-
if (configuration) {
|
|
22662
|
-
baseOptions = configuration.baseOptions;
|
|
22663
|
-
}
|
|
22664
|
-
|
|
22665
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22666
|
-
const localVarHeaderParameter = {} as any;
|
|
22667
|
-
const localVarQueryParameter = {} as any;
|
|
22668
|
-
|
|
22669
|
-
// authentication ApiKeyAuth required
|
|
22670
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
22671
|
-
|
|
22672
|
-
// authentication bearerAuth required
|
|
22673
|
-
// http bearer authentication required
|
|
22674
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22675
|
-
|
|
22676
|
-
|
|
22677
|
-
|
|
22678
22575
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22679
22576
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22680
22577
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -22799,17 +22696,6 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
|
22799
22696
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootContainer(containerId, options);
|
|
22800
22697
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22801
22698
|
},
|
|
22802
|
-
/**
|
|
22803
|
-
*
|
|
22804
|
-
* @summary Redeploy container
|
|
22805
|
-
* @param {string} containerId Container ID
|
|
22806
|
-
* @param {*} [options] Override http request option.
|
|
22807
|
-
* @throws {RequiredError}
|
|
22808
|
-
*/
|
|
22809
|
-
async redeployContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
22810
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployContainer(containerId, options);
|
|
22811
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22812
|
-
},
|
|
22813
22699
|
/**
|
|
22814
22700
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22815
22701
|
* @summary Deprecated - Restart container
|
|
@@ -22863,16 +22749,6 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
|
|
|
22863
22749
|
rebootContainer(containerId: string, options?: any): AxiosPromise<Status> {
|
|
22864
22750
|
return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
|
|
22865
22751
|
},
|
|
22866
|
-
/**
|
|
22867
|
-
*
|
|
22868
|
-
* @summary Redeploy container
|
|
22869
|
-
* @param {string} containerId Container ID
|
|
22870
|
-
* @param {*} [options] Override http request option.
|
|
22871
|
-
* @throws {RequiredError}
|
|
22872
|
-
*/
|
|
22873
|
-
redeployContainer(containerId: string, options?: any): AxiosPromise<Status> {
|
|
22874
|
-
return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
|
|
22875
|
-
},
|
|
22876
22752
|
/**
|
|
22877
22753
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22878
22754
|
* @summary Deprecated - Restart container
|
|
@@ -22928,18 +22804,6 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
22928
22804
|
return ContainerActionsApiFp(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22929
22805
|
}
|
|
22930
22806
|
|
|
22931
|
-
/**
|
|
22932
|
-
*
|
|
22933
|
-
* @summary Redeploy container
|
|
22934
|
-
* @param {string} containerId Container ID
|
|
22935
|
-
* @param {*} [options] Override http request option.
|
|
22936
|
-
* @throws {RequiredError}
|
|
22937
|
-
* @memberof ContainerActionsApi
|
|
22938
|
-
*/
|
|
22939
|
-
public redeployContainer(containerId: string, options?: AxiosRequestConfig) {
|
|
22940
|
-
return ContainerActionsApiFp(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22941
|
-
}
|
|
22942
|
-
|
|
22943
22807
|
/**
|
|
22944
22808
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22945
22809
|
* @summary Deprecated - Restart container
|
|
@@ -27413,47 +27277,6 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
27413
27277
|
|
|
27414
27278
|
|
|
27415
27279
|
|
|
27416
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27417
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27418
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27419
|
-
|
|
27420
|
-
return {
|
|
27421
|
-
url: toPathString(localVarUrlObj),
|
|
27422
|
-
options: localVarRequestOptions,
|
|
27423
|
-
};
|
|
27424
|
-
},
|
|
27425
|
-
/**
|
|
27426
|
-
*
|
|
27427
|
-
* @summary Redeploy database
|
|
27428
|
-
* @param {string} databaseId Database ID
|
|
27429
|
-
* @param {*} [options] Override http request option.
|
|
27430
|
-
* @throws {RequiredError}
|
|
27431
|
-
*/
|
|
27432
|
-
redeployDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27433
|
-
// verify required parameter 'databaseId' is not null or undefined
|
|
27434
|
-
assertParamExists('redeployDatabase', 'databaseId', databaseId)
|
|
27435
|
-
const localVarPath = `/database/{databaseId}/redeploy`
|
|
27436
|
-
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
27437
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27438
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27439
|
-
let baseOptions;
|
|
27440
|
-
if (configuration) {
|
|
27441
|
-
baseOptions = configuration.baseOptions;
|
|
27442
|
-
}
|
|
27443
|
-
|
|
27444
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27445
|
-
const localVarHeaderParameter = {} as any;
|
|
27446
|
-
const localVarQueryParameter = {} as any;
|
|
27447
|
-
|
|
27448
|
-
// authentication ApiKeyAuth required
|
|
27449
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27450
|
-
|
|
27451
|
-
// authentication bearerAuth required
|
|
27452
|
-
// http bearer authentication required
|
|
27453
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27454
|
-
|
|
27455
|
-
|
|
27456
|
-
|
|
27457
27280
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27458
27281
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27459
27282
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -27577,17 +27400,6 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
|
|
|
27577
27400
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootDatabase(databaseId, options);
|
|
27578
27401
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27579
27402
|
},
|
|
27580
|
-
/**
|
|
27581
|
-
*
|
|
27582
|
-
* @summary Redeploy database
|
|
27583
|
-
* @param {string} databaseId Database ID
|
|
27584
|
-
* @param {*} [options] Override http request option.
|
|
27585
|
-
* @throws {RequiredError}
|
|
27586
|
-
*/
|
|
27587
|
-
async redeployDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
27588
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
27589
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27590
|
-
},
|
|
27591
27403
|
/**
|
|
27592
27404
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27593
27405
|
* @summary Deprecated - Restart database
|
|
@@ -27640,16 +27452,6 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
|
|
|
27640
27452
|
rebootDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
27641
27453
|
return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
27642
27454
|
},
|
|
27643
|
-
/**
|
|
27644
|
-
*
|
|
27645
|
-
* @summary Redeploy database
|
|
27646
|
-
* @param {string} databaseId Database ID
|
|
27647
|
-
* @param {*} [options] Override http request option.
|
|
27648
|
-
* @throws {RequiredError}
|
|
27649
|
-
*/
|
|
27650
|
-
redeployDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
27651
|
-
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
27652
|
-
},
|
|
27653
27455
|
/**
|
|
27654
27456
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27655
27457
|
* @summary Deprecated - Restart database
|
|
@@ -27704,18 +27506,6 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
27704
27506
|
return DatabaseActionsApiFp(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
27705
27507
|
}
|
|
27706
27508
|
|
|
27707
|
-
/**
|
|
27708
|
-
*
|
|
27709
|
-
* @summary Redeploy database
|
|
27710
|
-
* @param {string} databaseId Database ID
|
|
27711
|
-
* @param {*} [options] Override http request option.
|
|
27712
|
-
* @throws {RequiredError}
|
|
27713
|
-
* @memberof DatabaseActionsApi
|
|
27714
|
-
*/
|
|
27715
|
-
public redeployDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
27716
|
-
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
27717
|
-
}
|
|
27718
|
-
|
|
27719
27509
|
/**
|
|
27720
27510
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27721
27511
|
* @summary Deprecated - Restart database
|
|
@@ -30180,47 +29970,6 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
30180
29970
|
options: localVarRequestOptions,
|
|
30181
29971
|
};
|
|
30182
29972
|
},
|
|
30183
|
-
/**
|
|
30184
|
-
*
|
|
30185
|
-
* @summary Redeploy environment
|
|
30186
|
-
* @param {string} environmentId Environment ID
|
|
30187
|
-
* @param {*} [options] Override http request option.
|
|
30188
|
-
* @throws {RequiredError}
|
|
30189
|
-
*/
|
|
30190
|
-
redeployEnvironment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30191
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
30192
|
-
assertParamExists('redeployEnvironment', 'environmentId', environmentId)
|
|
30193
|
-
const localVarPath = `/environment/{environmentId}/redeploy`
|
|
30194
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30195
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30196
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30197
|
-
let baseOptions;
|
|
30198
|
-
if (configuration) {
|
|
30199
|
-
baseOptions = configuration.baseOptions;
|
|
30200
|
-
}
|
|
30201
|
-
|
|
30202
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30203
|
-
const localVarHeaderParameter = {} as any;
|
|
30204
|
-
const localVarQueryParameter = {} as any;
|
|
30205
|
-
|
|
30206
|
-
// authentication ApiKeyAuth required
|
|
30207
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
30208
|
-
|
|
30209
|
-
// authentication bearerAuth required
|
|
30210
|
-
// http bearer authentication required
|
|
30211
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30212
|
-
|
|
30213
|
-
|
|
30214
|
-
|
|
30215
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30216
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30217
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30218
|
-
|
|
30219
|
-
return {
|
|
30220
|
-
url: toPathString(localVarUrlObj),
|
|
30221
|
-
options: localVarRequestOptions,
|
|
30222
|
-
};
|
|
30223
|
-
},
|
|
30224
29973
|
/**
|
|
30225
29974
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30226
29975
|
* @summary Deprecated - Restart environment
|
|
@@ -30428,17 +30177,6 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
30428
30177
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootServices(environmentId, rebootServicesRequest, options);
|
|
30429
30178
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30430
30179
|
},
|
|
30431
|
-
/**
|
|
30432
|
-
*
|
|
30433
|
-
* @summary Redeploy environment
|
|
30434
|
-
* @param {string} environmentId Environment ID
|
|
30435
|
-
* @param {*} [options] Override http request option.
|
|
30436
|
-
* @throws {RequiredError}
|
|
30437
|
-
*/
|
|
30438
|
-
async redeployEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatus>> {
|
|
30439
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
|
|
30440
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30441
|
-
},
|
|
30442
30180
|
/**
|
|
30443
30181
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30444
30182
|
* @summary Deprecated - Restart environment
|
|
@@ -30547,16 +30285,6 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
30547
30285
|
rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: any): AxiosPromise<Status> {
|
|
30548
30286
|
return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
|
|
30549
30287
|
},
|
|
30550
|
-
/**
|
|
30551
|
-
*
|
|
30552
|
-
* @summary Redeploy environment
|
|
30553
|
-
* @param {string} environmentId Environment ID
|
|
30554
|
-
* @param {*} [options] Override http request option.
|
|
30555
|
-
* @throws {RequiredError}
|
|
30556
|
-
*/
|
|
30557
|
-
redeployEnvironment(environmentId: string, options?: any): AxiosPromise<EnvironmentStatus> {
|
|
30558
|
-
return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
30559
|
-
},
|
|
30560
30288
|
/**
|
|
30561
30289
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30562
30290
|
* @summary Deprecated - Restart environment
|
|
@@ -30674,18 +30402,6 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
30674
30402
|
return EnvironmentActionsApiFp(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30675
30403
|
}
|
|
30676
30404
|
|
|
30677
|
-
/**
|
|
30678
|
-
*
|
|
30679
|
-
* @summary Redeploy environment
|
|
30680
|
-
* @param {string} environmentId Environment ID
|
|
30681
|
-
* @param {*} [options] Override http request option.
|
|
30682
|
-
* @throws {RequiredError}
|
|
30683
|
-
* @memberof EnvironmentActionsApi
|
|
30684
|
-
*/
|
|
30685
|
-
public redeployEnvironment(environmentId: string, options?: AxiosRequestConfig) {
|
|
30686
|
-
return EnvironmentActionsApiFp(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30687
|
-
}
|
|
30688
|
-
|
|
30689
30405
|
/**
|
|
30690
30406
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30691
30407
|
* @summary Deprecated - Restart environment
|
|
@@ -34096,52 +33812,6 @@ export const HelmActionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34096
33812
|
options: localVarRequestOptions,
|
|
34097
33813
|
};
|
|
34098
33814
|
},
|
|
34099
|
-
/**
|
|
34100
|
-
*
|
|
34101
|
-
* @summary Redeploy helm
|
|
34102
|
-
* @param {string} helmId Helm ID
|
|
34103
|
-
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
34104
|
-
* @param {*} [options] Override http request option.
|
|
34105
|
-
* @throws {RequiredError}
|
|
34106
|
-
*/
|
|
34107
|
-
redeployHelm: async (helmId: string, forceEvent?: HelmForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34108
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
34109
|
-
assertParamExists('redeployHelm', 'helmId', helmId)
|
|
34110
|
-
const localVarPath = `/helm/{helmId}/redeploy`
|
|
34111
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
34112
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34113
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34114
|
-
let baseOptions;
|
|
34115
|
-
if (configuration) {
|
|
34116
|
-
baseOptions = configuration.baseOptions;
|
|
34117
|
-
}
|
|
34118
|
-
|
|
34119
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34120
|
-
const localVarHeaderParameter = {} as any;
|
|
34121
|
-
const localVarQueryParameter = {} as any;
|
|
34122
|
-
|
|
34123
|
-
// authentication ApiKeyAuth required
|
|
34124
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
34125
|
-
|
|
34126
|
-
// authentication bearerAuth required
|
|
34127
|
-
// http bearer authentication required
|
|
34128
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34129
|
-
|
|
34130
|
-
if (forceEvent !== undefined) {
|
|
34131
|
-
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
34132
|
-
}
|
|
34133
|
-
|
|
34134
|
-
|
|
34135
|
-
|
|
34136
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34137
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34138
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34139
|
-
|
|
34140
|
-
return {
|
|
34141
|
-
url: toPathString(localVarUrlObj),
|
|
34142
|
-
options: localVarRequestOptions,
|
|
34143
|
-
};
|
|
34144
|
-
},
|
|
34145
33815
|
/**
|
|
34146
33816
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34147
33817
|
* @summary Deprecated - Restart helm
|
|
@@ -34252,18 +33922,6 @@ export const HelmActionsApiFp = function(configuration?: Configuration) {
|
|
|
34252
33922
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployHelm(helmId, forceEvent, helmDeployRequest, options);
|
|
34253
33923
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34254
33924
|
},
|
|
34255
|
-
/**
|
|
34256
|
-
*
|
|
34257
|
-
* @summary Redeploy helm
|
|
34258
|
-
* @param {string} helmId Helm ID
|
|
34259
|
-
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
34260
|
-
* @param {*} [options] Override http request option.
|
|
34261
|
-
* @throws {RequiredError}
|
|
34262
|
-
*/
|
|
34263
|
-
async redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
34264
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployHelm(helmId, forceEvent, options);
|
|
34265
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34266
|
-
},
|
|
34267
33925
|
/**
|
|
34268
33926
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34269
33927
|
* @summary Deprecated - Restart helm
|
|
@@ -34309,17 +33967,6 @@ export const HelmActionsApiFactory = function (configuration?: Configuration, ba
|
|
|
34309
33967
|
deployHelm(helmId: string, forceEvent?: HelmForceEvent, helmDeployRequest?: HelmDeployRequest, options?: any): AxiosPromise<Status> {
|
|
34310
33968
|
return localVarFp.deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(axios, basePath));
|
|
34311
33969
|
},
|
|
34312
|
-
/**
|
|
34313
|
-
*
|
|
34314
|
-
* @summary Redeploy helm
|
|
34315
|
-
* @param {string} helmId Helm ID
|
|
34316
|
-
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
34317
|
-
* @param {*} [options] Override http request option.
|
|
34318
|
-
* @throws {RequiredError}
|
|
34319
|
-
*/
|
|
34320
|
-
redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: any): AxiosPromise<Status> {
|
|
34321
|
-
return localVarFp.redeployHelm(helmId, forceEvent, options).then((request) => request(axios, basePath));
|
|
34322
|
-
},
|
|
34323
33970
|
/**
|
|
34324
33971
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34325
33972
|
* @summary Deprecated - Restart helm
|
|
@@ -34365,19 +34012,6 @@ export class HelmActionsApi extends BaseAPI {
|
|
|
34365
34012
|
return HelmActionsApiFp(this.configuration).deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34366
34013
|
}
|
|
34367
34014
|
|
|
34368
|
-
/**
|
|
34369
|
-
*
|
|
34370
|
-
* @summary Redeploy helm
|
|
34371
|
-
* @param {string} helmId Helm ID
|
|
34372
|
-
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
34373
|
-
* @param {*} [options] Override http request option.
|
|
34374
|
-
* @throws {RequiredError}
|
|
34375
|
-
* @memberof HelmActionsApi
|
|
34376
|
-
*/
|
|
34377
|
-
public redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig) {
|
|
34378
|
-
return HelmActionsApiFp(this.configuration).redeployHelm(helmId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
34379
|
-
}
|
|
34380
|
-
|
|
34381
34015
|
/**
|
|
34382
34016
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34383
34017
|
* @summary Deprecated - Restart helm
|
|
@@ -36927,52 +36561,6 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
36927
36561
|
options: localVarRequestOptions,
|
|
36928
36562
|
};
|
|
36929
36563
|
},
|
|
36930
|
-
/**
|
|
36931
|
-
*
|
|
36932
|
-
* @summary Redeploy job
|
|
36933
|
-
* @param {string} jobId Job ID
|
|
36934
|
-
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
36935
|
-
* @param {*} [options] Override http request option.
|
|
36936
|
-
* @throws {RequiredError}
|
|
36937
|
-
*/
|
|
36938
|
-
redeployJob: async (jobId: string, forceEvent?: JobForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36939
|
-
// verify required parameter 'jobId' is not null or undefined
|
|
36940
|
-
assertParamExists('redeployJob', 'jobId', jobId)
|
|
36941
|
-
const localVarPath = `/job/{jobId}/redeploy`
|
|
36942
|
-
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
36943
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36944
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36945
|
-
let baseOptions;
|
|
36946
|
-
if (configuration) {
|
|
36947
|
-
baseOptions = configuration.baseOptions;
|
|
36948
|
-
}
|
|
36949
|
-
|
|
36950
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
36951
|
-
const localVarHeaderParameter = {} as any;
|
|
36952
|
-
const localVarQueryParameter = {} as any;
|
|
36953
|
-
|
|
36954
|
-
// authentication ApiKeyAuth required
|
|
36955
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36956
|
-
|
|
36957
|
-
// authentication bearerAuth required
|
|
36958
|
-
// http bearer authentication required
|
|
36959
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36960
|
-
|
|
36961
|
-
if (forceEvent !== undefined) {
|
|
36962
|
-
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
36963
|
-
}
|
|
36964
|
-
|
|
36965
|
-
|
|
36966
|
-
|
|
36967
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36968
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36969
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36970
|
-
|
|
36971
|
-
return {
|
|
36972
|
-
url: toPathString(localVarUrlObj),
|
|
36973
|
-
options: localVarRequestOptions,
|
|
36974
|
-
};
|
|
36975
|
-
},
|
|
36976
36564
|
/**
|
|
36977
36565
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
36978
36566
|
* @summary Deprecated - Restart job
|
|
@@ -37083,18 +36671,6 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
37083
36671
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployJob(jobId, forceEvent, jobDeployRequest, options);
|
|
37084
36672
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37085
36673
|
},
|
|
37086
|
-
/**
|
|
37087
|
-
*
|
|
37088
|
-
* @summary Redeploy job
|
|
37089
|
-
* @param {string} jobId Job ID
|
|
37090
|
-
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
37091
|
-
* @param {*} [options] Override http request option.
|
|
37092
|
-
* @throws {RequiredError}
|
|
37093
|
-
*/
|
|
37094
|
-
async redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
37095
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
|
|
37096
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37097
|
-
},
|
|
37098
36674
|
/**
|
|
37099
36675
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
37100
36676
|
* @summary Deprecated - Restart job
|
|
@@ -37140,17 +36716,6 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
37140
36716
|
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status> {
|
|
37141
36717
|
return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
37142
36718
|
},
|
|
37143
|
-
/**
|
|
37144
|
-
*
|
|
37145
|
-
* @summary Redeploy job
|
|
37146
|
-
* @param {string} jobId Job ID
|
|
37147
|
-
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
37148
|
-
* @param {*} [options] Override http request option.
|
|
37149
|
-
* @throws {RequiredError}
|
|
37150
|
-
*/
|
|
37151
|
-
redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: any): AxiosPromise<Status> {
|
|
37152
|
-
return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
37153
|
-
},
|
|
37154
36719
|
/**
|
|
37155
36720
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
37156
36721
|
* @summary Deprecated - Restart job
|
|
@@ -37196,19 +36761,6 @@ export class JobActionsApi extends BaseAPI {
|
|
|
37196
36761
|
return JobActionsApiFp(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37197
36762
|
}
|
|
37198
36763
|
|
|
37199
|
-
/**
|
|
37200
|
-
*
|
|
37201
|
-
* @summary Redeploy job
|
|
37202
|
-
* @param {string} jobId Job ID
|
|
37203
|
-
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
37204
|
-
* @param {*} [options] Override http request option.
|
|
37205
|
-
* @throws {RequiredError}
|
|
37206
|
-
* @memberof JobActionsApi
|
|
37207
|
-
*/
|
|
37208
|
-
public redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig) {
|
|
37209
|
-
return JobActionsApiFp(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
37210
|
-
}
|
|
37211
|
-
|
|
37212
36764
|
/**
|
|
37213
36765
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
37214
36766
|
* @summary Deprecated - Restart job
|