@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.
- package/.openapi-generator/FILES +32 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +35 -2
- package/api/collaboration-controller-api.ts +8 -8
- package/api/directory-administration-api.ts +200 -0
- package/api/team-administration-api.ts +221 -4
- package/api/teams-api.ts +1090 -0
- package/api/user-privacy-api.ts +4 -4
- package/api.ts +2 -0
- package/dist/api/collaboration-controller-api.d.ts +8 -8
- package/dist/api/collaboration-controller-api.js +8 -8
- package/dist/api/directory-administration-api.d.ts +99 -0
- package/dist/api/directory-administration-api.js +201 -0
- package/dist/api/team-administration-api.d.ts +101 -4
- package/dist/api/team-administration-api.js +210 -4
- package/dist/api/teams-api.d.ts +499 -0
- package/dist/api/teams-api.js +1039 -0
- package/dist/api/user-privacy-api.d.ts +4 -4
- package/dist/api/user-privacy-api.js +4 -4
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/collaboration-controller-api.d.ts +8 -8
- package/dist/esm/api/collaboration-controller-api.js +8 -8
- package/dist/esm/api/directory-administration-api.d.ts +99 -0
- package/dist/esm/api/directory-administration-api.js +194 -0
- package/dist/esm/api/team-administration-api.d.ts +101 -4
- package/dist/esm/api/team-administration-api.js +210 -4
- package/dist/esm/api/teams-api.d.ts +499 -0
- package/dist/esm/api/teams-api.js +1032 -0
- package/dist/esm/api/user-privacy-api.d.ts +4 -4
- package/dist/esm/api/user-privacy-api.js +4 -4
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/add-team-owner-request.d.ts +14 -0
- package/dist/esm/models/add-team-owner-request.js +14 -0
- package/dist/esm/models/create-collaborative-team-request.d.ts +14 -0
- package/dist/esm/models/create-collaborative-team-request.js +14 -0
- package/dist/esm/models/directory-hidden-request.d.ts +14 -0
- package/dist/esm/models/directory-hidden-request.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +7 -0
- package/dist/esm/models/enriched-audit-log.js +7 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/models/invite-to-team-request.d.ts +14 -0
- package/dist/esm/models/invite-to-team-request.js +14 -0
- package/dist/esm/models/my-team.d.ts +23 -0
- package/dist/esm/models/my-team.js +17 -0
- package/dist/esm/models/notification-dto.d.ts +5 -0
- package/dist/esm/models/notification-dto.js +5 -0
- package/dist/esm/models/rename-team-request.d.ts +14 -0
- package/dist/esm/models/rename-team-request.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +7 -0
- package/dist/esm/models/search-by-audit-log-request.js +7 -0
- package/dist/esm/models/team-capabilities.d.ts +18 -0
- package/dist/esm/models/team-capabilities.js +14 -0
- package/dist/esm/models/team-details.d.ts +28 -0
- package/dist/esm/models/team-details.js +17 -0
- package/dist/esm/models/team-invitation-view.d.ts +20 -0
- package/dist/esm/models/team-invitation-view.js +14 -0
- package/dist/esm/models/team-invite-result.d.ts +23 -0
- package/dist/esm/models/team-invite-result.js +20 -0
- package/dist/esm/models/team-kind-view.d.ts +23 -0
- package/dist/esm/models/team-kind-view.js +17 -0
- package/dist/esm/models/team-owner-view.d.ts +16 -0
- package/dist/esm/models/team-owner-view.js +14 -0
- package/dist/esm/models/team-pending-invitee.d.ts +19 -0
- package/dist/esm/models/team-pending-invitee.js +14 -0
- package/dist/esm/models/team-person.d.ts +17 -0
- package/dist/esm/models/team-person.js +14 -0
- package/dist/esm/models/update-user-privacy-request.d.ts +3 -1
- package/dist/esm/models/user-privacy-dto.d.ts +8 -0
- package/dist/esm/models/user-privacy-dto.js +4 -1
- package/dist/models/add-team-owner-request.d.ts +14 -0
- package/dist/models/add-team-owner-request.js +15 -0
- package/dist/models/create-collaborative-team-request.d.ts +14 -0
- package/dist/models/create-collaborative-team-request.js +15 -0
- package/dist/models/directory-hidden-request.d.ts +14 -0
- package/dist/models/directory-hidden-request.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +7 -0
- package/dist/models/enriched-audit-log.js +7 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/invite-to-team-request.d.ts +14 -0
- package/dist/models/invite-to-team-request.js +15 -0
- package/dist/models/my-team.d.ts +23 -0
- package/dist/models/my-team.js +20 -0
- package/dist/models/notification-dto.d.ts +5 -0
- package/dist/models/notification-dto.js +5 -0
- package/dist/models/rename-team-request.d.ts +14 -0
- package/dist/models/rename-team-request.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +7 -0
- package/dist/models/search-by-audit-log-request.js +7 -0
- package/dist/models/team-capabilities.d.ts +18 -0
- package/dist/models/team-capabilities.js +15 -0
- package/dist/models/team-details.d.ts +28 -0
- package/dist/models/team-details.js +20 -0
- package/dist/models/team-invitation-view.d.ts +20 -0
- package/dist/models/team-invitation-view.js +15 -0
- package/dist/models/team-invite-result.d.ts +23 -0
- package/dist/models/team-invite-result.js +23 -0
- package/dist/models/team-kind-view.d.ts +23 -0
- package/dist/models/team-kind-view.js +20 -0
- package/dist/models/team-owner-view.d.ts +16 -0
- package/dist/models/team-owner-view.js +15 -0
- package/dist/models/team-pending-invitee.d.ts +19 -0
- package/dist/models/team-pending-invitee.js +15 -0
- package/dist/models/team-person.d.ts +17 -0
- package/dist/models/team-person.js +15 -0
- package/dist/models/update-user-privacy-request.d.ts +3 -1
- package/dist/models/user-privacy-dto.d.ts +8 -0
- package/dist/models/user-privacy-dto.js +5 -0
- package/docs/AddTeamOwnerRequest.md +20 -0
- package/docs/CollaborationControllerApi.md +2 -2
- package/docs/CreateCollaborativeTeamRequest.md +20 -0
- package/docs/DirectoryAdministrationApi.md +107 -0
- package/docs/DirectoryHiddenRequest.md +20 -0
- package/docs/InviteToTeamRequest.md +20 -0
- package/docs/MyTeam.md +28 -0
- package/docs/RenameTeamRequest.md +20 -0
- package/docs/TeamAdministrationApi.md +153 -1
- package/docs/TeamCapabilities.md +28 -0
- package/docs/TeamDetails.md +34 -0
- package/docs/TeamInvitationView.md +32 -0
- package/docs/TeamInviteResult.md +22 -0
- package/docs/TeamKindView.md +26 -0
- package/docs/TeamOwnerView.md +24 -0
- package/docs/TeamPendingInvitee.md +30 -0
- package/docs/TeamPerson.md +26 -0
- package/docs/TeamsApi.md +724 -0
- package/docs/UpdateUserPrivacyRequest.md +5 -1
- package/docs/UserPrivacyApi.md +1 -1
- package/docs/UserPrivacyDTO.md +6 -0
- package/models/add-team-owner-request.ts +20 -0
- package/models/create-collaborative-team-request.ts +20 -0
- package/models/directory-hidden-request.ts +20 -0
- package/models/enriched-audit-log.ts +7 -0
- package/models/index.ts +14 -0
- package/models/invite-to-team-request.ts +20 -0
- package/models/my-team.ts +32 -0
- package/models/notification-dto.ts +5 -0
- package/models/rename-team-request.ts +20 -0
- package/models/search-by-audit-log-request.ts +7 -0
- package/models/team-capabilities.ts +24 -0
- package/models/team-details.ts +41 -0
- package/models/team-invitation-view.ts +26 -0
- package/models/team-invite-result.ts +32 -0
- package/models/team-kind-view.ts +34 -0
- package/models/team-owner-view.ts +22 -0
- package/models/team-pending-invitee.ts +25 -0
- package/models/team-person.ts +23 -0
- package/models/update-user-privacy-request.ts +3 -1
- package/models/user-privacy-dto.ts +11 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -24,6 +24,7 @@ api/delegated-browse-grants-admin-api.ts
|
|
|
24
24
|
api/delegated-browse-grants-end-user-api.ts
|
|
25
25
|
api/desktop-sync-administration-api.ts
|
|
26
26
|
api/desktop-sync-api.ts
|
|
27
|
+
api/directory-administration-api.ts
|
|
27
28
|
api/document-controller-api.ts
|
|
28
29
|
api/document-insights-api.ts
|
|
29
30
|
api/document-suggestion-controller-api.ts
|
|
@@ -54,6 +55,7 @@ api/sharing-policy-api.ts
|
|
|
54
55
|
api/smart-filing-api.ts
|
|
55
56
|
api/storage-encryption-administration-api.ts
|
|
56
57
|
api/team-administration-api.ts
|
|
58
|
+
api/teams-api.ts
|
|
57
59
|
api/tus-controller-api.ts
|
|
58
60
|
api/upload-token-controller-api.ts
|
|
59
61
|
api/user-privacy-api.ts
|
|
@@ -71,6 +73,7 @@ docs/AIMaintenanceApi.md
|
|
|
71
73
|
docs/AISettingsApi.md
|
|
72
74
|
docs/AITaxonomyApi.md
|
|
73
75
|
docs/AITeamInboxesApi.md
|
|
76
|
+
docs/AddTeamOwnerRequest.md
|
|
74
77
|
docs/AiAnalyticsAdminControllerApi.md
|
|
75
78
|
docs/AiAnalyticsView.md
|
|
76
79
|
docs/AiArchivingAdminControllerApi.md
|
|
@@ -122,6 +125,7 @@ docs/CopyRequest.md
|
|
|
122
125
|
docs/CopyResponse.md
|
|
123
126
|
docs/Corrections.md
|
|
124
127
|
docs/CreateBlankDocumentRequest.md
|
|
128
|
+
docs/CreateCollaborativeTeamRequest.md
|
|
125
129
|
docs/CreateCommentRequest.md
|
|
126
130
|
docs/CreateDelegatedGrantRequest.md
|
|
127
131
|
docs/CreateFolderAudit.md
|
|
@@ -144,6 +148,8 @@ docs/DeleteShareRequest.md
|
|
|
144
148
|
docs/DesktopSyncAdministrationApi.md
|
|
145
149
|
docs/DesktopSyncApi.md
|
|
146
150
|
docs/DesktopSyncClientInfo.md
|
|
151
|
+
docs/DirectoryAdministrationApi.md
|
|
152
|
+
docs/DirectoryHiddenRequest.md
|
|
147
153
|
docs/DocumentControllerApi.md
|
|
148
154
|
docs/DocumentInfo.md
|
|
149
155
|
docs/DocumentInsightView.md
|
|
@@ -193,6 +199,7 @@ docs/InsightCategoryUpdate.md
|
|
|
193
199
|
docs/InsightFacets.md
|
|
194
200
|
docs/Insights.md
|
|
195
201
|
docs/InstantiateTemplateRequest.md
|
|
202
|
+
docs/InviteToTeamRequest.md
|
|
196
203
|
docs/Item.md
|
|
197
204
|
docs/ItemResult.md
|
|
198
205
|
docs/JobStatus.md
|
|
@@ -215,6 +222,7 @@ docs/MoveRequest.md
|
|
|
215
222
|
docs/MyPolicy.md
|
|
216
223
|
docs/MyStorageQuota.md
|
|
217
224
|
docs/MyTasksCountDTO.md
|
|
225
|
+
docs/MyTeam.md
|
|
218
226
|
docs/NotificationDTO.md
|
|
219
227
|
docs/NotificationsApi.md
|
|
220
228
|
docs/OrganisationSettingsApi.md
|
|
@@ -250,6 +258,7 @@ docs/ReassignTaskRequest.md
|
|
|
250
258
|
docs/ReencryptRequest.md
|
|
251
259
|
docs/RenameAudit.md
|
|
252
260
|
docs/RenameRequest.md
|
|
261
|
+
docs/RenameTeamRequest.md
|
|
253
262
|
docs/ReorganizationApplyRequest.md
|
|
254
263
|
docs/ReorganizationApplyResult.md
|
|
255
264
|
docs/ReorganizationByKindRequest.md
|
|
@@ -313,12 +322,21 @@ docs/SyncChangesResponse.md
|
|
|
313
322
|
docs/SyncItem.md
|
|
314
323
|
docs/SyncSnapshotResponse.md
|
|
315
324
|
docs/TeamAdministrationApi.md
|
|
325
|
+
docs/TeamCapabilities.md
|
|
326
|
+
docs/TeamDetails.md
|
|
316
327
|
docs/TeamInboxRequest.md
|
|
317
328
|
docs/TeamInboxView.md
|
|
329
|
+
docs/TeamInvitationView.md
|
|
330
|
+
docs/TeamInviteResult.md
|
|
331
|
+
docs/TeamKindView.md
|
|
318
332
|
docs/TeamMemberInfo.md
|
|
319
333
|
docs/TeamOptionView.md
|
|
334
|
+
docs/TeamOwnerView.md
|
|
335
|
+
docs/TeamPendingInvitee.md
|
|
336
|
+
docs/TeamPerson.md
|
|
320
337
|
docs/TeamQuotaRequest.md
|
|
321
338
|
docs/TeamQuotaView.md
|
|
339
|
+
docs/TeamsApi.md
|
|
322
340
|
docs/TusConfigResponse.md
|
|
323
341
|
docs/TusControllerApi.md
|
|
324
342
|
docs/TusFinalizeRequest.md
|
|
@@ -368,6 +386,7 @@ docs/WorkflowValidationResult.md
|
|
|
368
386
|
docs/WorkflowsApi.md
|
|
369
387
|
git_push.sh
|
|
370
388
|
index.ts
|
|
389
|
+
models/add-team-owner-request.ts
|
|
371
390
|
models/ai-analytics-view.ts
|
|
372
391
|
models/ai-chat-conversation.ts
|
|
373
392
|
models/ai-chat-request.ts
|
|
@@ -412,6 +431,7 @@ models/copy-request.ts
|
|
|
412
431
|
models/copy-response.ts
|
|
413
432
|
models/corrections.ts
|
|
414
433
|
models/create-blank-document-request.ts
|
|
434
|
+
models/create-collaborative-team-request.ts
|
|
415
435
|
models/create-comment-request.ts
|
|
416
436
|
models/create-delegated-grant-request.ts
|
|
417
437
|
models/create-folder-audit.ts
|
|
@@ -429,6 +449,7 @@ models/delete-metadata-request.ts
|
|
|
429
449
|
models/delete-request.ts
|
|
430
450
|
models/delete-share-request.ts
|
|
431
451
|
models/desktop-sync-client-info.ts
|
|
452
|
+
models/directory-hidden-request.ts
|
|
432
453
|
models/document-info.ts
|
|
433
454
|
models/document-insight-view.ts
|
|
434
455
|
models/document-integrity-record.ts
|
|
@@ -467,6 +488,7 @@ models/insight-category-update.ts
|
|
|
467
488
|
models/insight-facets.ts
|
|
468
489
|
models/insights.ts
|
|
469
490
|
models/instantiate-template-request.ts
|
|
491
|
+
models/invite-to-team-request.ts
|
|
470
492
|
models/item-result.ts
|
|
471
493
|
models/item.ts
|
|
472
494
|
models/job-status.ts
|
|
@@ -486,6 +508,7 @@ models/move-request.ts
|
|
|
486
508
|
models/my-policy.ts
|
|
487
509
|
models/my-storage-quota.ts
|
|
488
510
|
models/my-tasks-count-dto.ts
|
|
511
|
+
models/my-team.ts
|
|
489
512
|
models/notification-dto.ts
|
|
490
513
|
models/organize-request.ts
|
|
491
514
|
models/output-target.ts
|
|
@@ -515,6 +538,7 @@ models/reassign-task-request.ts
|
|
|
515
538
|
models/reencrypt-request.ts
|
|
516
539
|
models/rename-audit.ts
|
|
517
540
|
models/rename-request.ts
|
|
541
|
+
models/rename-team-request.ts
|
|
518
542
|
models/reorganization-apply-request.ts
|
|
519
543
|
models/reorganization-apply-result.ts
|
|
520
544
|
models/reorganization-by-kind-request.ts
|
|
@@ -569,10 +593,18 @@ models/sync-backfill-status.ts
|
|
|
569
593
|
models/sync-changes-response.ts
|
|
570
594
|
models/sync-item.ts
|
|
571
595
|
models/sync-snapshot-response.ts
|
|
596
|
+
models/team-capabilities.ts
|
|
597
|
+
models/team-details.ts
|
|
572
598
|
models/team-inbox-request.ts
|
|
573
599
|
models/team-inbox-view.ts
|
|
600
|
+
models/team-invitation-view.ts
|
|
601
|
+
models/team-invite-result.ts
|
|
602
|
+
models/team-kind-view.ts
|
|
574
603
|
models/team-member-info.ts
|
|
575
604
|
models/team-option-view.ts
|
|
605
|
+
models/team-owner-view.ts
|
|
606
|
+
models/team-pending-invitee.ts
|
|
607
|
+
models/team-person.ts
|
|
576
608
|
models/team-quota-request.ts
|
|
577
609
|
models/team-quota-view.ts
|
|
578
610
|
models/tus-config-response.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2e2b81d484dd69119d9e1ac16b1a2a53b1bd59f21634227ee4365e0456a687af
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript-ee@1.14.
|
|
1
|
+
## @openfilz-sdk/typescript-ee@1.14.5
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript-ee@1.14.
|
|
39
|
+
npm install @openfilz-sdk/typescript-ee@1.14.5 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -147,6 +147,8 @@ Class | Method | HTTP request | Description
|
|
|
147
147
|
*DesktopSyncApi* | [**snapshot**](docs/DesktopSyncApi.md#snapshot) | **GET** /api/v1/sync/snapshot | One page of a folder\'s children; without folderId, the caller\'s root
|
|
148
148
|
*DesktopSyncAdministrationApi* | [**start1**](docs/DesktopSyncAdministrationApi.md#start1) | **POST** /api/v1/admin/sync/backfill | Run the backfill again over every file
|
|
149
149
|
*DesktopSyncAdministrationApi* | [**status**](docs/DesktopSyncAdministrationApi.md#status) | **GET** /api/v1/admin/sync/backfill | Progress of the size and hash backfill
|
|
150
|
+
*DirectoryAdministrationApi* | [**adminListDirectoryHidden**](docs/DirectoryAdministrationApi.md#adminlistdirectoryhidden) | **GET** /api/v1/admin/users/directory-hidden | Ids of the users hidden from the directory
|
|
151
|
+
*DirectoryAdministrationApi* | [**adminSetDirectoryHidden**](docs/DirectoryAdministrationApi.md#adminsetdirectoryhidden) | **PUT** /api/v1/admin/users/{userId}/directory-hidden | Hide a user from the directory, or show them again
|
|
150
152
|
*DocumentControllerApi* | [**createBlankDocument**](docs/DocumentControllerApi.md#createblankdocument) | **POST** /api/v1/documents/create-blank | Create a blank document from template
|
|
151
153
|
*DocumentControllerApi* | [**deleteDocumentMetadata**](docs/DocumentControllerApi.md#deletedocumentmetadata) | **DELETE** /api/v1/documents/{documentId}/metadata | Delete specific metadata keys
|
|
152
154
|
*DocumentControllerApi* | [**downloadDocument**](docs/DocumentControllerApi.md#downloaddocument) | **GET** /api/v1/documents/{documentId}/download | Download a document
|
|
@@ -309,6 +311,23 @@ Class | Method | HTTP request | Description
|
|
|
309
311
|
*StorageEncryptionAdministrationApi* | [**rotateMasterKey**](docs/StorageEncryptionAdministrationApi.md#rotatemasterkey) | **POST** /api/v1/admin/storage/encryption/rotate-master-key | Create a new active master key
|
|
310
312
|
*StorageEncryptionAdministrationApi* | [**status1**](docs/StorageEncryptionAdministrationApi.md#status1) | **GET** /api/v1/admin/storage/encryption/status | Configuration, master key ring state and re-encryption pass progress
|
|
311
313
|
*TeamAdministrationApi* | [**adminAddTeamMembers**](docs/TeamAdministrationApi.md#adminaddteammembers) | **POST** /api/v1/admin/teams/{teamId}/members | Add members to a team
|
|
314
|
+
*TeamAdministrationApi* | [**adminPromoteTeam**](docs/TeamAdministrationApi.md#adminpromoteteam) | **POST** /api/v1/admin/teams/{teamId}/promote | Turn a collaborative team into an organisation team
|
|
315
|
+
*TeamAdministrationApi* | [**adminRemoveTeamMembers**](docs/TeamAdministrationApi.md#adminremoveteammembers) | **DELETE** /api/v1/admin/teams/{teamId}/members | Remove members from a team
|
|
316
|
+
*TeamAdministrationApi* | [**adminTeamKinds**](docs/TeamAdministrationApi.md#adminteamkinds) | **GET** /api/v1/admin/teams/kinds | Kind and owners of every team
|
|
317
|
+
*TeamsApi* | [**acceptTeamInvitation**](docs/TeamsApi.md#acceptteaminvitation) | **POST** /api/v1/users/me/team-invitations/{invitationId}/accept | Join the team
|
|
318
|
+
*TeamsApi* | [**addTeamOwner**](docs/TeamsApi.md#addteamowner) | **POST** /api/v1/teams/{teamId}/owners | Make a licensed member a co-owner of a collaborative team
|
|
319
|
+
*TeamsApi* | [**cancelTeamInvitation**](docs/TeamsApi.md#cancelteaminvitation) | **DELETE** /api/v1/teams/{teamId}/invitations/{invitationId} | Cancel a pending invitation
|
|
320
|
+
*TeamsApi* | [**createCollaborativeTeam**](docs/TeamsApi.md#createcollaborativeteam) | **POST** /api/v1/teams | Create a collaborative team (I become its owner)
|
|
321
|
+
*TeamsApi* | [**declineTeamInvitation**](docs/TeamsApi.md#declineteaminvitation) | **POST** /api/v1/users/me/team-invitations/{invitationId}/decline | Decline the invitation
|
|
322
|
+
*TeamsApi* | [**deleteCollaborativeTeam**](docs/TeamsApi.md#deletecollaborativeteam) | **DELETE** /api/v1/teams/{teamId} | Delete a team (owner of a collaborative team, or administrator)
|
|
323
|
+
*TeamsApi* | [**inviteToTeam**](docs/TeamsApi.md#invitetoteam) | **POST** /api/v1/teams/{teamId}/invitations | Invite people by exact e-mail address
|
|
324
|
+
*TeamsApi* | [**leaveTeam**](docs/TeamsApi.md#leaveteam) | **POST** /api/v1/users/me/teams/{teamId}/leave | Leave a collaborative team
|
|
325
|
+
*TeamsApi* | [**myTeamInvitations**](docs/TeamsApi.md#myteaminvitations) | **GET** /api/v1/users/me/team-invitations | My pending team invitations
|
|
326
|
+
*TeamsApi* | [**myTeams**](docs/TeamsApi.md#myteams) | **GET** /api/v1/teams/mine | The teams I belong to, with their kind and whether I own them
|
|
327
|
+
*TeamsApi* | [**removeTeamMember**](docs/TeamsApi.md#removeteammember) | **DELETE** /api/v1/teams/{teamId}/members/{userId} | Remove a member (the last owner cannot be removed)
|
|
328
|
+
*TeamsApi* | [**renameTeam**](docs/TeamsApi.md#renameteam) | **PUT** /api/v1/teams/{teamId} | Rename a team (owner of a collaborative team, or administrator)
|
|
329
|
+
*TeamsApi* | [**teamCapabilities**](docs/TeamsApi.md#teamcapabilities) | **GET** /api/v1/teams/capabilities | May I create teams, and how many do I own
|
|
330
|
+
*TeamsApi* | [**teamDetails**](docs/TeamsApi.md#teamdetails) | **GET** /api/v1/teams/{teamId} | Members, owners and (for its managers) pending invitations of a team
|
|
312
331
|
*TusControllerApi* | [**_options**](docs/TusControllerApi.md#_options) | **OPTIONS** /api/v1/tus | TUS capability discovery
|
|
313
332
|
*TusControllerApi* | [**cancelUpload**](docs/TusControllerApi.md#cancelupload) | **DELETE** /api/v1/tus/{uploadId} | Cancel upload
|
|
314
333
|
*TusControllerApi* | [**createUpload**](docs/TusControllerApi.md#createupload) | **POST** /api/v1/tus | Create new TUS upload
|
|
@@ -349,6 +368,7 @@ Class | Method | HTTP request | Description
|
|
|
349
368
|
|
|
350
369
|
### Documentation For Models
|
|
351
370
|
|
|
371
|
+
- [AddTeamOwnerRequest](docs/AddTeamOwnerRequest.md)
|
|
352
372
|
- [AiAnalyticsView](docs/AiAnalyticsView.md)
|
|
353
373
|
- [AiChatConversation](docs/AiChatConversation.md)
|
|
354
374
|
- [AiChatRequest](docs/AiChatRequest.md)
|
|
@@ -393,6 +413,7 @@ Class | Method | HTTP request | Description
|
|
|
393
413
|
- [CopyResponse](docs/CopyResponse.md)
|
|
394
414
|
- [Corrections](docs/Corrections.md)
|
|
395
415
|
- [CreateBlankDocumentRequest](docs/CreateBlankDocumentRequest.md)
|
|
416
|
+
- [CreateCollaborativeTeamRequest](docs/CreateCollaborativeTeamRequest.md)
|
|
396
417
|
- [CreateCommentRequest](docs/CreateCommentRequest.md)
|
|
397
418
|
- [CreateDelegatedGrantRequest](docs/CreateDelegatedGrantRequest.md)
|
|
398
419
|
- [CreateFolderAudit](docs/CreateFolderAudit.md)
|
|
@@ -410,6 +431,7 @@ Class | Method | HTTP request | Description
|
|
|
410
431
|
- [DeleteRequest](docs/DeleteRequest.md)
|
|
411
432
|
- [DeleteShareRequest](docs/DeleteShareRequest.md)
|
|
412
433
|
- [DesktopSyncClientInfo](docs/DesktopSyncClientInfo.md)
|
|
434
|
+
- [DirectoryHiddenRequest](docs/DirectoryHiddenRequest.md)
|
|
413
435
|
- [DocumentInfo](docs/DocumentInfo.md)
|
|
414
436
|
- [DocumentInsightView](docs/DocumentInsightView.md)
|
|
415
437
|
- [DocumentIntegrityRecord](docs/DocumentIntegrityRecord.md)
|
|
@@ -447,6 +469,7 @@ Class | Method | HTTP request | Description
|
|
|
447
469
|
- [InsightFacets](docs/InsightFacets.md)
|
|
448
470
|
- [Insights](docs/Insights.md)
|
|
449
471
|
- [InstantiateTemplateRequest](docs/InstantiateTemplateRequest.md)
|
|
472
|
+
- [InviteToTeamRequest](docs/InviteToTeamRequest.md)
|
|
450
473
|
- [Item](docs/Item.md)
|
|
451
474
|
- [ItemResult](docs/ItemResult.md)
|
|
452
475
|
- [JobStatus](docs/JobStatus.md)
|
|
@@ -466,6 +489,7 @@ Class | Method | HTTP request | Description
|
|
|
466
489
|
- [MyPolicy](docs/MyPolicy.md)
|
|
467
490
|
- [MyStorageQuota](docs/MyStorageQuota.md)
|
|
468
491
|
- [MyTasksCountDTO](docs/MyTasksCountDTO.md)
|
|
492
|
+
- [MyTeam](docs/MyTeam.md)
|
|
469
493
|
- [NotificationDTO](docs/NotificationDTO.md)
|
|
470
494
|
- [OrganizeRequest](docs/OrganizeRequest.md)
|
|
471
495
|
- [OutputTarget](docs/OutputTarget.md)
|
|
@@ -495,6 +519,7 @@ Class | Method | HTTP request | Description
|
|
|
495
519
|
- [ReencryptRequest](docs/ReencryptRequest.md)
|
|
496
520
|
- [RenameAudit](docs/RenameAudit.md)
|
|
497
521
|
- [RenameRequest](docs/RenameRequest.md)
|
|
522
|
+
- [RenameTeamRequest](docs/RenameTeamRequest.md)
|
|
498
523
|
- [ReorganizationApplyRequest](docs/ReorganizationApplyRequest.md)
|
|
499
524
|
- [ReorganizationApplyResult](docs/ReorganizationApplyResult.md)
|
|
500
525
|
- [ReorganizationByKindRequest](docs/ReorganizationByKindRequest.md)
|
|
@@ -549,10 +574,18 @@ Class | Method | HTTP request | Description
|
|
|
549
574
|
- [SyncChangesResponse](docs/SyncChangesResponse.md)
|
|
550
575
|
- [SyncItem](docs/SyncItem.md)
|
|
551
576
|
- [SyncSnapshotResponse](docs/SyncSnapshotResponse.md)
|
|
577
|
+
- [TeamCapabilities](docs/TeamCapabilities.md)
|
|
578
|
+
- [TeamDetails](docs/TeamDetails.md)
|
|
552
579
|
- [TeamInboxRequest](docs/TeamInboxRequest.md)
|
|
553
580
|
- [TeamInboxView](docs/TeamInboxView.md)
|
|
581
|
+
- [TeamInvitationView](docs/TeamInvitationView.md)
|
|
582
|
+
- [TeamInviteResult](docs/TeamInviteResult.md)
|
|
583
|
+
- [TeamKindView](docs/TeamKindView.md)
|
|
554
584
|
- [TeamMemberInfo](docs/TeamMemberInfo.md)
|
|
555
585
|
- [TeamOptionView](docs/TeamOptionView.md)
|
|
586
|
+
- [TeamOwnerView](docs/TeamOwnerView.md)
|
|
587
|
+
- [TeamPendingInvitee](docs/TeamPendingInvitee.md)
|
|
588
|
+
- [TeamPerson](docs/TeamPerson.md)
|
|
556
589
|
- [TeamQuotaRequest](docs/TeamQuotaRequest.md)
|
|
557
590
|
- [TeamQuotaView](docs/TeamQuotaView.md)
|
|
558
591
|
- [TusConfigResponse](docs/TusConfigResponse.md)
|
|
@@ -81,7 +81,7 @@ export const CollaborationControllerApiAxiosParamCreator = function (configurati
|
|
|
81
81
|
};
|
|
82
82
|
},
|
|
83
83
|
/**
|
|
84
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
84
|
+
* Adds users to a team, each told by a notification and an e-mail. Sends invitations instead for a collaborative team, or when openfilz.teams.admin-add-requires-consent is on. Requires ADMIN_USERS role.
|
|
85
85
|
* @summary Add team members
|
|
86
86
|
* @param {string} teamId
|
|
87
87
|
* @param {Array<string>} requestBody
|
|
@@ -461,7 +461,7 @@ export const CollaborationControllerApiAxiosParamCreator = function (configurati
|
|
|
461
461
|
};
|
|
462
462
|
},
|
|
463
463
|
/**
|
|
464
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
464
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
465
465
|
* @summary Remove team members
|
|
466
466
|
* @param {string} teamId
|
|
467
467
|
* @param {Array<string>} requestBody
|
|
@@ -648,7 +648,7 @@ export const CollaborationControllerApiFp = function(configuration?: Configurati
|
|
|
648
648
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
649
649
|
},
|
|
650
650
|
/**
|
|
651
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
651
|
+
* Adds users to a team, each told by a notification and an e-mail. Sends invitations instead for a collaborative team, or when openfilz.teams.admin-add-requires-consent is on. Requires ADMIN_USERS role.
|
|
652
652
|
* @summary Add team members
|
|
653
653
|
* @param {string} teamId
|
|
654
654
|
* @param {Array<string>} requestBody
|
|
@@ -778,7 +778,7 @@ export const CollaborationControllerApiFp = function(configuration?: Configurati
|
|
|
778
778
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
779
779
|
},
|
|
780
780
|
/**
|
|
781
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
781
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
782
782
|
* @summary Remove team members
|
|
783
783
|
* @param {string} teamId
|
|
784
784
|
* @param {Array<string>} requestBody
|
|
@@ -852,7 +852,7 @@ export const CollaborationControllerApiFactory = function (configuration?: Confi
|
|
|
852
852
|
return localVarFp.acceptShareRequest(id, options).then((request) => request(axios, basePath));
|
|
853
853
|
},
|
|
854
854
|
/**
|
|
855
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
855
|
+
* Adds users to a team, each told by a notification and an e-mail. Sends invitations instead for a collaborative team, or when openfilz.teams.admin-add-requires-consent is on. Requires ADMIN_USERS role.
|
|
856
856
|
* @summary Add team members
|
|
857
857
|
* @param {string} teamId
|
|
858
858
|
* @param {Array<string>} requestBody
|
|
@@ -952,7 +952,7 @@ export const CollaborationControllerApiFactory = function (configuration?: Confi
|
|
|
952
952
|
return localVarFp.rejectShareRequest(id, options).then((request) => request(axios, basePath));
|
|
953
953
|
},
|
|
954
954
|
/**
|
|
955
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
955
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
956
956
|
* @summary Remove team members
|
|
957
957
|
* @param {string} teamId
|
|
958
958
|
* @param {Array<string>} requestBody
|
|
@@ -1013,7 +1013,7 @@ export class CollaborationControllerApi extends BaseAPI {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
/**
|
|
1016
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
1016
|
+
* Adds users to a team, each told by a notification and an e-mail. Sends invitations instead for a collaborative team, or when openfilz.teams.admin-add-requires-consent is on. Requires ADMIN_USERS role.
|
|
1017
1017
|
* @summary Add team members
|
|
1018
1018
|
* @param {string} teamId
|
|
1019
1019
|
* @param {Array<string>} requestBody
|
|
@@ -1123,7 +1123,7 @@ export class CollaborationControllerApi extends BaseAPI {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
1125
|
/**
|
|
1126
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
1126
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
1127
1127
|
* @summary Remove team members
|
|
1128
1128
|
* @param {string} teamId
|
|
1129
1129
|
* @param {Array<string>} requestBody
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { DirectoryHiddenRequest } from '../models';
|
|
26
|
+
/**
|
|
27
|
+
* DirectoryAdministrationApi - axios parameter creator
|
|
28
|
+
*/
|
|
29
|
+
export const DirectoryAdministrationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary Ids of the users hidden from the directory
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
adminListDirectoryHidden: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
+
const localVarPath = `/api/v1/admin/users/directory-hidden`;
|
|
39
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41
|
+
let baseOptions;
|
|
42
|
+
if (configuration) {
|
|
43
|
+
baseOptions = configuration.baseOptions;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47
|
+
const localVarHeaderParameter = {} as any;
|
|
48
|
+
const localVarQueryParameter = {} as any;
|
|
49
|
+
|
|
50
|
+
// authentication keycloak_auth required
|
|
51
|
+
// http bearer authentication required
|
|
52
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53
|
+
|
|
54
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
55
|
+
|
|
56
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
url: toPathString(localVarUrlObj),
|
|
62
|
+
options: localVarRequestOptions,
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
67
|
+
* @summary Hide a user from the directory, or show them again
|
|
68
|
+
* @param {string} userId
|
|
69
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
adminSetDirectoryHidden: async (userId: string, directoryHiddenRequest: DirectoryHiddenRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
74
|
+
// verify required parameter 'userId' is not null or undefined
|
|
75
|
+
assertParamExists('adminSetDirectoryHidden', 'userId', userId)
|
|
76
|
+
// verify required parameter 'directoryHiddenRequest' is not null or undefined
|
|
77
|
+
assertParamExists('adminSetDirectoryHidden', 'directoryHiddenRequest', directoryHiddenRequest)
|
|
78
|
+
const localVarPath = `/api/v1/admin/users/{userId}/directory-hidden`
|
|
79
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
80
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
81
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
82
|
+
let baseOptions;
|
|
83
|
+
if (configuration) {
|
|
84
|
+
baseOptions = configuration.baseOptions;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
88
|
+
const localVarHeaderParameter = {} as any;
|
|
89
|
+
const localVarQueryParameter = {} as any;
|
|
90
|
+
|
|
91
|
+
// authentication keycloak_auth required
|
|
92
|
+
// http bearer authentication required
|
|
93
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
94
|
+
|
|
95
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
96
|
+
|
|
97
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
98
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
99
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
100
|
+
localVarRequestOptions.data = serializeDataIfNeeded(directoryHiddenRequest, localVarRequestOptions, configuration)
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
url: toPathString(localVarUrlObj),
|
|
104
|
+
options: localVarRequestOptions,
|
|
105
|
+
};
|
|
106
|
+
},
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* DirectoryAdministrationApi - functional programming interface
|
|
112
|
+
*/
|
|
113
|
+
export const DirectoryAdministrationApiFp = function(configuration?: Configuration) {
|
|
114
|
+
const localVarAxiosParamCreator = DirectoryAdministrationApiAxiosParamCreator(configuration)
|
|
115
|
+
return {
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @summary Ids of the users hidden from the directory
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
async adminListDirectoryHidden(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
123
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminListDirectoryHidden(options);
|
|
124
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
125
|
+
const localVarOperationServerBasePath = operationServerMap['DirectoryAdministrationApi.adminListDirectoryHidden']?.[localVarOperationServerIndex]?.url;
|
|
126
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
127
|
+
},
|
|
128
|
+
/**
|
|
129
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
130
|
+
* @summary Hide a user from the directory, or show them again
|
|
131
|
+
* @param {string} userId
|
|
132
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
async adminSetDirectoryHidden(userId: string, directoryHiddenRequest: DirectoryHiddenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
137
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminSetDirectoryHidden(userId, directoryHiddenRequest, options);
|
|
138
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
139
|
+
const localVarOperationServerBasePath = operationServerMap['DirectoryAdministrationApi.adminSetDirectoryHidden']?.[localVarOperationServerIndex]?.url;
|
|
140
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
141
|
+
},
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* DirectoryAdministrationApi - factory interface
|
|
147
|
+
*/
|
|
148
|
+
export const DirectoryAdministrationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
149
|
+
const localVarFp = DirectoryAdministrationApiFp(configuration)
|
|
150
|
+
return {
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @summary Ids of the users hidden from the directory
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
adminListDirectoryHidden(options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
158
|
+
return localVarFp.adminListDirectoryHidden(options).then((request) => request(axios, basePath));
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
162
|
+
* @summary Hide a user from the directory, or show them again
|
|
163
|
+
* @param {string} userId
|
|
164
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
adminSetDirectoryHidden(userId: string, directoryHiddenRequest: DirectoryHiddenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
169
|
+
return localVarFp.adminSetDirectoryHidden(userId, directoryHiddenRequest, options).then((request) => request(axios, basePath));
|
|
170
|
+
},
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* DirectoryAdministrationApi - object-oriented interface
|
|
176
|
+
*/
|
|
177
|
+
export class DirectoryAdministrationApi extends BaseAPI {
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @summary Ids of the users hidden from the directory
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
public adminListDirectoryHidden(options?: RawAxiosRequestConfig) {
|
|
185
|
+
return DirectoryAdministrationApiFp(this.configuration).adminListDirectoryHidden(options).then((request) => request(this.axios, this.basePath));
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
190
|
+
* @summary Hide a user from the directory, or show them again
|
|
191
|
+
* @param {string} userId
|
|
192
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
public adminSetDirectoryHidden(userId: string, directoryHiddenRequest: DirectoryHiddenRequest, options?: RawAxiosRequestConfig) {
|
|
197
|
+
return DirectoryAdministrationApiFp(this.configuration).adminSetDirectoryHidden(userId, directoryHiddenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|