@openfilz-sdk/typescript-ee 1.14.3 → 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
|
@@ -26,7 +26,7 @@ export declare const UserPrivacyApiAxiosParamCreator: (configuration?: Configura
|
|
|
26
26
|
*/
|
|
27
27
|
get: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
28
|
/**
|
|
29
|
-
* Idempotent. Audits ADMIN_MONITORING_OPT_OUT_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
29
|
+
* Idempotent; a null field is left unchanged. Audits ADMIN_MONITORING_OPT_OUT_CHANGED / DIRECTORY_OPT_IN_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
30
30
|
* @summary Update my privacy preferences
|
|
31
31
|
* @param {UpdateUserPrivacyRequest} updateUserPrivacyRequest
|
|
32
32
|
* @param {*} [options] Override http request option.
|
|
@@ -46,7 +46,7 @@ export declare const UserPrivacyApiFp: (configuration?: Configuration) => {
|
|
|
46
46
|
*/
|
|
47
47
|
get(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPrivacyDTO>>;
|
|
48
48
|
/**
|
|
49
|
-
* Idempotent. Audits ADMIN_MONITORING_OPT_OUT_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
49
|
+
* Idempotent; a null field is left unchanged. Audits ADMIN_MONITORING_OPT_OUT_CHANGED / DIRECTORY_OPT_IN_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
50
50
|
* @summary Update my privacy preferences
|
|
51
51
|
* @param {UpdateUserPrivacyRequest} updateUserPrivacyRequest
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
@@ -66,7 +66,7 @@ export declare const UserPrivacyApiFactory: (configuration?: Configuration, base
|
|
|
66
66
|
*/
|
|
67
67
|
get(options?: RawAxiosRequestConfig): AxiosPromise<UserPrivacyDTO>;
|
|
68
68
|
/**
|
|
69
|
-
* Idempotent. Audits ADMIN_MONITORING_OPT_OUT_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
69
|
+
* Idempotent; a null field is left unchanged. Audits ADMIN_MONITORING_OPT_OUT_CHANGED / DIRECTORY_OPT_IN_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
70
70
|
* @summary Update my privacy preferences
|
|
71
71
|
* @param {UpdateUserPrivacyRequest} updateUserPrivacyRequest
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
@@ -86,7 +86,7 @@ export declare class UserPrivacyApi extends BaseAPI {
|
|
|
86
86
|
*/
|
|
87
87
|
get(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPrivacyDTO, any, {}, any>>;
|
|
88
88
|
/**
|
|
89
|
-
* Idempotent. Audits ADMIN_MONITORING_OPT_OUT_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
89
|
+
* Idempotent; a null field is left unchanged. Audits ADMIN_MONITORING_OPT_OUT_CHANGED / DIRECTORY_OPT_IN_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
90
90
|
* @summary Update my privacy preferences
|
|
91
91
|
* @param {UpdateUserPrivacyRequest} updateUserPrivacyRequest
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
@@ -64,7 +64,7 @@ const UserPrivacyApiAxiosParamCreator = function (configuration) {
|
|
|
64
64
|
};
|
|
65
65
|
}),
|
|
66
66
|
/**
|
|
67
|
-
* Idempotent. Audits ADMIN_MONITORING_OPT_OUT_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
67
|
+
* Idempotent; a null field is left unchanged. Audits ADMIN_MONITORING_OPT_OUT_CHANGED / DIRECTORY_OPT_IN_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
68
68
|
* @summary Update my privacy preferences
|
|
69
69
|
* @param {UpdateUserPrivacyRequest} updateUserPrivacyRequest
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
@@ -122,7 +122,7 @@ const UserPrivacyApiFp = function (configuration) {
|
|
|
122
122
|
});
|
|
123
123
|
},
|
|
124
124
|
/**
|
|
125
|
-
* Idempotent. Audits ADMIN_MONITORING_OPT_OUT_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
125
|
+
* Idempotent; a null field is left unchanged. Audits ADMIN_MONITORING_OPT_OUT_CHANGED / DIRECTORY_OPT_IN_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
126
126
|
* @summary Update my privacy preferences
|
|
127
127
|
* @param {UpdateUserPrivacyRequest} updateUserPrivacyRequest
|
|
128
128
|
* @param {*} [options] Override http request option.
|
|
@@ -156,7 +156,7 @@ const UserPrivacyApiFactory = function (configuration, basePath, axios) {
|
|
|
156
156
|
return localVarFp.get(options).then((request) => request(axios, basePath));
|
|
157
157
|
},
|
|
158
158
|
/**
|
|
159
|
-
* Idempotent. Audits ADMIN_MONITORING_OPT_OUT_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
159
|
+
* Idempotent; a null field is left unchanged. Audits ADMIN_MONITORING_OPT_OUT_CHANGED / DIRECTORY_OPT_IN_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
160
160
|
* @summary Update my privacy preferences
|
|
161
161
|
* @param {UpdateUserPrivacyRequest} updateUserPrivacyRequest
|
|
162
162
|
* @param {*} [options] Override http request option.
|
|
@@ -182,7 +182,7 @@ class UserPrivacyApi extends base_1.BaseAPI {
|
|
|
182
182
|
return (0, exports.UserPrivacyApiFp)(this.configuration).get(options).then((request) => request(this.axios, this.basePath));
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
|
-
* Idempotent. Audits ADMIN_MONITORING_OPT_OUT_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
185
|
+
* Idempotent; a null field is left unchanged. Audits ADMIN_MONITORING_OPT_OUT_CHANGED / DIRECTORY_OPT_IN_CHANGED only when the value actually changes — repeated PUTs with the same flag are silent.
|
|
186
186
|
* @summary Update my privacy preferences
|
|
187
187
|
* @param {UpdateUserPrivacyRequest} updateUserPrivacyRequest
|
|
188
188
|
* @param {*} [options] Override http request option.
|
package/dist/api.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export * from './api/delegated-browse-grants-admin-api';
|
|
|
30
30
|
export * from './api/delegated-browse-grants-end-user-api';
|
|
31
31
|
export * from './api/desktop-sync-api';
|
|
32
32
|
export * from './api/desktop-sync-administration-api';
|
|
33
|
+
export * from './api/directory-administration-api';
|
|
33
34
|
export * from './api/document-controller-api';
|
|
34
35
|
export * from './api/document-insights-api';
|
|
35
36
|
export * from './api/document-suggestion-controller-api';
|
|
@@ -60,6 +61,7 @@ export * from './api/sharing-policy-api';
|
|
|
60
61
|
export * from './api/smart-filing-api';
|
|
61
62
|
export * from './api/storage-encryption-administration-api';
|
|
62
63
|
export * from './api/team-administration-api';
|
|
64
|
+
export * from './api/teams-api';
|
|
63
65
|
export * from './api/tus-controller-api';
|
|
64
66
|
export * from './api/upload-token-controller-api';
|
|
65
67
|
export * from './api/user-privacy-api';
|
package/dist/api.js
CHANGED
|
@@ -48,6 +48,7 @@ __exportStar(require("./api/delegated-browse-grants-admin-api"), exports);
|
|
|
48
48
|
__exportStar(require("./api/delegated-browse-grants-end-user-api"), exports);
|
|
49
49
|
__exportStar(require("./api/desktop-sync-api"), exports);
|
|
50
50
|
__exportStar(require("./api/desktop-sync-administration-api"), exports);
|
|
51
|
+
__exportStar(require("./api/directory-administration-api"), exports);
|
|
51
52
|
__exportStar(require("./api/document-controller-api"), exports);
|
|
52
53
|
__exportStar(require("./api/document-insights-api"), exports);
|
|
53
54
|
__exportStar(require("./api/document-suggestion-controller-api"), exports);
|
|
@@ -78,6 +79,7 @@ __exportStar(require("./api/sharing-policy-api"), exports);
|
|
|
78
79
|
__exportStar(require("./api/smart-filing-api"), exports);
|
|
79
80
|
__exportStar(require("./api/storage-encryption-administration-api"), exports);
|
|
80
81
|
__exportStar(require("./api/team-administration-api"), exports);
|
|
82
|
+
__exportStar(require("./api/teams-api"), exports);
|
|
81
83
|
__exportStar(require("./api/tus-controller-api"), exports);
|
|
82
84
|
__exportStar(require("./api/upload-token-controller-api"), exports);
|
|
83
85
|
__exportStar(require("./api/user-privacy-api"), exports);
|
|
@@ -33,7 +33,7 @@ export declare const CollaborationControllerApiAxiosParamCreator: (configuration
|
|
|
33
33
|
*/
|
|
34
34
|
acceptShareRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
36
|
+
* 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.
|
|
37
37
|
* @summary Add team members
|
|
38
38
|
* @param {string} teamId
|
|
39
39
|
* @param {Array<string>} requestBody
|
|
@@ -113,7 +113,7 @@ export declare const CollaborationControllerApiAxiosParamCreator: (configuration
|
|
|
113
113
|
*/
|
|
114
114
|
rejectShareRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
115
115
|
/**
|
|
116
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
116
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
117
117
|
* @summary Remove team members
|
|
118
118
|
* @param {string} teamId
|
|
119
119
|
* @param {Array<string>} requestBody
|
|
@@ -161,7 +161,7 @@ export declare const CollaborationControllerApiFp: (configuration?: Configuratio
|
|
|
161
161
|
*/
|
|
162
162
|
acceptShareRequest(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
163
163
|
/**
|
|
164
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
164
|
+
* 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.
|
|
165
165
|
* @summary Add team members
|
|
166
166
|
* @param {string} teamId
|
|
167
167
|
* @param {Array<string>} requestBody
|
|
@@ -241,7 +241,7 @@ export declare const CollaborationControllerApiFp: (configuration?: Configuratio
|
|
|
241
241
|
*/
|
|
242
242
|
rejectShareRequest(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
243
243
|
/**
|
|
244
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
244
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
245
245
|
* @summary Remove team members
|
|
246
246
|
* @param {string} teamId
|
|
247
247
|
* @param {Array<string>} requestBody
|
|
@@ -289,7 +289,7 @@ export declare const CollaborationControllerApiFactory: (configuration?: Configu
|
|
|
289
289
|
*/
|
|
290
290
|
acceptShareRequest(id: string, options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
291
291
|
/**
|
|
292
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
292
|
+
* 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.
|
|
293
293
|
* @summary Add team members
|
|
294
294
|
* @param {string} teamId
|
|
295
295
|
* @param {Array<string>} requestBody
|
|
@@ -369,7 +369,7 @@ export declare const CollaborationControllerApiFactory: (configuration?: Configu
|
|
|
369
369
|
*/
|
|
370
370
|
rejectShareRequest(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
371
371
|
/**
|
|
372
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
372
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
373
373
|
* @summary Remove team members
|
|
374
374
|
* @param {string} teamId
|
|
375
375
|
* @param {Array<string>} requestBody
|
|
@@ -417,7 +417,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
417
417
|
*/
|
|
418
418
|
acceptShareRequest(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}, any>>;
|
|
419
419
|
/**
|
|
420
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
420
|
+
* 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.
|
|
421
421
|
* @summary Add team members
|
|
422
422
|
* @param {string} teamId
|
|
423
423
|
* @param {Array<string>} requestBody
|
|
@@ -497,7 +497,7 @@ export declare class CollaborationControllerApi extends BaseAPI {
|
|
|
497
497
|
*/
|
|
498
498
|
rejectShareRequest(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
499
499
|
/**
|
|
500
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
500
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
501
501
|
* @summary Remove team members
|
|
502
502
|
* @param {string} teamId
|
|
503
503
|
* @param {Array<string>} requestBody
|
|
@@ -65,7 +65,7 @@ export const CollaborationControllerApiAxiosParamCreator = function (configurati
|
|
|
65
65
|
};
|
|
66
66
|
}),
|
|
67
67
|
/**
|
|
68
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
68
|
+
* 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.
|
|
69
69
|
* @summary Add team members
|
|
70
70
|
* @param {string} teamId
|
|
71
71
|
* @param {Array<string>} requestBody
|
|
@@ -395,7 +395,7 @@ export const CollaborationControllerApiAxiosParamCreator = function (configurati
|
|
|
395
395
|
};
|
|
396
396
|
}),
|
|
397
397
|
/**
|
|
398
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
398
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
399
399
|
* @summary Remove team members
|
|
400
400
|
* @param {string} teamId
|
|
401
401
|
* @param {Array<string>} requestBody
|
|
@@ -564,7 +564,7 @@ export const CollaborationControllerApiFp = function (configuration) {
|
|
|
564
564
|
});
|
|
565
565
|
},
|
|
566
566
|
/**
|
|
567
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
567
|
+
* 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.
|
|
568
568
|
* @summary Add team members
|
|
569
569
|
* @param {string} teamId
|
|
570
570
|
* @param {Array<string>} requestBody
|
|
@@ -724,7 +724,7 @@ export const CollaborationControllerApiFp = function (configuration) {
|
|
|
724
724
|
});
|
|
725
725
|
},
|
|
726
726
|
/**
|
|
727
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
727
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
728
728
|
* @summary Remove team members
|
|
729
729
|
* @param {string} teamId
|
|
730
730
|
* @param {Array<string>} requestBody
|
|
@@ -809,7 +809,7 @@ export const CollaborationControllerApiFactory = function (configuration, basePa
|
|
|
809
809
|
return localVarFp.acceptShareRequest(id, options).then((request) => request(axios, basePath));
|
|
810
810
|
},
|
|
811
811
|
/**
|
|
812
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
812
|
+
* 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.
|
|
813
813
|
* @summary Add team members
|
|
814
814
|
* @param {string} teamId
|
|
815
815
|
* @param {Array<string>} requestBody
|
|
@@ -909,7 +909,7 @@ export const CollaborationControllerApiFactory = function (configuration, basePa
|
|
|
909
909
|
return localVarFp.rejectShareRequest(id, options).then((request) => request(axios, basePath));
|
|
910
910
|
},
|
|
911
911
|
/**
|
|
912
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
912
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
913
913
|
* @summary Remove team members
|
|
914
914
|
* @param {string} teamId
|
|
915
915
|
* @param {Array<string>} requestBody
|
|
@@ -968,7 +968,7 @@ export class CollaborationControllerApi extends BaseAPI {
|
|
|
968
968
|
return CollaborationControllerApiFp(this.configuration).acceptShareRequest(id, options).then((request) => request(this.axios, this.basePath));
|
|
969
969
|
}
|
|
970
970
|
/**
|
|
971
|
-
* Adds users to a team. Requires ADMIN_USERS role.
|
|
971
|
+
* 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.
|
|
972
972
|
* @summary Add team members
|
|
973
973
|
* @param {string} teamId
|
|
974
974
|
* @param {Array<string>} requestBody
|
|
@@ -1068,7 +1068,7 @@ export class CollaborationControllerApi extends BaseAPI {
|
|
|
1068
1068
|
return CollaborationControllerApiFp(this.configuration).rejectShareRequest(id, options).then((request) => request(this.axios, this.basePath));
|
|
1069
1069
|
}
|
|
1070
1070
|
/**
|
|
1071
|
-
* Removes users from a team. Requires ADMIN_USERS role.
|
|
1071
|
+
* Removes users from a team; each is told by a notification. Requires ADMIN_USERS role.
|
|
1072
1072
|
* @summary Remove team members
|
|
1073
1073
|
* @param {string} teamId
|
|
1074
1074
|
* @param {Array<string>} requestBody
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { DirectoryHiddenRequest } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* DirectoryAdministrationApi - axios parameter creator
|
|
18
|
+
*/
|
|
19
|
+
export declare const DirectoryAdministrationApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @summary Ids of the users hidden from the directory
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
adminListDirectoryHidden: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
+
/**
|
|
28
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
29
|
+
* @summary Hide a user from the directory, or show them again
|
|
30
|
+
* @param {string} userId
|
|
31
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
adminSetDirectoryHidden: (userId: string, directoryHiddenRequest: DirectoryHiddenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* DirectoryAdministrationApi - functional programming interface
|
|
39
|
+
*/
|
|
40
|
+
export declare const DirectoryAdministrationApiFp: (configuration?: Configuration) => {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @summary Ids of the users hidden from the directory
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
adminListDirectoryHidden(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
48
|
+
/**
|
|
49
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
50
|
+
* @summary Hide a user from the directory, or show them again
|
|
51
|
+
* @param {string} userId
|
|
52
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
adminSetDirectoryHidden(userId: string, directoryHiddenRequest: DirectoryHiddenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* DirectoryAdministrationApi - factory interface
|
|
60
|
+
*/
|
|
61
|
+
export declare const DirectoryAdministrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @summary Ids of the users hidden from the directory
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
adminListDirectoryHidden(options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
69
|
+
/**
|
|
70
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
71
|
+
* @summary Hide a user from the directory, or show them again
|
|
72
|
+
* @param {string} userId
|
|
73
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
adminSetDirectoryHidden(userId: string, directoryHiddenRequest: DirectoryHiddenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* DirectoryAdministrationApi - object-oriented interface
|
|
81
|
+
*/
|
|
82
|
+
export declare class DirectoryAdministrationApi extends BaseAPI {
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @summary Ids of the users hidden from the directory
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
adminListDirectoryHidden(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}, any>>;
|
|
90
|
+
/**
|
|
91
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
92
|
+
* @summary Hide a user from the directory, or show them again
|
|
93
|
+
* @param {string} userId
|
|
94
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
adminSetDirectoryHidden(userId: string, directoryHiddenRequest: DirectoryHiddenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* DirectoryAdministrationApi - axios parameter creator
|
|
31
|
+
*/
|
|
32
|
+
export const DirectoryAdministrationApiAxiosParamCreator = function (configuration) {
|
|
33
|
+
return {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @summary Ids of the users hidden from the directory
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
adminListDirectoryHidden: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
41
|
+
const localVarPath = `/api/v1/admin/users/directory-hidden`;
|
|
42
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44
|
+
let baseOptions;
|
|
45
|
+
if (configuration) {
|
|
46
|
+
baseOptions = configuration.baseOptions;
|
|
47
|
+
}
|
|
48
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
49
|
+
const localVarHeaderParameter = {};
|
|
50
|
+
const localVarQueryParameter = {};
|
|
51
|
+
// authentication keycloak_auth required
|
|
52
|
+
// http bearer authentication required
|
|
53
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
54
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
55
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
58
|
+
return {
|
|
59
|
+
url: toPathString(localVarUrlObj),
|
|
60
|
+
options: localVarRequestOptions,
|
|
61
|
+
};
|
|
62
|
+
}),
|
|
63
|
+
/**
|
|
64
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
65
|
+
* @summary Hide a user from the directory, or show them again
|
|
66
|
+
* @param {string} userId
|
|
67
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
adminSetDirectoryHidden: (userId_1, directoryHiddenRequest_1, ...args_1) => __awaiter(this, [userId_1, directoryHiddenRequest_1, ...args_1], void 0, function* (userId, directoryHiddenRequest, options = {}) {
|
|
72
|
+
// verify required parameter 'userId' is not null or undefined
|
|
73
|
+
assertParamExists('adminSetDirectoryHidden', 'userId', userId);
|
|
74
|
+
// verify required parameter 'directoryHiddenRequest' is not null or undefined
|
|
75
|
+
assertParamExists('adminSetDirectoryHidden', 'directoryHiddenRequest', directoryHiddenRequest);
|
|
76
|
+
const localVarPath = `/api/v1/admin/users/{userId}/directory-hidden`
|
|
77
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
78
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80
|
+
let baseOptions;
|
|
81
|
+
if (configuration) {
|
|
82
|
+
baseOptions = configuration.baseOptions;
|
|
83
|
+
}
|
|
84
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
85
|
+
const localVarHeaderParameter = {};
|
|
86
|
+
const localVarQueryParameter = {};
|
|
87
|
+
// authentication keycloak_auth required
|
|
88
|
+
// http bearer authentication required
|
|
89
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
90
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
91
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
92
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
93
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
94
|
+
localVarRequestOptions.data = serializeDataIfNeeded(directoryHiddenRequest, localVarRequestOptions, configuration);
|
|
95
|
+
return {
|
|
96
|
+
url: toPathString(localVarUrlObj),
|
|
97
|
+
options: localVarRequestOptions,
|
|
98
|
+
};
|
|
99
|
+
}),
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* DirectoryAdministrationApi - functional programming interface
|
|
104
|
+
*/
|
|
105
|
+
export const DirectoryAdministrationApiFp = function (configuration) {
|
|
106
|
+
const localVarAxiosParamCreator = DirectoryAdministrationApiAxiosParamCreator(configuration);
|
|
107
|
+
return {
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @summary Ids of the users hidden from the directory
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
adminListDirectoryHidden(options) {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
var _a, _b, _c;
|
|
117
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminListDirectoryHidden(options);
|
|
118
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
119
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DirectoryAdministrationApi.adminListDirectoryHidden']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
120
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
121
|
+
});
|
|
122
|
+
},
|
|
123
|
+
/**
|
|
124
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
125
|
+
* @summary Hide a user from the directory, or show them again
|
|
126
|
+
* @param {string} userId
|
|
127
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
adminSetDirectoryHidden(userId, directoryHiddenRequest, options) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
+
var _a, _b, _c;
|
|
134
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminSetDirectoryHidden(userId, directoryHiddenRequest, options);
|
|
135
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
136
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DirectoryAdministrationApi.adminSetDirectoryHidden']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
137
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
138
|
+
});
|
|
139
|
+
},
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* DirectoryAdministrationApi - factory interface
|
|
144
|
+
*/
|
|
145
|
+
export const DirectoryAdministrationApiFactory = function (configuration, basePath, axios) {
|
|
146
|
+
const localVarFp = DirectoryAdministrationApiFp(configuration);
|
|
147
|
+
return {
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Ids of the users hidden from the directory
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
adminListDirectoryHidden(options) {
|
|
155
|
+
return localVarFp.adminListDirectoryHidden(options).then((request) => request(axios, basePath));
|
|
156
|
+
},
|
|
157
|
+
/**
|
|
158
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
159
|
+
* @summary Hide a user from the directory, or show them again
|
|
160
|
+
* @param {string} userId
|
|
161
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
adminSetDirectoryHidden(userId, directoryHiddenRequest, options) {
|
|
166
|
+
return localVarFp.adminSetDirectoryHidden(userId, directoryHiddenRequest, options).then((request) => request(axios, basePath));
|
|
167
|
+
},
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* DirectoryAdministrationApi - object-oriented interface
|
|
172
|
+
*/
|
|
173
|
+
export class DirectoryAdministrationApi extends BaseAPI {
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @summary Ids of the users hidden from the directory
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
adminListDirectoryHidden(options) {
|
|
181
|
+
return DirectoryAdministrationApiFp(this.configuration).adminListDirectoryHidden(options).then((request) => request(this.axios, this.basePath));
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Idempotent; audited DIRECTORY_HIDDEN_CHANGED only when the value changes. 404 for an unknown user or a team.
|
|
185
|
+
* @summary Hide a user from the directory, or show them again
|
|
186
|
+
* @param {string} userId
|
|
187
|
+
* @param {DirectoryHiddenRequest} directoryHiddenRequest
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
adminSetDirectoryHidden(userId, directoryHiddenRequest, options) {
|
|
192
|
+
return DirectoryAdministrationApiFp(this.configuration).adminSetDirectoryHidden(userId, directoryHiddenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
193
|
+
}
|
|
194
|
+
}
|