@growi/sdk-typescript 1.0.0-RC.0
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/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +210 -0
- package/README_JP.md +211 -0
- package/dist/apiv1/index.d.ts +22 -0
- package/dist/apiv1/index.d.ts.map +1 -0
- package/dist/apiv1/index.js +3 -0
- package/dist/apiv1/index.js.map +1 -0
- package/dist/apiv3/index.d.ts +245 -0
- package/dist/apiv3/index.d.ts.map +1 -0
- package/dist/apiv3/index.js +3 -0
- package/dist/apiv3/index.js.map +1 -0
- package/dist/generated/v1/index.d.ts +47 -0
- package/dist/generated/v1/index.d.ts.map +1 -0
- package/dist/generated/v1/index.js +131 -0
- package/dist/generated/v1/index.js.map +1 -0
- package/dist/generated/v1/index.schemas.d.ts +491 -0
- package/dist/generated/v1/index.schemas.d.ts.map +1 -0
- package/dist/generated/v1/index.schemas.js +12 -0
- package/dist/generated/v1/index.schemas.js.map +1 -0
- package/dist/generated/v3/index.d.ts +493 -0
- package/dist/generated/v3/index.d.ts.map +1 -0
- package/dist/generated/v3/index.js +1981 -0
- package/dist/generated/v3/index.js.map +1 -0
- package/dist/generated/v3/index.schemas.d.ts +3548 -0
- package/dist/generated/v3/index.schemas.d.ts.map +1 -0
- package/dist/generated/v3/index.schemas.js +30 -0
- package/dist/generated/v3/index.schemas.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/utils/axios-instance.d.ts +5 -0
- package/dist/utils/axios-instance.d.ts.map +1 -0
- package/dist/utils/axios-instance.js +19 -0
- package/dist/utils/axios-instance.js.map +1 -0
- package/package.json +53 -0
- package/src/apiv1/index.ts +7 -0
- package/src/apiv3/index.ts +7 -0
- package/src/generated/v1/index.schemas.ts +554 -0
- package/src/generated/v1/index.ts +231 -0
- package/src/generated/v3/index.schemas.ts +3891 -0
- package/src/generated/v3/index.ts +3362 -0
- package/src/index.ts +8 -0
- package/src/utils/axios-instance.ts +23 -0
|
@@ -0,0 +1,1981 @@
|
|
|
1
|
+
import { customInstance } from '../../utils/axios-instance.js';
|
|
2
|
+
export const getGrowirestapiv3 = () => {
|
|
3
|
+
/**
|
|
4
|
+
* Get user group relations
|
|
5
|
+
* @summary /external-user-group-relations
|
|
6
|
+
*/
|
|
7
|
+
const getExternalUserGroupRelations = (params, options) => {
|
|
8
|
+
return customInstance({ url: `/external-user-group-relations`, method: 'GET', params }, options);
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @summary /external-user-groups
|
|
12
|
+
*/
|
|
13
|
+
const getExternalUserGroups = (params, options) => {
|
|
14
|
+
return customInstance({ url: `/external-user-groups`, method: 'GET', params }, options);
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @summary /external-user-groups/ancestors
|
|
18
|
+
*/
|
|
19
|
+
const getExternalUserGroupsAncestors = (params, options) => {
|
|
20
|
+
return customInstance({ url: `/external-user-groups/ancestors`, method: 'GET', params }, options);
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @summary /external-user-groups/children
|
|
24
|
+
*/
|
|
25
|
+
const getExternalUserGroupsChildren = (params, options) => {
|
|
26
|
+
return customInstance({ url: `/external-user-groups/children`, method: 'GET', params }, options);
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @summary /external-user-groups/{id}
|
|
30
|
+
*/
|
|
31
|
+
const getExternalUserGroupsId = (id, options) => {
|
|
32
|
+
return customInstance({ url: `/external-user-groups/${id}`, method: 'GET' }, options);
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @summary /external-user-groups/{id}
|
|
36
|
+
*/
|
|
37
|
+
const deleteExternalUserGroupsId = (id, params, options) => {
|
|
38
|
+
return customInstance({ url: `/external-user-groups/${id}`, method: 'DELETE', params }, options);
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @summary /external-user-groups/{id}
|
|
42
|
+
*/
|
|
43
|
+
const putExternalUserGroupsId = (id, putExternalUserGroupsIdBody, options) => {
|
|
44
|
+
return customInstance({ url: `/external-user-groups/${id}`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putExternalUserGroupsIdBody }, options);
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @summary /external-user-groups/{id}/external-user-group-relations
|
|
48
|
+
*/
|
|
49
|
+
const getExternalUserGroupsIdExternalUserGroupRelations = (id, options) => {
|
|
50
|
+
return customInstance({ url: `/external-user-groups/${id}/external-user-group-relations`, method: 'GET' }, options);
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @summary Get LDAP sync settings
|
|
54
|
+
*/
|
|
55
|
+
const getExternalUserGroupsLdapSyncSettings = (options) => {
|
|
56
|
+
return customInstance({ url: `/external-user-groups/ldap/sync-settings`, method: 'GET' }, options);
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* @summary Update LDAP sync settings
|
|
60
|
+
*/
|
|
61
|
+
const putExternalUserGroupsLdapSyncSettings = (putExternalUserGroupsLdapSyncSettingsBody, options) => {
|
|
62
|
+
return customInstance({
|
|
63
|
+
url: `/external-user-groups/ldap/sync-settings`,
|
|
64
|
+
method: 'PUT',
|
|
65
|
+
headers: { 'Content-Type': 'application/json' },
|
|
66
|
+
data: putExternalUserGroupsLdapSyncSettingsBody,
|
|
67
|
+
}, options);
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @summary Get Keycloak sync settings
|
|
71
|
+
*/
|
|
72
|
+
const getExternalUserGroupsKeycloakSyncSettings = (options) => {
|
|
73
|
+
return customInstance({ url: `/external-user-groups/keycloak/sync-settings`, method: 'GET' }, options);
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* @summary /external-user-groups/keycloak/sync-settings
|
|
77
|
+
*/
|
|
78
|
+
const putExternalUserGroupsKeycloakSyncSettings = (putExternalUserGroupsKeycloakSyncSettingsBody, options) => {
|
|
79
|
+
return customInstance({
|
|
80
|
+
url: `/external-user-groups/keycloak/sync-settings`,
|
|
81
|
+
method: 'PUT',
|
|
82
|
+
headers: { 'Content-Type': 'application/json' },
|
|
83
|
+
data: putExternalUserGroupsKeycloakSyncSettingsBody,
|
|
84
|
+
}, options);
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* @summary Start LDAP sync process
|
|
88
|
+
*/
|
|
89
|
+
const putExternalUserGroupsLdapSync = (options) => {
|
|
90
|
+
return customInstance({ url: `/external-user-groups/ldap/sync`, method: 'PUT' }, options);
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @summary /external-user-groups/keycloak/sync
|
|
94
|
+
*/
|
|
95
|
+
const putExternalUserGroupsKeycloakSync = (options) => {
|
|
96
|
+
return customInstance({ url: `/external-user-groups/keycloak/sync`, method: 'PUT' }, options);
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @summary /external-user-groups/ldap/sync-status
|
|
100
|
+
*/
|
|
101
|
+
const getExternalUserGroupsLdapSyncStatus = (options) => {
|
|
102
|
+
return customInstance({ url: `/external-user-groups/ldap/sync-status`, method: 'GET' }, options);
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Get questionnaire orders
|
|
106
|
+
* @summary /questionnaire/orders
|
|
107
|
+
*/
|
|
108
|
+
const getQuestionnaireOrders = (options) => {
|
|
109
|
+
return customInstance({ url: `/questionnaire/orders`, method: 'GET' }, options);
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Get questionnaire is enabled
|
|
113
|
+
* @summary /questionnaire/is-enabled
|
|
114
|
+
*/
|
|
115
|
+
const getQuestionnaireIsEnabled = (options) => {
|
|
116
|
+
return customInstance({ url: `/questionnaire/is-enabled`, method: 'GET' }, options);
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Post proactive questionnaire answer
|
|
120
|
+
* @summary /questionnaire/proactive/answer
|
|
121
|
+
*/
|
|
122
|
+
const postQuestionnaireProactiveAnswer = (postQuestionnaireProactiveAnswerBody, options) => {
|
|
123
|
+
return customInstance({ url: `/questionnaire/proactive/answer`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postQuestionnaireProactiveAnswerBody }, options);
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Post questionnaire answer
|
|
127
|
+
* @summary /questionnaire/answer
|
|
128
|
+
*/
|
|
129
|
+
const putQuestionnaireAnswer = (putQuestionnaireAnswerBody, options) => {
|
|
130
|
+
return customInstance({ url: `/questionnaire/answer`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putQuestionnaireAnswerBody }, options);
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Skip questionnaire
|
|
134
|
+
* @summary /questionnaire/skip
|
|
135
|
+
*/
|
|
136
|
+
const putQuestionnaireSkip = (putQuestionnaireSkipBody, options) => {
|
|
137
|
+
return customInstance({ url: `/questionnaire/skip`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putQuestionnaireSkipBody }, options);
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Deny questionnaire
|
|
141
|
+
* @summary /questionnaire/deny
|
|
142
|
+
*/
|
|
143
|
+
const putQuestionnaireDeny = (putQuestionnaireDenyBody, options) => {
|
|
144
|
+
return customInstance({ url: `/questionnaire/deny`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putQuestionnaireDenyBody }, options);
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Get all templates
|
|
148
|
+
* @summary /templates
|
|
149
|
+
*/
|
|
150
|
+
const getTemplates = (params, options) => {
|
|
151
|
+
return customInstance({ url: `/templates`, method: 'GET', params }, options);
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Get a preset template
|
|
155
|
+
* @summary /templates/preset-templates/{templateId}/{locale}
|
|
156
|
+
*/
|
|
157
|
+
const getTemplatesPresetTemplatesTemplateIdLocale = (templateId, locale, options) => {
|
|
158
|
+
return customInstance({ url: `/templates/preset-templates/${templateId}/${locale}`, method: 'GET' }, options);
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Get a plugin template
|
|
162
|
+
* @summary /templates/plugin-templates/{organizationId}/{reposId}/{templateId}/{locale}
|
|
163
|
+
*/
|
|
164
|
+
const getTemplatesPluginTemplatesOrganizationIdReposIdTemplateIdLocale = (organizationId, reposId, templateId, locale, options) => {
|
|
165
|
+
return customInstance({ url: `/templates/plugin-templates/${organizationId}/${reposId}/${templateId}/${locale}`, method: 'GET' }, options);
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Install a plugin
|
|
169
|
+
* @summary /plugins
|
|
170
|
+
*/
|
|
171
|
+
const postPlugins = (postPluginsBody, options) => {
|
|
172
|
+
return customInstance({ url: `/plugins`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPluginsBody }, options);
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* Activate a plugin
|
|
176
|
+
* @summary /plugins/{id}/activate
|
|
177
|
+
*/
|
|
178
|
+
const putPluginsIdActivate = (id, options) => {
|
|
179
|
+
return customInstance({ url: `/plugins/${id}/activate`, method: 'PUT' }, options);
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Remove a plugin
|
|
183
|
+
* @summary /plugins/{id}/remove
|
|
184
|
+
*/
|
|
185
|
+
const deletePluginsIdRemove = (id, options) => {
|
|
186
|
+
return customInstance({ url: `/plugins/${id}/remove`, method: 'DELETE' }, options);
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* @summary /activity
|
|
190
|
+
*/
|
|
191
|
+
const getActivity = (params, options) => {
|
|
192
|
+
return customInstance({ url: `/activity`, method: 'GET', params }, options);
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Get adminHome parameters
|
|
196
|
+
* @summary /admin-home
|
|
197
|
+
*/
|
|
198
|
+
const getAdminHome = (options) => {
|
|
199
|
+
return customInstance({ url: `/admin-home/`, method: 'GET' }, options);
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* get app setting params
|
|
203
|
+
* @summary /app-settings
|
|
204
|
+
*/
|
|
205
|
+
const getAppSettings = (options) => {
|
|
206
|
+
return customInstance({ url: `/app-settings`, method: 'GET' }, options);
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Update app setting
|
|
210
|
+
* @summary /app-settings/app-setting
|
|
211
|
+
*/
|
|
212
|
+
const putAppSettingsAppSetting = (appSettingPutParams, options) => {
|
|
213
|
+
return customInstance({ url: `/app-settings/app-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: appSettingPutParams }, options);
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Update site url setting
|
|
217
|
+
* @summary /app-settings/site-url-setting
|
|
218
|
+
*/
|
|
219
|
+
const putAppSettingsSiteUrlSetting = (siteUrlSettingParams, options) => {
|
|
220
|
+
return customInstance({ url: `/app-settings/site-url-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: siteUrlSettingParams }, options);
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Update smtp setting
|
|
224
|
+
* @summary /app-settings/smtp-setting
|
|
225
|
+
*/
|
|
226
|
+
const putAppSettingsSmtpSetting = (smtpSettingParams, options) => {
|
|
227
|
+
return customInstance({ url: `/app-settings/smtp-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: smtpSettingParams }, options);
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Send test mail for smtp
|
|
231
|
+
* @summary /app-settings/smtp-setting
|
|
232
|
+
*/
|
|
233
|
+
const postAppSettingsSmtpTest = (options) => {
|
|
234
|
+
return customInstance({ url: `/app-settings/smtp-test`, method: 'POST' }, options);
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* Update ses setting
|
|
238
|
+
* @summary /app-settings/ses-setting
|
|
239
|
+
*/
|
|
240
|
+
const putAppSettingsSesSetting = (sesSettingParams, options) => {
|
|
241
|
+
return customInstance({ url: `/app-settings/ses-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: sesSettingParams }, options);
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* Update fileUploadSetting
|
|
245
|
+
* @summary /app-settings/file-upload-setting
|
|
246
|
+
*/
|
|
247
|
+
const putAppSettingsFileUploadSettings = (fileUploadSettingParams, options) => {
|
|
248
|
+
return customInstance({ url: `/app-settings/file-upload-settings`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: fileUploadSettingParams }, options);
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* Update QuestionnaireSetting
|
|
252
|
+
* @summary /app-settings/questionnaire-settings
|
|
253
|
+
*/
|
|
254
|
+
const putAppSettingsQuestionnaireSettings = (questionnaireSettingParams, options) => {
|
|
255
|
+
return customInstance({ url: `/app-settings/questionnaire-settings`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: questionnaireSettingParams }, options);
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Update V5SchemaMigration
|
|
259
|
+
* @summary AccessToken supported.
|
|
260
|
+
*/
|
|
261
|
+
const postAppSettingsV5SchemaMigration = (options) => {
|
|
262
|
+
return customInstance({ url: `/app-settings/v5-schema-migration`, method: 'POST' }, options);
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Update MaintenanceMode
|
|
266
|
+
* @summary AccessToken supported.
|
|
267
|
+
*/
|
|
268
|
+
const postAppSettingsMaintenanceMode = (postAppSettingsMaintenanceModeBody, options) => {
|
|
269
|
+
return customInstance({ url: `/app-settings/maintenance-mode`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postAppSettingsMaintenanceModeBody }, options);
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* Get attachment list
|
|
273
|
+
*/
|
|
274
|
+
const getAttachmentList = (params, options) => {
|
|
275
|
+
return customInstance({ url: `/attachment/list`, method: 'GET', params }, options);
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* Get available capacity of uploaded file with GridFS
|
|
279
|
+
* @summary /attachment/limit
|
|
280
|
+
*/
|
|
281
|
+
const getAttachmentLimit = (params, options) => {
|
|
282
|
+
return customInstance({ url: `/attachment/limit`, method: 'GET', params }, options);
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Add attachment to the page
|
|
286
|
+
* @summary /attachment
|
|
287
|
+
*/
|
|
288
|
+
const postAttachment = (postAttachmentBody, options) => {
|
|
289
|
+
return customInstance({ url: `/attachment`, method: 'POST', data: postAttachmentBody }, options);
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* Get attachment
|
|
293
|
+
*/
|
|
294
|
+
const getAttachmentId = (id, options) => {
|
|
295
|
+
return customInstance({ url: `/attachment/${id}`, method: 'GET' }, options);
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Create a new bookmark folder
|
|
299
|
+
* @summary Create bookmark folder
|
|
300
|
+
*/
|
|
301
|
+
const postBookmarkFolder = (postBookmarkFolderBody, options) => {
|
|
302
|
+
return customInstance({ url: `/bookmark-folder`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postBookmarkFolderBody }, options);
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* Update a bookmark folder
|
|
306
|
+
* @summary Update bookmark folder
|
|
307
|
+
*/
|
|
308
|
+
const putBookmarkFolder = (putBookmarkFolderBody, options) => {
|
|
309
|
+
return customInstance({ url: `/bookmark-folder`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putBookmarkFolderBody }, options);
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* List bookmark folders of a user
|
|
313
|
+
* @summary List bookmark folders of a user
|
|
314
|
+
*/
|
|
315
|
+
const getBookmarkFolderListUserId = (userId, options) => {
|
|
316
|
+
return customInstance({ url: `/bookmark-folder/list/${userId}`, method: 'GET' }, options);
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* Delete a bookmark folder and its children
|
|
320
|
+
* @summary Delete bookmark folder
|
|
321
|
+
*/
|
|
322
|
+
const deleteBookmarkFolderId = (id, options) => {
|
|
323
|
+
return customInstance({ url: `/bookmark-folder/${id}`, method: 'DELETE' }, options);
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Update a bookmark folder
|
|
327
|
+
* @summary Update bookmark folder
|
|
328
|
+
*/
|
|
329
|
+
const postBookmarkFolderAddBookmarkToFolder = (postBookmarkFolderAddBookmarkToFolderBody, options) => {
|
|
330
|
+
return customInstance({
|
|
331
|
+
url: `/bookmark-folder/add-bookmark-to-folder`,
|
|
332
|
+
method: 'POST',
|
|
333
|
+
headers: { 'Content-Type': 'application/json' },
|
|
334
|
+
data: postBookmarkFolderAddBookmarkToFolderBody,
|
|
335
|
+
}, options);
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* Update a bookmark in a folder
|
|
339
|
+
* @summary Update bookmark in folder
|
|
340
|
+
*/
|
|
341
|
+
const putBookmarkFolderUpdateBookmark = (putBookmarkFolderUpdateBookmarkBody, options) => {
|
|
342
|
+
return customInstance({ url: `/bookmark-folder/update-bookmark`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putBookmarkFolderUpdateBookmarkBody }, options);
|
|
343
|
+
};
|
|
344
|
+
/**
|
|
345
|
+
* Get bookmarked info
|
|
346
|
+
* @summary /bookmarks/info
|
|
347
|
+
*/
|
|
348
|
+
const getBookmarksInfo = (params, options) => {
|
|
349
|
+
return customInstance({ url: `/bookmarks/info`, method: 'GET', params }, options);
|
|
350
|
+
};
|
|
351
|
+
/**
|
|
352
|
+
* Get my bookmarked status
|
|
353
|
+
* @summary /bookmarks/{userId}
|
|
354
|
+
*/
|
|
355
|
+
const getBookmarksUserId = (userId, options) => {
|
|
356
|
+
return customInstance({ url: `/bookmarks/${userId}`, method: 'GET' }, options);
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Update bookmarked status
|
|
360
|
+
* @summary /bookmarks
|
|
361
|
+
*/
|
|
362
|
+
const putBookmarks = (bookmarkParams, options) => {
|
|
363
|
+
return customInstance({ url: `/bookmarks`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: bookmarkParams }, options);
|
|
364
|
+
};
|
|
365
|
+
/**
|
|
366
|
+
* Get customize parameters
|
|
367
|
+
* @summary /customize-setting
|
|
368
|
+
*/
|
|
369
|
+
const getCustomizeSetting = (options) => {
|
|
370
|
+
return customInstance({ url: `/customize-setting`, method: 'GET' }, options);
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* Get layout
|
|
374
|
+
* @summary /customize-setting/layout
|
|
375
|
+
*/
|
|
376
|
+
const getCustomizeSettingLayout = (options) => {
|
|
377
|
+
return customInstance({ url: `/customize-setting/layout`, method: 'GET' }, options);
|
|
378
|
+
};
|
|
379
|
+
/**
|
|
380
|
+
* Update layout
|
|
381
|
+
* @summary /customize-setting/layout
|
|
382
|
+
*/
|
|
383
|
+
const putCustomizeSettingLayout = (customizeLayout, options) => {
|
|
384
|
+
return customInstance({ url: `/customize-setting/layout`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeLayout }, options);
|
|
385
|
+
};
|
|
386
|
+
/**
|
|
387
|
+
* Get theme
|
|
388
|
+
* @summary /customize-setting/theme
|
|
389
|
+
*/
|
|
390
|
+
const getCustomizeSettingTheme = (options) => {
|
|
391
|
+
return customInstance({ url: `/customize-setting/theme`, method: 'GET' }, options);
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
* Update theme
|
|
395
|
+
* @summary /customize-setting/theme
|
|
396
|
+
*/
|
|
397
|
+
const putCustomizeSettingTheme = (customizeTheme, options) => {
|
|
398
|
+
return customInstance({ url: `/customize-setting/theme`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeTheme }, options);
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* Get sidebar
|
|
402
|
+
* @summary /customize-setting/sidebar
|
|
403
|
+
*/
|
|
404
|
+
const getCustomizeSettingSidebar = (options) => {
|
|
405
|
+
return customInstance({ url: `/customize-setting/sidebar`, method: 'GET' }, options);
|
|
406
|
+
};
|
|
407
|
+
/**
|
|
408
|
+
* Update sidebar
|
|
409
|
+
* @summary /customize-setting/sidebar
|
|
410
|
+
*/
|
|
411
|
+
const putCustomizeSettingSidebar = (customizeSidebar, options) => {
|
|
412
|
+
return customInstance({ url: `/customize-setting/sidebar`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeSidebar }, options);
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Update function
|
|
416
|
+
* @summary /customize-setting/function
|
|
417
|
+
*/
|
|
418
|
+
const putCustomizeSettingFunction = (customizeFunction, options) => {
|
|
419
|
+
return customInstance({ url: `/customize-setting/function`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeFunction }, options);
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* Update presentation
|
|
423
|
+
* @summary /customize-setting/presentation
|
|
424
|
+
*/
|
|
425
|
+
const putCustomizeSettingPresentation = (customizePresentation, options) => {
|
|
426
|
+
return customInstance({ url: `/customize-setting/presentation`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizePresentation }, options);
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* Update highlight
|
|
430
|
+
* @summary /customize-setting/highlight
|
|
431
|
+
*/
|
|
432
|
+
const putCustomizeSettingHighlight = (customizeHighlight, options) => {
|
|
433
|
+
return customInstance({ url: `/customize-setting/highlight`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeHighlight }, options);
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
436
|
+
* Update title
|
|
437
|
+
* @summary /customize-setting/customizeTitle
|
|
438
|
+
*/
|
|
439
|
+
const putCustomizeSettingCustomizeTitle = (customizeTitle, options) => {
|
|
440
|
+
return customInstance({ url: `/customize-setting/customizeTitle`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeTitle }, options);
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* Update noscript
|
|
444
|
+
* @summary /customize-setting/customize-noscript
|
|
445
|
+
*/
|
|
446
|
+
const putCustomizeSettingCustomizeNoscript = (customizeNoscript, options) => {
|
|
447
|
+
return customInstance({ url: `/customize-setting/customize-noscript`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeNoscript }, options);
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* Update customize css
|
|
451
|
+
* @summary /customize-setting/customize-css
|
|
452
|
+
*/
|
|
453
|
+
const putCustomizeSettingCustomizeCss = (customizeCss, options) => {
|
|
454
|
+
return customInstance({ url: `/customize-setting/customize-css`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeCss }, options);
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* Update customize script
|
|
458
|
+
* @summary /customize-setting/customize-script
|
|
459
|
+
*/
|
|
460
|
+
const putCustomizeSettingCustomizeScript = (customizeScript, options) => {
|
|
461
|
+
return customInstance({ url: `/customize-setting/customize-script`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeScript }, options);
|
|
462
|
+
};
|
|
463
|
+
/**
|
|
464
|
+
* Update customize logo
|
|
465
|
+
* @summary /customize-setting/customize-logo
|
|
466
|
+
*/
|
|
467
|
+
const putCustomizeSettingCustomizeLogo = (customizeLogo, options) => {
|
|
468
|
+
return customInstance({ url: `/customize-setting/customize-logo`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeLogo }, options);
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* Upload brand logo
|
|
472
|
+
* @summary /customize-setting/upload-brand-logo
|
|
473
|
+
*/
|
|
474
|
+
const putCustomizeSettingUploadBrandLogo = (putCustomizeSettingUploadBrandLogoBody, options) => {
|
|
475
|
+
const formData = new FormData();
|
|
476
|
+
if (putCustomizeSettingUploadBrandLogoBody.file !== undefined) {
|
|
477
|
+
formData.append(`file`, putCustomizeSettingUploadBrandLogoBody.file);
|
|
478
|
+
}
|
|
479
|
+
return customInstance({ url: `/customize-setting/upload-brand-logo`, method: 'PUT', headers: { 'Content-Type': 'multipart/form-data' }, data: formData }, options);
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* Delete brand logo
|
|
483
|
+
* @summary /customize-setting/delete-brand-logo
|
|
484
|
+
*/
|
|
485
|
+
const deleteCustomizeSettingDeleteBrandLogo = (options) => {
|
|
486
|
+
return customInstance({ url: `/customize-setting/delete-brand-logo`, method: 'DELETE' }, options);
|
|
487
|
+
};
|
|
488
|
+
/**
|
|
489
|
+
* get properties of stored zip files for export
|
|
490
|
+
* @summary /export/status
|
|
491
|
+
*/
|
|
492
|
+
const getExportStatus = (options) => {
|
|
493
|
+
return customInstance({ url: `/export/status`, method: 'GET' }, options);
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* generate zipped jsons for collections
|
|
497
|
+
* @summary /export
|
|
498
|
+
*/
|
|
499
|
+
const postExport = (postExportBody, options) => {
|
|
500
|
+
return customInstance({ url: `/export`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postExportBody }, options);
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
* delete the file
|
|
504
|
+
* @summary /export/{fileName}
|
|
505
|
+
*/
|
|
506
|
+
const deleteExportFileName = (fileName, options) => {
|
|
507
|
+
return customInstance({ url: `/export/${fileName}`, method: 'DELETE' }, options);
|
|
508
|
+
};
|
|
509
|
+
/**
|
|
510
|
+
* @summary Request password reset
|
|
511
|
+
*/
|
|
512
|
+
const postForgotPassword = (postForgotPasswordBody, options) => {
|
|
513
|
+
return customInstance({ url: `/forgot-password`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postForgotPasswordBody }, options);
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* @summary Reset password
|
|
517
|
+
*/
|
|
518
|
+
const putForgotPassword = (putForgotPasswordBody, options) => {
|
|
519
|
+
return customInstance({ url: `/forgot-password`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putForgotPasswordBody }, options);
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* @summary /g2g-transfer/files
|
|
523
|
+
*/
|
|
524
|
+
const getG2gTransferFiles = (options) => {
|
|
525
|
+
return customInstance({ url: `/g2g-transfer/files`, method: 'GET' }, options);
|
|
526
|
+
};
|
|
527
|
+
/**
|
|
528
|
+
* @summary /g2g-transfer
|
|
529
|
+
*/
|
|
530
|
+
const postG2gTransfer = (postG2gTransferBody, options) => {
|
|
531
|
+
const formData = new FormData();
|
|
532
|
+
if (postG2gTransferBody.file !== undefined) {
|
|
533
|
+
formData.append(`file`, postG2gTransferBody.file);
|
|
534
|
+
}
|
|
535
|
+
if (postG2gTransferBody.collections !== undefined) {
|
|
536
|
+
postG2gTransferBody.collections.forEach((value) => formData.append(`collections`, value));
|
|
537
|
+
}
|
|
538
|
+
if (postG2gTransferBody.optionsMap !== undefined) {
|
|
539
|
+
formData.append(`optionsMap`, JSON.stringify(postG2gTransferBody.optionsMap));
|
|
540
|
+
}
|
|
541
|
+
if (postG2gTransferBody.operatorUserId !== undefined) {
|
|
542
|
+
formData.append(`operatorUserId`, postG2gTransferBody.operatorUserId);
|
|
543
|
+
}
|
|
544
|
+
if (postG2gTransferBody.uploadConfigs !== undefined) {
|
|
545
|
+
formData.append(`uploadConfigs`, JSON.stringify(postG2gTransferBody.uploadConfigs));
|
|
546
|
+
}
|
|
547
|
+
return customInstance({ url: `/g2g-transfer`, method: 'POST', headers: { 'Content-Type': 'multipart/form-data' }, data: formData }, options);
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* @summary /g2g-transfer/attachment
|
|
551
|
+
*/
|
|
552
|
+
const postG2gTransferAttachment = (postG2gTransferAttachmentBody, options) => {
|
|
553
|
+
const formData = new FormData();
|
|
554
|
+
if (postG2gTransferAttachmentBody.file !== undefined) {
|
|
555
|
+
formData.append(`file`, postG2gTransferAttachmentBody.file);
|
|
556
|
+
}
|
|
557
|
+
if (postG2gTransferAttachmentBody.attachmentMetadata !== undefined) {
|
|
558
|
+
formData.append(`attachmentMetadata`, JSON.stringify(postG2gTransferAttachmentBody.attachmentMetadata));
|
|
559
|
+
}
|
|
560
|
+
return customInstance({ url: `/g2g-transfer/attachment`, method: 'POST', headers: { 'Content-Type': 'multipart/form-data' }, data: formData }, options);
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* @summary /g2g-transfer/growi-info
|
|
564
|
+
*/
|
|
565
|
+
const getG2gTransferGrowiInfo = (options) => {
|
|
566
|
+
return customInstance({ url: `/g2g-transfer/growi-info`, method: 'GET' }, options);
|
|
567
|
+
};
|
|
568
|
+
/**
|
|
569
|
+
* @summary /g2g-transfer/generate-key
|
|
570
|
+
*/
|
|
571
|
+
const postG2gTransferGenerateKey = (postG2gTransferGenerateKeyBody, options) => {
|
|
572
|
+
return customInstance({ url: `/g2g-transfer/generate-key`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postG2gTransferGenerateKeyBody }, options);
|
|
573
|
+
};
|
|
574
|
+
/**
|
|
575
|
+
* @summary /g2g-transfer/transfer
|
|
576
|
+
*/
|
|
577
|
+
const postG2gTransferTransfer = (postG2gTransferTransferBody, options) => {
|
|
578
|
+
return customInstance({ url: `/g2g-transfer/transfer`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postG2gTransferTransferBody }, options);
|
|
579
|
+
};
|
|
580
|
+
/**
|
|
581
|
+
* Check whether the server is healthy or not
|
|
582
|
+
* @summary /healthcheck
|
|
583
|
+
*/
|
|
584
|
+
const getHealthcheck = (params, options) => {
|
|
585
|
+
return customInstance({ url: `/healthcheck`, method: 'GET', params }, options);
|
|
586
|
+
};
|
|
587
|
+
/**
|
|
588
|
+
* Get import settings params
|
|
589
|
+
* @summary /import
|
|
590
|
+
*/
|
|
591
|
+
const getImport = (options) => {
|
|
592
|
+
return customInstance({ url: `/import`, method: 'GET' }, options);
|
|
593
|
+
};
|
|
594
|
+
/**
|
|
595
|
+
* import a collection from a zipped json
|
|
596
|
+
* @summary /import
|
|
597
|
+
*/
|
|
598
|
+
const postImport = (postImportBody, options) => {
|
|
599
|
+
return customInstance({ url: `/import`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postImportBody }, options);
|
|
600
|
+
};
|
|
601
|
+
/**
|
|
602
|
+
* Get properties of stored zip files for import
|
|
603
|
+
* @summary /import/status
|
|
604
|
+
*/
|
|
605
|
+
const getImportStatus = (options) => {
|
|
606
|
+
return customInstance({ url: `/import/status`, method: 'GET' }, options);
|
|
607
|
+
};
|
|
608
|
+
/**
|
|
609
|
+
* upload a zip file
|
|
610
|
+
* @summary /import/upload
|
|
611
|
+
*/
|
|
612
|
+
const postImportUpload = (postImportUploadBody, options) => {
|
|
613
|
+
const formData = new FormData();
|
|
614
|
+
if (postImportUploadBody.file !== undefined) {
|
|
615
|
+
formData.append(`file`, postImportUploadBody.file);
|
|
616
|
+
}
|
|
617
|
+
return customInstance({ url: `/import/upload`, method: 'POST', headers: { 'Content-Type': 'multipart/form-data' }, data: formData }, options);
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Delete all zip files
|
|
621
|
+
* @summary /import/all
|
|
622
|
+
*/
|
|
623
|
+
const deleteImportAll = (options) => {
|
|
624
|
+
return customInstance({ url: `/import/all`, method: 'DELETE' }, options);
|
|
625
|
+
};
|
|
626
|
+
/**
|
|
627
|
+
* Get the list of in-app notifications
|
|
628
|
+
* @summary /in-app-notification/list
|
|
629
|
+
*/
|
|
630
|
+
const getInAppNotificationList = (params, options) => {
|
|
631
|
+
return customInstance({ url: `/in-app-notification/list`, method: 'GET', params }, options);
|
|
632
|
+
};
|
|
633
|
+
/**
|
|
634
|
+
* Get the status of in-app notifications
|
|
635
|
+
* @summary /in-app-notification/status
|
|
636
|
+
*/
|
|
637
|
+
const getInAppNotificationStatus = (options) => {
|
|
638
|
+
return customInstance({ url: `/in-app-notification/status`, method: 'GET' }, options);
|
|
639
|
+
};
|
|
640
|
+
/**
|
|
641
|
+
* Open the in-app notification
|
|
642
|
+
* @summary /in-app-notification/open
|
|
643
|
+
*/
|
|
644
|
+
const postInAppNotificationOpen = (postInAppNotificationOpenBody, options) => {
|
|
645
|
+
return customInstance({ url: `/in-app-notification/open`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postInAppNotificationOpenBody }, options);
|
|
646
|
+
};
|
|
647
|
+
/**
|
|
648
|
+
* Open all in-app notifications
|
|
649
|
+
* @summary /in-app-notification/all-statuses-open
|
|
650
|
+
*/
|
|
651
|
+
const putInAppNotificationAllStatusesOpen = (options) => {
|
|
652
|
+
return customInstance({ url: `/in-app-notification/all-statuses-open`, method: 'PUT' }, options);
|
|
653
|
+
};
|
|
654
|
+
/**
|
|
655
|
+
* Install GROWI
|
|
656
|
+
* @summary /installer
|
|
657
|
+
*/
|
|
658
|
+
const postInstaller = (postInstallerBody, options) => {
|
|
659
|
+
return customInstance({ url: `/installer`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postInstallerBody }, options);
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* Activate invited user
|
|
663
|
+
* @summary /invited
|
|
664
|
+
*/
|
|
665
|
+
const postInvited = (postInvitedBody, options) => {
|
|
666
|
+
return customInstance({ url: `/invited`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postInvitedBody }, options);
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* Logout the currently authenticated user
|
|
670
|
+
* @summary Logout user
|
|
671
|
+
*/
|
|
672
|
+
const postLogout = (options) => {
|
|
673
|
+
return customInstance({ url: `/logout`, method: 'POST' }, options);
|
|
674
|
+
};
|
|
675
|
+
/**
|
|
676
|
+
* @summary Get markdown parameters
|
|
677
|
+
*/
|
|
678
|
+
const getMarkdownSetting = (options) => {
|
|
679
|
+
return customInstance({ url: `/markdown-setting`, method: 'GET' }, options);
|
|
680
|
+
};
|
|
681
|
+
/**
|
|
682
|
+
* @summary Update lineBreak setting
|
|
683
|
+
*/
|
|
684
|
+
const putMarkdownSettingLineBreak = (lineBreakParams, options) => {
|
|
685
|
+
return customInstance({ url: `/markdown-setting/lineBreak`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: lineBreakParams }, options);
|
|
686
|
+
};
|
|
687
|
+
/**
|
|
688
|
+
* @summary Update indent setting
|
|
689
|
+
*/
|
|
690
|
+
const putMarkdownSettingIndent = (indentParams, options) => {
|
|
691
|
+
return customInstance({ url: `/markdown-setting/indent`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: indentParams }, options);
|
|
692
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* Update xss
|
|
695
|
+
* @summary Update XSS setting
|
|
696
|
+
*/
|
|
697
|
+
const putMarkdownSettingXss = (xssParams, options) => {
|
|
698
|
+
return customInstance({ url: `/markdown-setting/xss`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: xssParams }, options);
|
|
699
|
+
};
|
|
700
|
+
/**
|
|
701
|
+
* get mongodb collections names
|
|
702
|
+
* @summary /mongo/collections
|
|
703
|
+
*/
|
|
704
|
+
const getMongoCollections = (options) => {
|
|
705
|
+
return customInstance({ url: `/mongo/collections`, method: 'GET' }, options);
|
|
706
|
+
};
|
|
707
|
+
/**
|
|
708
|
+
* Get notification paramators
|
|
709
|
+
*/
|
|
710
|
+
const getNotificationSetting = (options) => {
|
|
711
|
+
return customInstance({ url: `/notification-setting/`, method: 'GET' }, options);
|
|
712
|
+
};
|
|
713
|
+
/**
|
|
714
|
+
* add user notification setting
|
|
715
|
+
*/
|
|
716
|
+
const postNotificationSettingUserNotification = (userNotificationParams, options) => {
|
|
717
|
+
return customInstance({ url: `/notification-setting/user-notification`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: userNotificationParams }, options);
|
|
718
|
+
};
|
|
719
|
+
/**
|
|
720
|
+
* delete user trigger notification pattern
|
|
721
|
+
*/
|
|
722
|
+
const deleteNotificationSettingUserNotificationId = (id, options) => {
|
|
723
|
+
return customInstance({ url: `/notification-setting/user-notification/${id}`, method: 'DELETE' }, options);
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* get global notification setting
|
|
727
|
+
*/
|
|
728
|
+
const getNotificationSettingGlobalNotificationId = (id, options) => {
|
|
729
|
+
return customInstance({ url: `/notification-setting/global-notification/${id}`, method: 'GET' }, options);
|
|
730
|
+
};
|
|
731
|
+
/**
|
|
732
|
+
* update global notification
|
|
733
|
+
*/
|
|
734
|
+
const putNotificationSettingGlobalNotificationId = (id, globalNotificationParams, options) => {
|
|
735
|
+
return customInstance({
|
|
736
|
+
url: `/notification-setting/global-notification/${id}`,
|
|
737
|
+
method: 'PUT',
|
|
738
|
+
headers: { 'Content-Type': 'application/json' },
|
|
739
|
+
data: globalNotificationParams,
|
|
740
|
+
}, options);
|
|
741
|
+
};
|
|
742
|
+
/**
|
|
743
|
+
* delete global notification pattern
|
|
744
|
+
*/
|
|
745
|
+
const deleteNotificationSettingGlobalNotificationId = (id, options) => {
|
|
746
|
+
return customInstance({ url: `/notification-setting/global-notification/${id}`, method: 'DELETE' }, options);
|
|
747
|
+
};
|
|
748
|
+
/**
|
|
749
|
+
* add global notification
|
|
750
|
+
*/
|
|
751
|
+
const postNotificationSettingGlobalNotification = (globalNotificationParams, options) => {
|
|
752
|
+
return customInstance({ url: `/notification-setting/global-notification`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: globalNotificationParams }, options);
|
|
753
|
+
};
|
|
754
|
+
/**
|
|
755
|
+
* Update settings for notify for page grant
|
|
756
|
+
*/
|
|
757
|
+
const putNotificationSettingNotifyForPageGrant = (notifyForPageGrant, options) => {
|
|
758
|
+
return customInstance({ url: `/notification-setting/notify-for-page-grant`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: notifyForPageGrant }, options);
|
|
759
|
+
};
|
|
760
|
+
/**
|
|
761
|
+
* toggle enabled global notification
|
|
762
|
+
*/
|
|
763
|
+
const putNotificationSettingGlobalNotificationIdEnabled = (id, putNotificationSettingGlobalNotificationIdEnabledBody, options) => {
|
|
764
|
+
return customInstance({
|
|
765
|
+
url: `/notification-setting/global-notification/${id}/enabled`,
|
|
766
|
+
method: 'PUT',
|
|
767
|
+
headers: { 'Content-Type': 'application/json' },
|
|
768
|
+
data: putNotificationSettingGlobalNotificationIdEnabledBody,
|
|
769
|
+
}, options);
|
|
770
|
+
};
|
|
771
|
+
/**
|
|
772
|
+
* Get the root page
|
|
773
|
+
* @summary /page-listing/root
|
|
774
|
+
*/
|
|
775
|
+
const getPageListingRoot = (options) => {
|
|
776
|
+
return customInstance({ url: `/page-listing/root`, method: 'GET' }, options);
|
|
777
|
+
};
|
|
778
|
+
/**
|
|
779
|
+
* Get the ancestors and children of a page
|
|
780
|
+
* @summary /page-listing/ancestors-children
|
|
781
|
+
*/
|
|
782
|
+
const getPageListingAncestorsChildren = (params, options) => {
|
|
783
|
+
return customInstance({ url: `/page-listing/ancestors-children`, method: 'GET', params }, options);
|
|
784
|
+
};
|
|
785
|
+
/**
|
|
786
|
+
* Get the children of a page
|
|
787
|
+
* @summary /page-listing/children
|
|
788
|
+
*/
|
|
789
|
+
const getPageListingChildren = (params, options) => {
|
|
790
|
+
return customInstance({ url: `/page-listing/children`, method: 'GET', params }, options);
|
|
791
|
+
};
|
|
792
|
+
/**
|
|
793
|
+
* Get the information of a page
|
|
794
|
+
* @summary /page-listing/info
|
|
795
|
+
*/
|
|
796
|
+
const getPageListingInfo = (params, options) => {
|
|
797
|
+
return customInstance({ url: `/page-listing/info`, method: 'GET', params }, options);
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* get page by pagePath or pageId
|
|
801
|
+
* @summary Get page
|
|
802
|
+
*/
|
|
803
|
+
const getPage = (params, options) => {
|
|
804
|
+
return customInstance({ url: `/page`, method: 'GET', params }, options);
|
|
805
|
+
};
|
|
806
|
+
/**
|
|
807
|
+
* Create page
|
|
808
|
+
* @summary Create page
|
|
809
|
+
*/
|
|
810
|
+
const postPage = (postPageBody, options) => {
|
|
811
|
+
return customInstance({ url: `/page`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPageBody }, options);
|
|
812
|
+
};
|
|
813
|
+
/**
|
|
814
|
+
* Update page
|
|
815
|
+
*/
|
|
816
|
+
const putPage = (putPageBody, options) => {
|
|
817
|
+
return customInstance({ url: `/page`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPageBody }, options);
|
|
818
|
+
};
|
|
819
|
+
/**
|
|
820
|
+
* Check if a page exists at the specified path
|
|
821
|
+
* @summary Check if page exists
|
|
822
|
+
*/
|
|
823
|
+
const getPageExist = (params, options) => {
|
|
824
|
+
return customInstance({ url: `/page/exist`, method: 'GET', params }, options);
|
|
825
|
+
};
|
|
826
|
+
/**
|
|
827
|
+
* Update liked status
|
|
828
|
+
* @summary Get page likes
|
|
829
|
+
*/
|
|
830
|
+
const putPageLikes = (likeParams, options) => {
|
|
831
|
+
return customInstance({ url: `/page/likes`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: likeParams }, options);
|
|
832
|
+
};
|
|
833
|
+
/**
|
|
834
|
+
* Retrieve current page info
|
|
835
|
+
* @summary Get page info
|
|
836
|
+
*/
|
|
837
|
+
const getPageInfo = (pageParams, options) => {
|
|
838
|
+
return customInstance({ url: `/page/info`, method: 'GET', headers: { 'Content-Type': 'application/json' } }, options);
|
|
839
|
+
};
|
|
840
|
+
/**
|
|
841
|
+
* Retrieve current page's grant data
|
|
842
|
+
* @summary Get page grant data
|
|
843
|
+
*/
|
|
844
|
+
const getPageGrantData = (params, options) => {
|
|
845
|
+
return customInstance({ url: `/page/grant-data`, method: 'GET', params }, options);
|
|
846
|
+
};
|
|
847
|
+
/**
|
|
848
|
+
* Check if non-user related groups are granted access to a specific page or its closest ancestor
|
|
849
|
+
* @summary Check if non-user related groups are granted page access
|
|
850
|
+
*/
|
|
851
|
+
const getPageNonUserRelatedGroupsGranted = (params, options) => {
|
|
852
|
+
return customInstance({ url: `/page/non-user-related-groups-granted`, method: 'GET', params }, options);
|
|
853
|
+
};
|
|
854
|
+
/**
|
|
855
|
+
* Retrieve applicable grant data for a specific page
|
|
856
|
+
* @summary Get applicable grant data
|
|
857
|
+
*/
|
|
858
|
+
const getPageApplicableGrant = (params, options) => {
|
|
859
|
+
return customInstance({ url: `/page/applicable-grant`, method: 'GET', params }, options);
|
|
860
|
+
};
|
|
861
|
+
/**
|
|
862
|
+
* Update the grant of a specific page
|
|
863
|
+
* @summary Update page grant
|
|
864
|
+
*/
|
|
865
|
+
const putPageIdGrant = (pageId, putPageIdGrantBody, options) => {
|
|
866
|
+
return customInstance({ url: `/${pageId}/grant`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPageIdGrantBody }, options);
|
|
867
|
+
};
|
|
868
|
+
/**
|
|
869
|
+
* return page's markdown
|
|
870
|
+
*/
|
|
871
|
+
const getPageExportPageId = (pageId, options) => {
|
|
872
|
+
return customInstance({ url: `/page/export/${pageId}`, method: 'GET' }, options);
|
|
873
|
+
};
|
|
874
|
+
/**
|
|
875
|
+
* Get already exist paths
|
|
876
|
+
* @summary Get already exist paths
|
|
877
|
+
*/
|
|
878
|
+
const getPageExistPaths = (params, options) => {
|
|
879
|
+
return customInstance({ url: `/page/exist-paths`, method: 'GET', params }, options);
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* Update subscription status
|
|
883
|
+
* @summary Update subscription status
|
|
884
|
+
*/
|
|
885
|
+
const putPageSubscribe = (putPageSubscribeBody, options) => {
|
|
886
|
+
return customInstance({ url: `/page/subscribe`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPageSubscribeBody }, options);
|
|
887
|
+
};
|
|
888
|
+
/**
|
|
889
|
+
* Update the content width setting for a specific page
|
|
890
|
+
* @summary Update content width
|
|
891
|
+
*/
|
|
892
|
+
const putPageIdContentWidth = (pageId, putPageIdContentWidthBody, options) => {
|
|
893
|
+
return customInstance({ url: `/${pageId}/content-width`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPageIdContentWidthBody }, options);
|
|
894
|
+
};
|
|
895
|
+
/**
|
|
896
|
+
* Publish a specific page
|
|
897
|
+
* @summary Publish page
|
|
898
|
+
*/
|
|
899
|
+
const putPageIdPublish = (pageId, options) => {
|
|
900
|
+
return customInstance({ url: `/${pageId}/publish`, method: 'PUT' }, options);
|
|
901
|
+
};
|
|
902
|
+
/**
|
|
903
|
+
* Unpublish a specific page
|
|
904
|
+
* @summary Unpublish page
|
|
905
|
+
*/
|
|
906
|
+
const putPageIdUnpublish = (pageId, options) => {
|
|
907
|
+
return customInstance({ url: `/${pageId}/unpublish`, method: 'PUT' }, options);
|
|
908
|
+
};
|
|
909
|
+
/**
|
|
910
|
+
* Retrieve Yjs data for a specific page
|
|
911
|
+
* @summary Get Yjs data
|
|
912
|
+
*/
|
|
913
|
+
const getPageIdYjsData = (pageId, options) => {
|
|
914
|
+
return customInstance({ url: `/${pageId}/yjs-data`, method: 'GET' }, options);
|
|
915
|
+
};
|
|
916
|
+
/**
|
|
917
|
+
* Sync the latest revision body to the Yjs draft for a specific page
|
|
918
|
+
* @summary Sync latest revision body to Yjs draft
|
|
919
|
+
*/
|
|
920
|
+
const putPageIdSyncLatestRevisionBodyToYjsDraft = (pageId, putPageIdSyncLatestRevisionBodyToYjsDraftBody, options) => {
|
|
921
|
+
return customInstance({
|
|
922
|
+
url: `/${pageId}/sync-latest-revision-body-to-yjs-draft`,
|
|
923
|
+
method: 'PUT',
|
|
924
|
+
headers: { 'Content-Type': 'application/json' },
|
|
925
|
+
data: putPageIdSyncLatestRevisionBodyToYjsDraftBody,
|
|
926
|
+
}, options);
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* Get recently updated pages
|
|
930
|
+
*/
|
|
931
|
+
const getPagesRecent = (params, options) => {
|
|
932
|
+
return customInstance({ url: `/pages/recent`, method: 'GET', params }, options);
|
|
933
|
+
};
|
|
934
|
+
/**
|
|
935
|
+
* Rename page
|
|
936
|
+
*/
|
|
937
|
+
const postPagesRename = (postPagesRenameBody, options) => {
|
|
938
|
+
return customInstance({ url: `/pages/rename`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesRenameBody }, options);
|
|
939
|
+
};
|
|
940
|
+
/**
|
|
941
|
+
* Resume rename page operation
|
|
942
|
+
*/
|
|
943
|
+
const postPagesResumeRename = (postPagesResumeRenameBody, options) => {
|
|
944
|
+
return customInstance({ url: `/pages/resume-rename`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesResumeRenameBody }, options);
|
|
945
|
+
};
|
|
946
|
+
/**
|
|
947
|
+
* empty trash
|
|
948
|
+
*/
|
|
949
|
+
const deletePagesEmptyTrash = (options) => {
|
|
950
|
+
return customInstance({ url: `/pages/empty-trash`, method: 'DELETE' }, options);
|
|
951
|
+
};
|
|
952
|
+
/**
|
|
953
|
+
* Get list of pages
|
|
954
|
+
*/
|
|
955
|
+
const getPagesList = (params, options) => {
|
|
956
|
+
return customInstance({ url: `/pages/list`, method: 'GET', params }, options);
|
|
957
|
+
};
|
|
958
|
+
/**
|
|
959
|
+
* Duplicate page
|
|
960
|
+
*/
|
|
961
|
+
const postPagesDuplicate = (postPagesDuplicateBody, options) => {
|
|
962
|
+
return customInstance({ url: `/pages/duplicate`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesDuplicateBody }, options);
|
|
963
|
+
};
|
|
964
|
+
/**
|
|
965
|
+
* Get subordinated pages
|
|
966
|
+
*/
|
|
967
|
+
const getPagesSubordinatedList = (params, options) => {
|
|
968
|
+
return customInstance({ url: `/pages/subordinated-list`, method: 'GET', params }, options);
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* Delete pages
|
|
972
|
+
*/
|
|
973
|
+
const postPagesDelete = (postPagesDeleteBody, options) => {
|
|
974
|
+
return customInstance({ url: `/pages/delete`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesDeleteBody }, options);
|
|
975
|
+
};
|
|
976
|
+
/**
|
|
977
|
+
* Convert pages by path
|
|
978
|
+
*/
|
|
979
|
+
const postPagesConvertPagesByPath = (postPagesConvertPagesByPathBody, options) => {
|
|
980
|
+
return customInstance({ url: `/pages/convert-pages-by-path`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesConvertPagesByPathBody }, options);
|
|
981
|
+
};
|
|
982
|
+
/**
|
|
983
|
+
* Migrate legacy pages
|
|
984
|
+
*/
|
|
985
|
+
const postPagesLegacyPagesMigration = (postPagesLegacyPagesMigrationBody, options) => {
|
|
986
|
+
return customInstance({ url: `/pages/legacy-pages-migration`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesLegacyPagesMigrationBody }, options);
|
|
987
|
+
};
|
|
988
|
+
/**
|
|
989
|
+
* Get V5 migration status
|
|
990
|
+
*/
|
|
991
|
+
const getPagesV5MigrationStatus = (options) => {
|
|
992
|
+
return customInstance({ url: `/pages/v5-migration-status`, method: 'GET' }, options);
|
|
993
|
+
};
|
|
994
|
+
/**
|
|
995
|
+
* Get personal parameters
|
|
996
|
+
* @summary /personal-setting
|
|
997
|
+
*/
|
|
998
|
+
const getPersonalSetting = (options) => {
|
|
999
|
+
return customInstance({ url: `/personal-setting`, method: 'GET' }, options);
|
|
1000
|
+
};
|
|
1001
|
+
/**
|
|
1002
|
+
* Update personal setting
|
|
1003
|
+
* @summary /personal-setting
|
|
1004
|
+
*/
|
|
1005
|
+
const putPersonalSetting = (personalSettings, options) => {
|
|
1006
|
+
return customInstance({ url: `/personal-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: personalSettings }, options);
|
|
1007
|
+
};
|
|
1008
|
+
/**
|
|
1009
|
+
* Get whether a password has been set
|
|
1010
|
+
* @summary /personal-setting
|
|
1011
|
+
*/
|
|
1012
|
+
const getPersonalSettingIsPasswordSet = (options) => {
|
|
1013
|
+
return customInstance({ url: `/personal-setting/is-password-set`, method: 'GET' }, options);
|
|
1014
|
+
};
|
|
1015
|
+
/**
|
|
1016
|
+
* Update user image type
|
|
1017
|
+
* @summary /personal-setting/image-type
|
|
1018
|
+
*/
|
|
1019
|
+
const putPersonalSettingImageType = (putPersonalSettingImageTypeBody, options) => {
|
|
1020
|
+
return customInstance({ url: `/personal-setting/image-type`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPersonalSettingImageTypeBody }, options);
|
|
1021
|
+
};
|
|
1022
|
+
/**
|
|
1023
|
+
* Get external accounts that linked current user
|
|
1024
|
+
* @summary /personal-setting/external-accounts
|
|
1025
|
+
*/
|
|
1026
|
+
const getPersonalSettingExternalAccounts = (options) => {
|
|
1027
|
+
return customInstance({ url: `/personal-setting/external-accounts`, method: 'GET' }, options);
|
|
1028
|
+
};
|
|
1029
|
+
/**
|
|
1030
|
+
* Update user password
|
|
1031
|
+
* @summary /personal-setting/password
|
|
1032
|
+
*/
|
|
1033
|
+
const putPersonalSettingPassword = (putPersonalSettingPasswordBody, options) => {
|
|
1034
|
+
return customInstance({ url: `/personal-setting/password`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPersonalSettingPasswordBody }, options);
|
|
1035
|
+
};
|
|
1036
|
+
/**
|
|
1037
|
+
* Update user api token
|
|
1038
|
+
* @summary /personal-setting/api-token
|
|
1039
|
+
*/
|
|
1040
|
+
const putPersonalSettingApiToken = (options) => {
|
|
1041
|
+
return customInstance({ url: `/personal-setting/api-token`, method: 'PUT' }, options);
|
|
1042
|
+
};
|
|
1043
|
+
/**
|
|
1044
|
+
* associate Ldap account
|
|
1045
|
+
* @summary /personal-setting/associate-ldap
|
|
1046
|
+
*/
|
|
1047
|
+
const putPersonalSettingAssociateLdap = (putPersonalSettingAssociateLdapBody, options) => {
|
|
1048
|
+
return customInstance({ url: `/personal-setting/associate-ldap`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPersonalSettingAssociateLdapBody }, options);
|
|
1049
|
+
};
|
|
1050
|
+
/**
|
|
1051
|
+
* disassociate Ldap account
|
|
1052
|
+
* @summary /personal-setting/disassociate-ldap
|
|
1053
|
+
*/
|
|
1054
|
+
const putPersonalSettingDisassociateLdap = (disassociateUser, options) => {
|
|
1055
|
+
return customInstance({ url: `/personal-setting/disassociate-ldap`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: disassociateUser }, options);
|
|
1056
|
+
};
|
|
1057
|
+
/**
|
|
1058
|
+
* Put editor preferences
|
|
1059
|
+
* @summary /personal-setting/editor-settings
|
|
1060
|
+
*/
|
|
1061
|
+
const putPersonalSettingEditorSettings = (putPersonalSettingEditorSettingsBody, options) => {
|
|
1062
|
+
return customInstance({ url: `/personal-setting/editor-settings`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPersonalSettingEditorSettingsBody }, options);
|
|
1063
|
+
};
|
|
1064
|
+
/**
|
|
1065
|
+
* Get editor preferences
|
|
1066
|
+
* @summary /personal-setting/editor-settings
|
|
1067
|
+
*/
|
|
1068
|
+
const getPersonalSettingEditorSettings = (options) => {
|
|
1069
|
+
return customInstance({ url: `/personal-setting/editor-settings`, method: 'GET' }, options);
|
|
1070
|
+
};
|
|
1071
|
+
/**
|
|
1072
|
+
* Put InAppNotificationSettings
|
|
1073
|
+
* @summary /personal-setting/in-app-notification-settings
|
|
1074
|
+
*/
|
|
1075
|
+
const putPersonalSettingInAppNotificationSettings = (putPersonalSettingInAppNotificationSettingsBody, options) => {
|
|
1076
|
+
return customInstance({
|
|
1077
|
+
url: `/personal-setting/in-app-notification-settings`,
|
|
1078
|
+
method: 'PUT',
|
|
1079
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1080
|
+
data: putPersonalSettingInAppNotificationSettingsBody,
|
|
1081
|
+
}, options);
|
|
1082
|
+
};
|
|
1083
|
+
/**
|
|
1084
|
+
* Get InAppNotificationSettings
|
|
1085
|
+
* @summary personal-setting/in-app-notification-settings
|
|
1086
|
+
*/
|
|
1087
|
+
const getPersonalSettingInAppNotificationSettings = (options) => {
|
|
1088
|
+
return customInstance({ url: `/personal-setting/in-app-notification-settings`, method: 'GET' }, options);
|
|
1089
|
+
};
|
|
1090
|
+
/**
|
|
1091
|
+
* Update the questionnaire settings for the current user
|
|
1092
|
+
* @summary /personal-setting/questionnaire-settings
|
|
1093
|
+
*/
|
|
1094
|
+
const putPersonalSettingQuestionnaireSettings = (putPersonalSettingQuestionnaireSettingsBody, options) => {
|
|
1095
|
+
return customInstance({
|
|
1096
|
+
url: `/personal-setting/questionnaire-settings`,
|
|
1097
|
+
method: 'PUT',
|
|
1098
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1099
|
+
data: putPersonalSettingQuestionnaireSettingsBody,
|
|
1100
|
+
}, options);
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* Get revisions by page id
|
|
1104
|
+
*/
|
|
1105
|
+
const getRevisionsList = (params, options) => {
|
|
1106
|
+
return customInstance({ url: `/revisions/list`, method: 'GET', params }, options);
|
|
1107
|
+
};
|
|
1108
|
+
/**
|
|
1109
|
+
* Get one revision by id
|
|
1110
|
+
*/
|
|
1111
|
+
const getRevisionsId = (id, params, options) => {
|
|
1112
|
+
return customInstance({ url: `/revisions/${id}`, method: 'GET', params }, options);
|
|
1113
|
+
};
|
|
1114
|
+
/**
|
|
1115
|
+
* Get current status of indices
|
|
1116
|
+
* @summary /search/indices
|
|
1117
|
+
*/
|
|
1118
|
+
const getSearchIndices = (options) => {
|
|
1119
|
+
return customInstance({ url: `/search/indices`, method: 'GET' }, options);
|
|
1120
|
+
};
|
|
1121
|
+
/**
|
|
1122
|
+
* Operate indices
|
|
1123
|
+
* @summary /search/indices
|
|
1124
|
+
*/
|
|
1125
|
+
const putSearchIndices = (putSearchIndicesBody, options) => {
|
|
1126
|
+
return customInstance({ url: `/search/indices`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putSearchIndicesBody }, options);
|
|
1127
|
+
};
|
|
1128
|
+
/**
|
|
1129
|
+
* Reconnect to Elasticsearch
|
|
1130
|
+
* @summary /search/connection
|
|
1131
|
+
*/
|
|
1132
|
+
const postSearchConnection = (options) => {
|
|
1133
|
+
return customInstance({ url: `/search/connection`, method: 'POST' }, options);
|
|
1134
|
+
};
|
|
1135
|
+
/**
|
|
1136
|
+
* Get security paramators
|
|
1137
|
+
*/
|
|
1138
|
+
const getSecuritySetting = (options) => {
|
|
1139
|
+
return customInstance({ url: `/security-setting/`, method: 'GET' }, options);
|
|
1140
|
+
};
|
|
1141
|
+
/**
|
|
1142
|
+
* Update authentication isEnabled
|
|
1143
|
+
*/
|
|
1144
|
+
const putSecuritySettingAuthenticationEnabled = (putSecuritySettingAuthenticationEnabledBody, options) => {
|
|
1145
|
+
return customInstance({
|
|
1146
|
+
url: `/security-setting/authentication/enabled`,
|
|
1147
|
+
method: 'PUT',
|
|
1148
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1149
|
+
data: putSecuritySettingAuthenticationEnabledBody,
|
|
1150
|
+
}, options);
|
|
1151
|
+
};
|
|
1152
|
+
/**
|
|
1153
|
+
* Get setup strategies for passport
|
|
1154
|
+
* @summary /security-setting/authentication
|
|
1155
|
+
*/
|
|
1156
|
+
const getSecuritySettingAuthentication = (options) => {
|
|
1157
|
+
return customInstance({ url: `/security-setting/authentication`, method: 'GET' }, options);
|
|
1158
|
+
};
|
|
1159
|
+
/**
|
|
1160
|
+
* Update GeneralSetting
|
|
1161
|
+
* @summary /security-setting/general-setting
|
|
1162
|
+
*/
|
|
1163
|
+
const putSecuritySettingGeneralSetting = (generalSetting, options) => {
|
|
1164
|
+
return customInstance({ url: `/security-setting/general-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: generalSetting }, options);
|
|
1165
|
+
};
|
|
1166
|
+
/**
|
|
1167
|
+
* Update ShareLink Setting
|
|
1168
|
+
* @summary /security-setting/share-link-setting
|
|
1169
|
+
*/
|
|
1170
|
+
const putSecuritySettingShareLinkSetting = (shareLinkSetting, options) => {
|
|
1171
|
+
return customInstance({ url: `/security-setting/share-link-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: shareLinkSetting }, options);
|
|
1172
|
+
};
|
|
1173
|
+
/**
|
|
1174
|
+
* Get All ShareLinks at Share Link Setting
|
|
1175
|
+
* @summary /security-setting/all-share-links
|
|
1176
|
+
*/
|
|
1177
|
+
const getSecuritySettingAllShareLinks = (options) => {
|
|
1178
|
+
return customInstance({ url: `/security-setting/all-share-links`, method: 'GET' }, options);
|
|
1179
|
+
};
|
|
1180
|
+
/**
|
|
1181
|
+
* Delete All ShareLinks at Share Link Setting
|
|
1182
|
+
* @summary /security-setting/all-share-links
|
|
1183
|
+
*/
|
|
1184
|
+
const deleteSecuritySettingAllShareLinks = (options) => {
|
|
1185
|
+
return customInstance({ url: `/security-setting/all-share-links`, method: 'DELETE' }, options);
|
|
1186
|
+
};
|
|
1187
|
+
/**
|
|
1188
|
+
* Update LocalSetting
|
|
1189
|
+
* @summary /security-setting/local-setting
|
|
1190
|
+
*/
|
|
1191
|
+
const putSecuritySettingLocalSetting = (localSetting, options) => {
|
|
1192
|
+
return customInstance({ url: `/security-setting/local-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: localSetting }, options);
|
|
1193
|
+
};
|
|
1194
|
+
/**
|
|
1195
|
+
* Update LDAP setting
|
|
1196
|
+
* @summary /security-setting/ldap
|
|
1197
|
+
*/
|
|
1198
|
+
const putSecuritySettingLdap = (ldapAuthSetting, options) => {
|
|
1199
|
+
return customInstance({ url: `/security-setting/ldap`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: ldapAuthSetting }, options);
|
|
1200
|
+
};
|
|
1201
|
+
/**
|
|
1202
|
+
* Update SAML setting
|
|
1203
|
+
* @summary /security-setting/saml
|
|
1204
|
+
*/
|
|
1205
|
+
const putSecuritySettingSaml = (samlAuthSetting, options) => {
|
|
1206
|
+
return customInstance({ url: `/security-setting/saml`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: samlAuthSetting }, options);
|
|
1207
|
+
};
|
|
1208
|
+
/**
|
|
1209
|
+
* Update OpenID Connect setting
|
|
1210
|
+
* @summary /security-setting/oidc
|
|
1211
|
+
*/
|
|
1212
|
+
const putSecuritySettingOidc = (oidcAuthSetting, options) => {
|
|
1213
|
+
return customInstance({ url: `/security-setting/oidc`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: oidcAuthSetting }, options);
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* Update google OAuth
|
|
1217
|
+
* @summary /security-setting/google-oauth
|
|
1218
|
+
*/
|
|
1219
|
+
const putSecuritySettingGoogleOauth = (googleOAuthSetting, options) => {
|
|
1220
|
+
return customInstance({ url: `/security-setting/google-oauth`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: googleOAuthSetting }, options);
|
|
1221
|
+
};
|
|
1222
|
+
/**
|
|
1223
|
+
* Update github OAuth
|
|
1224
|
+
* @summary /security-setting/github-oauth
|
|
1225
|
+
*/
|
|
1226
|
+
const putSecuritySettingGithubOauth = (gitHubOAuthSetting, options) => {
|
|
1227
|
+
return customInstance({ url: `/security-setting/github-oauth`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: gitHubOAuthSetting }, options);
|
|
1228
|
+
};
|
|
1229
|
+
/**
|
|
1230
|
+
* get share links
|
|
1231
|
+
*/
|
|
1232
|
+
const getShareLinks = (params, options) => {
|
|
1233
|
+
return customInstance({ url: `/share-links/`, method: 'GET', params }, options);
|
|
1234
|
+
};
|
|
1235
|
+
/**
|
|
1236
|
+
* Create new share link
|
|
1237
|
+
*/
|
|
1238
|
+
const postShareLinks = (params, options) => {
|
|
1239
|
+
return customInstance({ url: `/share-links/`, method: 'POST', params }, options);
|
|
1240
|
+
};
|
|
1241
|
+
/**
|
|
1242
|
+
* delete all share links related one page
|
|
1243
|
+
* @summary delete all share links related one page
|
|
1244
|
+
*/
|
|
1245
|
+
const deleteShareLinks = (params, options) => {
|
|
1246
|
+
return customInstance({ url: `/share-links/`, method: 'DELETE', params }, options);
|
|
1247
|
+
};
|
|
1248
|
+
/**
|
|
1249
|
+
* delete all share links
|
|
1250
|
+
* @summary delete all share links
|
|
1251
|
+
*/
|
|
1252
|
+
const deleteShareLinksAll = (options) => {
|
|
1253
|
+
return customInstance({ url: `/share-links/all`, method: 'DELETE' }, options);
|
|
1254
|
+
};
|
|
1255
|
+
/**
|
|
1256
|
+
* delete one share link related one page
|
|
1257
|
+
*/
|
|
1258
|
+
const deleteShareLinksId = (id, options) => {
|
|
1259
|
+
return customInstance({ url: `/share-links/${id}`, method: 'DELETE' }, options);
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Get slack configuration setting
|
|
1263
|
+
*/
|
|
1264
|
+
const getSlackIntegrationLegacySetting = (options) => {
|
|
1265
|
+
return customInstance({ url: `/slack-integration-legacy-setting/`, method: 'GET' }, options);
|
|
1266
|
+
};
|
|
1267
|
+
/**
|
|
1268
|
+
* Update slack configuration setting
|
|
1269
|
+
*/
|
|
1270
|
+
const putSlackIntegrationLegacySetting = (putSlackIntegrationLegacySettingBody, options) => {
|
|
1271
|
+
return customInstance({ url: `/slack-integration-legacy-setting/`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putSlackIntegrationLegacySettingBody }, options);
|
|
1272
|
+
};
|
|
1273
|
+
/**
|
|
1274
|
+
* Get current settings and connection statuses.
|
|
1275
|
+
* @summary /slack-integration-settings
|
|
1276
|
+
*/
|
|
1277
|
+
const getSlackIntegrationSettings = (options) => {
|
|
1278
|
+
return customInstance({ url: `/slack-integration-settings/`, method: 'GET' }, options);
|
|
1279
|
+
};
|
|
1280
|
+
/**
|
|
1281
|
+
* Put botType setting.
|
|
1282
|
+
* @summary /slack-integration/bot-type
|
|
1283
|
+
*/
|
|
1284
|
+
const putSlackIntegrationSettingsBotType = (botType, options) => {
|
|
1285
|
+
return customInstance({ url: `/slack-integration-settings/bot-type/`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: botType }, options);
|
|
1286
|
+
};
|
|
1287
|
+
/**
|
|
1288
|
+
* Delete botType setting.
|
|
1289
|
+
* @summary /slack-integration/bot-type
|
|
1290
|
+
*/
|
|
1291
|
+
const deleteSlackIntegrationBotType = (botType, options) => {
|
|
1292
|
+
return customInstance({ url: `/slack-integration/bot-type/`, method: 'DELETE', headers: { 'Content-Type': 'application/json' }, data: botType }, options);
|
|
1293
|
+
};
|
|
1294
|
+
/**
|
|
1295
|
+
* Update customBotWithoutProxy setting.
|
|
1296
|
+
* @summary /slack-integration-settings/without-proxy/update-settings
|
|
1297
|
+
*/
|
|
1298
|
+
const putSlackIntegrationSettingsWithoutProxyUpdateSettings = (putSlackIntegrationSettingsWithoutProxyUpdateSettingsBody, options) => {
|
|
1299
|
+
return customInstance({
|
|
1300
|
+
url: `/slack-integration-settings/without-proxy/update-settings/`,
|
|
1301
|
+
method: 'PUT',
|
|
1302
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1303
|
+
data: putSlackIntegrationSettingsWithoutProxyUpdateSettingsBody,
|
|
1304
|
+
}, options);
|
|
1305
|
+
};
|
|
1306
|
+
/**
|
|
1307
|
+
* Update customBotWithoutProxy permissions.
|
|
1308
|
+
* @summary /slack-integration-settings/without-proxy/update-permissions
|
|
1309
|
+
*/
|
|
1310
|
+
const putSlackIntegrationSettingsWithoutProxyUpdatePermissions = (putSlackIntegrationSettingsWithoutProxyUpdatePermissionsBody, options) => {
|
|
1311
|
+
return customInstance({
|
|
1312
|
+
url: `/slack-integration-settings/without-proxy/update-permissions/`,
|
|
1313
|
+
method: 'PUT',
|
|
1314
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1315
|
+
data: putSlackIntegrationSettingsWithoutProxyUpdatePermissionsBody,
|
|
1316
|
+
}, options);
|
|
1317
|
+
};
|
|
1318
|
+
/**
|
|
1319
|
+
* Generate SlackAppIntegrations
|
|
1320
|
+
* @summary /slack-integration-settings/slack-app-integrations
|
|
1321
|
+
*/
|
|
1322
|
+
const postSlackIntegrationSettingsSlackAppIntegrations = (options) => {
|
|
1323
|
+
return customInstance({ url: `/slack-integration-settings/slack-app-integrations`, method: 'POST' }, options);
|
|
1324
|
+
};
|
|
1325
|
+
/**
|
|
1326
|
+
* Delete accessTokens
|
|
1327
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id
|
|
1328
|
+
*/
|
|
1329
|
+
const deleteSlackIntegrationSettingsSlackAppIntegrationsId = (id, options) => {
|
|
1330
|
+
return customInstance({ url: `/slack-integration-settings/slack-app-integrations/${id}`, method: 'DELETE' }, options);
|
|
1331
|
+
};
|
|
1332
|
+
/**
|
|
1333
|
+
* Update proxy uri
|
|
1334
|
+
* @summary /slack-integration-settings/proxy-uri
|
|
1335
|
+
*/
|
|
1336
|
+
const putSlackIntegrationSettingsProxyUri = (putSlackIntegrationSettingsProxyUriBody, options) => {
|
|
1337
|
+
return customInstance({
|
|
1338
|
+
url: `/slack-integration-settings/proxy-uri`,
|
|
1339
|
+
method: 'PUT',
|
|
1340
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1341
|
+
data: putSlackIntegrationSettingsProxyUriBody,
|
|
1342
|
+
}, options);
|
|
1343
|
+
};
|
|
1344
|
+
/**
|
|
1345
|
+
* Make SlackAppTokens primary
|
|
1346
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id/makeprimary
|
|
1347
|
+
*/
|
|
1348
|
+
const putSlackIntegrationSettingsSlackAppIntegrationsIdMakeprimary = (id, options) => {
|
|
1349
|
+
return customInstance({ url: `/slack-integration-settings/slack-app-integrations/${id}/makeprimary`, method: 'PUT' }, options);
|
|
1350
|
+
};
|
|
1351
|
+
/**
|
|
1352
|
+
* Regenerate SlackAppTokens
|
|
1353
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id/regenerate-tokens
|
|
1354
|
+
*/
|
|
1355
|
+
const putSlackIntegrationSettingsSlackAppIntegrationsIdRegenerateTokens = (id, options) => {
|
|
1356
|
+
return customInstance({ url: `/slack-integration-settings/slack-app-integrations/${id}/regenerate-tokens`, method: 'PUT' }, options);
|
|
1357
|
+
};
|
|
1358
|
+
/**
|
|
1359
|
+
* update supported commands
|
|
1360
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id/permissions
|
|
1361
|
+
*/
|
|
1362
|
+
const putSlackIntegrationSettingsSlackAppIntegrationsIdPermissions = (id, putSlackIntegrationSettingsSlackAppIntegrationsIdPermissionsBody, options) => {
|
|
1363
|
+
return customInstance({
|
|
1364
|
+
url: `/slack-integration-settings/slack-app-integrations/${id}/permissions`,
|
|
1365
|
+
method: 'PUT',
|
|
1366
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1367
|
+
data: putSlackIntegrationSettingsSlackAppIntegrationsIdPermissionsBody,
|
|
1368
|
+
}, options);
|
|
1369
|
+
};
|
|
1370
|
+
/**
|
|
1371
|
+
* Delete botType setting.
|
|
1372
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id/relation-test
|
|
1373
|
+
*/
|
|
1374
|
+
const postSlackIntegrationSettingsSlackAppIntegrationsIdRelationTest = (id, postSlackIntegrationSettingsSlackAppIntegrationsIdRelationTestBody, options) => {
|
|
1375
|
+
return customInstance({
|
|
1376
|
+
url: `/slack-integration-settings/slack-app-integrations/${id}/relation-test`,
|
|
1377
|
+
method: 'POST',
|
|
1378
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1379
|
+
data: postSlackIntegrationSettingsSlackAppIntegrationsIdRelationTestBody,
|
|
1380
|
+
}, options);
|
|
1381
|
+
};
|
|
1382
|
+
/**
|
|
1383
|
+
* Test the connection with slack work space.
|
|
1384
|
+
* @summary /slack-integration-settings/without-proxy/test
|
|
1385
|
+
*/
|
|
1386
|
+
const postSlackIntegrationSettingsWithoutProxyTest = (postSlackIntegrationSettingsWithoutProxyTestBody, options) => {
|
|
1387
|
+
return customInstance({
|
|
1388
|
+
url: `/slack-integration-settings/without-proxy/test`,
|
|
1389
|
+
method: 'POST',
|
|
1390
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1391
|
+
data: postSlackIntegrationSettingsWithoutProxyTestBody,
|
|
1392
|
+
}, options);
|
|
1393
|
+
};
|
|
1394
|
+
/**
|
|
1395
|
+
* Handle Slack commands
|
|
1396
|
+
* @summary /slack-integration/commands
|
|
1397
|
+
*/
|
|
1398
|
+
const postSlackIntegrationCommands = (postSlackIntegrationCommandsBody, options) => {
|
|
1399
|
+
return customInstance({ url: `/slack-integration/commands`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postSlackIntegrationCommandsBody }, options);
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* Verify the access token
|
|
1403
|
+
* @summary /slack-integration/proxied/verify
|
|
1404
|
+
*/
|
|
1405
|
+
const postSlackIntegrationProxiedVerify = (postSlackIntegrationProxiedVerifyBody, options) => {
|
|
1406
|
+
return customInstance({
|
|
1407
|
+
url: `/slack-integration/proxied/verify`,
|
|
1408
|
+
method: 'POST',
|
|
1409
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1410
|
+
data: postSlackIntegrationProxiedVerifyBody,
|
|
1411
|
+
}, options);
|
|
1412
|
+
};
|
|
1413
|
+
/**
|
|
1414
|
+
* Handle Slack commands
|
|
1415
|
+
* @summary /slack-integration/proxied/commands
|
|
1416
|
+
*/
|
|
1417
|
+
const postSlackIntegrationProxiedCommands = (postSlackIntegrationProxiedCommandsBody, options) => {
|
|
1418
|
+
return customInstance({
|
|
1419
|
+
url: `/slack-integration/proxied/commands`,
|
|
1420
|
+
method: 'POST',
|
|
1421
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1422
|
+
data: postSlackIntegrationProxiedCommandsBody,
|
|
1423
|
+
}, options);
|
|
1424
|
+
};
|
|
1425
|
+
/**
|
|
1426
|
+
* Handle Slack interactions
|
|
1427
|
+
* @summary /slack-integration/interactions
|
|
1428
|
+
*/
|
|
1429
|
+
const postSlackIntegrationInteractions = (postSlackIntegrationInteractionsBody, options) => {
|
|
1430
|
+
return customInstance({ url: `/slack-integration/interactions`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postSlackIntegrationInteractionsBody }, options);
|
|
1431
|
+
};
|
|
1432
|
+
/**
|
|
1433
|
+
* Handle Slack interactions
|
|
1434
|
+
* @summary /slack-integration/proxied/interactions
|
|
1435
|
+
*/
|
|
1436
|
+
const postSlackIntegrationProxiedInteractions = (postSlackIntegrationProxiedInteractionsBody, options) => {
|
|
1437
|
+
return customInstance({
|
|
1438
|
+
url: `/slack-integration/proxied/interactions`,
|
|
1439
|
+
method: 'POST',
|
|
1440
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1441
|
+
data: postSlackIntegrationProxiedInteractionsBody,
|
|
1442
|
+
}, options);
|
|
1443
|
+
};
|
|
1444
|
+
/**
|
|
1445
|
+
* Get supported commands
|
|
1446
|
+
* @summary /slack-integration/supported-commands
|
|
1447
|
+
*/
|
|
1448
|
+
const getSlackIntegrationSupportedCommands = (options) => {
|
|
1449
|
+
return customInstance({ url: `/slack-integration/supported-commands`, method: 'GET' }, options);
|
|
1450
|
+
};
|
|
1451
|
+
/**
|
|
1452
|
+
* Handle Slack events
|
|
1453
|
+
* @summary /slack-integration/events
|
|
1454
|
+
*/
|
|
1455
|
+
const postSlackIntegrationEvents = (postSlackIntegrationEventsBody, options) => {
|
|
1456
|
+
return customInstance({ url: `/slack-integration/events`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postSlackIntegrationEventsBody }, options);
|
|
1457
|
+
};
|
|
1458
|
+
/**
|
|
1459
|
+
* Handle Slack events
|
|
1460
|
+
* @summary /slack-integration/proxied/events
|
|
1461
|
+
*/
|
|
1462
|
+
const postSlackIntegrationProxiedEvents = (postSlackIntegrationProxiedEventsBody, options) => {
|
|
1463
|
+
return customInstance({
|
|
1464
|
+
url: `/slack-integration/proxied/events`,
|
|
1465
|
+
method: 'POST',
|
|
1466
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1467
|
+
data: postSlackIntegrationProxiedEventsBody,
|
|
1468
|
+
}, options);
|
|
1469
|
+
};
|
|
1470
|
+
/**
|
|
1471
|
+
* Get statistics for user
|
|
1472
|
+
* @summary /statistics/user
|
|
1473
|
+
*/
|
|
1474
|
+
const getStatisticsUser = (options) => {
|
|
1475
|
+
return customInstance({ url: `/statistics/user`, method: 'GET' }, options);
|
|
1476
|
+
};
|
|
1477
|
+
/**
|
|
1478
|
+
* @summary /complete-registration
|
|
1479
|
+
*/
|
|
1480
|
+
const postCompleteRegistration = (postCompleteRegistrationBody, options) => {
|
|
1481
|
+
return customInstance({ url: `/complete-registration`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postCompleteRegistrationBody }, options);
|
|
1482
|
+
};
|
|
1483
|
+
/**
|
|
1484
|
+
* Gets the user group relations
|
|
1485
|
+
* @summary /user-group-relations
|
|
1486
|
+
*/
|
|
1487
|
+
const getUserGroupRelations = (options) => {
|
|
1488
|
+
return customInstance({ url: `/user-group-relations`, method: 'GET' }, options);
|
|
1489
|
+
};
|
|
1490
|
+
/**
|
|
1491
|
+
* Get usergroups
|
|
1492
|
+
* @summary /user-groups
|
|
1493
|
+
*/
|
|
1494
|
+
const getUserGroups = (params, options) => {
|
|
1495
|
+
return customInstance({ url: `/user-groups`, method: 'GET', params }, options);
|
|
1496
|
+
};
|
|
1497
|
+
/**
|
|
1498
|
+
* Adds userGroup
|
|
1499
|
+
* @summary /user-groups
|
|
1500
|
+
*/
|
|
1501
|
+
const postUserGroups = (postUserGroupsBody, options) => {
|
|
1502
|
+
return customInstance({ url: `/user-groups`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postUserGroupsBody }, options);
|
|
1503
|
+
};
|
|
1504
|
+
/**
|
|
1505
|
+
* Get ancestor user groups.
|
|
1506
|
+
* @summary /user-groups/ancestors
|
|
1507
|
+
*/
|
|
1508
|
+
const getUserGroupsAncestors = (params, options) => {
|
|
1509
|
+
return customInstance({ url: `/user-groups/ancestors`, method: 'GET', params }, options);
|
|
1510
|
+
};
|
|
1511
|
+
/**
|
|
1512
|
+
* Get child user groups
|
|
1513
|
+
* @summary /user-groups/children
|
|
1514
|
+
*/
|
|
1515
|
+
const getUserGroupsChildren = (params, options) => {
|
|
1516
|
+
return customInstance({ url: `/user-groups/children`, method: 'GET', params }, options);
|
|
1517
|
+
};
|
|
1518
|
+
/**
|
|
1519
|
+
* Get selectable parent UserGroups
|
|
1520
|
+
* @summary /selectable-parent-groups
|
|
1521
|
+
*/
|
|
1522
|
+
const getSelectableParentGroups = (params, options) => {
|
|
1523
|
+
return customInstance({ url: `/selectable-parent-groups`, method: 'GET', params }, options);
|
|
1524
|
+
};
|
|
1525
|
+
/**
|
|
1526
|
+
* Get selectable child UserGroups
|
|
1527
|
+
* @summary /selectable-child-groups
|
|
1528
|
+
*/
|
|
1529
|
+
const getSelectableChildGroups = (params, options) => {
|
|
1530
|
+
return customInstance({ url: `/selectable-child-groups`, method: 'GET', params }, options);
|
|
1531
|
+
};
|
|
1532
|
+
/**
|
|
1533
|
+
* Get UserGroup from Group ID
|
|
1534
|
+
* @summary /user-groups/{id}
|
|
1535
|
+
*/
|
|
1536
|
+
const getUserGroupsId = (id, options) => {
|
|
1537
|
+
return customInstance({ url: `/user-groups/${id}`, method: 'GET' }, options);
|
|
1538
|
+
};
|
|
1539
|
+
/**
|
|
1540
|
+
* Deletes userGroup
|
|
1541
|
+
* @summary /user-groups/{id}
|
|
1542
|
+
*/
|
|
1543
|
+
const deleteUserGroupsId = (id, params, options) => {
|
|
1544
|
+
return customInstance({ url: `/user-groups/${id}`, method: 'DELETE', params }, options);
|
|
1545
|
+
};
|
|
1546
|
+
/**
|
|
1547
|
+
* Update userGroup
|
|
1548
|
+
* @summary /user-groups/{id}
|
|
1549
|
+
*/
|
|
1550
|
+
const putUserGroupsId = (id, putUserGroupsIdBody, options) => {
|
|
1551
|
+
return customInstance({ url: `/user-groups/${id}`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUserGroupsIdBody }, options);
|
|
1552
|
+
};
|
|
1553
|
+
/**
|
|
1554
|
+
* Get users related to the userGroup
|
|
1555
|
+
* @summary /user-groups/{id}/users
|
|
1556
|
+
*/
|
|
1557
|
+
const getUserGroupsIdUsers = (id, options) => {
|
|
1558
|
+
return customInstance({ url: `/user-groups/${id}/users`, method: 'GET' }, options);
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* Get users unrelated to the userGroup
|
|
1562
|
+
* @summary /user-groups/{id}/unrelated-users
|
|
1563
|
+
*/
|
|
1564
|
+
const getUserGroupsIdUnrelatedUsers = (id, params, options) => {
|
|
1565
|
+
return customInstance({ url: `/user-groups/${id}/unrelated-users`, method: 'GET', params }, options);
|
|
1566
|
+
};
|
|
1567
|
+
/**
|
|
1568
|
+
* Add a user to the userGroup
|
|
1569
|
+
* @summary /user-groups/{id}/users/{username}
|
|
1570
|
+
*/
|
|
1571
|
+
const postUserGroupsIdUsersUsername = (id, username, options) => {
|
|
1572
|
+
return customInstance({ url: `/user-groups/${id}/users/${username}`, method: 'POST' }, options);
|
|
1573
|
+
};
|
|
1574
|
+
/**
|
|
1575
|
+
* remove a user from the userGroup
|
|
1576
|
+
* @summary /user-groups/{id}/users/{username}
|
|
1577
|
+
*/
|
|
1578
|
+
const deleteUserGroupsIdUsersUsername = (id, username, options) => {
|
|
1579
|
+
return customInstance({ url: `/user-groups/${id}/users/${username}`, method: 'DELETE' }, options);
|
|
1580
|
+
};
|
|
1581
|
+
/**
|
|
1582
|
+
* Get the user group relations for the userGroup
|
|
1583
|
+
* @summary /user-groups/{id}/user-group-relations
|
|
1584
|
+
*/
|
|
1585
|
+
const getUserGroupsIdUserGroupRelations = (id, options) => {
|
|
1586
|
+
return customInstance({ url: `/user-groups/${id}/user-group-relations`, method: 'GET' }, options);
|
|
1587
|
+
};
|
|
1588
|
+
/**
|
|
1589
|
+
* Get closed pages for the userGroup
|
|
1590
|
+
* @summary /user-groups/{id}/pages
|
|
1591
|
+
*/
|
|
1592
|
+
const getUserGroupsIdPages = (id, options) => {
|
|
1593
|
+
return customInstance({ url: `/user-groups/${id}/pages`, method: 'GET' }, options);
|
|
1594
|
+
};
|
|
1595
|
+
/**
|
|
1596
|
+
* Update the user's UI settings
|
|
1597
|
+
* @summary /user-ui-settings
|
|
1598
|
+
*/
|
|
1599
|
+
const putUserUiSettings = (putUserUiSettingsBody, options) => {
|
|
1600
|
+
return customInstance({ url: `/user-ui-settings`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUserUiSettingsBody }, options);
|
|
1601
|
+
};
|
|
1602
|
+
/**
|
|
1603
|
+
* Select selected columns from users order by asc or desc
|
|
1604
|
+
* @summary /users
|
|
1605
|
+
*/
|
|
1606
|
+
const getUsers = (params, options) => {
|
|
1607
|
+
return customInstance({ url: `/users`, method: 'GET', params }, options);
|
|
1608
|
+
};
|
|
1609
|
+
/**
|
|
1610
|
+
* @summary /usersIdReacent
|
|
1611
|
+
*/
|
|
1612
|
+
const getIdRecent = (id, options) => {
|
|
1613
|
+
return customInstance({ url: `/${id}/recent`, method: 'GET' }, options);
|
|
1614
|
+
};
|
|
1615
|
+
/**
|
|
1616
|
+
* Create new users and send Emails
|
|
1617
|
+
* @summary /users/invite
|
|
1618
|
+
*/
|
|
1619
|
+
const postUsersInvite = (params, options) => {
|
|
1620
|
+
return customInstance({ url: `/users/invite`, method: 'POST', params }, options);
|
|
1621
|
+
};
|
|
1622
|
+
/**
|
|
1623
|
+
* Grant user admin
|
|
1624
|
+
* @summary /users/{id}/grant-admin
|
|
1625
|
+
*/
|
|
1626
|
+
const putUsersIdGrantAdmin = (id, options) => {
|
|
1627
|
+
return customInstance({ url: `/users/${id}/grant-admin`, method: 'PUT' }, options);
|
|
1628
|
+
};
|
|
1629
|
+
/**
|
|
1630
|
+
* Revoke user admin
|
|
1631
|
+
* @summary /users/{id}/revoke-admin
|
|
1632
|
+
*/
|
|
1633
|
+
const putUsersIdRevokeAdmin = (id, options) => {
|
|
1634
|
+
return customInstance({ url: `/users/${id}/revoke-admin`, method: 'PUT' }, options);
|
|
1635
|
+
};
|
|
1636
|
+
/**
|
|
1637
|
+
* Grant user read only access
|
|
1638
|
+
* @summary /users/{id}/grant-read-only
|
|
1639
|
+
*/
|
|
1640
|
+
const putUsersIdGrantReadOnly = (id, options) => {
|
|
1641
|
+
return customInstance({ url: `/users/${id}/grant-read-only`, method: 'PUT' }, options);
|
|
1642
|
+
};
|
|
1643
|
+
/**
|
|
1644
|
+
* Revoke user read only access
|
|
1645
|
+
* @summary /users/{id}/revoke-read-only
|
|
1646
|
+
*/
|
|
1647
|
+
const putUsersIdRevokeReadOnly = (id, options) => {
|
|
1648
|
+
return customInstance({ url: `/users/${id}/revoke-read-only`, method: 'PUT' }, options);
|
|
1649
|
+
};
|
|
1650
|
+
/**
|
|
1651
|
+
* Activate user
|
|
1652
|
+
* @summary /users/{id}/activate
|
|
1653
|
+
*/
|
|
1654
|
+
const putUsersIdActivate = (id, options) => {
|
|
1655
|
+
return customInstance({ url: `/users/${id}/activate`, method: 'PUT' }, options);
|
|
1656
|
+
};
|
|
1657
|
+
/**
|
|
1658
|
+
* Deactivate user
|
|
1659
|
+
* @summary /users/{id}/deactivate
|
|
1660
|
+
*/
|
|
1661
|
+
const putUsersIdDeactivate = (id, options) => {
|
|
1662
|
+
return customInstance({ url: `/users/${id}/deactivate`, method: 'PUT' }, options);
|
|
1663
|
+
};
|
|
1664
|
+
/**
|
|
1665
|
+
* Delete user
|
|
1666
|
+
* @summary /users/{id}/remove
|
|
1667
|
+
*/
|
|
1668
|
+
const deleteUsersIdRemove = (id, options) => {
|
|
1669
|
+
return customInstance({ url: `/users/${id}/remove`, method: 'DELETE' }, options);
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* Get external-account
|
|
1673
|
+
* @summary /users/external-accounts
|
|
1674
|
+
*/
|
|
1675
|
+
const getUsersExternalAccounts = (params, options) => {
|
|
1676
|
+
return customInstance({ url: `/users/external-accounts`, method: 'GET', params }, options);
|
|
1677
|
+
};
|
|
1678
|
+
/**
|
|
1679
|
+
* Delete ExternalAccount
|
|
1680
|
+
* @summary /users/external-accounts/{id}/remove
|
|
1681
|
+
*/
|
|
1682
|
+
const deleteUsersExternalAccountsIdRemove = (id, options) => {
|
|
1683
|
+
return customInstance({ url: `/users/external-accounts/${id}/remove`, method: 'DELETE' }, options);
|
|
1684
|
+
};
|
|
1685
|
+
/**
|
|
1686
|
+
* update imageUrlCache
|
|
1687
|
+
* @summary /users/update.imageUrlCache
|
|
1688
|
+
*/
|
|
1689
|
+
const putUsersUpdateImageUrlCache = (putUsersUpdateImageUrlCacheBody, options) => {
|
|
1690
|
+
return customInstance({ url: `/users/update.imageUrlCache`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUsersUpdateImageUrlCacheBody }, options);
|
|
1691
|
+
};
|
|
1692
|
+
/**
|
|
1693
|
+
* update imageUrlCache
|
|
1694
|
+
* @summary /users/reset-password
|
|
1695
|
+
*/
|
|
1696
|
+
const putUsersResetPassword = (putUsersResetPasswordBody, options) => {
|
|
1697
|
+
return customInstance({ url: `/users/reset-password`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUsersResetPasswordBody }, options);
|
|
1698
|
+
};
|
|
1699
|
+
/**
|
|
1700
|
+
* send new password email
|
|
1701
|
+
* @summary /users/reset-password-email
|
|
1702
|
+
*/
|
|
1703
|
+
const putUsersResetPasswordEmail = (putUsersResetPasswordEmailBody, options) => {
|
|
1704
|
+
return customInstance({ url: `/users/reset-password-email`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUsersResetPasswordEmailBody }, options);
|
|
1705
|
+
};
|
|
1706
|
+
/**
|
|
1707
|
+
* send invitation email
|
|
1708
|
+
* @summary /users/send-invitation-email
|
|
1709
|
+
*/
|
|
1710
|
+
const putUsersSendInvitationEmail = (putUsersSendInvitationEmailBody, options) => {
|
|
1711
|
+
return customInstance({ url: `/users/send-invitation-email`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUsersSendInvitationEmailBody }, options);
|
|
1712
|
+
};
|
|
1713
|
+
/**
|
|
1714
|
+
* Get list of users
|
|
1715
|
+
* @summary /users/list
|
|
1716
|
+
*/
|
|
1717
|
+
const getUsersList = (params, options) => {
|
|
1718
|
+
return customInstance({ url: `/users/list`, method: 'GET', params }, options);
|
|
1719
|
+
};
|
|
1720
|
+
/**
|
|
1721
|
+
* Get list of usernames
|
|
1722
|
+
* @summary /users/usernames
|
|
1723
|
+
*/
|
|
1724
|
+
const getUsersUsernames = (params, options) => {
|
|
1725
|
+
return customInstance({ url: `/users/usernames`, method: 'GET', params }, options);
|
|
1726
|
+
};
|
|
1727
|
+
/**
|
|
1728
|
+
* @summary /login
|
|
1729
|
+
*/
|
|
1730
|
+
const postLogin = (postLoginBody, options) => {
|
|
1731
|
+
return customInstance({ url: `/login`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postLoginBody }, options);
|
|
1732
|
+
};
|
|
1733
|
+
/**
|
|
1734
|
+
* @summary /register
|
|
1735
|
+
*/
|
|
1736
|
+
const postRegister = (postRegisterBody, options) => {
|
|
1737
|
+
return customInstance({ url: `/register`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postRegisterBody }, options);
|
|
1738
|
+
};
|
|
1739
|
+
return {
|
|
1740
|
+
getExternalUserGroupRelations,
|
|
1741
|
+
getExternalUserGroups,
|
|
1742
|
+
getExternalUserGroupsAncestors,
|
|
1743
|
+
getExternalUserGroupsChildren,
|
|
1744
|
+
getExternalUserGroupsId,
|
|
1745
|
+
deleteExternalUserGroupsId,
|
|
1746
|
+
putExternalUserGroupsId,
|
|
1747
|
+
getExternalUserGroupsIdExternalUserGroupRelations,
|
|
1748
|
+
getExternalUserGroupsLdapSyncSettings,
|
|
1749
|
+
putExternalUserGroupsLdapSyncSettings,
|
|
1750
|
+
getExternalUserGroupsKeycloakSyncSettings,
|
|
1751
|
+
putExternalUserGroupsKeycloakSyncSettings,
|
|
1752
|
+
putExternalUserGroupsLdapSync,
|
|
1753
|
+
putExternalUserGroupsKeycloakSync,
|
|
1754
|
+
getExternalUserGroupsLdapSyncStatus,
|
|
1755
|
+
getQuestionnaireOrders,
|
|
1756
|
+
getQuestionnaireIsEnabled,
|
|
1757
|
+
postQuestionnaireProactiveAnswer,
|
|
1758
|
+
putQuestionnaireAnswer,
|
|
1759
|
+
putQuestionnaireSkip,
|
|
1760
|
+
putQuestionnaireDeny,
|
|
1761
|
+
getTemplates,
|
|
1762
|
+
getTemplatesPresetTemplatesTemplateIdLocale,
|
|
1763
|
+
getTemplatesPluginTemplatesOrganizationIdReposIdTemplateIdLocale,
|
|
1764
|
+
postPlugins,
|
|
1765
|
+
putPluginsIdActivate,
|
|
1766
|
+
deletePluginsIdRemove,
|
|
1767
|
+
getActivity,
|
|
1768
|
+
getAdminHome,
|
|
1769
|
+
getAppSettings,
|
|
1770
|
+
putAppSettingsAppSetting,
|
|
1771
|
+
putAppSettingsSiteUrlSetting,
|
|
1772
|
+
putAppSettingsSmtpSetting,
|
|
1773
|
+
postAppSettingsSmtpTest,
|
|
1774
|
+
putAppSettingsSesSetting,
|
|
1775
|
+
putAppSettingsFileUploadSettings,
|
|
1776
|
+
putAppSettingsQuestionnaireSettings,
|
|
1777
|
+
postAppSettingsV5SchemaMigration,
|
|
1778
|
+
postAppSettingsMaintenanceMode,
|
|
1779
|
+
getAttachmentList,
|
|
1780
|
+
getAttachmentLimit,
|
|
1781
|
+
postAttachment,
|
|
1782
|
+
getAttachmentId,
|
|
1783
|
+
postBookmarkFolder,
|
|
1784
|
+
putBookmarkFolder,
|
|
1785
|
+
getBookmarkFolderListUserId,
|
|
1786
|
+
deleteBookmarkFolderId,
|
|
1787
|
+
postBookmarkFolderAddBookmarkToFolder,
|
|
1788
|
+
putBookmarkFolderUpdateBookmark,
|
|
1789
|
+
getBookmarksInfo,
|
|
1790
|
+
getBookmarksUserId,
|
|
1791
|
+
putBookmarks,
|
|
1792
|
+
getCustomizeSetting,
|
|
1793
|
+
getCustomizeSettingLayout,
|
|
1794
|
+
putCustomizeSettingLayout,
|
|
1795
|
+
getCustomizeSettingTheme,
|
|
1796
|
+
putCustomizeSettingTheme,
|
|
1797
|
+
getCustomizeSettingSidebar,
|
|
1798
|
+
putCustomizeSettingSidebar,
|
|
1799
|
+
putCustomizeSettingFunction,
|
|
1800
|
+
putCustomizeSettingPresentation,
|
|
1801
|
+
putCustomizeSettingHighlight,
|
|
1802
|
+
putCustomizeSettingCustomizeTitle,
|
|
1803
|
+
putCustomizeSettingCustomizeNoscript,
|
|
1804
|
+
putCustomizeSettingCustomizeCss,
|
|
1805
|
+
putCustomizeSettingCustomizeScript,
|
|
1806
|
+
putCustomizeSettingCustomizeLogo,
|
|
1807
|
+
putCustomizeSettingUploadBrandLogo,
|
|
1808
|
+
deleteCustomizeSettingDeleteBrandLogo,
|
|
1809
|
+
getExportStatus,
|
|
1810
|
+
postExport,
|
|
1811
|
+
deleteExportFileName,
|
|
1812
|
+
postForgotPassword,
|
|
1813
|
+
putForgotPassword,
|
|
1814
|
+
getG2gTransferFiles,
|
|
1815
|
+
postG2gTransfer,
|
|
1816
|
+
postG2gTransferAttachment,
|
|
1817
|
+
getG2gTransferGrowiInfo,
|
|
1818
|
+
postG2gTransferGenerateKey,
|
|
1819
|
+
postG2gTransferTransfer,
|
|
1820
|
+
getHealthcheck,
|
|
1821
|
+
getImport,
|
|
1822
|
+
postImport,
|
|
1823
|
+
getImportStatus,
|
|
1824
|
+
postImportUpload,
|
|
1825
|
+
deleteImportAll,
|
|
1826
|
+
getInAppNotificationList,
|
|
1827
|
+
getInAppNotificationStatus,
|
|
1828
|
+
postInAppNotificationOpen,
|
|
1829
|
+
putInAppNotificationAllStatusesOpen,
|
|
1830
|
+
postInstaller,
|
|
1831
|
+
postInvited,
|
|
1832
|
+
postLogout,
|
|
1833
|
+
getMarkdownSetting,
|
|
1834
|
+
putMarkdownSettingLineBreak,
|
|
1835
|
+
putMarkdownSettingIndent,
|
|
1836
|
+
putMarkdownSettingXss,
|
|
1837
|
+
getMongoCollections,
|
|
1838
|
+
getNotificationSetting,
|
|
1839
|
+
postNotificationSettingUserNotification,
|
|
1840
|
+
deleteNotificationSettingUserNotificationId,
|
|
1841
|
+
getNotificationSettingGlobalNotificationId,
|
|
1842
|
+
putNotificationSettingGlobalNotificationId,
|
|
1843
|
+
deleteNotificationSettingGlobalNotificationId,
|
|
1844
|
+
postNotificationSettingGlobalNotification,
|
|
1845
|
+
putNotificationSettingNotifyForPageGrant,
|
|
1846
|
+
putNotificationSettingGlobalNotificationIdEnabled,
|
|
1847
|
+
getPageListingRoot,
|
|
1848
|
+
getPageListingAncestorsChildren,
|
|
1849
|
+
getPageListingChildren,
|
|
1850
|
+
getPageListingInfo,
|
|
1851
|
+
getPage,
|
|
1852
|
+
postPage,
|
|
1853
|
+
putPage,
|
|
1854
|
+
getPageExist,
|
|
1855
|
+
putPageLikes,
|
|
1856
|
+
getPageInfo,
|
|
1857
|
+
getPageGrantData,
|
|
1858
|
+
getPageNonUserRelatedGroupsGranted,
|
|
1859
|
+
getPageApplicableGrant,
|
|
1860
|
+
putPageIdGrant,
|
|
1861
|
+
getPageExportPageId,
|
|
1862
|
+
getPageExistPaths,
|
|
1863
|
+
putPageSubscribe,
|
|
1864
|
+
putPageIdContentWidth,
|
|
1865
|
+
putPageIdPublish,
|
|
1866
|
+
putPageIdUnpublish,
|
|
1867
|
+
getPageIdYjsData,
|
|
1868
|
+
putPageIdSyncLatestRevisionBodyToYjsDraft,
|
|
1869
|
+
getPagesRecent,
|
|
1870
|
+
postPagesRename,
|
|
1871
|
+
postPagesResumeRename,
|
|
1872
|
+
deletePagesEmptyTrash,
|
|
1873
|
+
getPagesList,
|
|
1874
|
+
postPagesDuplicate,
|
|
1875
|
+
getPagesSubordinatedList,
|
|
1876
|
+
postPagesDelete,
|
|
1877
|
+
postPagesConvertPagesByPath,
|
|
1878
|
+
postPagesLegacyPagesMigration,
|
|
1879
|
+
getPagesV5MigrationStatus,
|
|
1880
|
+
getPersonalSetting,
|
|
1881
|
+
putPersonalSetting,
|
|
1882
|
+
getPersonalSettingIsPasswordSet,
|
|
1883
|
+
putPersonalSettingImageType,
|
|
1884
|
+
getPersonalSettingExternalAccounts,
|
|
1885
|
+
putPersonalSettingPassword,
|
|
1886
|
+
putPersonalSettingApiToken,
|
|
1887
|
+
putPersonalSettingAssociateLdap,
|
|
1888
|
+
putPersonalSettingDisassociateLdap,
|
|
1889
|
+
putPersonalSettingEditorSettings,
|
|
1890
|
+
getPersonalSettingEditorSettings,
|
|
1891
|
+
putPersonalSettingInAppNotificationSettings,
|
|
1892
|
+
getPersonalSettingInAppNotificationSettings,
|
|
1893
|
+
putPersonalSettingQuestionnaireSettings,
|
|
1894
|
+
getRevisionsList,
|
|
1895
|
+
getRevisionsId,
|
|
1896
|
+
getSearchIndices,
|
|
1897
|
+
putSearchIndices,
|
|
1898
|
+
postSearchConnection,
|
|
1899
|
+
getSecuritySetting,
|
|
1900
|
+
putSecuritySettingAuthenticationEnabled,
|
|
1901
|
+
getSecuritySettingAuthentication,
|
|
1902
|
+
putSecuritySettingGeneralSetting,
|
|
1903
|
+
putSecuritySettingShareLinkSetting,
|
|
1904
|
+
getSecuritySettingAllShareLinks,
|
|
1905
|
+
deleteSecuritySettingAllShareLinks,
|
|
1906
|
+
putSecuritySettingLocalSetting,
|
|
1907
|
+
putSecuritySettingLdap,
|
|
1908
|
+
putSecuritySettingSaml,
|
|
1909
|
+
putSecuritySettingOidc,
|
|
1910
|
+
putSecuritySettingGoogleOauth,
|
|
1911
|
+
putSecuritySettingGithubOauth,
|
|
1912
|
+
getShareLinks,
|
|
1913
|
+
postShareLinks,
|
|
1914
|
+
deleteShareLinks,
|
|
1915
|
+
deleteShareLinksAll,
|
|
1916
|
+
deleteShareLinksId,
|
|
1917
|
+
getSlackIntegrationLegacySetting,
|
|
1918
|
+
putSlackIntegrationLegacySetting,
|
|
1919
|
+
getSlackIntegrationSettings,
|
|
1920
|
+
putSlackIntegrationSettingsBotType,
|
|
1921
|
+
deleteSlackIntegrationBotType,
|
|
1922
|
+
putSlackIntegrationSettingsWithoutProxyUpdateSettings,
|
|
1923
|
+
putSlackIntegrationSettingsWithoutProxyUpdatePermissions,
|
|
1924
|
+
postSlackIntegrationSettingsSlackAppIntegrations,
|
|
1925
|
+
deleteSlackIntegrationSettingsSlackAppIntegrationsId,
|
|
1926
|
+
putSlackIntegrationSettingsProxyUri,
|
|
1927
|
+
putSlackIntegrationSettingsSlackAppIntegrationsIdMakeprimary,
|
|
1928
|
+
putSlackIntegrationSettingsSlackAppIntegrationsIdRegenerateTokens,
|
|
1929
|
+
putSlackIntegrationSettingsSlackAppIntegrationsIdPermissions,
|
|
1930
|
+
postSlackIntegrationSettingsSlackAppIntegrationsIdRelationTest,
|
|
1931
|
+
postSlackIntegrationSettingsWithoutProxyTest,
|
|
1932
|
+
postSlackIntegrationCommands,
|
|
1933
|
+
postSlackIntegrationProxiedVerify,
|
|
1934
|
+
postSlackIntegrationProxiedCommands,
|
|
1935
|
+
postSlackIntegrationInteractions,
|
|
1936
|
+
postSlackIntegrationProxiedInteractions,
|
|
1937
|
+
getSlackIntegrationSupportedCommands,
|
|
1938
|
+
postSlackIntegrationEvents,
|
|
1939
|
+
postSlackIntegrationProxiedEvents,
|
|
1940
|
+
getStatisticsUser,
|
|
1941
|
+
postCompleteRegistration,
|
|
1942
|
+
getUserGroupRelations,
|
|
1943
|
+
getUserGroups,
|
|
1944
|
+
postUserGroups,
|
|
1945
|
+
getUserGroupsAncestors,
|
|
1946
|
+
getUserGroupsChildren,
|
|
1947
|
+
getSelectableParentGroups,
|
|
1948
|
+
getSelectableChildGroups,
|
|
1949
|
+
getUserGroupsId,
|
|
1950
|
+
deleteUserGroupsId,
|
|
1951
|
+
putUserGroupsId,
|
|
1952
|
+
getUserGroupsIdUsers,
|
|
1953
|
+
getUserGroupsIdUnrelatedUsers,
|
|
1954
|
+
postUserGroupsIdUsersUsername,
|
|
1955
|
+
deleteUserGroupsIdUsersUsername,
|
|
1956
|
+
getUserGroupsIdUserGroupRelations,
|
|
1957
|
+
getUserGroupsIdPages,
|
|
1958
|
+
putUserUiSettings,
|
|
1959
|
+
getUsers,
|
|
1960
|
+
getIdRecent,
|
|
1961
|
+
postUsersInvite,
|
|
1962
|
+
putUsersIdGrantAdmin,
|
|
1963
|
+
putUsersIdRevokeAdmin,
|
|
1964
|
+
putUsersIdGrantReadOnly,
|
|
1965
|
+
putUsersIdRevokeReadOnly,
|
|
1966
|
+
putUsersIdActivate,
|
|
1967
|
+
putUsersIdDeactivate,
|
|
1968
|
+
deleteUsersIdRemove,
|
|
1969
|
+
getUsersExternalAccounts,
|
|
1970
|
+
deleteUsersExternalAccountsIdRemove,
|
|
1971
|
+
putUsersUpdateImageUrlCache,
|
|
1972
|
+
putUsersResetPassword,
|
|
1973
|
+
putUsersResetPasswordEmail,
|
|
1974
|
+
putUsersSendInvitationEmail,
|
|
1975
|
+
getUsersList,
|
|
1976
|
+
getUsersUsernames,
|
|
1977
|
+
postLogin,
|
|
1978
|
+
postRegister,
|
|
1979
|
+
};
|
|
1980
|
+
};
|
|
1981
|
+
//# sourceMappingURL=index.js.map
|