@cosmotech/api-ts 5.0.0-beta5 → 5.0.0-rc1

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 (46) hide show
  1. package/.github/workflows/publish.yaml +10 -8
  2. package/.github/workflows/track_dependencies.yml +3 -0
  3. package/.openapi-generator/FILES +1 -7
  4. package/README.md +4 -12
  5. package/api.ts +160 -482
  6. package/base.ts +1 -1
  7. package/common.ts +1 -1
  8. package/configuration.ts +1 -1
  9. package/dist/api.d.ts +159 -381
  10. package/dist/api.js +64 -271
  11. package/dist/base.d.ts +1 -1
  12. package/dist/base.js +1 -1
  13. package/dist/common.d.ts +1 -1
  14. package/dist/common.js +1 -1
  15. package/dist/configuration.d.ts +1 -1
  16. package/dist/configuration.js +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/docs/Dataset.md +4 -2
  20. package/docs/DatasetApi.md +34 -15
  21. package/docs/DatasetCreateInfo.md +24 -0
  22. package/docs/DatasetCreateRequest.md +2 -2
  23. package/docs/DatasetEditInfo.md +22 -0
  24. package/docs/DatasetPart.md +4 -2
  25. package/docs/DatasetPartCreateRequest.md +2 -0
  26. package/docs/DatasetPartUpdateRequest.md +2 -0
  27. package/docs/DatasetUpdateRequest.md +2 -0
  28. package/docs/RunApi.md +0 -129
  29. package/docs/RunData.md +1 -1
  30. package/docs/RunTemplateParameter.md +2 -4
  31. package/docs/RunTemplateParameterCreateRequest.md +2 -4
  32. package/docs/RunTemplateParameterGroup.md +2 -6
  33. package/docs/RunTemplateParameterGroupCreateRequest.md +2 -6
  34. package/docs/RunTemplateParameterGroupUpdateRequest.md +2 -6
  35. package/docs/RunTemplateParameterUpdateRequest.md +2 -4
  36. package/docs/Runner.md +3 -3
  37. package/docs/RunnerCreateRequest.md +2 -2
  38. package/docs/RunnerUpdateRequest.md +2 -2
  39. package/docs/SendRunDataRequest.md +2 -3
  40. package/docs/Workspace.md +2 -2
  41. package/docs/WorkspaceCreateRequest.md +2 -2
  42. package/docs/WorkspaceSolution.md +0 -4
  43. package/docs/WorkspaceUpdateRequest.md +2 -2
  44. package/git_push.sh +2 -2
  45. package/index.ts +1 -1
  46. package/package.json +2 -2
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.0.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 5.0.0-rc1
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -917,25 +917,30 @@ var DatasetApiAxiosParamCreator = function (configuration) {
917
917
  },
918
918
  /**
919
919
  *
920
- * @summary Get data of a Dataset
920
+ * @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
921
921
  * @param {string} organizationId the Organization identifier
922
922
  * @param {string} workspaceId the Workspace identifier
923
923
  * @param {string} datasetId the Dataset identifier
924
924
  * @param {string} datasetPartId the Dataset part identifier
925
- * @param {Array<string>} [filters] Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ...
926
- * @param {Array<string>} [sums] Property names to sum by
927
- * @param {Array<string>} [counts] Property names to count by
925
+ * @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a * at the end of the column name (e.g. stock*).
926
+ * @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a * at the end of the column name (e.g. stock*).
927
+ * @param {Array<string>} [avgs] Column names to average by. If you want to apply \&#39;average\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
928
+ * @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a * at the end of the column name (e.g. stock*).
929
+ * @param {Array<string>} [mins] Column names to min by. If you want to apply \&#39;min\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
930
+ * @param {Array<string>} [maxs] Column names to max by. If you want to apply \&#39;max\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
928
931
  * @param {number} [offset] The query offset
929
932
  * @param {number} [limit] The query limit
933
+ * @param {Array<string>} [groupBys] Column names to group by
934
+ * @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \&#39;descending\&#39; order, add a \&#39;!\&#39; at the beginning of the column name (e.g. !stock).
930
935
  * @param {*} [options] Override http request option.
931
936
  * @throws {RequiredError}
932
937
  */
