@cosmotech/api-ts 3.3.4 → 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 (104) hide show
  1. package/.openapi-generator/FILES +83 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/LICENSE +1 -1
  4. package/README.md +206 -2
  5. package/api.ts +6034 -13173
  6. package/base.ts +2 -2
  7. package/common.ts +1 -1
  8. package/configuration.ts +7 -2
  9. package/dist/api.d.ts +3440 -7510
  10. package/dist/api.js +3853 -11153
  11. package/dist/base.d.ts +1 -1
  12. package/dist/base.js +2 -2
  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 +14 -2
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/docs/AboutInfo.md +21 -0
  20. package/docs/AboutInfoVersion.md +33 -0
  21. package/docs/ComponentRolePermissions.md +23 -0
  22. package/docs/ContainerResourceSizeInfo.md +23 -0
  23. package/docs/ContainerResourceSizing.md +23 -0
  24. package/docs/CreateInfo.md +24 -0
  25. package/docs/CreatedRun.md +21 -0
  26. package/docs/Dataset.md +39 -0
  27. package/docs/DatasetAccessControl.md +23 -0
  28. package/docs/DatasetApi.md +1289 -0
  29. package/docs/DatasetCreateRequest.md +31 -0
  30. package/docs/DatasetPart.md +41 -0
  31. package/docs/DatasetPartCreateRequest.md +29 -0
  32. package/docs/DatasetPartTypeEnum.md +11 -0
  33. package/docs/DatasetPartUpdateRequest.md +23 -0
  34. package/docs/DatasetRole.md +21 -0
  35. package/docs/DatasetSecurity.md +23 -0
  36. package/docs/DatasetUpdateRequest.md +29 -0
  37. package/docs/EditInfo.md +22 -0
  38. package/docs/LastRunInfo.md +23 -0
  39. package/docs/MetaApi.md +51 -0
  40. package/docs/Organization.md +29 -0
  41. package/docs/OrganizationAccessControl.md +23 -0
  42. package/docs/OrganizationApi.md +758 -0
  43. package/docs/OrganizationCreateRequest.md +23 -0
  44. package/docs/OrganizationEditInfo.md +22 -0
  45. package/docs/OrganizationRole.md +21 -0
  46. package/docs/OrganizationSecurity.md +23 -0
  47. package/docs/OrganizationUpdateRequest.md +21 -0
  48. package/docs/QueryResult.md +21 -0
  49. package/docs/ResourceSizeInfo.md +23 -0
  50. package/docs/Run.md +55 -0
  51. package/docs/RunApi.md +442 -0
  52. package/docs/RunContainer.md +41 -0
  53. package/docs/RunData.md +25 -0
  54. package/docs/RunDataQuery.md +21 -0
  55. package/docs/RunEditInfo.md +22 -0
  56. package/docs/RunResourceRequested.md +23 -0
  57. package/docs/RunState.md +17 -0
  58. package/docs/RunStatus.md +49 -0
  59. package/docs/RunStatusNode.md +43 -0
  60. package/docs/RunTemplate.md +37 -0
  61. package/docs/RunTemplateCreateRequest.md +37 -0
  62. package/docs/RunTemplateParameter.md +37 -0
  63. package/docs/RunTemplateParameterCreateRequest.md +37 -0
  64. package/docs/RunTemplateParameterGroup.md +33 -0
  65. package/docs/RunTemplateParameterGroupCreateRequest.md +33 -0
  66. package/docs/RunTemplateParameterGroupUpdateRequest.md +31 -0
  67. package/docs/RunTemplateParameterUpdateRequest.md +35 -0
  68. package/docs/RunTemplateParameterValue.md +25 -0
  69. package/docs/RunTemplateResourceSizing.md +23 -0
  70. package/docs/RunTemplateUpdateRequest.md +35 -0
  71. package/docs/Runner.md +61 -0
  72. package/docs/RunnerAccessControl.md +23 -0
  73. package/docs/RunnerApi.md +908 -0
  74. package/docs/RunnerCreateRequest.md +45 -0
  75. package/docs/RunnerEditInfo.md +22 -0
  76. package/docs/RunnerResourceSizing.md +23 -0
  77. package/docs/RunnerRole.md +21 -0
  78. package/docs/RunnerRunTemplateParameterValue.md +27 -0
  79. package/docs/RunnerSecurity.md +23 -0
  80. package/docs/RunnerUpdateRequest.md +39 -0
  81. package/docs/RunnerValidationStatus.md +15 -0
  82. package/docs/SendRunDataRequest.md +23 -0
  83. package/docs/Solution.md +53 -0
  84. package/docs/SolutionAccessControl.md +23 -0
  85. package/docs/SolutionApi.md +1580 -0
  86. package/docs/SolutionCreateRequest.md +43 -0
  87. package/docs/SolutionEditInfo.md +22 -0
  88. package/docs/SolutionRole.md +21 -0
  89. package/docs/SolutionSecurity.md +23 -0
  90. package/docs/SolutionUpdateRequest.md +41 -0
  91. package/docs/Workspace.md +45 -0
  92. package/docs/WorkspaceAccessControl.md +23 -0
  93. package/docs/WorkspaceApi.md +1044 -0
  94. package/docs/WorkspaceCreateRequest.md +37 -0
  95. package/docs/WorkspaceEditInfo.md +22 -0
  96. package/docs/WorkspaceFile.md +21 -0
  97. package/docs/WorkspaceRole.md +21 -0
  98. package/docs/WorkspaceSecurity.md +23 -0
  99. package/docs/WorkspaceSolution.md +25 -0
  100. package/docs/WorkspaceUpdateRequest.md +33 -0
  101. package/docs/WorkspaceWebApp.md +25 -0
  102. package/index.ts +1 -1
  103. package/package.json +1 -1
  104. package/scripts/git_push.sh +1 -1
