@openshift-migration-advisor/agent-sdk 0.12.0-1f1dc16fb9e5 → 0.12.0-d4bdc4301890

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.
Files changed (92) hide show
  1. package/.openapi-generator/FILES +0 -26
  2. package/README.md +2 -25
  3. package/dist/apis/DefaultApi.d.ts +0 -376
  4. package/dist/apis/DefaultApi.js +0 -409
  5. package/dist/esm/apis/DefaultApi.d.ts +0 -376
  6. package/dist/esm/apis/DefaultApi.js +0 -409
  7. package/dist/esm/models/index.d.ts +0 -13
  8. package/dist/esm/models/index.js +0 -13
  9. package/dist/models/index.d.ts +0 -13
  10. package/dist/models/index.js +0 -13
  11. package/docs/DefaultApi.md +55 -736
  12. package/package.json +1 -1
  13. package/src/apis/DefaultApi.ts +0 -767
  14. package/src/models/index.ts +0 -13
  15. package/dist/esm/models/BenchmarkRun.d.ts +0 -104
  16. package/dist/esm/models/BenchmarkRun.js +0 -85
  17. package/dist/esm/models/DatastoreDetail.d.ts +0 -90
  18. package/dist/esm/models/DatastoreDetail.js +0 -74
  19. package/dist/esm/models/DatastorePair.d.ts +0 -50
  20. package/dist/esm/models/DatastorePair.js +0 -53
  21. package/dist/esm/models/EstimateRange.d.ts +0 -44
  22. package/dist/esm/models/EstimateRange.js +0 -45
  23. package/dist/esm/models/ForecastStats.d.ts +0 -87
  24. package/dist/esm/models/ForecastStats.js +0 -64
  25. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -33
  26. package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
  27. package/dist/esm/models/ForecasterPairStatus.d.ts +0 -98
  28. package/dist/esm/models/ForecasterPairStatus.js +0 -82
  29. package/dist/esm/models/ForecasterStartRequest.d.ts +0 -58
  30. package/dist/esm/models/ForecasterStartRequest.js +0 -53
  31. package/dist/esm/models/ForecasterStatus.d.ts +0 -47
  32. package/dist/esm/models/ForecasterStatus.js +0 -53
  33. package/dist/esm/models/PairCapability.d.ts +0 -60
  34. package/dist/esm/models/PairCapability.js +0 -64
  35. package/dist/esm/models/PairCapabilityRequest.d.ts +0 -40
  36. package/dist/esm/models/PairCapabilityRequest.js +0 -47
  37. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -38
  38. package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
  39. package/dist/esm/models/StopForecasterPair202Response.d.ts +0 -45
  40. package/dist/esm/models/StopForecasterPair202Response.js +0 -49
  41. package/dist/models/BenchmarkRun.d.ts +0 -104
  42. package/dist/models/BenchmarkRun.js +0 -92
  43. package/dist/models/DatastoreDetail.d.ts +0 -90
  44. package/dist/models/DatastoreDetail.js +0 -82
  45. package/dist/models/DatastorePair.d.ts +0 -50
  46. package/dist/models/DatastorePair.js +0 -60
  47. package/dist/models/EstimateRange.d.ts +0 -44
  48. package/dist/models/EstimateRange.js +0 -52
  49. package/dist/models/ForecastStats.d.ts +0 -87
  50. package/dist/models/ForecastStats.js +0 -71
  51. package/dist/models/ForecasterDatastoresRequest.d.ts +0 -33
  52. package/dist/models/ForecasterDatastoresRequest.js +0 -49
  53. package/dist/models/ForecasterPairStatus.d.ts +0 -98
  54. package/dist/models/ForecasterPairStatus.js +0 -90
  55. package/dist/models/ForecasterStartRequest.d.ts +0 -58
  56. package/dist/models/ForecasterStartRequest.js +0 -60
  57. package/dist/models/ForecasterStatus.d.ts +0 -47
  58. package/dist/models/ForecasterStatus.js +0 -61
  59. package/dist/models/PairCapability.d.ts +0 -60
  60. package/dist/models/PairCapability.js +0 -72
  61. package/dist/models/PairCapabilityRequest.d.ts +0 -40
  62. package/dist/models/PairCapabilityRequest.js +0 -54
  63. package/dist/models/PutForecasterCredentials403Response.d.ts +0 -38
  64. package/dist/models/PutForecasterCredentials403Response.js +0 -50
  65. package/dist/models/StopForecasterPair202Response.d.ts +0 -45
  66. package/dist/models/StopForecasterPair202Response.js +0 -57
  67. package/docs/BenchmarkRun.md +0 -58
  68. package/docs/DatastoreDetail.md +0 -50
  69. package/docs/DatastorePair.md +0 -40
  70. package/docs/EstimateRange.md +0 -39
  71. package/docs/ForecastStats.md +0 -52
  72. package/docs/ForecasterDatastoresRequest.md +0 -34
  73. package/docs/ForecasterPairStatus.md +0 -52
  74. package/docs/ForecasterStartRequest.md +0 -42
  75. package/docs/ForecasterStatus.md +0 -36
  76. package/docs/PairCapability.md +0 -40
  77. package/docs/PairCapabilityRequest.md +0 -36
  78. package/docs/PutForecasterCredentials403Response.md +0 -36
  79. package/docs/StopForecasterPair202Response.md +0 -36
  80. package/src/models/BenchmarkRun.ts +0 -171
  81. package/src/models/DatastoreDetail.ts +0 -146
  82. package/src/models/DatastorePair.ts +0 -92
  83. package/src/models/EstimateRange.ts +0 -81
  84. package/src/models/ForecastStats.ts +0 -147
  85. package/src/models/ForecasterDatastoresRequest.ts +0 -73
  86. package/src/models/ForecasterPairStatus.ts +0 -158
  87. package/src/models/ForecasterStartRequest.ts +0 -113
  88. package/src/models/ForecasterStatus.ts +0 -93
  89. package/src/models/PairCapability.ts +0 -106
  90. package/src/models/PairCapabilityRequest.ts +0 -89
  91. package/src/models/PutForecasterCredentials403Response.ts +0 -73
  92. package/src/models/StopForecasterPair202Response.ts +0 -83
