@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
|
@@ -0,0 +1,499 @@
|
|
|
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 { AddTeamOwnerRequest } from '../models';
|
|
16
|
+
import type { CreateCollaborativeTeamRequest } from '../models';
|
|
17
|
+
import type { InviteToTeamRequest } from '../models';
|
|
18
|
+
import type { MyTeam } from '../models';
|
|
19
|
+
import type { RenameTeamRequest } from '../models';
|
|
20
|
+
import type { TeamCapabilities } from '../models';
|
|
21
|
+
import type { TeamDetails } from '../models';
|
|
22
|
+
import type { TeamInvitationView } from '../models';
|
|
23
|
+
import type { TeamInviteResult } from '../models';
|
|
24
|
+
/**
|
|
25
|
+
* TeamsApi - axios parameter creator
|
|
26
|
+
*/
|
|
27
|
+
export declare const TeamsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
|
+
/**
|
|
29
|
+
* 410 when the invitation was answered, cancelled or expired; 409 when the sharing policy refuses the membership.
|
|
30
|
+
* @summary Join the team
|
|
31
|
+
* @param {string} invitationId
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
acceptTeamInvitation: (invitationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @summary Make a licensed member a co-owner of a collaborative team
|
|
39
|
+
* @param {string} teamId
|
|
40
|
+
* @param {AddTeamOwnerRequest} addTeamOwnerRequest
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
addTeamOwner: (teamId: string, addTeamOwnerRequest: AddTeamOwnerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @summary Cancel a pending invitation
|
|
48
|
+
* @param {string} teamId
|
|
49
|
+
* @param {string} invitationId
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
cancelTeamInvitation: (teamId: string, invitationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
/**
|
|
55
|
+
* 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.
|
|
56
|
+
* @summary Create a collaborative team (I become its owner)
|
|
57
|
+
* @param {CreateCollaborativeTeamRequest} createCollaborativeTeamRequest
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
createCollaborativeTeam: (createCollaborativeTeamRequest: CreateCollaborativeTeamRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @summary Decline the invitation
|
|
65
|
+
* @param {string} invitationId
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
declineTeamInvitation: (invitationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Delete a team (owner of a collaborative team, or administrator)
|
|
73
|
+
* @param {string} teamId
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
deleteCollaborativeTeam: (teamId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
/**
|
|
79
|
+
* 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.
|
|
80
|
+
* @summary Invite people by exact e-mail address
|
|
81
|
+
* @param {string} teamId
|
|
82
|
+
* @param {InviteToTeamRequest} inviteToTeamRequest
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
inviteToTeam: (teamId: string, inviteToTeamRequest: InviteToTeamRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
|
+
/**
|
|
88
|
+
* 403 for an organisation team (an administrator removes members); 409 for its last owner.
|
|
89
|
+
* @summary Leave a collaborative team
|
|
90
|
+
* @param {string} teamId
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
leaveTeam: (teamId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary My pending team invitations
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
myTeamInvitations: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @summary The teams I belong to, with their kind and whether I own them
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
myTeams: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @summary Remove a member (the last owner cannot be removed)
|
|
112
|
+
* @param {string} teamId
|
|
113
|
+
* @param {string} userId
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
removeTeamMember: (teamId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @summary Rename a team (owner of a collaborative team, or administrator)
|
|
121
|
+
* @param {string} teamId
|
|
122
|
+
* @param {RenameTeamRequest} renameTeamRequest
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
renameTeam: (teamId: string, renameTeamRequest: RenameTeamRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @summary May I create teams, and how many do I own
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
teamCapabilities: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
134
|
+
/**
|
|
135
|
+
* LICENSED members and administrators. 403 for a FREE caller (who never gets other users), 404 for anyone else.
|
|
136
|
+
* @summary Members, owners and (for its managers) pending invitations of a team
|
|
137
|
+
* @param {string} teamId
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
teamDetails: (teamId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* TeamsApi - functional programming interface
|
|
145
|
+
*/
|
|
146
|
+
export declare const TeamsApiFp: (configuration?: Configuration) => {
|
|
147
|
+
/**
|
|
148
|
+
* 410 when the invitation was answered, cancelled or expired; 409 when the sharing policy refuses the membership.
|
|
149
|
+
* @summary Join the team
|
|
150
|
+
* @param {string} invitationId
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
acceptTeamInvitation(invitationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @summary Make a licensed member a co-owner of a collaborative team
|
|
158
|
+
* @param {string} teamId
|
|
159
|
+
* @param {AddTeamOwnerRequest} addTeamOwnerRequest
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
addTeamOwner(teamId: string, addTeamOwnerRequest: AddTeamOwnerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @summary Cancel a pending invitation
|
|
167
|
+
* @param {string} teamId
|
|
168
|
+
* @param {string} invitationId
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
cancelTeamInvitation(teamId: string, invitationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
173
|
+
/**
|
|
174
|
+
* 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.
|
|
175
|
+
* @summary Create a collaborative team (I become its owner)
|
|
176
|
+
* @param {CreateCollaborativeTeamRequest} createCollaborativeTeamRequest
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
createCollaborativeTeam(createCollaborativeTeamRequest: CreateCollaborativeTeamRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamDetails>>;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @summary Decline the invitation
|
|
184
|
+
* @param {string} invitationId
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
declineTeamInvitation(invitationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @summary Delete a team (owner of a collaborative team, or administrator)
|
|
192
|
+
* @param {string} teamId
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
deleteCollaborativeTeam(teamId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
197
|
+
/**
|
|
198
|
+
* 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.
|
|
199
|
+
* @summary Invite people by exact e-mail address
|
|
200
|
+
* @param {string} teamId
|
|
201
|
+
* @param {InviteToTeamRequest} inviteToTeamRequest
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
inviteToTeam(teamId: string, inviteToTeamRequest: InviteToTeamRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TeamInviteResult>>>;
|
|
206
|
+
/**
|
|
207
|
+
* 403 for an organisation team (an administrator removes members); 409 for its last owner.
|
|
208
|
+
* @summary Leave a collaborative team
|
|
209
|
+
* @param {string} teamId
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
*/
|
|
213
|
+
leaveTeam(teamId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @summary My pending team invitations
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
myTeamInvitations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TeamInvitationView>>>;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @summary The teams I belong to, with their kind and whether I own them
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
myTeams(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MyTeam>>>;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @summary Remove a member (the last owner cannot be removed)
|
|
231
|
+
* @param {string} teamId
|
|
232
|
+
* @param {string} userId
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
removeTeamMember(teamId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @summary Rename a team (owner of a collaborative team, or administrator)
|
|
240
|
+
* @param {string} teamId
|
|
241
|
+
* @param {RenameTeamRequest} renameTeamRequest
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
renameTeam(teamId: string, renameTeamRequest: RenameTeamRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary May I create teams, and how many do I own
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
teamCapabilities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamCapabilities>>;
|
|
253
|
+
/**
|
|
254
|
+
* LICENSED members and administrators. 403 for a FREE caller (who never gets other users), 404 for anyone else.
|
|
255
|
+
* @summary Members, owners and (for its managers) pending invitations of a team
|
|
256
|
+
* @param {string} teamId
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
teamDetails(teamId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamDetails>>;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* TeamsApi - factory interface
|
|
264
|
+
*/
|
|
265
|
+
export declare const TeamsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
266
|
+
/**
|
|
267
|
+
* 410 when the invitation was answered, cancelled or expired; 409 when the sharing policy refuses the membership.
|
|
268
|
+
* @summary Join the team
|
|
269
|
+
* @param {string} invitationId
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
acceptTeamInvitation(invitationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @summary Make a licensed member a co-owner of a collaborative team
|
|
277
|
+
* @param {string} teamId
|
|
278
|
+
* @param {AddTeamOwnerRequest} addTeamOwnerRequest
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
addTeamOwner(teamId: string, addTeamOwnerRequest: AddTeamOwnerRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @summary Cancel a pending invitation
|
|
286
|
+
* @param {string} teamId
|
|
287
|
+
* @param {string} invitationId
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
cancelTeamInvitation(teamId: string, invitationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
292
|
+
/**
|
|
293
|
+
* 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.
|
|
294
|
+
* @summary Create a collaborative team (I become its owner)
|
|
295
|
+
* @param {CreateCollaborativeTeamRequest} createCollaborativeTeamRequest
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
createCollaborativeTeam(createCollaborativeTeamRequest: CreateCollaborativeTeamRequest, options?: RawAxiosRequestConfig): AxiosPromise<TeamDetails>;
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* @summary Decline the invitation
|
|
303
|
+
* @param {string} invitationId
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
declineTeamInvitation(invitationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @summary Delete a team (owner of a collaborative team, or administrator)
|
|
311
|
+
* @param {string} teamId
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
*/
|
|
315
|
+
deleteCollaborativeTeam(teamId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
316
|
+
/**
|
|
317
|
+
* 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.
|
|
318
|
+
* @summary Invite people by exact e-mail address
|
|
319
|
+
* @param {string} teamId
|
|
320
|
+
* @param {InviteToTeamRequest} inviteToTeamRequest
|
|
321
|
+
* @param {*} [options] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
*/
|
|
324
|
+
inviteToTeam(teamId: string, inviteToTeamRequest: InviteToTeamRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TeamInviteResult>>;
|
|
325
|
+
/**
|
|
326
|
+
* 403 for an organisation team (an administrator removes members); 409 for its last owner.
|
|
327
|
+
* @summary Leave a collaborative team
|
|
328
|
+
* @param {string} teamId
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
*/
|
|
332
|
+
leaveTeam(teamId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @summary My pending team invitations
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
myTeamInvitations(options?: RawAxiosRequestConfig): AxiosPromise<Array<TeamInvitationView>>;
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @summary The teams I belong to, with their kind and whether I own them
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
*/
|
|
346
|
+
myTeams(options?: RawAxiosRequestConfig): AxiosPromise<Array<MyTeam>>;
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @summary Remove a member (the last owner cannot be removed)
|
|
350
|
+
* @param {string} teamId
|
|
351
|
+
* @param {string} userId
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
*/
|
|
355
|
+
removeTeamMember(teamId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @summary Rename a team (owner of a collaborative team, or administrator)
|
|
359
|
+
* @param {string} teamId
|
|
360
|
+
* @param {RenameTeamRequest} renameTeamRequest
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
renameTeam(teamId: string, renameTeamRequest: RenameTeamRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @summary May I create teams, and how many do I own
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
*/
|
|
371
|
+
teamCapabilities(options?: RawAxiosRequestConfig): AxiosPromise<TeamCapabilities>;
|
|
372
|
+
/**
|
|
373
|
+
* LICENSED members and administrators. 403 for a FREE caller (who never gets other users), 404 for anyone else.
|
|
374
|
+
* @summary Members, owners and (for its managers) pending invitations of a team
|
|
375
|
+
* @param {string} teamId
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
teamDetails(teamId: string, options?: RawAxiosRequestConfig): AxiosPromise<TeamDetails>;
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* TeamsApi - object-oriented interface
|
|
383
|
+
*/
|
|
384
|
+
export declare class TeamsApi extends BaseAPI {
|
|
385
|
+
/**
|
|
386
|
+
* 410 when the invitation was answered, cancelled or expired; 409 when the sharing policy refuses the membership.
|
|
387
|
+
* @summary Join the team
|
|
388
|
+
* @param {string} invitationId
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
acceptTeamInvitation(invitationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @summary Make a licensed member a co-owner of a collaborative team
|
|
396
|
+
* @param {string} teamId
|
|
397
|
+
* @param {AddTeamOwnerRequest} addTeamOwnerRequest
|
|
398
|
+
* @param {*} [options] Override http request option.
|
|
399
|
+
* @throws {RequiredError}
|
|
400
|
+
*/
|
|
401
|
+
addTeamOwner(teamId: string, addTeamOwnerRequest: AddTeamOwnerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
402
|
+
/**
|
|
403
|
+
*
|
|
404
|
+
* @summary Cancel a pending invitation
|
|
405
|
+
* @param {string} teamId
|
|
406
|
+
* @param {string} invitationId
|
|
407
|
+
* @param {*} [options] Override http request option.
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
*/
|
|
410
|
+
cancelTeamInvitation(teamId: string, invitationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
411
|
+
/**
|
|
412
|
+
* 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.
|
|
413
|
+
* @summary Create a collaborative team (I become its owner)
|
|
414
|
+
* @param {CreateCollaborativeTeamRequest} createCollaborativeTeamRequest
|
|
415
|
+
* @param {*} [options] Override http request option.
|
|
416
|
+
* @throws {RequiredError}
|
|
417
|
+
*/
|
|
418
|
+
createCollaborativeTeam(createCollaborativeTeamRequest: CreateCollaborativeTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamDetails, any, {}, any>>;
|
|
419
|
+
/**
|
|
420
|
+
*
|
|
421
|
+
* @summary Decline the invitation
|
|
422
|
+
* @param {string} invitationId
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @throws {RequiredError}
|
|
425
|
+
*/
|
|
426
|
+
declineTeamInvitation(invitationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @summary Delete a team (owner of a collaborative team, or administrator)
|
|
430
|
+
* @param {string} teamId
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
deleteCollaborativeTeam(teamId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
435
|
+
/**
|
|
436
|
+
* 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.
|
|
437
|
+
* @summary Invite people by exact e-mail address
|
|
438
|
+
* @param {string} teamId
|
|
439
|
+
* @param {InviteToTeamRequest} inviteToTeamRequest
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
inviteToTeam(teamId: string, inviteToTeamRequest: InviteToTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamInviteResult[], any, {}, any>>;
|
|
444
|
+
/**
|
|
445
|
+
* 403 for an organisation team (an administrator removes members); 409 for its last owner.
|
|
446
|
+
* @summary Leave a collaborative team
|
|
447
|
+
* @param {string} teamId
|
|
448
|
+
* @param {*} [options] Override http request option.
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
*/
|
|
451
|
+
leaveTeam(teamId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @summary My pending team invitations
|
|
455
|
+
* @param {*} [options] Override http request option.
|
|
456
|
+
* @throws {RequiredError}
|
|
457
|
+
*/
|
|
458
|
+
myTeamInvitations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamInvitationView[], any, {}, any>>;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @summary The teams I belong to, with their kind and whether I own them
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
*/
|
|
465
|
+
myTeams(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MyTeam[], any, {}, any>>;
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @summary Remove a member (the last owner cannot be removed)
|
|
469
|
+
* @param {string} teamId
|
|
470
|
+
* @param {string} userId
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
*/
|
|
474
|
+
removeTeamMember(teamId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
475
|
+
/**
|
|
476
|
+
*
|
|
477
|
+
* @summary Rename a team (owner of a collaborative team, or administrator)
|
|
478
|
+
* @param {string} teamId
|
|
479
|
+
* @param {RenameTeamRequest} renameTeamRequest
|
|
480
|
+
* @param {*} [options] Override http request option.
|
|
481
|
+
* @throws {RequiredError}
|
|
482
|
+
*/
|
|
483
|
+
renameTeam(teamId: string, renameTeamRequest: RenameTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @summary May I create teams, and how many do I own
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
teamCapabilities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamCapabilities, any, {}, any>>;
|
|
491
|
+
/**
|
|
492
|
+
* LICENSED members and administrators. 403 for a FREE caller (who never gets other users), 404 for anyone else.
|
|
493
|
+
* @summary Members, owners and (for its managers) pending invitations of a team
|
|
494
|
+
* @param {string} teamId
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
teamDetails(teamId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamDetails, any, {}, any>>;
|
|
499
|
+
}
|