933
- queryData: function (organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1, filters_1, sums_1, counts_1, offset_1, limit_1) {
938
+ queryData: function (organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1, selects_1, sums_1, avgs_1, counts_1, mins_1, maxs_1, offset_1, limit_1, groupBys_1, orderBys_1) {
934
939
  var args_1 = [];
935
- for (var _i = 9; _i < arguments.length; _i++) {
936
- args_1[_i - 9] = arguments[_i];
940
+ for (var _i = 14; _i < arguments.length; _i++) {
941
+ args_1[_i - 14] = arguments[_i];
937
942
  }
938
- return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1, filters_1, sums_1, counts_1, offset_1, limit_1], args_1, true), void 0, function (organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options) {
943
+ return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1, selects_1, sums_1, avgs_1, counts_1, mins_1, maxs_1, offset_1, limit_1, groupBys_1, orderBys_1], args_1, true), void 0, function (organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options) {
939
944
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
940
945
  if (options === void 0) { options = {}; }
941
946
  return __generator(this, function (_a) {
@@ -968,21 +973,36 @@ var DatasetApiAxiosParamCreator = function (configuration) {
968
973
  // authentication oAuth2AuthCode required
969
974
  // oauth required
970
975
  _a.sent();
971
- if (filters) {
972
- localVarQueryParameter['filters'] = filters;
976
+ if (selects) {
977
+ localVarQueryParameter['selects'] = selects;
973
978
  }
974
979
  if (sums) {
975
980
  localVarQueryParameter['sums'] = sums;
976
981
  }
982
+ if (avgs) {
983
+ localVarQueryParameter['avgs'] = avgs;
984
+ }
977
985
  if (counts) {
978
986
  localVarQueryParameter['counts'] = counts;
979
987
  }
988
+ if (mins) {
989
+ localVarQueryParameter['mins'] = mins;
990
+ }
991
+ if (maxs) {
992
+ localVarQueryParameter['maxs'] = maxs;
993
+ }
980
994
  if (offset !== undefined) {
981
995
  localVarQueryParameter['offset'] = offset;
982
996
  }
983
997
  if (limit !== undefined) {
984
998
  localVarQueryParameter['limit'] = limit;
985
999
  }
1000
+ if (groupBys) {
1001
+ localVarQueryParameter['groupBys'] = groupBys;
1002
+ }
1003
+ if (orderBys) {
1004
+ localVarQueryParameter['orderBys'] = orderBys;
1005
+ }
986
1006
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
987
1007
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
988
1008
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1805,26 +1825,31 @@ var DatasetApiFp = function (configuration) {
1805
1825
  },
1806
1826
  /**
1807
1827
  *
1808
- * @summary Get data of a Dataset
1828
+ * @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
1809
1829
  * @param {string} organizationId the Organization identifier
1810
1830
  * @param {string} workspaceId the Workspace identifier
1811
1831
  * @param {string} datasetId the Dataset identifier
1812
1832
  * @param {string} datasetPartId the Dataset part identifier
1813
- * @param {Array<string>} [filters] Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ...
1814
- * @param {Array<string>} [sums] Property names to sum by
1815
- * @param {Array<string>} [counts] Property names to count by
1833
+ * @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a * at the end of the column name (e.g. stock*).
1834
+ * @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a * at the end of the column name (e.g. stock*).
1835
+ * @param {Array<string>} [avgs] Column names to average by. If you want to apply \&#39;average\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
1836
+ * @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a * at the end of the column name (e.g. stock*).
1837
+ * @param {Array<string>} [mins] Column names to min by. If you want to apply \&#39;min\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
1838
+ * @param {Array<string>} [maxs] Column names to max by. If you want to apply \&#39;max\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
1816
1839
  * @param {number} [offset] The query offset
1817
1840
  * @param {number} [limit] The query limit
1841
+ * @param {Array<string>} [groupBys] Column names to group by
1842
+ * @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \&#39;descending\&#39; order, add a \&#39;!\&#39; at the beginning of the column name (e.g. !stock).
1818
1843
  * @param {*} [options] Override http request option.
1819
1844
  * @throws {RequiredError}
1820
1845
  */
1821
- queryData: function (organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options) {
1846
+ queryData: function (organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options) {
1822
1847
  return __awaiter(this, void 0, void 0, function () {
1823
1848
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1824
1849
  var _a, _b, _c;
1825
1850
  return __generator(this, function (_d) {
1826
1851
  switch (_d.label) {
1827
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.queryData(organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options)];
1852
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options)];
1828
1853
  case 1:
1829
1854
  localVarAxiosArgs = _d.sent();
1830
1855
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -2204,21 +2229,26 @@ var DatasetApiFactory = function (configuration, basePath, axios) {
2204
2229
  },
2205
2230
  /**
2206
2231
  *
2207
- * @summary Get data of a Dataset
2232
+ * @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
2208
2233
  * @param {string} organizationId the Organization identifier
2209
2234
  * @param {string} workspaceId the Workspace identifier
2210
2235
  * @param {string} datasetId the Dataset identifier
2211
2236
  * @param {string} datasetPartId the Dataset part identifier
2212
- * @param {Array<string>} [filters] Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ...
2213
- * @param {Array<string>} [sums] Property names to sum by
2214
- * @param {Array<string>} [counts] Property names to count by
2237
+ * @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a * at the end of the column name (e.g. stock*).
2238
+ * @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a * at the end of the column name (e.g. stock*).
2239
+ * @param {Array<string>} [avgs] Column names to average by. If you want to apply \&#39;average\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
2240
+ * @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a * at the end of the column name (e.g. stock*).
2241
+ * @param {Array<string>} [mins] Column names to min by. If you want to apply \&#39;min\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
2242
+ * @param {Array<string>} [maxs] Column names to max by. If you want to apply \&#39;max\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
2215
2243
  * @param {number} [offset] The query offset
2216
2244
  * @param {number} [limit] The query limit
2245
+ * @param {Array<string>} [groupBys] Column names to group by
2246
+ * @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \&#39;descending\&#39; order, add a \&#39;!\&#39; at the beginning of the column name (e.g. !stock).
2217
2247
  * @param {*} [options] Override http request option.
2218
2248
  * @throws {RequiredError}
2219
2249
  */
2220
- queryData: function (organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options) {
2221
- return localVarFp.queryData(organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options).then(function (request) { return request(axios, basePath); });
2250
+ queryData: function (organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options) {
2251
+ return localVarFp.queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options).then(function (request) { return request(axios, basePath); });
2222
2252
  },
2223
2253
  /**
2224
2254
  *
@@ -2529,23 +2559,28 @@ var DatasetApi = /** @class */ (function (_super) {
2529
2559
  };
2530
2560
  /**
2531
2561
  *
2532
- * @summary Get data of a Dataset
2562
+ * @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
2533
2563
  * @param {string} organizationId the Organization identifier
2534
2564
  * @param {string} workspaceId the Workspace identifier
2535
2565
  * @param {string} datasetId the Dataset identifier
2536
2566
  * @param {string} datasetPartId the Dataset part identifier
2537
- * @param {Array<string>} [filters] Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ...
2538
- * @param {Array<string>} [sums] Property names to sum by
2539
- * @param {Array<string>} [counts] Property names to count by
2567
+ * @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a * at the end of the column name (e.g. stock*).
2568
+ * @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a * at the end of the column name (e.g. stock*).
2569
+ * @param {Array<string>} [avgs] Column names to average by. If you want to apply \&#39;average\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
2570
+ * @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a * at the end of the column name (e.g. stock*).
2571
+ * @param {Array<string>} [mins] Column names to min by. If you want to apply \&#39;min\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
2572
+ * @param {Array<string>} [maxs] Column names to max by. If you want to apply \&#39;max\&#39; only on distinct columns, add a * at the end of the column name (e.g. stock*).
2540
2573
  * @param {number} [offset] The query offset
2541
2574
  * @param {number} [limit] The query limit
2575
+ * @param {Array<string>} [groupBys] Column names to group by
2576
+ * @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \&#39;descending\&#39; order, add a \&#39;!\&#39; at the beginning of the column name (e.g. !stock).
2542
2577
  * @param {*} [options] Override http request option.
2543
2578
  * @throws {RequiredError}
2544
2579
  * @memberof DatasetApi
2545
2580
  */
2546
- DatasetApi.prototype.queryData = function (organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options) {
2581
+ DatasetApi.prototype.queryData = function (organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options) {
2547
2582
  var _this = this;
2548
- return (0, exports.DatasetApiFp)(this.configuration).queryData(organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options).then(function (request) { return request(_this.axios, _this.basePath); });
2583
+ return (0, exports.DatasetApiFp)(this.configuration).queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options).then(function (request) { return request(_this.axios, _this.basePath); });
2549
2584
  };
2550
2585
  /**
2551
2586
  *
@@ -4491,134 +4526,6 @@ var RunApiAxiosParamCreator = function (configuration) {
4491
4526
  });
4492
4527
  });
4493
4528
  },
4494
- /**
4495
- *
4496
- * @summary query the run data
4497
- * @param {string} organizationId the Organization identifier
4498
- * @param {string} workspaceId the Workspace identifier
4499
- * @param {string} runnerId the Runner identifier
4500
- * @param {string} runId the Run identifier
4501
- * @param {RunDataQuery} runDataQuery the query to run
4502
- * @param {*} [options] Override http request option.
4503
- * @throws {RequiredError}
4504
- */
4505
- queryRunData: function (organizationId_1, workspaceId_1, runnerId_1, runId_1, runDataQuery_1) {
4506
- var args_1 = [];
4507
- for (var _i = 5; _i < arguments.length; _i++) {
4508
- args_1[_i - 5] = arguments[_i];
4509
- }
4510
- return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, runnerId_1, runId_1, runDataQuery_1], args_1, true), void 0, function (organizationId, workspaceId, runnerId, runId, runDataQuery, options) {
4511
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4512
- if (options === void 0) { options = {}; }
4513
- return __generator(this, function (_a) {
4514
- switch (_a.label) {
4515
- case 0:
4516
- // verify required parameter 'organizationId' is not null or undefined
4517
- (0, common_1.assertParamExists)('queryRunData', 'organizationId', organizationId);
4518
- // verify required parameter 'workspaceId' is not null or undefined
4519
- (0, common_1.assertParamExists)('queryRunData', 'workspaceId', workspaceId);
4520
- // verify required parameter 'runnerId' is not null or undefined
4521
- (0, common_1.assertParamExists)('queryRunData', 'runnerId', runnerId);
4522
- // verify required parameter 'runId' is not null or undefined
4523
- (0, common_1.assertParamExists)('queryRunData', 'runId', runId);
4524
- // verify required parameter 'runDataQuery' is not null or undefined
4525
- (0, common_1.assertParamExists)('queryRunData', 'runDataQuery', runDataQuery);
4526
- localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/query"
4527
- .replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
4528
- .replace("{".concat("workspace_id", "}"), encodeURIComponent(String(workspaceId)))
4529
- .replace("{".concat("runner_id", "}"), encodeURIComponent(String(runnerId)))
4530
- .replace("{".concat("run_id", "}"), encodeURIComponent(String(runId)));
4531
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4532
- if (configuration) {
4533
- baseOptions = configuration.baseOptions;
4534
- }
4535
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
4536
- localVarHeaderParameter = {};
4537
- localVarQueryParameter = {};
4538
- // authentication oAuth2AuthCode required
4539
- // oauth required
4540
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
4541
- case 1:
4542
- // authentication oAuth2AuthCode required
4543
- // oauth required
4544
- _a.sent();
4545
- localVarHeaderParameter['Content-Type'] = 'application/json';
4546
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4547
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4548
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4549
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(runDataQuery, localVarRequestOptions, configuration);
4550
- return [2 /*return*/, {
4551
- url: (0, common_1.toPathString)(localVarUrlObj),
4552
- options: localVarRequestOptions,
4553
- }];
4554
- }
4555
- });
4556
- });
4557
- },
4558
- /**
4559
- *
4560
- * @summary Send data associated to a run
4561
- * @param {string} organizationId the Organization identifier
4562
- * @param {string} workspaceId the Workspace identifier
4563
- * @param {string} runnerId the Runner identifier
4564
- * @param {string} runId the Run identifier
4565
- * @param {SendRunDataRequest} sendRunDataRequest Custom data to register
4566
- * @param {*} [options] Override http request option.
4567
- * @throws {RequiredError}
4568
- */
4569
- sendRunData: function (organizationId_1, workspaceId_1, runnerId_1, runId_1, sendRunDataRequest_1) {
4570
- var args_1 = [];
4571
- for (var _i = 5; _i < arguments.length; _i++) {
4572
- args_1[_i - 5] = arguments[_i];
4573
- }
4574
- return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, runnerId_1, runId_1, sendRunDataRequest_1], args_1, true), void 0, function (organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options) {
4575
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4576
- if (options === void 0) { options = {}; }
4577
- return __generator(this, function (_a) {
4578
- switch (_a.label) {
4579
- case 0:
4580
- // verify required parameter 'organizationId' is not null or undefined
4581
- (0, common_1.assertParamExists)('sendRunData', 'organizationId', organizationId);
4582
- // verify required parameter 'workspaceId' is not null or undefined
4583
- (0, common_1.assertParamExists)('sendRunData', 'workspaceId', workspaceId);
4584
- // verify required parameter 'runnerId' is not null or undefined
4585
- (0, common_1.assertParamExists)('sendRunData', 'runnerId', runnerId);
4586
- // verify required parameter 'runId' is not null or undefined
4587
- (0, common_1.assertParamExists)('sendRunData', 'runId', runId);
4588
- // verify required parameter 'sendRunDataRequest' is not null or undefined
4589
- (0, common_1.assertParamExists)('sendRunData', 'sendRunDataRequest', sendRunDataRequest);
4590
- localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/send"
4591
- .replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
4592
- .replace("{".concat("workspace_id", "}"), encodeURIComponent(String(workspaceId)))
4593
- .replace("{".concat("runner_id", "}"), encodeURIComponent(String(runnerId)))
4594
- .replace("{".concat("run_id", "}"), encodeURIComponent(String(runId)));
4595
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4596
- if (configuration) {
4597
- baseOptions = configuration.baseOptions;
4598
- }
4599
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
4600
- localVarHeaderParameter = {};
4601
- localVarQueryParameter = {};
4602
- // authentication oAuth2AuthCode required
4603
- // oauth required
4604
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
4605
- case 1:
4606
- // authentication oAuth2AuthCode required
4607
- // oauth required
4608
- _a.sent();
4609
- localVarHeaderParameter['Content-Type'] = 'application/json';
4610
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4611
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4612
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4613
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sendRunDataRequest, localVarRequestOptions, configuration);
4614
- return [2 /*return*/, {
4615
- url: (0, common_1.toPathString)(localVarUrlObj),
4616
- options: localVarRequestOptions,
4617
- }];
4618
- }
4619
- });
4620
- });
4621
- },
4622
4529
  };
4623
4530
  };
4624
4531
  exports.RunApiAxiosParamCreator = RunApiAxiosParamCreator;
@@ -4760,60 +4667,6 @@ var RunApiFp = function (configuration) {
4760
4667
  });