@@ -26,28 +26,19 @@ exports.DefaultApi = void 0;
26
26
  const runtime = require("../runtime.js");
27
27
  const AgentModeRequest_js_1 = require("../models/AgentModeRequest.js");
28
28
  const AgentStatus_js_1 = require("../models/AgentStatus.js");
29
- const BenchmarkRun_js_1 = require("../models/BenchmarkRun.js");
30
29
  const CollectorStartRequest_js_1 = require("../models/CollectorStartRequest.js");
31
30
  const CollectorStatus_js_1 = require("../models/CollectorStatus.js");
32
31
  const CreateGroupRequest_js_1 = require("../models/CreateGroupRequest.js");
33
- const DatastoreDetail_js_1 = require("../models/DatastoreDetail.js");
34
- const ForecastStats_js_1 = require("../models/ForecastStats.js");
35
- const ForecasterDatastoresRequest_js_1 = require("../models/ForecasterDatastoresRequest.js");
36
- const ForecasterStartRequest_js_1 = require("../models/ForecasterStartRequest.js");
37
- const ForecasterStatus_js_1 = require("../models/ForecasterStatus.js");
38
32
  const GetInventory200Response_js_1 = require("../models/GetInventory200Response.js");
39
33
  const Group_js_1 = require("../models/Group.js");
40
34
  const GroupListResponse_js_1 = require("../models/GroupListResponse.js");
41
35
  const GroupResponse_js_1 = require("../models/GroupResponse.js");
42
36
  const InspectorStatus_js_1 = require("../models/InspectorStatus.js");
