@growi/sdk-typescript 1.3.0 → 1.4.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.
@@ -91,6 +91,7 @@ import type {
91
91
  GetInfoForBookmarksParams,
92
92
  GetInfoForPageListing200,
93
93
  GetInfoForPageListingParams,
94
+ GetInfoForPageParams,
94
95
  GetIsEnabledForQuestionnaire200,
95
96
  GetIsPasswordSetForPersonalSetting200,
96
97
  GetLimitForAttachment200,
@@ -166,8 +167,7 @@ import type {
166
167
  NotifyForPageGrant,
167
168
  OidcAuthSetting,
168
169
  Page,
169
- PageInfo,
170
- PageParams,
170
+ PageInfoAll,
171
171
  PersonalSettings,
172
172
  PostAddBookmarkToFolderForBookmarkFolder200,
173
173
  PostAddBookmarkToFolderForBookmarkFolderBody,
@@ -1489,7 +1489,7 @@ export const getGrowirestapiv3 = () => {
1489
1489
  };
1490
1490
 
1491
1491
  /**
1492
- * Get the information of a page
1492
+ * Get summary information of pages
1493
1493
  * @summary /page-listing/info
1494
1494
  */
1495
1495
  const getInfoForPageListing = (params?: GetInfoForPageListingParams, options?: SecondParameter<typeof customInstance>) => {
@@ -1536,11 +1536,11 @@ export const getGrowirestapiv3 = () => {
1536
1536
  };
1537
1537
 
1538
1538
  /**
1539
- * Retrieve current page info
1540
- * @summary Get page info
1539
+ * Get summary informations for a page
1540
+ * @summary /page/info
1541
1541
  */
1542
- const getInfoForPage = (pageParams: PageParams, options?: SecondParameter<typeof customInstance>) => {
1543
- return customInstance<PageInfo>({ url: `/page/info`, method: 'GET', headers: { 'Content-Type': 'application/json' } }, options);
1542
+ const getInfoForPage = (params: GetInfoForPageParams, options?: SecondParameter<typeof customInstance>) => {
1543
+ return customInstance<PageInfoAll>({ url: `/page/info`, method: 'GET', params }, options);
1544
1544
  };
1545
1545
 
1546
1546
  /**