@cosmotech/api-ts 4.0.0-dev9 → 5.0.0-beta3

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 (105) hide show
  1. package/.openapi-generator/FILES +95 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/LICENSE +1 -1
  5. package/README.md +206 -2
  6. package/api.ts +4513 -4646
  7. package/base.ts +2 -2
  8. package/common.ts +1 -1
  9. package/configuration.ts +7 -2
  10. package/dist/api.d.ts +3127 -2940
  11. package/dist/api.js +3674 -4398
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +2 -2
  14. package/dist/common.d.ts +2 -2
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +14 -2
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +1 -1
  20. package/docs/AboutInfo.md +21 -0
  21. package/docs/AboutInfoVersion.md +33 -0
  22. package/docs/ComponentRolePermissions.md +23 -0
  23. package/docs/ContainerResourceSizeInfo.md +23 -0
  24. package/docs/ContainerResourceSizing.md +23 -0
  25. package/docs/CreateInfo.md +24 -0
  26. package/docs/CreatedRun.md +21 -0
  27. package/docs/Dataset.md +39 -0
  28. package/docs/DatasetAccessControl.md +23 -0
  29. package/docs/DatasetApi.md +1289 -0
  30. package/docs/DatasetCreateRequest.md +31 -0
  31. package/docs/DatasetPart.md +41 -0
  32. package/docs/DatasetPartCreateRequest.md +29 -0
  33. package/docs/DatasetPartTypeEnum.md +11 -0
  34. package/docs/DatasetPartUpdateRequest.md +23 -0
  35. package/docs/DatasetRole.md +21 -0
  36. package/docs/DatasetSecurity.md +23 -0
  37. package/docs/DatasetUpdateRequest.md +29 -0
  38. package/docs/EditInfo.md +22 -0
  39. package/docs/LastRunInfo.md +23 -0
  40. package/docs/MetaApi.md +51 -0
  41. package/docs/Organization.md +29 -0
  42. package/docs/OrganizationAccessControl.md +23 -0
  43. package/docs/OrganizationApi.md +758 -0
  44. package/docs/OrganizationCreateRequest.md +23 -0
  45. package/docs/OrganizationEditInfo.md +22 -0
  46. package/docs/OrganizationRole.md +21 -0
  47. package/docs/OrganizationSecurity.md +23 -0
  48. package/docs/OrganizationUpdateRequest.md +21 -0
  49. package/docs/QueryResult.md +21 -0
  50. package/docs/ResourceSizeInfo.md +23 -0
  51. package/docs/Run.md +55 -0
  52. package/docs/RunApi.md +442 -0
  53. package/docs/RunContainer.md +41 -0
  54. package/docs/RunData.md +25 -0
  55. package/docs/RunDataQuery.md +21 -0
  56. package/docs/RunEditInfo.md +22 -0
  57. package/docs/RunResourceRequested.md +23 -0
  58. package/docs/RunState.md +17 -0
  59. package/docs/RunStatus.md +49 -0
  60. package/docs/RunStatusNode.md +43 -0
  61. package/docs/RunTemplate.md +37 -0
  62. package/docs/RunTemplateCreateRequest.md +37 -0
  63. package/docs/RunTemplateParameter.md +37 -0
  64. package/docs/RunTemplateParameterCreateRequest.md +37 -0
  65. package/docs/RunTemplateParameterGroup.md +33 -0
  66. package/docs/RunTemplateParameterGroupCreateRequest.md +33 -0
  67. package/docs/RunTemplateParameterGroupUpdateRequest.md +31 -0
  68. package/docs/RunTemplateParameterUpdateRequest.md +35 -0
  69. package/docs/RunTemplateParameterValue.md +25 -0
  70. package/docs/RunTemplateResourceSizing.md +23 -0
  71. package/docs/RunTemplateUpdateRequest.md +35 -0
  72. package/docs/Runner.md +61 -0
  73. package/docs/RunnerAccessControl.md +23 -0
  74. package/docs/RunnerApi.md +908 -0
  75. package/docs/RunnerCreateRequest.md +45 -0
  76. package/docs/RunnerEditInfo.md +22 -0
  77. package/docs/RunnerResourceSizing.md +23 -0
  78. package/docs/RunnerRole.md +21 -0
  79. package/docs/RunnerRunTemplateParameterValue.md +27 -0
  80. package/docs/RunnerSecurity.md +23 -0
  81. package/docs/RunnerUpdateRequest.md +39 -0
  82. package/docs/RunnerValidationStatus.md +15 -0
  83. package/docs/SendRunDataRequest.md +23 -0
  84. package/docs/Solution.md +53 -0
  85. package/docs/SolutionAccessControl.md +23 -0
  86. package/docs/SolutionApi.md +1580 -0
  87. package/docs/SolutionCreateRequest.md +43 -0
  88. package/docs/SolutionEditInfo.md +22 -0
  89. package/docs/SolutionRole.md +21 -0
  90. package/docs/SolutionSecurity.md +23 -0
  91. package/docs/SolutionUpdateRequest.md +41 -0
  92. package/docs/Workspace.md +45 -0
  93. package/docs/WorkspaceAccessControl.md +23 -0
  94. package/docs/WorkspaceApi.md +1044 -0
  95. package/docs/WorkspaceCreateRequest.md +37 -0
  96. package/docs/WorkspaceEditInfo.md +22 -0
  97. package/docs/WorkspaceFile.md +21 -0
  98. package/docs/WorkspaceRole.md +21 -0
  99. package/docs/WorkspaceSecurity.md +23 -0
  100. package/docs/WorkspaceSolution.md +25 -0
  101. package/docs/WorkspaceUpdateRequest.md +33 -0
  102. package/docs/WorkspaceWebApp.md +25 -0
  103. package/index.ts +1 -1
  104. package/package.json +1 -1
  105. package/scripts/git_push.sh +1 -1
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: 4.0.0-onprem.9
5
+ * The version of the OpenAPI document: 5.0.1-SNAPSHOT
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: 4.0.0-onprem.9
8
+ * The version of the OpenAPI document: 5.0.1-SNAPSHOT
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ var __extends = (this && this.__extends) || (function () {
30
30
  Object.defineProperty(exports, "__esModule", { value: true });
31
31
  exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
32
32
  var axios_1 = require("axios");
33
- exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
33
+ exports.BASE_PATH = "http://localhost:8080".replace(/\/+$/, "");
34
34
  /**
35
35
  *
36
36
  * @export
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: 4.0.0-onprem.9
5
+ * The version of the OpenAPI document: 5.0.1-SNAPSHOT
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
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: 4.0.0-onprem.9
8
+ * The version of the OpenAPI document: 5.0.1-SNAPSHOT
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: 4.0.0-onprem.9
5
+ * The version of the OpenAPI document: 5.0.1-SNAPSHOT
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,25 +5,37 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 4.0.0-onprem.9
8
+ * The version of the OpenAPI document: 5.0.1-SNAPSHOT
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
+ var __assign = (this && this.__assign) || function () {
16
+ __assign = Object.assign || function(t) {
17
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
18
+ s = arguments[i];
19
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
+ t[p] = s[p];
21
+ }
22
+ return t;
23
+ };
24
+ return __assign.apply(this, arguments);
25
+ };
15
26
  Object.defineProperty(exports, "__esModule", { value: true });
16
27
  exports.Configuration = void 0;
17
28
  var Configuration = /** @class */ (function () {
18
29
  function Configuration(param) {
19
30
  if (param === void 0) { param = {}; }
31
+ var _a;
20
32
  this.apiKey = param.apiKey;
21
33
  this.username = param.username;
22
34
  this.password = param.password;
23
35
  this.accessToken = param.accessToken;
24
36
  this.basePath = param.basePath;
25
37
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = param.baseOptions;
38
+ this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
27
39
  this.formDataCtor = param.formDataCtor;
28
40
  }
29
41
  /**
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: 4.0.0-onprem.9
5
+ * The version of the OpenAPI document: 5.0.1-SNAPSHOT
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: 4.0.0-onprem.9
8
+ * The version of the OpenAPI document: 5.0.1-SNAPSHOT
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,21 @@
1
+ # AboutInfo
2
+
3
+ Misc information about the api
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **version** | [**AboutInfoVersion**](AboutInfoVersion.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AboutInfo } from '@cosmotech/api-ts';
15
+
16
+ const instance: AboutInfo = {
17
+ version,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,33 @@
1
+ # AboutInfoVersion
2
+
3
+ API version details
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **full** | **string** | Full version representation | [default to undefined]
10
+ **release** | **string** | Release main version representation | [default to undefined]
11
+ **major** | **number** | Major version number | [default to undefined]
12
+ **minor** | **number** | Minor version number | [default to undefined]
13
+ **patch** | **number** | Patch version number | [default to undefined]
14
+ **label** | **string** | Label version, may be empty | [default to undefined]
15
+ **build** | **string** | Build VCS id | [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { AboutInfoVersion } from '@cosmotech/api-ts';
21
+
22
+ const instance: AboutInfoVersion = {
23
+ full,
24
+ release,
25
+ major,
26
+ minor,
27
+ patch,
28
+ label,
29
+ build,
30
+ };
31
+ ```
32
+
33
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # ComponentRolePermissions
2
+
3
+ A RBAC by component
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **component** | **string** | | [default to undefined]
10
+ **roles** | **{ [key: string]: Array&lt;string&gt;; }** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ComponentRolePermissions } from '@cosmotech/api-ts';
16
+
17
+ const instance: ComponentRolePermissions = {
18
+ component,
19
+ roles,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # ContainerResourceSizeInfo
2
+
3
+ define cpus and memory needs
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **cpu** | **string** | define cpu needs | [default to undefined]
10
+ **memory** | **string** | define memory needs | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ContainerResourceSizeInfo } from '@cosmotech/api-ts';
16
+
17
+ const instance: ContainerResourceSizeInfo = {
18
+ cpu,
19
+ memory,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # ContainerResourceSizing
2
+
3
+ a description object for resource requests and limits (default same configuration as basic sizing)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **requests** | [**ContainerResourceSizeInfo**](ContainerResourceSizeInfo.md) | | [default to undefined]
10
+ **limits** | [**ContainerResourceSizeInfo**](ContainerResourceSizeInfo.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ContainerResourceSizing } from '@cosmotech/api-ts';
16
+
17
+ const instance: ContainerResourceSizing = {
18
+ requests,
19
+ limits,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # CreateInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **timestamp** | **number** | The timestamp of the creation in millisecond | [default to undefined]
9
+ **userId** | **string** | The id of the user who did the creation | [default to undefined]
10
+ **runnerId** | **string** | The runner id which has created the dataset (nullable) | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreateInfo } from '@cosmotech/api-ts';
16
+
17
+ const instance: CreateInfo = {
18
+ timestamp,
19
+ userId,
20
+ runnerId,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,21 @@
1
+ # CreatedRun
2
+
3
+ Newly created Run info
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Run id | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { CreatedRun } from '@cosmotech/api-ts';
15
+
16
+ const instance: CreatedRun = {
17
+ id,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,39 @@
1
+ # Dataset
2
+
3
+ Dataset object
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | | [default to undefined]
10
+ **name** | **string** | | [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **organizationId** | **string** | the associated Organization Id | [readonly] [default to undefined]
13
+ **workspaceId** | **string** | the associated Workspace Id | [readonly] [default to undefined]
14
+ **tags** | **Array&lt;string&gt;** | the list of tags | [default to undefined]
15
+ **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]
18
+ **security** | [**DatasetSecurity**](DatasetSecurity.md) | | [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { Dataset } from '@cosmotech/api-ts';
24
+
25
+ const instance: Dataset = {
26
+ id,
27
+ name,
28
+ description,
29
+ organizationId,
30
+ workspaceId,
31
+ tags,
32
+ parts,
33
+ createInfo,
34
+ updateInfo,
35
+ security,
36
+ };
37
+ ```
38
+
39
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # DatasetAccessControl
2
+
3
+ a Dataset access control item
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the identity id | [default to undefined]
10
+ **role** | **string** | a role | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { DatasetAccessControl } from '@cosmotech/api-ts';
16
+
17
+ const instance: DatasetAccessControl = {
18
+ id,
19
+ role,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)