43
- const PairCapability_js_1 = require("../models/PairCapability.js");
44
- const PairCapabilityRequest_js_1 = require("../models/PairCapabilityRequest.js");
45
37
  const RightsizingCollectRequest_js_1 = require("../models/RightsizingCollectRequest.js");
46
38
  const RightsizingReport_js_1 = require("../models/RightsizingReport.js");
47
39
  const RightsizingReportListResponse_js_1 = require("../models/RightsizingReportListResponse.js");
48
40
  const RightsizingReportSummary_js_1 = require("../models/RightsizingReportSummary.js");
49
41
  const StartInspectionRequest_js_1 = require("../models/StartInspectionRequest.js");
50
- const StopForecasterPair202Response_js_1 = require("../models/StopForecasterPair202Response.js");
51
42
  const UpdateGroupRequest_js_1 = require("../models/UpdateGroupRequest.js");
52
43
  const VcenterCredentials_js_1 = require("../models/VcenterCredentials.js");
53
44
  const VddkProperties_js_1 = require("../models/VddkProperties.js");
@@ -100,44 +91,6 @@ class DefaultApi extends runtime.BaseAPI {
100
91
  return yield response.value();
101
92
  });
102
93
  }
103
- /**
104
- * Creates request options for deleteForecasterRun without sending the request
105
- */
106
- deleteForecasterRunRequestOpts(requestParameters) {
107
- return __awaiter(this, void 0, void 0, function* () {
108
- if (requestParameters['id'] == null) {
109
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteForecasterRun().');
110
- }
111
- const queryParameters = {};
112
- const headerParameters = {};
113
- let urlPath = `/forecaster/runs/{id}`;
114
- urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
115
- return {
116
- path: urlPath,
117
- method: 'DELETE',
118
- headers: headerParameters,
119
- query: queryParameters,
120
- };
121
- });
122
- }
123
- /**
124
- * Delete a benchmark run
125
- */
126
- deleteForecasterRunRaw(requestParameters, initOverrides) {
127
- return __awaiter(this, void 0, void 0, function* () {
128
- const requestOptions = yield this.deleteForecasterRunRequestOpts(requestParameters);
129
- const response = yield this.request(requestOptions, initOverrides);
130
- return new runtime.VoidApiResponse(response);
131
- });
132
- }
133
- /**
134
- * Delete a benchmark run
135
- */
136
- deleteForecasterRun(requestParameters, initOverrides) {
137
- return __awaiter(this, void 0, void 0, function* () {
138
- yield this.deleteForecasterRunRaw(requestParameters, initOverrides);
139
- });
140
- }
141
94
  /**
142
95
  * Creates request options for deleteGroup without sending the request
143
96
  */
@@ -246,165 +199,6 @@ class DefaultApi extends runtime.BaseAPI {
246
199
  return yield response.value();
247
200
  });
248
201
  }
