qovery-typescript-axios 1.1.340 → 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 +0 -460
- package/dist/api.d.ts +0 -206
- package/dist/api.js +0 -422
- package/dist/esm/api.d.ts +0 -206
- package/dist/esm/api.js +0 -422
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -13570,47 +13570,6 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration?:
|
|
|
13570
13570
|
|
|
13571
13571
|
|
|
13572
13572
|
|
|
13573
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13574
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13575
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13576
|
-
|
|
13577
|
-
return {
|
|
13578
|
-
url: toPathString(localVarUrlObj),
|
|
13579
|
-
options: localVarRequestOptions,
|
|
13580
|
-
};
|
|
13581
|
-
},
|
|
13582
|
-
/**
|
|
13583
|
-
*
|
|
13584
|
-
* @summary Redeploy application
|
|
13585
|
-
* @param {string} applicationId Application ID
|
|
13586
|
-
* @param {*} [options] Override http request option.
|
|
13587
|
-
* @throws {RequiredError}
|
|
13588
|
-
*/
|
|
13589
|
-
redeployApplication: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13590
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
13591
|
-
assertParamExists('redeployApplication', 'applicationId', applicationId)
|
|
13592
|
-
const localVarPath = `/application/{applicationId}/redeploy`
|
|
13593
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
13594
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13595
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13596
|
-
let baseOptions;
|
|
13597
|
-
if (configuration) {
|
|
13598
|
-
baseOptions = configuration.baseOptions;
|
|
13599
|
-
}
|
|
13600
|
-
|
|
13601
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
13602
|
-
const localVarHeaderParameter = {} as any;
|
|
13603
|
-
const localVarQueryParameter = {} as any;
|
|
13604
|
-
|
|
13605
|
-
// authentication ApiKeyAuth required
|
|
13606
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13607
|
-
|
|
13608
|
-
// authentication bearerAuth required
|
|
13609
|
-
// http bearer authentication required
|
|
13610
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13611
|
-
|
|
13612
|
-
|
|
13613
|
-
|
|
13614
13573
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13615
13574
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13616
13575
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13735,17 +13694,6 @@ export const ApplicationActionsApiFp = function(configuration?: Configuration) {
|
|
|
13735
13694
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootApplication(applicationId, options);
|
|
13736
13695
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13737
13696
|
},
|
|
13738
|
-
/**
|
|
13739
|
-
*
|
|
13740
|
-
* @summary Redeploy application
|
|
13741
|
-
* @param {string} applicationId Application ID
|
|
13742
|
-
* @param {*} [options] Override http request option.
|
|
13743
|
-
* @throws {RequiredError}
|
|
13744
|
-
*/
|
|
13745
|
-
async redeployApplication(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
13746
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployApplication(applicationId, options);
|
|
13747
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13748
|
-
},
|
|
13749
13697
|
/**
|
|
13750
13698
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
13751
13699
|
* @summary Deprecated - Restart application
|
|
@@ -13799,16 +13747,6 @@ export const ApplicationActionsApiFactory = function (configuration?: Configurat
|
|
|
13799
13747
|
rebootApplication(applicationId: string, options?: any): AxiosPromise<Status> {
|
|
13800
13748
|
return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
13801
13749
|
},
|
|
13802
|
-
/**
|
|
13803
|
-
*
|
|
13804
|
-
* @summary Redeploy application
|
|
13805
|
-
* @param {string} applicationId Application ID
|
|
13806
|
-
* @param {*} [options] Override http request option.
|
|
13807
|
-
* @throws {RequiredError}
|
|
13808
|
-
*/
|
|
13809
|
-
redeployApplication(applicationId: string, options?: any): AxiosPromise<Status> {
|
|
13810
|
-
return localVarFp.redeployApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
13811
|
-
},
|
|
13812
13750
|
/**
|
|
13813
13751
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
13814
13752
|
* @summary Deprecated - Restart application
|
|
@@ -13864,18 +13802,6 @@ export class ApplicationActionsApi extends BaseAPI {
|
|
|
13864
13802
|
return ApplicationActionsApiFp(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
13865
13803
|
}
|
|
13866
13804
|
|
|
13867
|
-
/**
|
|
13868
|
-
*
|
|
13869
|
-
* @summary Redeploy application
|
|
13870
|
-
* @param {string} applicationId Application ID
|
|
13871
|
-
* @param {*} [options] Override http request option.
|
|
13872
|
-
* @throws {RequiredError}
|
|
13873
|
-
* @memberof ApplicationActionsApi
|
|
13874
|
-
*/
|
|
13875
|
-
public redeployApplication(applicationId: string, options?: AxiosRequestConfig) {
|
|
13876
|
-
return ApplicationActionsApiFp(this.configuration).redeployApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
13877
|
-
}
|
|
13878
|
-
|
|
13879
13805
|
/**
|
|
13880
13806
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
13881
13807
|
* @summary Deprecated - Restart application
|
|
@@ -22646,47 +22572,6 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
22646
22572
|
|
|
22647
22573
|
|
|
22648
22574
|
|
|
22649
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22650
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22651
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22652
|
-
|
|
22653
|
-
return {
|
|
22654
|
-
url: toPathString(localVarUrlObj),
|
|
22655
|
-
options: localVarRequestOptions,
|
|
22656
|
-
};
|
|
22657
|
-
},
|
|
22658
|
-
/**
|
|
22659
|
-
*
|
|
22660
|
-
* @summary Redeploy container
|
|
22661
|
-
* @param {string} containerId Container ID
|
|
22662
|
-
* @param {*} [options] Override http request option.
|
|
22663
|
-
* @throws {RequiredError}
|
|
22664
|
-
*/
|
|
22665
|
-
redeployContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22666
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
22667
|
-
assertParamExists('redeployContainer', 'containerId', containerId)
|
|
22668
|
-
const localVarPath = `/container/{containerId}/redeploy`
|
|
22669
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
22670
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22671
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22672
|
-
let baseOptions;
|
|
22673
|
-
if (configuration) {
|
|
22674
|
-
baseOptions = configuration.baseOptions;
|
|
22675
|
-
}
|
|
22676
|
-
|
|
22677
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22678
|
-
const localVarHeaderParameter = {} as any;
|
|
22679
|
-
const localVarQueryParameter = {} as any;
|
|
22680
|
-
|
|
22681
|
-
// authentication ApiKeyAuth required
|
|
22682
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
22683
|
-
|
|
22684
|
-
// authentication bearerAuth required
|
|
22685
|
-
// http bearer authentication required
|
|
22686
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22687
|
-
|
|
22688
|
-
|
|
22689
|
-
|
|
22690
22575
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22691
22576
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22692
22577
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -22811,17 +22696,6 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
|
22811
22696
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootContainer(containerId, options);
|
|
22812
22697
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22813
22698
|
},
|
|
22814
|
-
/**
|
|
22815
|
-
*
|
|
22816
|
-
* @summary Redeploy container
|
|
22817
|
-
* @param {string} containerId Container ID
|
|
22818
|
-
* @param {*} [options] Override http request option.
|
|
22819
|
-
* @throws {RequiredError}
|
|
22820
|
-
*/
|
|
22821
|
-
async redeployContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
22822
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployContainer(containerId, options);
|
|
22823
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22824
|
-
},
|
|
22825
22699
|
/**
|
|
22826
22700
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22827
22701
|
* @summary Deprecated - Restart container
|
|
@@ -22875,16 +22749,6 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
|
|
|
22875
22749
|
rebootContainer(containerId: string, options?: any): AxiosPromise<Status> {
|
|
22876
22750
|
return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
|
|
22877
22751
|
},
|
|
22878
|
-
/**
|
|
22879
|
-
*
|
|
22880
|
-
* @summary Redeploy container
|
|
22881
|
-
* @param {string} containerId Container ID
|
|
22882
|
-
* @param {*} [options] Override http request option.
|
|
22883
|
-
* @throws {RequiredError}
|
|
22884
|
-
*/
|
|
22885
|
-
redeployContainer(containerId: string, options?: any): AxiosPromise<Status> {
|
|
22886
|
-
return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
|
|
22887
|
-
},
|
|
22888
22752
|
/**
|
|
22889
22753
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22890
22754
|
* @summary Deprecated - Restart container
|
|
@@ -22940,18 +22804,6 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
22940
22804
|
return ContainerActionsApiFp(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22941
22805
|
}
|
|
22942
22806
|
|
|
22943
|
-
/**
|
|
22944
|
-
*
|
|
22945
|
-
* @summary Redeploy container
|
|
22946
|
-
* @param {string} containerId Container ID
|
|
22947
|
-
* @param {*} [options] Override http request option.
|
|
22948
|
-
* @throws {RequiredError}
|
|
22949
|
-
* @memberof ContainerActionsApi
|
|
22950
|
-
*/
|
|
22951
|
-
public redeployContainer(containerId: string, options?: AxiosRequestConfig) {
|
|
22952
|
-
return ContainerActionsApiFp(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22953
|
-
}
|
|
22954
|
-
|
|
22955
22807
|
/**
|
|
22956
22808
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22957
22809
|
* @summary Deprecated - Restart container
|
|
@@ -27425,47 +27277,6 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
27425
27277
|
|
|
27426
27278
|
|
|
27427
27279
|
|
|
27428
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27429
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27430
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27431
|
-
|
|
27432
|
-
return {
|
|
27433
|
-
url: toPathString(localVarUrlObj),
|
|
27434
|
-
options: localVarRequestOptions,
|
|
27435
|
-
};
|
|
27436
|
-
},
|
|
27437
|
-
/**
|
|
27438
|
-
*
|
|
27439
|
-
* @summary Redeploy database
|
|
27440
|
-
* @param {string} databaseId Database ID
|
|
27441
|
-
* @param {*} [options] Override http request option.
|
|
27442
|
-
* @throws {RequiredError}
|
|
27443
|
-
*/
|
|
27444
|
-
redeployDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27445
|
-
// verify required parameter 'databaseId' is not null or undefined
|
|
27446
|
-
assertParamExists('redeployDatabase', 'databaseId', databaseId)
|
|
27447
|
-
const localVarPath = `/database/{databaseId}/redeploy`
|
|
27448
|
-
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
27449
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27450
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27451
|
-
let baseOptions;
|
|
27452
|
-
if (configuration) {
|
|
27453
|
-
baseOptions = configuration.baseOptions;
|
|
27454
|
-
}
|
|
27455
|
-
|
|
27456
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27457
|
-
const localVarHeaderParameter = {} as any;
|
|
27458
|
-
const localVarQueryParameter = {} as any;
|
|
27459
|
-
|
|
27460
|
-
// authentication ApiKeyAuth required
|
|
27461
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27462
|
-
|
|
27463
|
-
// authentication bearerAuth required
|
|
27464
|
-
// http bearer authentication required
|
|
27465
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27466
|
-
|
|
27467
|
-
|
|
27468
|
-
|
|
27469
27280
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27470
27281
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27471
27282
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -27589,17 +27400,6 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
|
|
|
27589
27400
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootDatabase(databaseId, options);
|
|
27590
27401
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27591
27402
|
},
|
|
27592
|
-
/**
|
|
27593
|
-
*
|
|
27594
|
-
* @summary Redeploy database
|
|
27595
|
-
* @param {string} databaseId Database ID
|
|
27596
|
-
* @param {*} [options] Override http request option.
|
|
27597
|
-
* @throws {RequiredError}
|
|
27598
|
-
*/
|
|
27599
|
-
async redeployDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
27600
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
27601
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27602
|
-
},
|
|
27603
27403
|
/**
|
|
27604
27404
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27605
27405
|
* @summary Deprecated - Restart database
|
|
@@ -27652,16 +27452,6 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
|
|
|
27652
27452
|
rebootDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
27653
27453
|
return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
27654
27454
|
},
|
|
27655
|
-
/**
|
|
27656
|
-
*
|
|
27657
|
-
* @summary Redeploy database
|
|
27658
|
-
* @param {string} databaseId Database ID
|
|
27659
|
-
* @param {*} [options] Override http request option.
|
|
27660
|
-
* @throws {RequiredError}
|
|
27661
|
-
*/
|
|
27662
|
-
redeployDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
27663
|
-
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
27664
|
-
},
|
|
27665
27455
|
/**
|
|
27666
27456
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27667
27457
|
* @summary Deprecated - Restart database
|
|
@@ -27716,18 +27506,6 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
27716
27506
|
return DatabaseActionsApiFp(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
27717
27507
|
}
|
|
27718
27508
|
|
|
27719
|
-
/**
|
|
27720
|
-
*
|
|
27721
|
-
* @summary Redeploy database
|
|
27722
|
-
* @param {string} databaseId Database ID
|
|
27723
|
-
* @param {*} [options] Override http request option.
|
|
27724
|
-
* @throws {RequiredError}
|
|
27725
|
-
* @memberof DatabaseActionsApi
|
|
27726
|
-
*/
|
|
27727
|
-
public redeployDatabase(databaseId: string, options?: AxiosRequestConfig) {
|
|
27728
|
-
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
27729
|
-
}
|
|
27730
|
-
|
|
27731
27509
|
/**
|
|
27732
27510
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27733
27511
|
* @summary Deprecated - Restart database
|
|
@@ -30192,47 +29970,6 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
30192
29970
|
options: localVarRequestOptions,
|
|
30193
29971
|
};
|
|
30194
29972
|
},
|
|
30195
|
-
/**
|
|
30196
|
-
*
|
|
30197
|
-
* @summary Redeploy environment
|
|
30198
|
-
* @param {string} environmentId Environment ID
|
|
30199
|
-
* @param {*} [options] Override http request option.
|
|
30200
|
-
* @throws {RequiredError}
|
|
30201
|
-
*/
|
|
30202
|
-
redeployEnvironment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30203
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
30204
|
-
assertParamExists('redeployEnvironment', 'environmentId', environmentId)
|
|
30205
|
-
const localVarPath = `/environment/{environmentId}/redeploy`
|
|
30206
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30207
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30208
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30209
|
-
let baseOptions;
|
|
30210
|
-
if (configuration) {
|
|
30211
|
-
baseOptions = configuration.baseOptions;
|
|
30212
|
-
}
|
|
30213
|
-
|
|
30214
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30215
|
-
const localVarHeaderParameter = {} as any;
|
|
30216
|
-
const localVarQueryParameter = {} as any;
|
|
30217
|
-
|
|
30218
|
-
// authentication ApiKeyAuth required
|
|
30219
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
30220
|
-
|
|
30221
|
-
// authentication bearerAuth required
|
|
30222
|
-
// http bearer authentication required
|
|
30223
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30224
|
-
|
|
30225
|
-
|
|
30226
|
-
|
|
30227
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30228
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30229
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30230
|
-
|
|
30231
|
-
return {
|
|
30232
|
-
url: toPathString(localVarUrlObj),
|
|
30233
|
-
options: localVarRequestOptions,
|
|
30234
|
-
};
|
|
30235
|
-
},
|
|
30236
29973
|
/**
|
|
30237
29974
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30238
29975
|
* @summary Deprecated - Restart environment
|
|
@@ -30440,17 +30177,6 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
30440
30177
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootServices(environmentId, rebootServicesRequest, options);
|
|
30441
30178
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30442
30179
|
},
|
|
30443
|
-
/**
|
|
30444
|
-
*
|
|
30445
|
-
* @summary Redeploy environment
|
|
30446
|
-
* @param {string} environmentId Environment ID
|
|
30447
|
-
* @param {*} [options] Override http request option.
|
|
30448
|
-
* @throws {RequiredError}
|
|
30449
|
-
*/
|
|
30450
|
-
async redeployEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatus>> {
|
|
30451
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
|
|
30452
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30453
|
-
},
|
|
30454
30180
|
/**
|
|
30455
30181
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30456
30182
|
* @summary Deprecated - Restart environment
|
|
@@ -30559,16 +30285,6 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
30559
30285
|
rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: any): AxiosPromise<Status> {
|
|
30560
30286
|
return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
|
|
30561
30287
|
},
|
|
30562
|
-
/**
|
|
30563
|
-
*
|
|
30564
|
-
* @summary Redeploy environment
|
|
30565
|
-
* @param {string} environmentId Environment ID
|
|
30566
|
-
* @param {*} [options] Override http request option.
|
|
30567
|
-
* @throws {RequiredError}
|
|
30568
|
-
*/
|
|
30569
|
-
redeployEnvironment(environmentId: string, options?: any): AxiosPromise<EnvironmentStatus> {
|
|
30570
|
-
return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
30571
|
-
},
|
|
30572
30288
|
/**
|
|
30573
30289
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30574
30290
|
* @summary Deprecated - Restart environment
|
|
@@ -30686,18 +30402,6 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
30686
30402
|
return EnvironmentActionsApiFp(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30687
30403
|
}
|
|
30688
30404
|
|
|
30689
|
-
/**
|
|
30690
|
-
*
|
|
30691
|
-
* @summary Redeploy environment
|
|
30692
|
-
* @param {string} environmentId Environment ID
|
|
30693
|
-
* @param {*} [options] Override http request option.
|
|
30694
|
-
* @throws {RequiredError}
|
|
30695
|
-
* @memberof EnvironmentActionsApi
|
|
30696
|
-
*/
|
|
30697
|
-
public redeployEnvironment(environmentId: string, options?: AxiosRequestConfig) {
|
|
30698
|
-
return EnvironmentActionsApiFp(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30699
|
-
}
|
|
30700
|
-
|
|
30701
30405
|
/**
|
|
30702
30406
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30703
30407
|
* @summary Deprecated - Restart environment
|
|
@@ -34108,52 +33812,6 @@ export const HelmActionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34108
33812
|
options: localVarRequestOptions,
|
|
34109
33813
|
};
|
|
34110
33814
|
},
|
|
34111
|
-
/**
|
|
34112
|
-
*
|
|
34113
|
-
* @summary Redeploy helm
|
|
34114
|
-
* @param {string} helmId Helm ID
|
|
34115
|
-
* @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.
|
|
34116
|
-
* @param {*} [options] Override http request option.
|
|
34117
|
-
* @throws {RequiredError}
|
|
34118
|
-
*/
|
|
34119
|
-
redeployHelm: async (helmId: string, forceEvent?: HelmForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34120
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
34121
|
-
assertParamExists('redeployHelm', 'helmId', helmId)
|
|
34122
|
-
const localVarPath = `/helm/{helmId}/redeploy`
|
|
34123
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
34124
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34125
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34126
|
-
let baseOptions;
|
|
34127
|
-
if (configuration) {
|
|
34128
|
-
baseOptions = configuration.baseOptions;
|
|
34129
|
-
}
|
|
34130
|
-
|
|
34131
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34132
|
-
const localVarHeaderParameter = {} as any;
|
|
34133
|
-
const localVarQueryParameter = {} as any;
|
|
34134
|
-
|
|
34135
|
-
// authentication ApiKeyAuth required
|
|
34136
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
34137
|
-
|
|
34138
|
-
// authentication bearerAuth required
|
|
34139
|
-
// http bearer authentication required
|
|
34140
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34141
|
-
|
|
34142
|
-
if (forceEvent !== undefined) {
|
|
34143
|
-
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
34144
|
-
}
|
|
34145
|
-
|
|
34146
|
-
|
|
34147
|
-
|
|
34148
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34149
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34150
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34151
|
-
|
|
34152
|
-
return {
|
|
34153
|
-
url: toPathString(localVarUrlObj),
|
|
34154
|
-
options: localVarRequestOptions,
|
|
34155
|
-
};
|
|
34156
|
-
},
|
|
34157
33815
|
/**
|
|
34158
33816
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34159
33817
|
* @summary Deprecated - Restart helm
|
|
@@ -34264,18 +33922,6 @@ export const HelmActionsApiFp = function(configuration?: Configuration) {
|
|
|
34264
33922
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployHelm(helmId, forceEvent, helmDeployRequest, options);
|
|
34265
33923
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34266
33924
|
},
|
|
34267
|
-
/**
|
|
34268
|
-
*
|
|
34269
|
-
* @summary Redeploy helm
|
|
34270
|
-
* @param {string} helmId Helm ID
|
|
34271
|
-
* @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.
|
|
34272
|
-
* @param {*} [options] Override http request option.
|
|
34273
|
-
* @throws {RequiredError}
|
|
34274
|
-
*/
|
|
34275
|
-
async redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
34276
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployHelm(helmId, forceEvent, options);
|
|
34277
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34278
|
-
},
|
|
34279
33925
|
/**
|
|
34280
33926
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34281
33927
|
* @summary Deprecated - Restart helm
|
|
@@ -34321,17 +33967,6 @@ export const HelmActionsApiFactory = function (configuration?: Configuration, ba
|
|
|
34321
33967
|
deployHelm(helmId: string, forceEvent?: HelmForceEvent, helmDeployRequest?: HelmDeployRequest, options?: any): AxiosPromise<Status> {
|
|
34322
33968
|
return localVarFp.deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(axios, basePath));
|
|
34323
33969
|
},
|
|
34324
|
-
/**
|
|
34325
|
-
*
|
|
34326
|
-
* @summary Redeploy helm
|
|
34327
|
-
* @param {string} helmId Helm ID
|
|
34328
|
-
* @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.
|
|
34329
|
-
* @param {*} [options] Override http request option.
|
|
34330
|
-
* @throws {RequiredError}
|
|
34331
|
-
*/
|
|
34332
|
-
redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: any): AxiosPromise<Status> {
|
|
34333
|
-
return localVarFp.redeployHelm(helmId, forceEvent, options).then((request) => request(axios, basePath));
|
|
34334
|
-
},
|
|
34335
33970
|
/**
|
|
34336
33971
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34337
33972
|
* @summary Deprecated - Restart helm
|
|
@@ -34377,19 +34012,6 @@ export class HelmActionsApi extends BaseAPI {
|
|
|
34377
34012
|
return HelmActionsApiFp(this.configuration).deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34378
34013
|
}
|
|
34379
34014
|
|
|
34380
|
-
/**
|
|
34381
|
-
*
|
|
34382
|
-
* @summary Redeploy helm
|
|
34383
|
-
* @param {string} helmId Helm ID
|
|
34384
|
-
* @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.
|
|
34385
|
-
* @param {*} [options] Override http request option.
|
|
34386
|
-
* @throws {RequiredError}
|
|
34387
|
-
* @memberof HelmActionsApi
|
|
34388
|
-
*/
|
|
34389
|
-
public redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig) {
|
|
34390
|
-
return HelmActionsApiFp(this.configuration).redeployHelm(helmId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
34391
|
-
}
|
|
34392
|
-
|
|
34393
34015
|
/**
|
|
34394
34016
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34395
34017
|
* @summary Deprecated - Restart helm
|
|
@@ -36939,52 +36561,6 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
36939
36561
|
options: localVarRequestOptions,
|
|
36940
36562
|
};
|
|
36941
36563
|
},
|
|
36942
|
-
/**
|
|
36943
|
-
*
|
|
36944
|
-
* @summary Redeploy job
|
|
36945
|
-
* @param {string} jobId Job ID
|
|
36946
|
-
* @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.
|
|
36947
|
-
* @param {*} [options] Override http request option.
|
|
36948
|
-
* @throws {RequiredError}
|
|
36949
|
-
*/
|
|
36950
|
-
redeployJob: async (jobId: string, forceEvent?: JobForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36951
|
-
// verify required parameter 'jobId' is not null or undefined
|
|
36952
|
-
assertParamExists('redeployJob', 'jobId', jobId)
|
|
36953
|
-
const localVarPath = `/job/{jobId}/redeploy`
|
|
36954
|
-
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
36955
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36956
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36957
|
-
let baseOptions;
|
|
36958
|
-
if (configuration) {
|
|
36959
|
-
baseOptions = configuration.baseOptions;
|
|
36960
|
-
}
|
|
36961
|
-
|
|
36962
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
36963
|
-
const localVarHeaderParameter = {} as any;
|
|
36964
|
-
const localVarQueryParameter = {} as any;
|
|
36965
|
-
|
|
36966
|
-
// authentication ApiKeyAuth required
|
|
36967
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36968
|
-
|
|
36969
|
-
// authentication bearerAuth required
|
|
36970
|
-
// http bearer authentication required
|
|
36971
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36972
|
-
|
|
36973
|
-
if (forceEvent !== undefined) {
|
|
36974
|
-
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
36975
|
-
}
|
|
36976
|
-
|
|
36977
|
-
|
|
36978
|
-
|
|
36979
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36980
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36981
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36982
|
-
|
|
36983
|
-
return {
|
|
36984
|
-
url: toPathString(localVarUrlObj),
|
|
36985
|
-
options: localVarRequestOptions,
|
|
36986
|
-
};
|
|
36987
|
-
},
|
|
36988
36564
|
/**
|
|
36989
36565
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
36990
36566
|
* @summary Deprecated - Restart job
|
|
@@ -37095,18 +36671,6 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
37095
36671
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployJob(jobId, forceEvent, jobDeployRequest, options);
|
|
37096
36672
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37097
36673
|
},
|
|
37098
|
-
/**
|
|
37099
|
-
*
|
|
37100
|
-
* @summary Redeploy job
|
|
37101
|
-
* @param {string} jobId Job ID
|
|
37102
|
-
* @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.
|
|
37103
|
-
* @param {*} [options] Override http request option.
|
|
37104
|
-
* @throws {RequiredError}
|
|
37105
|
-
*/
|
|
37106
|
-
async redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
37107
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
|
|
37108
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37109
|
-
},
|
|
37110
36674
|
/**
|
|
37111
36675
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
37112
36676
|
* @summary Deprecated - Restart job
|
|
@@ -37152,17 +36716,6 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
37152
36716
|
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status> {
|
|
37153
36717
|
return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
37154
36718
|
},
|
|
37155
|
-
/**
|
|
37156
|
-
*
|
|
37157
|
-
* @summary Redeploy job
|
|
37158
|
-
* @param {string} jobId Job ID
|
|
37159
|
-
* @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.
|
|
37160
|
-
* @param {*} [options] Override http request option.
|
|
37161
|
-
* @throws {RequiredError}
|
|
37162
|
-
*/
|
|
37163
|
-
redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: any): AxiosPromise<Status> {
|
|
37164
|
-
return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
37165
|
-
},
|
|
37166
36719
|
/**
|
|
37167
36720
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
37168
36721
|
* @summary Deprecated - Restart job
|
|
@@ -37208,19 +36761,6 @@ export class JobActionsApi extends BaseAPI {
|
|
|
37208
36761
|
return JobActionsApiFp(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37209
36762
|
}
|
|
37210
36763
|
|
|
37211
|
-
/**
|
|
37212
|
-
*
|
|
37213
|
-
* @summary Redeploy job
|
|
37214
|
-
* @param {string} jobId Job ID
|
|
37215
|
-
* @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.
|
|
37216
|
-
* @param {*} [options] Override http request option.
|
|
37217
|
-
* @throws {RequiredError}
|
|
37218
|
-
* @memberof JobActionsApi
|
|
37219
|
-
*/
|
|
37220
|
-
public redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig) {
|
|
37221
|
-
return JobActionsApiFp(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
37222
|
-
}
|
|
37223
|
-
|
|
37224
36764
|
/**
|
|
37225
36765
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
37226
36766
|
* @summary Deprecated - Restart job
|