4761
4668
  });
4762
4669
  },
4763
- /**
4764
- *
4765
- * @summary query the run data
4766
- * @param {string} organizationId the Organization identifier
4767
- * @param {string} workspaceId the Workspace identifier
4768
- * @param {string} runnerId the Runner identifier
4769
- * @param {string} runId the Run identifier
4770
- * @param {RunDataQuery} runDataQuery the query to run
4771
- * @param {*} [options] Override http request option.
4772
- * @throws {RequiredError}
4773
- */
4774
- queryRunData: function (organizationId, workspaceId, runnerId, runId, runDataQuery, options) {
4775
- return __awaiter(this, void 0, void 0, function () {
4776
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4777
- var _a, _b, _c;
4778
- return __generator(this, function (_d) {
4779
- switch (_d.label) {
4780
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options)];
4781
- case 1:
4782
- localVarAxiosArgs = _d.sent();
4783
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4784
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RunApi.queryRunData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4785
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4786
- }
4787
- });
4788
- });
4789
- },
4790
- /**
4791
- *
4792
- * @summary Send data associated to a run
4793
- * @param {string} organizationId the Organization identifier
4794
- * @param {string} workspaceId the Workspace identifier
4795
- * @param {string} runnerId the Runner identifier
4796
- * @param {string} runId the Run identifier
4797
- * @param {SendRunDataRequest} sendRunDataRequest Custom data to register
4798
- * @param {*} [options] Override http request option.
4799
- * @throws {RequiredError}
4800
- */
4801
- sendRunData: function (organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options) {
4802
- return __awaiter(this, void 0, void 0, function () {
4803
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4804
- var _a, _b, _c;
4805
- return __generator(this, function (_d) {
4806
- switch (_d.label) {
4807
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options)];
4808
- case 1:
4809
- localVarAxiosArgs = _d.sent();
4810
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4811
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RunApi.sendRunData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4812
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4813
- }
4814
- });
4815
- });
4816
- },
4817
4670
  };