249
- /**
250
- * Creates request options for getForecasterDatastores without sending the request
251
- */
252
- getForecasterDatastoresRequestOpts(requestParameters) {
253
- return __awaiter(this, void 0, void 0, function* () {
254
- const queryParameters = {};
255
- const headerParameters = {};
256
- headerParameters['Content-Type'] = 'application/json';
257
- let urlPath = `/forecaster/datastores`;
258
- return {
259
- path: urlPath,
260
- method: 'POST',
261
- headers: headerParameters,
262
- query: queryParameters,
263
- body: (0, ForecasterDatastoresRequest_js_1.ForecasterDatastoresRequestToJSON)(requestParameters['forecasterDatastoresRequest']),
264
- };
265
- });
266
- }
267
- /**
268
- * Returns datastores from the forklift-collected inventory with storage vendor and capability information derived from NAA device identifiers. No vSphere credentials are required.
269
- * List available datastores
270
- */
271
- getForecasterDatastoresRaw(requestParameters, initOverrides) {
272
- return __awaiter(this, void 0, void 0, function* () {
273
- const requestOptions = yield this.getForecasterDatastoresRequestOpts(requestParameters);
274
- const response = yield this.request(requestOptions, initOverrides);
275
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(DatastoreDetail_js_1.DatastoreDetailFromJSON));
276
- });
277
- }
278
- /**
279
- * Returns datastores from the forklift-collected inventory with storage vendor and capability information derived from NAA device identifiers. No vSphere credentials are required.
280
- * List available datastores
281
- */
282
- getForecasterDatastores() {
283
- return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
284
- const response = yield this.getForecasterDatastoresRaw(requestParameters, initOverrides);
285
- return yield response.value();
286
- });
287
- }
288
- /**
289
- * Creates request options for getForecasterRuns without sending the request
290
- */
291
- getForecasterRunsRequestOpts(requestParameters) {
292
- return __awaiter(this, void 0, void 0, function* () {
293
- const queryParameters = {};
294
- if (requestParameters['pairName'] != null) {
295
- queryParameters['pairName'] = requestParameters['pairName'];
296
- }
297
- const headerParameters = {};
298
- let urlPath = `/forecaster/runs`;
299
- return {
300
- path: urlPath,
301
- method: 'GET',
302
- headers: headerParameters,
303
- query: queryParameters,
304
- };
305
- });
306
- }
307
- /**
308
- * Returns individual benchmark iterations. Optionally filtered by pair name.
309
- * List benchmark runs
310
- */
311
- getForecasterRunsRaw(requestParameters, initOverrides) {
312
- return __awaiter(this, void 0, void 0, function* () {
313
- const requestOptions = yield this.getForecasterRunsRequestOpts(requestParameters);
314
- const response = yield this.request(requestOptions, initOverrides);
315
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(BenchmarkRun_js_1.BenchmarkRunFromJSON));
316
- });
317
- }
318
- /**
319
- * Returns individual benchmark iterations. Optionally filtered by pair name.
320
- * List benchmark runs
321
- */
322
- getForecasterRuns() {
323
- return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
324
- const response = yield this.getForecasterRunsRaw(requestParameters, initOverrides);
325
- return yield response.value();
326
- });
327
- }
328
- /**
329
- * Creates request options for getForecasterStats without sending the request
330
- */
331
- getForecasterStatsRequestOpts(requestParameters) {
332
- return __awaiter(this, void 0, void 0, function* () {
333
- if (requestParameters['pairName'] == null) {
334
- throw new runtime.RequiredError('pairName', 'Required parameter "pairName" was null or undefined when calling getForecasterStats().');
335
- }
336
- const queryParameters = {};
337
- if (requestParameters['pairName'] != null) {
338
- queryParameters['pairName'] = requestParameters['pairName'];
339
- }
340
- const headerParameters = {};
341
- let urlPath = `/forecaster/stats`;
342
- return {
343
- path: urlPath,
344
- method: 'GET',
345
- headers: headerParameters,
346
- query: queryParameters,
347
- };
348
- });
349
- }
350
- /**
351
- * Returns computed statistics for a datastore pair\'s benchmark results. Primary endpoint for the UI to display migration time estimates.
352
- * Get throughput statistics
353
- */
354
- getForecasterStatsRaw(requestParameters, initOverrides) {
355
- return __awaiter(this, void 0, void 0, function* () {
356
- const requestOptions = yield this.getForecasterStatsRequestOpts(requestParameters);
357
- const response = yield this.request(requestOptions, initOverrides);
358
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, ForecastStats_js_1.ForecastStatsFromJSON)(jsonValue));
359
- });
360
- }
361
- /**
362
- * Returns computed statistics for a datastore pair\'s benchmark results. Primary endpoint for the UI to display migration time estimates.
363
- * Get throughput statistics
364
- */
365
- getForecasterStats(requestParameters, initOverrides) {
366
- return __awaiter(this, void 0, void 0, function* () {
367
- const response = yield this.getForecasterStatsRaw(requestParameters, initOverrides);
368
- return yield response.value();
369
- });
370
- }
371
- /**
372
- * Creates request options for getForecasterStatus without sending the request
373
- */
374
- getForecasterStatusRequestOpts() {
375
- return __awaiter(this, void 0, void 0, function* () {
376
- const queryParameters = {};
377
- const headerParameters = {};
378
- let urlPath = `/forecaster`;
379
- return {
380
- path: urlPath,
381
- method: 'GET',
382
- headers: headerParameters,
383
- query: queryParameters,
384
- };
385
- });
386
- }
387
- /**
388
- * Returns current service state with per-pair progress details.
389
- * Poll forecaster status
390
- */
391
- getForecasterStatusRaw(initOverrides) {
392
- return __awaiter(this, void 0, void 0, function* () {
393
- const requestOptions = yield this.getForecasterStatusRequestOpts();
394
- const response = yield this.request(requestOptions, initOverrides);
395
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, ForecasterStatus_js_1.ForecasterStatusFromJSON)(jsonValue));
396
- });
397
- }
398
- /**
399
- * Returns current service state with per-pair progress details.
400
- * Poll forecaster status
401
- */
402
- getForecasterStatus(initOverrides) {
403
- return __awaiter(this, void 0, void 0, function* () {
404
- const response = yield this.getForecasterStatusRaw(initOverrides);
405
- return yield response.value();
406
- });
407
- }
408
202
  /**
409
203
  * Creates request options for getGroup without sending the request
410
204
  */
