@resolution/confluence-api-client 0.4.4 → 0.4.6
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 +22 -0
- package/README.md +60 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +32 -33
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +151 -88
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/core/CommonHttpService.d.ts +2 -0
- package/lib/openapi/v1/core/CommonHttpService.js +9 -0
- package/lib/openapi/v1/core/CommonHttpService.js.map +1 -1
- 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/BaseConfluenceApiV2Client.d.ts +23 -24
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +92 -47
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/core/CommonHttpService.d.ts +2 -0
- package/lib/openapi/v2/core/CommonHttpService.js +9 -0
- package/lib/openapi/v2/core/CommonHttpService.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":"ContentRestrictionsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentRestrictionsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,uEAIuC;AACvC,wEAAqE;AACrE,mGAAmG;AACnG,MAAa,0BAA2B,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"ContentRestrictionsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentRestrictionsService.ts"],"names":[],"mappings":";;;AAAA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AC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,yBAAyB,CAAC;SAC9D,CAAC;aACD,QAAQ,CAAC,wDAAwD,CAAC,CACtE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,gEAAgE,EAChE,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,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzC,CAAC;aACD,QAAQ,CACP,gEAAgE,CACjE,CACJ,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,iEAAiE,EACjE,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,oBAAoB,CAAC;SACzD,CAAC;aACD,QAAQ,CACP,iEAAiE,CAClE,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,kEAA4C;YAC5C,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AAj/BD,gEAi/BC"}
|
|
@@ -24,7 +24,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
24
24
|
* @scopes-beta read:content.metadata:confluence, write:page:confluence
|
|
25
25
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-archive-post
|
|
26
26
|
*/
|
|
27
|
-
archivePages({ requestBody, }: {
|
|
27
|
+
archivePages: ({ requestBody, }: {
|
|
28
28
|
/** The pages to be archived. */
|
|
29
29
|
requestBody: {
|
|
30
30
|
pages?: ({
|
|
@@ -32,11 +32,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
32
32
|
id: number;
|
|
33
33
|
} & {
|
|
34
34
|
[key: string]: unknown;
|
|
35
|
-
})[];
|
|
35
|
+
})[] | undefined;
|
|
36
36
|
} & {
|
|
37
37
|
[key: string]: unknown;
|
|
38
38
|
};
|
|
39
|
-
})
|
|
39
|
+
}) => Promise<LongTask>;
|
|
40
40
|
/**
|
|
41
41
|
* Deprecated, use [Confluence's v2
|
|
42
42
|
* API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
|
|
@@ -64,9 +64,9 @@ export declare class ContentService extends CommonHttpService {
|
|
|
64
64
|
* @scopes-beta read:content-details:confluence, write:content:confluence
|
|
65
65
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-post
|
|
66
66
|
*/
|
|
67
|
-
createContent({ status, expand, contentCreate, }: {
|
|
67
|
+
createContent: ({ status, expand, contentCreate, }: {
|
|
68
68
|
/** Filter the returned content by status. */
|
|
69
|
-
status?: string;
|
|
69
|
+
status?: string | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* A multi-value parameter indicating which properties of the content to expand.
|
|
72
72
|
* Maximum sub-expansions allowed is `8`.
|
|
@@ -162,7 +162,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
162
162
|
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
163
163
|
* - `extensions.resolution` returns the resolution status of each comment.
|
|
164
164
|
*/
|
|
165
|
-
expand?: string[];
|
|
165
|
+
expand?: string[] | undefined;
|
|
166
166
|
/**
|
|
167
167
|
* The new content to be created. Set the `representation` to the name of the body
|
|
168
168
|
* format type. For example, if you use `storage` for the body format, set
|
|
@@ -176,7 +176,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
176
176
|
* and expand the desired content format, e.g. `expand=body.storage`.
|
|
177
177
|
*/
|
|
178
178
|
contentCreate: ContentCreate | null;
|
|
179
|
-
})
|
|
179
|
+
}) => Promise<Content | null>;
|
|
180
180
|
/**
|
|
181
181
|
* Deprecated, use [Confluence's v2
|
|
182
182
|
* API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
|
|
@@ -203,15 +203,15 @@ export declare class ContentService extends CommonHttpService {
|
|
|
203
203
|
* @scopes-beta delete:content:confluence
|
|
204
204
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-id-delete
|
|
205
205
|
*/
|
|
206
|
-
deleteContent({ id, status, }: {
|
|
206
|
+
deleteContent: ({ id, status, }: {
|
|
207
207
|
/** The ID of the content to be deleted. */
|
|
208
208
|
id: string;
|
|
209
209
|
/**
|
|
210
210
|
* Set this to `trashed`, if the content's status is `trashed` and you want to
|
|
211
211
|
* purge it.
|
|
212
212
|
*/
|
|
213
|
-
status?: string;
|
|
214
|
-
})
|
|
213
|
+
status?: string | undefined;
|
|
214
|
+
}) => Promise<void>;
|
|
215
215
|
/**
|
|
216
216
|
* Deprecated, use [Confluence's v2
|
|
217
217
|
* API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
|
|
@@ -235,28 +235,28 @@ export declare class ContentService extends CommonHttpService {
|
|
|
235
235
|
* @scopes-beta read:content-details:confluence
|
|
236
236
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-get
|
|
237
237
|
*/
|
|
238
|
-
getContent({ type, spaceKey, title, status, postingDay, expand, trigger, orderby, start, limit, }?: {
|
|
238
|
+
getContent: ({ type, spaceKey, title, status, postingDay, expand, trigger, orderby, start, limit, }?: {
|
|
239
239
|
/**
|
|
240
240
|
* The type of content to return. For example:
|
|
241
241
|
* - page
|
|
242
242
|
* - blogpost
|
|
243
243
|
*/
|
|
244
|
-
type?: string;
|
|
244
|
+
type?: string | undefined;
|
|
245
245
|
/** The key of the space to be queried for its content. */
|
|
246
|
-
spaceKey?: string;
|
|
246
|
+
spaceKey?: string | undefined;
|
|
247
247
|
/** The title of the page to be returned. Required for <code>page</code> type. */
|
|
248
|
-
title?: string;
|
|
248
|
+
title?: string | undefined;
|
|
249
249
|
/**
|
|
250
250
|
* Filter the results to a set of content based on their status. If set to `any`,
|
|
251
251
|
* content with any status is returned. Note, the `historical` status is currently
|
|
252
252
|
* not supported.
|
|
253
253
|
*/
|
|
254
|
-
status?: "current" | "
|
|
254
|
+
status?: "current" | "any" | "deleted" | "historical" | "draft" | "trashed" | undefined;
|
|
255
255
|
/**
|
|
256
256
|
* The posting date of the blog post to be returned. Required for
|
|
257
257
|
* <code>blogpost</code> type. Format: <code>yyyy-mm-dd</code>.
|
|
258
258
|
*/
|
|
259
|
-
postingDay?: string;
|
|
259
|
+
postingDay?: string | undefined;
|
|
260
260
|
/**
|
|
261
261
|
* A multi-value parameter indicating which properties of the content to expand.
|
|
262
262
|
* Maximum sub-expansions allowed is `8`.
|
|
@@ -352,29 +352,29 @@ export declare class ContentService extends CommonHttpService {
|
|
|
352
352
|
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
353
353
|
* - `extensions.resolution` returns the resolution status of each comment.
|
|
354
354
|
*/
|
|
355
|
-
expand?: string[];
|
|
355
|
+
expand?: string[] | undefined;
|
|
356
356
|
/**
|
|
357
357
|
* If set to `viewed`, the request will trigger a 'viewed' event for the content.
|
|
358
358
|
* When this event is triggered, the page/blogpost will appear on the 'Recently
|
|
359
359
|
* visited'
|
|
360
360
|
* tab of the user's Confluence dashboard.
|
|
361
361
|
*/
|
|
362
|
-
trigger?: "viewed";
|
|
362
|
+
trigger?: "viewed" | undefined;
|
|
363
363
|
/**
|
|
364
364
|
* Orders the content by a particular field. Specify the field and sort direction
|
|
365
365
|
* for
|
|
366
366
|
* this parameter, as follows: 'fieldpath asc/desc'. For example,
|
|
367
367
|
* 'history.createdDate desc'.
|
|
368
368
|
*/
|
|
369
|
-
orderby?: string;
|
|
369
|
+
orderby?: string | undefined;
|
|
370
370
|
/** The starting index of the returned content. */
|
|
371
|
-
start?: number;
|
|
371
|
+
start?: number | undefined;
|
|
372
372
|
/**
|
|
373
373
|
* The maximum number of content objects to return per page.
|
|
374
374
|
* Note, this may be restricted by fixed system limits.
|
|
375
375
|
*/
|
|
376
|
-
limit?: number;
|
|
377
|
-
})
|
|
376
|
+
limit?: number | undefined;
|
|
377
|
+
}) => Promise<ContentArray>;
|
|
378
378
|
/**
|
|
379
379
|
* Deprecated, use [Confluence's v2
|
|
380
380
|
* API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
|
|
@@ -394,7 +394,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
394
394
|
* @scopes-beta read:content-details:confluence
|
|
395
395
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-id-get
|
|
396
396
|
*/
|
|
397
|
-
getContentById({ id, status, version, embeddedContentRender, expand, trigger, }: {
|
|
397
|
+
getContentById: ({ id, status, version, embeddedContentRender, expand, trigger, }: {
|
|
398
398
|
/**
|
|
399
399
|
* The ID of the content to be returned. If you don't know the content ID,
|
|
400
400
|
* use [Get content](#api-content-get) and filter the results.
|
|
@@ -405,9 +405,9 @@ export declare class ContentService extends CommonHttpService {
|
|
|
405
405
|
* If set to `any`, content with any status is returned. Note, the
|
|
406
406
|
* `historical` status is currently not supported.
|
|
407
407
|
*/
|
|
408
|
-
status?: "current" | "
|
|
408
|
+
status?: "current" | "any" | "deleted" | "historical" | "draft" | "trashed" | "archived" | undefined;
|
|
409
409
|
/** The version number of the content to be returned. */
|
|
410
|
-
version?: number;
|
|
410
|
+
version?: number | undefined;
|
|
411
411
|
/**
|
|
412
412
|
* The version of embedded content (e.g. attachments) to render.
|
|
413
413
|
*
|
|
@@ -415,7 +415,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
415
415
|
* - <code>version-at-save</code> renders the version of the embedded content
|
|
416
416
|
* at the time of save.
|
|
417
417
|
*/
|
|
418
|
-
embeddedContentRender?: "current" | "version-at-save";
|
|
418
|
+
embeddedContentRender?: "current" | "version-at-save" | undefined;
|
|
419
419
|
/**
|
|
420
420
|
* A multi-value parameter indicating which properties of the content to expand.
|
|
421
421
|
* Maximum sub-expansions allowed is `8`.
|
|
@@ -511,15 +511,15 @@ export declare class ContentService extends CommonHttpService {
|
|
|
511
511
|
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
512
512
|
* - `extensions.resolution` returns the resolution status of each comment.
|
|
513
513
|
*/
|
|
514
|
-
expand?: string[];
|
|
514
|
+
expand?: string[] | undefined;
|
|
515
515
|
/**
|
|
516
516
|
* If set to `viewed`, the request will trigger a 'viewed' event for the content.
|
|
517
517
|
* When this event is triggered, the page/blogpost will appear on the 'Recently
|
|
518
518
|
* visited'
|
|
519
519
|
* tab of the user's Confluence dashboard.
|
|
520
520
|
*/
|
|
521
|
-
trigger?: "viewed";
|
|
522
|
-
})
|
|
521
|
+
trigger?: "viewed" | undefined;
|
|
522
|
+
}) => Promise<Content | null>;
|
|
523
523
|
/**
|
|
524
524
|
* Deprecated, use [Confluence's v2
|
|
525
525
|
* API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
|
|
@@ -536,7 +536,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
536
536
|
* @scopes-beta read:content.metadata:confluence, read:user:confluence
|
|
537
537
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-id-history-get
|
|
538
538
|
*/
|
|
539
|
-
getHistoryForContent({ id, expand, }: {
|
|
539
|
+
getHistoryForContent: ({ id, expand, }: {
|
|
540
540
|
/** The ID of the content to be queried for its history. */
|
|
541
541
|
id: string;
|
|
542
542
|
/**
|
|
@@ -552,8 +552,8 @@ export declare class ContentService extends CommonHttpService {
|
|
|
552
552
|
* - `contributors` returns all of the users who have contributed to the content.
|
|
553
553
|
* - `nextVersion` This parameter is not used for this method.
|
|
554
554
|
*/
|
|
555
|
-
expand?: ("lastUpdated" | "previousVersion" | "contributors" | "nextVersion")[];
|
|
556
|
-
})
|
|
555
|
+
expand?: ("lastUpdated" | "previousVersion" | "contributors" | "nextVersion")[] | undefined;
|
|
556
|
+
}) => Promise<ContentHistory | null>;
|
|
557
557
|
/**
|
|
558
558
|
* Publishes a legacy draft of a page created from a blueprint. Legacy drafts
|
|
559
559
|
* will eventually be removed in favor of shared drafts. For now, this method
|
|
@@ -573,7 +573,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
573
573
|
* @scopes-beta read:content-details:confluence, write:content:confluence
|
|
574
574
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-blueprint-instance-draftid-post
|
|
575
575
|
*/
|
|
576
|
-
publishLegacyDraft({ draftId, status, expand, contentBlueprintDraft, }: {
|
|
576
|
+
publishLegacyDraft: ({ draftId, status, expand, contentBlueprintDraft, }: {
|
|
577
577
|
/**
|
|
578
578
|
* The ID of the draft page that was created from a blueprint.
|
|
579
579
|
* You can find the `draftId` in the Confluence application by
|
|
@@ -584,7 +584,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
584
584
|
* The status of the content to be updated, i.e. the draft. This is set
|
|
585
585
|
* to 'draft' by default, so you shouldn't need to specify it.
|
|
586
586
|
*/
|
|
587
|
-
status?: string;
|
|
587
|
+
status?: string | undefined;
|
|
588
588
|
/**
|
|
589
589
|
* A multi-value parameter indicating which properties of the content to expand.
|
|
590
590
|
*
|
|
@@ -679,9 +679,9 @@ export declare class ContentService extends CommonHttpService {
|
|
|
679
679
|
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
680
680
|
* - `extensions.resolution` returns the resolution status of each comment.
|
|
681
681
|
*/
|
|
682
|
-
expand?: string[];
|
|
682
|
+
expand?: string[] | undefined;
|
|
683
683
|
contentBlueprintDraft: ContentBlueprintDraft;
|
|
684
|
-
})
|
|
684
|
+
}) => Promise<Content | null>;
|
|
685
685
|
/**
|
|
686
686
|
* Publishes a shared draft of a page created from a blueprint.
|
|
687
687
|
*
|
|
@@ -698,7 +698,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
698
698
|
* @scopes-beta read:content-details:confluence, write:content:confluence
|
|
699
699
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-blueprint-instance-draftid-put
|
|
700
700
|
*/
|
|
701
|
-
publishSharedDraft({ draftId, status, expand, contentBlueprintDraft, }: {
|
|
701
|
+
publishSharedDraft: ({ draftId, status, expand, contentBlueprintDraft, }: {
|
|
702
702
|
/**
|
|
703
703
|
* The ID of the draft page that was created from a blueprint.
|
|
704
704
|
* You can find the `draftId` in the Confluence application by
|
|
@@ -709,7 +709,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
709
709
|
* The status of the content to be updated, i.e. the draft. This is set
|
|
710
710
|
* to 'draft' by default, so you shouldn't need to specify it.
|
|
711
711
|
*/
|
|
712
|
-
status?: string;
|
|
712
|
+
status?: string | undefined;
|
|
713
713
|
/**
|
|
714
714
|
* A multi-value parameter indicating which properties of the content to expand.
|
|
715
715
|
*
|
|
@@ -804,9 +804,9 @@ export declare class ContentService extends CommonHttpService {
|
|
|
804
804
|
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
805
805
|
* - `extensions.resolution` returns the resolution status of each comment.
|
|
806
806
|
*/
|
|
807
|
-
expand?: string[];
|
|
807
|
+
expand?: string[] | undefined;
|
|
808
808
|
contentBlueprintDraft: ContentBlueprintDraft;
|
|
809
|
-
})
|
|
809
|
+
}) => Promise<Content | null>;
|
|
810
810
|
/**
|
|
811
811
|
* Returns the list of content that matches a Confluence Query Language
|
|
812
812
|
* (CQL) query. For information on CQL, see:
|
|
@@ -865,7 +865,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
865
865
|
* @scopes-beta read:content-details:confluence
|
|
866
866
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-search-get
|
|
867
867
|
*/
|
|
868
|
-
searchContentByCql({ cql, cqlcontext, expand, cursor, limit, }: {
|
|
868
|
+
searchContentByCql: ({ cql, cqlcontext, expand, cursor, limit, }: {
|
|
869
869
|
/** The CQL string that is used to find the requested content. */
|
|
870
870
|
cql: string;
|
|
871
871
|
/**
|
|
@@ -877,7 +877,7 @@ export declare class ContentService extends CommonHttpService {
|
|
|
877
877
|
* be in the space spacified by `spaceKey`.
|
|
878
878
|
* - `contentStatuses` Content statuses to search against. Optional.
|
|
879
879
|
*/
|
|
880
|
-
cqlcontext?: string;
|
|
880
|
+
cqlcontext?: string | undefined;
|
|
881
881
|
/**
|
|
882
882
|
* A multi-value parameter indicating which properties of the content to expand.
|
|
883
883
|
*
|
|
@@ -972,18 +972,18 @@ export declare class ContentService extends CommonHttpService {
|
|
|
972
972
|
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
973
973
|
* - `extensions.resolution` returns the resolution status of each comment.
|
|
974
974
|
*/
|
|
975
|
-
expand?: string[];
|
|
975
|
+
expand?: string[] | undefined;
|
|
976
976
|
/**
|
|
977
977
|
* Pointer to a set of search results, returned as part of the `next` or `prev`
|
|
978
978
|
* URL from the previous search call.
|
|
979
979
|
*/
|
|
980
|
-
cursor?: string;
|
|
980
|
+
cursor?: string | undefined;
|
|
981
981
|
/**
|
|
982
982
|
* The maximum number of content objects to return per page.
|
|
983
983
|
* Note, this may be restricted by fixed system limits.
|
|
984
984
|
*/
|
|
985
|
-
limit?: number;
|
|
986
|
-
})
|
|
985
|
+
limit?: number | undefined;
|
|
986
|
+
}) => Promise<ContentArray>;
|
|
987
987
|
/**
|
|
988
988
|
* Deprecated, use [Confluence's v2
|
|
989
989
|
* API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
|
|
@@ -1003,21 +1003,21 @@ export declare class ContentService extends CommonHttpService {
|
|
|
1003
1003
|
* @scopes-beta read:content-details:confluence, write:content:confluence
|
|
1004
1004
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-id-put
|
|
1005
1005
|
*/
|
|
1006
|
-
updateContent({ id, status, conflictPolicy, contentUpdate, }: {
|
|
1006
|
+
updateContent: ({ id, status, conflictPolicy, contentUpdate, }: {
|
|
1007
1007
|
/** The ID of the content to be updated. */
|
|
1008
1008
|
id: string;
|
|
1009
1009
|
/**
|
|
1010
1010
|
* The updated status of the content. Use this parameter to change the
|
|
1011
1011
|
* status of a piece of content without passing the entire request body.
|
|
1012
1012
|
*/
|
|
1013
|
-
status?: "current" | "
|
|
1013
|
+
status?: "current" | "deleted" | "historical" | "draft" | "trashed" | undefined;
|
|
1014
1014
|
/**
|
|
1015
1015
|
* The action that should be taken when conflicts are discovered.
|
|
1016
1016
|
* Only used when publishing a draft page.
|
|
1017
1017
|
*/
|
|
1018
|
-
conflictPolicy?: "abort";
|
|
1018
|
+
conflictPolicy?: "abort" | undefined;
|
|
1019
1019
|
/** The updated content. */
|
|
1020
1020
|
contentUpdate: ContentUpdate;
|
|
1021
|
-
})
|
|
1021
|
+
}) => Promise<Content | null>;
|
|
1022
1022
|
static initialize(): void;
|
|
1023
1023
|
}
|