4818
4671
  };
4819
4672
  exports.RunApiFp = RunApiFp;
@@ -4890,34 +4743,6 @@ var RunApiFactory = function (configuration, basePath, axios) {
4890
4743
  listRuns: function (organizationId, workspaceId, runnerId, page, size, options) {
4891
4744
  return localVarFp.listRuns(organizationId, workspaceId, runnerId, page, size, options).then(function (request) { return request(axios, basePath); });
4892
4745
  },
4893
- /**
4894
- *
4895
- * @summary query the run data
4896
- * @param {string} organizationId the Organization identifier
4897
- * @param {string} workspaceId the Workspace identifier
4898
- * @param {string} runnerId the Runner identifier
4899
- * @param {string} runId the Run identifier
4900
- * @param {RunDataQuery} runDataQuery the query to run
4901
- * @param {*} [options] Override http request option.
4902
- * @throws {RequiredError}
4903
- */
4904
- queryRunData: function (organizationId, workspaceId, runnerId, runId, runDataQuery, options) {
4905
- return localVarFp.queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options).then(function (request) { return request(axios, basePath); });
4906
- },
4907
- /**
4908
- *
4909
- * @summary Send data associated to a run
4910
- * @param {string} organizationId the Organization identifier
4911
- * @param {string} workspaceId the Workspace identifier
4912
- * @param {string} runnerId the Runner identifier
4913
- * @param {string} runId the Run identifier
4914
- * @param {SendRunDataRequest} sendRunDataRequest Custom data to register
4915
- * @param {*} [options] Override http request option.
4916
- * @throws {RequiredError}
4917
- */
4918
- sendRunData: function (organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options) {
4919
- return localVarFp.sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options).then(function (request) { return request(axios, basePath); });
4920
- },
4921
4746
  };
