@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,3362 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.9.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* GROWI REST API v3
|
|
5
|
+
* OpenAPI spec version: 7.2.6-RC.0
|
|
6
|
+
*/
|
|
7
|
+
import type {
|
|
8
|
+
ActivityResponse,
|
|
9
|
+
AppSettingPutParams,
|
|
10
|
+
AttachmentPaginateResult,
|
|
11
|
+
BookmarkInfo,
|
|
12
|
+
BookmarkParams,
|
|
13
|
+
Bookmarks,
|
|
14
|
+
BotType,
|
|
15
|
+
CustomizeCss,
|
|
16
|
+
CustomizeFunction,
|
|
17
|
+
CustomizeHighlight,
|
|
18
|
+
CustomizeLayout,
|
|
19
|
+
CustomizeLogo,
|
|
20
|
+
CustomizeNoscript,
|
|
21
|
+
CustomizePresentation,
|
|
22
|
+
CustomizeScript,
|
|
23
|
+
CustomizeSidebar,
|
|
24
|
+
CustomizeTheme,
|
|
25
|
+
CustomizeTitle,
|
|
26
|
+
DeleteBookmarkFolderId200,
|
|
27
|
+
DeleteExportFileName200,
|
|
28
|
+
DeleteExternalUserGroupsId200,
|
|
29
|
+
DeleteExternalUserGroupsIdParams,
|
|
30
|
+
DeletePagesEmptyTrash200,
|
|
31
|
+
DeletePluginsIdRemove200,
|
|
32
|
+
DeleteSecuritySettingAllShareLinks200,
|
|
33
|
+
DeleteShareLinksAll200,
|
|
34
|
+
DeleteShareLinksParams,
|
|
35
|
+
DeleteSlackIntegrationSettingsSlackAppIntegrationsId200,
|
|
36
|
+
DeleteUserGroupsId200,
|
|
37
|
+
DeleteUserGroupsIdParams,
|
|
38
|
+
DeleteUserGroupsIdUsersUsername200,
|
|
39
|
+
DeleteUsersExternalAccountsIdRemove200,
|
|
40
|
+
DeleteUsersIdRemove200,
|
|
41
|
+
DisassociateUser,
|
|
42
|
+
FileImportResponse,
|
|
43
|
+
FileUploadSettingParams,
|
|
44
|
+
GeneralSetting,
|
|
45
|
+
GetActivityParams,
|
|
46
|
+
GetAdminHome200,
|
|
47
|
+
GetAppSettings200,
|
|
48
|
+
GetAttachmentId200,
|
|
49
|
+
GetAttachmentLimit200,
|
|
50
|
+
GetAttachmentLimitParams,
|
|
51
|
+
GetAttachmentListParams,
|
|
52
|
+
GetBookmarkFolderListUserId200,
|
|
53
|
+
GetBookmarksInfoParams,
|
|
54
|
+
GetCustomizeSetting200,
|
|
55
|
+
GetCustomizeSettingTheme200,
|
|
56
|
+
GetExportStatus200,
|
|
57
|
+
GetExternalUserGroupRelations200,
|
|
58
|
+
GetExternalUserGroupRelationsParams,
|
|
59
|
+
GetExternalUserGroups200,
|
|
60
|
+
GetExternalUserGroupsAncestors200,
|
|
61
|
+
GetExternalUserGroupsAncestorsParams,
|
|
62
|
+
GetExternalUserGroupsChildren200,
|
|
63
|
+
GetExternalUserGroupsChildrenParams,
|
|
64
|
+
GetExternalUserGroupsId200,
|
|
65
|
+
GetExternalUserGroupsIdExternalUserGroupRelations200,
|
|
66
|
+
GetExternalUserGroupsKeycloakSyncSettings200,
|
|
67
|
+
GetExternalUserGroupsLdapSyncSettings200,
|
|
68
|
+
GetExternalUserGroupsParams,
|
|
69
|
+
GetG2gTransferFiles200,
|
|
70
|
+
GetG2gTransferGrowiInfo200,
|
|
71
|
+
GetHealthcheck200,
|
|
72
|
+
GetHealthcheckParams,
|
|
73
|
+
GetIdRecent200,
|
|
74
|
+
GetImport200,
|
|
75
|
+
GetImportStatus200,
|
|
76
|
+
GetInAppNotificationListParams,
|
|
77
|
+
GetInAppNotificationStatus200,
|
|
78
|
+
GetMarkdownSetting200,
|
|
79
|
+
GetMongoCollections200,
|
|
80
|
+
GetNotificationSetting200,
|
|
81
|
+
GetNotificationSettingGlobalNotificationId200,
|
|
82
|
+
GetPageApplicableGrant200,
|
|
83
|
+
GetPageApplicableGrantParams,
|
|
84
|
+
GetPageExist200,
|
|
85
|
+
GetPageExistParams,
|
|
86
|
+
GetPageExistPaths200,
|
|
87
|
+
GetPageExistPathsParams,
|
|
88
|
+
GetPageGrantData200,
|
|
89
|
+
GetPageGrantDataParams,
|
|
90
|
+
GetPageIdYjsData200,
|
|
91
|
+
GetPageListingAncestorsChildren200,
|
|
92
|
+
GetPageListingAncestorsChildrenParams,
|
|
93
|
+
GetPageListingChildren200,
|
|
94
|
+
GetPageListingChildrenParams,
|
|
95
|
+
GetPageListingInfo200,
|
|
96
|
+
GetPageListingInfoParams,
|
|
97
|
+
GetPageListingRoot200,
|
|
98
|
+
GetPageNonUserRelatedGroupsGranted200,
|
|
99
|
+
GetPageNonUserRelatedGroupsGrantedParams,
|
|
100
|
+
GetPageParams,
|
|
101
|
+
GetPagesList200,
|
|
102
|
+
GetPagesListParams,
|
|
103
|
+
GetPagesRecentParams,
|
|
104
|
+
GetPagesSubordinatedList200,
|
|
105
|
+
GetPagesSubordinatedListParams,
|
|
106
|
+
GetPagesV5MigrationStatus200,
|
|
107
|
+
GetPersonalSetting200,
|
|
108
|
+
GetPersonalSettingEditorSettings200,
|
|
109
|
+
GetPersonalSettingExternalAccounts200,
|
|
110
|
+
GetPersonalSettingInAppNotificationSettings200,
|
|
111
|
+
GetPersonalSettingIsPasswordSet200,
|
|
112
|
+
GetQuestionnaireIsEnabled200,
|
|
113
|
+
GetQuestionnaireOrders200,
|
|
114
|
+
GetRevisionsId200,
|
|
115
|
+
GetRevisionsIdParams,
|
|
116
|
+
GetRevisionsList200,
|
|
117
|
+
GetRevisionsListParams,
|
|
118
|
+
GetSearchIndices200,
|
|
119
|
+
GetSecuritySetting200,
|
|
120
|
+
GetSecuritySettingAllShareLinks200,
|
|
121
|
+
GetSecuritySettingAuthentication200,
|
|
122
|
+
GetSelectableChildGroups200,
|
|
123
|
+
GetSelectableChildGroupsParams,
|
|
124
|
+
GetSelectableParentGroups200,
|
|
125
|
+
GetSelectableParentGroupsParams,
|
|
126
|
+
GetShareLinks200,
|
|
127
|
+
GetShareLinksParams,
|
|
128
|
+
GetSlackIntegrationLegacySetting200,
|
|
129
|
+
GetSlackIntegrationSettings200,
|
|
130
|
+
GetSlackIntegrationSupportedCommands200,
|
|
131
|
+
GetTemplates200,
|
|
132
|
+
GetTemplatesParams,
|
|
133
|
+
GetTemplatesPluginTemplatesOrganizationIdReposIdTemplateIdLocale200,
|
|
134
|
+
GetTemplatesPresetTemplatesTemplateIdLocale200,
|
|
135
|
+
GetUserGroupRelations200,
|
|
136
|
+
GetUserGroups200,
|
|
137
|
+
GetUserGroupsAncestors200,
|
|
138
|
+
GetUserGroupsAncestorsParams,
|
|
139
|
+
GetUserGroupsChildren200,
|
|
140
|
+
GetUserGroupsChildrenParams,
|
|
141
|
+
GetUserGroupsId200,
|
|
142
|
+
GetUserGroupsIdPages200,
|
|
143
|
+
GetUserGroupsIdUnrelatedUsers200,
|
|
144
|
+
GetUserGroupsIdUnrelatedUsersParams,
|
|
145
|
+
GetUserGroupsIdUserGroupRelations200,
|
|
146
|
+
GetUserGroupsIdUsers200,
|
|
147
|
+
GetUserGroupsParams,
|
|
148
|
+
GetUsers200,
|
|
149
|
+
GetUsersExternalAccounts200,
|
|
150
|
+
GetUsersExternalAccountsParams,
|
|
151
|
+
GetUsersList200,
|
|
152
|
+
GetUsersListParams,
|
|
153
|
+
GetUsersParams,
|
|
154
|
+
GetUsersUsernames200,
|
|
155
|
+
GetUsersUsernamesParams,
|
|
156
|
+
GitHubOAuthSetting,
|
|
157
|
+
GlobalNotification,
|
|
158
|
+
GlobalNotificationParams,
|
|
159
|
+
GoogleOAuthSetting,
|
|
160
|
+
InAppNotificationListResponse,
|
|
161
|
+
IndentParams,
|
|
162
|
+
LdapAuthSetting,
|
|
163
|
+
LikeParams,
|
|
164
|
+
LineBreakParams,
|
|
165
|
+
LocalSetting,
|
|
166
|
+
NotifyForPageGrant,
|
|
167
|
+
OidcAuthSetting,
|
|
168
|
+
Page,
|
|
169
|
+
PageInfo,
|
|
170
|
+
PageParams,
|
|
171
|
+
PersonalSettings,
|
|
172
|
+
PostAppSettingsMaintenanceMode200,
|
|
173
|
+
PostAppSettingsMaintenanceModeBody,
|
|
174
|
+
PostAppSettingsSmtpTest200,
|
|
175
|
+
PostAppSettingsV5SchemaMigration200,
|
|
176
|
+
PostAttachment200,
|
|
177
|
+
PostAttachmentBodyOne,
|
|
178
|
+
PostAttachmentBodyTwo,
|
|
179
|
+
PostBookmarkFolder200,
|
|
180
|
+
PostBookmarkFolderAddBookmarkToFolder200,
|
|
181
|
+
PostBookmarkFolderAddBookmarkToFolderBody,
|
|
182
|
+
PostBookmarkFolderBody,
|
|
183
|
+
PostCompleteRegistration200,
|
|
184
|
+
PostCompleteRegistrationBody,
|
|
185
|
+
PostExport200,
|
|
186
|
+
PostExportBody,
|
|
187
|
+
PostForgotPassword200,
|
|
188
|
+
PostForgotPasswordBody,
|
|
189
|
+
PostG2gTransfer200,
|
|
190
|
+
PostG2gTransferAttachment200,
|
|
191
|
+
PostG2gTransferAttachmentBody,
|
|
192
|
+
PostG2gTransferBody,
|
|
193
|
+
PostG2gTransferGenerateKey200,
|
|
194
|
+
PostG2gTransferGenerateKeyBody,
|
|
195
|
+
PostG2gTransferTransfer200,
|
|
196
|
+
PostG2gTransferTransferBody,
|
|
197
|
+
PostImportBody,
|
|
198
|
+
PostImportUploadBody,
|
|
199
|
+
PostInAppNotificationOpen200,
|
|
200
|
+
PostInAppNotificationOpenBody,
|
|
201
|
+
PostInstaller200,
|
|
202
|
+
PostInstallerBody,
|
|
203
|
+
PostInvited200,
|
|
204
|
+
PostInvitedBody,
|
|
205
|
+
PostLogin200,
|
|
206
|
+
PostLoginBody,
|
|
207
|
+
PostNotificationSettingGlobalNotification200,
|
|
208
|
+
PostNotificationSettingUserNotification200,
|
|
209
|
+
PostPage201,
|
|
210
|
+
PostPageBody,
|
|
211
|
+
PostPagesConvertPagesByPath200,
|
|
212
|
+
PostPagesConvertPagesByPathBody,
|
|
213
|
+
PostPagesDelete200,
|
|
214
|
+
PostPagesDeleteBody,
|
|
215
|
+
PostPagesDuplicate200,
|
|
216
|
+
PostPagesDuplicateBody,
|
|
217
|
+
PostPagesLegacyPagesMigration200,
|
|
218
|
+
PostPagesLegacyPagesMigrationBody,
|
|
219
|
+
PostPagesRename200,
|
|
220
|
+
PostPagesRenameBody,
|
|
221
|
+
PostPagesResumeRename200,
|
|
222
|
+
PostPagesResumeRenameBody,
|
|
223
|
+
PostPlugins200,
|
|
224
|
+
PostPluginsBody,
|
|
225
|
+
PostQuestionnaireProactiveAnswer200,
|
|
226
|
+
PostQuestionnaireProactiveAnswerBody,
|
|
227
|
+
PostRegister200,
|
|
228
|
+
PostRegisterBody,
|
|
229
|
+
PostShareLinksParams,
|
|
230
|
+
PostSlackIntegrationCommandsBody,
|
|
231
|
+
PostSlackIntegrationEvents200,
|
|
232
|
+
PostSlackIntegrationEventsBody,
|
|
233
|
+
PostSlackIntegrationInteractionsBody,
|
|
234
|
+
PostSlackIntegrationProxiedCommandsBody,
|
|
235
|
+
PostSlackIntegrationProxiedEvents200,
|
|
236
|
+
PostSlackIntegrationProxiedEventsBody,
|
|
237
|
+
PostSlackIntegrationProxiedInteractionsBody,
|
|
238
|
+
PostSlackIntegrationProxiedVerify200,
|
|
239
|
+
PostSlackIntegrationProxiedVerifyBody,
|
|
240
|
+
PostSlackIntegrationSettingsSlackAppIntegrations200,
|
|
241
|
+
PostSlackIntegrationSettingsSlackAppIntegrationsIdRelationTestBody,
|
|
242
|
+
PostSlackIntegrationSettingsWithoutProxyTestBody,
|
|
243
|
+
PostUserGroups200,
|
|
244
|
+
PostUserGroupsBody,
|
|
245
|
+
PostUserGroupsIdUsersUsername200,
|
|
246
|
+
PostUsersInvite200,
|
|
247
|
+
PostUsersInviteParams,
|
|
248
|
+
PutAppSettingsAppSetting200,
|
|
249
|
+
PutAppSettingsFileUploadSettings200,
|
|
250
|
+
PutAppSettingsQuestionnaireSettings200,
|
|
251
|
+
PutAppSettingsSiteUrlSetting200,
|
|
252
|
+
PutAppSettingsSmtpSetting200,
|
|
253
|
+
PutBookmarkFolder200,
|
|
254
|
+
PutBookmarkFolderBody,
|
|
255
|
+
PutBookmarkFolderUpdateBookmark200,
|
|
256
|
+
PutBookmarkFolderUpdateBookmarkBody,
|
|
257
|
+
PutBookmarks200,
|
|
258
|
+
PutCustomizeSettingCustomizeCss200,
|
|
259
|
+
PutCustomizeSettingCustomizeLogo200,
|
|
260
|
+
PutCustomizeSettingCustomizeNoscript200,
|
|
261
|
+
PutCustomizeSettingCustomizeScript200,
|
|
262
|
+
PutCustomizeSettingCustomizeTitle200,
|
|
263
|
+
PutCustomizeSettingFunction200,
|
|
264
|
+
PutCustomizeSettingHighlight200,
|
|
265
|
+
PutCustomizeSettingLayout200,
|
|
266
|
+
PutCustomizeSettingPresentation200,
|
|
267
|
+
PutCustomizeSettingSidebar200,
|
|
268
|
+
PutCustomizeSettingTheme200,
|
|
269
|
+
PutCustomizeSettingUploadBrandLogo200,
|
|
270
|
+
PutCustomizeSettingUploadBrandLogoBody,
|
|
271
|
+
PutExternalUserGroupsId200,
|
|
272
|
+
PutExternalUserGroupsIdBody,
|
|
273
|
+
PutExternalUserGroupsKeycloakSync202,
|
|
274
|
+
PutExternalUserGroupsKeycloakSyncSettings204,
|
|
275
|
+
PutExternalUserGroupsKeycloakSyncSettingsBody,
|
|
276
|
+
PutExternalUserGroupsLdapSync202,
|
|
277
|
+
PutExternalUserGroupsLdapSyncSettings204,
|
|
278
|
+
PutExternalUserGroupsLdapSyncSettingsBody,
|
|
279
|
+
PutForgotPassword200,
|
|
280
|
+
PutForgotPasswordBody,
|
|
281
|
+
PutMarkdownSettingIndent200,
|
|
282
|
+
PutMarkdownSettingLineBreak200,
|
|
283
|
+
PutNotificationSettingGlobalNotificationId200,
|
|
284
|
+
PutNotificationSettingGlobalNotificationIdEnabled200,
|
|
285
|
+
PutNotificationSettingGlobalNotificationIdEnabledBody,
|
|
286
|
+
PutPage200,
|
|
287
|
+
PutPageBody,
|
|
288
|
+
PutPageIdContentWidth200,
|
|
289
|
+
PutPageIdContentWidthBody,
|
|
290
|
+
PutPageIdGrantBody,
|
|
291
|
+
PutPageIdSyncLatestRevisionBodyToYjsDraft200,
|
|
292
|
+
PutPageIdSyncLatestRevisionBodyToYjsDraftBody,
|
|
293
|
+
PutPageSubscribeBody,
|
|
294
|
+
PutPersonalSetting200,
|
|
295
|
+
PutPersonalSettingApiToken200,
|
|
296
|
+
PutPersonalSettingAssociateLdap200,
|
|
297
|
+
PutPersonalSettingAssociateLdapBody,
|
|
298
|
+
PutPersonalSettingDisassociateLdap200,
|
|
299
|
+
PutPersonalSettingEditorSettings200,
|
|
300
|
+
PutPersonalSettingEditorSettingsBody,
|
|
301
|
+
PutPersonalSettingImageType200,
|
|
302
|
+
PutPersonalSettingImageTypeBody,
|
|
303
|
+
PutPersonalSettingInAppNotificationSettings200,
|
|
304
|
+
PutPersonalSettingInAppNotificationSettingsBody,
|
|
305
|
+
PutPersonalSettingPassword200,
|
|
306
|
+
PutPersonalSettingPasswordBody,
|
|
307
|
+
PutPersonalSettingQuestionnaireSettings200,
|
|
308
|
+
PutPersonalSettingQuestionnaireSettingsBody,
|
|
309
|
+
PutPluginsIdActivate200,
|
|
310
|
+
PutQuestionnaireAnswer201,
|
|
311
|
+
PutQuestionnaireAnswer204,
|
|
312
|
+
PutQuestionnaireAnswerBody,
|
|
313
|
+
PutQuestionnaireDeny201,
|
|
314
|
+
PutQuestionnaireDeny204,
|
|
315
|
+
PutQuestionnaireDenyBody,
|
|
316
|
+
PutQuestionnaireSkip201,
|
|
317
|
+
PutQuestionnaireSkip204,
|
|
318
|
+
PutQuestionnaireSkipBody,
|
|
319
|
+
PutSearchIndices200,
|
|
320
|
+
PutSearchIndicesBody,
|
|
321
|
+
PutSecuritySettingAuthenticationEnabled200,
|
|
322
|
+
PutSecuritySettingAuthenticationEnabledBody,
|
|
323
|
+
PutSecuritySettingGithubOauth200,
|
|
324
|
+
PutSecuritySettingGoogleOauth200,
|
|
325
|
+
PutSecuritySettingLdap200,
|
|
326
|
+
PutSecuritySettingLocalSetting200,
|
|
327
|
+
PutSecuritySettingOidc200,
|
|
328
|
+
PutSecuritySettingSaml200,
|
|
329
|
+
PutSecuritySettingShareLinkSetting200,
|
|
330
|
+
PutSlackIntegrationLegacySetting200,
|
|
331
|
+
PutSlackIntegrationLegacySettingBody,
|
|
332
|
+
PutSlackIntegrationSettingsProxyUri200,
|
|
333
|
+
PutSlackIntegrationSettingsProxyUriBody,
|
|
334
|
+
PutSlackIntegrationSettingsSlackAppIntegrationsIdPermissions200,
|
|
335
|
+
PutSlackIntegrationSettingsSlackAppIntegrationsIdPermissionsBody,
|
|
336
|
+
PutSlackIntegrationSettingsSlackAppIntegrationsIdRegenerateTokens200,
|
|
337
|
+
PutSlackIntegrationSettingsWithoutProxyUpdatePermissionsBody,
|
|
338
|
+
PutSlackIntegrationSettingsWithoutProxyUpdateSettingsBody,
|
|
339
|
+
PutUserGroupsId200,
|
|
340
|
+
PutUserGroupsIdBody,
|
|
341
|
+
PutUserUiSettings200,
|
|
342
|
+
PutUserUiSettingsBody,
|
|
343
|
+
PutUsersIdActivate200,
|
|
344
|
+
PutUsersIdDeactivate200,
|
|
345
|
+
PutUsersIdGrantAdmin200,
|
|
346
|
+
PutUsersIdGrantReadOnly200,
|
|
347
|
+
PutUsersIdRevokeAdmin200,
|
|
348
|
+
PutUsersIdRevokeReadOnly200,
|
|
349
|
+
PutUsersResetPassword200,
|
|
350
|
+
PutUsersResetPasswordBody,
|
|
351
|
+
PutUsersResetPasswordEmailBody,
|
|
352
|
+
PutUsersSendInvitationEmail200,
|
|
353
|
+
PutUsersSendInvitationEmailBody,
|
|
354
|
+
PutUsersUpdateImageUrlCache200,
|
|
355
|
+
PutUsersUpdateImageUrlCacheBody,
|
|
356
|
+
QuestionnaireSettingParams,
|
|
357
|
+
SamlAuthSetting,
|
|
358
|
+
SesSettingParams,
|
|
359
|
+
SesSettingResponseParams,
|
|
360
|
+
ShareLinkSetting,
|
|
361
|
+
ShareLinkSimple,
|
|
362
|
+
SiteUrlSettingParams,
|
|
363
|
+
SmtpSettingParams,
|
|
364
|
+
StatisticsUserResponse,
|
|
365
|
+
SyncStatus,
|
|
366
|
+
UserNotification,
|
|
367
|
+
UserNotificationParams,
|
|
368
|
+
XssParams,
|
|
369
|
+
} from './index.schemas.js';
|
|
370
|
+
|
|
371
|
+
import { customInstance } from '../../utils/axios-instance.js';
|
|
372
|
+
|
|
373
|
+
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
374
|
+
|
|
375
|
+
export const getGrowirestapiv3 = () => {
|
|
376
|
+
/**
|
|
377
|
+
* Get user group relations
|
|
378
|
+
* @summary /external-user-group-relations
|
|
379
|
+
*/
|
|
380
|
+
const getExternalUserGroupRelations = (params?: GetExternalUserGroupRelationsParams, options?: SecondParameter<typeof customInstance>) => {
|
|
381
|
+
return customInstance<GetExternalUserGroupRelations200>({ url: `/external-user-group-relations`, method: 'GET', params }, options);
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @summary /external-user-groups
|
|
386
|
+
*/
|
|
387
|
+
const getExternalUserGroups = (params?: GetExternalUserGroupsParams, options?: SecondParameter<typeof customInstance>) => {
|
|
388
|
+
return customInstance<GetExternalUserGroups200>({ url: `/external-user-groups`, method: 'GET', params }, options);
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* @summary /external-user-groups/ancestors
|
|
393
|
+
*/
|
|
394
|
+
const getExternalUserGroupsAncestors = (params: GetExternalUserGroupsAncestorsParams, options?: SecondParameter<typeof customInstance>) => {
|
|
395
|
+
return customInstance<GetExternalUserGroupsAncestors200>({ url: `/external-user-groups/ancestors`, method: 'GET', params }, options);
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* @summary /external-user-groups/children
|
|
400
|
+
*/
|
|
401
|
+
const getExternalUserGroupsChildren = (params?: GetExternalUserGroupsChildrenParams, options?: SecondParameter<typeof customInstance>) => {
|
|
402
|
+
return customInstance<GetExternalUserGroupsChildren200>({ url: `/external-user-groups/children`, method: 'GET', params }, options);
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @summary /external-user-groups/{id}
|
|
407
|
+
*/
|
|
408
|
+
const getExternalUserGroupsId = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
409
|
+
return customInstance<GetExternalUserGroupsId200>({ url: `/external-user-groups/${id}`, method: 'GET' }, options);
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* @summary /external-user-groups/{id}
|
|
414
|
+
*/
|
|
415
|
+
const deleteExternalUserGroupsId = (id: string, params: DeleteExternalUserGroupsIdParams, options?: SecondParameter<typeof customInstance>) => {
|
|
416
|
+
return customInstance<DeleteExternalUserGroupsId200>({ url: `/external-user-groups/${id}`, method: 'DELETE', params }, options);
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @summary /external-user-groups/{id}
|
|
421
|
+
*/
|
|
422
|
+
const putExternalUserGroupsId = (id: string, putExternalUserGroupsIdBody: PutExternalUserGroupsIdBody, options?: SecondParameter<typeof customInstance>) => {
|
|
423
|
+
return customInstance<PutExternalUserGroupsId200>(
|
|
424
|
+
{ url: `/external-user-groups/${id}`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putExternalUserGroupsIdBody },
|
|
425
|
+
options,
|
|
426
|
+
);
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @summary /external-user-groups/{id}/external-user-group-relations
|
|
431
|
+
*/
|
|
432
|
+
const getExternalUserGroupsIdExternalUserGroupRelations = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
433
|
+
return customInstance<GetExternalUserGroupsIdExternalUserGroupRelations200>(
|
|
434
|
+
{ url: `/external-user-groups/${id}/external-user-group-relations`, method: 'GET' },
|
|
435
|
+
options,
|
|
436
|
+
);
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* @summary Get LDAP sync settings
|
|
441
|
+
*/
|
|
442
|
+
const getExternalUserGroupsLdapSyncSettings = (options?: SecondParameter<typeof customInstance>) => {
|
|
443
|
+
return customInstance<GetExternalUserGroupsLdapSyncSettings200>({ url: `/external-user-groups/ldap/sync-settings`, method: 'GET' }, options);
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* @summary Update LDAP sync settings
|
|
448
|
+
*/
|
|
449
|
+
const putExternalUserGroupsLdapSyncSettings = (
|
|
450
|
+
putExternalUserGroupsLdapSyncSettingsBody: PutExternalUserGroupsLdapSyncSettingsBody,
|
|
451
|
+
options?: SecondParameter<typeof customInstance>,
|
|
452
|
+
) => {
|
|
453
|
+
return customInstance<PutExternalUserGroupsLdapSyncSettings204>(
|
|
454
|
+
{
|
|
455
|
+
url: `/external-user-groups/ldap/sync-settings`,
|
|
456
|
+
method: 'PUT',
|
|
457
|
+
headers: { 'Content-Type': 'application/json' },
|
|
458
|
+
data: putExternalUserGroupsLdapSyncSettingsBody,
|
|
459
|
+
},
|
|
460
|
+
options,
|
|
461
|
+
);
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* @summary Get Keycloak sync settings
|
|
466
|
+
*/
|
|
467
|
+
const getExternalUserGroupsKeycloakSyncSettings = (options?: SecondParameter<typeof customInstance>) => {
|
|
468
|
+
return customInstance<GetExternalUserGroupsKeycloakSyncSettings200>({ url: `/external-user-groups/keycloak/sync-settings`, method: 'GET' }, options);
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* @summary /external-user-groups/keycloak/sync-settings
|
|
473
|
+
*/
|
|
474
|
+
const putExternalUserGroupsKeycloakSyncSettings = (
|
|
475
|
+
putExternalUserGroupsKeycloakSyncSettingsBody: PutExternalUserGroupsKeycloakSyncSettingsBody,
|
|
476
|
+
options?: SecondParameter<typeof customInstance>,
|
|
477
|
+
) => {
|
|
478
|
+
return customInstance<PutExternalUserGroupsKeycloakSyncSettings204>(
|
|
479
|
+
{
|
|
480
|
+
url: `/external-user-groups/keycloak/sync-settings`,
|
|
481
|
+
method: 'PUT',
|
|
482
|
+
headers: { 'Content-Type': 'application/json' },
|
|
483
|
+
data: putExternalUserGroupsKeycloakSyncSettingsBody,
|
|
484
|
+
},
|
|
485
|
+
options,
|
|
486
|
+
);
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* @summary Start LDAP sync process
|
|
491
|
+
*/
|
|
492
|
+
const putExternalUserGroupsLdapSync = (options?: SecondParameter<typeof customInstance>) => {
|
|
493
|
+
return customInstance<PutExternalUserGroupsLdapSync202>({ url: `/external-user-groups/ldap/sync`, method: 'PUT' }, options);
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* @summary /external-user-groups/keycloak/sync
|
|
498
|
+
*/
|
|
499
|
+
const putExternalUserGroupsKeycloakSync = (options?: SecondParameter<typeof customInstance>) => {
|
|
500
|
+
return customInstance<PutExternalUserGroupsKeycloakSync202>({ url: `/external-user-groups/keycloak/sync`, method: 'PUT' }, options);
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* @summary /external-user-groups/ldap/sync-status
|
|
505
|
+
*/
|
|
506
|
+
const getExternalUserGroupsLdapSyncStatus = (options?: SecondParameter<typeof customInstance>) => {
|
|
507
|
+
return customInstance<SyncStatus>({ url: `/external-user-groups/ldap/sync-status`, method: 'GET' }, options);
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Get questionnaire orders
|
|
512
|
+
* @summary /questionnaire/orders
|
|
513
|
+
*/
|
|
514
|
+
const getQuestionnaireOrders = (options?: SecondParameter<typeof customInstance>) => {
|
|
515
|
+
return customInstance<GetQuestionnaireOrders200>({ url: `/questionnaire/orders`, method: 'GET' }, options);
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Get questionnaire is enabled
|
|
520
|
+
* @summary /questionnaire/is-enabled
|
|
521
|
+
*/
|
|
522
|
+
const getQuestionnaireIsEnabled = (options?: SecondParameter<typeof customInstance>) => {
|
|
523
|
+
return customInstance<GetQuestionnaireIsEnabled200>({ url: `/questionnaire/is-enabled`, method: 'GET' }, options);
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Post proactive questionnaire answer
|
|
528
|
+
* @summary /questionnaire/proactive/answer
|
|
529
|
+
*/
|
|
530
|
+
const postQuestionnaireProactiveAnswer = (
|
|
531
|
+
postQuestionnaireProactiveAnswerBody: PostQuestionnaireProactiveAnswerBody,
|
|
532
|
+
options?: SecondParameter<typeof customInstance>,
|
|
533
|
+
) => {
|
|
534
|
+
return customInstance<PostQuestionnaireProactiveAnswer200>(
|
|
535
|
+
{ url: `/questionnaire/proactive/answer`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postQuestionnaireProactiveAnswerBody },
|
|
536
|
+
options,
|
|
537
|
+
);
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Post questionnaire answer
|
|
542
|
+
* @summary /questionnaire/answer
|
|
543
|
+
*/
|
|
544
|
+
const putQuestionnaireAnswer = (putQuestionnaireAnswerBody: PutQuestionnaireAnswerBody, options?: SecondParameter<typeof customInstance>) => {
|
|
545
|
+
return customInstance<PutQuestionnaireAnswer201 | PutQuestionnaireAnswer204>(
|
|
546
|
+
{ url: `/questionnaire/answer`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putQuestionnaireAnswerBody },
|
|
547
|
+
options,
|
|
548
|
+
);
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Skip questionnaire
|
|
553
|
+
* @summary /questionnaire/skip
|
|
554
|
+
*/
|
|
555
|
+
const putQuestionnaireSkip = (putQuestionnaireSkipBody: PutQuestionnaireSkipBody, options?: SecondParameter<typeof customInstance>) => {
|
|
556
|
+
return customInstance<PutQuestionnaireSkip201 | PutQuestionnaireSkip204>(
|
|
557
|
+
{ url: `/questionnaire/skip`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putQuestionnaireSkipBody },
|
|
558
|
+
options,
|
|
559
|
+
);
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Deny questionnaire
|
|
564
|
+
* @summary /questionnaire/deny
|
|
565
|
+
*/
|
|
566
|
+
const putQuestionnaireDeny = (putQuestionnaireDenyBody: PutQuestionnaireDenyBody, options?: SecondParameter<typeof customInstance>) => {
|
|
567
|
+
return customInstance<PutQuestionnaireDeny201 | PutQuestionnaireDeny204>(
|
|
568
|
+
{ url: `/questionnaire/deny`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putQuestionnaireDenyBody },
|
|
569
|
+
options,
|
|
570
|
+
);
|
|
571
|
+
};
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Get all templates
|
|
575
|
+
* @summary /templates
|
|
576
|
+
*/
|
|
577
|
+
const getTemplates = (params?: GetTemplatesParams, options?: SecondParameter<typeof customInstance>) => {
|
|
578
|
+
return customInstance<GetTemplates200>({ url: `/templates`, method: 'GET', params }, options);
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Get a preset template
|
|
583
|
+
* @summary /templates/preset-templates/{templateId}/{locale}
|
|
584
|
+
*/
|
|
585
|
+
const getTemplatesPresetTemplatesTemplateIdLocale = (templateId: string, locale: string, options?: SecondParameter<typeof customInstance>) => {
|
|
586
|
+
return customInstance<GetTemplatesPresetTemplatesTemplateIdLocale200>(
|
|
587
|
+
{ url: `/templates/preset-templates/${templateId}/${locale}`, method: 'GET' },
|
|
588
|
+
options,
|
|
589
|
+
);
|
|
590
|
+
};
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Get a plugin template
|
|
594
|
+
* @summary /templates/plugin-templates/{organizationId}/{reposId}/{templateId}/{locale}
|
|
595
|
+
*/
|
|
596
|
+
const getTemplatesPluginTemplatesOrganizationIdReposIdTemplateIdLocale = (
|
|
597
|
+
organizationId: string,
|
|
598
|
+
reposId: string,
|
|
599
|
+
templateId: string,
|
|
600
|
+
locale: string,
|
|
601
|
+
options?: SecondParameter<typeof customInstance>,
|
|
602
|
+
) => {
|
|
603
|
+
return customInstance<GetTemplatesPluginTemplatesOrganizationIdReposIdTemplateIdLocale200>(
|
|
604
|
+
{ url: `/templates/plugin-templates/${organizationId}/${reposId}/${templateId}/${locale}`, method: 'GET' },
|
|
605
|
+
options,
|
|
606
|
+
);
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Install a plugin
|
|
611
|
+
* @summary /plugins
|
|
612
|
+
*/
|
|
613
|
+
const postPlugins = (postPluginsBody: PostPluginsBody, options?: SecondParameter<typeof customInstance>) => {
|
|
614
|
+
return customInstance<PostPlugins200>({ url: `/plugins`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPluginsBody }, options);
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Activate a plugin
|
|
619
|
+
* @summary /plugins/{id}/activate
|
|
620
|
+
*/
|
|
621
|
+
const putPluginsIdActivate = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
622
|
+
return customInstance<PutPluginsIdActivate200>({ url: `/plugins/${id}/activate`, method: 'PUT' }, options);
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Remove a plugin
|
|
627
|
+
* @summary /plugins/{id}/remove
|
|
628
|
+
*/
|
|
629
|
+
const deletePluginsIdRemove = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
630
|
+
return customInstance<DeletePluginsIdRemove200>({ url: `/plugins/${id}/remove`, method: 'DELETE' }, options);
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @summary /activity
|
|
635
|
+
*/
|
|
636
|
+
const getActivity = (params?: GetActivityParams, options?: SecondParameter<typeof customInstance>) => {
|
|
637
|
+
return customInstance<ActivityResponse>({ url: `/activity`, method: 'GET', params }, options);
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Get adminHome parameters
|
|
642
|
+
* @summary /admin-home
|
|
643
|
+
*/
|
|
644
|
+
const getAdminHome = (options?: SecondParameter<typeof customInstance>) => {
|
|
645
|
+
return customInstance<GetAdminHome200>({ url: `/admin-home/`, method: 'GET' }, options);
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* get app setting params
|
|
650
|
+
* @summary /app-settings
|
|
651
|
+
*/
|
|
652
|
+
const getAppSettings = (options?: SecondParameter<typeof customInstance>) => {
|
|
653
|
+
return customInstance<GetAppSettings200>({ url: `/app-settings`, method: 'GET' }, options);
|
|
654
|
+
};
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Update app setting
|
|
658
|
+
* @summary /app-settings/app-setting
|
|
659
|
+
*/
|
|
660
|
+
const putAppSettingsAppSetting = (appSettingPutParams: AppSettingPutParams, options?: SecondParameter<typeof customInstance>) => {
|
|
661
|
+
return customInstance<PutAppSettingsAppSetting200>(
|
|
662
|
+
{ url: `/app-settings/app-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: appSettingPutParams },
|
|
663
|
+
options,
|
|
664
|
+
);
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Update site url setting
|
|
669
|
+
* @summary /app-settings/site-url-setting
|
|
670
|
+
*/
|
|
671
|
+
const putAppSettingsSiteUrlSetting = (siteUrlSettingParams: SiteUrlSettingParams, options?: SecondParameter<typeof customInstance>) => {
|
|
672
|
+
return customInstance<PutAppSettingsSiteUrlSetting200>(
|
|
673
|
+
{ url: `/app-settings/site-url-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: siteUrlSettingParams },
|
|
674
|
+
options,
|
|
675
|
+
);
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Update smtp setting
|
|
680
|
+
* @summary /app-settings/smtp-setting
|
|
681
|
+
*/
|
|
682
|
+
const putAppSettingsSmtpSetting = (smtpSettingParams: SmtpSettingParams, options?: SecondParameter<typeof customInstance>) => {
|
|
683
|
+
return customInstance<PutAppSettingsSmtpSetting200>(
|
|
684
|
+
{ url: `/app-settings/smtp-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: smtpSettingParams },
|
|
685
|
+
options,
|
|
686
|
+
);
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Send test mail for smtp
|
|
691
|
+
* @summary /app-settings/smtp-setting
|
|
692
|
+
*/
|
|
693
|
+
const postAppSettingsSmtpTest = (options?: SecondParameter<typeof customInstance>) => {
|
|
694
|
+
return customInstance<PostAppSettingsSmtpTest200>({ url: `/app-settings/smtp-test`, method: 'POST' }, options);
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Update ses setting
|
|
699
|
+
* @summary /app-settings/ses-setting
|
|
700
|
+
*/
|
|
701
|
+
const putAppSettingsSesSetting = (sesSettingParams: SesSettingParams, options?: SecondParameter<typeof customInstance>) => {
|
|
702
|
+
return customInstance<SesSettingResponseParams>(
|
|
703
|
+
{ url: `/app-settings/ses-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: sesSettingParams },
|
|
704
|
+
options,
|
|
705
|
+
);
|
|
706
|
+
};
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* Update fileUploadSetting
|
|
710
|
+
* @summary /app-settings/file-upload-setting
|
|
711
|
+
*/
|
|
712
|
+
const putAppSettingsFileUploadSettings = (fileUploadSettingParams: FileUploadSettingParams, options?: SecondParameter<typeof customInstance>) => {
|
|
713
|
+
return customInstance<PutAppSettingsFileUploadSettings200>(
|
|
714
|
+
{ url: `/app-settings/file-upload-settings`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: fileUploadSettingParams },
|
|
715
|
+
options,
|
|
716
|
+
);
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Update QuestionnaireSetting
|
|
721
|
+
* @summary /app-settings/questionnaire-settings
|
|
722
|
+
*/
|
|
723
|
+
const putAppSettingsQuestionnaireSettings = (questionnaireSettingParams: QuestionnaireSettingParams, options?: SecondParameter<typeof customInstance>) => {
|
|
724
|
+
return customInstance<PutAppSettingsQuestionnaireSettings200>(
|
|
725
|
+
{ url: `/app-settings/questionnaire-settings`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: questionnaireSettingParams },
|
|
726
|
+
options,
|
|
727
|
+
);
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Update V5SchemaMigration
|
|
732
|
+
* @summary AccessToken supported.
|
|
733
|
+
*/
|
|
734
|
+
const postAppSettingsV5SchemaMigration = (options?: SecondParameter<typeof customInstance>) => {
|
|
735
|
+
return customInstance<PostAppSettingsV5SchemaMigration200>({ url: `/app-settings/v5-schema-migration`, method: 'POST' }, options);
|
|
736
|
+
};
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Update MaintenanceMode
|
|
740
|
+
* @summary AccessToken supported.
|
|
741
|
+
*/
|
|
742
|
+
const postAppSettingsMaintenanceMode = (
|
|
743
|
+
postAppSettingsMaintenanceModeBody: PostAppSettingsMaintenanceModeBody,
|
|
744
|
+
options?: SecondParameter<typeof customInstance>,
|
|
745
|
+
) => {
|
|
746
|
+
return customInstance<PostAppSettingsMaintenanceMode200>(
|
|
747
|
+
{ url: `/app-settings/maintenance-mode`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postAppSettingsMaintenanceModeBody },
|
|
748
|
+
options,
|
|
749
|
+
);
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* Get attachment list
|
|
754
|
+
*/
|
|
755
|
+
const getAttachmentList = (params: GetAttachmentListParams, options?: SecondParameter<typeof customInstance>) => {
|
|
756
|
+
return customInstance<AttachmentPaginateResult>({ url: `/attachment/list`, method: 'GET', params }, options);
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Get available capacity of uploaded file with GridFS
|
|
761
|
+
* @summary /attachment/limit
|
|
762
|
+
*/
|
|
763
|
+
const getAttachmentLimit = (params: GetAttachmentLimitParams, options?: SecondParameter<typeof customInstance>) => {
|
|
764
|
+
return customInstance<GetAttachmentLimit200>({ url: `/attachment/limit`, method: 'GET', params }, options);
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* Add attachment to the page
|
|
769
|
+
* @summary /attachment
|
|
770
|
+
*/
|
|
771
|
+
const postAttachment = (postAttachmentBody: PostAttachmentBodyOne | PostAttachmentBodyTwo, options?: SecondParameter<typeof customInstance>) => {
|
|
772
|
+
return customInstance<PostAttachment200>({ url: `/attachment`, method: 'POST', data: postAttachmentBody }, options);
|
|
773
|
+
};
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Get attachment
|
|
777
|
+
*/
|
|
778
|
+
const getAttachmentId = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
779
|
+
return customInstance<GetAttachmentId200>({ url: `/attachment/${id}`, method: 'GET' }, options);
|
|
780
|
+
};
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* Create a new bookmark folder
|
|
784
|
+
* @summary Create bookmark folder
|
|
785
|
+
*/
|
|
786
|
+
const postBookmarkFolder = (postBookmarkFolderBody: PostBookmarkFolderBody, options?: SecondParameter<typeof customInstance>) => {
|
|
787
|
+
return customInstance<PostBookmarkFolder200>(
|
|
788
|
+
{ url: `/bookmark-folder`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postBookmarkFolderBody },
|
|
789
|
+
options,
|
|
790
|
+
);
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Update a bookmark folder
|
|
795
|
+
* @summary Update bookmark folder
|
|
796
|
+
*/
|
|
797
|
+
const putBookmarkFolder = (putBookmarkFolderBody: PutBookmarkFolderBody, options?: SecondParameter<typeof customInstance>) => {
|
|
798
|
+
return customInstance<PutBookmarkFolder200>(
|
|
799
|
+
{ url: `/bookmark-folder`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putBookmarkFolderBody },
|
|
800
|
+
options,
|
|
801
|
+
);
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* List bookmark folders of a user
|
|
806
|
+
* @summary List bookmark folders of a user
|
|
807
|
+
*/
|
|
808
|
+
const getBookmarkFolderListUserId = (userId: string, options?: SecondParameter<typeof customInstance>) => {
|
|
809
|
+
return customInstance<GetBookmarkFolderListUserId200>({ url: `/bookmark-folder/list/${userId}`, method: 'GET' }, options);
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Delete a bookmark folder and its children
|
|
814
|
+
* @summary Delete bookmark folder
|
|
815
|
+
*/
|
|
816
|
+
const deleteBookmarkFolderId = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
817
|
+
return customInstance<DeleteBookmarkFolderId200>({ url: `/bookmark-folder/${id}`, method: 'DELETE' }, options);
|
|
818
|
+
};
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Update a bookmark folder
|
|
822
|
+
* @summary Update bookmark folder
|
|
823
|
+
*/
|
|
824
|
+
const postBookmarkFolderAddBookmarkToFolder = (
|
|
825
|
+
postBookmarkFolderAddBookmarkToFolderBody: PostBookmarkFolderAddBookmarkToFolderBody,
|
|
826
|
+
options?: SecondParameter<typeof customInstance>,
|
|
827
|
+
) => {
|
|
828
|
+
return customInstance<PostBookmarkFolderAddBookmarkToFolder200>(
|
|
829
|
+
{
|
|
830
|
+
url: `/bookmark-folder/add-bookmark-to-folder`,
|
|
831
|
+
method: 'POST',
|
|
832
|
+
headers: { 'Content-Type': 'application/json' },
|
|
833
|
+
data: postBookmarkFolderAddBookmarkToFolderBody,
|
|
834
|
+
},
|
|
835
|
+
options,
|
|
836
|
+
);
|
|
837
|
+
};
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Update a bookmark in a folder
|
|
841
|
+
* @summary Update bookmark in folder
|
|
842
|
+
*/
|
|
843
|
+
const putBookmarkFolderUpdateBookmark = (
|
|
844
|
+
putBookmarkFolderUpdateBookmarkBody: PutBookmarkFolderUpdateBookmarkBody,
|
|
845
|
+
options?: SecondParameter<typeof customInstance>,
|
|
846
|
+
) => {
|
|
847
|
+
return customInstance<PutBookmarkFolderUpdateBookmark200>(
|
|
848
|
+
{ url: `/bookmark-folder/update-bookmark`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putBookmarkFolderUpdateBookmarkBody },
|
|
849
|
+
options,
|
|
850
|
+
);
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Get bookmarked info
|
|
855
|
+
* @summary /bookmarks/info
|
|
856
|
+
*/
|
|
857
|
+
const getBookmarksInfo = (params?: GetBookmarksInfoParams, options?: SecondParameter<typeof customInstance>) => {
|
|
858
|
+
return customInstance<BookmarkInfo>({ url: `/bookmarks/info`, method: 'GET', params }, options);
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Get my bookmarked status
|
|
863
|
+
* @summary /bookmarks/{userId}
|
|
864
|
+
*/
|
|
865
|
+
const getBookmarksUserId = (userId: string, options?: SecondParameter<typeof customInstance>) => {
|
|
866
|
+
return customInstance<Bookmarks>({ url: `/bookmarks/${userId}`, method: 'GET' }, options);
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* Update bookmarked status
|
|
871
|
+
* @summary /bookmarks
|
|
872
|
+
*/
|
|
873
|
+
const putBookmarks = (bookmarkParams: BookmarkParams, options?: SecondParameter<typeof customInstance>) => {
|
|
874
|
+
return customInstance<PutBookmarks200>(
|
|
875
|
+
{ url: `/bookmarks`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: bookmarkParams },
|
|
876
|
+
options,
|
|
877
|
+
);
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* Get customize parameters
|
|
882
|
+
* @summary /customize-setting
|
|
883
|
+
*/
|
|
884
|
+
const getCustomizeSetting = (options?: SecondParameter<typeof customInstance>) => {
|
|
885
|
+
return customInstance<GetCustomizeSetting200>({ url: `/customize-setting`, method: 'GET' }, options);
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Get layout
|
|
890
|
+
* @summary /customize-setting/layout
|
|
891
|
+
*/
|
|
892
|
+
const getCustomizeSettingLayout = (options?: SecondParameter<typeof customInstance>) => {
|
|
893
|
+
return customInstance<CustomizeLayout>({ url: `/customize-setting/layout`, method: 'GET' }, options);
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Update layout
|
|
898
|
+
* @summary /customize-setting/layout
|
|
899
|
+
*/
|
|
900
|
+
const putCustomizeSettingLayout = (customizeLayout: CustomizeLayout, options?: SecondParameter<typeof customInstance>) => {
|
|
901
|
+
return customInstance<PutCustomizeSettingLayout200>(
|
|
902
|
+
{ url: `/customize-setting/layout`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeLayout },
|
|
903
|
+
options,
|
|
904
|
+
);
|
|
905
|
+
};
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Get theme
|
|
909
|
+
* @summary /customize-setting/theme
|
|
910
|
+
*/
|
|
911
|
+
const getCustomizeSettingTheme = (options?: SecondParameter<typeof customInstance>) => {
|
|
912
|
+
return customInstance<GetCustomizeSettingTheme200>({ url: `/customize-setting/theme`, method: 'GET' }, options);
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Update theme
|
|
917
|
+
* @summary /customize-setting/theme
|
|
918
|
+
*/
|
|
919
|
+
const putCustomizeSettingTheme = (customizeTheme: CustomizeTheme, options?: SecondParameter<typeof customInstance>) => {
|
|
920
|
+
return customInstance<PutCustomizeSettingTheme200>(
|
|
921
|
+
{ url: `/customize-setting/theme`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeTheme },
|
|
922
|
+
options,
|
|
923
|
+
);
|
|
924
|
+
};
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* Get sidebar
|
|
928
|
+
* @summary /customize-setting/sidebar
|
|
929
|
+
*/
|
|
930
|
+
const getCustomizeSettingSidebar = (options?: SecondParameter<typeof customInstance>) => {
|
|
931
|
+
return customInstance<CustomizeSidebar>({ url: `/customize-setting/sidebar`, method: 'GET' }, options);
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Update sidebar
|
|
936
|
+
* @summary /customize-setting/sidebar
|
|
937
|
+
*/
|
|
938
|
+
const putCustomizeSettingSidebar = (customizeSidebar: CustomizeSidebar, options?: SecondParameter<typeof customInstance>) => {
|
|
939
|
+
return customInstance<PutCustomizeSettingSidebar200>(
|
|
940
|
+
{ url: `/customize-setting/sidebar`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeSidebar },
|
|
941
|
+
options,
|
|
942
|
+
);
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Update function
|
|
947
|
+
* @summary /customize-setting/function
|
|
948
|
+
*/
|
|
949
|
+
const putCustomizeSettingFunction = (customizeFunction: CustomizeFunction, options?: SecondParameter<typeof customInstance>) => {
|
|
950
|
+
return customInstance<PutCustomizeSettingFunction200>(
|
|
951
|
+
{ url: `/customize-setting/function`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeFunction },
|
|
952
|
+
options,
|
|
953
|
+
);
|
|
954
|
+
};
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Update presentation
|
|
958
|
+
* @summary /customize-setting/presentation
|
|
959
|
+
*/
|
|
960
|
+
const putCustomizeSettingPresentation = (customizePresentation: CustomizePresentation, options?: SecondParameter<typeof customInstance>) => {
|
|
961
|
+
return customInstance<PutCustomizeSettingPresentation200>(
|
|
962
|
+
{ url: `/customize-setting/presentation`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizePresentation },
|
|
963
|
+
options,
|
|
964
|
+
);
|
|
965
|
+
};
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Update highlight
|
|
969
|
+
* @summary /customize-setting/highlight
|
|
970
|
+
*/
|
|
971
|
+
const putCustomizeSettingHighlight = (customizeHighlight: CustomizeHighlight, options?: SecondParameter<typeof customInstance>) => {
|
|
972
|
+
return customInstance<PutCustomizeSettingHighlight200>(
|
|
973
|
+
{ url: `/customize-setting/highlight`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeHighlight },
|
|
974
|
+
options,
|
|
975
|
+
);
|
|
976
|
+
};
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Update title
|
|
980
|
+
* @summary /customize-setting/customizeTitle
|
|
981
|
+
*/
|
|
982
|
+
const putCustomizeSettingCustomizeTitle = (customizeTitle: CustomizeTitle, options?: SecondParameter<typeof customInstance>) => {
|
|
983
|
+
return customInstance<PutCustomizeSettingCustomizeTitle200>(
|
|
984
|
+
{ url: `/customize-setting/customizeTitle`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeTitle },
|
|
985
|
+
options,
|
|
986
|
+
);
|
|
987
|
+
};
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Update noscript
|
|
991
|
+
* @summary /customize-setting/customize-noscript
|
|
992
|
+
*/
|
|
993
|
+
const putCustomizeSettingCustomizeNoscript = (customizeNoscript: CustomizeNoscript, options?: SecondParameter<typeof customInstance>) => {
|
|
994
|
+
return customInstance<PutCustomizeSettingCustomizeNoscript200>(
|
|
995
|
+
{ url: `/customize-setting/customize-noscript`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeNoscript },
|
|
996
|
+
options,
|
|
997
|
+
);
|
|
998
|
+
};
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* Update customize css
|
|
1002
|
+
* @summary /customize-setting/customize-css
|
|
1003
|
+
*/
|
|
1004
|
+
const putCustomizeSettingCustomizeCss = (customizeCss: CustomizeCss, options?: SecondParameter<typeof customInstance>) => {
|
|
1005
|
+
return customInstance<PutCustomizeSettingCustomizeCss200>(
|
|
1006
|
+
{ url: `/customize-setting/customize-css`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeCss },
|
|
1007
|
+
options,
|
|
1008
|
+
);
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* Update customize script
|
|
1013
|
+
* @summary /customize-setting/customize-script
|
|
1014
|
+
*/
|
|
1015
|
+
const putCustomizeSettingCustomizeScript = (customizeScript: CustomizeScript, options?: SecondParameter<typeof customInstance>) => {
|
|
1016
|
+
return customInstance<PutCustomizeSettingCustomizeScript200>(
|
|
1017
|
+
{ url: `/customize-setting/customize-script`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeScript },
|
|
1018
|
+
options,
|
|
1019
|
+
);
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Update customize logo
|
|
1024
|
+
* @summary /customize-setting/customize-logo
|
|
1025
|
+
*/
|
|
1026
|
+
const putCustomizeSettingCustomizeLogo = (customizeLogo: CustomizeLogo, options?: SecondParameter<typeof customInstance>) => {
|
|
1027
|
+
return customInstance<PutCustomizeSettingCustomizeLogo200>(
|
|
1028
|
+
{ url: `/customize-setting/customize-logo`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: customizeLogo },
|
|
1029
|
+
options,
|
|
1030
|
+
);
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Upload brand logo
|
|
1035
|
+
* @summary /customize-setting/upload-brand-logo
|
|
1036
|
+
*/
|
|
1037
|
+
const putCustomizeSettingUploadBrandLogo = (
|
|
1038
|
+
putCustomizeSettingUploadBrandLogoBody: PutCustomizeSettingUploadBrandLogoBody,
|
|
1039
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1040
|
+
) => {
|
|
1041
|
+
const formData = new FormData();
|
|
1042
|
+
if (putCustomizeSettingUploadBrandLogoBody.file !== undefined) {
|
|
1043
|
+
formData.append(`file`, putCustomizeSettingUploadBrandLogoBody.file);
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
return customInstance<PutCustomizeSettingUploadBrandLogo200>(
|
|
1047
|
+
{ url: `/customize-setting/upload-brand-logo`, method: 'PUT', headers: { 'Content-Type': 'multipart/form-data' }, data: formData },
|
|
1048
|
+
options,
|
|
1049
|
+
);
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Delete brand logo
|
|
1054
|
+
* @summary /customize-setting/delete-brand-logo
|
|
1055
|
+
*/
|
|
1056
|
+
const deleteCustomizeSettingDeleteBrandLogo = (options?: SecondParameter<typeof customInstance>) => {
|
|
1057
|
+
return customInstance<unknown>({ url: `/customize-setting/delete-brand-logo`, method: 'DELETE' }, options);
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* get properties of stored zip files for export
|
|
1062
|
+
* @summary /export/status
|
|
1063
|
+
*/
|
|
1064
|
+
const getExportStatus = (options?: SecondParameter<typeof customInstance>) => {
|
|
1065
|
+
return customInstance<GetExportStatus200>({ url: `/export/status`, method: 'GET' }, options);
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* generate zipped jsons for collections
|
|
1070
|
+
* @summary /export
|
|
1071
|
+
*/
|
|
1072
|
+
const postExport = (postExportBody: PostExportBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1073
|
+
return customInstance<PostExport200>({ url: `/export`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postExportBody }, options);
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* delete the file
|
|
1078
|
+
* @summary /export/{fileName}
|
|
1079
|
+
*/
|
|
1080
|
+
const deleteExportFileName = (fileName: string, options?: SecondParameter<typeof customInstance>) => {
|
|
1081
|
+
return customInstance<DeleteExportFileName200>({ url: `/export/${fileName}`, method: 'DELETE' }, options);
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* @summary Request password reset
|
|
1086
|
+
*/
|
|
1087
|
+
const postForgotPassword = (postForgotPasswordBody: PostForgotPasswordBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1088
|
+
return customInstance<PostForgotPassword200>(
|
|
1089
|
+
{ url: `/forgot-password`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postForgotPasswordBody },
|
|
1090
|
+
options,
|
|
1091
|
+
);
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* @summary Reset password
|
|
1096
|
+
*/
|
|
1097
|
+
const putForgotPassword = (putForgotPasswordBody: PutForgotPasswordBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1098
|
+
return customInstance<PutForgotPassword200>(
|
|
1099
|
+
{ url: `/forgot-password`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putForgotPasswordBody },
|
|
1100
|
+
options,
|
|
1101
|
+
);
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* @summary /g2g-transfer/files
|
|
1106
|
+
*/
|
|
1107
|
+
const getG2gTransferFiles = (options?: SecondParameter<typeof customInstance>) => {
|
|
1108
|
+
return customInstance<GetG2gTransferFiles200>({ url: `/g2g-transfer/files`, method: 'GET' }, options);
|
|
1109
|
+
};
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* @summary /g2g-transfer
|
|
1113
|
+
*/
|
|
1114
|
+
const postG2gTransfer = (postG2gTransferBody: PostG2gTransferBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1115
|
+
const formData = new FormData();
|
|
1116
|
+
if (postG2gTransferBody.file !== undefined) {
|
|
1117
|
+
formData.append(`file`, postG2gTransferBody.file);
|
|
1118
|
+
}
|
|
1119
|
+
if (postG2gTransferBody.collections !== undefined) {
|
|
1120
|
+
postG2gTransferBody.collections.forEach((value) => formData.append(`collections`, value));
|
|
1121
|
+
}
|
|
1122
|
+
if (postG2gTransferBody.optionsMap !== undefined) {
|
|
1123
|
+
formData.append(`optionsMap`, JSON.stringify(postG2gTransferBody.optionsMap));
|
|
1124
|
+
}
|
|
1125
|
+
if (postG2gTransferBody.operatorUserId !== undefined) {
|
|
1126
|
+
formData.append(`operatorUserId`, postG2gTransferBody.operatorUserId);
|
|
1127
|
+
}
|
|
1128
|
+
if (postG2gTransferBody.uploadConfigs !== undefined) {
|
|
1129
|
+
formData.append(`uploadConfigs`, JSON.stringify(postG2gTransferBody.uploadConfigs));
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
return customInstance<PostG2gTransfer200>(
|
|
1133
|
+
{ url: `/g2g-transfer`, method: 'POST', headers: { 'Content-Type': 'multipart/form-data' }, data: formData },
|
|
1134
|
+
options,
|
|
1135
|
+
);
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* @summary /g2g-transfer/attachment
|
|
1140
|
+
*/
|
|
1141
|
+
const postG2gTransferAttachment = (postG2gTransferAttachmentBody: PostG2gTransferAttachmentBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1142
|
+
const formData = new FormData();
|
|
1143
|
+
if (postG2gTransferAttachmentBody.file !== undefined) {
|
|
1144
|
+
formData.append(`file`, postG2gTransferAttachmentBody.file);
|
|
1145
|
+
}
|
|
1146
|
+
if (postG2gTransferAttachmentBody.attachmentMetadata !== undefined) {
|
|
1147
|
+
formData.append(`attachmentMetadata`, JSON.stringify(postG2gTransferAttachmentBody.attachmentMetadata));
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
return customInstance<PostG2gTransferAttachment200>(
|
|
1151
|
+
{ url: `/g2g-transfer/attachment`, method: 'POST', headers: { 'Content-Type': 'multipart/form-data' }, data: formData },
|
|
1152
|
+
options,
|
|
1153
|
+
);
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* @summary /g2g-transfer/growi-info
|
|
1158
|
+
*/
|
|
1159
|
+
const getG2gTransferGrowiInfo = (options?: SecondParameter<typeof customInstance>) => {
|
|
1160
|
+
return customInstance<GetG2gTransferGrowiInfo200>({ url: `/g2g-transfer/growi-info`, method: 'GET' }, options);
|
|
1161
|
+
};
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* @summary /g2g-transfer/generate-key
|
|
1165
|
+
*/
|
|
1166
|
+
const postG2gTransferGenerateKey = (postG2gTransferGenerateKeyBody: PostG2gTransferGenerateKeyBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1167
|
+
return customInstance<PostG2gTransferGenerateKey200>(
|
|
1168
|
+
{ url: `/g2g-transfer/generate-key`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postG2gTransferGenerateKeyBody },
|
|
1169
|
+
options,
|
|
1170
|
+
);
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* @summary /g2g-transfer/transfer
|
|
1175
|
+
*/
|
|
1176
|
+
const postG2gTransferTransfer = (postG2gTransferTransferBody: PostG2gTransferTransferBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1177
|
+
return customInstance<PostG2gTransferTransfer200>(
|
|
1178
|
+
{ url: `/g2g-transfer/transfer`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postG2gTransferTransferBody },
|
|
1179
|
+
options,
|
|
1180
|
+
);
|
|
1181
|
+
};
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* Check whether the server is healthy or not
|
|
1185
|
+
* @summary /healthcheck
|
|
1186
|
+
*/
|
|
1187
|
+
const getHealthcheck = (params?: GetHealthcheckParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1188
|
+
return customInstance<GetHealthcheck200>({ url: `/healthcheck`, method: 'GET', params }, options);
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Get import settings params
|
|
1193
|
+
* @summary /import
|
|
1194
|
+
*/
|
|
1195
|
+
const getImport = (options?: SecondParameter<typeof customInstance>) => {
|
|
1196
|
+
return customInstance<GetImport200>({ url: `/import`, method: 'GET' }, options);
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* import a collection from a zipped json
|
|
1201
|
+
* @summary /import
|
|
1202
|
+
*/
|
|
1203
|
+
const postImport = (postImportBody: PostImportBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1204
|
+
return customInstance<void>({ url: `/import`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postImportBody }, options);
|
|
1205
|
+
};
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* Get properties of stored zip files for import
|
|
1209
|
+
* @summary /import/status
|
|
1210
|
+
*/
|
|
1211
|
+
const getImportStatus = (options?: SecondParameter<typeof customInstance>) => {
|
|
1212
|
+
return customInstance<GetImportStatus200>({ url: `/import/status`, method: 'GET' }, options);
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* upload a zip file
|
|
1217
|
+
* @summary /import/upload
|
|
1218
|
+
*/
|
|
1219
|
+
const postImportUpload = (postImportUploadBody: PostImportUploadBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1220
|
+
const formData = new FormData();
|
|
1221
|
+
if (postImportUploadBody.file !== undefined) {
|
|
1222
|
+
formData.append(`file`, postImportUploadBody.file);
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
return customInstance<FileImportResponse>(
|
|
1226
|
+
{ url: `/import/upload`, method: 'POST', headers: { 'Content-Type': 'multipart/form-data' }, data: formData },
|
|
1227
|
+
options,
|
|
1228
|
+
);
|
|
1229
|
+
};
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* Delete all zip files
|
|
1233
|
+
* @summary /import/all
|
|
1234
|
+
*/
|
|
1235
|
+
const deleteImportAll = (options?: SecondParameter<typeof customInstance>) => {
|
|
1236
|
+
return customInstance<void>({ url: `/import/all`, method: 'DELETE' }, options);
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Get the list of in-app notifications
|
|
1241
|
+
* @summary /in-app-notification/list
|
|
1242
|
+
*/
|
|
1243
|
+
const getInAppNotificationList = (params?: GetInAppNotificationListParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1244
|
+
return customInstance<InAppNotificationListResponse>({ url: `/in-app-notification/list`, method: 'GET', params }, options);
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Get the status of in-app notifications
|
|
1249
|
+
* @summary /in-app-notification/status
|
|
1250
|
+
*/
|
|
1251
|
+
const getInAppNotificationStatus = (options?: SecondParameter<typeof customInstance>) => {
|
|
1252
|
+
return customInstance<GetInAppNotificationStatus200>({ url: `/in-app-notification/status`, method: 'GET' }, options);
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* Open the in-app notification
|
|
1257
|
+
* @summary /in-app-notification/open
|
|
1258
|
+
*/
|
|
1259
|
+
const postInAppNotificationOpen = (postInAppNotificationOpenBody: PostInAppNotificationOpenBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1260
|
+
return customInstance<PostInAppNotificationOpen200>(
|
|
1261
|
+
{ url: `/in-app-notification/open`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postInAppNotificationOpenBody },
|
|
1262
|
+
options,
|
|
1263
|
+
);
|
|
1264
|
+
};
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* Open all in-app notifications
|
|
1268
|
+
* @summary /in-app-notification/all-statuses-open
|
|
1269
|
+
*/
|
|
1270
|
+
const putInAppNotificationAllStatusesOpen = (options?: SecondParameter<typeof customInstance>) => {
|
|
1271
|
+
return customInstance<void>({ url: `/in-app-notification/all-statuses-open`, method: 'PUT' }, options);
|
|
1272
|
+
};
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* Install GROWI
|
|
1276
|
+
* @summary /installer
|
|
1277
|
+
*/
|
|
1278
|
+
const postInstaller = (postInstallerBody: PostInstallerBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1279
|
+
return customInstance<PostInstaller200>(
|
|
1280
|
+
{ url: `/installer`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postInstallerBody },
|
|
1281
|
+
options,
|
|
1282
|
+
);
|
|
1283
|
+
};
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* Activate invited user
|
|
1287
|
+
* @summary /invited
|
|
1288
|
+
*/
|
|
1289
|
+
const postInvited = (postInvitedBody: PostInvitedBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1290
|
+
return customInstance<PostInvited200>({ url: `/invited`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postInvitedBody }, options);
|
|
1291
|
+
};
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* Logout the currently authenticated user
|
|
1295
|
+
* @summary Logout user
|
|
1296
|
+
*/
|
|
1297
|
+
const postLogout = (options?: SecondParameter<typeof customInstance>) => {
|
|
1298
|
+
return customInstance<void>({ url: `/logout`, method: 'POST' }, options);
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* @summary Get markdown parameters
|
|
1303
|
+
*/
|
|
1304
|
+
const getMarkdownSetting = (options?: SecondParameter<typeof customInstance>) => {
|
|
1305
|
+
return customInstance<GetMarkdownSetting200>({ url: `/markdown-setting`, method: 'GET' }, options);
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* @summary Update lineBreak setting
|
|
1310
|
+
*/
|
|
1311
|
+
const putMarkdownSettingLineBreak = (lineBreakParams: LineBreakParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1312
|
+
return customInstance<PutMarkdownSettingLineBreak200>(
|
|
1313
|
+
{ url: `/markdown-setting/lineBreak`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: lineBreakParams },
|
|
1314
|
+
options,
|
|
1315
|
+
);
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* @summary Update indent setting
|
|
1320
|
+
*/
|
|
1321
|
+
const putMarkdownSettingIndent = (indentParams: IndentParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1322
|
+
return customInstance<PutMarkdownSettingIndent200>(
|
|
1323
|
+
{ url: `/markdown-setting/indent`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: indentParams },
|
|
1324
|
+
options,
|
|
1325
|
+
);
|
|
1326
|
+
};
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* Update xss
|
|
1330
|
+
* @summary Update XSS setting
|
|
1331
|
+
*/
|
|
1332
|
+
const putMarkdownSettingXss = (xssParams: XssParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1333
|
+
return customInstance<XssParams>(
|
|
1334
|
+
{ url: `/markdown-setting/xss`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: xssParams },
|
|
1335
|
+
options,
|
|
1336
|
+
);
|
|
1337
|
+
};
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* get mongodb collections names
|
|
1341
|
+
* @summary /mongo/collections
|
|
1342
|
+
*/
|
|
1343
|
+
const getMongoCollections = (options?: SecondParameter<typeof customInstance>) => {
|
|
1344
|
+
return customInstance<GetMongoCollections200>({ url: `/mongo/collections`, method: 'GET' }, options);
|
|
1345
|
+
};
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* Get notification paramators
|
|
1349
|
+
*/
|
|
1350
|
+
const getNotificationSetting = (options?: SecondParameter<typeof customInstance>) => {
|
|
1351
|
+
return customInstance<GetNotificationSetting200>({ url: `/notification-setting/`, method: 'GET' }, options);
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* add user notification setting
|
|
1356
|
+
*/
|
|
1357
|
+
const postNotificationSettingUserNotification = (userNotificationParams: UserNotificationParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1358
|
+
return customInstance<PostNotificationSettingUserNotification200>(
|
|
1359
|
+
{ url: `/notification-setting/user-notification`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: userNotificationParams },
|
|
1360
|
+
options,
|
|
1361
|
+
);
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* delete user trigger notification pattern
|
|
1366
|
+
*/
|
|
1367
|
+
const deleteNotificationSettingUserNotificationId = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
1368
|
+
return customInstance<UserNotification>({ url: `/notification-setting/user-notification/${id}`, method: 'DELETE' }, options);
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* get global notification setting
|
|
1373
|
+
*/
|
|
1374
|
+
const getNotificationSettingGlobalNotificationId = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
1375
|
+
return customInstance<GetNotificationSettingGlobalNotificationId200>({ url: `/notification-setting/global-notification/${id}`, method: 'GET' }, options);
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* update global notification
|
|
1380
|
+
*/
|
|
1381
|
+
const putNotificationSettingGlobalNotificationId = (
|
|
1382
|
+
id: string,
|
|
1383
|
+
globalNotificationParams: GlobalNotificationParams,
|
|
1384
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1385
|
+
) => {
|
|
1386
|
+
return customInstance<PutNotificationSettingGlobalNotificationId200>(
|
|
1387
|
+
{
|
|
1388
|
+
url: `/notification-setting/global-notification/${id}`,
|
|
1389
|
+
method: 'PUT',
|
|
1390
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1391
|
+
data: globalNotificationParams,
|
|
1392
|
+
},
|
|
1393
|
+
options,
|
|
1394
|
+
);
|
|
1395
|
+
};
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* delete global notification pattern
|
|
1399
|
+
*/
|
|
1400
|
+
const deleteNotificationSettingGlobalNotificationId = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
1401
|
+
return customInstance<GlobalNotification>({ url: `/notification-setting/global-notification/${id}`, method: 'DELETE' }, options);
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* add global notification
|
|
1406
|
+
*/
|
|
1407
|
+
const postNotificationSettingGlobalNotification = (globalNotificationParams: GlobalNotificationParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1408
|
+
return customInstance<PostNotificationSettingGlobalNotification200>(
|
|
1409
|
+
{ url: `/notification-setting/global-notification`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: globalNotificationParams },
|
|
1410
|
+
options,
|
|
1411
|
+
);
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* Update settings for notify for page grant
|
|
1416
|
+
*/
|
|
1417
|
+
const putNotificationSettingNotifyForPageGrant = (notifyForPageGrant: NotifyForPageGrant, options?: SecondParameter<typeof customInstance>) => {
|
|
1418
|
+
return customInstance<NotifyForPageGrant>(
|
|
1419
|
+
{ url: `/notification-setting/notify-for-page-grant`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: notifyForPageGrant },
|
|
1420
|
+
options,
|
|
1421
|
+
);
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* toggle enabled global notification
|
|
1426
|
+
*/
|
|
1427
|
+
const putNotificationSettingGlobalNotificationIdEnabled = (
|
|
1428
|
+
id: string,
|
|
1429
|
+
putNotificationSettingGlobalNotificationIdEnabledBody: PutNotificationSettingGlobalNotificationIdEnabledBody,
|
|
1430
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1431
|
+
) => {
|
|
1432
|
+
return customInstance<PutNotificationSettingGlobalNotificationIdEnabled200>(
|
|
1433
|
+
{
|
|
1434
|
+
url: `/notification-setting/global-notification/${id}/enabled`,
|
|
1435
|
+
method: 'PUT',
|
|
1436
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1437
|
+
data: putNotificationSettingGlobalNotificationIdEnabledBody,
|
|
1438
|
+
},
|
|
1439
|
+
options,
|
|
1440
|
+
);
|
|
1441
|
+
};
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* Get the root page
|
|
1445
|
+
* @summary /page-listing/root
|
|
1446
|
+
*/
|
|
1447
|
+
const getPageListingRoot = (options?: SecondParameter<typeof customInstance>) => {
|
|
1448
|
+
return customInstance<GetPageListingRoot200>({ url: `/page-listing/root`, method: 'GET' }, options);
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Get the ancestors and children of a page
|
|
1453
|
+
* @summary /page-listing/ancestors-children
|
|
1454
|
+
*/
|
|
1455
|
+
const getPageListingAncestorsChildren = (params: GetPageListingAncestorsChildrenParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1456
|
+
return customInstance<GetPageListingAncestorsChildren200>({ url: `/page-listing/ancestors-children`, method: 'GET', params }, options);
|
|
1457
|
+
};
|
|
1458
|
+
|
|
1459
|
+
/**
|
|
1460
|
+
* Get the children of a page
|
|
1461
|
+
* @summary /page-listing/children
|
|
1462
|
+
*/
|
|
1463
|
+
const getPageListingChildren = (params?: GetPageListingChildrenParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1464
|
+
return customInstance<GetPageListingChildren200>({ url: `/page-listing/children`, method: 'GET', params }, options);
|
|
1465
|
+
};
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* Get the information of a page
|
|
1469
|
+
* @summary /page-listing/info
|
|
1470
|
+
*/
|
|
1471
|
+
const getPageListingInfo = (params?: GetPageListingInfoParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1472
|
+
return customInstance<GetPageListingInfo200>({ url: `/page-listing/info`, method: 'GET', params }, options);
|
|
1473
|
+
};
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* get page by pagePath or pageId
|
|
1477
|
+
* @summary Get page
|
|
1478
|
+
*/
|
|
1479
|
+
const getPage = (params?: GetPageParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1480
|
+
return customInstance<Page>({ url: `/page`, method: 'GET', params }, options);
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
/**
|
|
1484
|
+
* Create page
|
|
1485
|
+
* @summary Create page
|
|
1486
|
+
*/
|
|
1487
|
+
const postPage = (postPageBody: PostPageBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1488
|
+
return customInstance<PostPage201>({ url: `/page`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPageBody }, options);
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Update page
|
|
1493
|
+
*/
|
|
1494
|
+
const putPage = (putPageBody: PutPageBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1495
|
+
return customInstance<PutPage200>({ url: `/page`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPageBody }, options);
|
|
1496
|
+
};
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* Check if a page exists at the specified path
|
|
1500
|
+
* @summary Check if page exists
|
|
1501
|
+
*/
|
|
1502
|
+
const getPageExist = (params: GetPageExistParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1503
|
+
return customInstance<GetPageExist200>({ url: `/page/exist`, method: 'GET', params }, options);
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Update liked status
|
|
1508
|
+
* @summary Get page likes
|
|
1509
|
+
*/
|
|
1510
|
+
const putPageLikes = (likeParams: LikeParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1511
|
+
return customInstance<Page>({ url: `/page/likes`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: likeParams }, options);
|
|
1512
|
+
};
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Retrieve current page info
|
|
1516
|
+
* @summary Get page info
|
|
1517
|
+
*/
|
|
1518
|
+
const getPageInfo = (pageParams: PageParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1519
|
+
return customInstance<PageInfo>({ url: `/page/info`, method: 'GET', headers: { 'Content-Type': 'application/json' } }, options);
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* Retrieve current page's grant data
|
|
1524
|
+
* @summary Get page grant data
|
|
1525
|
+
*/
|
|
1526
|
+
const getPageGrantData = (params?: GetPageGrantDataParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1527
|
+
return customInstance<GetPageGrantData200>({ url: `/page/grant-data`, method: 'GET', params }, options);
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Check if non-user related groups are granted access to a specific page or its closest ancestor
|
|
1532
|
+
* @summary Check if non-user related groups are granted page access
|
|
1533
|
+
*/
|
|
1534
|
+
const getPageNonUserRelatedGroupsGranted = (params: GetPageNonUserRelatedGroupsGrantedParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1535
|
+
return customInstance<GetPageNonUserRelatedGroupsGranted200>({ url: `/page/non-user-related-groups-granted`, method: 'GET', params }, options);
|
|
1536
|
+
};
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* Retrieve applicable grant data for a specific page
|
|
1540
|
+
* @summary Get applicable grant data
|
|
1541
|
+
*/
|
|
1542
|
+
const getPageApplicableGrant = (params: GetPageApplicableGrantParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1543
|
+
return customInstance<GetPageApplicableGrant200>({ url: `/page/applicable-grant`, method: 'GET', params }, options);
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Update the grant of a specific page
|
|
1548
|
+
* @summary Update page grant
|
|
1549
|
+
*/
|
|
1550
|
+
const putPageIdGrant = (pageId: string, putPageIdGrantBody: PutPageIdGrantBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1551
|
+
return customInstance<Page>({ url: `/${pageId}/grant`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPageIdGrantBody }, options);
|
|
1552
|
+
};
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* return page's markdown
|
|
1556
|
+
*/
|
|
1557
|
+
const getPageExportPageId = (pageId: string, options?: SecondParameter<typeof customInstance>) => {
|
|
1558
|
+
return customInstance<void>({ url: `/page/export/${pageId}`, method: 'GET' }, options);
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1562
|
+
* Get already exist paths
|
|
1563
|
+
* @summary Get already exist paths
|
|
1564
|
+
*/
|
|
1565
|
+
const getPageExistPaths = (params?: GetPageExistPathsParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1566
|
+
return customInstance<GetPageExistPaths200>({ url: `/page/exist-paths`, method: 'GET', params }, options);
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* Update subscription status
|
|
1571
|
+
* @summary Update subscription status
|
|
1572
|
+
*/
|
|
1573
|
+
const putPageSubscribe = (putPageSubscribeBody: PutPageSubscribeBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1574
|
+
return customInstance<Page>(
|
|
1575
|
+
{ url: `/page/subscribe`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPageSubscribeBody },
|
|
1576
|
+
options,
|
|
1577
|
+
);
|
|
1578
|
+
};
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* Update the content width setting for a specific page
|
|
1582
|
+
* @summary Update content width
|
|
1583
|
+
*/
|
|
1584
|
+
const putPageIdContentWidth = (pageId: string, putPageIdContentWidthBody: PutPageIdContentWidthBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1585
|
+
return customInstance<PutPageIdContentWidth200>(
|
|
1586
|
+
{ url: `/${pageId}/content-width`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPageIdContentWidthBody },
|
|
1587
|
+
options,
|
|
1588
|
+
);
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* Publish a specific page
|
|
1593
|
+
* @summary Publish page
|
|
1594
|
+
*/
|
|
1595
|
+
const putPageIdPublish = (pageId: string, options?: SecondParameter<typeof customInstance>) => {
|
|
1596
|
+
return customInstance<Page>({ url: `/${pageId}/publish`, method: 'PUT' }, options);
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* Unpublish a specific page
|
|
1601
|
+
* @summary Unpublish page
|
|
1602
|
+
*/
|
|
1603
|
+
const putPageIdUnpublish = (pageId: string, options?: SecondParameter<typeof customInstance>) => {
|
|
1604
|
+
return customInstance<Page>({ url: `/${pageId}/unpublish`, method: 'PUT' }, options);
|
|
1605
|
+
};
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* Retrieve Yjs data for a specific page
|
|
1609
|
+
* @summary Get Yjs data
|
|
1610
|
+
*/
|
|
1611
|
+
const getPageIdYjsData = (pageId: string, options?: SecondParameter<typeof customInstance>) => {
|
|
1612
|
+
return customInstance<GetPageIdYjsData200>({ url: `/${pageId}/yjs-data`, method: 'GET' }, options);
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* Sync the latest revision body to the Yjs draft for a specific page
|
|
1617
|
+
* @summary Sync latest revision body to Yjs draft
|
|
1618
|
+
*/
|
|
1619
|
+
const putPageIdSyncLatestRevisionBodyToYjsDraft = (
|
|
1620
|
+
pageId: string,
|
|
1621
|
+
putPageIdSyncLatestRevisionBodyToYjsDraftBody: PutPageIdSyncLatestRevisionBodyToYjsDraftBody,
|
|
1622
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1623
|
+
) => {
|
|
1624
|
+
return customInstance<PutPageIdSyncLatestRevisionBodyToYjsDraft200>(
|
|
1625
|
+
{
|
|
1626
|
+
url: `/${pageId}/sync-latest-revision-body-to-yjs-draft`,
|
|
1627
|
+
method: 'PUT',
|
|
1628
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1629
|
+
data: putPageIdSyncLatestRevisionBodyToYjsDraftBody,
|
|
1630
|
+
},
|
|
1631
|
+
options,
|
|
1632
|
+
);
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
/**
|
|
1636
|
+
* Get recently updated pages
|
|
1637
|
+
*/
|
|
1638
|
+
const getPagesRecent = (params?: GetPagesRecentParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1639
|
+
return customInstance<void>({ url: `/pages/recent`, method: 'GET', params }, options);
|
|
1640
|
+
};
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* Rename page
|
|
1644
|
+
*/
|
|
1645
|
+
const postPagesRename = (postPagesRenameBody: PostPagesRenameBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1646
|
+
return customInstance<PostPagesRename200>(
|
|
1647
|
+
{ url: `/pages/rename`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesRenameBody },
|
|
1648
|
+
options,
|
|
1649
|
+
);
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* Resume rename page operation
|
|
1654
|
+
*/
|
|
1655
|
+
const postPagesResumeRename = (postPagesResumeRenameBody: PostPagesResumeRenameBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1656
|
+
return customInstance<PostPagesResumeRename200>(
|
|
1657
|
+
{ url: `/pages/resume-rename`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesResumeRenameBody },
|
|
1658
|
+
options,
|
|
1659
|
+
);
|
|
1660
|
+
};
|
|
1661
|
+
|
|
1662
|
+
/**
|
|
1663
|
+
* empty trash
|
|
1664
|
+
*/
|
|
1665
|
+
const deletePagesEmptyTrash = (options?: SecondParameter<typeof customInstance>) => {
|
|
1666
|
+
return customInstance<DeletePagesEmptyTrash200>({ url: `/pages/empty-trash`, method: 'DELETE' }, options);
|
|
1667
|
+
};
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* Get list of pages
|
|
1671
|
+
*/
|
|
1672
|
+
const getPagesList = (params?: GetPagesListParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1673
|
+
return customInstance<GetPagesList200>({ url: `/pages/list`, method: 'GET', params }, options);
|
|
1674
|
+
};
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* Duplicate page
|
|
1678
|
+
*/
|
|
1679
|
+
const postPagesDuplicate = (postPagesDuplicateBody: PostPagesDuplicateBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1680
|
+
return customInstance<PostPagesDuplicate200>(
|
|
1681
|
+
{ url: `/pages/duplicate`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesDuplicateBody },
|
|
1682
|
+
options,
|
|
1683
|
+
);
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* Get subordinated pages
|
|
1688
|
+
*/
|
|
1689
|
+
const getPagesSubordinatedList = (params?: GetPagesSubordinatedListParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1690
|
+
return customInstance<GetPagesSubordinatedList200>({ url: `/pages/subordinated-list`, method: 'GET', params }, options);
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* Delete pages
|
|
1695
|
+
*/
|
|
1696
|
+
const postPagesDelete = (postPagesDeleteBody: PostPagesDeleteBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1697
|
+
return customInstance<PostPagesDelete200>(
|
|
1698
|
+
{ url: `/pages/delete`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesDeleteBody },
|
|
1699
|
+
options,
|
|
1700
|
+
);
|
|
1701
|
+
};
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* Convert pages by path
|
|
1705
|
+
*/
|
|
1706
|
+
const postPagesConvertPagesByPath = (postPagesConvertPagesByPathBody: PostPagesConvertPagesByPathBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1707
|
+
return customInstance<PostPagesConvertPagesByPath200>(
|
|
1708
|
+
{ url: `/pages/convert-pages-by-path`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesConvertPagesByPathBody },
|
|
1709
|
+
options,
|
|
1710
|
+
);
|
|
1711
|
+
};
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* Migrate legacy pages
|
|
1715
|
+
*/
|
|
1716
|
+
const postPagesLegacyPagesMigration = (
|
|
1717
|
+
postPagesLegacyPagesMigrationBody: PostPagesLegacyPagesMigrationBody,
|
|
1718
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1719
|
+
) => {
|
|
1720
|
+
return customInstance<PostPagesLegacyPagesMigration200>(
|
|
1721
|
+
{ url: `/pages/legacy-pages-migration`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postPagesLegacyPagesMigrationBody },
|
|
1722
|
+
options,
|
|
1723
|
+
);
|
|
1724
|
+
};
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* Get V5 migration status
|
|
1728
|
+
*/
|
|
1729
|
+
const getPagesV5MigrationStatus = (options?: SecondParameter<typeof customInstance>) => {
|
|
1730
|
+
return customInstance<GetPagesV5MigrationStatus200>({ url: `/pages/v5-migration-status`, method: 'GET' }, options);
|
|
1731
|
+
};
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* Get personal parameters
|
|
1735
|
+
* @summary /personal-setting
|
|
1736
|
+
*/
|
|
1737
|
+
const getPersonalSetting = (options?: SecondParameter<typeof customInstance>) => {
|
|
1738
|
+
return customInstance<GetPersonalSetting200>({ url: `/personal-setting`, method: 'GET' }, options);
|
|
1739
|
+
};
|
|
1740
|
+
|
|
1741
|
+
/**
|
|
1742
|
+
* Update personal setting
|
|
1743
|
+
* @summary /personal-setting
|
|
1744
|
+
*/
|
|
1745
|
+
const putPersonalSetting = (personalSettings: PersonalSettings, options?: SecondParameter<typeof customInstance>) => {
|
|
1746
|
+
return customInstance<PutPersonalSetting200>(
|
|
1747
|
+
{ url: `/personal-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: personalSettings },
|
|
1748
|
+
options,
|
|
1749
|
+
);
|
|
1750
|
+
};
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* Get whether a password has been set
|
|
1754
|
+
* @summary /personal-setting
|
|
1755
|
+
*/
|
|
1756
|
+
const getPersonalSettingIsPasswordSet = (options?: SecondParameter<typeof customInstance>) => {
|
|
1757
|
+
return customInstance<GetPersonalSettingIsPasswordSet200>({ url: `/personal-setting/is-password-set`, method: 'GET' }, options);
|
|
1758
|
+
};
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* Update user image type
|
|
1762
|
+
* @summary /personal-setting/image-type
|
|
1763
|
+
*/
|
|
1764
|
+
const putPersonalSettingImageType = (putPersonalSettingImageTypeBody: PutPersonalSettingImageTypeBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1765
|
+
return customInstance<PutPersonalSettingImageType200>(
|
|
1766
|
+
{ url: `/personal-setting/image-type`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPersonalSettingImageTypeBody },
|
|
1767
|
+
options,
|
|
1768
|
+
);
|
|
1769
|
+
};
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* Get external accounts that linked current user
|
|
1773
|
+
* @summary /personal-setting/external-accounts
|
|
1774
|
+
*/
|
|
1775
|
+
const getPersonalSettingExternalAccounts = (options?: SecondParameter<typeof customInstance>) => {
|
|
1776
|
+
return customInstance<GetPersonalSettingExternalAccounts200>({ url: `/personal-setting/external-accounts`, method: 'GET' }, options);
|
|
1777
|
+
};
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* Update user password
|
|
1781
|
+
* @summary /personal-setting/password
|
|
1782
|
+
*/
|
|
1783
|
+
const putPersonalSettingPassword = (putPersonalSettingPasswordBody: PutPersonalSettingPasswordBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1784
|
+
return customInstance<PutPersonalSettingPassword200>(
|
|
1785
|
+
{ url: `/personal-setting/password`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPersonalSettingPasswordBody },
|
|
1786
|
+
options,
|
|
1787
|
+
);
|
|
1788
|
+
};
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* Update user api token
|
|
1792
|
+
* @summary /personal-setting/api-token
|
|
1793
|
+
*/
|
|
1794
|
+
const putPersonalSettingApiToken = (options?: SecondParameter<typeof customInstance>) => {
|
|
1795
|
+
return customInstance<PutPersonalSettingApiToken200>({ url: `/personal-setting/api-token`, method: 'PUT' }, options);
|
|
1796
|
+
};
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* associate Ldap account
|
|
1800
|
+
* @summary /personal-setting/associate-ldap
|
|
1801
|
+
*/
|
|
1802
|
+
const putPersonalSettingAssociateLdap = (
|
|
1803
|
+
putPersonalSettingAssociateLdapBody: PutPersonalSettingAssociateLdapBody,
|
|
1804
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1805
|
+
) => {
|
|
1806
|
+
return customInstance<PutPersonalSettingAssociateLdap200>(
|
|
1807
|
+
{ url: `/personal-setting/associate-ldap`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPersonalSettingAssociateLdapBody },
|
|
1808
|
+
options,
|
|
1809
|
+
);
|
|
1810
|
+
};
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* disassociate Ldap account
|
|
1814
|
+
* @summary /personal-setting/disassociate-ldap
|
|
1815
|
+
*/
|
|
1816
|
+
const putPersonalSettingDisassociateLdap = (disassociateUser: DisassociateUser, options?: SecondParameter<typeof customInstance>) => {
|
|
1817
|
+
return customInstance<PutPersonalSettingDisassociateLdap200>(
|
|
1818
|
+
{ url: `/personal-setting/disassociate-ldap`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: disassociateUser },
|
|
1819
|
+
options,
|
|
1820
|
+
);
|
|
1821
|
+
};
|
|
1822
|
+
|
|
1823
|
+
/**
|
|
1824
|
+
* Put editor preferences
|
|
1825
|
+
* @summary /personal-setting/editor-settings
|
|
1826
|
+
*/
|
|
1827
|
+
const putPersonalSettingEditorSettings = (
|
|
1828
|
+
putPersonalSettingEditorSettingsBody: PutPersonalSettingEditorSettingsBody,
|
|
1829
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1830
|
+
) => {
|
|
1831
|
+
return customInstance<PutPersonalSettingEditorSettings200>(
|
|
1832
|
+
{ url: `/personal-setting/editor-settings`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putPersonalSettingEditorSettingsBody },
|
|
1833
|
+
options,
|
|
1834
|
+
);
|
|
1835
|
+
};
|
|
1836
|
+
|
|
1837
|
+
/**
|
|
1838
|
+
* Get editor preferences
|
|
1839
|
+
* @summary /personal-setting/editor-settings
|
|
1840
|
+
*/
|
|
1841
|
+
const getPersonalSettingEditorSettings = (options?: SecondParameter<typeof customInstance>) => {
|
|
1842
|
+
return customInstance<GetPersonalSettingEditorSettings200>({ url: `/personal-setting/editor-settings`, method: 'GET' }, options);
|
|
1843
|
+
};
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Put InAppNotificationSettings
|
|
1847
|
+
* @summary /personal-setting/in-app-notification-settings
|
|
1848
|
+
*/
|
|
1849
|
+
const putPersonalSettingInAppNotificationSettings = (
|
|
1850
|
+
putPersonalSettingInAppNotificationSettingsBody: PutPersonalSettingInAppNotificationSettingsBody,
|
|
1851
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1852
|
+
) => {
|
|
1853
|
+
return customInstance<PutPersonalSettingInAppNotificationSettings200>(
|
|
1854
|
+
{
|
|
1855
|
+
url: `/personal-setting/in-app-notification-settings`,
|
|
1856
|
+
method: 'PUT',
|
|
1857
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1858
|
+
data: putPersonalSettingInAppNotificationSettingsBody,
|
|
1859
|
+
},
|
|
1860
|
+
options,
|
|
1861
|
+
);
|
|
1862
|
+
};
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* Get InAppNotificationSettings
|
|
1866
|
+
* @summary personal-setting/in-app-notification-settings
|
|
1867
|
+
*/
|
|
1868
|
+
const getPersonalSettingInAppNotificationSettings = (options?: SecondParameter<typeof customInstance>) => {
|
|
1869
|
+
return customInstance<GetPersonalSettingInAppNotificationSettings200>({ url: `/personal-setting/in-app-notification-settings`, method: 'GET' }, options);
|
|
1870
|
+
};
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* Update the questionnaire settings for the current user
|
|
1874
|
+
* @summary /personal-setting/questionnaire-settings
|
|
1875
|
+
*/
|
|
1876
|
+
const putPersonalSettingQuestionnaireSettings = (
|
|
1877
|
+
putPersonalSettingQuestionnaireSettingsBody: PutPersonalSettingQuestionnaireSettingsBody,
|
|
1878
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1879
|
+
) => {
|
|
1880
|
+
return customInstance<PutPersonalSettingQuestionnaireSettings200>(
|
|
1881
|
+
{
|
|
1882
|
+
url: `/personal-setting/questionnaire-settings`,
|
|
1883
|
+
method: 'PUT',
|
|
1884
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1885
|
+
data: putPersonalSettingQuestionnaireSettingsBody,
|
|
1886
|
+
},
|
|
1887
|
+
options,
|
|
1888
|
+
);
|
|
1889
|
+
};
|
|
1890
|
+
|
|
1891
|
+
/**
|
|
1892
|
+
* Get revisions by page id
|
|
1893
|
+
*/
|
|
1894
|
+
const getRevisionsList = (params?: GetRevisionsListParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1895
|
+
return customInstance<GetRevisionsList200>({ url: `/revisions/list`, method: 'GET', params }, options);
|
|
1896
|
+
};
|
|
1897
|
+
|
|
1898
|
+
/**
|
|
1899
|
+
* Get one revision by id
|
|
1900
|
+
*/
|
|
1901
|
+
const getRevisionsId = (id: string, params: GetRevisionsIdParams, options?: SecondParameter<typeof customInstance>) => {
|
|
1902
|
+
return customInstance<GetRevisionsId200>({ url: `/revisions/${id}`, method: 'GET', params }, options);
|
|
1903
|
+
};
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* Get current status of indices
|
|
1907
|
+
* @summary /search/indices
|
|
1908
|
+
*/
|
|
1909
|
+
const getSearchIndices = (options?: SecondParameter<typeof customInstance>) => {
|
|
1910
|
+
return customInstance<GetSearchIndices200>({ url: `/search/indices`, method: 'GET' }, options);
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
* Operate indices
|
|
1915
|
+
* @summary /search/indices
|
|
1916
|
+
*/
|
|
1917
|
+
const putSearchIndices = (putSearchIndicesBody: PutSearchIndicesBody, options?: SecondParameter<typeof customInstance>) => {
|
|
1918
|
+
return customInstance<PutSearchIndices200>(
|
|
1919
|
+
{ url: `/search/indices`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putSearchIndicesBody },
|
|
1920
|
+
options,
|
|
1921
|
+
);
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
/**
|
|
1925
|
+
* Reconnect to Elasticsearch
|
|
1926
|
+
* @summary /search/connection
|
|
1927
|
+
*/
|
|
1928
|
+
const postSearchConnection = (options?: SecondParameter<typeof customInstance>) => {
|
|
1929
|
+
return customInstance<void>({ url: `/search/connection`, method: 'POST' }, options);
|
|
1930
|
+
};
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* Get security paramators
|
|
1934
|
+
*/
|
|
1935
|
+
const getSecuritySetting = (options?: SecondParameter<typeof customInstance>) => {
|
|
1936
|
+
return customInstance<GetSecuritySetting200>({ url: `/security-setting/`, method: 'GET' }, options);
|
|
1937
|
+
};
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* Update authentication isEnabled
|
|
1941
|
+
*/
|
|
1942
|
+
const putSecuritySettingAuthenticationEnabled = (
|
|
1943
|
+
putSecuritySettingAuthenticationEnabledBody: PutSecuritySettingAuthenticationEnabledBody,
|
|
1944
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1945
|
+
) => {
|
|
1946
|
+
return customInstance<PutSecuritySettingAuthenticationEnabled200>(
|
|
1947
|
+
{
|
|
1948
|
+
url: `/security-setting/authentication/enabled`,
|
|
1949
|
+
method: 'PUT',
|
|
1950
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1951
|
+
data: putSecuritySettingAuthenticationEnabledBody,
|
|
1952
|
+
},
|
|
1953
|
+
options,
|
|
1954
|
+
);
|
|
1955
|
+
};
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* Get setup strategies for passport
|
|
1959
|
+
* @summary /security-setting/authentication
|
|
1960
|
+
*/
|
|
1961
|
+
const getSecuritySettingAuthentication = (options?: SecondParameter<typeof customInstance>) => {
|
|
1962
|
+
return customInstance<GetSecuritySettingAuthentication200>({ url: `/security-setting/authentication`, method: 'GET' }, options);
|
|
1963
|
+
};
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* Update GeneralSetting
|
|
1967
|
+
* @summary /security-setting/general-setting
|
|
1968
|
+
*/
|
|
1969
|
+
const putSecuritySettingGeneralSetting = (generalSetting: GeneralSetting, options?: SecondParameter<typeof customInstance>) => {
|
|
1970
|
+
return customInstance<GeneralSetting>(
|
|
1971
|
+
{ url: `/security-setting/general-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: generalSetting },
|
|
1972
|
+
options,
|
|
1973
|
+
);
|
|
1974
|
+
};
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* Update ShareLink Setting
|
|
1978
|
+
* @summary /security-setting/share-link-setting
|
|
1979
|
+
*/
|
|
1980
|
+
const putSecuritySettingShareLinkSetting = (shareLinkSetting: ShareLinkSetting, options?: SecondParameter<typeof customInstance>) => {
|
|
1981
|
+
return customInstance<PutSecuritySettingShareLinkSetting200>(
|
|
1982
|
+
{ url: `/security-setting/share-link-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: shareLinkSetting },
|
|
1983
|
+
options,
|
|
1984
|
+
);
|
|
1985
|
+
};
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* Get All ShareLinks at Share Link Setting
|
|
1989
|
+
* @summary /security-setting/all-share-links
|
|
1990
|
+
*/
|
|
1991
|
+
const getSecuritySettingAllShareLinks = (options?: SecondParameter<typeof customInstance>) => {
|
|
1992
|
+
return customInstance<GetSecuritySettingAllShareLinks200>({ url: `/security-setting/all-share-links`, method: 'GET' }, options);
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* Delete All ShareLinks at Share Link Setting
|
|
1997
|
+
* @summary /security-setting/all-share-links
|
|
1998
|
+
*/
|
|
1999
|
+
const deleteSecuritySettingAllShareLinks = (options?: SecondParameter<typeof customInstance>) => {
|
|
2000
|
+
return customInstance<DeleteSecuritySettingAllShareLinks200>({ url: `/security-setting/all-share-links`, method: 'DELETE' }, options);
|
|
2001
|
+
};
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* Update LocalSetting
|
|
2005
|
+
* @summary /security-setting/local-setting
|
|
2006
|
+
*/
|
|
2007
|
+
const putSecuritySettingLocalSetting = (localSetting: LocalSetting, options?: SecondParameter<typeof customInstance>) => {
|
|
2008
|
+
return customInstance<PutSecuritySettingLocalSetting200>(
|
|
2009
|
+
{ url: `/security-setting/local-setting`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: localSetting },
|
|
2010
|
+
options,
|
|
2011
|
+
);
|
|
2012
|
+
};
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* Update LDAP setting
|
|
2016
|
+
* @summary /security-setting/ldap
|
|
2017
|
+
*/
|
|
2018
|
+
const putSecuritySettingLdap = (ldapAuthSetting: LdapAuthSetting, options?: SecondParameter<typeof customInstance>) => {
|
|
2019
|
+
return customInstance<PutSecuritySettingLdap200>(
|
|
2020
|
+
{ url: `/security-setting/ldap`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: ldapAuthSetting },
|
|
2021
|
+
options,
|
|
2022
|
+
);
|
|
2023
|
+
};
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* Update SAML setting
|
|
2027
|
+
* @summary /security-setting/saml
|
|
2028
|
+
*/
|
|
2029
|
+
const putSecuritySettingSaml = (samlAuthSetting: SamlAuthSetting, options?: SecondParameter<typeof customInstance>) => {
|
|
2030
|
+
return customInstance<PutSecuritySettingSaml200>(
|
|
2031
|
+
{ url: `/security-setting/saml`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: samlAuthSetting },
|
|
2032
|
+
options,
|
|
2033
|
+
);
|
|
2034
|
+
};
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* Update OpenID Connect setting
|
|
2038
|
+
* @summary /security-setting/oidc
|
|
2039
|
+
*/
|
|
2040
|
+
const putSecuritySettingOidc = (oidcAuthSetting: OidcAuthSetting, options?: SecondParameter<typeof customInstance>) => {
|
|
2041
|
+
return customInstance<PutSecuritySettingOidc200>(
|
|
2042
|
+
{ url: `/security-setting/oidc`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: oidcAuthSetting },
|
|
2043
|
+
options,
|
|
2044
|
+
);
|
|
2045
|
+
};
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* Update google OAuth
|
|
2049
|
+
* @summary /security-setting/google-oauth
|
|
2050
|
+
*/
|
|
2051
|
+
const putSecuritySettingGoogleOauth = (googleOAuthSetting: GoogleOAuthSetting, options?: SecondParameter<typeof customInstance>) => {
|
|
2052
|
+
return customInstance<PutSecuritySettingGoogleOauth200>(
|
|
2053
|
+
{ url: `/security-setting/google-oauth`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: googleOAuthSetting },
|
|
2054
|
+
options,
|
|
2055
|
+
);
|
|
2056
|
+
};
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* Update github OAuth
|
|
2060
|
+
* @summary /security-setting/github-oauth
|
|
2061
|
+
*/
|
|
2062
|
+
const putSecuritySettingGithubOauth = (gitHubOAuthSetting: GitHubOAuthSetting, options?: SecondParameter<typeof customInstance>) => {
|
|
2063
|
+
return customInstance<PutSecuritySettingGithubOauth200>(
|
|
2064
|
+
{ url: `/security-setting/github-oauth`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: gitHubOAuthSetting },
|
|
2065
|
+
options,
|
|
2066
|
+
);
|
|
2067
|
+
};
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* get share links
|
|
2071
|
+
*/
|
|
2072
|
+
const getShareLinks = (params: GetShareLinksParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2073
|
+
return customInstance<GetShareLinks200>({ url: `/share-links/`, method: 'GET', params }, options);
|
|
2074
|
+
};
|
|
2075
|
+
|
|
2076
|
+
/**
|
|
2077
|
+
* Create new share link
|
|
2078
|
+
*/
|
|
2079
|
+
const postShareLinks = (params: PostShareLinksParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2080
|
+
return customInstance<ShareLinkSimple>({ url: `/share-links/`, method: 'POST', params }, options);
|
|
2081
|
+
};
|
|
2082
|
+
|
|
2083
|
+
/**
|
|
2084
|
+
* delete all share links related one page
|
|
2085
|
+
* @summary delete all share links related one page
|
|
2086
|
+
*/
|
|
2087
|
+
const deleteShareLinks = (params: DeleteShareLinksParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2088
|
+
return customInstance<ShareLinkSimple>({ url: `/share-links/`, method: 'DELETE', params }, options);
|
|
2089
|
+
};
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* delete all share links
|
|
2093
|
+
* @summary delete all share links
|
|
2094
|
+
*/
|
|
2095
|
+
const deleteShareLinksAll = (options?: SecondParameter<typeof customInstance>) => {
|
|
2096
|
+
return customInstance<DeleteShareLinksAll200>({ url: `/share-links/all`, method: 'DELETE' }, options);
|
|
2097
|
+
};
|
|
2098
|
+
|
|
2099
|
+
/**
|
|
2100
|
+
* delete one share link related one page
|
|
2101
|
+
*/
|
|
2102
|
+
const deleteShareLinksId = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2103
|
+
return customInstance<void>({ url: `/share-links/${id}`, method: 'DELETE' }, options);
|
|
2104
|
+
};
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* Get slack configuration setting
|
|
2108
|
+
*/
|
|
2109
|
+
const getSlackIntegrationLegacySetting = (options?: SecondParameter<typeof customInstance>) => {
|
|
2110
|
+
return customInstance<GetSlackIntegrationLegacySetting200>({ url: `/slack-integration-legacy-setting/`, method: 'GET' }, options);
|
|
2111
|
+
};
|
|
2112
|
+
|
|
2113
|
+
/**
|
|
2114
|
+
* Update slack configuration setting
|
|
2115
|
+
*/
|
|
2116
|
+
const putSlackIntegrationLegacySetting = (
|
|
2117
|
+
putSlackIntegrationLegacySettingBody: PutSlackIntegrationLegacySettingBody,
|
|
2118
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2119
|
+
) => {
|
|
2120
|
+
return customInstance<PutSlackIntegrationLegacySetting200>(
|
|
2121
|
+
{ url: `/slack-integration-legacy-setting/`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putSlackIntegrationLegacySettingBody },
|
|
2122
|
+
options,
|
|
2123
|
+
);
|
|
2124
|
+
};
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* Get current settings and connection statuses.
|
|
2128
|
+
* @summary /slack-integration-settings
|
|
2129
|
+
*/
|
|
2130
|
+
const getSlackIntegrationSettings = (options?: SecondParameter<typeof customInstance>) => {
|
|
2131
|
+
return customInstance<GetSlackIntegrationSettings200>({ url: `/slack-integration-settings/`, method: 'GET' }, options);
|
|
2132
|
+
};
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* Put botType setting.
|
|
2136
|
+
* @summary /slack-integration/bot-type
|
|
2137
|
+
*/
|
|
2138
|
+
const putSlackIntegrationSettingsBotType = (botType: BotType, options?: SecondParameter<typeof customInstance>) => {
|
|
2139
|
+
return customInstance<void>(
|
|
2140
|
+
{ url: `/slack-integration-settings/bot-type/`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: botType },
|
|
2141
|
+
options,
|
|
2142
|
+
);
|
|
2143
|
+
};
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* Delete botType setting.
|
|
2147
|
+
* @summary /slack-integration/bot-type
|
|
2148
|
+
*/
|
|
2149
|
+
const deleteSlackIntegrationBotType = (botType: BotType, options?: SecondParameter<typeof customInstance>) => {
|
|
2150
|
+
return customInstance<void>(
|
|
2151
|
+
{ url: `/slack-integration/bot-type/`, method: 'DELETE', headers: { 'Content-Type': 'application/json' }, data: botType },
|
|
2152
|
+
options,
|
|
2153
|
+
);
|
|
2154
|
+
};
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* Update customBotWithoutProxy setting.
|
|
2158
|
+
* @summary /slack-integration-settings/without-proxy/update-settings
|
|
2159
|
+
*/
|
|
2160
|
+
const putSlackIntegrationSettingsWithoutProxyUpdateSettings = (
|
|
2161
|
+
putSlackIntegrationSettingsWithoutProxyUpdateSettingsBody: PutSlackIntegrationSettingsWithoutProxyUpdateSettingsBody,
|
|
2162
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2163
|
+
) => {
|
|
2164
|
+
return customInstance<void>(
|
|
2165
|
+
{
|
|
2166
|
+
url: `/slack-integration-settings/without-proxy/update-settings/`,
|
|
2167
|
+
method: 'PUT',
|
|
2168
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2169
|
+
data: putSlackIntegrationSettingsWithoutProxyUpdateSettingsBody,
|
|
2170
|
+
},
|
|
2171
|
+
options,
|
|
2172
|
+
);
|
|
2173
|
+
};
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* Update customBotWithoutProxy permissions.
|
|
2177
|
+
* @summary /slack-integration-settings/without-proxy/update-permissions
|
|
2178
|
+
*/
|
|
2179
|
+
const putSlackIntegrationSettingsWithoutProxyUpdatePermissions = (
|
|
2180
|
+
putSlackIntegrationSettingsWithoutProxyUpdatePermissionsBody: PutSlackIntegrationSettingsWithoutProxyUpdatePermissionsBody,
|
|
2181
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2182
|
+
) => {
|
|
2183
|
+
return customInstance<void>(
|
|
2184
|
+
{
|
|
2185
|
+
url: `/slack-integration-settings/without-proxy/update-permissions/`,
|
|
2186
|
+
method: 'PUT',
|
|
2187
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2188
|
+
data: putSlackIntegrationSettingsWithoutProxyUpdatePermissionsBody,
|
|
2189
|
+
},
|
|
2190
|
+
options,
|
|
2191
|
+
);
|
|
2192
|
+
};
|
|
2193
|
+
|
|
2194
|
+
/**
|
|
2195
|
+
* Generate SlackAppIntegrations
|
|
2196
|
+
* @summary /slack-integration-settings/slack-app-integrations
|
|
2197
|
+
*/
|
|
2198
|
+
const postSlackIntegrationSettingsSlackAppIntegrations = (options?: SecondParameter<typeof customInstance>) => {
|
|
2199
|
+
return customInstance<PostSlackIntegrationSettingsSlackAppIntegrations200>(
|
|
2200
|
+
{ url: `/slack-integration-settings/slack-app-integrations`, method: 'POST' },
|
|
2201
|
+
options,
|
|
2202
|
+
);
|
|
2203
|
+
};
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Delete accessTokens
|
|
2207
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id
|
|
2208
|
+
*/
|
|
2209
|
+
const deleteSlackIntegrationSettingsSlackAppIntegrationsId = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2210
|
+
return customInstance<DeleteSlackIntegrationSettingsSlackAppIntegrationsId200>(
|
|
2211
|
+
{ url: `/slack-integration-settings/slack-app-integrations/${id}`, method: 'DELETE' },
|
|
2212
|
+
options,
|
|
2213
|
+
);
|
|
2214
|
+
};
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* Update proxy uri
|
|
2218
|
+
* @summary /slack-integration-settings/proxy-uri
|
|
2219
|
+
*/
|
|
2220
|
+
const putSlackIntegrationSettingsProxyUri = (
|
|
2221
|
+
putSlackIntegrationSettingsProxyUriBody: PutSlackIntegrationSettingsProxyUriBody,
|
|
2222
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2223
|
+
) => {
|
|
2224
|
+
return customInstance<PutSlackIntegrationSettingsProxyUri200>(
|
|
2225
|
+
{
|
|
2226
|
+
url: `/slack-integration-settings/proxy-uri`,
|
|
2227
|
+
method: 'PUT',
|
|
2228
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2229
|
+
data: putSlackIntegrationSettingsProxyUriBody,
|
|
2230
|
+
},
|
|
2231
|
+
options,
|
|
2232
|
+
);
|
|
2233
|
+
};
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* Make SlackAppTokens primary
|
|
2237
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id/makeprimary
|
|
2238
|
+
*/
|
|
2239
|
+
const putSlackIntegrationSettingsSlackAppIntegrationsIdMakeprimary = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2240
|
+
return customInstance<void>({ url: `/slack-integration-settings/slack-app-integrations/${id}/makeprimary`, method: 'PUT' }, options);
|
|
2241
|
+
};
|
|
2242
|
+
|
|
2243
|
+
/**
|
|
2244
|
+
* Regenerate SlackAppTokens
|
|
2245
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id/regenerate-tokens
|
|
2246
|
+
*/
|
|
2247
|
+
const putSlackIntegrationSettingsSlackAppIntegrationsIdRegenerateTokens = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2248
|
+
return customInstance<PutSlackIntegrationSettingsSlackAppIntegrationsIdRegenerateTokens200>(
|
|
2249
|
+
{ url: `/slack-integration-settings/slack-app-integrations/${id}/regenerate-tokens`, method: 'PUT' },
|
|
2250
|
+
options,
|
|
2251
|
+
);
|
|
2252
|
+
};
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
* update supported commands
|
|
2256
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id/permissions
|
|
2257
|
+
*/
|
|
2258
|
+
const putSlackIntegrationSettingsSlackAppIntegrationsIdPermissions = (
|
|
2259
|
+
id: string,
|
|
2260
|
+
putSlackIntegrationSettingsSlackAppIntegrationsIdPermissionsBody: PutSlackIntegrationSettingsSlackAppIntegrationsIdPermissionsBody,
|
|
2261
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2262
|
+
) => {
|
|
2263
|
+
return customInstance<PutSlackIntegrationSettingsSlackAppIntegrationsIdPermissions200>(
|
|
2264
|
+
{
|
|
2265
|
+
url: `/slack-integration-settings/slack-app-integrations/${id}/permissions`,
|
|
2266
|
+
method: 'PUT',
|
|
2267
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2268
|
+
data: putSlackIntegrationSettingsSlackAppIntegrationsIdPermissionsBody,
|
|
2269
|
+
},
|
|
2270
|
+
options,
|
|
2271
|
+
);
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* Delete botType setting.
|
|
2276
|
+
* @summary /slack-integration-settings/slack-app-integrations/:id/relation-test
|
|
2277
|
+
*/
|
|
2278
|
+
const postSlackIntegrationSettingsSlackAppIntegrationsIdRelationTest = (
|
|
2279
|
+
id: string,
|
|
2280
|
+
postSlackIntegrationSettingsSlackAppIntegrationsIdRelationTestBody: PostSlackIntegrationSettingsSlackAppIntegrationsIdRelationTestBody,
|
|
2281
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2282
|
+
) => {
|
|
2283
|
+
return customInstance<void>(
|
|
2284
|
+
{
|
|
2285
|
+
url: `/slack-integration-settings/slack-app-integrations/${id}/relation-test`,
|
|
2286
|
+
method: 'POST',
|
|
2287
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2288
|
+
data: postSlackIntegrationSettingsSlackAppIntegrationsIdRelationTestBody,
|
|
2289
|
+
},
|
|
2290
|
+
options,
|
|
2291
|
+
);
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2294
|
+
/**
|
|
2295
|
+
* Test the connection with slack work space.
|
|
2296
|
+
* @summary /slack-integration-settings/without-proxy/test
|
|
2297
|
+
*/
|
|
2298
|
+
const postSlackIntegrationSettingsWithoutProxyTest = (
|
|
2299
|
+
postSlackIntegrationSettingsWithoutProxyTestBody: PostSlackIntegrationSettingsWithoutProxyTestBody,
|
|
2300
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2301
|
+
) => {
|
|
2302
|
+
return customInstance<void>(
|
|
2303
|
+
{
|
|
2304
|
+
url: `/slack-integration-settings/without-proxy/test`,
|
|
2305
|
+
method: 'POST',
|
|
2306
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2307
|
+
data: postSlackIntegrationSettingsWithoutProxyTestBody,
|
|
2308
|
+
},
|
|
2309
|
+
options,
|
|
2310
|
+
);
|
|
2311
|
+
};
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* Handle Slack commands
|
|
2315
|
+
* @summary /slack-integration/commands
|
|
2316
|
+
*/
|
|
2317
|
+
const postSlackIntegrationCommands = (
|
|
2318
|
+
postSlackIntegrationCommandsBody: PostSlackIntegrationCommandsBody,
|
|
2319
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2320
|
+
) => {
|
|
2321
|
+
return customInstance<string>(
|
|
2322
|
+
{ url: `/slack-integration/commands`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postSlackIntegrationCommandsBody },
|
|
2323
|
+
options,
|
|
2324
|
+
);
|
|
2325
|
+
};
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* Verify the access token
|
|
2329
|
+
* @summary /slack-integration/proxied/verify
|
|
2330
|
+
*/
|
|
2331
|
+
const postSlackIntegrationProxiedVerify = (
|
|
2332
|
+
postSlackIntegrationProxiedVerifyBody: PostSlackIntegrationProxiedVerifyBody,
|
|
2333
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2334
|
+
) => {
|
|
2335
|
+
return customInstance<PostSlackIntegrationProxiedVerify200>(
|
|
2336
|
+
{
|
|
2337
|
+
url: `/slack-integration/proxied/verify`,
|
|
2338
|
+
method: 'POST',
|
|
2339
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2340
|
+
data: postSlackIntegrationProxiedVerifyBody,
|
|
2341
|
+
},
|
|
2342
|
+
options,
|
|
2343
|
+
);
|
|
2344
|
+
};
|
|
2345
|
+
|
|
2346
|
+
/**
|
|
2347
|
+
* Handle Slack commands
|
|
2348
|
+
* @summary /slack-integration/proxied/commands
|
|
2349
|
+
*/
|
|
2350
|
+
const postSlackIntegrationProxiedCommands = (
|
|
2351
|
+
postSlackIntegrationProxiedCommandsBody: PostSlackIntegrationProxiedCommandsBody,
|
|
2352
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2353
|
+
) => {
|
|
2354
|
+
return customInstance<string>(
|
|
2355
|
+
{
|
|
2356
|
+
url: `/slack-integration/proxied/commands`,
|
|
2357
|
+
method: 'POST',
|
|
2358
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2359
|
+
data: postSlackIntegrationProxiedCommandsBody,
|
|
2360
|
+
},
|
|
2361
|
+
options,
|
|
2362
|
+
);
|
|
2363
|
+
};
|
|
2364
|
+
|
|
2365
|
+
/**
|
|
2366
|
+
* Handle Slack interactions
|
|
2367
|
+
* @summary /slack-integration/interactions
|
|
2368
|
+
*/
|
|
2369
|
+
const postSlackIntegrationInteractions = (
|
|
2370
|
+
postSlackIntegrationInteractionsBody: PostSlackIntegrationInteractionsBody,
|
|
2371
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2372
|
+
) => {
|
|
2373
|
+
return customInstance<void>(
|
|
2374
|
+
{ url: `/slack-integration/interactions`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postSlackIntegrationInteractionsBody },
|
|
2375
|
+
options,
|
|
2376
|
+
);
|
|
2377
|
+
};
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* Handle Slack interactions
|
|
2381
|
+
* @summary /slack-integration/proxied/interactions
|
|
2382
|
+
*/
|
|
2383
|
+
const postSlackIntegrationProxiedInteractions = (
|
|
2384
|
+
postSlackIntegrationProxiedInteractionsBody: PostSlackIntegrationProxiedInteractionsBody,
|
|
2385
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2386
|
+
) => {
|
|
2387
|
+
return customInstance<void>(
|
|
2388
|
+
{
|
|
2389
|
+
url: `/slack-integration/proxied/interactions`,
|
|
2390
|
+
method: 'POST',
|
|
2391
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2392
|
+
data: postSlackIntegrationProxiedInteractionsBody,
|
|
2393
|
+
},
|
|
2394
|
+
options,
|
|
2395
|
+
);
|
|
2396
|
+
};
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* Get supported commands
|
|
2400
|
+
* @summary /slack-integration/supported-commands
|
|
2401
|
+
*/
|
|
2402
|
+
const getSlackIntegrationSupportedCommands = (options?: SecondParameter<typeof customInstance>) => {
|
|
2403
|
+
return customInstance<GetSlackIntegrationSupportedCommands200>({ url: `/slack-integration/supported-commands`, method: 'GET' }, options);
|
|
2404
|
+
};
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* Handle Slack events
|
|
2408
|
+
* @summary /slack-integration/events
|
|
2409
|
+
*/
|
|
2410
|
+
const postSlackIntegrationEvents = (postSlackIntegrationEventsBody: PostSlackIntegrationEventsBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2411
|
+
return customInstance<PostSlackIntegrationEvents200>(
|
|
2412
|
+
{ url: `/slack-integration/events`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postSlackIntegrationEventsBody },
|
|
2413
|
+
options,
|
|
2414
|
+
);
|
|
2415
|
+
};
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* Handle Slack events
|
|
2419
|
+
* @summary /slack-integration/proxied/events
|
|
2420
|
+
*/
|
|
2421
|
+
const postSlackIntegrationProxiedEvents = (
|
|
2422
|
+
postSlackIntegrationProxiedEventsBody: PostSlackIntegrationProxiedEventsBody,
|
|
2423
|
+
options?: SecondParameter<typeof customInstance>,
|
|
2424
|
+
) => {
|
|
2425
|
+
return customInstance<PostSlackIntegrationProxiedEvents200>(
|
|
2426
|
+
{
|
|
2427
|
+
url: `/slack-integration/proxied/events`,
|
|
2428
|
+
method: 'POST',
|
|
2429
|
+
headers: { 'Content-Type': 'application/json' },
|
|
2430
|
+
data: postSlackIntegrationProxiedEventsBody,
|
|
2431
|
+
},
|
|
2432
|
+
options,
|
|
2433
|
+
);
|
|
2434
|
+
};
|
|
2435
|
+
|
|
2436
|
+
/**
|
|
2437
|
+
* Get statistics for user
|
|
2438
|
+
* @summary /statistics/user
|
|
2439
|
+
*/
|
|
2440
|
+
const getStatisticsUser = (options?: SecondParameter<typeof customInstance>) => {
|
|
2441
|
+
return customInstance<StatisticsUserResponse>({ url: `/statistics/user`, method: 'GET' }, options);
|
|
2442
|
+
};
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* @summary /complete-registration
|
|
2446
|
+
*/
|
|
2447
|
+
const postCompleteRegistration = (postCompleteRegistrationBody: PostCompleteRegistrationBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2448
|
+
return customInstance<PostCompleteRegistration200>(
|
|
2449
|
+
{ url: `/complete-registration`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postCompleteRegistrationBody },
|
|
2450
|
+
options,
|
|
2451
|
+
);
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
/**
|
|
2455
|
+
* Gets the user group relations
|
|
2456
|
+
* @summary /user-group-relations
|
|
2457
|
+
*/
|
|
2458
|
+
const getUserGroupRelations = (options?: SecondParameter<typeof customInstance>) => {
|
|
2459
|
+
return customInstance<GetUserGroupRelations200>({ url: `/user-group-relations`, method: 'GET' }, options);
|
|
2460
|
+
};
|
|
2461
|
+
|
|
2462
|
+
/**
|
|
2463
|
+
* Get usergroups
|
|
2464
|
+
* @summary /user-groups
|
|
2465
|
+
*/
|
|
2466
|
+
const getUserGroups = (params?: GetUserGroupsParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2467
|
+
return customInstance<GetUserGroups200>({ url: `/user-groups`, method: 'GET', params }, options);
|
|
2468
|
+
};
|
|
2469
|
+
|
|
2470
|
+
/**
|
|
2471
|
+
* Adds userGroup
|
|
2472
|
+
* @summary /user-groups
|
|
2473
|
+
*/
|
|
2474
|
+
const postUserGroups = (postUserGroupsBody: PostUserGroupsBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2475
|
+
return customInstance<PostUserGroups200>(
|
|
2476
|
+
{ url: `/user-groups`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postUserGroupsBody },
|
|
2477
|
+
options,
|
|
2478
|
+
);
|
|
2479
|
+
};
|
|
2480
|
+
|
|
2481
|
+
/**
|
|
2482
|
+
* Get ancestor user groups.
|
|
2483
|
+
* @summary /user-groups/ancestors
|
|
2484
|
+
*/
|
|
2485
|
+
const getUserGroupsAncestors = (params: GetUserGroupsAncestorsParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2486
|
+
return customInstance<GetUserGroupsAncestors200>({ url: `/user-groups/ancestors`, method: 'GET', params }, options);
|
|
2487
|
+
};
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* Get child user groups
|
|
2491
|
+
* @summary /user-groups/children
|
|
2492
|
+
*/
|
|
2493
|
+
const getUserGroupsChildren = (params?: GetUserGroupsChildrenParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2494
|
+
return customInstance<GetUserGroupsChildren200>({ url: `/user-groups/children`, method: 'GET', params }, options);
|
|
2495
|
+
};
|
|
2496
|
+
|
|
2497
|
+
/**
|
|
2498
|
+
* Get selectable parent UserGroups
|
|
2499
|
+
* @summary /selectable-parent-groups
|
|
2500
|
+
*/
|
|
2501
|
+
const getSelectableParentGroups = (params: GetSelectableParentGroupsParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2502
|
+
return customInstance<GetSelectableParentGroups200>({ url: `/selectable-parent-groups`, method: 'GET', params }, options);
|
|
2503
|
+
};
|
|
2504
|
+
|
|
2505
|
+
/**
|
|
2506
|
+
* Get selectable child UserGroups
|
|
2507
|
+
* @summary /selectable-child-groups
|
|
2508
|
+
*/
|
|
2509
|
+
const getSelectableChildGroups = (params: GetSelectableChildGroupsParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2510
|
+
return customInstance<GetSelectableChildGroups200>({ url: `/selectable-child-groups`, method: 'GET', params }, options);
|
|
2511
|
+
};
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* Get UserGroup from Group ID
|
|
2515
|
+
* @summary /user-groups/{id}
|
|
2516
|
+
*/
|
|
2517
|
+
const getUserGroupsId = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2518
|
+
return customInstance<GetUserGroupsId200>({ url: `/user-groups/${id}`, method: 'GET' }, options);
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
* Deletes userGroup
|
|
2523
|
+
* @summary /user-groups/{id}
|
|
2524
|
+
*/
|
|
2525
|
+
const deleteUserGroupsId = (id: string, params?: DeleteUserGroupsIdParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2526
|
+
return customInstance<DeleteUserGroupsId200>({ url: `/user-groups/${id}`, method: 'DELETE', params }, options);
|
|
2527
|
+
};
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Update userGroup
|
|
2531
|
+
* @summary /user-groups/{id}
|
|
2532
|
+
*/
|
|
2533
|
+
const putUserGroupsId = (id: string, putUserGroupsIdBody: PutUserGroupsIdBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2534
|
+
return customInstance<PutUserGroupsId200>(
|
|
2535
|
+
{ url: `/user-groups/${id}`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUserGroupsIdBody },
|
|
2536
|
+
options,
|
|
2537
|
+
);
|
|
2538
|
+
};
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* Get users related to the userGroup
|
|
2542
|
+
* @summary /user-groups/{id}/users
|
|
2543
|
+
*/
|
|
2544
|
+
const getUserGroupsIdUsers = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2545
|
+
return customInstance<GetUserGroupsIdUsers200>({ url: `/user-groups/${id}/users`, method: 'GET' }, options);
|
|
2546
|
+
};
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* Get users unrelated to the userGroup
|
|
2550
|
+
* @summary /user-groups/{id}/unrelated-users
|
|
2551
|
+
*/
|
|
2552
|
+
const getUserGroupsIdUnrelatedUsers = (id: string, params?: GetUserGroupsIdUnrelatedUsersParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2553
|
+
return customInstance<GetUserGroupsIdUnrelatedUsers200>({ url: `/user-groups/${id}/unrelated-users`, method: 'GET', params }, options);
|
|
2554
|
+
};
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Add a user to the userGroup
|
|
2558
|
+
* @summary /user-groups/{id}/users/{username}
|
|
2559
|
+
*/
|
|
2560
|
+
const postUserGroupsIdUsersUsername = (id: string, username: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2561
|
+
return customInstance<PostUserGroupsIdUsersUsername200>({ url: `/user-groups/${id}/users/${username}`, method: 'POST' }, options);
|
|
2562
|
+
};
|
|
2563
|
+
|
|
2564
|
+
/**
|
|
2565
|
+
* remove a user from the userGroup
|
|
2566
|
+
* @summary /user-groups/{id}/users/{username}
|
|
2567
|
+
*/
|
|
2568
|
+
const deleteUserGroupsIdUsersUsername = (id: string, username: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2569
|
+
return customInstance<DeleteUserGroupsIdUsersUsername200>({ url: `/user-groups/${id}/users/${username}`, method: 'DELETE' }, options);
|
|
2570
|
+
};
|
|
2571
|
+
|
|
2572
|
+
/**
|
|
2573
|
+
* Get the user group relations for the userGroup
|
|
2574
|
+
* @summary /user-groups/{id}/user-group-relations
|
|
2575
|
+
*/
|
|
2576
|
+
const getUserGroupsIdUserGroupRelations = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2577
|
+
return customInstance<GetUserGroupsIdUserGroupRelations200>({ url: `/user-groups/${id}/user-group-relations`, method: 'GET' }, options);
|
|
2578
|
+
};
|
|
2579
|
+
|
|
2580
|
+
/**
|
|
2581
|
+
* Get closed pages for the userGroup
|
|
2582
|
+
* @summary /user-groups/{id}/pages
|
|
2583
|
+
*/
|
|
2584
|
+
const getUserGroupsIdPages = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2585
|
+
return customInstance<GetUserGroupsIdPages200>({ url: `/user-groups/${id}/pages`, method: 'GET' }, options);
|
|
2586
|
+
};
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* Update the user's UI settings
|
|
2590
|
+
* @summary /user-ui-settings
|
|
2591
|
+
*/
|
|
2592
|
+
const putUserUiSettings = (putUserUiSettingsBody: PutUserUiSettingsBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2593
|
+
return customInstance<PutUserUiSettings200>(
|
|
2594
|
+
{ url: `/user-ui-settings`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUserUiSettingsBody },
|
|
2595
|
+
options,
|
|
2596
|
+
);
|
|
2597
|
+
};
|
|
2598
|
+
|
|
2599
|
+
/**
|
|
2600
|
+
* Select selected columns from users order by asc or desc
|
|
2601
|
+
* @summary /users
|
|
2602
|
+
*/
|
|
2603
|
+
const getUsers = (params?: GetUsersParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2604
|
+
return customInstance<GetUsers200>({ url: `/users`, method: 'GET', params }, options);
|
|
2605
|
+
};
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* @summary /usersIdReacent
|
|
2609
|
+
*/
|
|
2610
|
+
const getIdRecent = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2611
|
+
return customInstance<GetIdRecent200>({ url: `/${id}/recent`, method: 'GET' }, options);
|
|
2612
|
+
};
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* Create new users and send Emails
|
|
2616
|
+
* @summary /users/invite
|
|
2617
|
+
*/
|
|
2618
|
+
const postUsersInvite = (params?: PostUsersInviteParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2619
|
+
return customInstance<PostUsersInvite200>({ url: `/users/invite`, method: 'POST', params }, options);
|
|
2620
|
+
};
|
|
2621
|
+
|
|
2622
|
+
/**
|
|
2623
|
+
* Grant user admin
|
|
2624
|
+
* @summary /users/{id}/grant-admin
|
|
2625
|
+
*/
|
|
2626
|
+
const putUsersIdGrantAdmin = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2627
|
+
return customInstance<PutUsersIdGrantAdmin200>({ url: `/users/${id}/grant-admin`, method: 'PUT' }, options);
|
|
2628
|
+
};
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* Revoke user admin
|
|
2632
|
+
* @summary /users/{id}/revoke-admin
|
|
2633
|
+
*/
|
|
2634
|
+
const putUsersIdRevokeAdmin = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2635
|
+
return customInstance<PutUsersIdRevokeAdmin200>({ url: `/users/${id}/revoke-admin`, method: 'PUT' }, options);
|
|
2636
|
+
};
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* Grant user read only access
|
|
2640
|
+
* @summary /users/{id}/grant-read-only
|
|
2641
|
+
*/
|
|
2642
|
+
const putUsersIdGrantReadOnly = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2643
|
+
return customInstance<PutUsersIdGrantReadOnly200>({ url: `/users/${id}/grant-read-only`, method: 'PUT' }, options);
|
|
2644
|
+
};
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* Revoke user read only access
|
|
2648
|
+
* @summary /users/{id}/revoke-read-only
|
|
2649
|
+
*/
|
|
2650
|
+
const putUsersIdRevokeReadOnly = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2651
|
+
return customInstance<PutUsersIdRevokeReadOnly200>({ url: `/users/${id}/revoke-read-only`, method: 'PUT' }, options);
|
|
2652
|
+
};
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* Activate user
|
|
2656
|
+
* @summary /users/{id}/activate
|
|
2657
|
+
*/
|
|
2658
|
+
const putUsersIdActivate = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2659
|
+
return customInstance<PutUsersIdActivate200>({ url: `/users/${id}/activate`, method: 'PUT' }, options);
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
/**
|
|
2663
|
+
* Deactivate user
|
|
2664
|
+
* @summary /users/{id}/deactivate
|
|
2665
|
+
*/
|
|
2666
|
+
const putUsersIdDeactivate = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2667
|
+
return customInstance<PutUsersIdDeactivate200>({ url: `/users/${id}/deactivate`, method: 'PUT' }, options);
|
|
2668
|
+
};
|
|
2669
|
+
|
|
2670
|
+
/**
|
|
2671
|
+
* Delete user
|
|
2672
|
+
* @summary /users/{id}/remove
|
|
2673
|
+
*/
|
|
2674
|
+
const deleteUsersIdRemove = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2675
|
+
return customInstance<DeleteUsersIdRemove200>({ url: `/users/${id}/remove`, method: 'DELETE' }, options);
|
|
2676
|
+
};
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* Get external-account
|
|
2680
|
+
* @summary /users/external-accounts
|
|
2681
|
+
*/
|
|
2682
|
+
const getUsersExternalAccounts = (params?: GetUsersExternalAccountsParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2683
|
+
return customInstance<GetUsersExternalAccounts200>({ url: `/users/external-accounts`, method: 'GET', params }, options);
|
|
2684
|
+
};
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* Delete ExternalAccount
|
|
2688
|
+
* @summary /users/external-accounts/{id}/remove
|
|
2689
|
+
*/
|
|
2690
|
+
const deleteUsersExternalAccountsIdRemove = (id: string, options?: SecondParameter<typeof customInstance>) => {
|
|
2691
|
+
return customInstance<DeleteUsersExternalAccountsIdRemove200>({ url: `/users/external-accounts/${id}/remove`, method: 'DELETE' }, options);
|
|
2692
|
+
};
|
|
2693
|
+
|
|
2694
|
+
/**
|
|
2695
|
+
* update imageUrlCache
|
|
2696
|
+
* @summary /users/update.imageUrlCache
|
|
2697
|
+
*/
|
|
2698
|
+
const putUsersUpdateImageUrlCache = (putUsersUpdateImageUrlCacheBody: PutUsersUpdateImageUrlCacheBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2699
|
+
return customInstance<PutUsersUpdateImageUrlCache200>(
|
|
2700
|
+
{ url: `/users/update.imageUrlCache`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUsersUpdateImageUrlCacheBody },
|
|
2701
|
+
options,
|
|
2702
|
+
);
|
|
2703
|
+
};
|
|
2704
|
+
|
|
2705
|
+
/**
|
|
2706
|
+
* update imageUrlCache
|
|
2707
|
+
* @summary /users/reset-password
|
|
2708
|
+
*/
|
|
2709
|
+
const putUsersResetPassword = (putUsersResetPasswordBody: PutUsersResetPasswordBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2710
|
+
return customInstance<PutUsersResetPassword200>(
|
|
2711
|
+
{ url: `/users/reset-password`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUsersResetPasswordBody },
|
|
2712
|
+
options,
|
|
2713
|
+
);
|
|
2714
|
+
};
|
|
2715
|
+
|
|
2716
|
+
/**
|
|
2717
|
+
* send new password email
|
|
2718
|
+
* @summary /users/reset-password-email
|
|
2719
|
+
*/
|
|
2720
|
+
const putUsersResetPasswordEmail = (putUsersResetPasswordEmailBody: PutUsersResetPasswordEmailBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2721
|
+
return customInstance<void>(
|
|
2722
|
+
{ url: `/users/reset-password-email`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUsersResetPasswordEmailBody },
|
|
2723
|
+
options,
|
|
2724
|
+
);
|
|
2725
|
+
};
|
|
2726
|
+
|
|
2727
|
+
/**
|
|
2728
|
+
* send invitation email
|
|
2729
|
+
* @summary /users/send-invitation-email
|
|
2730
|
+
*/
|
|
2731
|
+
const putUsersSendInvitationEmail = (putUsersSendInvitationEmailBody: PutUsersSendInvitationEmailBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2732
|
+
return customInstance<PutUsersSendInvitationEmail200>(
|
|
2733
|
+
{ url: `/users/send-invitation-email`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putUsersSendInvitationEmailBody },
|
|
2734
|
+
options,
|
|
2735
|
+
);
|
|
2736
|
+
};
|
|
2737
|
+
|
|
2738
|
+
/**
|
|
2739
|
+
* Get list of users
|
|
2740
|
+
* @summary /users/list
|
|
2741
|
+
*/
|
|
2742
|
+
const getUsersList = (params?: GetUsersListParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2743
|
+
return customInstance<GetUsersList200>({ url: `/users/list`, method: 'GET', params }, options);
|
|
2744
|
+
};
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* Get list of usernames
|
|
2748
|
+
* @summary /users/usernames
|
|
2749
|
+
*/
|
|
2750
|
+
const getUsersUsernames = (params?: GetUsersUsernamesParams, options?: SecondParameter<typeof customInstance>) => {
|
|
2751
|
+
return customInstance<GetUsersUsernames200>({ url: `/users/usernames`, method: 'GET', params }, options);
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2754
|
+
/**
|
|
2755
|
+
* @summary /login
|
|
2756
|
+
*/
|
|
2757
|
+
const postLogin = (postLoginBody: PostLoginBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2758
|
+
return customInstance<PostLogin200>({ url: `/login`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postLoginBody }, options);
|
|
2759
|
+
};
|
|
2760
|
+
|
|
2761
|
+
/**
|
|
2762
|
+
* @summary /register
|
|
2763
|
+
*/
|
|
2764
|
+
const postRegister = (postRegisterBody: PostRegisterBody, options?: SecondParameter<typeof customInstance>) => {
|
|
2765
|
+
return customInstance<PostRegister200>(
|
|
2766
|
+
{ url: `/register`, method: 'POST', headers: { 'Content-Type': 'application/json' }, data: postRegisterBody },
|
|
2767
|
+
options,
|
|
2768
|
+
);
|
|
2769
|
+
};
|
|
2770
|
+
|
|
2771
|
+
return {
|
|
2772
|
+
getExternalUserGroupRelations,
|
|
2773
|
+
getExternalUserGroups,
|
|
2774
|
+
getExternalUserGroupsAncestors,
|
|
2775
|
+
getExternalUserGroupsChildren,
|
|
2776
|
+
getExternalUserGroupsId,
|
|
2777
|
+
deleteExternalUserGroupsId,
|
|
2778
|
+
putExternalUserGroupsId,
|
|
2779
|
+
getExternalUserGroupsIdExternalUserGroupRelations,
|
|
2780
|
+
getExternalUserGroupsLdapSyncSettings,
|
|
2781
|
+
putExternalUserGroupsLdapSyncSettings,
|
|
2782
|
+
getExternalUserGroupsKeycloakSyncSettings,
|
|
2783
|
+
putExternalUserGroupsKeycloakSyncSettings,
|
|
2784
|
+
putExternalUserGroupsLdapSync,
|
|
2785
|
+
putExternalUserGroupsKeycloakSync,
|
|
2786
|
+
getExternalUserGroupsLdapSyncStatus,
|
|
2787
|
+
getQuestionnaireOrders,
|
|
2788
|
+
getQuestionnaireIsEnabled,
|
|
2789
|
+
postQuestionnaireProactiveAnswer,
|
|
2790
|
+
putQuestionnaireAnswer,
|
|
2791
|
+
putQuestionnaireSkip,
|
|
2792
|
+
putQuestionnaireDeny,
|
|
2793
|
+
getTemplates,
|
|
2794
|
+
getTemplatesPresetTemplatesTemplateIdLocale,
|
|
2795
|
+
getTemplatesPluginTemplatesOrganizationIdReposIdTemplateIdLocale,
|
|
2796
|
+
postPlugins,
|
|
2797
|
+
putPluginsIdActivate,
|
|
2798
|
+
deletePluginsIdRemove,
|
|
2799
|
+
getActivity,
|
|
2800
|
+
getAdminHome,
|
|
2801
|
+
getAppSettings,
|
|
2802
|
+
putAppSettingsAppSetting,
|
|
2803
|
+
putAppSettingsSiteUrlSetting,
|
|
2804
|
+
putAppSettingsSmtpSetting,
|
|
2805
|
+
postAppSettingsSmtpTest,
|
|
2806
|
+
putAppSettingsSesSetting,
|
|
2807
|
+
putAppSettingsFileUploadSettings,
|
|
2808
|
+
putAppSettingsQuestionnaireSettings,
|
|
2809
|
+
postAppSettingsV5SchemaMigration,
|
|
2810
|
+
postAppSettingsMaintenanceMode,
|
|
2811
|
+
getAttachmentList,
|
|
2812
|
+
getAttachmentLimit,
|
|
2813
|
+
postAttachment,
|
|
2814
|
+
getAttachmentId,
|
|
2815
|
+
postBookmarkFolder,
|
|
2816
|
+
putBookmarkFolder,
|
|
2817
|
+
getBookmarkFolderListUserId,
|
|
2818
|
+
deleteBookmarkFolderId,
|
|
2819
|
+
postBookmarkFolderAddBookmarkToFolder,
|
|
2820
|
+
putBookmarkFolderUpdateBookmark,
|
|
2821
|
+
getBookmarksInfo,
|
|
2822
|
+
getBookmarksUserId,
|
|
2823
|
+
putBookmarks,
|
|
2824
|
+
getCustomizeSetting,
|
|
2825
|
+
getCustomizeSettingLayout,
|
|
2826
|
+
putCustomizeSettingLayout,
|
|
2827
|
+
getCustomizeSettingTheme,
|
|
2828
|
+
putCustomizeSettingTheme,
|
|
2829
|
+
getCustomizeSettingSidebar,
|
|
2830
|
+
putCustomizeSettingSidebar,
|
|
2831
|
+
putCustomizeSettingFunction,
|
|
2832
|
+
putCustomizeSettingPresentation,
|
|
2833
|
+
putCustomizeSettingHighlight,
|
|
2834
|
+
putCustomizeSettingCustomizeTitle,
|
|
2835
|
+
putCustomizeSettingCustomizeNoscript,
|
|
2836
|
+
putCustomizeSettingCustomizeCss,
|
|
2837
|
+
putCustomizeSettingCustomizeScript,
|
|
2838
|
+
putCustomizeSettingCustomizeLogo,
|
|
2839
|
+
putCustomizeSettingUploadBrandLogo,
|
|
2840
|
+
deleteCustomizeSettingDeleteBrandLogo,
|
|
2841
|
+
getExportStatus,
|
|
2842
|
+
postExport,
|
|
2843
|
+
deleteExportFileName,
|
|
2844
|
+
postForgotPassword,
|
|
2845
|
+
putForgotPassword,
|
|
2846
|
+
getG2gTransferFiles,
|
|
2847
|
+
postG2gTransfer,
|
|
2848
|
+
postG2gTransferAttachment,
|
|
2849
|
+
getG2gTransferGrowiInfo,
|
|
2850
|
+
postG2gTransferGenerateKey,
|
|
2851
|
+
postG2gTransferTransfer,
|
|
2852
|
+
getHealthcheck,
|
|
2853
|
+
getImport,
|
|
2854
|
+
postImport,
|
|
2855
|
+
getImportStatus,
|
|
2856
|
+
postImportUpload,
|
|
2857
|
+
deleteImportAll,
|
|
2858
|
+
getInAppNotificationList,
|
|
2859
|
+
getInAppNotificationStatus,
|
|
2860
|
+
postInAppNotificationOpen,
|
|
2861
|
+
putInAppNotificationAllStatusesOpen,
|
|
2862
|
+
postInstaller,
|
|
2863
|
+
postInvited,
|
|
2864
|
+
postLogout,
|
|
2865
|
+
getMarkdownSetting,
|
|
2866
|
+
putMarkdownSettingLineBreak,
|
|
2867
|
+
putMarkdownSettingIndent,
|
|
2868
|
+
putMarkdownSettingXss,
|
|
2869
|
+
getMongoCollections,
|
|
2870
|
+
getNotificationSetting,
|
|
2871
|
+
postNotificationSettingUserNotification,
|
|
2872
|
+
deleteNotificationSettingUserNotificationId,
|
|
2873
|
+
getNotificationSettingGlobalNotificationId,
|
|
2874
|
+
putNotificationSettingGlobalNotificationId,
|
|
2875
|
+
deleteNotificationSettingGlobalNotificationId,
|
|
2876
|
+
postNotificationSettingGlobalNotification,
|
|
2877
|
+
putNotificationSettingNotifyForPageGrant,
|
|
2878
|
+
putNotificationSettingGlobalNotificationIdEnabled,
|
|
2879
|
+
getPageListingRoot,
|
|
2880
|
+
getPageListingAncestorsChildren,
|
|
2881
|
+
getPageListingChildren,
|
|
2882
|
+
getPageListingInfo,
|
|
2883
|
+
getPage,
|
|
2884
|
+
postPage,
|
|
2885
|
+
putPage,
|
|
2886
|
+
getPageExist,
|
|
2887
|
+
putPageLikes,
|
|
2888
|
+
getPageInfo,
|
|
2889
|
+
getPageGrantData,
|
|
2890
|
+
getPageNonUserRelatedGroupsGranted,
|
|
2891
|
+
getPageApplicableGrant,
|
|
2892
|
+
putPageIdGrant,
|
|
2893
|
+
getPageExportPageId,
|
|
2894
|
+
getPageExistPaths,
|
|
2895
|
+
putPageSubscribe,
|
|
2896
|
+
putPageIdContentWidth,
|
|
2897
|
+
putPageIdPublish,
|
|
2898
|
+
putPageIdUnpublish,
|
|
2899
|
+
getPageIdYjsData,
|
|
2900
|
+
putPageIdSyncLatestRevisionBodyToYjsDraft,
|
|
2901
|
+
getPagesRecent,
|
|
2902
|
+
postPagesRename,
|
|
2903
|
+
postPagesResumeRename,
|
|
2904
|
+
deletePagesEmptyTrash,
|
|
2905
|
+
getPagesList,
|
|
2906
|
+
postPagesDuplicate,
|
|
2907
|
+
getPagesSubordinatedList,
|
|
2908
|
+
postPagesDelete,
|
|
2909
|
+
postPagesConvertPagesByPath,
|
|
2910
|
+
postPagesLegacyPagesMigration,
|
|
2911
|
+
getPagesV5MigrationStatus,
|
|
2912
|
+
getPersonalSetting,
|
|
2913
|
+
putPersonalSetting,
|
|
2914
|
+
getPersonalSettingIsPasswordSet,
|
|
2915
|
+
putPersonalSettingImageType,
|
|
2916
|
+
getPersonalSettingExternalAccounts,
|
|
2917
|
+
putPersonalSettingPassword,
|
|
2918
|
+
putPersonalSettingApiToken,
|
|
2919
|
+
putPersonalSettingAssociateLdap,
|
|
2920
|
+
putPersonalSettingDisassociateLdap,
|
|
2921
|
+
putPersonalSettingEditorSettings,
|
|
2922
|
+
getPersonalSettingEditorSettings,
|
|
2923
|
+
putPersonalSettingInAppNotificationSettings,
|
|
2924
|
+
getPersonalSettingInAppNotificationSettings,
|
|
2925
|
+
putPersonalSettingQuestionnaireSettings,
|
|
2926
|
+
getRevisionsList,
|
|
2927
|
+
getRevisionsId,
|
|
2928
|
+
getSearchIndices,
|
|
2929
|
+
putSearchIndices,
|
|
2930
|
+
postSearchConnection,
|
|
2931
|
+
getSecuritySetting,
|
|
2932
|
+
putSecuritySettingAuthenticationEnabled,
|
|
2933
|
+
getSecuritySettingAuthentication,
|
|
2934
|
+
putSecuritySettingGeneralSetting,
|
|
2935
|
+
putSecuritySettingShareLinkSetting,
|
|
2936
|
+
getSecuritySettingAllShareLinks,
|
|
2937
|
+
deleteSecuritySettingAllShareLinks,
|
|
2938
|
+
putSecuritySettingLocalSetting,
|
|
2939
|
+
putSecuritySettingLdap,
|
|
2940
|
+
putSecuritySettingSaml,
|
|
2941
|
+
putSecuritySettingOidc,
|
|
2942
|
+
putSecuritySettingGoogleOauth,
|
|
2943
|
+
putSecuritySettingGithubOauth,
|
|
2944
|
+
getShareLinks,
|
|
2945
|
+
postShareLinks,
|
|
2946
|
+
deleteShareLinks,
|
|
2947
|
+
deleteShareLinksAll,
|
|
2948
|
+
deleteShareLinksId,
|
|
2949
|
+
getSlackIntegrationLegacySetting,
|
|
2950
|
+
putSlackIntegrationLegacySetting,
|
|
2951
|
+
getSlackIntegrationSettings,
|
|
2952
|
+
putSlackIntegrationSettingsBotType,
|
|
2953
|
+
deleteSlackIntegrationBotType,
|
|
2954
|
+
putSlackIntegrationSettingsWithoutProxyUpdateSettings,
|
|
2955
|
+
putSlackIntegrationSettingsWithoutProxyUpdatePermissions,
|
|
2956
|
+
postSlackIntegrationSettingsSlackAppIntegrations,
|
|
2957
|
+
deleteSlackIntegrationSettingsSlackAppIntegrationsId,
|
|
2958
|
+
putSlackIntegrationSettingsProxyUri,
|
|
2959
|
+
putSlackIntegrationSettingsSlackAppIntegrationsIdMakeprimary,
|
|
2960
|
+
putSlackIntegrationSettingsSlackAppIntegrationsIdRegenerateTokens,
|
|
2961
|
+
putSlackIntegrationSettingsSlackAppIntegrationsIdPermissions,
|
|
2962
|
+
postSlackIntegrationSettingsSlackAppIntegrationsIdRelationTest,
|
|
2963
|
+
postSlackIntegrationSettingsWithoutProxyTest,
|
|
2964
|
+
postSlackIntegrationCommands,
|
|
2965
|
+
postSlackIntegrationProxiedVerify,
|
|
2966
|
+
postSlackIntegrationProxiedCommands,
|
|
2967
|
+
postSlackIntegrationInteractions,
|
|
2968
|
+
postSlackIntegrationProxiedInteractions,
|
|
2969
|
+
getSlackIntegrationSupportedCommands,
|
|
2970
|
+
postSlackIntegrationEvents,
|
|
2971
|
+
postSlackIntegrationProxiedEvents,
|
|
2972
|
+
getStatisticsUser,
|
|
2973
|
+
postCompleteRegistration,
|
|
2974
|
+
getUserGroupRelations,
|
|
2975
|
+
getUserGroups,
|
|
2976
|
+
postUserGroups,
|
|
2977
|
+
getUserGroupsAncestors,
|
|
2978
|
+
getUserGroupsChildren,
|
|
2979
|
+
getSelectableParentGroups,
|
|
2980
|
+
getSelectableChildGroups,
|
|
2981
|
+
getUserGroupsId,
|
|
2982
|
+
deleteUserGroupsId,
|
|
2983
|
+
putUserGroupsId,
|
|
2984
|
+
getUserGroupsIdUsers,
|
|
2985
|
+
getUserGroupsIdUnrelatedUsers,
|
|
2986
|
+
postUserGroupsIdUsersUsername,
|
|
2987
|
+
deleteUserGroupsIdUsersUsername,
|
|
2988
|
+
getUserGroupsIdUserGroupRelations,
|
|
2989
|
+
getUserGroupsIdPages,
|
|
2990
|
+
putUserUiSettings,
|
|
2991
|
+
getUsers,
|
|
2992
|
+
getIdRecent,
|
|
2993
|
+
postUsersInvite,
|
|
2994
|
+
putUsersIdGrantAdmin,
|
|
2995
|
+
putUsersIdRevokeAdmin,
|
|
2996
|
+
putUsersIdGrantReadOnly,
|
|
2997
|
+
putUsersIdRevokeReadOnly,
|
|
2998
|
+
putUsersIdActivate,
|
|
2999
|
+
putUsersIdDeactivate,
|
|
3000
|
+
deleteUsersIdRemove,
|
|
3001
|
+
getUsersExternalAccounts,
|
|
3002
|
+
deleteUsersExternalAccountsIdRemove,
|
|
3003
|
+
putUsersUpdateImageUrlCache,
|
|
3004
|
+
putUsersResetPassword,
|
|
3005
|
+
putUsersResetPasswordEmail,
|
|
3006
|
+
putUsersSendInvitationEmail,
|
|
3007
|
+
getUsersList,
|
|
3008
|
+
getUsersUsernames,
|
|
3009
|
+
postLogin,
|
|
3010
|
+
postRegister,
|
|
3011
|
+
};
|
|
3012
|
+
};
|
|
3013
|
+
|
|
3014
|
+
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
3015
|
+
|
|
3016
|
+
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
3017
|
+
|
|
3018
|
+
export type GetExternalUserGroupRelationsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExternalUserGroupRelations']>>>;
|
|
3019
|
+
export type GetExternalUserGroupsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExternalUserGroups']>>>;
|
|
3020
|
+
export type GetExternalUserGroupsAncestorsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExternalUserGroupsAncestors']>>>;
|
|
3021
|
+
export type GetExternalUserGroupsChildrenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExternalUserGroupsChildren']>>>;
|
|
3022
|
+
export type GetExternalUserGroupsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExternalUserGroupsId']>>>;
|
|
3023
|
+
export type DeleteExternalUserGroupsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteExternalUserGroupsId']>>>;
|
|
3024
|
+
export type PutExternalUserGroupsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putExternalUserGroupsId']>>>;
|
|
3025
|
+
export type GetExternalUserGroupsIdExternalUserGroupRelationsResult = NonNullable<
|
|
3026
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExternalUserGroupsIdExternalUserGroupRelations']>>
|
|
3027
|
+
>;
|
|
3028
|
+
export type GetExternalUserGroupsLdapSyncSettingsResult = NonNullable<
|
|
3029
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExternalUserGroupsLdapSyncSettings']>>
|
|
3030
|
+
>;
|
|
3031
|
+
export type PutExternalUserGroupsLdapSyncSettingsResult = NonNullable<
|
|
3032
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putExternalUserGroupsLdapSyncSettings']>>
|
|
3033
|
+
>;
|
|
3034
|
+
export type GetExternalUserGroupsKeycloakSyncSettingsResult = NonNullable<
|
|
3035
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExternalUserGroupsKeycloakSyncSettings']>>
|
|
3036
|
+
>;
|
|
3037
|
+
export type PutExternalUserGroupsKeycloakSyncSettingsResult = NonNullable<
|
|
3038
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putExternalUserGroupsKeycloakSyncSettings']>>
|
|
3039
|
+
>;
|
|
3040
|
+
export type PutExternalUserGroupsLdapSyncResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putExternalUserGroupsLdapSync']>>>;
|
|
3041
|
+
export type PutExternalUserGroupsKeycloakSyncResult = NonNullable<
|
|
3042
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putExternalUserGroupsKeycloakSync']>>
|
|
3043
|
+
>;
|
|
3044
|
+
export type GetExternalUserGroupsLdapSyncStatusResult = NonNullable<
|
|
3045
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExternalUserGroupsLdapSyncStatus']>>
|
|
3046
|
+
>;
|
|
3047
|
+
export type GetQuestionnaireOrdersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getQuestionnaireOrders']>>>;
|
|
3048
|
+
export type GetQuestionnaireIsEnabledResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getQuestionnaireIsEnabled']>>>;
|
|
3049
|
+
export type PostQuestionnaireProactiveAnswerResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postQuestionnaireProactiveAnswer']>>>;
|
|
3050
|
+
export type PutQuestionnaireAnswerResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putQuestionnaireAnswer']>>>;
|
|
3051
|
+
export type PutQuestionnaireSkipResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putQuestionnaireSkip']>>>;
|
|
3052
|
+
export type PutQuestionnaireDenyResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putQuestionnaireDeny']>>>;
|
|
3053
|
+
export type GetTemplatesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getTemplates']>>>;
|
|
3054
|
+
export type GetTemplatesPresetTemplatesTemplateIdLocaleResult = NonNullable<
|
|
3055
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getTemplatesPresetTemplatesTemplateIdLocale']>>
|
|
3056
|
+
>;
|
|
3057
|
+
export type GetTemplatesPluginTemplatesOrganizationIdReposIdTemplateIdLocaleResult = NonNullable<
|
|
3058
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getTemplatesPluginTemplatesOrganizationIdReposIdTemplateIdLocale']>>
|
|
3059
|
+
>;
|
|
3060
|
+
export type PostPluginsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postPlugins']>>>;
|
|
3061
|
+
export type PutPluginsIdActivateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPluginsIdActivate']>>>;
|
|
3062
|
+
export type DeletePluginsIdRemoveResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deletePluginsIdRemove']>>>;
|
|
3063
|
+
export type GetActivityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getActivity']>>>;
|
|
3064
|
+
export type GetAdminHomeResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getAdminHome']>>>;
|
|
3065
|
+
export type GetAppSettingsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getAppSettings']>>>;
|
|
3066
|
+
export type PutAppSettingsAppSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putAppSettingsAppSetting']>>>;
|
|
3067
|
+
export type PutAppSettingsSiteUrlSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putAppSettingsSiteUrlSetting']>>>;
|
|
3068
|
+
export type PutAppSettingsSmtpSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putAppSettingsSmtpSetting']>>>;
|
|
3069
|
+
export type PostAppSettingsSmtpTestResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postAppSettingsSmtpTest']>>>;
|
|
3070
|
+
export type PutAppSettingsSesSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putAppSettingsSesSetting']>>>;
|
|
3071
|
+
export type PutAppSettingsFileUploadSettingsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putAppSettingsFileUploadSettings']>>>;
|
|
3072
|
+
export type PutAppSettingsQuestionnaireSettingsResult = NonNullable<
|
|
3073
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putAppSettingsQuestionnaireSettings']>>
|
|
3074
|
+
>;
|
|
3075
|
+
export type PostAppSettingsV5SchemaMigrationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postAppSettingsV5SchemaMigration']>>>;
|
|
3076
|
+
export type PostAppSettingsMaintenanceModeResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postAppSettingsMaintenanceMode']>>>;
|
|
3077
|
+
export type GetAttachmentListResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getAttachmentList']>>>;
|
|
3078
|
+
export type GetAttachmentLimitResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getAttachmentLimit']>>>;
|
|
3079
|
+
export type PostAttachmentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postAttachment']>>>;
|
|
3080
|
+
export type GetAttachmentIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getAttachmentId']>>>;
|
|
3081
|
+
export type PostBookmarkFolderResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postBookmarkFolder']>>>;
|
|
3082
|
+
export type PutBookmarkFolderResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putBookmarkFolder']>>>;
|
|
3083
|
+
export type GetBookmarkFolderListUserIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getBookmarkFolderListUserId']>>>;
|
|
3084
|
+
export type DeleteBookmarkFolderIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteBookmarkFolderId']>>>;
|
|
3085
|
+
export type PostBookmarkFolderAddBookmarkToFolderResult = NonNullable<
|
|
3086
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postBookmarkFolderAddBookmarkToFolder']>>
|
|
3087
|
+
>;
|
|
3088
|
+
export type PutBookmarkFolderUpdateBookmarkResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putBookmarkFolderUpdateBookmark']>>>;
|
|
3089
|
+
export type GetBookmarksInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getBookmarksInfo']>>>;
|
|
3090
|
+
export type GetBookmarksUserIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getBookmarksUserId']>>>;
|
|
3091
|
+
export type PutBookmarksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putBookmarks']>>>;
|
|
3092
|
+
export type GetCustomizeSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getCustomizeSetting']>>>;
|
|
3093
|
+
export type GetCustomizeSettingLayoutResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getCustomizeSettingLayout']>>>;
|
|
3094
|
+
export type PutCustomizeSettingLayoutResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingLayout']>>>;
|
|
3095
|
+
export type GetCustomizeSettingThemeResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getCustomizeSettingTheme']>>>;
|
|
3096
|
+
export type PutCustomizeSettingThemeResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingTheme']>>>;
|
|
3097
|
+
export type GetCustomizeSettingSidebarResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getCustomizeSettingSidebar']>>>;
|
|
3098
|
+
export type PutCustomizeSettingSidebarResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingSidebar']>>>;
|
|
3099
|
+
export type PutCustomizeSettingFunctionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingFunction']>>>;
|
|
3100
|
+
export type PutCustomizeSettingPresentationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingPresentation']>>>;
|
|
3101
|
+
export type PutCustomizeSettingHighlightResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingHighlight']>>>;
|
|
3102
|
+
export type PutCustomizeSettingCustomizeTitleResult = NonNullable<
|
|
3103
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingCustomizeTitle']>>
|
|
3104
|
+
>;
|
|
3105
|
+
export type PutCustomizeSettingCustomizeNoscriptResult = NonNullable<
|
|
3106
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingCustomizeNoscript']>>
|
|
3107
|
+
>;
|
|
3108
|
+
export type PutCustomizeSettingCustomizeCssResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingCustomizeCss']>>>;
|
|
3109
|
+
export type PutCustomizeSettingCustomizeScriptResult = NonNullable<
|
|
3110
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingCustomizeScript']>>
|
|
3111
|
+
>;
|
|
3112
|
+
export type PutCustomizeSettingCustomizeLogoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingCustomizeLogo']>>>;
|
|
3113
|
+
export type PutCustomizeSettingUploadBrandLogoResult = NonNullable<
|
|
3114
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putCustomizeSettingUploadBrandLogo']>>
|
|
3115
|
+
>;
|
|
3116
|
+
export type DeleteCustomizeSettingDeleteBrandLogoResult = NonNullable<
|
|
3117
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteCustomizeSettingDeleteBrandLogo']>>
|
|
3118
|
+
>;
|
|
3119
|
+
export type GetExportStatusResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getExportStatus']>>>;
|
|
3120
|
+
export type PostExportResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postExport']>>>;
|
|
3121
|
+
export type DeleteExportFileNameResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteExportFileName']>>>;
|
|
3122
|
+
export type PostForgotPasswordResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postForgotPassword']>>>;
|
|
3123
|
+
export type PutForgotPasswordResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putForgotPassword']>>>;
|
|
3124
|
+
export type GetG2gTransferFilesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getG2gTransferFiles']>>>;
|
|
3125
|
+
export type PostG2gTransferResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postG2gTransfer']>>>;
|
|
3126
|
+
export type PostG2gTransferAttachmentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postG2gTransferAttachment']>>>;
|
|
3127
|
+
export type GetG2gTransferGrowiInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getG2gTransferGrowiInfo']>>>;
|
|
3128
|
+
export type PostG2gTransferGenerateKeyResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postG2gTransferGenerateKey']>>>;
|
|
3129
|
+
export type PostG2gTransferTransferResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postG2gTransferTransfer']>>>;
|
|
3130
|
+
export type GetHealthcheckResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getHealthcheck']>>>;
|
|
3131
|
+
export type GetImportResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getImport']>>>;
|
|
3132
|
+
export type PostImportResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postImport']>>>;
|
|
3133
|
+
export type GetImportStatusResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getImportStatus']>>>;
|
|
3134
|
+
export type PostImportUploadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postImportUpload']>>>;
|
|
3135
|
+
export type DeleteImportAllResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteImportAll']>>>;
|
|
3136
|
+
export type GetInAppNotificationListResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getInAppNotificationList']>>>;
|
|
3137
|
+
export type GetInAppNotificationStatusResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getInAppNotificationStatus']>>>;
|
|
3138
|
+
export type PostInAppNotificationOpenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postInAppNotificationOpen']>>>;
|
|
3139
|
+
export type PutInAppNotificationAllStatusesOpenResult = NonNullable<
|
|
3140
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putInAppNotificationAllStatusesOpen']>>
|
|
3141
|
+
>;
|
|
3142
|
+
export type PostInstallerResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postInstaller']>>>;
|
|
3143
|
+
export type PostInvitedResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postInvited']>>>;
|
|
3144
|
+
export type PostLogoutResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postLogout']>>>;
|
|
3145
|
+
export type GetMarkdownSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getMarkdownSetting']>>>;
|
|
3146
|
+
export type PutMarkdownSettingLineBreakResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putMarkdownSettingLineBreak']>>>;
|
|
3147
|
+
export type PutMarkdownSettingIndentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putMarkdownSettingIndent']>>>;
|
|
3148
|
+
export type PutMarkdownSettingXssResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putMarkdownSettingXss']>>>;
|
|
3149
|
+
export type GetMongoCollectionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getMongoCollections']>>>;
|
|
3150
|
+
export type GetNotificationSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getNotificationSetting']>>>;
|
|
3151
|
+
export type PostNotificationSettingUserNotificationResult = NonNullable<
|
|
3152
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postNotificationSettingUserNotification']>>
|
|
3153
|
+
>;
|
|
3154
|
+
export type DeleteNotificationSettingUserNotificationIdResult = NonNullable<
|
|
3155
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteNotificationSettingUserNotificationId']>>
|
|
3156
|
+
>;
|
|
3157
|
+
export type GetNotificationSettingGlobalNotificationIdResult = NonNullable<
|
|
3158
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getNotificationSettingGlobalNotificationId']>>
|
|
3159
|
+
>;
|
|
3160
|
+
export type PutNotificationSettingGlobalNotificationIdResult = NonNullable<
|
|
3161
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putNotificationSettingGlobalNotificationId']>>
|
|
3162
|
+
>;
|
|
3163
|
+
export type DeleteNotificationSettingGlobalNotificationIdResult = NonNullable<
|
|
3164
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteNotificationSettingGlobalNotificationId']>>
|
|
3165
|
+
>;
|
|
3166
|
+
export type PostNotificationSettingGlobalNotificationResult = NonNullable<
|
|
3167
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postNotificationSettingGlobalNotification']>>
|
|
3168
|
+
>;
|
|
3169
|
+
export type PutNotificationSettingNotifyForPageGrantResult = NonNullable<
|
|
3170
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putNotificationSettingNotifyForPageGrant']>>
|
|
3171
|
+
>;
|
|
3172
|
+
export type PutNotificationSettingGlobalNotificationIdEnabledResult = NonNullable<
|
|
3173
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putNotificationSettingGlobalNotificationIdEnabled']>>
|
|
3174
|
+
>;
|
|
3175
|
+
export type GetPageListingRootResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageListingRoot']>>>;
|
|
3176
|
+
export type GetPageListingAncestorsChildrenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageListingAncestorsChildren']>>>;
|
|
3177
|
+
export type GetPageListingChildrenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageListingChildren']>>>;
|
|
3178
|
+
export type GetPageListingInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageListingInfo']>>>;
|
|
3179
|
+
export type GetPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPage']>>>;
|
|
3180
|
+
export type PostPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postPage']>>>;
|
|
3181
|
+
export type PutPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPage']>>>;
|
|
3182
|
+
export type GetPageExistResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageExist']>>>;
|
|
3183
|
+
export type PutPageLikesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPageLikes']>>>;
|
|
3184
|
+
export type GetPageInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageInfo']>>>;
|
|
3185
|
+
export type GetPageGrantDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageGrantData']>>>;
|
|
3186
|
+
export type GetPageNonUserRelatedGroupsGrantedResult = NonNullable<
|
|
3187
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageNonUserRelatedGroupsGranted']>>
|
|
3188
|
+
>;
|
|
3189
|
+
export type GetPageApplicableGrantResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageApplicableGrant']>>>;
|
|
3190
|
+
export type PutPageIdGrantResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPageIdGrant']>>>;
|
|
3191
|
+
export type GetPageExportPageIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageExportPageId']>>>;
|
|
3192
|
+
export type GetPageExistPathsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageExistPaths']>>>;
|
|
3193
|
+
export type PutPageSubscribeResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPageSubscribe']>>>;
|
|
3194
|
+
export type PutPageIdContentWidthResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPageIdContentWidth']>>>;
|
|
3195
|
+
export type PutPageIdPublishResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPageIdPublish']>>>;
|
|
3196
|
+
export type PutPageIdUnpublishResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPageIdUnpublish']>>>;
|
|
3197
|
+
export type GetPageIdYjsDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPageIdYjsData']>>>;
|
|
3198
|
+
export type PutPageIdSyncLatestRevisionBodyToYjsDraftResult = NonNullable<
|
|
3199
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPageIdSyncLatestRevisionBodyToYjsDraft']>>
|
|
3200
|
+
>;
|
|
3201
|
+
export type GetPagesRecentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPagesRecent']>>>;
|
|
3202
|
+
export type PostPagesRenameResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postPagesRename']>>>;
|
|
3203
|
+
export type PostPagesResumeRenameResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postPagesResumeRename']>>>;
|
|
3204
|
+
export type DeletePagesEmptyTrashResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deletePagesEmptyTrash']>>>;
|
|
3205
|
+
export type GetPagesListResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPagesList']>>>;
|
|
3206
|
+
export type PostPagesDuplicateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postPagesDuplicate']>>>;
|
|
3207
|
+
export type GetPagesSubordinatedListResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPagesSubordinatedList']>>>;
|
|
3208
|
+
export type PostPagesDeleteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postPagesDelete']>>>;
|
|
3209
|
+
export type PostPagesConvertPagesByPathResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postPagesConvertPagesByPath']>>>;
|
|
3210
|
+
export type PostPagesLegacyPagesMigrationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postPagesLegacyPagesMigration']>>>;
|
|
3211
|
+
export type GetPagesV5MigrationStatusResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPagesV5MigrationStatus']>>>;
|
|
3212
|
+
export type GetPersonalSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPersonalSetting']>>>;
|
|
3213
|
+
export type PutPersonalSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPersonalSetting']>>>;
|
|
3214
|
+
export type GetPersonalSettingIsPasswordSetResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPersonalSettingIsPasswordSet']>>>;
|
|
3215
|
+
export type PutPersonalSettingImageTypeResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPersonalSettingImageType']>>>;
|
|
3216
|
+
export type GetPersonalSettingExternalAccountsResult = NonNullable<
|
|
3217
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPersonalSettingExternalAccounts']>>
|
|
3218
|
+
>;
|
|
3219
|
+
export type PutPersonalSettingPasswordResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPersonalSettingPassword']>>>;
|
|
3220
|
+
export type PutPersonalSettingApiTokenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPersonalSettingApiToken']>>>;
|
|
3221
|
+
export type PutPersonalSettingAssociateLdapResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPersonalSettingAssociateLdap']>>>;
|
|
3222
|
+
export type PutPersonalSettingDisassociateLdapResult = NonNullable<
|
|
3223
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPersonalSettingDisassociateLdap']>>
|
|
3224
|
+
>;
|
|
3225
|
+
export type PutPersonalSettingEditorSettingsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPersonalSettingEditorSettings']>>>;
|
|
3226
|
+
export type GetPersonalSettingEditorSettingsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPersonalSettingEditorSettings']>>>;
|
|
3227
|
+
export type PutPersonalSettingInAppNotificationSettingsResult = NonNullable<
|
|
3228
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPersonalSettingInAppNotificationSettings']>>
|
|
3229
|
+
>;
|
|
3230
|
+
export type GetPersonalSettingInAppNotificationSettingsResult = NonNullable<
|
|
3231
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPersonalSettingInAppNotificationSettings']>>
|
|
3232
|
+
>;
|
|
3233
|
+
export type PutPersonalSettingQuestionnaireSettingsResult = NonNullable<
|
|
3234
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPersonalSettingQuestionnaireSettings']>>
|
|
3235
|
+
>;
|
|
3236
|
+
export type GetRevisionsListResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getRevisionsList']>>>;
|
|
3237
|
+
export type GetRevisionsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getRevisionsId']>>>;
|
|
3238
|
+
export type GetSearchIndicesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSearchIndices']>>>;
|
|
3239
|
+
export type PutSearchIndicesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSearchIndices']>>>;
|
|
3240
|
+
export type PostSearchConnectionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSearchConnection']>>>;
|
|
3241
|
+
export type GetSecuritySettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSecuritySetting']>>>;
|
|
3242
|
+
export type PutSecuritySettingAuthenticationEnabledResult = NonNullable<
|
|
3243
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSecuritySettingAuthenticationEnabled']>>
|
|
3244
|
+
>;
|
|
3245
|
+
export type GetSecuritySettingAuthenticationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSecuritySettingAuthentication']>>>;
|
|
3246
|
+
export type PutSecuritySettingGeneralSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSecuritySettingGeneralSetting']>>>;
|
|
3247
|
+
export type PutSecuritySettingShareLinkSettingResult = NonNullable<
|
|
3248
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSecuritySettingShareLinkSetting']>>
|
|
3249
|
+
>;
|
|
3250
|
+
export type GetSecuritySettingAllShareLinksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSecuritySettingAllShareLinks']>>>;
|
|
3251
|
+
export type DeleteSecuritySettingAllShareLinksResult = NonNullable<
|
|
3252
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteSecuritySettingAllShareLinks']>>
|
|
3253
|
+
>;
|
|
3254
|
+
export type PutSecuritySettingLocalSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSecuritySettingLocalSetting']>>>;
|
|
3255
|
+
export type PutSecuritySettingLdapResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSecuritySettingLdap']>>>;
|
|
3256
|
+
export type PutSecuritySettingSamlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSecuritySettingSaml']>>>;
|
|
3257
|
+
export type PutSecuritySettingOidcResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSecuritySettingOidc']>>>;
|
|
3258
|
+
export type PutSecuritySettingGoogleOauthResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSecuritySettingGoogleOauth']>>>;
|
|
3259
|
+
export type PutSecuritySettingGithubOauthResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSecuritySettingGithubOauth']>>>;
|
|
3260
|
+
export type GetShareLinksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getShareLinks']>>>;
|
|
3261
|
+
export type PostShareLinksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postShareLinks']>>>;
|
|
3262
|
+
export type DeleteShareLinksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteShareLinks']>>>;
|
|
3263
|
+
export type DeleteShareLinksAllResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteShareLinksAll']>>>;
|
|
3264
|
+
export type DeleteShareLinksIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteShareLinksId']>>>;
|
|
3265
|
+
export type GetSlackIntegrationLegacySettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSlackIntegrationLegacySetting']>>>;
|
|
3266
|
+
export type PutSlackIntegrationLegacySettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSlackIntegrationLegacySetting']>>>;
|
|
3267
|
+
export type GetSlackIntegrationSettingsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSlackIntegrationSettings']>>>;
|
|
3268
|
+
export type PutSlackIntegrationSettingsBotTypeResult = NonNullable<
|
|
3269
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSlackIntegrationSettingsBotType']>>
|
|
3270
|
+
>;
|
|
3271
|
+
export type DeleteSlackIntegrationBotTypeResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteSlackIntegrationBotType']>>>;
|
|
3272
|
+
export type PutSlackIntegrationSettingsWithoutProxyUpdateSettingsResult = NonNullable<
|
|
3273
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSlackIntegrationSettingsWithoutProxyUpdateSettings']>>
|
|
3274
|
+
>;
|
|
3275
|
+
export type PutSlackIntegrationSettingsWithoutProxyUpdatePermissionsResult = NonNullable<
|
|
3276
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSlackIntegrationSettingsWithoutProxyUpdatePermissions']>>
|
|
3277
|
+
>;
|
|
3278
|
+
export type PostSlackIntegrationSettingsSlackAppIntegrationsResult = NonNullable<
|
|
3279
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationSettingsSlackAppIntegrations']>>
|
|
3280
|
+
>;
|
|
3281
|
+
export type DeleteSlackIntegrationSettingsSlackAppIntegrationsIdResult = NonNullable<
|
|
3282
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteSlackIntegrationSettingsSlackAppIntegrationsId']>>
|
|
3283
|
+
>;
|
|
3284
|
+
export type PutSlackIntegrationSettingsProxyUriResult = NonNullable<
|
|
3285
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSlackIntegrationSettingsProxyUri']>>
|
|
3286
|
+
>;
|
|
3287
|
+
export type PutSlackIntegrationSettingsSlackAppIntegrationsIdMakeprimaryResult = NonNullable<
|
|
3288
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSlackIntegrationSettingsSlackAppIntegrationsIdMakeprimary']>>
|
|
3289
|
+
>;
|
|
3290
|
+
export type PutSlackIntegrationSettingsSlackAppIntegrationsIdRegenerateTokensResult = NonNullable<
|
|
3291
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSlackIntegrationSettingsSlackAppIntegrationsIdRegenerateTokens']>>
|
|
3292
|
+
>;
|
|
3293
|
+
export type PutSlackIntegrationSettingsSlackAppIntegrationsIdPermissionsResult = NonNullable<
|
|
3294
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSlackIntegrationSettingsSlackAppIntegrationsIdPermissions']>>
|
|
3295
|
+
>;
|
|
3296
|
+
export type PostSlackIntegrationSettingsSlackAppIntegrationsIdRelationTestResult = NonNullable<
|
|
3297
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationSettingsSlackAppIntegrationsIdRelationTest']>>
|
|
3298
|
+
>;
|
|
3299
|
+
export type PostSlackIntegrationSettingsWithoutProxyTestResult = NonNullable<
|
|
3300
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationSettingsWithoutProxyTest']>>
|
|
3301
|
+
>;
|
|
3302
|
+
export type PostSlackIntegrationCommandsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationCommands']>>>;
|
|
3303
|
+
export type PostSlackIntegrationProxiedVerifyResult = NonNullable<
|
|
3304
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationProxiedVerify']>>
|
|
3305
|
+
>;
|
|
3306
|
+
export type PostSlackIntegrationProxiedCommandsResult = NonNullable<
|
|
3307
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationProxiedCommands']>>
|
|
3308
|
+
>;
|
|
3309
|
+
export type PostSlackIntegrationInteractionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationInteractions']>>>;
|
|
3310
|
+
export type PostSlackIntegrationProxiedInteractionsResult = NonNullable<
|
|
3311
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationProxiedInteractions']>>
|
|
3312
|
+
>;
|
|
3313
|
+
export type GetSlackIntegrationSupportedCommandsResult = NonNullable<
|
|
3314
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSlackIntegrationSupportedCommands']>>
|
|
3315
|
+
>;
|
|
3316
|
+
export type PostSlackIntegrationEventsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationEvents']>>>;
|
|
3317
|
+
export type PostSlackIntegrationProxiedEventsResult = NonNullable<
|
|
3318
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postSlackIntegrationProxiedEvents']>>
|
|
3319
|
+
>;
|
|
3320
|
+
export type GetStatisticsUserResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getStatisticsUser']>>>;
|
|
3321
|
+
export type PostCompleteRegistrationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postCompleteRegistration']>>>;
|
|
3322
|
+
export type GetUserGroupRelationsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUserGroupRelations']>>>;
|
|
3323
|
+
export type GetUserGroupsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUserGroups']>>>;
|
|
3324
|
+
export type PostUserGroupsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postUserGroups']>>>;
|
|
3325
|
+
export type GetUserGroupsAncestorsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUserGroupsAncestors']>>>;
|
|
3326
|
+
export type GetUserGroupsChildrenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUserGroupsChildren']>>>;
|
|
3327
|
+
export type GetSelectableParentGroupsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSelectableParentGroups']>>>;
|
|
3328
|
+
export type GetSelectableChildGroupsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSelectableChildGroups']>>>;
|
|
3329
|
+
export type GetUserGroupsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUserGroupsId']>>>;
|
|
3330
|
+
export type DeleteUserGroupsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteUserGroupsId']>>>;
|
|
3331
|
+
export type PutUserGroupsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUserGroupsId']>>>;
|
|
3332
|
+
export type GetUserGroupsIdUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUserGroupsIdUsers']>>>;
|
|
3333
|
+
export type GetUserGroupsIdUnrelatedUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUserGroupsIdUnrelatedUsers']>>>;
|
|
3334
|
+
export type PostUserGroupsIdUsersUsernameResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postUserGroupsIdUsersUsername']>>>;
|
|
3335
|
+
export type DeleteUserGroupsIdUsersUsernameResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteUserGroupsIdUsersUsername']>>>;
|
|
3336
|
+
export type GetUserGroupsIdUserGroupRelationsResult = NonNullable<
|
|
3337
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUserGroupsIdUserGroupRelations']>>
|
|
3338
|
+
>;
|
|
3339
|
+
export type GetUserGroupsIdPagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUserGroupsIdPages']>>>;
|
|
3340
|
+
export type PutUserUiSettingsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUserUiSettings']>>>;
|
|
3341
|
+
export type GetUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUsers']>>>;
|
|
3342
|
+
export type GetIdRecentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getIdRecent']>>>;
|
|
3343
|
+
export type PostUsersInviteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postUsersInvite']>>>;
|
|
3344
|
+
export type PutUsersIdGrantAdminResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersIdGrantAdmin']>>>;
|
|
3345
|
+
export type PutUsersIdRevokeAdminResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersIdRevokeAdmin']>>>;
|
|
3346
|
+
export type PutUsersIdGrantReadOnlyResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersIdGrantReadOnly']>>>;
|
|
3347
|
+
export type PutUsersIdRevokeReadOnlyResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersIdRevokeReadOnly']>>>;
|
|
3348
|
+
export type PutUsersIdActivateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersIdActivate']>>>;
|
|
3349
|
+
export type PutUsersIdDeactivateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersIdDeactivate']>>>;
|
|
3350
|
+
export type DeleteUsersIdRemoveResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteUsersIdRemove']>>>;
|
|
3351
|
+
export type GetUsersExternalAccountsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUsersExternalAccounts']>>>;
|
|
3352
|
+
export type DeleteUsersExternalAccountsIdRemoveResult = NonNullable<
|
|
3353
|
+
Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteUsersExternalAccountsIdRemove']>>
|
|
3354
|
+
>;
|
|
3355
|
+
export type PutUsersUpdateImageUrlCacheResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersUpdateImageUrlCache']>>>;
|
|
3356
|
+
export type PutUsersResetPasswordResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersResetPassword']>>>;
|
|
3357
|
+
export type PutUsersResetPasswordEmailResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersResetPasswordEmail']>>>;
|
|
3358
|
+
export type PutUsersSendInvitationEmailResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putUsersSendInvitationEmail']>>>;
|
|
3359
|
+
export type GetUsersListResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUsersList']>>>;
|
|
3360
|
+
export type GetUsersUsernamesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getUsersUsernames']>>>;
|
|
3361
|
+
export type PostLoginResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postLogin']>>>;
|
|
3362
|
+
export type PostRegisterResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postRegister']>>>;
|