@growi/sdk-typescript 1.3.0 → 1.5.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.
@@ -2,7 +2,7 @@
2
2
  * Generated by orval v7.9.0 🍺
3
3
  * Do not edit manually.
4
4
  * GROWI REST API v3
5
- * OpenAPI spec version: 7.2.8-RC.0
5
+ * OpenAPI spec version: 7.3.0-RC.0
6
6
  */
7
7
  export interface SyncStatus {
8
8
  isExecutingSync?: boolean;
@@ -24,7 +24,6 @@ export type ActivityResponseSerializedPaginationResultDocsItemUser = {
24
24
  admin?: boolean;
25
25
  readOnly?: boolean;
26
26
  isInvitationEmailSended?: boolean;
27
- isQuestionnaireEnabled?: boolean;
28
27
  name?: string;
29
28
  username?: string;
30
29
  createdAt?: string;
@@ -130,7 +129,6 @@ export interface AppSettingParams {
130
129
  isAppSiteUrlHashed?: boolean;
131
130
  isEmailPublishedForNewUser?: boolean;
132
131
  isMaintenanceMode?: boolean;
133
- isQuestionnaireEnabled?: boolean;
134
132
  isV5Compatible?: boolean;
135
133
  s3AccessKeyId?: string;
136
134
  s3Bucket?: string;
@@ -276,16 +274,6 @@ export interface FileUploadSettingParams {
276
274
  azureReferenceFileWithRelayMode?: boolean;
277
275
  }
278
276
 
279
- /**
280
- * QuestionnaireSettingParams
281
- */
282
- export interface QuestionnaireSettingParams {
283
- /** is questionnaire enabled, or not */
284
- isQuestionnaireEnabled?: boolean;
285
- /** is app site url hashed, or not */
286
- isAppSiteUrlHashed?: boolean;
287
- }
288
-
289
277
  /**
290
278
  * AttachmentPaginateResult
291
279
  */
@@ -988,30 +976,6 @@ export interface LikeParams {
988
976
  bool?: boolean;
989
977
  }
990
978
 
991
- /**
992
- * PageInfo
993
- */
994
- export interface PageInfo {
995
- /** Whether the page is liked by the logged in user */
996
- isLiked?: boolean;
997
- /** Number of users who have liked the page */
998
- sumOfLikers: number;
999
- /** Ids of users who have liked the page */
1000
- likerIds: string[];
1001
- /** Number of users who have seen the page */
1002
- sumOfSeenUsers: number;
1003
- /** Ids of users who have seen the page */
1004
- seenUserIds: string[];
1005
- }
1006
-
1007
- /**
1008
- * PageParams
1009
- */
1010
- export interface PageParams {
1011
- /** page ID */
1012
- pageId: string;
1013
- }
1014
-
1015
979
  /**
1016
980
  * personal settings
1017
981
  */
@@ -1435,8 +1399,6 @@ export interface User {
1435
1399
  isGravatarEnabled?: boolean;
1436
1400
  /** whether the invitation email is sent */
1437
1401
  isInvitationEmailSended?: boolean;
1438
- /** whether the questionnaire is enabled */
1439
- isQuestionnaireEnabled?: boolean;
1440
1402
  /** datetime last login at */
1441
1403
  lastLoginAt?: string;
1442
1404
  /** whether the user is read only */
@@ -1476,6 +1438,89 @@ export type PagePath = string;
1476
1438
  */
1477
1439
  export type PageGrant = number;
1478
1440
 
1441
+ /**
1442
+ * Basic page information
1443
+ */
1444
+ export interface PageInfo {
1445
+ /** Whether the page is compatible with v5 */
1446
+ isV5Compatible?: boolean;
1447
+ /** Whether the page is empty */
1448
+ isEmpty?: boolean;
1449
+ /** Whether the page is movable */
1450
+ isMovable?: boolean;
1451
+ /** Whether the page is deletable */
1452
+ isDeletable?: boolean;
1453
+ /** Whether the page is able to delete completely */
1454
+ isAbleToDeleteCompletely?: boolean;
1455
+ /** Whether the page is revertible */
1456
+ isRevertible?: boolean;
1457
+ }
1458
+
1459
+ export type PageInfoForEntityAllOf = {
1460
+ /** Number of bookmarks */
1461
+ bookmarkCount?: number;
1462
+ /** Number of users who have liked the page */
1463
+ sumOfLikers?: number;
1464
+ /** Ids of users who have liked the page */
1465
+ likerIds?: string[];
1466
+ /** Number of users who have seen the page */
1467
+ sumOfSeenUsers?: number;
1468
+ /** Ids of users who have seen the page */
1469
+ seenUserIds?: string[];
1470
+ /** Content age */
1471
+ contentAge?: number;
1472
+ /** Number of descendant pages */
1473
+ descendantCount?: number;
1474
+ /** Number of comments */
1475
+ commentCount?: number;
1476
+ };
1477
+
1478
+ /**
1479
+ * Page information for entity (extends IPageInfo)
1480
+ */
1481
+ export type PageInfoForEntity = PageInfo & PageInfoForEntityAllOf;
1482
+
1483
+ /**
1484
+ * Subscription status
1485
+ */
1486
+ export type PageInfoForOperationAllOfSubscriptionStatus =
1487
+ (typeof PageInfoForOperationAllOfSubscriptionStatus)[keyof typeof PageInfoForOperationAllOfSubscriptionStatus];
1488
+
1489
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
1490
+ export const PageInfoForOperationAllOfSubscriptionStatus = {
1491
+ SUBSCRIBE: 'SUBSCRIBE',
1492
+ UNSUBSCRIBE: 'UNSUBSCRIBE',
1493
+ } as const;
1494
+
1495
+ export type PageInfoForOperationAllOf = {
1496
+ /** Whether the page is bookmarked by the logged in user */
1497
+ isBookmarked?: boolean;
1498
+ /** Whether the page is liked by the logged in user */
1499
+ isLiked?: boolean;
1500
+ /** Subscription status */
1501
+ subscriptionStatus?: PageInfoForOperationAllOfSubscriptionStatus;
1502
+ };
1503
+
1504
+ /**
1505
+ * Page information for operation (extends IPageInfoForEntity)
1506
+ */
1507
+ export type PageInfoForOperation = PageInfoForEntity & PageInfoForOperationAllOf;
1508
+
1509
+ export type PageInfoForListingAllOf = {
1510
+ /** Short body of the revision */
1511
+ revisionShortBody?: string;
1512
+ };
1513
+
1514
+ /**
1515
+ * Page information for listing (extends IPageInfoForEntity with revision short body)
1516
+ */
1517
+ export type PageInfoForListing = PageInfoForEntity & PageInfoForListingAllOf;
1518
+
1519
+ /**
1520
+ * Page information (union of all page info types)
1521
+ */
1522
+ export type PageInfoAll = PageInfo | PageInfoForEntity | PageInfoForOperation | PageInfoForListing;
1523
+
1479
1524
  /**
1480
1525
  * extend data
1481
1526
  */
@@ -1851,38 +1896,6 @@ export type PutSyncForExternalUserGroupsLdap202 = { [key: string]: unknown };
1851
1896
 
1852
1897
  export type PutSyncForExternalUserGroupsKeycloak202 = { [key: string]: unknown };
1853
1898
 
1854
- export type GetOrdersForQuestionnaire200QuestionnaireOrdersItem = { [key: string]: unknown };
1855
-
1856
- export type GetOrdersForQuestionnaire200 = {
1857
- questionnaireOrders?: GetOrdersForQuestionnaire200QuestionnaireOrdersItem[];
1858
- };
1859
-
1860
- export type GetIsEnabledForQuestionnaire200 = {
1861
- isEnabled?: boolean;
1862
- };
1863
-
1864
- export type PostAnswerForQuestionnaireProactiveBody = { [key: string]: unknown };
1865
-
1866
- export type PostAnswerForQuestionnaireProactive200 = { [key: string]: unknown };
1867
-
1868
- export type PutAnswerForQuestionnaireBody = { [key: string]: unknown };
1869
-
1870
- export type PutAnswerForQuestionnaire201 = { [key: string]: unknown };
1871
-
1872
- export type PutAnswerForQuestionnaire204 = { [key: string]: unknown };
1873
-
1874
- export type PutSkipForQuestionnaireBody = { [key: string]: unknown };
1875
-
1876
- export type PutSkipForQuestionnaire201 = { [key: string]: unknown };
1877
-
1878
- export type PutSkipForQuestionnaire204 = { [key: string]: unknown };
1879
-
1880
- export type PutDenyForQuestionnaireBody = { [key: string]: unknown };
1881
-
1882
- export type PutDenyForQuestionnaire201 = { [key: string]: unknown };
1883
-
1884
- export type PutDenyForQuestionnaire204 = { [key: string]: unknown };
1885
-
1886
1899
  export type GetTemplatesParams = {
1887
1900
  /**
1888
1901
  * Whether to include invalid templates
@@ -1977,10 +1990,6 @@ export type PutFileUploadSettingsForAppSettings200 = {
1977
1990
  responseParams?: FileUploadSettingParams;
1978
1991
  };
1979
1992
 
1980
- export type PutQuestionnaireSettingsForAppSettings200 = {
1981
- responseParams?: QuestionnaireSettingParams;
1982
- };
1983
-
1984
1993
  export type PostV5SchemaMigrationForAppSettings200 = {
1985
1994
  /** is V5 compatible, or not */
1986
1995
  isV5Compatible?: boolean;
@@ -2577,33 +2586,19 @@ export type GetChildrenForPageListing200 = {
2577
2586
  };
2578
2587
 
2579
2588
  export type GetInfoForPageListingParams = {
2589
+ /**
2590
+ * Array of page IDs to retrieve information for (One of pageIds or path is required)
2591
+ */
2580
2592
  pageIds?: string[];
2593
+ /**
2594
+ * Path of the page to retrieve information for (One of pageIds or path is required)
2595
+ */
2581
2596
  path?: string;
2582
2597
  attachBookmarkCount?: boolean;
2583
2598
  attachShortBody?: boolean;
2584
2599
  };
2585
2600
 
2586
- export type GetInfoForPageListing200IdToPageInfoMap = {
2587
- [key: string]: {
2588
- commentCount?: number;
2589
- contentAge?: number;
2590
- descendantCount?: number;
2591
- isAbleToDeleteCompletely?: boolean;
2592
- isDeletable?: boolean;
2593
- isEmpty?: boolean;
2594
- isMovable?: boolean;
2595
- isRevertible?: boolean;
2596
- isV5Compatible?: boolean;
2597
- likerIds?: string[];
2598
- seenUserIds?: string[];
2599
- sumOfLikers?: number;
2600
- sumOfSeenUsers?: number;
2601
- };
2602
- };
2603
-
2604
- export type GetInfoForPageListing200 = {
2605
- idToPageInfoMap?: GetInfoForPageListing200IdToPageInfoMap;
2606
- };
2601
+ export type GetInfoForPageListing200 = { [key: string]: PageInfoAll };
2607
2602
 
2608
2603
  export type GetPageParams = {
2609
2604
  /**
@@ -2616,13 +2611,19 @@ export type GetPageParams = {
2616
2611
  path?: PagePath;
2617
2612
  };
2618
2613
 
2614
+ export type PostPageBodyGrantUserGroupIdsItem = {
2615
+ /** Group type */
2616
+ type?: string;
2617
+ /** UserGroup ID */
2618
+ item?: string;
2619
+ };
2620
+
2619
2621
  export type PostPageBody = {
2620
2622
  /** Text of page */
2621
2623
  body: string;
2622
2624
  path: PagePath;
2623
2625
  grant?: PageGrant;
2624
- /** UserGroup ID */
2625
- grantUserGroupIds?: string;
2626
+ grantUserGroupIds?: PostPageBodyGrantUserGroupIdsItem[];
2626
2627
  pageTags?: string[];
2627
2628
  };
2628
2629
 
@@ -2674,6 +2675,13 @@ export type GetExistForPage200 = {
2674
2675
  isExist?: boolean;
2675
2676
  };
2676
2677
 
2678
+ export type GetInfoForPageParams = {
2679
+ /**
2680
+ * page id
2681
+ */
2682
+ pageId: ObjectId;
2683
+ };
2684
+
2677
2685
  export type GetGrantDataForPageParams = {
2678
2686
  /**
2679
2687
  * page id
@@ -3010,6 +3018,29 @@ export type PutApiTokenForPersonalSetting200 = {
3010
3018
  userData?: PutApiTokenForPersonalSetting200UserData;
3011
3019
  };
3012
3020
 
3021
+ /**
3022
+ * array of access tokens
3023
+ */
3024
+ export type GetAccessTokenForPersonalSetting200AccessTokens = { [key: string]: unknown };
3025
+
3026
+ export type GetAccessTokenForPersonalSetting200 = {
3027
+ /** array of access tokens */
3028
+ accessTokens?: GetAccessTokenForPersonalSetting200AccessTokens;
3029
+ };
3030
+
3031
+ export type PostAccessTokenForPersonalSetting200 = {
3032
+ /** id of access token */
3033
+ _id?: string;
3034
+ /** access token */
3035
+ token?: string;
3036
+ /** expired date */
3037
+ expiredAt?: string;
3038
+ /** description of access token */
3039
+ description?: string;
3040
+ /** scope of access token */
3041
+ scope?: string[];
3042
+ };
3043
+
3013
3044
  export type PutAssociateLdapForPersonalSettingBody = {
3014
3045
  username?: string;
3015
3046
  };
@@ -3072,15 +3103,6 @@ export type GetInAppNotificationSettingsForPersonalSetting200 = {
3072
3103
  currentUser?: GetInAppNotificationSettingsForPersonalSetting200CurrentUser;
3073
3104
  };
3074
3105
 
3075
- export type PutQuestionnaireSettingsForPersonalSettingBody = {
3076
- isQuestionnaireEnabled?: boolean;
3077
- };
3078
-
3079
- export type PutQuestionnaireSettingsForPersonalSetting200 = {
3080
- message?: string;
3081
- isQuestionnaireEnabled?: boolean;
3082
- };
3083
-
3084
3106
  export type GetListForRevisionsParams = {
3085
3107
  pageId?: string;
3086
3108
  /**
@@ -2,7 +2,7 @@
2
2
  * Generated by orval v7.9.0 🍺
3
3
  * Do not edit manually.
4
4
  * GROWI REST API v3
5
- * OpenAPI spec version: 7.2.8-RC.0
5
+ * OpenAPI spec version: 7.3.0-RC.0
6
6
  */
7
7
  import type {
8
8
  ActivityResponse,
@@ -42,6 +42,7 @@ import type {
42
42
  FileImportResponse,
43
43
  FileUploadSettingParams,
44
44
  GeneralSetting,
45
+ GetAccessTokenForPersonalSetting200,
45
46
  GetActivityParams,
46
47
  GetAdminHome200,
47
48
  GetAllShareLinksForSecuritySetting200,
@@ -91,7 +92,7 @@ import type {
91
92
  GetInfoForBookmarksParams,
92
93
  GetInfoForPageListing200,
93
94
  GetInfoForPageListingParams,
94
- GetIsEnabledForQuestionnaire200,
95
+ GetInfoForPageParams,
95
96
  GetIsPasswordSetForPersonalSetting200,
96
97
  GetLimitForAttachment200,
97
98
  GetLimitForAttachmentParams,
@@ -108,7 +109,6 @@ import type {
108
109
  GetNonUserRelatedGroupsGrantedForPage200,
109
110
  GetNonUserRelatedGroupsGrantedForPageParams,
110
111
  GetNotificationSetting200,
111
- GetOrdersForQuestionnaire200,
112
112
  GetPageParams,
113
113
  GetPagesByIdForUserGroups200,
114
114
  GetPersonalSetting200,
@@ -166,13 +166,11 @@ import type {
166
166
  NotifyForPageGrant,
167
167
  OidcAuthSetting,
168
168
  Page,
169
- PageInfo,
170
- PageParams,
169
+ PageInfoAll,
171
170
  PersonalSettings,
171
+ PostAccessTokenForPersonalSetting200,
172
172
  PostAddBookmarkToFolderForBookmarkFolder200,
173
173
  PostAddBookmarkToFolderForBookmarkFolderBody,
174
- PostAnswerForQuestionnaireProactive200,
175
- PostAnswerForQuestionnaireProactiveBody,
176
174
  PostAttachment200,
177
175
  PostAttachmentBodyOne,
178
176
  PostAttachmentBodyTwo,
@@ -245,9 +243,6 @@ import type {
245
243
  PostVerifyForSlackIntegrationProxiedBody,
246
244
  PutActivateByIdForPlugins200,
247
245
  PutActivateByIdForUsers200,
248
- PutAnswerForQuestionnaire201,
249
- PutAnswerForQuestionnaire204,
250
- PutAnswerForQuestionnaireBody,
251
246
  PutApiTokenForPersonalSetting200,
252
247
  PutAppSettingForAppSettings200,
253
248
  PutAssociateLdapForPersonalSetting200,
@@ -263,9 +258,6 @@ import type {
263
258
  PutCustomizeScriptForCustomizeSetting200,
264
259
  PutCustomizeTitleForCustomizeSetting200,
265
260
  PutDeactivateByIdForUsers200,
266
- PutDenyForQuestionnaire201,
267
- PutDenyForQuestionnaire204,
268
- PutDenyForQuestionnaireBody,
269
261
  PutDisassociateLdapForPersonalSetting200,
270
262
  PutEditorSettingsForPersonalSetting200,
271
263
  PutEditorSettingsForPersonalSettingBody,
@@ -308,9 +300,6 @@ import type {
308
300
  PutPresentationForCustomizeSetting200,
309
301
  PutProxyUriForSlackIntegrationSettings200,
310
302
  PutProxyUriForSlackIntegrationSettingsBody,
311
- PutQuestionnaireSettingsForAppSettings200,
312
- PutQuestionnaireSettingsForPersonalSetting200,
313
- PutQuestionnaireSettingsForPersonalSettingBody,
314
303
  PutRegenerateTokensByIdForSlackIntegrationSettingsSlackAppIntegrations200,
315
304
  PutRenameForPages200,
316
305
  PutRenameForPagesBody,
@@ -325,9 +314,6 @@ import type {
325
314
  PutShareLinkSettingForSecuritySetting200,
326
315
  PutSidebarForCustomizeSetting200,
327
316
  PutSiteUrlSettingForAppSettings200,
328
- PutSkipForQuestionnaire201,
329
- PutSkipForQuestionnaire204,
330
- PutSkipForQuestionnaireBody,
331
317
  PutSlackIntegrationLegacySetting200,
332
318
  PutSlackIntegrationLegacySettingBody,
333
319
  PutSmtpSettingForAppSettings200,
@@ -353,7 +339,6 @@ import type {
353
339
  PutUserGroupsByIdBody,
354
340
  PutUserUiSettings200,
355
341
  PutUserUiSettingsBody,
356
- QuestionnaireSettingParams,
357
342
  SamlAuthSetting,
358
343
  SesSettingParams,
359
344
  SesSettingResponseParams,
@@ -511,74 +496,6 @@ export const getGrowirestapiv3 = () => {
511
496
  return customInstance<SyncStatus>({ url: `/external-user-groups/ldap/sync-status`, method: 'GET' }, options);
512
497
  };
513
498
 
514
- /**
515
- * Get questionnaire orders
516
- * @summary /questionnaire/orders
517
- */
518
- const getOrdersForQuestionnaire = (options?: SecondParameter<typeof customInstance>) => {
519
- return customInstance<GetOrdersForQuestionnaire200>({ url: `/questionnaire/orders`, method: 'GET' }, options);
520
- };
521
-
522
- /**
523
- * Get questionnaire is enabled
524
- * @summary /questionnaire/is-enabled
525
- */
526
- const getIsEnabledForQuestionnaire = (options?: SecondParameter<typeof customInstance>) => {
527
- return customInstance<GetIsEnabledForQuestionnaire200>({ url: `/questionnaire/is-enabled`, method: 'GET' }, options);
528
- };
529
-
530
- /**
531
- * Post proactive questionnaire answer
532
- * @summary /questionnaire/proactive/answer
533
- */
534
- const postAnswerForQuestionnaireProactive = (
535
- postAnswerForQuestionnaireProactiveBody: PostAnswerForQuestionnaireProactiveBody,
536
- options?: SecondParameter<typeof customInstance>,
537
- ) => {
538
- return customInstance<PostAnswerForQuestionnaireProactive200>(
539
- {
540
- url: `/questionnaire/proactive/answer`,
541
- method: 'POST',
542
- headers: { 'Content-Type': 'application/json' },
543
- data: postAnswerForQuestionnaireProactiveBody,
544
- },
545
- options,
546
- );
547
- };
548
-
549
- /**
550
- * Post questionnaire answer
551
- * @summary /questionnaire/answer
552
- */
553
- const putAnswerForQuestionnaire = (putAnswerForQuestionnaireBody: PutAnswerForQuestionnaireBody, options?: SecondParameter<typeof customInstance>) => {
554
- return customInstance<PutAnswerForQuestionnaire201 | PutAnswerForQuestionnaire204>(
555
- { url: `/questionnaire/answer`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putAnswerForQuestionnaireBody },
556
- options,
557
- );
558
- };
559
-
560
- /**
561
- * Skip questionnaire
562
- * @summary /questionnaire/skip
563
- */
564
- const putSkipForQuestionnaire = (putSkipForQuestionnaireBody: PutSkipForQuestionnaireBody, options?: SecondParameter<typeof customInstance>) => {
565
- return customInstance<PutSkipForQuestionnaire201 | PutSkipForQuestionnaire204>(
566
- { url: `/questionnaire/skip`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putSkipForQuestionnaireBody },
567
- options,
568
- );
569
- };
570
-
571
- /**
572
- * Deny questionnaire
573
- * @summary /questionnaire/deny
574
- */
575
- const putDenyForQuestionnaire = (putDenyForQuestionnaireBody: PutDenyForQuestionnaireBody, options?: SecondParameter<typeof customInstance>) => {
576
- return customInstance<PutDenyForQuestionnaire201 | PutDenyForQuestionnaire204>(
577
- { url: `/questionnaire/deny`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: putDenyForQuestionnaireBody },
578
- options,
579
- );
580
- };
581
-
582
499
  /**
583
500
  * Get all templates
584
501
  * @summary /templates
@@ -725,17 +642,6 @@ export const getGrowirestapiv3 = () => {
725
642
  );
726
643
  };
727
644
 
728
- /**
729
- * Update QuestionnaireSetting
730
- * @summary /app-settings/questionnaire-settings
731
- */
732
- const putQuestionnaireSettingsForAppSettings = (questionnaireSettingParams: QuestionnaireSettingParams, options?: SecondParameter<typeof customInstance>) => {
733
- return customInstance<PutQuestionnaireSettingsForAppSettings200>(
734
- { url: `/app-settings/questionnaire-settings`, method: 'PUT', headers: { 'Content-Type': 'application/json' }, data: questionnaireSettingParams },
735
- options,
736
- );
737
- };
738
-
739
645
  /**
740
646
  * Update V5SchemaMigration
741
647
  * @summary AccessToken supported.
@@ -1489,7 +1395,7 @@ export const getGrowirestapiv3 = () => {
1489
1395
  };
1490
1396
 
1491
1397
  /**
1492
- * Get the information of a page
1398
+ * Get summary information of pages
1493
1399
  * @summary /page-listing/info
1494
1400
  */
1495
1401
  const getInfoForPageListing = (params?: GetInfoForPageListingParams, options?: SecondParameter<typeof customInstance>) => {
@@ -1536,11 +1442,11 @@ export const getGrowirestapiv3 = () => {
1536
1442
  };
1537
1443
 
1538
1444
  /**
1539
- * Retrieve current page info
1540
- * @summary Get page info
1445
+ * Get summary informations for a page
1446
+ * @summary /page/info
1541
1447
  */
1542
- const getInfoForPage = (pageParams: PageParams, options?: SecondParameter<typeof customInstance>) => {
1543
- return customInstance<PageInfo>({ url: `/page/info`, method: 'GET', headers: { 'Content-Type': 'application/json' } }, options);
1448
+ const getInfoForPage = (params: GetInfoForPageParams, options?: SecondParameter<typeof customInstance>) => {
1449
+ return customInstance<PageInfoAll>({ url: `/page/info`, method: 'GET', params }, options);
1544
1450
  };
1545
1451
 
1546
1452
  /**
@@ -1835,6 +1741,38 @@ export const getGrowirestapiv3 = () => {
1835
1741
  return customInstance<PutApiTokenForPersonalSetting200>({ url: `/personal-setting/api-token`, method: 'PUT' }, options);
1836
1742
  };
1837
1743
 
1744
+ /**
1745
+ * Get access token
1746
+ * @summary /personal-setting/access-token
1747
+ */
1748
+ const getAccessTokenForPersonalSetting = (options?: SecondParameter<typeof customInstance>) => {
1749
+ return customInstance<GetAccessTokenForPersonalSetting200>({ url: `/personal-setting/access-token`, method: 'GET' }, options);
1750
+ };
1751
+
1752
+ /**
1753
+ * Generate access token
1754
+ * @summary /personal-setting/access-token
1755
+ */
1756
+ const postAccessTokenForPersonalSetting = (options?: SecondParameter<typeof customInstance>) => {
1757
+ return customInstance<PostAccessTokenForPersonalSetting200>({ url: `/personal-setting/access-token`, method: 'POST' }, options);
1758
+ };
1759
+
1760
+ /**
1761
+ * Delete access token
1762
+ * @summary /personal-setting/access-token
1763
+ */
1764
+ const deleteAccessTokenForPersonalSetting = (options?: SecondParameter<typeof customInstance>) => {
1765
+ return customInstance<void>({ url: `/personal-setting/access-token/`, method: 'DELETE' }, options);
1766
+ };
1767
+
1768
+ /**
1769
+ * Delete all access tokens
1770
+ * @summary /personal-setting/access-token/all
1771
+ */
1772
+ const deleteAllForPersonalSettingAccessToken = (options?: SecondParameter<typeof customInstance>) => {
1773
+ return customInstance<void>({ url: `/personal-setting/access-token/all`, method: 'DELETE' }, options);
1774
+ };
1775
+
1838
1776
  /**
1839
1777
  * associate Ldap account
1840
1778
  * @summary /personal-setting/associate-ldap
@@ -1914,25 +1852,6 @@ export const getGrowirestapiv3 = () => {
1914
1852
  return customInstance<GetInAppNotificationSettingsForPersonalSetting200>({ url: `/personal-setting/in-app-notification-settings`, method: 'GET' }, options);
1915
1853
  };
1916
1854
 
1917
- /**
1918
- * Update the questionnaire settings for the current user
1919
- * @summary /personal-setting/questionnaire-settings
1920
- */
1921
- const putQuestionnaireSettingsForPersonalSetting = (
1922
- putQuestionnaireSettingsForPersonalSettingBody: PutQuestionnaireSettingsForPersonalSettingBody,
1923
- options?: SecondParameter<typeof customInstance>,
1924
- ) => {
1925
- return customInstance<PutQuestionnaireSettingsForPersonalSetting200>(
1926
- {
1927
- url: `/personal-setting/questionnaire-settings`,
1928
- method: 'PUT',
1929
- headers: { 'Content-Type': 'application/json' },
1930
- data: putQuestionnaireSettingsForPersonalSettingBody,
1931
- },
1932
- options,
1933
- );
1934
- };
1935
-
1936
1855
  /**
1937
1856
  * Get revisions by page id
1938
1857
  */
@@ -2850,12 +2769,6 @@ export const getGrowirestapiv3 = () => {
2850
2769
  putSyncForExternalUserGroupsLdap,
2851
2770
  putSyncForExternalUserGroupsKeycloak,
2852
2771
  getSyncStatusForExternalUserGroupsLdap,
2853
- getOrdersForQuestionnaire,
2854
- getIsEnabledForQuestionnaire,
2855
- postAnswerForQuestionnaireProactive,
2856
- putAnswerForQuestionnaire,
2857
- putSkipForQuestionnaire,
2858
- putDenyForQuestionnaire,
2859
2772
  getTemplates,
2860
2773
  getPresetTemplatesByLocaleByTemplateIdForTemplates,
2861
2774
  getPluginTemplatesByLocaleByTemplateIdByReposIdByOrganizationIdForTemplates,
@@ -2871,7 +2784,6 @@ export const getGrowirestapiv3 = () => {
2871
2784
  postSmtpTestForAppSettings,
2872
2785
  putSesSettingForAppSettings,
2873
2786
  putFileUploadSettingsForAppSettings,
2874
- putQuestionnaireSettingsForAppSettings,
2875
2787
  postV5SchemaMigrationForAppSettings,
2876
2788
  postMaintenanceModeForAppSettings,
2877
2789
  getListForAttachment,
@@ -2982,13 +2894,16 @@ export const getGrowirestapiv3 = () => {
2982
2894
  getExternalAccountsForPersonalSetting,
2983
2895
  putPasswordForPersonalSetting,
2984
2896
  putApiTokenForPersonalSetting,
2897
+ getAccessTokenForPersonalSetting,
2898
+ postAccessTokenForPersonalSetting,
2899
+ deleteAccessTokenForPersonalSetting,
2900
+ deleteAllForPersonalSettingAccessToken,
2985
2901
  putAssociateLdapForPersonalSetting,
2986
2902
  putDisassociateLdapForPersonalSetting,
2987
2903
  putEditorSettingsForPersonalSetting,
2988
2904
  getEditorSettingsForPersonalSetting,
2989
2905
  putInAppNotificationSettingsForPersonalSetting,
2990
2906
  getInAppNotificationSettingsForPersonalSetting,
2991
- putQuestionnaireSettingsForPersonalSetting,
2992
2907
  getListForRevisions,
2993
2908
  getRevisionsById,
2994
2909
  getIndicesForSearch,
@@ -3112,14 +3027,6 @@ export type PutSyncForExternalUserGroupsKeycloakResult = NonNullable<
3112
3027
  export type GetSyncStatusForExternalUserGroupsLdapResult = NonNullable<
3113
3028
  Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getSyncStatusForExternalUserGroupsLdap']>>
3114
3029
  >;
3115
- export type GetOrdersForQuestionnaireResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getOrdersForQuestionnaire']>>>;
3116
- export type GetIsEnabledForQuestionnaireResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getIsEnabledForQuestionnaire']>>>;
3117
- export type PostAnswerForQuestionnaireProactiveResult = NonNullable<
3118
- Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postAnswerForQuestionnaireProactive']>>
3119
- >;
3120
- export type PutAnswerForQuestionnaireResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putAnswerForQuestionnaire']>>>;
3121
- export type PutSkipForQuestionnaireResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putSkipForQuestionnaire']>>>;
3122
- export type PutDenyForQuestionnaireResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putDenyForQuestionnaire']>>>;
3123
3030
  export type GetTemplatesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getTemplates']>>>;
3124
3031
  export type GetPresetTemplatesByLocaleByTemplateIdForTemplatesResult = NonNullable<
3125
3032
  Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getPresetTemplatesByLocaleByTemplateIdForTemplates']>>
@@ -3141,9 +3048,6 @@ export type PutSesSettingForAppSettingsResult = NonNullable<Awaited<ReturnType<R
3141
3048
  export type PutFileUploadSettingsForAppSettingsResult = NonNullable<
3142
3049
  Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putFileUploadSettingsForAppSettings']>>
3143
3050
  >;
3144
- export type PutQuestionnaireSettingsForAppSettingsResult = NonNullable<
3145
- Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putQuestionnaireSettingsForAppSettings']>>
3146
- >;
3147
3051
  export type PostV5SchemaMigrationForAppSettingsResult = NonNullable<
3148
3052
  Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postV5SchemaMigrationForAppSettings']>>
3149
3053
  >;
@@ -3306,6 +3210,16 @@ export type GetExternalAccountsForPersonalSettingResult = NonNullable<
3306
3210
  >;
3307
3211
  export type PutPasswordForPersonalSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putPasswordForPersonalSetting']>>>;
3308
3212
  export type PutApiTokenForPersonalSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putApiTokenForPersonalSetting']>>>;
3213
+ export type GetAccessTokenForPersonalSettingResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getAccessTokenForPersonalSetting']>>>;
3214
+ export type PostAccessTokenForPersonalSettingResult = NonNullable<
3215
+ Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['postAccessTokenForPersonalSetting']>>
3216
+ >;
3217
+ export type DeleteAccessTokenForPersonalSettingResult = NonNullable<
3218
+ Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteAccessTokenForPersonalSetting']>>
3219
+ >;
3220
+ export type DeleteAllForPersonalSettingAccessTokenResult = NonNullable<
3221
+ Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['deleteAllForPersonalSettingAccessToken']>>
3222
+ >;
3309
3223
  export type PutAssociateLdapForPersonalSettingResult = NonNullable<
3310
3224
  Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putAssociateLdapForPersonalSetting']>>
3311
3225
  >;
@@ -3324,9 +3238,6 @@ export type PutInAppNotificationSettingsForPersonalSettingResult = NonNullable<
3324
3238
  export type GetInAppNotificationSettingsForPersonalSettingResult = NonNullable<
3325
3239
  Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getInAppNotificationSettingsForPersonalSetting']>>
3326
3240
  >;
3327
- export type PutQuestionnaireSettingsForPersonalSettingResult = NonNullable<
3328
- Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['putQuestionnaireSettingsForPersonalSetting']>>
3329
- >;
3330
3241
  export type GetListForRevisionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getListForRevisions']>>>;
3331
3242
  export type GetRevisionsByIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getRevisionsById']>>>;
3332
3243
  export type GetIndicesForSearchResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getGrowirestapiv3>['getIndicesForSearch']>>>;