4922
4747
  };
4923
4748
  exports.RunApiFactory = RunApiFactory;
@@ -5008,38 +4833,6 @@ var RunApi = /** @class */ (function (_super) {
5008
4833
  var _this = this;
5009
4834
  return (0, exports.RunApiFp)(this.configuration).listRuns(organizationId, workspaceId, runnerId, page, size, options).then(function (request) { return request(_this.axios, _this.basePath); });
5010
4835
  };
5011
- /**
5012
- *
5013
- * @summary query the run data
5014
- * @param {string} organizationId the Organization identifier
5015
- * @param {string} workspaceId the Workspace identifier
5016
- * @param {string} runnerId the Runner identifier
5017
- * @param {string} runId the Run identifier
5018
- * @param {RunDataQuery} runDataQuery the query to run
5019
- * @param {*} [options] Override http request option.
5020
- * @throws {RequiredError}
5021
- * @memberof RunApi
5022
- */
5023
- RunApi.prototype.queryRunData = function (organizationId, workspaceId, runnerId, runId, runDataQuery, options) {
5024
- var _this = this;
5025
- return (0, exports.RunApiFp)(this.configuration).queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options).then(function (request) { return request(_this.axios, _this.basePath); });
5026
- };
5027
- /**
5028
- *
5029
- * @summary Send data associated to a run
5030
- * @param {string} organizationId the Organization identifier
5031
- * @param {string} workspaceId the Workspace identifier
5032
- * @param {string} runnerId the Runner identifier
5033
- * @param {string} runId the Run identifier
5034
- * @param {SendRunDataRequest} sendRunDataRequest Custom data to register
5035
- * @param {*} [options] Override http request option.
5036
- * @throws {RequiredError}
5037
- * @memberof RunApi
5038
- */
5039
- RunApi.prototype.sendRunData = function (organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options) {
5040
- var _this = this;
5041
- return (0, exports.RunApiFp)(this.configuration).sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
5042
- };
5043
4836
  return RunApi;
