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