@@ -848,89 +642,6 @@ class DefaultApi extends runtime.BaseAPI {
848
642
  return yield response.value();
849
643
  });
850
644
  }
851
- /**
852
- * Creates request options for postForecasterPairCapabilities without sending the request
853
- */
854
- postForecasterPairCapabilitiesRequestOpts(requestParameters) {
855
- return __awaiter(this, void 0, void 0, function* () {
856
- if (requestParameters['pairCapabilityRequest'] == null) {
857
- throw new runtime.RequiredError('pairCapabilityRequest', 'Required parameter "pairCapabilityRequest" was null or undefined when calling postForecasterPairCapabilities().');
858
- }
859
- const queryParameters = {};
860
- const headerParameters = {};
861
- headerParameters['Content-Type'] = 'application/json';
862
- let urlPath = `/forecaster/capabilities`;
863
- return {
864
- path: urlPath,
865
- method: 'POST',
866
- headers: headerParameters,
867
- query: queryParameters,
868
- body: (0, PairCapabilityRequest_js_1.PairCapabilityRequestToJSON)(requestParameters['pairCapabilityRequest']),
869
- };
870
- });
871
- }
872
- /**
873
- * Computes which offload methods are feasible for specific source-target datastore pairs based on vendor support and storage array topology derived from the forklift-collected inventory. No vSphere credentials are required.
874
- * Compute pair capabilities
875
- */
876
- postForecasterPairCapabilitiesRaw(requestParameters, initOverrides) {
877
- return __awaiter(this, void 0, void 0, function* () {
878
- const requestOptions = yield this.postForecasterPairCapabilitiesRequestOpts(requestParameters);
879
- const response = yield this.request(requestOptions, initOverrides);
880
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(PairCapability_js_1.PairCapabilityFromJSON));
881
- });
882
- }
883
- /**
884
- * Computes which offload methods are feasible for specific source-target datastore pairs based on vendor support and storage array topology derived from the forklift-collected inventory. No vSphere credentials are required.
885
- * Compute pair capabilities
886
- */
887
- postForecasterPairCapabilities(requestParameters, initOverrides) {
888
- return __awaiter(this, void 0, void 0, function* () {
889
- const response = yield this.postForecasterPairCapabilitiesRaw(requestParameters, initOverrides);
890
- return yield response.value();
891
- });
892
- }
893
- /**
894
- * Creates request options for putForecasterCredentials without sending the request
895
- */
896
- putForecasterCredentialsRequestOpts(requestParameters) {
897
- return __awaiter(this, void 0, void 0, function* () {
898
- if (requestParameters['vcenterCredentials'] == null) {
899
- throw new runtime.RequiredError('vcenterCredentials', 'Required parameter "vcenterCredentials" was null or undefined when calling putForecasterCredentials().');
900
- }
901
- const queryParameters = {};
902
- const headerParameters = {};
903
- headerParameters['Content-Type'] = 'application/json';
904
- let urlPath = `/forecaster/credentials`;
905
- return {
906
- path: urlPath,
907
- method: 'PUT',
908
- headers: headerParameters,
909
- query: queryParameters,
910
- body: (0, VcenterCredentials_js_1.VcenterCredentialsToJSON)(requestParameters['vcenterCredentials']),
911
- };
912
- });
913
- }
914
- /**
915
- * Validates vCenter connectivity and verifies the user has the required vSphere privileges for forecaster operations (datastore file management, VM provisioning, disk cloning). Verification only — credentials are not saved.
916
- * Verify vCenter credentials and permissions
917
- */
918
- putForecasterCredentialsRaw(requestParameters, initOverrides) {
919
- return __awaiter(this, void 0, void 0, function* () {
920
- const requestOptions = yield this.putForecasterCredentialsRequestOpts(requestParameters);
921
- const response = yield this.request(requestOptions, initOverrides);
922
- return new runtime.VoidApiResponse(response);
923
- });
924
- }
925
- /**
926
- * Validates vCenter connectivity and verifies the user has the required vSphere privileges for forecaster operations (datastore file management, VM provisioning, disk cloning). Verification only — credentials are not saved.
927
- * Verify vCenter credentials and permissions
928
- */
929
- putForecasterCredentials(requestParameters, initOverrides) {
930
- return __awaiter(this, void 0, void 0, function* () {
931
- yield this.putForecasterCredentialsRaw(requestParameters, initOverrides);
932
- });
933
- }
934
645
  /**
935
646
  * Creates request options for putInspectorCredentials without sending the request
936
647
  */
