qovery-typescript-axios 1.1.340 → 1.1.342
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 -461
- package/dist/api.d.ts +0 -207
- package/dist/api.js +0 -423
- package/dist/esm/api.d.ts +0 -207
- package/dist/esm/api.js +0 -423
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1717,7 +1717,6 @@ export interface CloudProvider {
|
|
|
1717
1717
|
|
|
1718
1718
|
export const CloudProviderEnum = {
|
|
1719
1719
|
AWS: 'AWS',
|
|
1720
|
-
DO: 'DO',
|
|
1721
1720
|
SCW: 'SCW',
|
|
1722
1721
|
GCP: 'GCP'
|
|
1723
1722
|
} as const;
|
|
@@ -13570,47 +13569,6 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration?:
|
|
|
13570
13569
|
|
|
13571
13570
|
|
|
13572
13571
|
|
|
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
13572
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13615
13573
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13616
13574
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13735,17 +13693,6 @@ export const ApplicationActionsApiFp = function(configuration?: Configuration) {
|
|
|
13735
13693
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootApplication(applicationId, options);
|
|
13736
13694
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13737
13695
|
},
|
|
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
13696
|
/**
|
|
13750
13697
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
13751
13698
|
* @summary Deprecated - Restart application
|
|
@@ -13799,16 +13746,6 @@ export const ApplicationActionsApiFactory = function (configuration?: Configurat
|
|
|
13799
13746
|
rebootApplication(applicationId: string, options?: any): AxiosPromise<Status> {
|
|
13800
13747
|
return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
13801
13748
|
},
|
|
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
13749
|
/**
|
|
13813
13750
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
13814
13751
|
* @summary Deprecated - Restart application
|
|
@@ -13864,18 +13801,6 @@ export class ApplicationActionsApi extends BaseAPI {
|
|
|
13864
13801
|
return ApplicationActionsApiFp(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
13865
13802
|
}
|
|
13866
13803
|
|
|
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
13804
|
/**
|
|
13880
13805
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
13881
13806
|
* @summary Deprecated - Restart application
|
|
@@ -22646,47 +22571,6 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
22646
22571
|
|
|
22647
22572
|
|
|
22648
22573
|
|
|
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
22574
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22691
22575
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22692
22576
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -22811,17 +22695,6 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
|
22811
22695
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootContainer(containerId, options);
|
|
22812
22696
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22813
22697
|
},
|
|
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
22698
|
/**
|
|
22826
22699
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22827
22700
|
* @summary Deprecated - Restart container
|
|
@@ -22875,16 +22748,6 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
|
|
|
22875
22748
|
rebootContainer(containerId: string, options?: any): AxiosPromise<Status> {
|
|
22876
22749
|
return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
|
|
22877
22750
|
},
|
|
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
22751
|
/**
|
|
22889
22752
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22890
22753
|
* @summary Deprecated - Restart container
|
|
@@ -22940,18 +22803,6 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
22940
22803
|
return ContainerActionsApiFp(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
22941
22804
|
}
|
|
22942
22805
|
|
|
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
22806
|
/**
|
|
22956
22807
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
22957
22808
|
* @summary Deprecated - Restart container
|
|
@@ -27425,47 +27276,6 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
27425
27276
|
|
|
27426
27277
|
|
|
27427
27278
|
|
|
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
27279
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27470
27280
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27471
27281
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -27589,17 +27399,6 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
|
|
|
27589
27399
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootDatabase(databaseId, options);
|
|
27590
27400
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27591
27401
|
},
|
|
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
27402
|
/**
|
|
27604
27403
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27605
27404
|
* @summary Deprecated - Restart database
|
|
@@ -27652,16 +27451,6 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
|
|
|
27652
27451
|
rebootDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
|
|
27653
27452
|
return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
27654
27453
|
},
|
|
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
27454
|
/**
|
|
27666
27455
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27667
27456
|
* @summary Deprecated - Restart database
|
|
@@ -27716,18 +27505,6 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
27716
27505
|
return DatabaseActionsApiFp(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
27717
27506
|
}
|
|
27718
27507
|
|
|
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
27508
|
/**
|
|
27732
27509
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
27733
27510
|
* @summary Deprecated - Restart database
|
|
@@ -30192,47 +29969,6 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
30192
29969
|
options: localVarRequestOptions,
|
|
30193
29970
|
};
|
|
30194
29971
|
},
|
|
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
29972
|
/**
|
|
30237
29973
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30238
29974
|
* @summary Deprecated - Restart environment
|
|
@@ -30440,17 +30176,6 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
30440
30176
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rebootServices(environmentId, rebootServicesRequest, options);
|
|
30441
30177
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30442
30178
|
},
|
|
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
30179
|
/**
|
|
30455
30180
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30456
30181
|
* @summary Deprecated - Restart environment
|
|
@@ -30559,16 +30284,6 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
30559
30284
|
rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: any): AxiosPromise<Status> {
|
|
30560
30285
|
return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
|
|
30561
30286
|
},
|
|
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
30287
|
/**
|
|
30573
30288
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30574
30289
|
* @summary Deprecated - Restart environment
|
|
@@ -30686,18 +30401,6 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
30686
30401
|
return EnvironmentActionsApiFp(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30687
30402
|
}
|
|
30688
30403
|
|
|
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
30404
|
/**
|
|
30702
30405
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
30703
30406
|
* @summary Deprecated - Restart environment
|
|
@@ -34108,52 +33811,6 @@ export const HelmActionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34108
33811
|
options: localVarRequestOptions,
|
|
34109
33812
|
};
|
|
34110
33813
|
},
|
|
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
33814
|
/**
|
|
34158
33815
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34159
33816
|
* @summary Deprecated - Restart helm
|
|
@@ -34264,18 +33921,6 @@ export const HelmActionsApiFp = function(configuration?: Configuration) {
|
|
|
34264
33921
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployHelm(helmId, forceEvent, helmDeployRequest, options);
|
|
34265
33922
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34266
33923
|
},
|
|
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
33924
|
/**
|
|
34280
33925
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34281
33926
|
* @summary Deprecated - Restart helm
|
|
@@ -34321,17 +33966,6 @@ export const HelmActionsApiFactory = function (configuration?: Configuration, ba
|
|
|
34321
33966
|
deployHelm(helmId: string, forceEvent?: HelmForceEvent, helmDeployRequest?: HelmDeployRequest, options?: any): AxiosPromise<Status> {
|
|
34322
33967
|
return localVarFp.deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(axios, basePath));
|
|
34323
33968
|
},
|
|
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
33969
|
/**
|
|
34336
33970
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34337
33971
|
* @summary Deprecated - Restart helm
|
|
@@ -34377,19 +34011,6 @@ export class HelmActionsApi extends BaseAPI {
|
|
|
34377
34011
|
return HelmActionsApiFp(this.configuration).deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34378
34012
|
}
|
|
34379
34013
|
|
|
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
34014
|
/**
|
|
34394
34015
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
34395
34016
|
* @summary Deprecated - Restart helm
|
|
@@ -36939,52 +36560,6 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
36939
36560
|
options: localVarRequestOptions,
|
|
36940
36561
|
};
|
|
36941
36562
|
},
|
|
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
36563
|
/**
|
|
36989
36564
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
36990
36565
|
* @summary Deprecated - Restart job
|
|
@@ -37095,18 +36670,6 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
37095
36670
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployJob(jobId, forceEvent, jobDeployRequest, options);
|
|
37096
36671
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37097
36672
|
},
|
|
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
36673
|
/**
|
|
37111
36674
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
37112
36675
|
* @summary Deprecated - Restart job
|
|
@@ -37152,17 +36715,6 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
37152
36715
|
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status> {
|
|
37153
36716
|
return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
37154
36717
|
},
|
|
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
36718
|
/**
|
|
37167
36719
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
37168
36720
|
* @summary Deprecated - Restart job
|
|
@@ -37208,19 +36760,6 @@ export class JobActionsApi extends BaseAPI {
|
|
|
37208
36760
|
return JobActionsApiFp(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37209
36761
|
}
|
|
37210
36762
|
|
|
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
36763
|
/**
|
|
37225
36764
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
37226
36765
|
* @summary Deprecated - Restart job
|