5044
4837
  }(base_1.BaseAPI));
5045
4838
  exports.RunApi = RunApi;
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.0.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 5.0.0-rc1
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.0.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 5.0.0-rc1
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.0.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 5.0.0-rc1
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.0.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 5.0.0-rc1
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.0.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 5.0.0-rc1
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.0.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 5.0.0-rc1
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.0.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 5.0.0-rc1
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.0.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 5.0.0-rc1
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/Dataset.md CHANGED
@@ -12,9 +12,10 @@ Name | Type | Description | Notes
12
12
  **organizationId** | **string** | the associated Organization Id | [readonly] [default to undefined]
13
13
  **workspaceId** | **string** | the associated Workspace Id | [readonly] [default to undefined]
14
14
  **tags** | **Array&lt;string&gt;** | the list of tags | [default to undefined]
15
+ **additionalData** | **{ [key: string]: any; }** | Free form additional data | [optional] [default to undefined]
15
16
  **parts** | [**Array&lt;DatasetPart&gt;**](DatasetPart.md) | | [default to undefined]
16
- **createInfo** | [**CreateInfo**](CreateInfo.md) | The details of the Dataset creation | [default to undefined]
17
- **updateInfo** | [**EditInfo**](EditInfo.md) | The details of the Dataset last update | [default to undefined]
17
+ **createInfo** | [**DatasetEditInfo**](DatasetEditInfo.md) | The details of the Dataset creation | [default to undefined]
18
+ **updateInfo** | [**DatasetEditInfo**](DatasetEditInfo.md) | The details of the Dataset last update | [default to undefined]
18
19
  **security** | [**DatasetSecurity**](DatasetSecurity.md) | | [default to undefined]
19
20
 
20
21
  ## Example
@@ -29,6 +30,7 @@ const instance: Dataset = {
29
30
  organizationId,
30
31
  workspaceId,
31
32
  tags,
33
+ additionalData,
32
34
  parts,
33
35
  createInfo,
34
36
  updateInfo,