@openfilz-sdk/typescript-ee 1.14.4 → 1.14.5

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 (153) hide show
  1. package/.openapi-generator/FILES +32 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +35 -2
  4. package/api/collaboration-controller-api.ts +8 -8
  5. package/api/directory-administration-api.ts +200 -0
  6. package/api/team-administration-api.ts +221 -4
  7. package/api/teams-api.ts +1090 -0
  8. package/api/user-privacy-api.ts +4 -4
  9. package/api.ts +2 -0
  10. package/dist/api/collaboration-controller-api.d.ts +8 -8
  11. package/dist/api/collaboration-controller-api.js +8 -8
  12. package/dist/api/directory-administration-api.d.ts +99 -0
  13. package/dist/api/directory-administration-api.js +201 -0
  14. package/dist/api/team-administration-api.d.ts +101 -4
  15. package/dist/api/team-administration-api.js +210 -4
  16. package/dist/api/teams-api.d.ts +499 -0
  17. package/dist/api/teams-api.js +1039 -0
  18. package/dist/api/user-privacy-api.d.ts +4 -4
  19. package/dist/api/user-privacy-api.js +4 -4
  20. package/dist/api.d.ts +2 -0
  21. package/dist/api.js +2 -0
  22. package/dist/esm/api/collaboration-controller-api.d.ts +8 -8
  23. package/dist/esm/api/collaboration-controller-api.js +8 -8
  24. package/dist/esm/api/directory-administration-api.d.ts +99 -0
  25. package/dist/esm/api/directory-administration-api.js +194 -0
  26. package/dist/esm/api/team-administration-api.d.ts +101 -4
  27. package/dist/esm/api/team-administration-api.js +210 -4
  28. package/dist/esm/api/teams-api.d.ts +499 -0
  29. package/dist/esm/api/teams-api.js +1032 -0
  30. package/dist/esm/api/user-privacy-api.d.ts +4 -4
  31. package/dist/esm/api/user-privacy-api.js +4 -4
  32. package/dist/esm/api.d.ts +2 -0
  33. package/dist/esm/api.js +2 -0
  34. package/dist/esm/models/add-team-owner-request.d.ts +14 -0
  35. package/dist/esm/models/add-team-owner-request.js +14 -0
  36. package/dist/esm/models/create-collaborative-team-request.d.ts +14 -0
  37. package/dist/esm/models/create-collaborative-team-request.js +14 -0
  38. package/dist/esm/models/directory-hidden-request.d.ts +14 -0
  39. package/dist/esm/models/directory-hidden-request.js +14 -0
  40. package/dist/esm/models/enriched-audit-log.d.ts +7 -0
  41. package/dist/esm/models/enriched-audit-log.js +7 -0
  42. package/dist/esm/models/index.d.ts +14 -0
  43. package/dist/esm/models/index.js +14 -0
  44. package/dist/esm/models/invite-to-team-request.d.ts +14 -0
  45. package/dist/esm/models/invite-to-team-request.js +14 -0
  46. package/dist/esm/models/my-team.d.ts +23 -0
  47. package/dist/esm/models/my-team.js +17 -0
  48. package/dist/esm/models/notification-dto.d.ts +5 -0
  49. package/dist/esm/models/notification-dto.js +5 -0
  50. package/dist/esm/models/rename-team-request.d.ts +14 -0
  51. package/dist/esm/models/rename-team-request.js +14 -0
  52. package/dist/esm/models/search-by-audit-log-request.d.ts +7 -0
  53. package/dist/esm/models/search-by-audit-log-request.js +7 -0
  54. package/dist/esm/models/team-capabilities.d.ts +18 -0
  55. package/dist/esm/models/team-capabilities.js +14 -0
  56. package/dist/esm/models/team-details.d.ts +28 -0
  57. package/dist/esm/models/team-details.js +17 -0
  58. package/dist/esm/models/team-invitation-view.d.ts +20 -0
  59. package/dist/esm/models/team-invitation-view.js +14 -0
  60. package/dist/esm/models/team-invite-result.d.ts +23 -0
  61. package/dist/esm/models/team-invite-result.js +20 -0
  62. package/dist/esm/models/team-kind-view.d.ts +23 -0
  63. package/dist/esm/models/team-kind-view.js +17 -0
  64. package/dist/esm/models/team-owner-view.d.ts +16 -0
  65. package/dist/esm/models/team-owner-view.js +14 -0
  66. package/dist/esm/models/team-pending-invitee.d.ts +19 -0
  67. package/dist/esm/models/team-pending-invitee.js +14 -0
  68. package/dist/esm/models/team-person.d.ts +17 -0
  69. package/dist/esm/models/team-person.js +14 -0
  70. package/dist/esm/models/update-user-privacy-request.d.ts +3 -1
  71. package/dist/esm/models/user-privacy-dto.d.ts +8 -0
  72. package/dist/esm/models/user-privacy-dto.js +4 -1
  73. package/dist/models/add-team-owner-request.d.ts +14 -0
  74. package/dist/models/add-team-owner-request.js +15 -0
  75. package/dist/models/create-collaborative-team-request.d.ts +14 -0
  76. package/dist/models/create-collaborative-team-request.js +15 -0
  77. package/dist/models/directory-hidden-request.d.ts +14 -0
  78. package/dist/models/directory-hidden-request.js +15 -0
  79. package/dist/models/enriched-audit-log.d.ts +7 -0
  80. package/dist/models/enriched-audit-log.js +7 -0
  81. package/dist/models/index.d.ts +14 -0
  82. package/dist/models/index.js +14 -0
  83. package/dist/models/invite-to-team-request.d.ts +14 -0
  84. package/dist/models/invite-to-team-request.js +15 -0
  85. package/dist/models/my-team.d.ts +23 -0
  86. package/dist/models/my-team.js +20 -0
  87. package/dist/models/notification-dto.d.ts +5 -0
  88. package/dist/models/notification-dto.js +5 -0
  89. package/dist/models/rename-team-request.d.ts +14 -0
  90. package/dist/models/rename-team-request.js +15 -0
  91. package/dist/models/search-by-audit-log-request.d.ts +7 -0
  92. package/dist/models/search-by-audit-log-request.js +7 -0
  93. package/dist/models/team-capabilities.d.ts +18 -0
  94. package/dist/models/team-capabilities.js +15 -0
  95. package/dist/models/team-details.d.ts +28 -0
  96. package/dist/models/team-details.js +20 -0
  97. package/dist/models/team-invitation-view.d.ts +20 -0
  98. package/dist/models/team-invitation-view.js +15 -0
  99. package/dist/models/team-invite-result.d.ts +23 -0
  100. package/dist/models/team-invite-result.js +23 -0
  101. package/dist/models/team-kind-view.d.ts +23 -0
  102. package/dist/models/team-kind-view.js +20 -0
  103. package/dist/models/team-owner-view.d.ts +16 -0
  104. package/dist/models/team-owner-view.js +15 -0
  105. package/dist/models/team-pending-invitee.d.ts +19 -0
  106. package/dist/models/team-pending-invitee.js +15 -0
  107. package/dist/models/team-person.d.ts +17 -0
  108. package/dist/models/team-person.js +15 -0
  109. package/dist/models/update-user-privacy-request.d.ts +3 -1
  110. package/dist/models/user-privacy-dto.d.ts +8 -0
  111. package/dist/models/user-privacy-dto.js +5 -0
  112. package/docs/AddTeamOwnerRequest.md +20 -0
  113. package/docs/CollaborationControllerApi.md +2 -2
  114. package/docs/CreateCollaborativeTeamRequest.md +20 -0
  115. package/docs/DirectoryAdministrationApi.md +107 -0
  116. package/docs/DirectoryHiddenRequest.md +20 -0
  117. package/docs/InviteToTeamRequest.md +20 -0
  118. package/docs/MyTeam.md +28 -0
  119. package/docs/RenameTeamRequest.md +20 -0
  120. package/docs/TeamAdministrationApi.md +153 -1
  121. package/docs/TeamCapabilities.md +28 -0
  122. package/docs/TeamDetails.md +34 -0
  123. package/docs/TeamInvitationView.md +32 -0
  124. package/docs/TeamInviteResult.md +22 -0
  125. package/docs/TeamKindView.md +26 -0
  126. package/docs/TeamOwnerView.md +24 -0
  127. package/docs/TeamPendingInvitee.md +30 -0
  128. package/docs/TeamPerson.md +26 -0
  129. package/docs/TeamsApi.md +724 -0
  130. package/docs/UpdateUserPrivacyRequest.md +5 -1
  131. package/docs/UserPrivacyApi.md +1 -1
  132. package/docs/UserPrivacyDTO.md +6 -0
  133. package/models/add-team-owner-request.ts +20 -0
  134. package/models/create-collaborative-team-request.ts +20 -0
  135. package/models/directory-hidden-request.ts +20 -0
  136. package/models/enriched-audit-log.ts +7 -0
  137. package/models/index.ts +14 -0
  138. package/models/invite-to-team-request.ts +20 -0
  139. package/models/my-team.ts +32 -0
  140. package/models/notification-dto.ts +5 -0
  141. package/models/rename-team-request.ts +20 -0
  142. package/models/search-by-audit-log-request.ts +7 -0
  143. package/models/team-capabilities.ts +24 -0
  144. package/models/team-details.ts +41 -0
  145. package/models/team-invitation-view.ts +26 -0
  146. package/models/team-invite-result.ts +32 -0
  147. package/models/team-kind-view.ts +34 -0
  148. package/models/team-owner-view.ts +22 -0
  149. package/models/team-pending-invitee.ts +25 -0
  150. package/models/team-person.ts +23 -0
  151. package/models/update-user-privacy-request.ts +3 -1
  152. package/models/user-privacy-dto.ts +11 -0
  153. package/package.json +1 -1
