@cosmotech/api-ts 3.3.4 → 4.2.5-onprem

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 (154) hide show
  1. package/.github/workflows/publish.yaml +13 -12
  2. package/.github/workflows/track_dependencies.yml +31 -0
  3. package/.openapi-generator/FILES +98 -0
  4. package/.openapi-generator/VERSION +1 -1
  5. package/README.md +210 -2
  6. package/api.ts +4650 -11656
  7. package/base.ts +2 -2
  8. package/common.ts +22 -44
  9. package/configuration.ts +7 -2
  10. package/dist/api.d.ts +2165 -6422
  11. package/dist/api.js +726 -7302
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +2 -2
  14. package/dist/common.d.ts +5 -36
  15. package/dist/common.js +17 -39
  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/Connector.md +41 -0
  24. package/docs/ConnectorApi.md +218 -0
  25. package/docs/ConnectorParameter.md +31 -0
  26. package/docs/ConnectorParameterGroup.md +25 -0
  27. package/docs/ContainerResourceSizeInfo.md +23 -0
  28. package/docs/ContainerResourceSizing.md +23 -0
  29. package/docs/CreateInfo.md +24 -0
  30. package/docs/CreatedRun.md +21 -0
  31. package/docs/Dataset.md +65 -0
  32. package/docs/DatasetAccessControl.md +23 -0
  33. package/docs/DatasetApi.md +1809 -0
  34. package/docs/DatasetCompatibility.md +25 -0
  35. package/docs/DatasetConnector.md +27 -0
  36. package/docs/DatasetCopyParameters.md +25 -0
  37. package/docs/DatasetCreateInfo.md +24 -0
  38. package/docs/DatasetCreateRequest.md +31 -0
  39. package/docs/DatasetEditInfo.md +22 -0
  40. package/docs/DatasetMemberGroup.md +25 -0
  41. package/docs/DatasetMemberUser.md +23 -0
  42. package/docs/DatasetMembers.md +23 -0
  43. package/docs/DatasetPart.md +43 -0
  44. package/docs/DatasetPartCreateRequest.md +31 -0
  45. package/docs/DatasetPartTypeEnum.md +11 -0
  46. package/docs/DatasetPartUpdateRequest.md +27 -0
  47. package/docs/DatasetRole.md +21 -0
  48. package/docs/DatasetSearch.md +21 -0
  49. package/docs/DatasetSecurity.md +23 -0
  50. package/docs/DatasetSourceType.md +19 -0
  51. package/docs/DatasetTwinGraphHash.md +21 -0
  52. package/docs/DatasetTwinGraphInfo.md +25 -0
  53. package/docs/DatasetTwinGraphQuery.md +21 -0
  54. package/docs/DatasetUpdateRequest.md +29 -0
  55. package/docs/DeleteHistoricalData.md +25 -0
  56. package/docs/EditInfo.md +22 -0
  57. package/docs/FileUploadMetadata.md +22 -0
  58. package/docs/FileUploadValidation.md +23 -0
  59. package/docs/GraphProperties.md +28 -0
  60. package/docs/IAMInfoApi.md +95 -0
  61. package/docs/IngestionStatusEnum.md +15 -0
  62. package/docs/IoTypesEnum.md +11 -0
  63. package/docs/LastRunInfo.md +23 -0
  64. package/docs/MemberGroup.md +25 -0
  65. package/docs/MemberUser.md +23 -0
  66. package/docs/Members.md +23 -0
  67. package/docs/MetaApi.md +52 -0
  68. package/docs/Organization.md +27 -0
  69. package/docs/OrganizationAccessControl.md +23 -0
  70. package/docs/OrganizationApi.md +758 -0
  71. package/docs/OrganizationCreateRequest.md +23 -0
  72. package/docs/OrganizationEditInfo.md +22 -0
  73. package/docs/OrganizationMemberGroup.md +25 -0
  74. package/docs/OrganizationMemberUser.md +23 -0
  75. package/docs/OrganizationMembers.md +23 -0
  76. package/docs/OrganizationRole.md +21 -0
  77. package/docs/OrganizationSecurity.md +23 -0
  78. package/docs/OrganizationUpdateRequest.md +21 -0
  79. package/docs/QueryResult.md +21 -0
  80. package/docs/ResourceSizeInfo.md +23 -0
  81. package/docs/Run.md +57 -0
  82. package/docs/RunApi.md +442 -0
  83. package/docs/RunContainer.md +41 -0
  84. package/docs/RunData.md +25 -0
  85. package/docs/RunDataQuery.md +21 -0
  86. package/docs/RunEditInfo.md +22 -0
  87. package/docs/RunLogs.md +23 -0
  88. package/docs/RunLogsEntry.md +21 -0
  89. package/docs/RunResourceRequested.md +23 -0
  90. package/docs/RunState.md +15 -0
  91. package/docs/RunStatus.md +47 -0
  92. package/docs/RunStatusNode.md +43 -0
  93. package/docs/RunTemplate.md +87 -0
  94. package/docs/RunTemplateCreateRequest.md +37 -0
  95. package/docs/RunTemplateOrchestrator.md +11 -0
  96. package/docs/RunTemplateParameter.md +35 -0
  97. package/docs/RunTemplateParameterCreateRequest.md +35 -0
  98. package/docs/RunTemplateParameterGroup.md +31 -0
  99. package/docs/RunTemplateParameterGroupCreateRequest.md +29 -0
  100. package/docs/RunTemplateParameterGroupUpdateRequest.md +27 -0
  101. package/docs/RunTemplateParameterUpdateRequest.md +33 -0
  102. package/docs/RunTemplateParameterValue.md +25 -0
  103. package/docs/RunTemplateResourceSizing.md +23 -0
  104. package/docs/RunTemplateStepSource.md +15 -0
  105. package/docs/RunTemplateUpdateRequest.md +35 -0
  106. package/docs/Runner.md +63 -0
  107. package/docs/RunnerAccessControl.md +23 -0
  108. package/docs/RunnerApi.md +908 -0
  109. package/docs/RunnerCreateRequest.md +45 -0
  110. package/docs/RunnerDatasets.md +24 -0
  111. package/docs/RunnerEditInfo.md +22 -0
  112. package/docs/RunnerMemberGroup.md +25 -0
  113. package/docs/RunnerMemberUser.md +23 -0
  114. package/docs/RunnerMembers.md +23 -0
  115. package/docs/RunnerResourceSizing.md +23 -0
  116. package/docs/RunnerRole.md +21 -0
  117. package/docs/RunnerRunTemplateParameterValue.md +27 -0
  118. package/docs/RunnerSecurity.md +23 -0
  119. package/docs/RunnerStatus.md +11 -0
  120. package/docs/RunnerUpdateRequest.md +41 -0
  121. package/docs/RunnerValidationStatus.md +15 -0
  122. package/docs/SendRunDataRequest.md +22 -0
  123. package/docs/Solution.md +53 -0
  124. package/docs/SolutionAccessControl.md +23 -0
  125. package/docs/SolutionApi.md +1159 -0
  126. package/docs/SolutionCreateRequest.md +43 -0
  127. package/docs/SolutionEditInfo.md +22 -0
  128. package/docs/SolutionFile.md +21 -0
  129. package/docs/SolutionMemberGroup.md +25 -0
  130. package/docs/SolutionMemberUser.md +23 -0
  131. package/docs/SolutionMembers.md +23 -0
  132. package/docs/SolutionRole.md +21 -0
  133. package/docs/SolutionSecurity.md +23 -0
  134. package/docs/SolutionUpdateRequest.md +41 -0
  135. package/docs/SourceInfo.md +27 -0
  136. package/docs/SubDatasetGraphQuery.md +27 -0
  137. package/docs/TwinGraphBatchResult.md +25 -0
  138. package/docs/TwincacheStatusEnum.md +11 -0
  139. package/docs/Workspace.md +57 -0
  140. package/docs/WorkspaceAccessControl.md +23 -0
  141. package/docs/WorkspaceApi.md +1162 -0
  142. package/docs/WorkspaceCreateRequest.md +35 -0
  143. package/docs/WorkspaceEditInfo.md +22 -0
  144. package/docs/WorkspaceFile.md +21 -0
  145. package/docs/WorkspaceMemberGroup.md +25 -0
  146. package/docs/WorkspaceMemberUser.md +23 -0
  147. package/docs/WorkspaceMembers.md +23 -0
  148. package/docs/WorkspaceRole.md +21 -0
  149. package/docs/WorkspaceSecurity.md +23 -0
  150. package/docs/WorkspaceSolution.md +25 -0
  151. package/docs/WorkspaceUpdateRequest.md +31 -0
  152. package/docs/WorkspaceWebApp.md +25 -0
  153. package/index.ts +1 -1
  154. package/package.json +2 -2