@@ -0,0 +1,758 @@
1
+ # OrganizationApi
2
+
3
+ All URIs are relative to *http://localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createOrganization**](#createorganization) | **POST** /organizations | Create a new organization|
8
+ |[**createOrganizationAccessControl**](#createorganizationaccesscontrol) | **POST** /organizations/{organization_id}/security/access | Add a control access to the Organization|
9
+ |[**deleteOrganization**](#deleteorganization) | **DELETE** /organizations/{organization_id} | Delete an organization|
10
+ |[**deleteOrganizationAccessControl**](#deleteorganizationaccesscontrol) | **DELETE** /organizations/{organization_id}/security/access/{identity_id} | Remove the specified access from the given Organization|
11
+ |[**getOrganization**](#getorganization) | **GET** /organizations/{organization_id} | Get the details of an Organization|
12
+ |[**getOrganizationAccessControl**](#getorganizationaccesscontrol) | **GET** /organizations/{organization_id}/security/access/{identity_id} | Get a control access for the Organization|
13
+ |[**getOrganizationPermissions**](#getorganizationpermissions) | **GET** /organizations/{organization_id}/permissions/{role} | Get the Organization permissions by given role|
14
+ |[**getOrganizationSecurity**](#getorganizationsecurity) | **GET** /organizations/{organization_id}/security | Get the Organization security information|
15
+ |[**listOrganizationSecurityUsers**](#listorganizationsecurityusers) | **GET** /organizations/{organization_id}/security/users | Get the Organization security users list|
16
+ |[**listOrganizations**](#listorganizations) | **GET** /organizations | List all Organizations|
17
+ |[**listPermissions**](#listpermissions) | **GET** /organizations/permissions | Get all permissions per components|
18
+ |[**updateOrganization**](#updateorganization) | **PATCH** /organizations/{organization_id} | Update an Organization|
19
+ |[**updateOrganizationAccessControl**](#updateorganizationaccesscontrol) | **PATCH** /organizations/{organization_id}/security/access/{identity_id} | Update the specified access to User for an Organization|
20
+ |[**updateOrganizationDefaultSecurity**](#updateorganizationdefaultsecurity) | **PATCH** /organizations/{organization_id}/security/default | Update the Organization default security|
21
+
22
+ # **createOrganization**
23
+ > Organization createOrganization(organizationCreateRequest)
24
+
25
+
26
+ ### Example
27
+
28
+ ```typescript
29
+ import {
30
+ OrganizationApi,
31
+ Configuration,
32
+ OrganizationCreateRequest
33
+ } from '@cosmotech/api-ts';
34
+
35
+ const configuration = new Configuration();
36
+ const apiInstance = new OrganizationApi(configuration);
37
+
38
+ let organizationCreateRequest: OrganizationCreateRequest; //The Organization to create
39
+
40
+ const { status, data } = await apiInstance.createOrganization(
41
+ organizationCreateRequest
42
+ );
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+ |Name | Type | Description | Notes|
48
+ |------------- | ------------- | ------------- | -------------|
49
+ | **organizationCreateRequest** | **OrganizationCreateRequest**| The Organization to create | |
50
+
51
+
52
+ ### Return type
53
+
54
+ **Organization**
55
+
56
+ ### Authorization
57
+
58
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: application/json, application/yaml
63
+ - **Accept**: application/json, application/yaml
64
+
65
+
66
+ ### HTTP response details
67
+ | Status code | Description | Response headers |
68
+ |-------------|-------------|------------------|
69
+ |**201** | The Organization details | - |
70
+ |**400** | Bad request | - |
71
+
72
+ [[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)
73
+
74
+ # **createOrganizationAccessControl**
75
+ > OrganizationAccessControl createOrganizationAccessControl(organizationAccessControl)
76
+
77
+
78
+ ### Example
79
+
80
+ ```typescript
81
+ import {
82
+ OrganizationApi,
83
+ Configuration,
84
+ OrganizationAccessControl
85
+ } from '@cosmotech/api-ts';
86
+
87
+ const configuration = new Configuration();
88
+ const apiInstance = new OrganizationApi(configuration);
89
+
90
+ let organizationId: string; //The Organization identifier (default to undefined)
91
+ let organizationAccessControl: OrganizationAccessControl; //The new Organization security access to add.
92
+
93
+ const { status, data } = await apiInstance.createOrganizationAccessControl(
94
+ organizationId,
95
+ organizationAccessControl
96
+ );
97
+ ```
98
+
99
+ ### Parameters
100
+
101
+ |Name | Type | Description | Notes|
102
+ |------------- | ------------- | ------------- | -------------|
103
+ | **organizationAccessControl** | **OrganizationAccessControl**| The new Organization security access to add. | |
104
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
105
+
106
+
107
+ ### Return type
108
+
109
+ **OrganizationAccessControl**
110
+
111
+ ### Authorization
112
+
113
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
114
+
115
+ ### HTTP request headers
116
+
117
+ - **Content-Type**: application/json, application/yaml
118
+ - **Accept**: application/json, application/yaml
119
+
120
+
121
+ ### HTTP response details
122
+ | Status code | Description | Response headers |
123
+ |-------------|-------------|------------------|
124
+ |**201** | The Organization access | - |
125
+ |**404** | The Organization specified is unknown or you don\'t have access to it | - |
126
+
127
+ [[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)
128
+
129
+ # **deleteOrganization**
130
+ > deleteOrganization()
131
+
132
+
133
+ ### Example
134
+
135
+ ```typescript
136
+ import {
137
+ OrganizationApi,
138
+ Configuration
139
+ } from '@cosmotech/api-ts';
140
+
141
+ const configuration = new Configuration();
142
+ const apiInstance = new OrganizationApi(configuration);
143
+
144
+ let organizationId: string; //The Organization identifier (default to undefined)
145
+
146
+ const { status, data } = await apiInstance.deleteOrganization(
147
+ organizationId
148
+ );
149
+ ```
150
+
151
+ ### Parameters
152
+
153
+ |Name | Type | Description | Notes|
154
+ |------------- | ------------- | ------------- | -------------|
155
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
156
+
157
+
158
+ ### Return type
159
+
160
+ void (empty response body)
161
+
162
+ ### Authorization
163
+
164
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
165
+
166
+ ### HTTP request headers
167
+
168
+ - **Content-Type**: Not defined
169
+ - **Accept**: Not defined
170
+
171
+
172
+ ### HTTP response details
173
+ | Status code | Description | Response headers |
174
+ |-------------|-------------|------------------|
175
+ |**204** | Request succeeded | - |
176
+ |**404** | The Organization specified is unknown or you don\'t have access to it | - |
177
+
178
+ [[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)
179
+
180
+ # **deleteOrganizationAccessControl**
181
+ > deleteOrganizationAccessControl()
182
+
183
+
184
+ ### Example
185
+
186
+ ```typescript
187
+ import {
188
+ OrganizationApi,
189
+ Configuration
190
+ } from '@cosmotech/api-ts';
191
+
192
+ const configuration = new Configuration();
193
+ const apiInstance = new OrganizationApi(configuration);
194
+
195
+ let organizationId: string; //The Organization identifier (default to undefined)
196
+ let identityId: string; //The User identifier (default to undefined)
197
+
198
+ const { status, data } = await apiInstance.deleteOrganizationAccessControl(
199
+ organizationId,
200
+ identityId
201
+ );
202
+ ```
203
+
204
+ ### Parameters
205
+
206
+ |Name | Type | Description | Notes|
207
+ |------------- | ------------- | ------------- | -------------|
208
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
209
+ | **identityId** | [**string**] | The User identifier | defaults to undefined|
210
+
211
+
212
+ ### Return type
213
+
214
+ void (empty response body)
215
+
216
+ ### Authorization
217
+
218
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
219
+
220
+ ### HTTP request headers
221
+
222
+ - **Content-Type**: Not defined
223
+ - **Accept**: Not defined
224
+
225
+
226
+ ### HTTP response details
227
+ | Status code | Description | Response headers |
228
+ |-------------|-------------|------------------|
229
+ |**204** | Request succeeded | - |
230
+ |**404** | The Organization or the user specified is unknown or you don\'t have access to them | - |
231
+
232
+ [[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)
233
+
234
+ # **getOrganization**
235
+ > Organization getOrganization()
236
+
237
+
238
+ ### Example
239
+
240
+ ```typescript
241
+ import {
242
+ OrganizationApi,
243
+ Configuration
244
+ } from '@cosmotech/api-ts';
245
+
246
+ const configuration = new Configuration();
247
+ const apiInstance = new OrganizationApi(configuration);
248
+
249
+ let organizationId: string; //The Organization identifier (default to undefined)
250
+
251
+ const { status, data } = await apiInstance.getOrganization(
252
+ organizationId
253
+ );
254
+ ```
255
+
256
+ ### Parameters
257
+
258
+ |Name | Type | Description | Notes|
259
+ |------------- | ------------- | ------------- | -------------|
260
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
261
+
262
+
263
+ ### Return type
264
+
265
+ **Organization**
266
+
267
+ ### Authorization
268
+
269
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
270
+
271
+ ### HTTP request headers
272
+
273
+ - **Content-Type**: Not defined
274
+ - **Accept**: application/json, application/yaml
275
+
276
+
277
+ ### HTTP response details
278
+ | Status code | Description | Response headers |
279
+ |-------------|-------------|------------------|
280
+ |**200** | The Organization details | - |
281
+ |**404** | The Organization specified is unknown or you don\'t have access to it | - |
282
+
283
+ [[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)
284
+
285
+ # **getOrganizationAccessControl**
286
+ > OrganizationAccessControl getOrganizationAccessControl()
287
+
288
+
289
+ ### Example
290
+
291
+ ```typescript
292
+ import {
293
+ OrganizationApi,
294
+ Configuration
295
+ } from '@cosmotech/api-ts';
296
+
297
+ const configuration = new Configuration();
298
+ const apiInstance = new OrganizationApi(configuration);
299
+
300
+ let organizationId: string; //The Organization identifier (default to undefined)
301
+ let identityId: string; //The User identifier (default to undefined)
302
+
303
+ const { status, data } = await apiInstance.getOrganizationAccessControl(
304
+ organizationId,
305
+ identityId
306
+ );
307
+ ```
308
+
309
+ ### Parameters
310
+
311
+ |Name | Type | Description | Notes|
312
+ |------------- | ------------- | ------------- | -------------|
313
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
314
+ | **identityId** | [**string**] | The User identifier | defaults to undefined|
315
+
316
+
317
+ ### Return type
318
+
319
+ **OrganizationAccessControl**
320
+
321
+ ### Authorization
322
+
323
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
324
+
325
+ ### HTTP request headers
326
+
327
+ - **Content-Type**: Not defined
328
+ - **Accept**: application/json, application/yaml
329
+
330
+
331
+ ### HTTP response details
332
+ | Status code | Description | Response headers |
333
+ |-------------|-------------|------------------|
334
+ |**200** | The Organization access | - |
335
+ |**404** | The Organization or user specified is unknown or you don\'t have access to it | - |
336
+
337
+ [[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)
338
+
339
+ # **getOrganizationPermissions**
340
+ > Array<string> getOrganizationPermissions()
341
+
342
+
343
+ ### Example
344
+
345
+ ```typescript
346
+ import {
347
+ OrganizationApi,
348
+ Configuration
349
+ } from '@cosmotech/api-ts';
350
+
351
+ const configuration = new Configuration();
352
+ const apiInstance = new OrganizationApi(configuration);
353
+
354
+ let organizationId: string; //The Organization identifier (default to undefined)
355
+ let role: string; //The Role (default to undefined)
356
+
357
+ const { status, data } = await apiInstance.getOrganizationPermissions(
358
+ organizationId,
359
+ role
360
+ );
361
+ ```
362
+
363
+ ### Parameters
364
+
365
+ |Name | Type | Description | Notes|
366
+ |------------- | ------------- | ------------- | -------------|
367
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
368
+ | **role** | [**string**] | The Role | defaults to undefined|
369
+
370
+
371
+ ### Return type
372
+
373
+ **Array<string>**
374
+
375
+ ### Authorization
376
+
377
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
378
+
379
+ ### HTTP request headers
380
+
381
+ - **Content-Type**: Not defined
382
+ - **Accept**: application/json, application/yaml
383
+
384
+
385
+ ### HTTP response details
386
+ | Status code | Description | Response headers |
387
+ |-------------|-------------|------------------|
388
+ |**200** | The Organization security permission list | - |
389
+
390
+ [[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)
391
+
392
+ # **getOrganizationSecurity**
393
+ > OrganizationSecurity getOrganizationSecurity()
394
+
395
+
396
+ ### Example
397
+
398
+ ```typescript
399
+ import {
400
+ OrganizationApi,
401
+ Configuration
402
+ } from '@cosmotech/api-ts';
403
+
404
+ const configuration = new Configuration();
405
+ const apiInstance = new OrganizationApi(configuration);
406
+
407
+ let organizationId: string; //The Organization identifier (default to undefined)
408
+
409
+ const { status, data } = await apiInstance.getOrganizationSecurity(
410
+ organizationId
411
+ );
412
+ ```
413
+
414
+ ### Parameters
415
+
416
+ |Name | Type | Description | Notes|
417
+ |------------- | ------------- | ------------- | -------------|
418
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
419
+
420
+
421
+ ### Return type
422
+
423
+ **OrganizationSecurity**
424
+
425
+ ### Authorization
426
+
427
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
428
+
429
+ ### HTTP request headers
430
+
431
+ - **Content-Type**: Not defined
432
+ - **Accept**: application/json, application/yaml
433
+
434
+
435
+ ### HTTP response details
436
+ | Status code | Description | Response headers |
437
+ |-------------|-------------|------------------|
438
+ |**200** | The Organization security | - |
439
+ |**404** | The Organization specified is unknown or you don\&#39;t have access to it | - |
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
+
443
+ # **listOrganizationSecurityUsers**
444
+ > Array<string> listOrganizationSecurityUsers()
445
+
446
+
447
+ ### Example
448
+
449
+ ```typescript
450
+ import {
451
+ OrganizationApi,
452
+ Configuration
453
+ } from '@cosmotech/api-ts';
454
+
455
+ const configuration = new Configuration();
456
+ const apiInstance = new OrganizationApi(configuration);
457
+
458
+ let organizationId: string; //The Organization identifier (default to undefined)
459
+
460
+ const { status, data } = await apiInstance.listOrganizationSecurityUsers(
461
+ organizationId
462
+ );
463
+ ```
464
+
465
+ ### Parameters
466
+
467
+ |Name | Type | Description | Notes|
468
+ |------------- | ------------- | ------------- | -------------|
469
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
470
+
471
+
472
+ ### Return type
473
+
474
+ **Array<string>**
475
+
476
+ ### Authorization
477
+
478
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
479
+
480
+ ### HTTP request headers
481
+
482
+ - **Content-Type**: Not defined
483
+ - **Accept**: application/json, application/yaml
484
+
485
+
486
+ ### HTTP response details
487
+ | Status code | Description | Response headers |
488
+ |-------------|-------------|------------------|
489
+ |**200** | The Organization security users list | - |
490
+ |**404** | The Organization specified is unknown or you don\&#39;t have access to it | - |
491
+
492
+ [[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)
493
+
494
+ # **listOrganizations**
495
+ > Array<Organization> listOrganizations()
496
+
497
+
498
+ ### Example
499
+
500
+ ```typescript
501
+ import {
502
+ OrganizationApi,
503
+ Configuration
504
+ } from '@cosmotech/api-ts';
505
+
506
+ const configuration = new Configuration();
507
+ const apiInstance = new OrganizationApi(configuration);
508
+
509
+ let page: number; //Page number to query (first page is at index 0) (optional) (default to undefined)
510
+ let size: number; //Amount of result by page (optional) (default to undefined)
511
+
512
+ const { status, data } = await apiInstance.listOrganizations(
513
+ page,
514
+ size
515
+ );
516
+ ```
517
+
518
+ ### Parameters
519
+
520
+ |Name | Type | Description | Notes|
521
+ |------------- | ------------- | ------------- | -------------|
522
+ | **page** | [**number**] | Page number to query (first page is at index 0) | (optional) defaults to undefined|
523
+ | **size** | [**number**] | Amount of result by page | (optional) defaults to undefined|
524
+
525
+
526
+ ### Return type
527
+
528
+ **Array<Organization>**
529
+
530
+ ### Authorization
531
+
532
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
533
+
534
+ ### HTTP request headers
535
+
536
+ - **Content-Type**: Not defined
537
+ - **Accept**: application/json, application/yaml
538
+
539
+
540
+ ### HTTP response details
541
+ | Status code | Description | Response headers |
542
+ |-------------|-------------|------------------|
543
+ |**200** | The list of Organizations | - |
544
+
545
+ [[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)
546
+
547
+ # **listPermissions**
548
+ > Array<ComponentRolePermissions> listPermissions()
549
+
550
+
551
+ ### Example
552
+
553
+ ```typescript
554
+ import {
555
+ OrganizationApi,
556
+ Configuration
557
+ } from '@cosmotech/api-ts';
558
+
559
+ const configuration = new Configuration();
560
+ const apiInstance = new OrganizationApi(configuration);
561
+
562
+ const { status, data } = await apiInstance.listPermissions();
563
+ ```
564
+
565
+ ### Parameters
566
+ This endpoint does not have any parameters.
567
+
568
+
569
+ ### Return type
570
+
571
+ **Array<ComponentRolePermissions>**
572
+
573
+ ### Authorization
574
+
575
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
576
+
577
+ ### HTTP request headers
578
+
579
+ - **Content-Type**: Not defined
580
+ - **Accept**: application/json, application/yaml
581
+
582
+
583
+ ### HTTP response details
584
+ | Status code | Description | Response headers |
585
+ |-------------|-------------|------------------|
586
+ |**200** | The security permission list | - |
587
+
588
+ [[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)
589
+
590
+ # **updateOrganization**
591
+ > Organization updateOrganization(organizationUpdateRequest)
592
+
593
+
594
+ ### Example
595
+
596
+ ```typescript
597
+ import {
598
+ OrganizationApi,
599
+ Configuration,
600
+ OrganizationUpdateRequest
601
+ } from '@cosmotech/api-ts';
602
+
603
+ const configuration = new Configuration();
604
+ const apiInstance = new OrganizationApi(configuration);
605
+
606
+ let organizationId: string; //The Organization identifier (default to undefined)
607
+ let organizationUpdateRequest: OrganizationUpdateRequest; //The new Organization details. This endpoint can\'t be used to update security
608
+
609
+ const { status, data } = await apiInstance.updateOrganization(
610
+ organizationId,
611
+ organizationUpdateRequest
612
+ );
613
+ ```
614
+
615
+ ### Parameters
616
+
617
+ |Name | Type | Description | Notes|
618
+ |------------- | ------------- | ------------- | -------------|
619
+ | **organizationUpdateRequest** | **OrganizationUpdateRequest**| The new Organization details. This endpoint can\&#39;t be used to update security | |
620
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
621
+
622
+
623
+ ### Return type
624
+
625
+ **Organization**
626
+
627
+ ### Authorization
628
+
629
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
630
+
631
+ ### HTTP request headers
632
+
633
+ - **Content-Type**: application/json, application/yaml
634
+ - **Accept**: application/json, application/yaml
635
+
636
+
637
+ ### HTTP response details
638
+ | Status code | Description | Response headers |
639
+ |-------------|-------------|------------------|
640
+ |**200** | The organization details | - |
641
+ |**400** | Bad request | - |
642
+ |**404** | The Organization specified is unknown or you don\&#39;t have access to it | - |
643
+
644
+ [[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)
645
+
646
+ # **updateOrganizationAccessControl**
647
+ > OrganizationAccessControl updateOrganizationAccessControl(organizationRole)
648
+
649
+
650
+ ### Example
651
+
652
+ ```typescript
653
+ import {
654
+ OrganizationApi,
655
+ Configuration,
656
+ OrganizationRole
657
+ } from '@cosmotech/api-ts';
658
+
659
+ const configuration = new Configuration();
660
+ const apiInstance = new OrganizationApi(configuration);
661
+
662
+ let organizationId: string; //The Organization identifier (default to undefined)
663
+ let identityId: string; //The User identifier (default to undefined)
664
+ let organizationRole: OrganizationRole; //The new Organization Access Control
665
+
666
+ const { status, data } = await apiInstance.updateOrganizationAccessControl(
667
+ organizationId,
668
+ identityId,
669
+ organizationRole
670
+ );
671
+ ```
672
+
673
+ ### Parameters
674
+
675
+ |Name | Type | Description | Notes|
676
+ |------------- | ------------- | ------------- | -------------|
677
+ | **organizationRole** | **OrganizationRole**| The new Organization Access Control | |
678
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
679
+ | **identityId** | [**string**] | The User identifier | defaults to undefined|
680
+
681
+
682
+ ### Return type
683
+
684
+ **OrganizationAccessControl**
685
+
686
+ ### Authorization
687
+
688
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
689
+
690
+ ### HTTP request headers
691
+
692
+ - **Content-Type**: application/json, application/yaml
693
+ - **Accept**: application/json, application/yaml
694
+
695
+
696
+ ### HTTP response details
697
+ | Status code | Description | Response headers |
698
+ |-------------|-------------|------------------|
699
+ |**200** | The Organization access | - |
700
+ |**404** | The Organization specified is unknown or you don\&#39;t have access to it | - |
701
+
702
+ [[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)
703
+
704
+ # **updateOrganizationDefaultSecurity**
705
+ > OrganizationSecurity updateOrganizationDefaultSecurity(organizationRole)
706
+
707
+
708
+ ### Example
709
+
710
+ ```typescript
711
+ import {
712
+ OrganizationApi,
713
+ Configuration,
714
+ OrganizationRole
715
+ } from '@cosmotech/api-ts';
716
+
717
+ const configuration = new Configuration();
718
+ const apiInstance = new OrganizationApi(configuration);
719
+
720
+ let organizationId: string; //The Organization identifier (default to undefined)
721
+ let organizationRole: OrganizationRole; //This change the organization 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 organization.
722
+
723
+ const { status, data } = await apiInstance.updateOrganizationDefaultSecurity(
724
+ organizationId,
725
+ organizationRole
726
+ );
727
+ ```
728
+
729
+ ### Parameters
730
+
731
+ |Name | Type | Description | Notes|
732
+ |------------- | ------------- | ------------- | -------------|
733
+ | **organizationRole** | **OrganizationRole**| This change the organization 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 organization. | |
734
+ | **organizationId** | [**string**] | The Organization identifier | defaults to undefined|
735
+
736
+
737
+ ### Return type
738
+
739
+ **OrganizationSecurity**
740
+
741
+ ### Authorization
742
+
743
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
744
+
745
+ ### HTTP request headers
746
+
747
+ - **Content-Type**: application/json, application/yaml
748
+ - **Accept**: application/json, application/yaml
749
+
750
+
751
+ ### HTTP response details
752
+ | Status code | Description | Response headers |
753
+ |-------------|-------------|------------------|
754
+ |**201** | The Organization default visibility | - |
755
+ |**404** | The Organization specified is unknown or you don\&#39;t have access to it | - |
756
+
757
+ [[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)
758
+