@@ -1146,48 +857,6 @@ class DefaultApi extends runtime.BaseAPI {
1146
857
  return yield response.value();
1147
858
  });
1148
859
  }
1149
- /**
1150
- * Creates request options for startForecaster without sending the request
1151
- */
1152
- startForecasterRequestOpts(requestParameters) {
1153
- return __awaiter(this, void 0, void 0, function* () {
1154
- if (requestParameters['forecasterStartRequest'] == null) {
1155
- throw new runtime.RequiredError('forecasterStartRequest', 'Required parameter "forecasterStartRequest" was null or undefined when calling startForecaster().');
1156
- }
1157
- const queryParameters = {};
1158
- const headerParameters = {};
1159
- headerParameters['Content-Type'] = 'application/json';
1160
- let urlPath = `/forecaster`;
1161
- return {
1162
- path: urlPath,
1163
- method: 'POST',
1164
- headers: headerParameters,
1165
- query: queryParameters,
1166
- body: (0, ForecasterStartRequest_js_1.ForecasterStartRequestToJSON)(requestParameters['forecasterStartRequest']),
1167
- };
1168
- });
1169
- }
1170
- /**
1171
- * Starts async benchmarking for one or more datastore pairs. Credentials can be passed inline or omitted if previously provided in an earlier request.
1172
- * Start benchmark
1173
- */
1174
- startForecasterRaw(requestParameters, initOverrides) {
1175
- return __awaiter(this, void 0, void 0, function* () {
1176
- const requestOptions = yield this.startForecasterRequestOpts(requestParameters);
1177
- const response = yield this.request(requestOptions, initOverrides);
1178
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, ForecasterStatus_js_1.ForecasterStatusFromJSON)(jsonValue));
1179
- });
1180
- }
1181
- /**
1182
- * Starts async benchmarking for one or more datastore pairs. Credentials can be passed inline or omitted if previously provided in an earlier request.
1183
- * Start benchmark
1184
- */
1185
- startForecaster(requestParameters, initOverrides) {
1186
- return __awaiter(this, void 0, void 0, function* () {
1187
- const response = yield this.startForecasterRaw(requestParameters, initOverrides);
1188
- return yield response.value();
1189
- });
1190
- }
1191
860
  /**
1192
861
  * Creates request options for startInspection without sending the request
1193
862
  */
