@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
@@ -0,0 +1,908 @@
1
+ # RunnerApi
2
+
3
+ All URIs are relative to *http://localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createRunner**](#createrunner) | **POST** /organizations/{organization_id}/workspaces/{workspace_id}/runners | Create a new Runner|
8
+ |[**createRunnerAccessControl**](#createrunneraccesscontrol) | **POST** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/access | Add a control access to the Runner|
9
+ |[**deleteRunner**](#deleterunner) | **DELETE** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id} | Delete a runner|
10
+ |[**deleteRunnerAccessControl**](#deleterunneraccesscontrol) | **DELETE** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/access/{identity_id} | Remove the specified access from the given Runner|
11
+ |[**getRunner**](#getrunner) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id} | Get the details of a runner|
12
+ |[**getRunnerAccessControl**](#getrunneraccesscontrol) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/access/{identity_id} | Get a control access for the Runner|
13
+ |[**getRunnerSecurity**](#getrunnersecurity) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security | Get the Runner security information|
14
+ |[**listRunnerPermissions**](#listrunnerpermissions) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/permissions/{role} | Get the Runner permission by given role|
15
+ |[**listRunnerSecurityUsers**](#listrunnersecurityusers) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/users | Get the Runner security users list|
16
+ |[**listRunners**](#listrunners) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/runners | List all Runners|
17
+ |[**startRun**](#startrun) | **POST** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/start | Start a run with runner parameters|
18
+ |[**stopRun**](#stoprun) | **POST** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/stop | Stop the last run|
19
+ |[**updateRunner**](#updaterunner) | **PATCH** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id} | Update a runner|
20
+ |[**updateRunnerAccessControl**](#updaterunneraccesscontrol) | **PATCH** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/access/{identity_id} | Update the specified access to User for a Runner|
21
+ |[**updateRunnerDefaultSecurity**](#updaterunnerdefaultsecurity) | **PATCH** /organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/security/default | Set the Runner default security|
22
+
23
+ # **createRunner**
24
+ > Runner createRunner(runnerCreateRequest)
25
+
26
+
27
+ ### Example
28
+
29
+ ```typescript
30
+ import {
31
+ RunnerApi,
32
+ Configuration,
33
+ RunnerCreateRequest
34
+ } from '@cosmotech/api-ts';
35
+
36
+ const configuration = new Configuration();
37
+ const apiInstance = new RunnerApi(configuration);
38
+
39
+ let organizationId: string; //the Organization identifier (default to undefined)
40
+ let workspaceId: string; //the Workspace identifier (default to undefined)
41
+ let runnerCreateRequest: RunnerCreateRequest; //the Runner to create
42
+
43
+ const { status, data } = await apiInstance.createRunner(
44
+ organizationId,
45
+ workspaceId,
46
+ runnerCreateRequest
47
+ );
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+ |Name | Type | Description | Notes|
53
+ |------------- | ------------- | ------------- | -------------|
54
+ | **runnerCreateRequest** | **RunnerCreateRequest**| the Runner to create | |
55
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
56
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
57
+
58
+
59
+ ### Return type
60
+
61
+ **Runner**
62
+
63
+ ### Authorization
64
+
65
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: application/json, application/yaml
70
+ - **Accept**: application/json, application/yaml
71
+
72
+
73
+ ### HTTP response details
74
+ | Status code | Description | Response headers |
75
+ |-------------|-------------|------------------|
76
+ |**201** | the runner details | - |
77
+ |**400** | Bad request | - |
78
+
79
+ [[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)
80
+
81
+ # **createRunnerAccessControl**
82
+ > RunnerAccessControl createRunnerAccessControl(runnerAccessControl)
83
+
84
+
85
+ ### Example
86
+
87
+ ```typescript
88
+ import {
89
+ RunnerApi,
90
+ Configuration,
91
+ RunnerAccessControl
92
+ } from '@cosmotech/api-ts';
93
+
94
+ const configuration = new Configuration();
95
+ const apiInstance = new RunnerApi(configuration);
96
+
97
+ let organizationId: string; //the Organization identifier (default to undefined)
98
+ let workspaceId: string; //the Workspace identifier (default to undefined)
99
+ let runnerId: string; //the Runner identifier (default to undefined)
100
+ let runnerAccessControl: RunnerAccessControl; //the new Runner security access to add.
101
+
102
+ const { status, data } = await apiInstance.createRunnerAccessControl(
103
+ organizationId,
104
+ workspaceId,
105
+ runnerId,
106
+ runnerAccessControl
107
+ );
108
+ ```
109
+
110
+ ### Parameters
111
+
112
+ |Name | Type | Description | Notes|
113
+ |------------- | ------------- | ------------- | -------------|
114
+ | **runnerAccessControl** | **RunnerAccessControl**| the new Runner security access to add. | |
115
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
116
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
117
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
118
+
119
+
120
+ ### Return type
121
+
122
+ **RunnerAccessControl**
123
+
124
+ ### Authorization
125
+
126
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
127
+
128
+ ### HTTP request headers
129
+
130
+ - **Content-Type**: application/json, application/yaml
131
+ - **Accept**: application/json, application/yaml
132
+
133
+
134
+ ### HTTP response details
135
+ | Status code | Description | Response headers |
136
+ |-------------|-------------|------------------|
137
+ |**201** | The Runner access | - |
138
+ |**404** | the Runner specified is unknown or you don\'t have access to it | - |
139
+
140
+ [[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)
141
+
142
+ # **deleteRunner**
143
+ > deleteRunner()
144
+
145
+
146
+ ### Example
147
+
148
+ ```typescript
149
+ import {
150
+ RunnerApi,
151
+ Configuration
152
+ } from '@cosmotech/api-ts';
153
+
154
+ const configuration = new Configuration();
155
+ const apiInstance = new RunnerApi(configuration);
156
+
157
+ let organizationId: string; //the Organization identifier (default to undefined)
158
+ let workspaceId: string; //the Workspace identifier (default to undefined)
159
+ let runnerId: string; //the Runner identifier (default to undefined)
160
+
161
+ const { status, data } = await apiInstance.deleteRunner(
162
+ organizationId,
163
+ workspaceId,
164
+ runnerId
165
+ );
166
+ ```
167
+
168
+ ### Parameters
169
+
170
+ |Name | Type | Description | Notes|
171
+ |------------- | ------------- | ------------- | -------------|
172
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
173
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
174
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
175
+
176
+
177
+ ### Return type
178
+
179
+ void (empty response body)
180
+
181
+ ### Authorization
182
+
183
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
184
+
185
+ ### HTTP request headers
186
+
187
+ - **Content-Type**: Not defined
188
+ - **Accept**: Not defined
189
+
190
+
191
+ ### HTTP response details
192
+ | Status code | Description | Response headers |
193
+ |-------------|-------------|------------------|
194
+ |**204** | Request succeeded | - |
195
+ |**404** | the Runner specified is unknown or you don\'t have access to it | - |
196
+
197
+ [[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)
198
+
199
+ # **deleteRunnerAccessControl**
200
+ > deleteRunnerAccessControl()
201
+
202
+
203
+ ### Example
204
+
205
+ ```typescript
206
+ import {
207
+ RunnerApi,
208
+ Configuration
209
+ } from '@cosmotech/api-ts';
210
+
211
+ const configuration = new Configuration();
212
+ const apiInstance = new RunnerApi(configuration);
213
+
214
+ let organizationId: string; //the Organization identifier (default to undefined)
215
+ let workspaceId: string; //the Workspace identifier (default to undefined)
216
+ let runnerId: string; //the Runner identifier (default to undefined)
217
+ let identityId: string; //the User identifier (default to undefined)
218
+
219
+ const { status, data } = await apiInstance.deleteRunnerAccessControl(
220
+ organizationId,
221
+ workspaceId,
222
+ runnerId,
223
+ identityId
224
+ );
225
+ ```
226
+
227
+ ### Parameters
228
+
229
+ |Name | Type | Description | Notes|
230
+ |------------- | ------------- | ------------- | -------------|
231
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
232
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
233
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
234
+ | **identityId** | [**string**] | the User identifier | defaults to undefined|
235
+
236
+
237
+ ### Return type
238
+
239
+ void (empty response body)
240
+
241
+ ### Authorization
242
+
243
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
244
+
245
+ ### HTTP request headers
246
+
247
+ - **Content-Type**: Not defined
248
+ - **Accept**: Not defined
249
+
250
+
251
+ ### HTTP response details
252
+ | Status code | Description | Response headers |
253
+ |-------------|-------------|------------------|
254
+ |**204** | Request succeeded | - |
255
+ |**404** | the Runner or the user specified is unknown or you don\'t have access to them | - |
256
+
257
+ [[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)
258
+
259
+ # **getRunner**
260
+ > Runner getRunner()
261
+
262
+
263
+ ### Example
264
+
265
+ ```typescript
266
+ import {
267
+ RunnerApi,
268
+ Configuration
269
+ } from '@cosmotech/api-ts';
270
+
271
+ const configuration = new Configuration();
272
+ const apiInstance = new RunnerApi(configuration);
273
+
274
+ let organizationId: string; //the Organization identifier (default to undefined)
275
+ let workspaceId: string; //the Workspace identifier (default to undefined)
276
+ let runnerId: string; //the Runner identifier (default to undefined)
277
+
278
+ const { status, data } = await apiInstance.getRunner(
279
+ organizationId,
280
+ workspaceId,
281
+ runnerId
282
+ );
283
+ ```
284
+
285
+ ### Parameters
286
+
287
+ |Name | Type | Description | Notes|
288
+ |------------- | ------------- | ------------- | -------------|
289
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
290
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
291
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
292
+
293
+
294
+ ### Return type
295
+
296
+ **Runner**
297
+
298
+ ### Authorization
299
+
300
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
301
+
302
+ ### HTTP request headers
303
+
304
+ - **Content-Type**: Not defined
305
+ - **Accept**: application/json, application/yaml
306
+
307
+
308
+ ### HTTP response details
309
+ | Status code | Description | Response headers |
310
+ |-------------|-------------|------------------|
311
+ |**200** | the Runner details | - |
312
+ |**404** | the Runner specified is unknown or you don\'t have access to it | - |
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
+ # **getRunnerAccessControl**
317
+ > RunnerAccessControl getRunnerAccessControl()
318
+
319
+
320
+ ### Example
321
+
322
+ ```typescript
323
+ import {
324
+ RunnerApi,
325
+ Configuration
326
+ } from '@cosmotech/api-ts';
327
+
328
+ const configuration = new Configuration();
329
+ const apiInstance = new RunnerApi(configuration);
330
+
331
+ let organizationId: string; //the Organization identifier (default to undefined)
332
+ let workspaceId: string; //the Workspace identifier (default to undefined)
333
+ let runnerId: string; //the Runner identifier (default to undefined)
334
+ let identityId: string; //the User identifier (default to undefined)
335
+
336
+ const { status, data } = await apiInstance.getRunnerAccessControl(
337
+ organizationId,
338
+ workspaceId,
339
+ runnerId,
340
+ identityId
341
+ );
342
+ ```
343
+
344
+ ### Parameters
345
+
346
+ |Name | Type | Description | Notes|
347
+ |------------- | ------------- | ------------- | -------------|
348
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
349
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
350
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
351
+ | **identityId** | [**string**] | the User identifier | defaults to undefined|
352
+
353
+
354
+ ### Return type
355
+
356
+ **RunnerAccessControl**
357
+
358
+ ### Authorization
359
+
360
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
361
+
362
+ ### HTTP request headers
363
+
364
+ - **Content-Type**: Not defined
365
+ - **Accept**: application/json, application/yaml
366
+
367
+
368
+ ### HTTP response details
369
+ | Status code | Description | Response headers |
370
+ |-------------|-------------|------------------|
371
+ |**200** | The Runner access | - |
372
+ |**404** | the Runner or user specified is unknown or you don\'t have access to it | - |
373
+
374
+ [[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)
375
+
376
+ # **getRunnerSecurity**
377
+ > RunnerSecurity getRunnerSecurity()
378
+
379
+
380
+ ### Example
381
+
382
+ ```typescript
383
+ import {
384
+ RunnerApi,
385
+ Configuration
386
+ } from '@cosmotech/api-ts';
387
+
388
+ const configuration = new Configuration();
389
+ const apiInstance = new RunnerApi(configuration);
390
+
391
+ let organizationId: string; //the Organization identifier (default to undefined)
392
+ let workspaceId: string; //the Workspace identifier (default to undefined)
393
+ let runnerId: string; //the Runner identifier (default to undefined)
394
+
395
+ const { status, data } = await apiInstance.getRunnerSecurity(
396
+ organizationId,
397
+ workspaceId,
398
+ runnerId
399
+ );
400
+ ```
401
+
402
+ ### Parameters
403
+
404
+ |Name | Type | Description | Notes|
405
+ |------------- | ------------- | ------------- | -------------|
406
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
407
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
408
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
409
+
410
+
411
+ ### Return type
412
+
413
+ **RunnerSecurity**
414
+
415
+ ### Authorization
416
+
417
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
418
+
419
+ ### HTTP request headers
420
+
421
+ - **Content-Type**: Not defined
422
+ - **Accept**: application/json, application/yaml
423
+
424
+
425
+ ### HTTP response details
426
+ | Status code | Description | Response headers |
427
+ |-------------|-------------|------------------|
428
+ |**200** | The Runner security | - |
429
+ |**404** | the Runner specified is unknown or you don\'t have access to it | - |
430
+
431
+ [[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)
432
+
433
+ # **listRunnerPermissions**
434
+ > Array<string> listRunnerPermissions()
435
+
436
+
437
+ ### Example
438
+
439
+ ```typescript
440
+ import {
441
+ RunnerApi,
442
+ Configuration
443
+ } from '@cosmotech/api-ts';
444
+
445
+ const configuration = new Configuration();
446
+ const apiInstance = new RunnerApi(configuration);
447
+
448
+ let organizationId: string; //the Organization identifier (default to undefined)
449
+ let workspaceId: string; //the Workspace identifier (default to undefined)
450
+ let runnerId: string; //the Runner identifier (default to undefined)
451
+ let role: string; //the Role (default to undefined)
452
+
453
+ const { status, data } = await apiInstance.listRunnerPermissions(
454
+ organizationId,
455
+ workspaceId,
456
+ runnerId,
457
+ role
458
+ );
459
+ ```
460
+
461
+ ### Parameters
462
+
463
+ |Name | Type | Description | Notes|
464
+ |------------- | ------------- | ------------- | -------------|
465
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
466
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
467
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
468
+ | **role** | [**string**] | the Role | defaults to undefined|
469
+
470
+
471
+ ### Return type
472
+
473
+ **Array<string>**
474
+
475
+ ### Authorization
476
+
477
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
478
+
479
+ ### HTTP request headers
480
+
481
+ - **Content-Type**: Not defined
482
+ - **Accept**: application/json, application/yaml
483
+
484
+
485
+ ### HTTP response details
486
+ | Status code | Description | Response headers |
487
+ |-------------|-------------|------------------|
488
+ |**200** | The Runners security permission list | - |
489
+
490
+ [[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)
491
+
492
+ # **listRunnerSecurityUsers**
493
+ > Array<string> listRunnerSecurityUsers()
494
+
495
+
496
+ ### Example
497
+
498
+ ```typescript
499
+ import {
500
+ RunnerApi,
501
+ Configuration
502
+ } from '@cosmotech/api-ts';
503
+
504
+ const configuration = new Configuration();
505
+ const apiInstance = new RunnerApi(configuration);
506
+
507
+ let organizationId: string; //the Organization identifier (default to undefined)
508
+ let workspaceId: string; //the Workspace identifier (default to undefined)
509
+ let runnerId: string; //the Runner identifier (default to undefined)
510
+
511
+ const { status, data } = await apiInstance.listRunnerSecurityUsers(
512
+ organizationId,
513
+ workspaceId,
514
+ runnerId
515
+ );
516
+ ```
517
+
518
+ ### Parameters
519
+
520
+ |Name | Type | Description | Notes|
521
+ |------------- | ------------- | ------------- | -------------|
522
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
523
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
524
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
525
+
526
+
527
+ ### Return type
528
+
529
+ **Array<string>**
530
+
531
+ ### Authorization
532
+
533
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
534
+
535
+ ### HTTP request headers
536
+
537
+ - **Content-Type**: Not defined
538
+ - **Accept**: application/json, application/yaml
539
+
540
+
541
+ ### HTTP response details
542
+ | Status code | Description | Response headers |
543
+ |-------------|-------------|------------------|
544
+ |**200** | The Runner security users list | - |
545
+ |**404** | the Runner specified is unknown or you don\&#39;t have access to it | - |
546
+
547
+ [[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)
548
+
549
+ # **listRunners**
550
+ > Array<Runner> listRunners()
551
+
552
+
553
+ ### Example
554
+
555
+ ```typescript
556
+ import {
557
+ RunnerApi,
558
+ Configuration
559
+ } from '@cosmotech/api-ts';
560
+
561
+ const configuration = new Configuration();
562
+ const apiInstance = new RunnerApi(configuration);
563
+
564
+ let organizationId: string; //the Organization identifier (default to undefined)
565
+ let workspaceId: string; //the Workspace identifier (default to undefined)
566
+ let page: number; //page number to query (first page is at index 0) (optional) (default to undefined)
567
+ let size: number; //amount of result by page (optional) (default to undefined)
568
+
569
+ const { status, data } = await apiInstance.listRunners(
570
+ organizationId,
571
+ workspaceId,
572
+ page,
573
+ size
574
+ );
575
+ ```
576
+
577
+ ### Parameters
578
+
579
+ |Name | Type | Description | Notes|
580
+ |------------- | ------------- | ------------- | -------------|
581
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
582
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
583
+ | **page** | [**number**] | page number to query (first page is at index 0) | (optional) defaults to undefined|
584
+ | **size** | [**number**] | amount of result by page | (optional) defaults to undefined|
585
+
586
+
587
+ ### Return type
588
+
589
+ **Array<Runner>**
590
+
591
+ ### Authorization
592
+
593
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
594
+
595
+ ### HTTP request headers
596
+
597
+ - **Content-Type**: Not defined
598
+ - **Accept**: application/json, application/yaml
599
+
600
+
601
+ ### HTTP response details
602
+ | Status code | Description | Response headers |
603
+ |-------------|-------------|------------------|
604
+ |**200** | the list of Runners | - |
605
+
606
+ [[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)
607
+
608
+ # **startRun**
609
+ > CreatedRun startRun()
610
+
611
+
612
+ ### Example
613
+
614
+ ```typescript
615
+ import {
616
+ RunnerApi,
617
+ Configuration
618
+ } from '@cosmotech/api-ts';
619
+
620
+ const configuration = new Configuration();
621
+ const apiInstance = new RunnerApi(configuration);
622
+
623
+ let organizationId: string; //the Organization identifier (default to undefined)
624
+ let workspaceId: string; //the Workspace identifier (default to undefined)
625
+ let runnerId: string; //the Runner identifier (default to undefined)
626
+
627
+ const { status, data } = await apiInstance.startRun(
628
+ organizationId,
629
+ workspaceId,
630
+ runnerId
631
+ );
632
+ ```
633
+
634
+ ### Parameters
635
+
636
+ |Name | Type | Description | Notes|
637
+ |------------- | ------------- | ------------- | -------------|
638
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
639
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
640
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
641
+
642
+
643
+ ### Return type
644
+
645
+ **CreatedRun**
646
+
647
+ ### Authorization
648
+
649
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
650
+
651
+ ### HTTP request headers
652
+
653
+ - **Content-Type**: Not defined
654
+ - **Accept**: application/json, application/yaml
655
+
656
+
657
+ ### HTTP response details
658
+ | Status code | Description | Response headers |
659
+ |-------------|-------------|------------------|
660
+ |**202** | the newly created Run info | - |
661
+ |**404** | the Runner specified is unknown or you don\&#39;t have access to it | - |
662
+
663
+ [[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)
664
+
665
+ # **stopRun**
666
+ > stopRun()
667
+
668
+
669
+ ### Example
670
+
671
+ ```typescript
672
+ import {
673
+ RunnerApi,
674
+ Configuration
675
+ } from '@cosmotech/api-ts';
676
+
677
+ const configuration = new Configuration();
678
+ const apiInstance = new RunnerApi(configuration);
679
+
680
+ let organizationId: string; //the Organization identifier (default to undefined)
681
+ let workspaceId: string; //the Workspace identifier (default to undefined)
682
+ let runnerId: string; //the Runner identifier (default to undefined)
683
+
684
+ const { status, data } = await apiInstance.stopRun(
685
+ organizationId,
686
+ workspaceId,
687
+ runnerId
688
+ );
689
+ ```
690
+
691
+ ### Parameters
692
+
693
+ |Name | Type | Description | Notes|
694
+ |------------- | ------------- | ------------- | -------------|
695
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
696
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
697
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
698
+
699
+
700
+ ### Return type
701
+
702
+ void (empty response body)
703
+
704
+ ### Authorization
705
+
706
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
707
+
708
+ ### HTTP request headers
709
+
710
+ - **Content-Type**: Not defined
711
+ - **Accept**: Not defined
712
+
713
+
714
+ ### HTTP response details
715
+ | Status code | Description | Response headers |
716
+ |-------------|-------------|------------------|
717
+ |**202** | the last Run has been stopped | - |
718
+ |**404** | the Runner specified is unknown or you don\&#39;t have access to it | - |
719
+
720
+ [[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)
721
+
722
+ # **updateRunner**
723
+ > Runner updateRunner(runnerUpdateRequest)
724
+
725
+
726
+ ### Example
727
+
728
+ ```typescript
729
+ import {
730
+ RunnerApi,
731
+ Configuration,
732
+ RunnerUpdateRequest
733
+ } from '@cosmotech/api-ts';
734
+
735
+ const configuration = new Configuration();
736
+ const apiInstance = new RunnerApi(configuration);
737
+
738
+ let organizationId: string; //the Organization identifier (default to undefined)
739
+ let workspaceId: string; //the Workspace identifier (default to undefined)
740
+ let runnerId: string; //the Runner identifier (default to undefined)
741
+ let runnerUpdateRequest: RunnerUpdateRequest; //the new Runner details. This endpoint can\'t be used to update security
742
+
743
+ const { status, data } = await apiInstance.updateRunner(
744
+ organizationId,
745
+ workspaceId,
746
+ runnerId,
747
+ runnerUpdateRequest
748
+ );
749
+ ```
750
+
751
+ ### Parameters
752
+
753
+ |Name | Type | Description | Notes|
754
+ |------------- | ------------- | ------------- | -------------|
755
+ | **runnerUpdateRequest** | **RunnerUpdateRequest**| the new Runner details. This endpoint can\&#39;t be used to update security | |
756
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
757
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
758
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
759
+
760
+
761
+ ### Return type
762
+
763
+ **Runner**
764
+
765
+ ### Authorization
766
+
767
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
768
+
769
+ ### HTTP request headers
770
+
771
+ - **Content-Type**: application/json, application/yaml
772
+ - **Accept**: application/json, application/yaml
773
+
774
+
775
+ ### HTTP response details
776
+ | Status code | Description | Response headers |
777
+ |-------------|-------------|------------------|
778
+ |**200** | the runner details | - |
779
+ |**400** | Bad request | - |
780
+ |**404** | the Runner specified is unknown or you don\&#39;t have access to it | - |
781
+
782
+ [[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)
783
+
784
+ # **updateRunnerAccessControl**
785
+ > RunnerAccessControl updateRunnerAccessControl(runnerRole)
786
+
787
+
788
+ ### Example
789
+
790
+ ```typescript
791
+ import {
792
+ RunnerApi,
793
+ Configuration,
794
+ RunnerRole
795
+ } from '@cosmotech/api-ts';
796
+
797
+ const configuration = new Configuration();
798
+ const apiInstance = new RunnerApi(configuration);
799
+
800
+ let organizationId: string; //the Organization identifier (default to undefined)
801
+ let workspaceId: string; //the Workspace identifier (default to undefined)
802
+ let runnerId: string; //the Runner identifier (default to undefined)
803
+ let identityId: string; //the User identifier (default to undefined)
804
+ let runnerRole: RunnerRole; //The new Runner Access Control
805
+
806
+ const { status, data } = await apiInstance.updateRunnerAccessControl(
807
+ organizationId,
808
+ workspaceId,
809
+ runnerId,
810
+ identityId,
811
+ runnerRole
812
+ );
813
+ ```
814
+
815
+ ### Parameters
816
+
817
+ |Name | Type | Description | Notes|
818
+ |------------- | ------------- | ------------- | -------------|
819
+ | **runnerRole** | **RunnerRole**| The new Runner Access Control | |
820
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
821
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
822
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
823
+ | **identityId** | [**string**] | the User identifier | defaults to undefined|
824
+
825
+
826
+ ### Return type
827
+
828
+ **RunnerAccessControl**
829
+
830
+ ### Authorization
831
+
832
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
833
+
834
+ ### HTTP request headers
835
+
836
+ - **Content-Type**: application/json, application/yaml
837
+ - **Accept**: application/json, application/yaml
838
+
839
+
840
+ ### HTTP response details
841
+ | Status code | Description | Response headers |
842
+ |-------------|-------------|------------------|
843
+ |**200** | The Runner access | - |
844
+ |**404** | The Organization specified is unknown or you don\&#39;t have access to it | - |
845
+
846
+ [[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)
847
+
848
+ # **updateRunnerDefaultSecurity**
849
+ > RunnerSecurity updateRunnerDefaultSecurity(runnerRole)
850
+
851
+
852
+ ### Example
853
+
854
+ ```typescript
855
+ import {
856
+ RunnerApi,
857
+ Configuration,
858
+ RunnerRole
859
+ } from '@cosmotech/api-ts';
860
+
861
+ const configuration = new Configuration();
862
+ const apiInstance = new RunnerApi(configuration);
863
+
864
+ let organizationId: string; //the Organization identifier (default to undefined)
865
+ let workspaceId: string; //the Workspace identifier (default to undefined)
866
+ let runnerId: string; //the Runner identifier (default to undefined)
867
+ let runnerRole: RunnerRole; //This change the runner default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the runner.
868
+
869
+ const { status, data } = await apiInstance.updateRunnerDefaultSecurity(
870
+ organizationId,
871
+ workspaceId,
872
+ runnerId,
873
+ runnerRole
874
+ );
875
+ ```
876
+
877
+ ### Parameters
878
+
879
+ |Name | Type | Description | Notes|
880
+ |------------- | ------------- | ------------- | -------------|
881
+ | **runnerRole** | **RunnerRole**| This change the runner default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the runner. | |
882
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
883
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
884
+ | **runnerId** | [**string**] | the Runner identifier | defaults to undefined|
885
+
886
+
887
+ ### Return type
888
+
889
+ **RunnerSecurity**
890
+
891
+ ### Authorization
892
+
893
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
894
+
895
+ ### HTTP request headers
896
+
897
+ - **Content-Type**: application/json, application/yaml
898
+ - **Accept**: application/json, application/yaml
899
+
900
+
901
+ ### HTTP response details
902
+ | Status code | Description | Response headers |
903
+ |-------------|-------------|------------------|
904
+ |**201** | The Runner default visibility | - |
905
+ |**404** | the Runner specified is unknown or you don\&#39;t have access to it | - |
906
+
907
+ [[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)
908
+