@cosmotech/api-ts 5.0.0-beta4 → 5.0.0-beta6

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 (60) hide show
  1. package/.github/workflows/publish.yaml +13 -12
  2. package/.github/workflows/track_dependencies.yml +31 -0
  3. package/.openapi-generator/FILES +1 -5
  4. package/README.md +5 -15
  5. package/api.ts +218 -777
  6. package/base.ts +1 -1
  7. package/common.ts +1 -1
  8. package/configuration.ts +1 -1
  9. package/dist/api.d.ts +240 -524
  10. package/dist/api.js +194 -819
  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/Connector.md +41 -0
  20. package/docs/ConnectorApi.md +218 -0
  21. package/docs/ConnectorParameter.md +31 -0
  22. package/docs/ConnectorParameterGroup.md +25 -0
  23. package/docs/DatasetApi.md +110 -28
  24. package/docs/DatasetCompatibility.md +25 -0
  25. package/docs/DatasetConnector.md +27 -0
  26. package/docs/DatasetCopyParameters.md +25 -0
  27. package/docs/DatasetPartTypeEnum.md +1 -1
  28. package/docs/DatasetSearch.md +21 -0
  29. package/docs/DatasetSourceType.md +19 -0
  30. package/docs/DatasetTwinGraphHash.md +21 -0
  31. package/docs/DatasetTwinGraphInfo.md +25 -0
  32. package/docs/DatasetTwinGraphQuery.md +21 -0
  33. package/docs/DeleteHistoricalData.md +25 -0
  34. package/docs/FileUploadMetadata.md +22 -0
  35. package/docs/FileUploadValidation.md +23 -0
  36. package/docs/GraphProperties.md +28 -0
  37. package/docs/IngestionStatusEnum.md +15 -0
  38. package/docs/IoTypesEnum.md +11 -0
  39. package/docs/RunApi.md +0 -129
  40. package/docs/RunData.md +1 -1
  41. package/docs/RunLogs.md +23 -0
  42. package/docs/RunLogsEntry.md +21 -0
  43. package/docs/RunTemplateOrchestrator.md +11 -0
  44. package/docs/RunTemplateStepSource.md +15 -0
  45. package/docs/Runner.md +2 -2
  46. package/docs/RunnerApi.md +4 -4
  47. package/docs/RunnerCreateRequest.md +4 -4
  48. package/docs/RunnerDatasets.md +24 -0
  49. package/docs/RunnerRunTemplateParameterValue.md +1 -1
  50. package/docs/RunnerUpdateRequest.md +2 -2
  51. package/docs/SendRunDataRequest.md +2 -3
  52. package/docs/SolutionApi.md +0 -290
  53. package/docs/SourceInfo.md +27 -0
  54. package/docs/SubDatasetGraphQuery.md +27 -0
  55. package/docs/TwinGraphBatchResult.md +25 -0
  56. package/docs/TwincacheStatusEnum.md +11 -0
  57. package/docs/WorkspaceSolution.md +4 -0
  58. package/git_push.sh +2 -2
  59. package/index.ts +1 -1
  60. package/package.json +2 -2
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.0-beta4
5
+ * The version of the OpenAPI document: 5.0.0-beta6
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.0-beta4
8
+ * The version of the OpenAPI document: 5.0.0-beta6
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.0-beta4
5
+ * The version of the OpenAPI document: 5.0.0-beta6
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.0-beta4
8
+ * The version of the OpenAPI document: 5.0.0-beta6
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.0-beta4
5
+ * The version of the OpenAPI document: 5.0.0-beta6
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.0-beta4
8
+ * The version of the OpenAPI document: 5.0.0-beta6
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.0-beta4
5
+ * The version of the OpenAPI document: 5.0.0-beta6
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.0-beta4
8
+ * The version of the OpenAPI document: 5.0.0-beta6
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,41 @@
1
+ # Connector
2
+
3
+ a version of a Connector
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the Connector version unique identifier | [optional] [readonly] [default to undefined]
10
+ **key** | **string** | the Connector key which group Connector versions | [optional] [default to undefined]
11
+ **name** | **string** | the Connector name | [optional] [default to undefined]
12
+ **description** | **string** | the Connector description | [optional] [default to undefined]
13
+ **repository** | **string** | the registry repository containing the image | [optional] [default to undefined]
14
+ **version** | **string** | the Connector version MAJOR.MINOR.PATCH. Must be aligned with an existing repository tag | [optional] [default to undefined]
15
+ **tags** | **Array<string>** | the list of tags | [optional] [default to undefined]
16
+ **ownerId** | **string** | the user id which own this connector version | [optional] [readonly] [default to undefined]
17
+ **url** | **string** | an optional URL link to connector page | [optional] [default to undefined]
18
+ **ioTypes** | [**Array<IoTypesEnum>**](IoTypesEnum.md) | | [optional] [default to undefined]
19
+ **parameterGroups** | [**Array<ConnectorParameterGroup>**](ConnectorParameterGroup.md) | the list of connector parameters groups | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { Connector } from '@cosmotech/api-ts';
25
+
26
+ const instance: Connector = {
27
+ id,
28
+ key,
29
+ name,
30
+ description,
31
+ repository,
32
+ version,
33
+ tags,
34
+ ownerId,
35
+ url,
36
+ ioTypes,
37
+ parameterGroups,
38
+ };
39
+ ```
40
+
41
+ [[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,218 @@
1
+ # ConnectorApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**findAllConnectors**](#findallconnectors) | **GET** /connectors | List all Connectors|
8
+ |[**findConnectorById**](#findconnectorbyid) | **GET** /connectors/{connector_id} | Get the details of a connector|
9
+ |[**registerConnector**](#registerconnector) | **POST** /connectors | Register a new connector|
10
+ |[**unregisterConnector**](#unregisterconnector) | **DELETE** /connectors/{connector_id} | Unregister a connector|
11
+
12
+ # **findAllConnectors**
13
+ > Array<Connector> findAllConnectors()
14
+
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ ConnectorApi,
21
+ Configuration
22
+ } from '@cosmotech/api-ts';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new ConnectorApi(configuration);
26
+
27
+ let page: number; //page number to query (first page is at index 0) (optional) (default to undefined)
28
+ let size: number; //amount of result by page (optional) (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.findAllConnectors(
31
+ page,
32
+ size
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **page** | [**number**] | page number to query (first page is at index 0) | (optional) defaults to undefined|
41
+ | **size** | [**number**] | amount of result by page | (optional) defaults to undefined|
42
+
43
+
44
+ ### Return type
45
+
46
+ **Array<Connector>**
47
+
48
+ ### Authorization
49
+
50
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
51
+
52
+ ### HTTP request headers
53
+
54
+ - **Content-Type**: Not defined
55
+ - **Accept**: application/json
56
+
57
+
58
+ ### HTTP response details
59
+ | Status code | Description | Response headers |
60
+ |-------------|-------------|------------------|
61
+ |**200** | the list of Connectors | - |
62
+
63
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
64
+
65
+ # **findConnectorById**
66
+ > Connector findConnectorById()
67
+
68
+
69
+ ### Example
70
+
71
+ ```typescript
72
+ import {
73
+ ConnectorApi,
74
+ Configuration
75
+ } from '@cosmotech/api-ts';
76
+
77
+ const configuration = new Configuration();
78
+ const apiInstance = new ConnectorApi(configuration);
79
+
80
+ let connectorId: string; //the Connector identifier (default to undefined)
81
+
82
+ const { status, data } = await apiInstance.findConnectorById(
83
+ connectorId
84
+ );
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+ |Name | Type | Description | Notes|
90
+ |------------- | ------------- | ------------- | -------------|
91
+ | **connectorId** | [**string**] | the Connector identifier | defaults to undefined|
92
+
93
+
94
+ ### Return type
95
+
96
+ **Connector**
97
+
98
+ ### Authorization
99
+
100
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: Not defined
105
+ - **Accept**: application/json
106
+
107
+
108
+ ### HTTP response details
109
+ | Status code | Description | Response headers |
110
+ |-------------|-------------|------------------|
111
+ |**200** | the Connector details | - |
112
+ |**404** | the Connector specified is unknown or you don\&#39;t have access to it | - |
113
+
114
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
115
+
116
+ # **registerConnector**
117
+ > Connector registerConnector(connector)
118
+
119
+
120
+ ### Example
121
+
122
+ ```typescript
123
+ import {
124
+ ConnectorApi,
125
+ Configuration,
126
+ Connector
127
+ } from '@cosmotech/api-ts';
128
+
129
+ const configuration = new Configuration();
130
+ const apiInstance = new ConnectorApi(configuration);
131
+
132
+ let connector: Connector; //the Connector to register
133
+
134
+ const { status, data } = await apiInstance.registerConnector(
135
+ connector
136
+ );
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+ |Name | Type | Description | Notes|
142
+ |------------- | ------------- | ------------- | -------------|
143
+ | **connector** | **Connector**| the Connector to register | |
144
+
145
+
146
+ ### Return type
147
+
148
+ **Connector**
149
+
150
+ ### Authorization
151
+
152
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: application/json, application/yaml
157
+ - **Accept**: application/json
158
+
159
+
160
+ ### HTTP response details
161
+ | Status code | Description | Response headers |
162
+ |-------------|-------------|------------------|
163
+ |**201** | the connector details | - |
164
+ |**400** | Bad request | - |
165
+
166
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
167
+
168
+ # **unregisterConnector**
169
+ > unregisterConnector()
170
+
171
+
172
+ ### Example
173
+
174
+ ```typescript
175
+ import {
176
+ ConnectorApi,
177
+ Configuration
178
+ } from '@cosmotech/api-ts';
179
+
180
+ const configuration = new Configuration();
181
+ const apiInstance = new ConnectorApi(configuration);
182
+
183
+ let connectorId: string; //the Connector identifier (default to undefined)
184
+
185
+ const { status, data } = await apiInstance.unregisterConnector(
186
+ connectorId
187
+ );
188
+ ```
189
+
190
+ ### Parameters
191
+
192
+ |Name | Type | Description | Notes|
193
+ |------------- | ------------- | ------------- | -------------|
194
+ | **connectorId** | [**string**] | the Connector identifier | defaults to undefined|
195
+
196
+
197
+ ### Return type
198
+
199
+ void (empty response body)
200
+
201
+ ### Authorization
202
+
203
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
204
+
205
+ ### HTTP request headers
206
+
207
+ - **Content-Type**: Not defined
208
+ - **Accept**: Not defined
209
+
210
+
211
+ ### HTTP response details
212
+ | Status code | Description | Response headers |
213
+ |-------------|-------------|------------------|
214
+ |**204** | Request successful | - |
215
+ |**404** | the Connector specified is unknown or you don\&#39;t have access to it | - |
216
+
217
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
218
+
@@ -0,0 +1,31 @@
1
+ # ConnectorParameter
2
+
3
+ a connector parameter
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the connector parameter id | [default to undefined]
10
+ **label** | **string** | the list of translated parameter group labels | [default to undefined]
11
+ **valueType** | **string** | the parameter value type | [optional] [default to undefined]
12
+ **_options** | **Array&lt;string&gt;** | the list of available and valid values for the parameter | [optional] [default to undefined]
13
+ **_default** | **string** | the default value | [optional] [default to undefined]
14
+ **envVar** | **string** | associated environment variable in connector image | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ConnectorParameter } from '@cosmotech/api-ts';
20
+
21
+ const instance: ConnectorParameter = {
22
+ id,
23
+ label,
24
+ valueType,
25
+ _options,
26
+ _default,
27
+ envVar,
28
+ };
29
+ ```
30
+
31
+ [[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,25 @@
1
+ # ConnectorParameterGroup
2
+
3
+ a connector parameters group
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the connector parameter group id | [default to undefined]
10
+ **label** | **string** | the list of translated parameter group labels | [default to undefined]
11
+ **parameters** | [**Array&lt;ConnectorParameter&gt;**](ConnectorParameter.md) | the list of parameters | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ConnectorParameterGroup } from '@cosmotech/api-ts';
17
+
18
+ const instance: ConnectorParameterGroup = {
19
+ id,
20
+ label,
21
+ parameters,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)