@resolution/confluence-api-client 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/lib/openapi/v1/services/AnalyticsService.d.ts +10 -10
- package/lib/openapi/v1/services/AnalyticsService.js +62 -59
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +25 -25
- package/lib/openapi/v1/services/AuditService.js +205 -202
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +20 -20
- package/lib/openapi/v1/services/ContentAttachmentsService.js +317 -314
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +15 -15
- package/lib/openapi/v1/services/ContentBodyService.js +140 -137
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +27 -27
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +391 -388
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +8 -8
- package/lib/openapi/v1/services/ContentCommentsService.js +49 -46
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +11 -11
- package/lib/openapi/v1/services/ContentLabelsService.js +150 -147
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentMacroBodyService.js +155 -152
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -2
- package/lib/openapi/v1/services/ContentPermissionsService.js +48 -45
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +18 -18
- package/lib/openapi/v1/services/ContentPropertiesService.js +237 -234
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +49 -49
- package/lib/openapi/v1/services/ContentRestrictionsService.js +505 -502
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +50 -50
- package/lib/openapi/v1/services/ContentService.js +475 -472
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +25 -25
- package/lib/openapi/v1/services/ContentStatesService.js +359 -356
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentVersionsService.js +144 -141
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +57 -57
- package/lib/openapi/v1/services/ContentWatchesService.js +454 -451
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +5 -5
- package/lib/openapi/v1/services/DynamicModulesService.js +70 -67
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +12 -12
- package/lib/openapi/v1/services/ExperimentalService.js +151 -148
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +52 -52
- package/lib/openapi/v1/services/GroupService.js +445 -442
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +20 -20
- package/lib/openapi/v1/services/InlineTasksService.js +118 -115
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +5 -5
- package/lib/openapi/v1/services/LabelInfoService.js +37 -34
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +8 -6
- package/lib/openapi/v1/services/LongRunningTaskService.js +67 -63
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +37 -37
- package/lib/openapi/v1/services/RelationService.js +231 -228
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +20 -20
- package/lib/openapi/v1/services/SearchService.js +136 -133
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +15 -15
- package/lib/openapi/v1/services/SettingsService.js +204 -201
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +6 -6
- package/lib/openapi/v1/services/SpacePermissionsService.js +99 -96
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +16 -16
- package/lib/openapi/v1/services/SpacePropertiesService.js +227 -224
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +38 -38
- package/lib/openapi/v1/services/SpaceService.js +320 -317
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -4
- package/lib/openapi/v1/services/SpaceSettingsService.js +68 -65
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +20 -20
- package/lib/openapi/v1/services/TemplateService.js +214 -211
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +13 -13
- package/lib/openapi/v1/services/ThemesService.js +179 -176
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +12 -12
- package/lib/openapi/v1/services/UserPropertiesService.js +165 -162
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +21 -21
- package/lib/openapi/v1/services/UsersService.js +229 -226
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/models/user.d.ts +0 -2
- package/lib/openapi/v2/models/user.js +0 -2
- package/lib/openapi/v2/models/user.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +17 -17
- package/lib/openapi/v2/services/AncestorsService.js +174 -171
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +62 -62
- package/lib/openapi/v2/services/AttachmentService.js +261 -258
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +70 -70
- package/lib/openapi/v2/services/BlogPostService.js +270 -267
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +14 -14
- package/lib/openapi/v2/services/ChildrenService.js +77 -74
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +21 -21
- package/lib/openapi/v2/services/ClassificationLevelService.js +304 -301
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +136 -136
- package/lib/openapi/v2/services/CommentService.js +635 -632
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +128 -128
- package/lib/openapi/v2/services/ContentPropertiesService.js +1242 -1239
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +2 -2
- package/lib/openapi/v2/services/ContentService.js +40 -37
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +72 -72
- package/lib/openapi/v2/services/CustomContentService.js +299 -296
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +10 -10
- package/lib/openapi/v2/services/DataPoliciesService.js +67 -64
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +17 -17
- package/lib/openapi/v2/services/DatabaseService.js +90 -87
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +57 -57
- package/lib/openapi/v2/services/LabelService.js +263 -260
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +36 -36
- package/lib/openapi/v2/services/LikeService.js +250 -247
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +20 -20
- package/lib/openapi/v2/services/OperationService.js +298 -295
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +73 -73
- package/lib/openapi/v2/services/PageService.js +272 -269
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +19 -17
- package/lib/openapi/v2/services/SmartLinkService.js +92 -89
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +6 -6
- package/lib/openapi/v2/services/SpacePermissionsService.js +35 -32
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +15 -15
- package/lib/openapi/v2/services/SpacePropertiesService.js +165 -162
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +28 -28
- package/lib/openapi/v2/services/SpaceService.js +83 -80
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +40 -40
- package/lib/openapi/v2/services/TaskService.js +120 -117
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +11 -11
- package/lib/openapi/v2/services/UserService.js +91 -88
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +59 -59
- package/lib/openapi/v2/services/VersionService.js +395 -392
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +17 -17
- package/lib/openapi/v2/services/WhiteboardService.js +90 -87
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentAttachmentsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentAttachmentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAE1B,wEAAqE;AACrE,kGAAkG;AAClG,MAAa,yBAA0B,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"ContentAttachmentsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentAttachmentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAE1B,wEAAqE;AACrE,kGAAkG;AAClG,MAAa,yBAA0B,SAAQ,qCAAiB;IAAhE;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA4CG;QACH,qBAAgB,GAAG,CAAC,EAClB,EAAE,EACF,MAAM,EACN,WAAW,GAOZ,EAAyB,EAAE;YAC1B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,8CAA8C;gBACpD,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,MAAM;iBACP;gBACD,OAAO,EAAE;oBACP,c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G,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,QAAQ,CAAC,iDAAuB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC1D,CAAC;aACD,QAAQ,CAAC,yDAAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA/lBD,8DA+lBC"}
|
|
@@ -26,7 +26,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
26
26
|
* @scopes-beta read:content.metadata:confluence
|
|
27
27
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-async-to-post
|
|
28
28
|
*/
|
|
29
|
-
asyncConvertContentBodyRequest({ to, expand, spaceKeyContext, contentIdContext, allowCache, embeddedContentRender, contentBodyCreate, }: {
|
|
29
|
+
asyncConvertContentBodyRequest: ({ to, expand, spaceKeyContext, contentIdContext, allowCache, embeddedContentRender, contentBodyCreate, }: {
|
|
30
30
|
/** The name of the target format for the content body. */
|
|
31
31
|
to: "export_view";
|
|
32
32
|
/**
|
|
@@ -66,7 +66,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
66
66
|
* - `webresource.tags.js` returns common dependencies as html `<script>` and
|
|
67
67
|
* `<style>` tags
|
|
68
68
|
*/
|
|
69
|
-
expand?: string[];
|
|
69
|
+
expand?: string[] | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* The space key used for resolving embedded content (page includes,
|
|
72
72
|
* files, and links) in the content body. For example, if the source content
|
|
@@ -75,7 +75,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
75
75
|
* and the `spaceKeyContext=TEST` parameter is provided, then the link
|
|
76
76
|
* will be converted to a link to the "Example page" page in the "TEST" space.
|
|
77
77
|
*/
|
|
78
|
-
spaceKeyContext?: string;
|
|
78
|
+
spaceKeyContext?: string | undefined;
|
|
79
79
|
/**
|
|
80
80
|
* The content ID used to find the space for resolving embedded content
|
|
81
81
|
* (page includes, files, and links) in the content body. For example,
|
|
@@ -86,7 +86,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
86
86
|
* that has the content with ID=123. Note, `spaceKeyContext` will be ignored
|
|
87
87
|
* if this parameter is provided.
|
|
88
88
|
*/
|
|
89
|
-
contentIdContext?: string;
|
|
89
|
+
contentIdContext?: string | undefined;
|
|
90
90
|
/**
|
|
91
91
|
* If this field is false, the cache will erase its current value and begin a new
|
|
92
92
|
* conversion.
|
|
@@ -99,7 +99,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
99
99
|
* should set this fields to true. Cache values are stored per user per content
|
|
100
100
|
* body and expansions.
|
|
101
101
|
*/
|
|
102
|
-
allowCache?: boolean;
|
|
102
|
+
allowCache?: boolean | undefined;
|
|
103
103
|
/**
|
|
104
104
|
* Mode used for rendering embedded content, like attachments.
|
|
105
105
|
*
|
|
@@ -107,10 +107,10 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
107
107
|
* - `version-at-save` renders the embedded content using the version at
|
|
108
108
|
* the time of save.
|
|
109
109
|
*/
|
|
110
|
-
embeddedContentRender?: "current" | "version-at-save";
|
|
110
|
+
embeddedContentRender?: "current" | "version-at-save" | undefined;
|
|
111
111
|
/** The content body to convert. */
|
|
112
112
|
contentBodyCreate: ContentBodyCreate;
|
|
113
|
-
})
|
|
113
|
+
}) => Promise<AsyncId>;
|
|
114
114
|
/**
|
|
115
115
|
* Returns the asynchronous content body for the corresponding id if the task is
|
|
116
116
|
* complete
|
|
@@ -130,10 +130,10 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
130
130
|
* @scopes-beta read:content.metadata:confluence
|
|
131
131
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-async-id-get
|
|
132
132
|
*/
|
|
133
|
-
asyncConvertContentBodyResponse({ id, }: {
|
|
133
|
+
asyncConvertContentBodyResponse: ({ id, }: {
|
|
134
134
|
/** The asyncId of the macro task to get the converted body. */
|
|
135
135
|
id: string;
|
|
136
|
-
})
|
|
136
|
+
}) => Promise<AsyncContentBody>;
|
|
137
137
|
/**
|
|
138
138
|
* Converts a content body from one format to another format.
|
|
139
139
|
*
|
|
@@ -155,7 +155,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
155
155
|
* @scopes-beta read:content.metadata:confluence
|
|
156
156
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-to-post
|
|
157
157
|
*/
|
|
158
|
-
convertContentBody({ to, spaceKeyContext, contentIdContext, embeddedContentRender, expand, contentBodyCreate, }: {
|
|
158
|
+
convertContentBody: ({ to, spaceKeyContext, contentIdContext, embeddedContentRender, expand, contentBodyCreate, }: {
|
|
159
159
|
/** The name of the target format for the content body. */
|
|
160
160
|
to: string;
|
|
161
161
|
/**
|
|
@@ -166,7 +166,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
166
166
|
* and the `spaceKeyContext=TEST` parameter is provided, then the link
|
|
167
167
|
* will be converted to a link to the "Example page" page in the "TEST" space.
|
|
168
168
|
*/
|
|
169
|
-
spaceKeyContext?: string;
|
|
169
|
+
spaceKeyContext?: string | undefined;
|
|
170
170
|
/**
|
|
171
171
|
* The content ID used to find the space for resolving embedded content
|
|
172
172
|
* (page includes, files, and links) in the content body. For example,
|
|
@@ -177,7 +177,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
177
177
|
* that has the content with ID=123. Note, `spaceKeyContext` will be ignored
|
|
178
178
|
* if this parameter is provided.
|
|
179
179
|
*/
|
|
180
|
-
contentIdContext?: string;
|
|
180
|
+
contentIdContext?: string | undefined;
|
|
181
181
|
/**
|
|
182
182
|
* Mode used for rendering embedded content, like attachments.
|
|
183
183
|
*
|
|
@@ -185,7 +185,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
185
185
|
* - `version-at-save` renders the embedded content using the version at
|
|
186
186
|
* the time of save.
|
|
187
187
|
*/
|
|
188
|
-
embeddedContentRender?: "current" | "version-at-save";
|
|
188
|
+
embeddedContentRender?: "current" | "version-at-save" | undefined;
|
|
189
189
|
/**
|
|
190
190
|
* A multi-value parameter indicating which properties of the content to expand
|
|
191
191
|
* and populate. Expands are dependent on the
|
|
@@ -223,9 +223,9 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
223
223
|
* - `webresource.tags.js` returns common dependencies as html `<script>` and
|
|
224
224
|
* `<style>` tags
|
|
225
225
|
*/
|
|
226
|
-
expand?: string[];
|
|
226
|
+
expand?: string[] | undefined;
|
|
227
227
|
/** The content body to convert. */
|
|
228
228
|
contentBodyCreate: ContentBodyCreate;
|
|
229
|
-
})
|
|
229
|
+
}) => Promise<ContentBody>;
|
|
230
230
|
static initialize(): void;
|
|
231
231
|
}
|
|
@@ -12,143 +12,146 @@ const contentBody_1 = require("../models/contentBody");
|
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
13
13
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body */
|
|
14
14
|
class ContentBodyService extends CommonHttpService_1.CommonHttpService {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
/**
|
|
18
|
+
* Converts a content body from one format to another format asynchronously.
|
|
19
|
+
* Returns the asyncId for the asynchronous task.
|
|
20
|
+
*
|
|
21
|
+
* Supported conversions:
|
|
22
|
+
*
|
|
23
|
+
* - storage: export_view
|
|
24
|
+
*
|
|
25
|
+
* No other conversions are supported at the moment.
|
|
26
|
+
* Once a conversion is completed, it will be available for 5 minutes at the
|
|
27
|
+
* result endpoint.
|
|
28
|
+
*
|
|
29
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
30
|
+
* If request specifies 'contentIdContext', 'View' permission for the space, and
|
|
31
|
+
* permission to view the content.
|
|
32
|
+
*
|
|
33
|
+
* @returns Returned if the content is added to the messaging queue for conversion. This id
|
|
34
|
+
* will be available for 5 minutes after the conversion is complete.
|
|
35
|
+
* @path {POST} /wiki/rest/api/contentbody/convert/async/{to}
|
|
36
|
+
* @scopes-current read:confluence-content.all
|
|
37
|
+
* @scopes-beta read:content.metadata:confluence
|
|
38
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-async-to-post
|
|
39
|
+
*/
|
|
40
|
+
this.asyncConvertContentBodyRequest = ({ to, expand, spaceKeyContext, contentIdContext, allowCache, embeddedContentRender, contentBodyCreate, }) => {
|
|
41
|
+
return this.getClientInstance()
|
|
42
|
+
.request({
|
|
43
|
+
path: "/wiki/rest/api/contentbody/convert/async/{to}",
|
|
44
|
+
method: "POST",
|
|
45
|
+
pathParams: {
|
|
46
|
+
to,
|
|
47
|
+
},
|
|
48
|
+
query: {
|
|
49
|
+
expand,
|
|
50
|
+
spaceKeyContext,
|
|
51
|
+
contentIdContext,
|
|
52
|
+
allowCache,
|
|
53
|
+
embeddedContentRender,
|
|
54
|
+
},
|
|
55
|
+
headers: {
|
|
56
|
+
"Content-Type": "application/json",
|
|
57
|
+
},
|
|
58
|
+
body: contentBodyCreate,
|
|
59
|
+
})
|
|
60
|
+
.then(this.getClientInstance().responseHandler({
|
|
61
|
+
200: {
|
|
62
|
+
"application/json": "json",
|
|
63
|
+
},
|
|
64
|
+
}))
|
|
65
|
+
.then(commonHttpClient.castResponse())
|
|
66
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentBodyService.asyncConvertContentBodyRequest.response"))
|
|
67
|
+
.then(commonHttpClient.getBody);
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Returns the asynchronous content body for the corresponding id if the task is
|
|
71
|
+
* complete
|
|
72
|
+
* or returns the status of the task.
|
|
73
|
+
*
|
|
74
|
+
* After the task is completed, the result can be obtained for 5 minutes, or until
|
|
75
|
+
* an identical conversion request is made again,
|
|
76
|
+
* with allowCache query param set to false.
|
|
77
|
+
*
|
|
78
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
79
|
+
* If request specifies 'contentIdContext', 'View' permission for the space, and
|
|
80
|
+
* permission to view the content.
|
|
81
|
+
*
|
|
82
|
+
* @returns Returned if successfully found an async conversion task associated with the id.
|
|
83
|
+
* @path {GET} /wiki/rest/api/contentbody/convert/async/{id}
|
|
84
|
+
* @scopes-current read:confluence-content.all
|
|
85
|
+
* @scopes-beta read:content.metadata:confluence
|
|
86
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-async-id-get
|
|
87
|
+
*/
|
|
88
|
+
this.asyncConvertContentBodyResponse = ({ id, }) => {
|
|
89
|
+
return this.getClientInstance()
|
|
90
|
+
.request({
|
|
91
|
+
path: "/wiki/rest/api/contentbody/convert/async/{id}",
|
|
92
|
+
method: "GET",
|
|
93
|
+
pathParams: {
|
|
94
|
+
id,
|
|
95
|
+
},
|
|
96
|
+
})
|
|
97
|
+
.then(this.getClientInstance().responseHandler({
|
|
98
|
+
200: {
|
|
99
|
+
"application/json": "json",
|
|
100
|
+
},
|
|
101
|
+
}))
|
|
102
|
+
.then(commonHttpClient.castResponse())
|
|
103
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentBodyService.asyncConvertContentBodyResponse.response"))
|
|
104
|
+
.then(commonHttpClient.getBody);
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Converts a content body from one format to another format.
|
|
108
|
+
*
|
|
109
|
+
* Supported conversions:
|
|
110
|
+
*
|
|
111
|
+
* - storage: view, export_view, styled_view, editor
|
|
112
|
+
* - editor: storage
|
|
113
|
+
* - view: none
|
|
114
|
+
* - export_view: none
|
|
115
|
+
* - styled_view: none
|
|
116
|
+
*
|
|
117
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
118
|
+
* If request specifies 'contentIdContext', 'View' permission for the space, and
|
|
119
|
+
* permission to view the content.
|
|
120
|
+
*
|
|
121
|
+
* @returns Returned if the content is converted.
|
|
122
|
+
* @path {POST} /wiki/rest/api/contentbody/convert/{to}
|
|
123
|
+
* @scopes-current read:confluence-content.all
|
|
124
|
+
* @scopes-beta read:content.metadata:confluence
|
|
125
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-to-post
|
|
126
|
+
*/
|
|
127
|
+
this.convertContentBody = ({ to, spaceKeyContext, contentIdContext, embeddedContentRender, expand, contentBodyCreate, }) => {
|
|
128
|
+
return this.getClientInstance()
|
|
129
|
+
.request({
|
|
130
|
+
path: "/wiki/rest/api/contentbody/convert/{to}",
|
|
131
|
+
method: "POST",
|
|
132
|
+
pathParams: {
|
|
133
|
+
to,
|
|
134
|
+
},
|
|
135
|
+
query: {
|
|
136
|
+
spaceKeyContext,
|
|
137
|
+
contentIdContext,
|
|
138
|
+
embeddedContentRender,
|
|
139
|
+
expand,
|
|
140
|
+
},
|
|
141
|
+
headers: {
|
|
142
|
+
"Content-Type": "application/json",
|
|
143
|
+
},
|
|
144
|
+
body: contentBodyCreate,
|
|
145
|
+
})
|
|
146
|
+
.then(this.getClientInstance().responseHandler({
|
|
147
|
+
200: {
|
|
148
|
+
"application/json": "json",
|
|
149
|
+
},
|
|
150
|
+
}))
|
|
151
|
+
.then(commonHttpClient.castResponse())
|
|
152
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentBodyService.convertContentBody.response"))
|
|
153
|
+
.then(commonHttpClient.getBody);
|
|
154
|
+
};
|
|
152
155
|
}
|
|
153
156
|
static initialize() {
|
|
154
157
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentBodyService.convertContentBody.response", zod_1.z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentBodyService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentBodyService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAK0B;AAC1B,uDAG+B;AAC/B,wEAAqE;AACrE,2FAA2F;AAC3F,MAAa,kBAAmB,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"ContentBodyService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentBodyService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAK0B;AAC1B,uDAG+B;AAC/B,wEAAqE;AACrE,2FAA2F;AAC3F,MAAa,kBAAmB,SAAQ,qCAAiB;IAAzD;;QACE;;;;;;;;;;;;;;;;;;;;;;WAsBG;QACH,mCAA8B,GAAG,CAAC,EAChC,EAAE,EACF,MAAM,EACN,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,qBAAqB,EACrB,iBAAiB,GAqFlB,EAAoB,EAAE;YACrB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,+CAA+C;gBACrD,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE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iDAAuB,CAAC,kBAAkB,CACxC,4DAA4D,EAC5D,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,SAAS,CAAC;SAC9C,CAAC;aACD,QAAQ,CAAC,4DAA4D,CAAC,CAC1E,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,wCAA+B;YAC/B,kDAAoC;SACrC,CAAC,CAAC;IACL,CAAC;CACF;AApYD,gDAoYC"}
|
|
@@ -28,7 +28,7 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
28
28
|
* @scopes-beta read:content-details:confluence, write:page:confluence
|
|
29
29
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-copy-post
|
|
30
30
|
*/
|
|
31
|
-
copyPage({ id, expand, copyPageRequest, }: {
|
|
31
|
+
copyPage: ({ id, expand, copyPageRequest, }: {
|
|
32
32
|
id: string;
|
|
33
33
|
/**
|
|
34
34
|
* A multi-value parameter indicating which properties of the content to expand.
|
|
@@ -125,10 +125,10 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
125
125
|
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
126
126
|
* - `extensions.resolution` returns the resolution status of each comment.
|
|
127
127
|
*/
|
|
128
|
-
expand?: string[];
|
|
128
|
+
expand?: string[] | undefined;
|
|
129
129
|
/** Request object from json post body */
|
|
130
130
|
copyPageRequest: CopyPageRequest;
|
|
131
|
-
})
|
|
131
|
+
}) => Promise<Content | null>;
|
|
132
132
|
/**
|
|
133
133
|
* Copy page hierarchy allows the copying of an entire hierarchy of pages and
|
|
134
134
|
* their associated properties, permissions and attachments.
|
|
@@ -157,11 +157,11 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
157
157
|
* @scopes-beta read:content.metadata:confluence, write:page:confluence
|
|
158
158
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-pagehierarchy-copy-post
|
|
159
159
|
*/
|
|
160
|
-
copyPageHierarchy({ id, copyPageHierarchyRequest, }: {
|
|
160
|
+
copyPageHierarchy: ({ id, copyPageHierarchyRequest, }: {
|
|
161
161
|
id: string;
|
|
162
162
|
/** Request object from json post body */
|
|
163
163
|
copyPageHierarchyRequest: CopyPageHierarchyRequest;
|
|
164
|
-
})
|
|
164
|
+
}) => Promise<LongTask>;
|
|
165
165
|
/**
|
|
166
166
|
* Deprecated, use [Confluence's v2
|
|
167
167
|
* API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
|
|
@@ -202,7 +202,7 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
202
202
|
* @scopes-beta read:content-details:confluence
|
|
203
203
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-child-get
|
|
204
204
|
*/
|
|
205
|
-
getContentChildren({ id, expand, parentVersion, }: {
|
|
205
|
+
getContentChildren: ({ id, expand, parentVersion, }: {
|
|
206
206
|
/** The ID of the content to be queried for its children. */
|
|
207
207
|
id: string;
|
|
208
208
|
/**
|
|
@@ -218,13 +218,13 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
218
218
|
* - `folder` returns all child folders of the content.
|
|
219
219
|
* - Custom content types that are provided by apps are also supported.
|
|
220
220
|
*/
|
|
221
|
-
expand?: string[];
|
|
221
|
+
expand?: string[] | undefined;
|
|
222
222
|
/**
|
|
223
223
|
* The version of the parent content to retrieve children for.
|
|
224
224
|
* Currently, this only works for the latest version.
|
|
225
225
|
*/
|
|
226
|
-
parentVersion?: number;
|
|
227
|
-
})
|
|
226
|
+
parentVersion?: number | undefined;
|
|
227
|
+
}) => Promise<ContentChildren>;
|
|
228
228
|
/**
|
|
229
229
|
* Deprecated, use [Confluence's v2
|
|
230
230
|
* API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
|
|
@@ -266,7 +266,7 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
266
266
|
* @scopes-beta read:content-details:confluence
|
|
267
267
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-child-type-get
|
|
268
268
|
*/
|
|
269
|
-
getContentChildrenByType({ id, type, expand, parentVersion, start, limit, }: {
|
|
269
|
+
getContentChildrenByType: ({ id, type, expand, parentVersion, start, limit, }: {
|
|
270
270
|
/** The ID of the content to be queried for its children. */
|
|
271
271
|
id: string;
|
|
272
272
|
/** The type of children to return. */
|
|
@@ -365,20 +365,20 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
365
365
|
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
366
366
|
* - `extensions.resolution` returns the resolution status of each comment.
|
|
367
367
|
*/
|
|
368
|
-
expand?: string[];
|
|
368
|
+
expand?: string[] | undefined;
|
|
369
369
|
/**
|
|
370
370
|
* The version of the parent content to retrieve children for.
|
|
371
371
|
* Currently, this only works for the latest version.
|
|
372
372
|
*/
|
|
373
|
-
parentVersion?: number;
|
|
373
|
+
parentVersion?: number | undefined;
|
|
374
374
|
/** The starting index of the returned content. */
|
|
375
|
-
start?: number;
|
|
375
|
+
start?: number | undefined;
|
|
376
376
|
/**
|
|
377
377
|
* The maximum number of content to return per page. Note,
|
|
378
378
|
* this may be restricted by fixed system limits.
|
|
379
379
|
*/
|
|
380
|
-
limit?: number;
|
|
381
|
-
})
|
|
380
|
+
limit?: number | undefined;
|
|
381
|
+
}) => Promise<ContentArray>;
|
|
382
382
|
/**
|
|
383
383
|
* Returns a map of the descendants of a piece of content. This is similar
|
|
384
384
|
* to [Get content children](#api-content-id-child-get), except that this
|
|
@@ -415,7 +415,7 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
415
415
|
* @scopes-beta read:content-details:confluence
|
|
416
416
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-descendant-get
|
|
417
417
|
*/
|
|
418
|
-
getContentDescendants({ id, expand, }: {
|
|
418
|
+
getContentDescendants: ({ id, expand, }: {
|
|
419
419
|
/** The ID of the content to be queried for its descendants. */
|
|
420
420
|
id: string;
|
|
421
421
|
/**
|
|
@@ -430,8 +430,8 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
430
430
|
* - `embed` returns all child embeds of the content.
|
|
431
431
|
* - `folder` returns all child folders of the content.
|
|
432
432
|
*/
|
|
433
|
-
expand?: ("attachment" | "
|
|
434
|
-
})
|
|
433
|
+
expand?: ("attachment" | "page" | "comment")[] | undefined;
|
|
434
|
+
}) => Promise<ContentChildren>;
|
|
435
435
|
/**
|
|
436
436
|
* Returns all descendants of a given type, for a piece of content. This is
|
|
437
437
|
* similar to [Get content children by type](#api-content-id-child-type-get),
|
|
@@ -470,7 +470,7 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
470
470
|
* @scopes-beta read:content-details:confluence
|
|
471
471
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-descendant-type-get
|
|
472
472
|
*/
|
|
473
|
-
getDescendantsOfType({ id, type, depth, expand, start, limit, }: {
|
|
473
|
+
getDescendantsOfType: ({ id, type, depth, expand, start, limit, }: {
|
|
474
474
|
/** The ID of the content to be queried for its descendants. */
|
|
475
475
|
id: string;
|
|
476
476
|
/** The type of descendants to return. */
|
|
@@ -481,7 +481,7 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
481
481
|
* (level 1) descendants of the type requested. all represents returning all
|
|
482
482
|
* descendants of the type requested.
|
|
483
483
|
*/
|
|
484
|
-
depth?: "all" | "root" | "<any positive integer argument in the range of 1 and 100>";
|
|
484
|
+
depth?: "all" | "root" | "<any positive integer argument in the range of 1 and 100>" | undefined;
|
|
485
485
|
/**
|
|
486
486
|
* A multi-value parameter indicating which properties of the content to expand.
|
|
487
487
|
*
|
|
@@ -576,15 +576,15 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
576
576
|
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
577
577
|
* - `extensions.resolution` returns the resolution status of each comment.
|
|
578
578
|
*/
|
|
579
|
-
expand?: string[];
|
|
579
|
+
expand?: string[] | undefined;
|
|
580
580
|
/** The starting index of the returned content. */
|
|
581
|
-
start?: number;
|
|
581
|
+
start?: number | undefined;
|
|
582
582
|
/**
|
|
583
583
|
* The maximum number of content to return per page. Note,
|
|
584
584
|
* this may be restricted by fixed system limits.
|
|
585
585
|
*/
|
|
586
|
-
limit?: number;
|
|
587
|
-
})
|
|
586
|
+
limit?: number | undefined;
|
|
587
|
+
}) => Promise<ContentArray>;
|
|
588
588
|
/**
|
|
589
589
|
* Move a page to a new location relative to a target page:
|
|
590
590
|
*
|
|
@@ -606,7 +606,7 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
606
606
|
* @scopes-beta write:page:confluence
|
|
607
607
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-pageid-move-position-targetid-put
|
|
608
608
|
*/
|
|
609
|
-
movePage({ pageId, position, targetId, }: {
|
|
609
|
+
movePage: ({ pageId, position, targetId, }: {
|
|
610
610
|
/** The ID of the page to be moved */
|
|
611
611
|
pageId: string;
|
|
612
612
|
/**
|
|
@@ -620,8 +620,8 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
|
|
|
620
620
|
position: "before" | "after" | "append";
|
|
621
621
|
/** The ID of the target page for this operation */
|
|
622
622
|
targetId: string;
|
|
623
|
-
})
|
|
624
|
-
pageId?:
|
|
623
|
+
}) => Promise<{
|
|
624
|
+
pageId?: string | undefined;
|
|
625
625
|
} & {
|
|
626
626
|
[key: string]: unknown;
|
|
627
627
|
}>;
|