@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":"OperationService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/OperationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,mDAG6B;AAC7B,wEAAqE;AACrE,wFAAwF;AACxF,MAAa,gBAAiB,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"OperationService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/OperationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,mDAG6B;AAC7B,wEAAqE;AACrE,wFAAwF;AACxF,MAAa,gBAAiB,SAAQ,qCAAiB;IAAvD;;QACE;;;;;;;;;;;WAWG;QACH,4BAAuB,GAAG,CAAC,EACzB,EAAE,GAIH,EAAwC,EAAE;YACzC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,8BAA8B;gBACpC,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,C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AAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,6BAA6B,CAAC;SAClE,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,8CAA8C,EAC9C,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,6BAA6B,CAAC;SAClE,CAAC;aACD,QAAQ,CAAC,8CAA8C,CAAC,CAC5D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,mDAAmD,EACnD,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,6BAA6B,CAAC;SAClE,CAAC;aACD,QAAQ,CAAC,mDAAmD,CAAC,CACjE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,8CAAkC,CAAC,CAAC,CAAC;IAC7E,CAAC;CACF;AA7jBD,4CA6jBC"}
|
|
@@ -18,42 +18,42 @@ export declare class PageService extends CommonHttpService {
|
|
|
18
18
|
* @scopes-current write:page:confluence
|
|
19
19
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-post
|
|
20
20
|
*/
|
|
21
|
-
createPage({ embedded, private: privateQuery, rootLevel, requestBody, }: {
|
|
21
|
+
createPage: ({ embedded, private: privateQuery, rootLevel, requestBody, }: {
|
|
22
22
|
/** Tag the content as embedded and content will be created in NCS. */
|
|
23
|
-
embedded?: boolean;
|
|
23
|
+
embedded?: boolean | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* The page will be private. Only the user who creates this page will have
|
|
26
26
|
* permission to view and edit one.
|
|
27
27
|
*/
|
|
28
|
-
private?: boolean;
|
|
28
|
+
private?: boolean | undefined;
|
|
29
29
|
/**
|
|
30
30
|
* The page will be created at the root level of the space (outside the space
|
|
31
31
|
* homepage tree).
|
|
32
32
|
*/
|
|
33
|
-
rootLevel?: boolean;
|
|
33
|
+
rootLevel?: boolean | undefined;
|
|
34
34
|
requestBody: {
|
|
35
35
|
/** ID of the space. */
|
|
36
36
|
spaceId: string;
|
|
37
37
|
/** The status of the page, published or draft. */
|
|
38
|
-
status?: "current" | "draft";
|
|
38
|
+
status?: "current" | "draft" | undefined;
|
|
39
39
|
/** Title of the page, required if page status is not draft. */
|
|
40
|
-
title?: string;
|
|
40
|
+
title?: string | undefined;
|
|
41
41
|
/** The parent content ID of the page. */
|
|
42
|
-
parentId?: string;
|
|
43
|
-
body?: PageBodyWrite | PageNestedBodyWrite;
|
|
42
|
+
parentId?: string | undefined;
|
|
43
|
+
body?: PageBodyWrite | PageNestedBodyWrite | undefined;
|
|
44
44
|
} & {
|
|
45
45
|
[key: string]: unknown;
|
|
46
46
|
};
|
|
47
|
-
})
|
|
48
|
-
_links?: {
|
|
47
|
+
}) => Promise<PageSingle & {
|
|
48
|
+
_links?: ({
|
|
49
49
|
/** Base url of the Confluence site. */
|
|
50
|
-
base?: string;
|
|
50
|
+
base?: string | undefined;
|
|
51
51
|
} & {
|
|
52
52
|
[key: string]: unknown;
|
|
53
|
-
};
|
|
53
|
+
}) | undefined;
|
|
54
54
|
} & {
|
|
55
55
|
[key: string]: unknown;
|
|
56
|
-
}
|
|
56
|
+
}>;
|
|
57
57
|
/**
|
|
58
58
|
* Delete a page by id.
|
|
59
59
|
*
|
|
@@ -76,14 +76,14 @@ export declare class PageService extends CommonHttpService {
|
|
|
76
76
|
* @scopes-current delete:page:confluence
|
|
77
77
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-delete
|
|
78
78
|
*/
|
|
79
|
-
deletePage({ id, purge, draft, }: {
|
|
79
|
+
deletePage: ({ id, purge, draft, }: {
|
|
80
80
|
/** The ID of the page to be deleted. */
|
|
81
81
|
id: number;
|
|
82
82
|
/** If attempting to purge the page. */
|
|
83
|
-
purge?: boolean;
|
|
83
|
+
purge?: boolean | undefined;
|
|
84
84
|
/** If attempting to delete a page that is a draft. */
|
|
85
|
-
draft?: boolean;
|
|
86
|
-
})
|
|
85
|
+
draft?: boolean | undefined;
|
|
86
|
+
}) => Promise<void>;
|
|
87
87
|
/**
|
|
88
88
|
* Returns the pages of specified label. The number of results is limited by the
|
|
89
89
|
* `limit` parameter and additional results (if available)
|
|
@@ -97,37 +97,37 @@ export declare class PageService extends CommonHttpService {
|
|
|
97
97
|
* @scopes-current read:page:confluence
|
|
98
98
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-labels-id-pages-get
|
|
99
99
|
*/
|
|
100
|
-
getLabelPages({ id, spaceId, bodyFormat, sort, cursor, limit, }: {
|
|
100
|
+
getLabelPages: ({ id, spaceId, bodyFormat, sort, cursor, limit, }: {
|
|
101
101
|
/** The ID of the label for which pages should be returned. */
|
|
102
102
|
id: number;
|
|
103
103
|
/**
|
|
104
104
|
* Filter the results based on space ids. Multiple space ids can be specified as a
|
|
105
105
|
* comma-separated list.
|
|
106
106
|
*/
|
|
107
|
-
spaceId?: number[];
|
|
107
|
+
spaceId?: number[] | undefined;
|
|
108
108
|
/**
|
|
109
109
|
* The content format types to be returned in the `body` field of the response. If
|
|
110
110
|
* available, the representation will be available under a response field of the
|
|
111
111
|
* same name under the `body` field.
|
|
112
112
|
*/
|
|
113
|
-
bodyFormat?: PrimaryBodyRepresentation;
|
|
113
|
+
bodyFormat?: PrimaryBodyRepresentation | undefined;
|
|
114
114
|
/** Used to sort the result by a particular field. */
|
|
115
|
-
sort?: PageSortOrder;
|
|
115
|
+
sort?: PageSortOrder | undefined;
|
|
116
116
|
/**
|
|
117
117
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
118
118
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
119
119
|
* retrieve the `next` set of results.
|
|
120
120
|
*/
|
|
121
|
-
cursor?: string;
|
|
121
|
+
cursor?: string | undefined;
|
|
122
122
|
/**
|
|
123
123
|
* Maximum number of pages per result to return. If more results exist, use the
|
|
124
124
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
125
125
|
* results.
|
|
126
126
|
*/
|
|
127
|
-
limit?: number;
|
|
128
|
-
})
|
|
129
|
-
results?: PageBulk[];
|
|
130
|
-
_links?: MultiEntityLinks;
|
|
127
|
+
limit?: number | undefined;
|
|
128
|
+
}) => Promise<{
|
|
129
|
+
results?: PageBulk[] | undefined;
|
|
130
|
+
_links?: MultiEntityLinks | undefined;
|
|
131
131
|
} & {
|
|
132
132
|
[key: string]: unknown;
|
|
133
133
|
}>;
|
|
@@ -142,7 +142,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
142
142
|
* @scopes-current read:page:confluence
|
|
143
143
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-get
|
|
144
144
|
*/
|
|
145
|
-
getPageById({ id, bodyFormat, getDraft, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus, }: {
|
|
145
|
+
getPageById: ({ id, bodyFormat, getDraft, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus, }: {
|
|
146
146
|
/**
|
|
147
147
|
* The ID of the page to be returned. If you don't know the page ID, use Get pages
|
|
148
148
|
* and filter the results.
|
|
@@ -153,14 +153,14 @@ export declare class PageService extends CommonHttpService {
|
|
|
153
153
|
* available, the representation will be available under a response field of the
|
|
154
154
|
* same name under the `body` field.
|
|
155
155
|
*/
|
|
156
|
-
bodyFormat?: PrimaryBodyRepresentationSingle;
|
|
156
|
+
bodyFormat?: PrimaryBodyRepresentationSingle | undefined;
|
|
157
157
|
/** Retrieve the draft version of this page. */
|
|
158
|
-
getDraft?: boolean;
|
|
158
|
+
getDraft?: boolean | undefined;
|
|
159
159
|
/**
|
|
160
160
|
* Allows you to retrieve a previously published version. Specify the previous
|
|
161
161
|
* version's number to retrieve its details.
|
|
162
162
|
*/
|
|
163
|
-
version?: number;
|
|
163
|
+
version?: number | undefined;
|
|
164
164
|
/**
|
|
165
165
|
* Includes labels associated with this page in the response.
|
|
166
166
|
* The number of results will be limited to 50 and sorted in the default sort
|
|
@@ -168,7 +168,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
168
168
|
* A `meta` and `_links` property will be present to indicate if more results are
|
|
169
169
|
* available and a link to retrieve the rest of the results.
|
|
170
170
|
*/
|
|
171
|
-
includeLabels?: boolean;
|
|
171
|
+
includeLabels?: boolean | undefined;
|
|
172
172
|
/**
|
|
173
173
|
* Includes content properties associated with this page in the response.
|
|
174
174
|
* The number of results will be limited to 50 and sorted in the default sort
|
|
@@ -176,7 +176,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
176
176
|
* A `meta` and `_links` property will be present to indicate if more results are
|
|
177
177
|
* available and a link to retrieve the rest of the results.
|
|
178
178
|
*/
|
|
179
|
-
includeProperties?: boolean;
|
|
179
|
+
includeProperties?: boolean | undefined;
|
|
180
180
|
/**
|
|
181
181
|
* Includes operations associated with this page in the response.
|
|
182
182
|
* The number of results will be limited to 50 and sorted in the default sort
|
|
@@ -184,7 +184,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
184
184
|
* A `meta` and `_links` property will be present to indicate if more results are
|
|
185
185
|
* available and a link to retrieve the rest of the results.
|
|
186
186
|
*/
|
|
187
|
-
includeOperations?: boolean;
|
|
187
|
+
includeOperations?: boolean | undefined;
|
|
188
188
|
/**
|
|
189
189
|
* Includes likes associated with this page in the response.
|
|
190
190
|
* The number of results will be limited to 50 and sorted in the default sort
|
|
@@ -192,7 +192,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
192
192
|
* A `meta` and `_links` property will be present to indicate if more results are
|
|
193
193
|
* available and a link to retrieve the rest of the results.
|
|
194
194
|
*/
|
|
195
|
-
includeLikes?: boolean;
|
|
195
|
+
includeLikes?: boolean | undefined;
|
|
196
196
|
/**
|
|
197
197
|
* Includes versions associated with this page in the response.
|
|
198
198
|
* The number of results will be limited to 50 and sorted in the default sort
|
|
@@ -200,24 +200,24 @@ export declare class PageService extends CommonHttpService {
|
|
|
200
200
|
* A `meta` and `_links` property will be present to indicate if more results are
|
|
201
201
|
* available and a link to retrieve the rest of the results.
|
|
202
202
|
*/
|
|
203
|
-
includeVersions?: boolean;
|
|
203
|
+
includeVersions?: boolean | undefined;
|
|
204
204
|
/**
|
|
205
205
|
* Includes the current version associated with this page in the response.
|
|
206
206
|
* By default this is included and can be omitted by setting the value to `false`.
|
|
207
207
|
*/
|
|
208
|
-
includeVersion?: boolean;
|
|
208
|
+
includeVersion?: boolean | undefined;
|
|
209
209
|
/** Includes whether this page has been favorited by the current user. */
|
|
210
|
-
includeFavoritedByCurrentUserStatus?: boolean;
|
|
211
|
-
})
|
|
212
|
-
_links?: {
|
|
210
|
+
includeFavoritedByCurrentUserStatus?: boolean | undefined;
|
|
211
|
+
}) => Promise<PageSingle & {
|
|
212
|
+
_links?: ({
|
|
213
213
|
/** Base url of the Confluence site. */
|
|
214
|
-
base?: string;
|
|
214
|
+
base?: string | undefined;
|
|
215
215
|
} & {
|
|
216
216
|
[key: string]: unknown;
|
|
217
|
-
};
|
|
217
|
+
}) | undefined;
|
|
218
218
|
} & {
|
|
219
219
|
[key: string]: unknown;
|
|
220
|
-
}
|
|
220
|
+
}>;
|
|
221
221
|
/**
|
|
222
222
|
* Returns all pages. The number of results is limited by the `limit` parameter
|
|
223
223
|
* and additional results (if available)
|
|
@@ -232,47 +232,47 @@ export declare class PageService extends CommonHttpService {
|
|
|
232
232
|
* @scopes-current read:page:confluence
|
|
233
233
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-get
|
|
234
234
|
*/
|
|
235
|
-
getPages({ id, spaceId, sort, status, title, bodyFormat, cursor, limit, }?: {
|
|
235
|
+
getPages: ({ id, spaceId, sort, status, title, bodyFormat, cursor, limit, }?: {
|
|
236
236
|
/**
|
|
237
237
|
* Filter the results based on page ids. Multiple page ids can be specified as a
|
|
238
238
|
* comma-separated list.
|
|
239
239
|
*/
|
|
240
|
-
id?: number[];
|
|
240
|
+
id?: number[] | undefined;
|
|
241
241
|
/**
|
|
242
242
|
* Filter the results based on space ids. Multiple space ids can be specified as a
|
|
243
243
|
* comma-separated list.
|
|
244
244
|
*/
|
|
245
|
-
spaceId?: number[];
|
|
245
|
+
spaceId?: number[] | undefined;
|
|
246
246
|
/** Used to sort the result by a particular field. */
|
|
247
|
-
sort?: PageSortOrder;
|
|
247
|
+
sort?: PageSortOrder | undefined;
|
|
248
248
|
/**
|
|
249
249
|
* Filter the results to pages based on their status. By default, `current` and
|
|
250
250
|
* `archived` are used.
|
|
251
251
|
*/
|
|
252
|
-
status?: ("current" | "
|
|
252
|
+
status?: ("current" | "deleted" | "trashed" | "archived")[] | undefined;
|
|
253
253
|
/** Filter the results to pages based on their title. */
|
|
254
|
-
title?: string;
|
|
254
|
+
title?: string | undefined;
|
|
255
255
|
/**
|
|
256
256
|
* The content format types to be returned in the `body` field of the response. If
|
|
257
257
|
* available, the representation will be available under a response field of the
|
|
258
258
|
* same name under the `body` field.
|
|
259
259
|
*/
|
|
260
|
-
bodyFormat?: PrimaryBodyRepresentation;
|
|
260
|
+
bodyFormat?: PrimaryBodyRepresentation | undefined;
|
|
261
261
|
/**
|
|
262
262
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
263
263
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
264
264
|
* retrieve the `next` set of results.
|
|
265
265
|
*/
|
|
266
|
-
cursor?: string;
|
|
266
|
+
cursor?: string | undefined;
|
|
267
267
|
/**
|
|
268
268
|
* Maximum number of pages per result to return. If more results exist, use the
|
|
269
269
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
270
270
|
* results.
|
|
271
271
|
*/
|
|
272
|
-
limit?: number;
|
|
273
|
-
})
|
|
274
|
-
results?: PageBulk[];
|
|
275
|
-
_links?: MultiEntityLinks;
|
|
272
|
+
limit?: number | undefined;
|
|
273
|
+
}) => Promise<{
|
|
274
|
+
results?: PageBulk[] | undefined;
|
|
275
|
+
_links?: MultiEntityLinks | undefined;
|
|
276
276
|
} & {
|
|
277
277
|
[key: string]: unknown;
|
|
278
278
|
}>;
|
|
@@ -291,44 +291,44 @@ export declare class PageService extends CommonHttpService {
|
|
|
291
291
|
* @scopes-current read:page:confluence
|
|
292
292
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-spaces-id-pages-get
|
|
293
293
|
*/
|
|
294
|
-
getPagesInSpace({ id, depth, sort, status, title, bodyFormat, cursor, limit, }: {
|
|
294
|
+
getPagesInSpace: ({ id, depth, sort, status, title, bodyFormat, cursor, limit, }: {
|
|
295
295
|
/** The ID of the space for which pages should be returned. */
|
|
296
296
|
id: number;
|
|
297
297
|
/**
|
|
298
298
|
* Filter the results to pages at the root level of the space or to all pages in
|
|
299
299
|
* the space.
|
|
300
300
|
*/
|
|
301
|
-
depth?: "all" | "root";
|
|
301
|
+
depth?: "all" | "root" | undefined;
|
|
302
302
|
/** Used to sort the result by a particular field. */
|
|
303
|
-
sort?: PageSortOrder;
|
|
303
|
+
sort?: PageSortOrder | undefined;
|
|
304
304
|
/**
|
|
305
305
|
* Filter the results to pages based on their status. By default, `current` and
|
|
306
306
|
* `archived` are used.
|
|
307
307
|
*/
|
|
308
|
-
status?: ("current" | "
|
|
308
|
+
status?: ("current" | "deleted" | "trashed" | "archived")[] | undefined;
|
|
309
309
|
/** Filter the results to pages based on their title. */
|
|
310
|
-
title?: string;
|
|
310
|
+
title?: string | undefined;
|
|
311
311
|
/**
|
|
312
312
|
* The content format types to be returned in the `body` field of the response. If
|
|
313
313
|
* available, the representation will be available under a response field of the
|
|
314
314
|
* same name under the `body` field.
|
|
315
315
|
*/
|
|
316
|
-
bodyFormat?: PrimaryBodyRepresentation;
|
|
316
|
+
bodyFormat?: PrimaryBodyRepresentation | undefined;
|
|
317
317
|
/**
|
|
318
318
|
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
319
319
|
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
320
320
|
* retrieve the `next` set of results.
|
|
321
321
|
*/
|
|
322
|
-
cursor?: string;
|
|
322
|
+
cursor?: string | undefined;
|
|
323
323
|
/**
|
|
324
324
|
* Maximum number of pages per result to return. If more results exist, use the
|
|
325
325
|
* `Link` header to retrieve a relative URL that will return the next set of
|
|
326
326
|
* results.
|
|
327
327
|
*/
|
|
328
|
-
limit?: number;
|
|
329
|
-
})
|
|
330
|
-
results?: PageBulk[];
|
|
331
|
-
_links?: MultiEntityLinks;
|
|
328
|
+
limit?: number | undefined;
|
|
329
|
+
}) => Promise<{
|
|
330
|
+
results?: PageBulk[] | undefined;
|
|
331
|
+
_links?: MultiEntityLinks | undefined;
|
|
332
332
|
} & {
|
|
333
333
|
[key: string]: unknown;
|
|
334
334
|
}>;
|
|
@@ -344,7 +344,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
344
344
|
* @scopes-current write:page:confluence
|
|
345
345
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-put
|
|
346
346
|
*/
|
|
347
|
-
updatePage({ id, requestBody, }: {
|
|
347
|
+
updatePage: ({ id, requestBody, }: {
|
|
348
348
|
/**
|
|
349
349
|
* The ID of the page to be updated. If you don't know the page ID, use Get Pages
|
|
350
350
|
* and filter the results.
|
|
@@ -393,24 +393,24 @@ export declare class PageService extends CommonHttpService {
|
|
|
393
393
|
*
|
|
394
394
|
* If you don't know the current version number, use Get page by id.
|
|
395
395
|
*/
|
|
396
|
-
number?: number;
|
|
396
|
+
number?: number | undefined;
|
|
397
397
|
/** An optional message to be stored with the version. */
|
|
398
|
-
message?: string;
|
|
398
|
+
message?: string | undefined;
|
|
399
399
|
} & {
|
|
400
400
|
[key: string]: unknown;
|
|
401
401
|
};
|
|
402
402
|
} & {
|
|
403
403
|
[key: string]: unknown;
|
|
404
404
|
};
|
|
405
|
-
})
|
|
406
|
-
_links?: {
|
|
405
|
+
}) => Promise<PageSingle & {
|
|
406
|
+
_links?: ({
|
|
407
407
|
/** Base url of the Confluence site. */
|
|
408
|
-
base?: string;
|
|
408
|
+
base?: string | undefined;
|
|
409
409
|
} & {
|
|
410
410
|
[key: string]: unknown;
|
|
411
|
-
};
|
|
411
|
+
}) | undefined;
|
|
412
412
|
} & {
|
|
413
413
|
[key: string]: unknown;
|
|
414
|
-
}
|
|
414
|
+
}>;
|
|
415
415
|
static initialize(): void;
|
|
416
416
|
}
|