@@ -1262,84 +931,6 @@ class DefaultApi extends runtime.BaseAPI {
1262
931
  yield this.stopCollectorRaw(initOverrides);
1263
932
  });
1264
933
  }
1265
- /**
1266
- * Creates request options for stopForecaster without sending the request
1267
- */
1268
- stopForecasterRequestOpts() {
1269
- return __awaiter(this, void 0, void 0, function* () {
1270
- const queryParameters = {};
1271
- const headerParameters = {};
1272
- let urlPath = `/forecaster`;
1273
- return {
1274
- path: urlPath,
1275
- method: 'DELETE',
1276
- headers: headerParameters,
1277
- query: queryParameters,
1278
- };
1279
- });
1280
- }
1281
- /**
1282
- * Stops the running benchmark. Already-completed runs are preserved in the database.
1283
- * Cancel benchmark
1284
- */
1285
- stopForecasterRaw(initOverrides) {
1286
- return __awaiter(this, void 0, void 0, function* () {
1287
- const requestOptions = yield this.stopForecasterRequestOpts();
1288
- const response = yield this.request(requestOptions, initOverrides);
1289
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, ForecasterStatus_js_1.ForecasterStatusFromJSON)(jsonValue));
1290
- });
1291
- }
1292
- /**
1293
- * Stops the running benchmark. Already-completed runs are preserved in the database.
1294
- * Cancel benchmark
1295
- */
1296
- stopForecaster(initOverrides) {
1297
- return __awaiter(this, void 0, void 0, function* () {
1298
- const response = yield this.stopForecasterRaw(initOverrides);
1299
- return yield response.value();
1300
- });
1301
- }
1302
- /**
1303
- * Creates request options for stopForecasterPair without sending the request
1304
- */
1305
- stopForecasterPairRequestOpts(requestParameters) {
1306
- return __awaiter(this, void 0, void 0, function* () {
1307
- if (requestParameters['name'] == null) {
1308
- throw new runtime.RequiredError('name', 'Required parameter "name" was null or undefined when calling stopForecasterPair().');
1309
- }
1310
- const queryParameters = {};
1311
- const headerParameters = {};
1312
- let urlPath = `/forecaster/pairs/{name}`;
1313
- urlPath = urlPath.replace('{name}', encodeURIComponent(String(requestParameters['name'])));
1314
- return {
1315
- path: urlPath,
1316
- method: 'DELETE',
1317
- headers: headerParameters,
1318
- query: queryParameters,
1319
- };
1320
- });
1321
- }
1322
- /**
1323
- * Cancels the benchmark for a specific pair by name. The forecaster continues running if other pairs are still active.
1324
- * Cancel a single pair
1325
- */
1326
- stopForecasterPairRaw(requestParameters, initOverrides) {
1327
- return __awaiter(this, void 0, void 0, function* () {
1328
- const requestOptions = yield this.stopForecasterPairRequestOpts(requestParameters);
1329
- const response = yield this.request(requestOptions, initOverrides);
1330
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, StopForecasterPair202Response_js_1.StopForecasterPair202ResponseFromJSON)(jsonValue));
1331
- });
1332
- }
1333
- /**
1334
- * Cancels the benchmark for a specific pair by name. The forecaster continues running if other pairs are still active.
1335
- * Cancel a single pair
1336
- */
1337
- stopForecasterPair(requestParameters, initOverrides) {
1338
- return __awaiter(this, void 0, void 0, function* () {
1339
- const response = yield this.stopForecasterPairRaw(requestParameters, initOverrides);
1340
- return yield response.value();
1341
- });
1342
- }
1343
934
  /**
1344
935
  * Creates request options for stopInspection without sending the request
1345
936
  */