package/docs/RunApi.md ADDED
@@ -0,0 +1,442 @@
1
+ # RunApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteRun**](#deleterun) | **DELETE** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id} | Delete a run|
8
+ |[**getRun**](#getrun) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id} | Get the details of a run|
9
+ |[**getRunLogs**](#getrunlogs) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/logs | get the logs for the Run|
10
+ |[**getRunStatus**](#getrunstatus) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/status | get the status for the Run|
11
+ |[**listRuns**](#listruns) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs | get the list of Runs for the Runner|
12
+ |[**queryRunData**](#queryrundata) | **POST** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/query | query the run data|
13
+ |[**sendRunData**](#sendrundata) | **POST** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/send | Send data associated to a run|
14
+
15
+ # **deleteRun**
16
+ > deleteRun()
17
+
18
+
19
+ ### Example
20
+
21
+ ```typescript
22
+ import {
23
+ RunApi,
24
+ Configuration
25
+ } from '@cosmotech/api-ts';
26
+
27
+ const configuration = new Configuration();
28
+ const apiInstance = new RunApi(configuration);
29
+
30
+ let organizationId: string; //the Organization identifier (default to undefined)
31
+ let workspaceId: string; //the Workspace identifier (default to undefined)
32
+ let runnerId: string; //the Runner identifier (default to undefined)
33
+ let runId: string; //the Run identifier (default to undefined)
34
+
35
+ const { status, data } = await apiInstance.deleteRun(
36
+ organizationId,
37
+ workspaceId,
38
+ runnerId,
39
+ runId
40
+ );
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ |Name | Type | Description | Notes|
46
+ |------------- | ------------- | ------------- | -------------|
47
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
48
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
49
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
50
+ | **runId** | [**string**] | the Run identifier | defaults to undefined|
51
+
52
+
53
+ ### Return type
54
+
55
+ void (empty response body)
56
+
57
+ ### Authorization
58
+
59
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: Not defined
64
+ - **Accept**: Not defined
65
+
66
+
67
+ ### HTTP response details
68
+ | Status code | Description | Response headers |
69
+ |-------------|-------------|------------------|
70
+ |**204** | Request succeeded | - |
71
+ |**400** | Bad request | - |
72
+ |**404** | the Run specified is unknown or you don\'t have access to it | - |
73
+
74
+ [[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)
75
+
76
+ # **getRun**
77
+ > Run getRun()
78
+
79
+
80
+ ### Example
81
+
82
+ ```typescript
83
+ import {
84
+ RunApi,
85
+ Configuration
86
+ } from '@cosmotech/api-ts';
87
+
88
+ const configuration = new Configuration();
89
+ const apiInstance = new RunApi(configuration);
90
+
91
+ let organizationId: string; //the Organization identifier (default to undefined)
92
+ let workspaceId: string; //the Workspace identifier (default to undefined)
93
+ let runnerId: string; //the Runner identifier (default to undefined)
94
+ let runId: string; //the Run identifier (default to undefined)
95
+
96
+ const { status, data } = await apiInstance.getRun(
97
+ organizationId,
98
+ workspaceId,
99
+ runnerId,
100
+ runId
101
+ );
102
+ ```
103
+
104
+ ### Parameters
105
+
106
+ |Name | Type | Description | Notes|
107
+ |------------- | ------------- | ------------- | -------------|
108
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
109
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
110
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
111
+ | **runId** | [**string**] | the Run identifier | defaults to undefined|
112
+
113
+
114
+ ### Return type
115
+
116
+ **Run**
117
+
118
+ ### Authorization
119
+
120
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
121
+
122
+ ### HTTP request headers
123
+
124
+ - **Content-Type**: Not defined
125
+ - **Accept**: application/json
126
+
127
+
128
+ ### HTTP response details
129
+ | Status code | Description | Response headers |
130
+ |-------------|-------------|------------------|
131
+ |**200** | the Run details | - |
132
+ |**404** | the Run specified is unknown or you don\'t have access to it | - |
133
+
134
+ [[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)
135
+
136
+ # **getRunLogs**
137
+ > RunLogs getRunLogs()
138
+
139
+
140
+ ### Example
141
+
142
+ ```typescript
143
+ import {
144
+ RunApi,
145
+ Configuration
146
+ } from '@cosmotech/api-ts';
147
+
148
+ const configuration = new Configuration();
149
+ const apiInstance = new RunApi(configuration);
150
+
151
+ let organizationId: string; //the Organization identifier (default to undefined)
152
+ let workspaceId: string; //the Workspace identifier (default to undefined)
153
+ let runnerId: string; //the Runner identifier (default to undefined)
154
+ let runId: string; //the Run identifier (default to undefined)
155
+
156
+ const { status, data } = await apiInstance.getRunLogs(
157
+ organizationId,
158
+ workspaceId,
159
+ runnerId,
160
+ runId
161
+ );
162
+ ```
163
+
164
+ ### Parameters
165
+
166
+ |Name | Type | Description | Notes|
167
+ |------------- | ------------- | ------------- | -------------|
168
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
169
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
170
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
171
+ | **runId** | [**string**] | the Run identifier | defaults to undefined|
172
+
173
+
174
+ ### Return type
175
+
176
+ **RunLogs**
177
+
178
+ ### Authorization
179
+
180
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
181
+
182
+ ### HTTP request headers
183
+
184
+ - **Content-Type**: Not defined
185
+ - **Accept**: application/json
186
+
187
+
188
+ ### HTTP response details
189
+ | Status code | Description | Response headers |
190
+ |-------------|-------------|------------------|
191
+ |**200** | the run logs details | - |
192
+
193
+ [[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)
194
+
195
+ # **getRunStatus**
196
+ > RunStatus getRunStatus()
197
+
198
+
199
+ ### Example
200
+
201
+ ```typescript
202
+ import {
203
+ RunApi,
204
+ Configuration
205
+ } from '@cosmotech/api-ts';
206
+
207
+ const configuration = new Configuration();
208
+ const apiInstance = new RunApi(configuration);
209
+
210
+ let organizationId: string; //the Organization identifier (default to undefined)
211
+ let workspaceId: string; //the Workspace identifier (default to undefined)
212
+ let runnerId: string; //the Runner identifier (default to undefined)
213
+ let runId: string; //the Run identifier (default to undefined)
214
+
215
+ const { status, data } = await apiInstance.getRunStatus(
216
+ organizationId,
217
+ workspaceId,
218
+ runnerId,
219
+ runId
220
+ );
221
+ ```
222
+
223
+ ### Parameters
224
+
225
+ |Name | Type | Description | Notes|
226
+ |------------- | ------------- | ------------- | -------------|
227
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
228
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
229
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
230
+ | **runId** | [**string**] | the Run identifier | defaults to undefined|
231
+
232
+
233
+ ### Return type
234
+
235
+ **RunStatus**
236
+
237
+ ### Authorization
238
+
239
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
240
+
241
+ ### HTTP request headers
242
+
243
+ - **Content-Type**: Not defined
244
+ - **Accept**: application/json
245
+
246
+
247
+ ### HTTP response details
248
+ | Status code | Description | Response headers |
249
+ |-------------|-------------|------------------|
250
+ |**200** | the run status details | - |
251
+
252
+ [[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)
253
+
254
+ # **listRuns**
255
+ > Array<Run> listRuns()
256
+
257
+
258
+ ### Example
259
+
260
+ ```typescript
261
+ import {
262
+ RunApi,
263
+ Configuration
264
+ } from '@cosmotech/api-ts';
265
+
266
+ const configuration = new Configuration();
267
+ const apiInstance = new RunApi(configuration);
268
+
269
+ let organizationId: string; //the Organization identifier (default to undefined)
270
+ let workspaceId: string; //the Workspace identifier (default to undefined)
271
+ let runnerId: string; //the Runner identifier (default to undefined)
272
+ let page: number; //page number to query (first page is at index 0) (optional) (default to undefined)
273
+ let size: number; //amount of result by page (optional) (default to undefined)
274
+
275
+ const { status, data } = await apiInstance.listRuns(
276
+ organizationId,
277
+ workspaceId,
278
+ runnerId,
279
+ page,
280
+ size
281
+ );
282
+ ```
283
+
284
+ ### Parameters
285
+
286
+ |Name | Type | Description | Notes|
287
+ |------------- | ------------- | ------------- | -------------|
288
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
289
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
290
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
291
+ | **page** | [**number**] | page number to query (first page is at index 0) | (optional) defaults to undefined|
292
+ | **size** | [**number**] | amount of result by page | (optional) defaults to undefined|
293
+
294
+
295
+ ### Return type
296
+
297
+ **Array<Run>**
298
+
299
+ ### Authorization
300
+
301
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
302
+
303
+ ### HTTP request headers
304
+
305
+ - **Content-Type**: Not defined
306
+ - **Accept**: application/json
307
+
308
+
309
+ ### HTTP response details
310
+ | Status code | Description | Response headers |
311
+ |-------------|-------------|------------------|
312
+ |**200** | the run details list | - |
313
+
314
+ [[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)
315
+
316
+ # **queryRunData**
317
+ > QueryResult queryRunData(runDataQuery)
318
+
319
+
320
+ ### Example
321
+
322
+ ```typescript
323
+ import {
324
+ RunApi,
325
+ Configuration,
326
+ RunDataQuery
327
+ } from '@cosmotech/api-ts';
328
+
329
+ const configuration = new Configuration();
330
+ const apiInstance = new RunApi(configuration);
331
+
332
+ let organizationId: string; //the Organization identifier (default to undefined)
333
+ let workspaceId: string; //the Workspace identifier (default to undefined)
334
+ let runnerId: string; //the Runner identifier (default to undefined)
335
+ let runId: string; //the Run identifier (default to undefined)
336
+ let runDataQuery: RunDataQuery; //the query to run
337
+
338
+ const { status, data } = await apiInstance.queryRunData(
339
+ organizationId,
340
+ workspaceId,
341
+ runnerId,
342
+ runId,
343
+ runDataQuery
344
+ );
345
+ ```
346
+
347
+ ### Parameters
348
+
349
+ |Name | Type | Description | Notes|
350
+ |------------- | ------------- | ------------- | -------------|
351
+ | **runDataQuery** | **RunDataQuery**| the query to run | |
352
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
353
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
354
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
355
+ | **runId** | [**string**] | the Run identifier | defaults to undefined|
356
+
357
+
358
+ ### Return type
359
+
360
+ **QueryResult**
361
+
362
+ ### Authorization
363
+
364
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
365
+
366
+ ### HTTP request headers
367
+
368
+ - **Content-Type**: application/json
369
+ - **Accept**: application/json
370
+
371
+
372
+ ### HTTP response details
373
+ | Status code | Description | Response headers |
374
+ |-------------|-------------|------------------|
375
+ |**200** | the query response | - |
376
+
377
+ [[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)
378
+
379
+ # **sendRunData**
380
+ > RunData sendRunData(sendRunDataRequest)
381
+
382
+
383
+ ### Example
384
+
385
+ ```typescript
386
+ import {
387
+ RunApi,
388
+ Configuration,
389
+ SendRunDataRequest
390
+ } from '@cosmotech/api-ts';
391
+
392
+ const configuration = new Configuration();
393
+ const apiInstance = new RunApi(configuration);
394
+
395
+ let organizationId: string; //the Organization identifier (default to undefined)
396
+ let workspaceId: string; //the Workspace identifier (default to undefined)
397
+ let runnerId: string; //the Runner identifier (default to undefined)
398
+ let runId: string; //the Run identifier (default to undefined)
399
+ let sendRunDataRequest: SendRunDataRequest; //Custom data to register
400
+
401
+ const { status, data } = await apiInstance.sendRunData(
402
+ organizationId,
403
+ workspaceId,
404
+ runnerId,
405
+ runId,
406
+ sendRunDataRequest
407
+ );
408
+ ```
409
+
410
+ ### Parameters
411
+
412
+ |Name | Type | Description | Notes|
413
+ |------------- | ------------- | ------------- | -------------|
414
+ | **sendRunDataRequest** | **SendRunDataRequest**| Custom data to register | |
415
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
416
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
417
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
418
+ | **runId** | [**string**] | the Run identifier | defaults to undefined|
419
+
420
+
421
+ ### Return type
422
+
423
+ **RunData**
424
+
425
+ ### Authorization
426
+
427
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
428
+
429
+ ### HTTP request headers
430
+
431
+ - **Content-Type**: application/json
432
+ - **Accept**: application/json
433
+
434
+
435
+ ### HTTP response details
436
+ | Status code | Description | Response headers |
437
+ |-------------|-------------|------------------|
438
+ |**201** | Data stored | - |
439
+ |**400** | Data sent format is malformed | - |
440
+
441
+ [[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)
442
+
@@ -0,0 +1,41 @@
1
+ # RunContainer
2
+
3
+ a Run container description
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the container Id | [optional] [readonly] [default to undefined]
10
+ **name** | **string** | the container name | [default to undefined]
11
+ **labels** | **{ [key: string]: string; }** | the metadata labels | [optional] [default to undefined]
12
+ **envVars** | **{ [key: string]: string; }** | environment variable map | [optional] [default to undefined]
13
+ **image** | **string** | the container image URI | [default to undefined]
14
+ **entrypoint** | **string** | the container entry point | [optional] [default to undefined]
15
+ **runArgs** | **Array&lt;string&gt;** | the list of run arguments for the container | [optional] [default to undefined]
16
+ **dependencies** | **Array&lt;string&gt;** | the list of dependencies container name to run this container | [optional] [default to undefined]
17
+ **solutionContainer** | **boolean** | whether or not this container is a Cosmo Tech solution container | [optional] [readonly] [default to undefined]
18
+ **nodeLabel** | **string** | the node label request | [optional] [default to undefined]
19
+ **runSizing** | [**ContainerResourceSizing**](ContainerResourceSizing.md) | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { RunContainer } from '@cosmotech/api-ts';
25
+
26
+ const instance: RunContainer = {
27
+ id,
28
+ name,
29
+ labels,
30
+ envVars,
31
+ image,
32
+ entrypoint,
33
+ runArgs,
34
+ dependencies,
35
+ solutionContainer,
36
+ nodeLabel,
37
+ runSizing,
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,25 @@
1
+ # RunData
2
+
3
+ Run Data to send
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **database_name** | **string** | Database name | [optional] [default to undefined]
10
+ **table_name** | **string** | Table name | [optional] [default to undefined]
11
+ **data** | **Array&lt;{ [key: string]: any; }&gt;** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { RunData } from '@cosmotech/api-ts';
17
+
18
+ const instance: RunData = {
19
+ database_name,
20
+ table_name,
21
+ data,
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)
@@ -0,0 +1,21 @@
1
+ # RunDataQuery
2
+
3
+ a data result query in SQL
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **query** | **string** | the query in SQL | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RunDataQuery } from '@cosmotech/api-ts';
15
+
16
+ const instance: RunDataQuery = {
17
+ query,
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,22 @@
1
+ # RunEditInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **timestamp** | **number** | The timestamp of the modification in millisecond | [default to undefined]
9
+ **userId** | **string** | The id of the user who did the modification | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RunEditInfo } from '@cosmotech/api-ts';
15
+
16
+ const instance: RunEditInfo = {
17
+ timestamp,
18
+ userId,
19
+ };
20
+ ```
21
+
22
+ [[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
+ # RunLogs
2
+
3
+ the output logs of a run
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **runId** | **string** | the Run Id | [readonly] [default to undefined]
10
+ **logs** | [**Array&lt;RunLogsEntry&gt;**](RunLogsEntry.md) | run log entries in chronological order | [readonly] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RunLogs } from '@cosmotech/api-ts';
16
+
17
+ const instance: RunLogs = {
18
+ runId,
19
+ logs,
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,21 @@
1
+ # RunLogsEntry
2
+
3
+ single run log entry
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **line** | **string** | log line data | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RunLogsEntry } from '@cosmotech/api-ts';
15
+
16
+ const instance: RunLogsEntry = {
17
+ line,
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,23 @@
1
+ # RunResourceRequested
2
+
3
+ the memory and CPU requested by the pod
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **cpu** | **number** | the cpu requested | [optional] [default to undefined]
10
+ **memory** | **number** | the memory requested | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RunResourceRequested } from '@cosmotech/api-ts';
16
+
17
+ const instance: RunResourceRequested = {
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,15 @@
1
+ # RunState
2
+
3
+ the Run end-to-end state
4
+
5
+ ## Enum
6
+
7
+ * `Running` (value: `'Running'`)
8
+
9
+ * `Successful` (value: `'Successful'`)
10
+
11
+ * `Failed` (value: `'Failed'`)
12
+
13
+ * `Unknown` (value: `'Unknown'`)
14
+
15
+ [[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,47 @@
1
+ # RunStatus
2
+
3
+ a Run status
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the Run id | [optional] [default to undefined]
10
+ **organizationId** | **string** | the Organization id | [optional] [default to undefined]
11
+ **workspaceId** | **string** | the Workspace id | [optional] [default to undefined]
12
+ **runnerId** | **string** | the Runner id | [optional] [default to undefined]
13
+ **workflowId** | **string** | the Cosmo Tech compute cluster Argo Workflow Id to search | [optional] [default to undefined]
14
+ **workflowName** | **string** | the Cosmo Tech compute cluster Argo Workflow Name | [optional] [default to undefined]
15
+ **startTime** | **string** | the Run start Date Time | [optional] [default to undefined]
16
+ **endTime** | **string** | the Run end Date Time | [optional] [default to undefined]
17
+ **phase** | **string** | high-level summary of where the workflow is in its lifecycle | [optional] [default to undefined]
18
+ **progress** | **string** | progress to completion | [optional] [default to undefined]
19
+ **message** | **string** | a human readable message indicating details about why the workflow is in this condition | [optional] [default to undefined]
20
+ **estimatedDuration** | **number** | estimatedDuration in seconds | [optional] [default to undefined]
21
+ **nodes** | [**Array&lt;RunStatusNode&gt;**](RunStatusNode.md) | status of Run nodes | [optional] [default to undefined]
22
+ **state** | [**RunState**](RunState.md) | | [optional] [default to undefined]
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import { RunStatus } from '@cosmotech/api-ts';
28
+
29
+ const instance: RunStatus = {
30
+ id,
31
+ organizationId,
32
+ workspaceId,
33
+ runnerId,
34
+ workflowId,
35
+ workflowName,
36
+ startTime,
37
+ endTime,
38
+ phase,
39
+ progress,
40
+ message,
41
+ estimatedDuration,
42
+ nodes,
43
+ state,
44
+ };
45
+ ```
46
+
47
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)