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/dist/esm/api.js
CHANGED
|
@@ -94,7 +94,6 @@ export const BuildPackLanguageEnum = {
|
|
|
94
94
|
*/
|
|
95
95
|
export const CloudProviderEnum = {
|
|
96
96
|
AWS: 'AWS',
|
|
97
|
-
DO: 'DO',
|
|
98
97
|
SCW: 'SCW',
|
|
99
98
|
GCP: 'GCP'
|
|
100
99
|
};
|
|
@@ -1002,40 +1001,6 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1002
1001
|
options: localVarRequestOptions,
|
|
1003
1002
|
};
|
|
1004
1003
|
}),
|
|
1005
|
-
/**
|
|
1006
|
-
*
|
|
1007
|
-
* @summary Redeploy application
|
|
1008
|
-
* @param {string} applicationId Application ID
|
|
1009
|
-
* @param {*} [options] Override http request option.
|
|
1010
|
-
* @throws {RequiredError}
|
|
1011
|
-
*/
|
|
1012
|
-
redeployApplication: (applicationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1013
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
1014
|
-
assertParamExists('redeployApplication', 'applicationId', applicationId);
|
|
1015
|
-
const localVarPath = `/application/{applicationId}/redeploy`
|
|
1016
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
1017
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1018
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1019
|
-
let baseOptions;
|
|
1020
|
-
if (configuration) {
|
|
1021
|
-
baseOptions = configuration.baseOptions;
|
|
1022
|
-
}
|
|
1023
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1024
|
-
const localVarHeaderParameter = {};
|
|
1025
|
-
const localVarQueryParameter = {};
|
|
1026
|
-
// authentication ApiKeyAuth required
|
|
1027
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1028
|
-
// authentication bearerAuth required
|
|
1029
|
-
// http bearer authentication required
|
|
1030
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1031
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1032
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1033
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1034
|
-
return {
|
|
1035
|
-
url: toPathString(localVarUrlObj),
|
|
1036
|
-
options: localVarRequestOptions,
|
|
1037
|
-
};
|
|
1038
|
-
}),
|
|
1039
1004
|
/**
|
|
1040
1005
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1041
1006
|
* @summary Deprecated - Restart application
|
|
@@ -1140,19 +1105,6 @@ export const ApplicationActionsApiFp = function (configuration) {
|
|
|
1140
1105
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1141
1106
|
});
|
|
1142
1107
|
},
|
|
1143
|
-
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @summary Redeploy application
|
|
1146
|
-
* @param {string} applicationId Application ID
|
|
1147
|
-
* @param {*} [options] Override http request option.
|
|
1148
|
-
* @throws {RequiredError}
|
|
1149
|
-
*/
|
|
1150
|
-
redeployApplication(applicationId, options) {
|
|
1151
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1152
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployApplication(applicationId, options);
|
|
1153
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1154
|
-
});
|
|
1155
|
-
},
|
|
1156
1108
|
/**
|
|
1157
1109
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1158
1110
|
* @summary Deprecated - Restart application
|
|
@@ -1209,16 +1161,6 @@ export const ApplicationActionsApiFactory = function (configuration, basePath, a
|
|
|
1209
1161
|
rebootApplication(applicationId, options) {
|
|
1210
1162
|
return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
1211
1163
|
},
|
|
1212
|
-
/**
|
|
1213
|
-
*
|
|
1214
|
-
* @summary Redeploy application
|
|
1215
|
-
* @param {string} applicationId Application ID
|
|
1216
|
-
* @param {*} [options] Override http request option.
|
|
1217
|
-
* @throws {RequiredError}
|
|
1218
|
-
*/
|
|
1219
|
-
redeployApplication(applicationId, options) {
|
|
1220
|
-
return localVarFp.redeployApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
1221
|
-
},
|
|
1222
1164
|
/**
|
|
1223
1165
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1224
1166
|
* @summary Deprecated - Restart application
|
|
@@ -1271,17 +1213,6 @@ export class ApplicationActionsApi extends BaseAPI {
|
|
|
1271
1213
|
rebootApplication(applicationId, options) {
|
|
1272
1214
|
return ApplicationActionsApiFp(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
1273
1215
|
}
|
|
1274
|
-
/**
|
|
1275
|
-
*
|
|
1276
|
-
* @summary Redeploy application
|
|
1277
|
-
* @param {string} applicationId Application ID
|
|
1278
|
-
* @param {*} [options] Override http request option.
|
|
1279
|
-
* @throws {RequiredError}
|
|
1280
|
-
* @memberof ApplicationActionsApi
|
|
1281
|
-
*/
|
|
1282
|
-
redeployApplication(applicationId, options) {
|
|
1283
|
-
return ApplicationActionsApiFp(this.configuration).redeployApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
1284
|
-
}
|
|
1285
1216
|
/**
|
|
1286
1217
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1287
1218
|
* @summary Deprecated - Restart application
|
|
@@ -9316,40 +9247,6 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration) {
|
|
|
9316
9247
|
options: localVarRequestOptions,
|
|
9317
9248
|
};
|
|
9318
9249
|
}),
|
|
9319
|
-
/**
|
|
9320
|
-
*
|
|
9321
|
-
* @summary Redeploy container
|
|
9322
|
-
* @param {string} containerId Container ID
|
|
9323
|
-
* @param {*} [options] Override http request option.
|
|
9324
|
-
* @throws {RequiredError}
|
|
9325
|
-
*/
|
|
9326
|
-
redeployContainer: (containerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9327
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
9328
|
-
assertParamExists('redeployContainer', 'containerId', containerId);
|
|
9329
|
-
const localVarPath = `/container/{containerId}/redeploy`
|
|
9330
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
9331
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9332
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9333
|
-
let baseOptions;
|
|
9334
|
-
if (configuration) {
|
|
9335
|
-
baseOptions = configuration.baseOptions;
|
|
9336
|
-
}
|
|
9337
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
9338
|
-
const localVarHeaderParameter = {};
|
|
9339
|
-
const localVarQueryParameter = {};
|
|
9340
|
-
// authentication ApiKeyAuth required
|
|
9341
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
9342
|
-
// authentication bearerAuth required
|
|
9343
|
-
// http bearer authentication required
|
|
9344
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9345
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9346
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9347
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9348
|
-
return {
|
|
9349
|
-
url: toPathString(localVarUrlObj),
|
|
9350
|
-
options: localVarRequestOptions,
|
|
9351
|
-
};
|
|
9352
|
-
}),
|
|
9353
9250
|
/**
|
|
9354
9251
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9355
9252
|
* @summary Deprecated - Restart container
|
|
@@ -9454,19 +9351,6 @@ export const ContainerActionsApiFp = function (configuration) {
|
|
|
9454
9351
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9455
9352
|
});
|
|
9456
9353
|
},
|
|
9457
|
-
/**
|
|
9458
|
-
*
|
|
9459
|
-
* @summary Redeploy container
|
|
9460
|
-
* @param {string} containerId Container ID
|
|
9461
|
-
* @param {*} [options] Override http request option.
|
|
9462
|
-
* @throws {RequiredError}
|
|
9463
|
-
*/
|
|
9464
|
-
redeployContainer(containerId, options) {
|
|
9465
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9466
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployContainer(containerId, options);
|
|
9467
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9468
|
-
});
|
|
9469
|
-
},
|
|
9470
9354
|
/**
|
|
9471
9355
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9472
9356
|
* @summary Deprecated - Restart container
|
|
@@ -9523,16 +9407,6 @@ export const ContainerActionsApiFactory = function (configuration, basePath, axi
|
|
|
9523
9407
|
rebootContainer(containerId, options) {
|
|
9524
9408
|
return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
|
|
9525
9409
|
},
|
|
9526
|
-
/**
|
|
9527
|
-
*
|
|
9528
|
-
* @summary Redeploy container
|
|
9529
|
-
* @param {string} containerId Container ID
|
|
9530
|
-
* @param {*} [options] Override http request option.
|
|
9531
|
-
* @throws {RequiredError}
|
|
9532
|
-
*/
|
|
9533
|
-
redeployContainer(containerId, options) {
|
|
9534
|
-
return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
|
|
9535
|
-
},
|
|
9536
9410
|
/**
|
|
9537
9411
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9538
9412
|
* @summary Deprecated - Restart container
|
|
@@ -9585,17 +9459,6 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
9585
9459
|
rebootContainer(containerId, options) {
|
|
9586
9460
|
return ContainerActionsApiFp(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
9587
9461
|
}
|
|
9588
|
-
/**
|
|
9589
|
-
*
|
|
9590
|
-
* @summary Redeploy container
|
|
9591
|
-
* @param {string} containerId Container ID
|
|
9592
|
-
* @param {*} [options] Override http request option.
|
|
9593
|
-
* @throws {RequiredError}
|
|
9594
|
-
* @memberof ContainerActionsApi
|
|
9595
|
-
*/
|
|
9596
|
-
redeployContainer(containerId, options) {
|
|
9597
|
-
return ContainerActionsApiFp(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
9598
|
-
}
|
|
9599
9462
|
/**
|
|
9600
9463
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9601
9464
|
* @summary Deprecated - Restart container
|
|
@@ -13687,40 +13550,6 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
13687
13550
|
options: localVarRequestOptions,
|
|
13688
13551
|
};
|
|
13689
13552
|
}),
|
|
13690
|
-
/**
|
|
13691
|
-
*
|
|
13692
|
-
* @summary Redeploy database
|
|
13693
|
-
* @param {string} databaseId Database ID
|
|
13694
|
-
* @param {*} [options] Override http request option.
|
|
13695
|
-
* @throws {RequiredError}
|
|
13696
|
-
*/
|
|
13697
|
-
redeployDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13698
|
-
// verify required parameter 'databaseId' is not null or undefined
|
|
13699
|
-
assertParamExists('redeployDatabase', 'databaseId', databaseId);
|
|
13700
|
-
const localVarPath = `/database/{databaseId}/redeploy`
|
|
13701
|
-
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
13702
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13703
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13704
|
-
let baseOptions;
|
|
13705
|
-
if (configuration) {
|
|
13706
|
-
baseOptions = configuration.baseOptions;
|
|
13707
|
-
}
|
|
13708
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13709
|
-
const localVarHeaderParameter = {};
|
|
13710
|
-
const localVarQueryParameter = {};
|
|
13711
|
-
// authentication ApiKeyAuth required
|
|
13712
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
13713
|
-
// authentication bearerAuth required
|
|
13714
|
-
// http bearer authentication required
|
|
13715
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
13716
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13717
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13718
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13719
|
-
return {
|
|
13720
|
-
url: toPathString(localVarUrlObj),
|
|
13721
|
-
options: localVarRequestOptions,
|
|
13722
|
-
};
|
|
13723
|
-
}),
|
|
13724
13553
|
/**
|
|
13725
13554
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
13726
13555
|
* @summary Deprecated - Restart database
|
|
@@ -13824,19 +13653,6 @@ export const DatabaseActionsApiFp = function (configuration) {
|
|
|
13824
13653
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13825
13654
|
});
|
|
13826
13655
|
},
|
|
13827
|
-
/**
|
|
13828
|
-
*
|
|
13829
|
-
* @summary Redeploy database
|
|
13830
|
-
* @param {string} databaseId Database ID
|
|
13831
|
-
* @param {*} [options] Override http request option.
|
|
13832
|
-
* @throws {RequiredError}
|
|
13833
|
-
*/
|
|
13834
|
-
redeployDatabase(databaseId, options) {
|
|
13835
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13836
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
13837
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13838
|
-
});
|
|
13839
|
-
},
|
|
13840
13656
|
/**
|
|
13841
13657
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
13842
13658
|
* @summary Deprecated - Restart database
|
|
@@ -13892,16 +13708,6 @@ export const DatabaseActionsApiFactory = function (configuration, basePath, axio
|
|
|
13892
13708
|
rebootDatabase(databaseId, options) {
|
|
13893
13709
|
return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
13894
13710
|
},
|
|
13895
|
-
/**
|
|
13896
|
-
*
|
|
13897
|
-
* @summary Redeploy database
|
|
13898
|
-
* @param {string} databaseId Database ID
|
|
13899
|
-
* @param {*} [options] Override http request option.
|
|
13900
|
-
* @throws {RequiredError}
|
|
13901
|
-
*/
|
|
13902
|
-
redeployDatabase(databaseId, options) {
|
|
13903
|
-
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
13904
|
-
},
|
|
13905
13711
|
/**
|
|
13906
13712
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
13907
13713
|
* @summary Deprecated - Restart database
|
|
@@ -13953,17 +13759,6 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
13953
13759
|
rebootDatabase(databaseId, options) {
|
|
13954
13760
|
return DatabaseActionsApiFp(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
13955
13761
|
}
|
|
13956
|
-
/**
|
|
13957
|
-
*
|
|
13958
|
-
* @summary Redeploy database
|
|
13959
|
-
* @param {string} databaseId Database ID
|
|
13960
|
-
* @param {*} [options] Override http request option.
|
|
13961
|
-
* @throws {RequiredError}
|
|
13962
|
-
* @memberof DatabaseActionsApi
|
|
13963
|
-
*/
|
|
13964
|
-
redeployDatabase(databaseId, options) {
|
|
13965
|
-
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
13966
|
-
}
|
|
13967
13762
|
/**
|
|
13968
13763
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
13969
13764
|
* @summary Deprecated - Restart database
|
|
@@ -16190,40 +15985,6 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
16190
15985
|
options: localVarRequestOptions,
|
|
16191
15986
|
};
|
|
16192
15987
|
}),
|
|
16193
|
-
/**
|
|
16194
|
-
*
|
|
16195
|
-
* @summary Redeploy environment
|
|
16196
|
-
* @param {string} environmentId Environment ID
|
|
16197
|
-
* @param {*} [options] Override http request option.
|
|
16198
|
-
* @throws {RequiredError}
|
|
16199
|
-
*/
|
|
16200
|
-
redeployEnvironment: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16201
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
16202
|
-
assertParamExists('redeployEnvironment', 'environmentId', environmentId);
|
|
16203
|
-
const localVarPath = `/environment/{environmentId}/redeploy`
|
|
16204
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16205
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16206
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16207
|
-
let baseOptions;
|
|
16208
|
-
if (configuration) {
|
|
16209
|
-
baseOptions = configuration.baseOptions;
|
|
16210
|
-
}
|
|
16211
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16212
|
-
const localVarHeaderParameter = {};
|
|
16213
|
-
const localVarQueryParameter = {};
|
|
16214
|
-
// authentication ApiKeyAuth required
|
|
16215
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16216
|
-
// authentication bearerAuth required
|
|
16217
|
-
// http bearer authentication required
|
|
16218
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16219
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16220
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16221
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16222
|
-
return {
|
|
16223
|
-
url: toPathString(localVarUrlObj),
|
|
16224
|
-
options: localVarRequestOptions,
|
|
16225
|
-
};
|
|
16226
|
-
}),
|
|
16227
15988
|
/**
|
|
16228
15989
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
16229
15990
|
* @summary Deprecated - Restart environment
|
|
@@ -16420,19 +16181,6 @@ export const EnvironmentActionsApiFp = function (configuration) {
|
|
|
16420
16181
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16421
16182
|
});
|
|
16422
16183
|
},
|
|
16423
|
-
/**
|
|
16424
|
-
*
|
|
16425
|
-
* @summary Redeploy environment
|
|
16426
|
-
* @param {string} environmentId Environment ID
|
|
16427
|
-
* @param {*} [options] Override http request option.
|
|
16428
|
-
* @throws {RequiredError}
|
|
16429
|
-
*/
|
|
16430
|
-
redeployEnvironment(environmentId, options) {
|
|
16431
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
16432
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
|
|
16433
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16434
|
-
});
|
|
16435
|
-
},
|
|
16436
16184
|
/**
|
|
16437
16185
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
16438
16186
|
* @summary Deprecated - Restart environment
|
|
@@ -16546,16 +16294,6 @@ export const EnvironmentActionsApiFactory = function (configuration, basePath, a
|
|
|
16546
16294
|
rebootServices(environmentId, rebootServicesRequest, options) {
|
|
16547
16295
|
return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
|
|
16548
16296
|
},
|
|
16549
|
-
/**
|
|
16550
|
-
*
|
|
16551
|
-
* @summary Redeploy environment
|
|
16552
|
-
* @param {string} environmentId Environment ID
|
|
16553
|
-
* @param {*} [options] Override http request option.
|
|
16554
|
-
* @throws {RequiredError}
|
|
16555
|
-
*/
|
|
16556
|
-
redeployEnvironment(environmentId, options) {
|
|
16557
|
-
return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
16558
|
-
},
|
|
16559
16297
|
/**
|
|
16560
16298
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
16561
16299
|
* @summary Deprecated - Restart environment
|
|
@@ -16666,17 +16404,6 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
16666
16404
|
rebootServices(environmentId, rebootServicesRequest, options) {
|
|
16667
16405
|
return EnvironmentActionsApiFp(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16668
16406
|
}
|
|
16669
|
-
/**
|
|
16670
|
-
*
|
|
16671
|
-
* @summary Redeploy environment
|
|
16672
|
-
* @param {string} environmentId Environment ID
|
|
16673
|
-
* @param {*} [options] Override http request option.
|
|
16674
|
-
* @throws {RequiredError}
|
|
16675
|
-
* @memberof EnvironmentActionsApi
|
|
16676
|
-
*/
|
|
16677
|
-
redeployEnvironment(environmentId, options) {
|
|
16678
|
-
return EnvironmentActionsApiFp(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16679
|
-
}
|
|
16680
16407
|
/**
|
|
16681
16408
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
16682
16409
|
* @summary Deprecated - Restart environment
|
|
@@ -19782,44 +19509,6 @@ export const HelmActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19782
19509
|
options: localVarRequestOptions,
|
|
19783
19510
|
};
|
|
19784
19511
|
}),
|
|
19785
|
-
/**
|
|
19786
|
-
*
|
|
19787
|
-
* @summary Redeploy helm
|
|
19788
|
-
* @param {string} helmId Helm ID
|
|
19789
|
-
* @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.
|
|
19790
|
-
* @param {*} [options] Override http request option.
|
|
19791
|
-
* @throws {RequiredError}
|
|
19792
|
-
*/
|
|
19793
|
-
redeployHelm: (helmId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
19794
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
19795
|
-
assertParamExists('redeployHelm', 'helmId', helmId);
|
|
19796
|
-
const localVarPath = `/helm/{helmId}/redeploy`
|
|
19797
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
19798
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19799
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19800
|
-
let baseOptions;
|
|
19801
|
-
if (configuration) {
|
|
19802
|
-
baseOptions = configuration.baseOptions;
|
|
19803
|
-
}
|
|
19804
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
19805
|
-
const localVarHeaderParameter = {};
|
|
19806
|
-
const localVarQueryParameter = {};
|
|
19807
|
-
// authentication ApiKeyAuth required
|
|
19808
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
19809
|
-
// authentication bearerAuth required
|
|
19810
|
-
// http bearer authentication required
|
|
19811
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19812
|
-
if (forceEvent !== undefined) {
|
|
19813
|
-
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
19814
|
-
}
|
|
19815
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19816
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19817
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19818
|
-
return {
|
|
19819
|
-
url: toPathString(localVarUrlObj),
|
|
19820
|
-
options: localVarRequestOptions,
|
|
19821
|
-
};
|
|
19822
|
-
}),
|
|
19823
19512
|
/**
|
|
19824
19513
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
19825
19514
|
* @summary Deprecated - Restart helm
|
|
@@ -19916,20 +19605,6 @@ export const HelmActionsApiFp = function (configuration) {
|
|
|
19916
19605
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19917
19606
|
});
|
|
19918
19607
|
},
|
|
19919
|
-
/**
|
|
19920
|
-
*
|
|
19921
|
-
* @summary Redeploy helm
|
|
19922
|
-
* @param {string} helmId Helm ID
|
|
19923
|
-
* @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.
|
|
19924
|
-
* @param {*} [options] Override http request option.
|
|
19925
|
-
* @throws {RequiredError}
|
|
19926
|
-
*/
|
|
19927
|
-
redeployHelm(helmId, forceEvent, options) {
|
|
19928
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
19929
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployHelm(helmId, forceEvent, options);
|
|
19930
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19931
|
-
});
|
|
19932
|
-
},
|
|
19933
19608
|
/**
|
|
19934
19609
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
19935
19610
|
* @summary Deprecated - Restart helm
|
|
@@ -19978,17 +19653,6 @@ export const HelmActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
19978
19653
|
deployHelm(helmId, forceEvent, helmDeployRequest, options) {
|
|
19979
19654
|
return localVarFp.deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(axios, basePath));
|
|
19980
19655
|
},
|
|
19981
|
-
/**
|
|
19982
|
-
*
|
|
19983
|
-
* @summary Redeploy helm
|
|
19984
|
-
* @param {string} helmId Helm ID
|
|
19985
|
-
* @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.
|
|
19986
|
-
* @param {*} [options] Override http request option.
|
|
19987
|
-
* @throws {RequiredError}
|
|
19988
|
-
*/
|
|
19989
|
-
redeployHelm(helmId, forceEvent, options) {
|
|
19990
|
-
return localVarFp.redeployHelm(helmId, forceEvent, options).then((request) => request(axios, basePath));
|
|
19991
|
-
},
|
|
19992
19656
|
/**
|
|
19993
19657
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
19994
19658
|
* @summary Deprecated - Restart helm
|
|
@@ -20032,18 +19696,6 @@ export class HelmActionsApi extends BaseAPI {
|
|
|
20032
19696
|
deployHelm(helmId, forceEvent, helmDeployRequest, options) {
|
|
20033
19697
|
return HelmActionsApiFp(this.configuration).deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
20034
19698
|
}
|
|
20035
|
-
/**
|
|
20036
|
-
*
|
|
20037
|
-
* @summary Redeploy helm
|
|
20038
|
-
* @param {string} helmId Helm ID
|
|
20039
|
-
* @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.
|
|
20040
|
-
* @param {*} [options] Override http request option.
|
|
20041
|
-
* @throws {RequiredError}
|
|
20042
|
-
* @memberof HelmActionsApi
|
|
20043
|
-
*/
|
|
20044
|
-
redeployHelm(helmId, forceEvent, options) {
|
|
20045
|
-
return HelmActionsApiFp(this.configuration).redeployHelm(helmId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
20046
|
-
}
|
|
20047
19699
|
/**
|
|
20048
19700
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
20049
19701
|
* @summary Deprecated - Restart helm
|
|
@@ -22366,44 +22018,6 @@ export const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
22366
22018
|
options: localVarRequestOptions,
|
|
22367
22019
|
};
|
|
22368
22020
|
}),
|
|
22369
|
-
/**
|
|
22370
|
-
*
|
|
22371
|
-
* @summary Redeploy job
|
|
22372
|
-
* @param {string} jobId Job ID
|
|
22373
|
-
* @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.
|
|
22374
|
-
* @param {*} [options] Override http request option.
|
|
22375
|
-
* @throws {RequiredError}
|
|
22376
|
-
*/
|
|
22377
|
-
redeployJob: (jobId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22378
|
-
// verify required parameter 'jobId' is not null or undefined
|
|
22379
|
-
assertParamExists('redeployJob', 'jobId', jobId);
|
|
22380
|
-
const localVarPath = `/job/{jobId}/redeploy`
|
|
22381
|
-
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
22382
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22383
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22384
|
-
let baseOptions;
|
|
22385
|
-
if (configuration) {
|
|
22386
|
-
baseOptions = configuration.baseOptions;
|
|
22387
|
-
}
|
|
22388
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
22389
|
-
const localVarHeaderParameter = {};
|
|
22390
|
-
const localVarQueryParameter = {};
|
|
22391
|
-
// authentication ApiKeyAuth required
|
|
22392
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
22393
|
-
// authentication bearerAuth required
|
|
22394
|
-
// http bearer authentication required
|
|
22395
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
22396
|
-
if (forceEvent !== undefined) {
|
|
22397
|
-
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
22398
|
-
}
|
|
22399
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22400
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22401
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22402
|
-
return {
|
|
22403
|
-
url: toPathString(localVarUrlObj),
|
|
22404
|
-
options: localVarRequestOptions,
|
|
22405
|
-
};
|
|
22406
|
-
}),
|
|
22407
22021
|
/**
|
|
22408
22022
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
22409
22023
|
* @summary Deprecated - Restart job
|
|
@@ -22500,20 +22114,6 @@ export const JobActionsApiFp = function (configuration) {
|
|
|
22500
22114
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22501
22115
|
});
|
|
22502
22116
|
},
|
|
22503
|
-
/**
|
|
22504
|
-
*
|
|
22505
|
-
* @summary Redeploy job
|
|
22506
|
-
* @param {string} jobId Job ID
|
|
22507
|
-
* @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.
|
|
22508
|
-
* @param {*} [options] Override http request option.
|
|
22509
|
-
* @throws {RequiredError}
|
|
22510
|
-
*/
|
|
22511
|
-
redeployJob(jobId, forceEvent, options) {
|
|
22512
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22513
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
|
|
22514
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22515
|
-
});
|
|
22516
|
-
},
|
|
22517
22117
|
/**
|
|
22518
22118
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
22519
22119
|
* @summary Deprecated - Restart job
|
|
@@ -22562,17 +22162,6 @@ export const JobActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
22562
22162
|
deployJob(jobId, forceEvent, jobDeployRequest, options) {
|
|
22563
22163
|
return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
22564
22164
|
},
|
|
22565
|
-
/**
|
|
22566
|
-
*
|
|
22567
|
-
* @summary Redeploy job
|
|
22568
|
-
* @param {string} jobId Job ID
|
|
22569
|
-
* @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.
|
|
22570
|
-
* @param {*} [options] Override http request option.
|
|
22571
|
-
* @throws {RequiredError}
|
|
22572
|
-
*/
|
|
22573
|
-
redeployJob(jobId, forceEvent, options) {
|
|
22574
|
-
return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
22575
|
-
},
|
|
22576
22165
|
/**
|
|
22577
22166
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
22578
22167
|
* @summary Deprecated - Restart job
|
|
@@ -22616,18 +22205,6 @@ export class JobActionsApi extends BaseAPI {
|
|
|
22616
22205
|
deployJob(jobId, forceEvent, jobDeployRequest, options) {
|
|
22617
22206
|
return JobActionsApiFp(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22618
22207
|
}
|
|
22619
|
-
/**
|
|
22620
|
-
*
|
|
22621
|
-
* @summary Redeploy job
|
|
22622
|
-
* @param {string} jobId Job ID
|
|
22623
|
-
* @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.
|
|
22624
|
-
* @param {*} [options] Override http request option.
|
|
22625
|
-
* @throws {RequiredError}
|
|
22626
|
-
* @memberof JobActionsApi
|
|
22627
|
-
*/
|
|
22628
|
-
redeployJob(jobId, forceEvent, options) {
|
|
22629
|
-
return JobActionsApiFp(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
22630
|
-
}
|
|
22631
22208
|
/**
|
|
22632
22209
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
22633
22210
|
* @summary Deprecated - Restart job
|