@@ -0,0 +1,724 @@
1
+ # TeamsApi
2
+
3
+ All URIs are relative to *http://localhost:8081*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**acceptTeamInvitation**](#acceptteaminvitation) | **POST** /api/v1/users/me/team-invitations/{invitationId}/accept | Join the team|
8
+ |[**addTeamOwner**](#addteamowner) | **POST** /api/v1/teams/{teamId}/owners | Make a licensed member a co-owner of a collaborative team|
9
+ |[**cancelTeamInvitation**](#cancelteaminvitation) | **DELETE** /api/v1/teams/{teamId}/invitations/{invitationId} | Cancel a pending invitation|
10
+ |[**createCollaborativeTeam**](#createcollaborativeteam) | **POST** /api/v1/teams | Create a collaborative team (I become its owner)|
11
+ |[**declineTeamInvitation**](#declineteaminvitation) | **POST** /api/v1/users/me/team-invitations/{invitationId}/decline | Decline the invitation|
12
+ |[**deleteCollaborativeTeam**](#deletecollaborativeteam) | **DELETE** /api/v1/teams/{teamId} | Delete a team (owner of a collaborative team, or administrator)|
13
+ |[**inviteToTeam**](#invitetoteam) | **POST** /api/v1/teams/{teamId}/invitations | Invite people by exact e-mail address|
14
+ |[**leaveTeam**](#leaveteam) | **POST** /api/v1/users/me/teams/{teamId}/leave | Leave a collaborative team|
15
+ |[**myTeamInvitations**](#myteaminvitations) | **GET** /api/v1/users/me/team-invitations | My pending team invitations|
16
+ |[**myTeams**](#myteams) | **GET** /api/v1/teams/mine | The teams I belong to, with their kind and whether I own them|
17
+ |[**removeTeamMember**](#removeteammember) | **DELETE** /api/v1/teams/{teamId}/members/{userId} | Remove a member (the last owner cannot be removed)|
18
+ |[**renameTeam**](#renameteam) | **PUT** /api/v1/teams/{teamId} | Rename a team (owner of a collaborative team, or administrator)|
19
+ |[**teamCapabilities**](#teamcapabilities) | **GET** /api/v1/teams/capabilities | May I create teams, and how many do I own|
20
+ |[**teamDetails**](#teamdetails) | **GET** /api/v1/teams/{teamId} | Members, owners and (for its managers) pending invitations of a team|
21
+
22
+ # **acceptTeamInvitation**
23
+ > acceptTeamInvitation()
24
+
25
+ 410 when the invitation was answered, cancelled or expired; 409 when the sharing policy refuses the membership.
26
+
27
+ ### Example
28
+
29
+ ```typescript
30
+ import {
31
+ TeamsApi,
32
+ Configuration
33
+ } from '@openfilz-sdk/typescript-ee';
34
+
35
+ const configuration = new Configuration();
36
+ const apiInstance = new TeamsApi(configuration);
37
+
38
+ let invitationId: string; // (default to undefined)
39
+
40
+ const { status, data } = await apiInstance.acceptTeamInvitation(
41
+ invitationId
42
+ );
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+ |Name | Type | Description | Notes|
48
+ |------------- | ------------- | ------------- | -------------|
49
+ | **invitationId** | [**string**] | | defaults to undefined|
50
+
51
+
52
+ ### Return type
53
+
54
+ void (empty response body)
55
+
56
+ ### Authorization
57
+
58
+ [keycloak_auth](../README.md#keycloak_auth)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: Not defined
63
+ - **Accept**: Not defined
64
+
65
+
66
+ ### HTTP response details
67
+ | Status code | Description | Response headers |
68
+ |-------------|-------------|------------------|
69
+ |**200** | OK | - |
70
+
71
+ [[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)
72
+
73
+ # **addTeamOwner**
74
+ > addTeamOwner(addTeamOwnerRequest)
75
+
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ TeamsApi,
82
+ Configuration,
83
+ AddTeamOwnerRequest
84
+ } from '@openfilz-sdk/typescript-ee';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new TeamsApi(configuration);
88
+
89
+ let teamId: string; // (default to undefined)
90
+ let addTeamOwnerRequest: AddTeamOwnerRequest; //
91
+
92
+ const { status, data } = await apiInstance.addTeamOwner(
93
+ teamId,
94
+ addTeamOwnerRequest
95
+ );
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ |Name | Type | Description | Notes|
101
+ |------------- | ------------- | ------------- | -------------|
102
+ | **addTeamOwnerRequest** | **AddTeamOwnerRequest**| | |
103
+ | **teamId** | [**string**] | | defaults to undefined|
104
+
105
+
106
+ ### Return type
107
+
108
+ void (empty response body)
109
+
110
+ ### Authorization
111
+
112
+ [keycloak_auth](../README.md#keycloak_auth)
113
+
114
+ ### HTTP request headers
115
+
116
+ - **Content-Type**: application/json
117
+ - **Accept**: Not defined
118
+
119
+
120
+ ### HTTP response details
121
+ | Status code | Description | Response headers |
122
+ |-------------|-------------|------------------|
123
+ |**200** | OK | - |
124
+
125
+ [[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)
126
+
127
+ # **cancelTeamInvitation**
128
+ > cancelTeamInvitation()
129
+
130
+
131
+ ### Example
132
+
133
+ ```typescript
134
+ import {
135
+ TeamsApi,
136
+ Configuration
137
+ } from '@openfilz-sdk/typescript-ee';
138
+
139
+ const configuration = new Configuration();
140
+ const apiInstance = new TeamsApi(configuration);
141
+
142
+ let teamId: string; // (default to undefined)
143
+ let invitationId: string; // (default to undefined)
144
+
145
+ const { status, data } = await apiInstance.cancelTeamInvitation(
146
+ teamId,
147
+ invitationId
148
+ );
149
+ ```
150
+
151
+ ### Parameters
152
+
153
+ |Name | Type | Description | Notes|
154
+ |------------- | ------------- | ------------- | -------------|
155
+ | **teamId** | [**string**] | | defaults to undefined|
156
+ | **invitationId** | [**string**] | | defaults to undefined|
157
+
158
+
159
+ ### Return type
160
+
161
+ void (empty response body)
162
+
163
+ ### Authorization
164
+
165
+ [keycloak_auth](../README.md#keycloak_auth)
166
+
167
+ ### HTTP request headers
168
+
169
+ - **Content-Type**: Not defined
170
+ - **Accept**: Not defined
171
+
172
+
173
+ ### HTTP response details
174
+ | Status code | Description | Response headers |
175
+ |-------------|-------------|------------------|
176
+ |**200** | OK | - |
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
+ # **createCollaborativeTeam**
181
+ > TeamDetails createCollaborativeTeam(createCollaborativeTeamRequest)
182
+
183
+ 404 unless openfilz.teams.user-managed is on; LICENSED contributors only; 409 when the name is taken or the caller already owns openfilz.teams.max-owned-per-user teams.
184
+
185
+ ### Example
186
+
187
+ ```typescript
188
+ import {
189
+ TeamsApi,
190
+ Configuration,
191
+ CreateCollaborativeTeamRequest
192
+ } from '@openfilz-sdk/typescript-ee';
193
+
194
+ const configuration = new Configuration();
195
+ const apiInstance = new TeamsApi(configuration);
196
+
197
+ let createCollaborativeTeamRequest: CreateCollaborativeTeamRequest; //
198
+
199
+ const { status, data } = await apiInstance.createCollaborativeTeam(
200
+ createCollaborativeTeamRequest
201
+ );
202
+ ```
203
+
204
+ ### Parameters
205
+
206
+ |Name | Type | Description | Notes|
207
+ |------------- | ------------- | ------------- | -------------|
208
+ | **createCollaborativeTeamRequest** | **CreateCollaborativeTeamRequest**| | |
209
+
210
+
211
+ ### Return type
212
+
213
+ **TeamDetails**
214
+
215
+ ### Authorization
216
+
217
+ [keycloak_auth](../README.md#keycloak_auth)
218
+
219
+ ### HTTP request headers
220
+
221
+ - **Content-Type**: application/json
222
+ - **Accept**: */*
223
+
224
+
225
+ ### HTTP response details
226
+ | Status code | Description | Response headers |
227
+ |-------------|-------------|------------------|
228
+ |**201** | Created | - |
229
+
230
+ [[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)
231
+
232
+ # **declineTeamInvitation**
233
+ > declineTeamInvitation()
234
+
235
+
236
+ ### Example
237
+
238
+ ```typescript
239
+ import {
240
+ TeamsApi,
241
+ Configuration
242
+ } from '@openfilz-sdk/typescript-ee';
243
+
244
+ const configuration = new Configuration();
245
+ const apiInstance = new TeamsApi(configuration);
246
+
247
+ let invitationId: string; // (default to undefined)
248
+
249
+ const { status, data } = await apiInstance.declineTeamInvitation(
250
+ invitationId
251
+ );
252
+ ```
253
+
254
+ ### Parameters
255
+
256
+ |Name | Type | Description | Notes|
257
+ |------------- | ------------- | ------------- | -------------|
258
+ | **invitationId** | [**string**] | | defaults to undefined|
259
+
260
+
261
+ ### Return type
262
+
263
+ void (empty response body)
264
+
265
+ ### Authorization
266
+
267
+ [keycloak_auth](../README.md#keycloak_auth)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: Not defined
272
+ - **Accept**: Not defined
273
+
274
+
275
+ ### HTTP response details
276
+ | Status code | Description | Response headers |
277
+ |-------------|-------------|------------------|
278
+ |**200** | OK | - |
279
+
280
+ [[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)
281
+
282
+ # **deleteCollaborativeTeam**
283
+ > deleteCollaborativeTeam()
284
+
285
+
286
+ ### Example
287
+
288
+ ```typescript
289
+ import {
290
+ TeamsApi,
291
+ Configuration
292
+ } from '@openfilz-sdk/typescript-ee';
293
+
294
+ const configuration = new Configuration();
295
+ const apiInstance = new TeamsApi(configuration);
296
+
297
+ let teamId: string; // (default to undefined)
298
+
299
+ const { status, data } = await apiInstance.deleteCollaborativeTeam(
300
+ teamId
301
+ );
302
+ ```
303
+
304
+ ### Parameters
305
+
306
+ |Name | Type | Description | Notes|
307
+ |------------- | ------------- | ------------- | -------------|
308
+ | **teamId** | [**string**] | | defaults to undefined|
309
+
310
+
311
+ ### Return type
312
+
313
+ void (empty response body)
314
+
315
+ ### Authorization
316
+
317
+ [keycloak_auth](../README.md#keycloak_auth)
318
+
319
+ ### HTTP request headers
320
+
321
+ - **Content-Type**: Not defined
322
+ - **Accept**: Not defined
323
+
324
+
325
+ ### HTTP response details
326
+ | Status code | Description | Response headers |
327
+ |-------------|-------------|------------------|
328
+ |**200** | OK | - |
329
+
330
+ [[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)
331
+
332
+ # **inviteToTeam**
333
+ > Array<TeamInviteResult> inviteToTeam(inviteToTeamRequest)
334
+
335
+ One outcome per address: INVITED, ALREADY_MEMBER, ALREADY_INVITED, NOT_FOUND, BLOCKED_BY_POLICY. Membership starts when the invitee accepts. At most 50 addresses per call.
336
+
337
+ ### Example
338
+
339
+ ```typescript
340
+ import {
341
+ TeamsApi,
342
+ Configuration,
343
+ InviteToTeamRequest
344
+ } from '@openfilz-sdk/typescript-ee';
345
+
346
+ const configuration = new Configuration();
347
+ const apiInstance = new TeamsApi(configuration);
348
+
349
+ let teamId: string; // (default to undefined)
350
+ let inviteToTeamRequest: InviteToTeamRequest; //
351
+
352
+ const { status, data } = await apiInstance.inviteToTeam(
353
+ teamId,
354
+ inviteToTeamRequest
355
+ );
356
+ ```
357
+
358
+ ### Parameters
359
+
360
+ |Name | Type | Description | Notes|
361
+ |------------- | ------------- | ------------- | -------------|
362
+ | **inviteToTeamRequest** | **InviteToTeamRequest**| | |
363
+ | **teamId** | [**string**] | | defaults to undefined|
364
+
365
+
366
+ ### Return type
367
+
368
+ **Array<TeamInviteResult>**
369
+
370
+ ### Authorization
371
+
372
+ [keycloak_auth](../README.md#keycloak_auth)
373
+
374
+ ### HTTP request headers
375
+
376
+ - **Content-Type**: application/json
377
+ - **Accept**: */*
378
+
379
+
380
+ ### HTTP response details
381
+ | Status code | Description | Response headers |
382
+ |-------------|-------------|------------------|
383
+ |**200** | OK | - |
384
+
385
+ [[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)
386
+
387
+ # **leaveTeam**
388
+ > leaveTeam()
389
+
390
+ 403 for an organisation team (an administrator removes members); 409 for its last owner.
391
+
392
+ ### Example
393
+
394
+ ```typescript
395
+ import {
396
+ TeamsApi,
397
+ Configuration
398
+ } from '@openfilz-sdk/typescript-ee';
399
+
400
+ const configuration = new Configuration();
401
+ const apiInstance = new TeamsApi(configuration);
402
+
403
+ let teamId: string; // (default to undefined)
404
+
405
+ const { status, data } = await apiInstance.leaveTeam(
406
+ teamId
407
+ );
408
+ ```
409
+
410
+ ### Parameters
411
+
412
+ |Name | Type | Description | Notes|
413
+ |------------- | ------------- | ------------- | -------------|
414
+ | **teamId** | [**string**] | | defaults to undefined|
415
+
416
+
417
+ ### Return type
418
+
419
+ void (empty response body)
420
+
421
+ ### Authorization
422
+
423
+ [keycloak_auth](../README.md#keycloak_auth)
424
+
425
+ ### HTTP request headers
426
+
427
+ - **Content-Type**: Not defined
428
+ - **Accept**: Not defined
429
+
430
+
431
+ ### HTTP response details
432
+ | Status code | Description | Response headers |
433
+ |-------------|-------------|------------------|
434
+ |**200** | OK | - |
435
+
436
+ [[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)
437
+
438
+ # **myTeamInvitations**
439
+ > Array<TeamInvitationView> myTeamInvitations()
440
+
441
+
442
+ ### Example
443
+
444
+ ```typescript
445
+ import {
446
+ TeamsApi,
447
+ Configuration
448
+ } from '@openfilz-sdk/typescript-ee';
449
+
450
+ const configuration = new Configuration();
451
+ const apiInstance = new TeamsApi(configuration);
452
+
453
+ const { status, data } = await apiInstance.myTeamInvitations();
454
+ ```
455
+
456
+ ### Parameters
457
+ This endpoint does not have any parameters.
458
+
459
+
460
+ ### Return type
461
+
462
+ **Array<TeamInvitationView>**
463
+
464
+ ### Authorization
465
+
466
+ [keycloak_auth](../README.md#keycloak_auth)
467
+
468
+ ### HTTP request headers
469
+
470
+ - **Content-Type**: Not defined
471
+ - **Accept**: */*
472
+
473
+
474
+ ### HTTP response details
475
+ | Status code | Description | Response headers |
476
+ |-------------|-------------|------------------|
477
+ |**200** | OK | - |
478
+
479
+ [[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)
480
+
481
+ # **myTeams**
482
+ > Array<MyTeam> myTeams()
483
+
484
+
485
+ ### Example
486
+
487
+ ```typescript
488
+ import {
489
+ TeamsApi,
490
+ Configuration
491
+ } from '@openfilz-sdk/typescript-ee';
492
+
493
+ const configuration = new Configuration();
494
+ const apiInstance = new TeamsApi(configuration);
495
+
496
+ const { status, data } = await apiInstance.myTeams();
497
+ ```
498
+
499
+ ### Parameters
500
+ This endpoint does not have any parameters.
501
+
502
+
503
+ ### Return type
504
+
505
+ **Array<MyTeam>**
506
+
507
+ ### Authorization
508
+
509
+ [keycloak_auth](../README.md#keycloak_auth)
510
+
511
+ ### HTTP request headers
512
+
513
+ - **Content-Type**: Not defined
514
+ - **Accept**: */*
515
+
516
+
517
+ ### HTTP response details
518
+ | Status code | Description | Response headers |
519
+ |-------------|-------------|------------------|
520
+ |**200** | OK | - |
521
+
522
+ [[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)
523
+
524
+ # **removeTeamMember**
525
+ > removeTeamMember()
526
+
527
+
528
+ ### Example
529
+
530
+ ```typescript
531
+ import {
532
+ TeamsApi,
533
+ Configuration
534
+ } from '@openfilz-sdk/typescript-ee';
535
+
536
+ const configuration = new Configuration();
537
+ const apiInstance = new TeamsApi(configuration);
538
+
539
+ let teamId: string; // (default to undefined)
540
+ let userId: string; // (default to undefined)
541
+
542
+ const { status, data } = await apiInstance.removeTeamMember(
543
+ teamId,
544
+ userId
545
+ );
546
+ ```
547
+
548
+ ### Parameters
549
+
550
+ |Name | Type | Description | Notes|
551
+ |------------- | ------------- | ------------- | -------------|
552
+ | **teamId** | [**string**] | | defaults to undefined|
553
+ | **userId** | [**string**] | | defaults to undefined|
554
+
555
+
556
+ ### Return type
557
+
558
+ void (empty response body)
559
+
560
+ ### Authorization
561
+
562
+ [keycloak_auth](../README.md#keycloak_auth)
563
+
564
+ ### HTTP request headers
565
+
566
+ - **Content-Type**: Not defined
567
+ - **Accept**: Not defined
568
+
569
+
570
+ ### HTTP response details
571
+ | Status code | Description | Response headers |
572
+ |-------------|-------------|------------------|
573
+ |**200** | OK | - |
574
+
575
+ [[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)
576
+
577
+ # **renameTeam**
578
+ > renameTeam(renameTeamRequest)
579
+
580
+
581
+ ### Example
582
+
583
+ ```typescript
584
+ import {
585
+ TeamsApi,
586
+ Configuration,
587
+ RenameTeamRequest
588
+ } from '@openfilz-sdk/typescript-ee';
589
+
590
+ const configuration = new Configuration();
591
+ const apiInstance = new TeamsApi(configuration);
592
+
593
+ let teamId: string; // (default to undefined)
594
+ let renameTeamRequest: RenameTeamRequest; //
595
+
596
+ const { status, data } = await apiInstance.renameTeam(
597
+ teamId,
598
+ renameTeamRequest
599
+ );
600
+ ```
601
+
602
+ ### Parameters
603
+
604
+ |Name | Type | Description | Notes|
605
+ |------------- | ------------- | ------------- | -------------|
606
+ | **renameTeamRequest** | **RenameTeamRequest**| | |
607
+ | **teamId** | [**string**] | | defaults to undefined|
608
+
609
+
610
+ ### Return type
611
+
612
+ void (empty response body)
613
+
614
+ ### Authorization
615
+
616
+ [keycloak_auth](../README.md#keycloak_auth)
617
+
618
+ ### HTTP request headers
619
+
620
+ - **Content-Type**: application/json
621
+ - **Accept**: Not defined
622
+
623
+
624
+ ### HTTP response details
625
+ | Status code | Description | Response headers |
626
+ |-------------|-------------|------------------|
627
+ |**200** | OK | - |
628
+
629
+ [[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)
630
+
631
+ # **teamCapabilities**
632
+ > TeamCapabilities teamCapabilities()
633
+
634
+
635
+ ### Example
636
+
637
+ ```typescript
638
+ import {
639
+ TeamsApi,
640
+ Configuration
641
+ } from '@openfilz-sdk/typescript-ee';
642
+
643
+ const configuration = new Configuration();
644
+ const apiInstance = new TeamsApi(configuration);
645
+
646
+ const { status, data } = await apiInstance.teamCapabilities();
647
+ ```
648
+
649
+ ### Parameters
650
+ This endpoint does not have any parameters.
651
+
652
+
653
+ ### Return type
654
+
655
+ **TeamCapabilities**
656
+
657
+ ### Authorization
658
+
659
+ [keycloak_auth](../README.md#keycloak_auth)
660
+
661
+ ### HTTP request headers
662
+
663
+ - **Content-Type**: Not defined
664
+ - **Accept**: */*
665
+
666
+
667
+ ### HTTP response details
668
+ | Status code | Description | Response headers |
669
+ |-------------|-------------|------------------|
670
+ |**200** | OK | - |
671
+
672
+ [[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)
673
+
674
+ # **teamDetails**
675
+ > TeamDetails teamDetails()
676
+
677
+ LICENSED members and administrators. 403 for a FREE caller (who never gets other users), 404 for anyone else.
678
+
679
+ ### Example
680
+
681
+ ```typescript
682
+ import {
683
+ TeamsApi,
684
+ Configuration
685
+ } from '@openfilz-sdk/typescript-ee';
686
+
687
+ const configuration = new Configuration();
688
+ const apiInstance = new TeamsApi(configuration);
689
+
690
+ let teamId: string; // (default to undefined)
691
+
692
+ const { status, data } = await apiInstance.teamDetails(
693
+ teamId
694
+ );
695
+ ```
696
+
697
+ ### Parameters
698
+
699
+ |Name | Type | Description | Notes|
700
+ |------------- | ------------- | ------------- | -------------|
701
+ | **teamId** | [**string**] | | defaults to undefined|
702
+
703
+
704
+ ### Return type
705
+
706
+ **TeamDetails**
707
+
708
+ ### Authorization
709
+
710
+ [keycloak_auth](../README.md#keycloak_auth)
711
+
712
+ ### HTTP request headers
713
+
714
+ - **Content-Type**: Not defined
715
+ - **Accept**: */*
716
+
717
+
718
+ ### HTTP response details
719
+ | Status code | Description | Response headers |
720
+ |-------------|-------------|------------------|
721
+ |**200** | OK | - |
722
+
723
+ [[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)
724
+