@resolution/confluence-api-client 0.13.4 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/openapi/core/CommonHttpClient.d.ts +1 -1
- package/lib/openapi/core/CommonHttpClient.js +1 -1
- package/lib/openapi/core/CommonHttpClient.js.map +1 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +6 -37
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +3 -71
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/audit.js +2 -2
- package/lib/openapi/v1/models/audit.js.map +1 -1
- package/lib/openapi/v1/models/common.d.ts +1 -1
- package/lib/openapi/v1/models/common.js +3 -3
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/content.d.ts +0 -543
- package/lib/openapi/v1/models/content.js +2 -309
- package/lib/openapi/v1/models/content.js.map +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +7 -3
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -1
- package/lib/openapi/v1/models/contentRestrictions.js +1 -1
- package/lib/openapi/v1/models/contentRestrictions.js.map +1 -1
- package/lib/openapi/v1/models/contentStates.d.ts +322 -0
- package/lib/openapi/v1/models/contentStates.js +219 -0
- package/lib/openapi/v1/models/contentStates.js.map +1 -1
- package/lib/openapi/v1/models/contentVersions.d.ts +0 -9
- package/lib/openapi/v1/models/contentVersions.js +1 -10
- package/lib/openapi/v1/models/contentVersions.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +3 -3
- package/lib/openapi/v1/models/space.d.ts +1 -9
- package/lib/openapi/v1/models/space.js +1 -8
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/models/template.js +1 -1
- package/lib/openapi/v1/models/template.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +4 -0
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +0 -130
- package/lib/openapi/v1/services/ContentAttachmentsService.js +0 -52
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +1 -102
- package/lib/openapi/v1/services/ContentBodyService.js +1 -65
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +5 -220
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +4 -144
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +1 -44
- package/lib/openapi/v1/services/ContentLabelsService.js +0 -41
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +2 -560
- package/lib/openapi/v1/services/ContentService.js +1 -300
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +1 -72
- package/lib/openapi/v1/services/ContentVersionsService.js +1 -97
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +1 -1
- package/lib/openapi/v1/services/GroupService.js +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +0 -26
- package/lib/openapi/v1/services/SettingsService.js +0 -38
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +2 -406
- package/lib/openapi/v1/services/SpaceService.js +1 -215
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +22 -3
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +25 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/models/adminKey.d.ts +13 -0
- package/lib/openapi/v2/models/adminKey.js +12 -0
- package/lib/openapi/v2/models/adminKey.js.map +1 -0
- package/lib/openapi/v2/models/children.d.ts +21 -6
- package/lib/openapi/v2/models/children.js +10 -1
- package/lib/openapi/v2/models/children.js.map +1 -1
- package/lib/openapi/v2/models/common.d.ts +6 -0
- package/lib/openapi/v2/models/common.js +1 -0
- package/lib/openapi/v2/models/common.js.map +1 -1
- package/lib/openapi/v2/models/descendants.d.ts +29 -0
- package/lib/openapi/v2/models/descendants.js +19 -0
- package/lib/openapi/v2/models/descendants.js.map +1 -0
- package/lib/openapi/v2/services/AdminKeyService.d.ts +71 -0
- package/lib/openapi/v2/services/AdminKeyService.js +111 -0
- package/lib/openapi/v2/services/AdminKeyService.js.map +1 -0
- package/lib/openapi/v2/services/AttachmentService.d.ts +6 -5
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +5 -4
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +307 -1
- package/lib/openapi/v2/services/ChildrenService.js +321 -0
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +10 -8
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +18 -1
- package/lib/openapi/v2/services/CustomContentService.js +5 -0
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +4 -6
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/DescendantsService.d.ts +346 -0
- package/lib/openapi/v2/services/DescendantsService.js +362 -0
- package/lib/openapi/v2/services/DescendantsService.js.map +1 -0
- package/lib/openapi/v2/services/FolderService.d.ts +4 -6
- package/lib/openapi/v2/services/FolderService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +49 -6
- package/lib/openapi/v2/services/PageService.js +42 -2
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +4 -6
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +2 -1
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +6 -8
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +3 -3
- package/lib/openapi/v1/models/contentProperties.d.ts +0 -78
- package/lib/openapi/v1/models/contentProperties.js +0 -48
- package/lib/openapi/v1/models/contentProperties.js.map +0 -1
- package/lib/openapi/v1/models/inlineTasks.d.ts +0 -33
- package/lib/openapi/v1/models/inlineTasks.js +0 -36
- package/lib/openapi/v1/models/inlineTasks.js.map +0 -1
- package/lib/openapi/v1/models/spaceProperties.d.ts +0 -103
- package/lib/openapi/v1/models/spaceProperties.js +0 -48
- package/lib/openapi/v1/models/spaceProperties.js.map +0 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +0 -153
- package/lib/openapi/v1/services/ContentCommentsService.js +0 -81
- package/lib/openapi/v1/services/ContentCommentsService.js.map +0 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +0 -203
- package/lib/openapi/v1/services/ContentPropertiesService.js +0 -279
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +0 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +0 -101
- package/lib/openapi/v1/services/InlineTasksService.js +0 -145
- package/lib/openapi/v1/services/InlineTasksService.js.map +0 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +0 -177
- package/lib/openapi/v1/services/SpacePropertiesService.js +0 -269
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +0 -1
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescendantsService = void 0;
|
|
4
|
+
// DO NOT EDIT!
|
|
5
|
+
// This file is generated by "api-typescript-generator".
|
|
6
|
+
// To update this file run "yarn build:openapi".
|
|
7
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
8
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
9
|
+
const common_1 = require("../models/common");
|
|
10
|
+
const descendants_1 = require("../models/descendants");
|
|
11
|
+
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
const zod_1 = require("zod");
|
|
13
|
+
/**
|
|
14
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-descendants
|
|
15
|
+
* @category Services
|
|
16
|
+
*/
|
|
17
|
+
class DescendantsService extends CommonHttpService_1.CommonHttpService {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
/**
|
|
21
|
+
* Returns descendants in the content tree for a given database by ID in
|
|
22
|
+
* top-to-bottom order (that is, the highest descendant is the first
|
|
23
|
+
* item in the response payload). The number of results is limited by the `limit`
|
|
24
|
+
* parameter and additional results (if available)
|
|
25
|
+
* will be available by calling this endpoint with the cursor in the response
|
|
26
|
+
* payload. There is also a `depth` parameter specifying depth
|
|
27
|
+
* of descendants to be fetched.
|
|
28
|
+
*
|
|
29
|
+
* The following types of content will be returned:
|
|
30
|
+
* - Database
|
|
31
|
+
* - Embed
|
|
32
|
+
* - Folder
|
|
33
|
+
* - Page
|
|
34
|
+
* - Whiteboard
|
|
35
|
+
*
|
|
36
|
+
* This endpoint returns minimal information about each descendant. To fetch more
|
|
37
|
+
* details, use a related endpoint based on the content type, such
|
|
38
|
+
* as:
|
|
39
|
+
*
|
|
40
|
+
* - [Get database by
|
|
41
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database/#api-databases-id-get)
|
|
42
|
+
* - [Get embed by
|
|
43
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-smart-link/#api-embeds-id-get)
|
|
44
|
+
* - [Get folder by
|
|
45
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-folder/#api-folders-id-get)
|
|
46
|
+
* - [Get page by
|
|
47
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get)
|
|
48
|
+
* - [Get whiteboard by
|
|
49
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-whiteboard/#api-whiteboards-id-get).
|
|
50
|
+
*
|
|
51
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
52
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
53
|
+
* Permission to view the database and its corresponding space
|
|
54
|
+
*
|
|
55
|
+
* @returns Returned if the requested descendants are returned.
|
|
56
|
+
* @path GET `/databases/{id}/descendants`
|
|
57
|
+
* @scopes-current read:hierarchical-content:confluence
|
|
58
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-descendants#api-databases-id-descendants-get
|
|
59
|
+
* @param params
|
|
60
|
+
*/
|
|
61
|
+
this.getDatabaseDescendants = ({ id, limit, depth, cursor }) => {
|
|
62
|
+
return this.getClientInstance().request({
|
|
63
|
+
path: "/databases/{id}/descendants",
|
|
64
|
+
method: "GET",
|
|
65
|
+
pathParams: {
|
|
66
|
+
id
|
|
67
|
+
},
|
|
68
|
+
query: {
|
|
69
|
+
limit,
|
|
70
|
+
depth,
|
|
71
|
+
cursor
|
|
72
|
+
}
|
|
73
|
+
}).then(this.getClientInstance().responseHandler({
|
|
74
|
+
200: {
|
|
75
|
+
"application/json": "json"
|
|
76
|
+
}
|
|
77
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("DescendantsService.getDatabaseDescendants.response"))).then(commonHttpClient.getBody);
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Returns descendants in the content tree for a given folder by ID in
|
|
81
|
+
* top-to-bottom order (that is, the highest descendant is the first
|
|
82
|
+
* item in the response payload). The number of results is limited by the `limit`
|
|
83
|
+
* parameter and additional results (if available)
|
|
84
|
+
* will be available by calling this endpoint with the cursor in the response
|
|
85
|
+
* payload. There is also a `depth` parameter specifying depth
|
|
86
|
+
* of descendants to be fetched.
|
|
87
|
+
*
|
|
88
|
+
* The following types of content will be returned:
|
|
89
|
+
* - Database
|
|
90
|
+
* - Embed
|
|
91
|
+
* - Folder
|
|
92
|
+
* - Page
|
|
93
|
+
* - Whiteboard
|
|
94
|
+
*
|
|
95
|
+
* This endpoint returns minimal information about each descendant. To fetch more
|
|
96
|
+
* details, use a related endpoint based on the content type, such
|
|
97
|
+
* as:
|
|
98
|
+
*
|
|
99
|
+
* - [Get database by
|
|
100
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database/#api-databases-id-get)
|
|
101
|
+
* - [Get embed by
|
|
102
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-smart-link/#api-embeds-id-get)
|
|
103
|
+
* - [Get folder by
|
|
104
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-folder/#api-folders-id-get)
|
|
105
|
+
* - [Get page by
|
|
106
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get)
|
|
107
|
+
* - [Get whiteboard by
|
|
108
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-whiteboard/#api-whiteboards-id-get).
|
|
109
|
+
*
|
|
110
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
111
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
112
|
+
* Permission to view the and its corresponding space
|
|
113
|
+
*
|
|
114
|
+
* @returns Returned if the requested descendants are returned.
|
|
115
|
+
* @path GET `/folders/{id}/descendants`
|
|
116
|
+
* @scopes-current read:hierarchical-content:confluence
|
|
117
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-descendants#api-folders-id-descendants-get
|
|
118
|
+
* @param params
|
|
119
|
+
*/
|
|
120
|
+
this.getFolderDescendants = ({ id, limit, depth, cursor }) => {
|
|
121
|
+
return this.getClientInstance().request({
|
|
122
|
+
path: "/folders/{id}/descendants",
|
|
123
|
+
method: "GET",
|
|
124
|
+
pathParams: {
|
|
125
|
+
id
|
|
126
|
+
},
|
|
127
|
+
query: {
|
|
128
|
+
limit,
|
|
129
|
+
depth,
|
|
130
|
+
cursor
|
|
131
|
+
}
|
|
132
|
+
}).then(this.getClientInstance().responseHandler({
|
|
133
|
+
200: {
|
|
134
|
+
"application/json": "json"
|
|
135
|
+
}
|
|
136
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("DescendantsService.getFolderDescendants.response"))).then(commonHttpClient.getBody);
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Returns descendants in the content tree for a given page by ID in top-to-bottom
|
|
140
|
+
* order (that is, the highest descendant is the first
|
|
141
|
+
* item in the response payload). The number of results is limited by the `limit`
|
|
142
|
+
* parameter and additional results (if available)
|
|
143
|
+
* will be available by calling this endpoint with the cursor in the response
|
|
144
|
+
* payload. There is also a `depth` parameter specifying depth
|
|
145
|
+
* of descendants to be fetched.
|
|
146
|
+
*
|
|
147
|
+
* The following types of content will be returned:
|
|
148
|
+
* - Database
|
|
149
|
+
* - Embed
|
|
150
|
+
* - Folder
|
|
151
|
+
* - Page
|
|
152
|
+
* - Whiteboard
|
|
153
|
+
*
|
|
154
|
+
* This endpoint returns minimal information about each descendant. To fetch more
|
|
155
|
+
* details, use a related endpoint based on the content type, such
|
|
156
|
+
* as:
|
|
157
|
+
*
|
|
158
|
+
* - [Get database by
|
|
159
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database/#api-databases-id-get)
|
|
160
|
+
* - [Get embed by
|
|
161
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-smart-link/#api-embeds-id-get)
|
|
162
|
+
* - [Get folder by
|
|
163
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-folder/#api-folders-id-get)
|
|
164
|
+
* - [Get page by
|
|
165
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get)
|
|
166
|
+
* - [Get whiteboard by
|
|
167
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-whiteboard/#api-whiteboards-id-get).
|
|
168
|
+
*
|
|
169
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
170
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
171
|
+
* Permission to view the page and its corresponding space
|
|
172
|
+
*
|
|
173
|
+
* @returns Returned if the requested descendants are returned.
|
|
174
|
+
* @path GET `/pages/{id}/descendants`
|
|
175
|
+
* @scopes-current read:hierarchical-content:confluence
|
|
176
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-descendants#api-pages-id-descendants-get
|
|
177
|
+
* @param params
|
|
178
|
+
*/
|
|
179
|
+
this.getPageDescendants = ({ id, limit, depth, cursor }) => {
|
|
180
|
+
return this.getClientInstance().request({
|
|
181
|
+
path: "/pages/{id}/descendants",
|
|
182
|
+
method: "GET",
|
|
183
|
+
pathParams: {
|
|
184
|
+
id
|
|
185
|
+
},
|
|
186
|
+
query: {
|
|
187
|
+
limit,
|
|
188
|
+
depth,
|
|
189
|
+
cursor
|
|
190
|
+
}
|
|
191
|
+
}).then(this.getClientInstance().responseHandler({
|
|
192
|
+
200: {
|
|
193
|
+
"application/json": "json"
|
|
194
|
+
}
|
|
195
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("DescendantsService.getPageDescendants.response"))).then(commonHttpClient.getBody);
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Returns descendants in the content tree for a given smart link by ID in
|
|
199
|
+
* top-to-bottom order (that is, the highest descendant is the first
|
|
200
|
+
* item in the response payload). The number of results is limited by the `limit`
|
|
201
|
+
* parameter and additional results (if available)
|
|
202
|
+
* will be available by calling this endpoint with the cursor in the response
|
|
203
|
+
* payload. There is also a `depth` parameter specifying depth
|
|
204
|
+
* of descendants to be fetched.
|
|
205
|
+
*
|
|
206
|
+
* The following types of content will be returned:
|
|
207
|
+
* - Database
|
|
208
|
+
* - Embed
|
|
209
|
+
* - Folder
|
|
210
|
+
* - Page
|
|
211
|
+
* - Whiteboard
|
|
212
|
+
*
|
|
213
|
+
*
|
|
214
|
+
* This endpoint returns minimal information about each descendant. To fetch more
|
|
215
|
+
* details, use a related endpoint based on the content type, such
|
|
216
|
+
* as:
|
|
217
|
+
*
|
|
218
|
+
* - [Get database by
|
|
219
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database/#api-databases-id-get)
|
|
220
|
+
* - [Get embed by
|
|
221
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-smart-link/#api-embeds-id-get)
|
|
222
|
+
* - [Get folder by
|
|
223
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-folder/#api-folders-id-get)
|
|
224
|
+
* - [Get page by
|
|
225
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get)
|
|
226
|
+
* - [Get whiteboard by
|
|
227
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-whiteboard/#api-whiteboards-id-get).
|
|
228
|
+
*
|
|
229
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
230
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
231
|
+
* Permission to view the smart link and its corresponding space
|
|
232
|
+
*
|
|
233
|
+
* @returns Returned if the requested descendants are returned.
|
|
234
|
+
* @path GET `/embeds/{id}/descendants`
|
|
235
|
+
* @scopes-current read:hierarchical-content:confluence
|
|
236
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-descendants#api-embeds-id-descendants-get
|
|
237
|
+
* @param params
|
|
238
|
+
*/
|
|
239
|
+
this.getSmartLinkDescendants = ({ id, limit, depth, cursor }) => {
|
|
240
|
+
return this.getClientInstance().request({
|
|
241
|
+
path: "/embeds/{id}/descendants",
|
|
242
|
+
method: "GET",
|
|
243
|
+
pathParams: {
|
|
244
|
+
id
|
|
245
|
+
},
|
|
246
|
+
query: {
|
|
247
|
+
limit,
|
|
248
|
+
depth,
|
|
249
|
+
cursor
|
|
250
|
+
}
|
|
251
|
+
}).then(this.getClientInstance().responseHandler({
|
|
252
|
+
200: {
|
|
253
|
+
"application/json": "json"
|
|
254
|
+
}
|
|
255
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("DescendantsService.getSmartLinkDescendants.response"))).then(commonHttpClient.getBody);
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Returns descendants in the content tree for a given whiteboard by ID in
|
|
259
|
+
* top-to-bottom order (that is, the highest descendant is the first
|
|
260
|
+
* item in the response payload). The number of results is limited by the `limit`
|
|
261
|
+
* parameter and additional results (if available)
|
|
262
|
+
* will be available by calling this endpoint with the cursor in the response
|
|
263
|
+
* payload. There is also a `depth` parameter specifying depth
|
|
264
|
+
* of descendants to be fetched.
|
|
265
|
+
*
|
|
266
|
+
* The following types of content will be returned:
|
|
267
|
+
* - Database
|
|
268
|
+
* - Embed
|
|
269
|
+
* - Folder
|
|
270
|
+
* - Page
|
|
271
|
+
* - Whiteboard
|
|
272
|
+
*
|
|
273
|
+
* This endpoint returns minimal information about each descendant. To fetch more
|
|
274
|
+
* details, use a related endpoint based on the content type, such
|
|
275
|
+
* as:
|
|
276
|
+
*
|
|
277
|
+
* - [Get database by
|
|
278
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database/#api-databases-id-get)
|
|
279
|
+
* - [Get embed by
|
|
280
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-smart-link/#api-embeds-id-get)
|
|
281
|
+
* - [Get folder by
|
|
282
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-folder/#api-folders-id-get)
|
|
283
|
+
* - [Get page by
|
|
284
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get)
|
|
285
|
+
* - [Get whiteboard by
|
|
286
|
+
* id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-whiteboard/#api-whiteboards-id-get).
|
|
287
|
+
*
|
|
288
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
289
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
290
|
+
* Permission to view the whiteboard and its corresponding space
|
|
291
|
+
*
|
|
292
|
+
* @returns Returned if the requested descendants are returned.
|
|
293
|
+
* @path GET `/whiteboards/{id}/descendants`
|
|
294
|
+
* @scopes-current read:hierarchical-content:confluence
|
|
295
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-descendants#api-whiteboards-id-descendants-get
|
|
296
|
+
* @param params
|
|
297
|
+
*/
|
|
298
|
+
this.getWhiteboardDescendants = ({ id, limit, depth, cursor }) => {
|
|
299
|
+
return this.getClientInstance().request({
|
|
300
|
+
path: "/whiteboards/{id}/descendants",
|
|
301
|
+
method: "GET",
|
|
302
|
+
pathParams: {
|
|
303
|
+
id
|
|
304
|
+
},
|
|
305
|
+
query: {
|
|
306
|
+
limit,
|
|
307
|
+
depth,
|
|
308
|
+
cursor
|
|
309
|
+
}
|
|
310
|
+
}).then(this.getClientInstance().responseHandler({
|
|
311
|
+
200: {
|
|
312
|
+
"application/json": "json"
|
|
313
|
+
}
|
|
314
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("DescendantsService.getWhiteboardDescendants.response"))).then(commonHttpClient.getBody);
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
static initialize() {
|
|
318
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("DescendantsService.getDatabaseDescendants.response", zod_1.z.object({
|
|
319
|
+
status: zod_1.z.literal(200),
|
|
320
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
321
|
+
body: zod_1.z.object({
|
|
322
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("DescendantsResponse")).optional(),
|
|
323
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
324
|
+
}).catchall(zod_1.z.unknown())
|
|
325
|
+
}).describe("DescendantsService.getDatabaseDescendants.response"));
|
|
326
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("DescendantsService.getSmartLinkDescendants.response", zod_1.z.object({
|
|
327
|
+
status: zod_1.z.literal(200),
|
|
328
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
329
|
+
body: zod_1.z.object({
|
|
330
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("DescendantsResponse")).optional(),
|
|
331
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
332
|
+
}).catchall(zod_1.z.unknown())
|
|
333
|
+
}).describe("DescendantsService.getSmartLinkDescendants.response"));
|
|
334
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("DescendantsService.getFolderDescendants.response", zod_1.z.object({
|
|
335
|
+
status: zod_1.z.literal(200),
|
|
336
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
337
|
+
body: zod_1.z.object({
|
|
338
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("DescendantsResponse")).optional(),
|
|
339
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
340
|
+
}).catchall(zod_1.z.unknown())
|
|
341
|
+
}).describe("DescendantsService.getFolderDescendants.response"));
|
|
342
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("DescendantsService.getPageDescendants.response", zod_1.z.object({
|
|
343
|
+
status: zod_1.z.literal(200),
|
|
344
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
345
|
+
body: zod_1.z.object({
|
|
346
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("DescendantsResponse")).optional(),
|
|
347
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
348
|
+
}).catchall(zod_1.z.unknown())
|
|
349
|
+
}).describe("DescendantsService.getPageDescendants.response"));
|
|
350
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("DescendantsService.getWhiteboardDescendants.response", zod_1.z.object({
|
|
351
|
+
status: zod_1.z.literal(200),
|
|
352
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
353
|
+
body: zod_1.z.object({
|
|
354
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("DescendantsResponse")).optional(),
|
|
355
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
356
|
+
}).catchall(zod_1.z.unknown())
|
|
357
|
+
}).describe("DescendantsService.getWhiteboardDescendants.response"));
|
|
358
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([descendants_1.registerDescendantsValidationSchemas, common_1.registerCommonValidationSchemas]);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
exports.DescendantsService = DescendantsService;
|
|
362
|
+
//# sourceMappingURL=DescendantsService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescendantsService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/DescendantsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAA0F;AAC1F,uDAAuG;AACvG,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,kBAAmB,SAAQ,qCAAiB;IAAzD;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAwCG;QACH,2BA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AAkB,CAAC,CAAC,QAAQ,EAAE;aACpE,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC,CAAC,QAAQ,CAAC,sDAAsD,CAAC,CAAC,CAAC;QACrE,iDAAuB,CAAC,YAAY,CAAC,CAAC,kDAAoC,EAAE,wCAA+B,CAAC,CAAC,CAAC;IAChH,CAAC;CACF;AAvhBD,gDAuhBC"}
|
|
@@ -75,15 +75,13 @@ export declare class FolderService extends CommonHttpService {
|
|
|
75
75
|
/** Includes collaborators on the folder. */
|
|
76
76
|
includeCollaborators?: boolean | undefined;
|
|
77
77
|
/**
|
|
78
|
-
* Includes direct children of the folder
|
|
79
|
-
*
|
|
80
|
-
* order.
|
|
81
|
-
* A `meta` and `_links` property will be present to indicate if more results are
|
|
82
|
-
* available and a link to retrieve the rest of the results.
|
|
78
|
+
* Includes direct children of the folder, as defined in the `ChildrenResponse`
|
|
79
|
+
* object.
|
|
83
80
|
*/
|
|
84
81
|
includeDirectChildren?: boolean | undefined;
|
|
85
82
|
/**
|
|
86
|
-
* Includes operations associated with this folder in the response
|
|
83
|
+
* Includes operations associated with this folder in the response, as defined in
|
|
84
|
+
* the `Operation` object.
|
|
87
85
|
* The number of results will be limited to 50 and sorted in the default sort
|
|
88
86
|
* order.
|
|
89
87
|
* A `meta` and `_links` property will be present to indicate if more results are
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FolderService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/FolderService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAsF;AACtF,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,aAAc,SAAQ,qCAAiB;IAApD;;QACE;;;;;;;;;;;;WAYG;QACH,iBAAY,GAAG,CAAC,EACd,WAAW,EAYZ,EASG,EAAE;YACJ,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,UAAU;gBAChB,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,WAAW;aAClB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBAC/C,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAYlC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,iDAAuB,CAAC,SAAS,CAAC,qCAAqC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAC3J,CAAC,CAAC;QACF;;;;;;;;;;;;;WAaG;QACH,iBAAY,GAAG,CAAC,EACd,EAAE,EAIH,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,eAAe;gBACrB,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,EAAE;iBACH;aACF,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;WAWG;QACH,kBAAa,GAAG,CAAC,EACf,EAAE,EACF,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"FolderService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/FolderService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAsF;AACtF,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,aAAc,SAAQ,qCAAiB;IAApD;;QACE;;;;;;;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YAC1F,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,OAAC,CAAC,MAAM,CAAC;gBAC1E,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;oBACf,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;iBAC5B,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;aACpC,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC;SAC1B,CAAC,CAAC,QAAQ,CAAC,sCAAsC,CAAC,CAAC,CAAC;QACrD,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AApMD,sCAoMC"}
|
|
@@ -156,7 +156,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
156
156
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-get
|
|
157
157
|
* @param params
|
|
158
158
|
*/
|
|
159
|
-
getPageById: ({ id, bodyFormat, getDraft, status, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus, includeWebresources, includeCollaborators }: {
|
|
159
|
+
getPageById: ({ id, bodyFormat, getDraft, status, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus, includeWebresources, includeCollaborators, includeDirectChildren }: {
|
|
160
160
|
/**
|
|
161
161
|
* The ID of the page to be returned. If you don't know the page ID, use Get pages
|
|
162
162
|
* and filter the results.
|
|
@@ -171,7 +171,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
171
171
|
/** Retrieve the draft version of this page. */
|
|
172
172
|
getDraft?: boolean | undefined;
|
|
173
173
|
/** Filter the page being retrieved by its status. */
|
|
174
|
-
status?: ("current" | "
|
|
174
|
+
status?: ("current" | "draft" | "archived" | "historical" | "trashed" | "deleted")[] | undefined;
|
|
175
175
|
/**
|
|
176
176
|
* Allows you to retrieve a previously published version. Specify the previous
|
|
177
177
|
* version's number to retrieve its details.
|
|
@@ -194,7 +194,8 @@ export declare class PageService extends CommonHttpService {
|
|
|
194
194
|
*/
|
|
195
195
|
includeProperties?: boolean | undefined;
|
|
196
196
|
/**
|
|
197
|
-
* Includes operations associated with this page in the response
|
|
197
|
+
* Includes operations associated with this page in the response, as defined in
|
|
198
|
+
* the `Operation` object.
|
|
198
199
|
* The number of results will be limited to 50 and sorted in the default sort
|
|
199
200
|
* order.
|
|
200
201
|
* A `meta` and `_links` property will be present to indicate if more results are
|
|
@@ -228,6 +229,11 @@ export declare class PageService extends CommonHttpService {
|
|
|
228
229
|
includeWebresources?: boolean | undefined;
|
|
229
230
|
/** Includes collaborators on the page. */
|
|
230
231
|
includeCollaborators?: boolean | undefined;
|
|
232
|
+
/**
|
|
233
|
+
* Includes direct children of the page, as defined in the `ChildrenResponse`
|
|
234
|
+
* object.
|
|
235
|
+
*/
|
|
236
|
+
includeDirectChildren?: boolean | undefined;
|
|
231
237
|
}) => Promise<PageSingle & {
|
|
232
238
|
_links?: ({
|
|
233
239
|
/** Base url of the Confluence site. */
|
|
@@ -270,7 +276,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
270
276
|
* Filter the results to pages based on their status. By default, `current` and
|
|
271
277
|
* `archived` are used.
|
|
272
278
|
*/
|
|
273
|
-
status?: ("current" | "
|
|
279
|
+
status?: ("current" | "archived" | "trashed" | "deleted")[] | undefined;
|
|
274
280
|
/** Filter the results to pages based on their title. */
|
|
275
281
|
title?: string | undefined;
|
|
276
282
|
/**
|
|
@@ -327,7 +333,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
327
333
|
* Filter the results to pages based on their status. By default, `current` and
|
|
328
334
|
* `archived` are used.
|
|
329
335
|
*/
|
|
330
|
-
status?: ("current" | "
|
|
336
|
+
status?: ("current" | "archived" | "trashed" | "deleted")[] | undefined;
|
|
331
337
|
/** Filter the results to pages based on their title. */
|
|
332
338
|
title?: string | undefined;
|
|
333
339
|
/**
|
|
@@ -403,7 +409,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
403
409
|
*/
|
|
404
410
|
spaceId?: unknown;
|
|
405
411
|
/**
|
|
406
|
-
* ID of the parent
|
|
412
|
+
* ID of the parent content.
|
|
407
413
|
*
|
|
408
414
|
* This allows the page to be moved under a different parent within the same space.
|
|
409
415
|
*/
|
|
@@ -442,5 +448,42 @@ export declare class PageService extends CommonHttpService {
|
|
|
442
448
|
} & {
|
|
443
449
|
[key: string]: unknown;
|
|
444
450
|
}>;
|
|
451
|
+
/**
|
|
452
|
+
* Updates the title of a specified page.
|
|
453
|
+
*
|
|
454
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
455
|
+
* Permission to view the page and its corresponding space. Permission to update
|
|
456
|
+
* pages in the space.
|
|
457
|
+
*
|
|
458
|
+
* @returns Returned if the requested page is successfully updated.
|
|
459
|
+
* @path PUT `/pages/{id}/title`
|
|
460
|
+
* @scopes-current write:page:confluence
|
|
461
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-title-put
|
|
462
|
+
* @param params
|
|
463
|
+
*/
|
|
464
|
+
updatePageTitle: ({ id, requestBody }: {
|
|
465
|
+
/**
|
|
466
|
+
* The ID of the page to be updated. If you don't know the page ID, use Get Pages
|
|
467
|
+
* and filter the results
|
|
468
|
+
*/
|
|
469
|
+
id: number;
|
|
470
|
+
requestBody: {
|
|
471
|
+
/** The status of the page, current or draft. */
|
|
472
|
+
status: "current" | "draft";
|
|
473
|
+
/** The updated title for the page */
|
|
474
|
+
title: string;
|
|
475
|
+
} & {
|
|
476
|
+
[key: string]: unknown;
|
|
477
|
+
};
|
|
478
|
+
}) => Promise<PageSingle & {
|
|
479
|
+
_links?: ({
|
|
480
|
+
/** Base url of the Confluence site. */
|
|
481
|
+
base?: string | undefined;
|
|
482
|
+
} & {
|
|
483
|
+
[key: string]: unknown;
|
|
484
|
+
}) | undefined;
|
|
485
|
+
} & {
|
|
486
|
+
[key: string]: unknown;
|
|
487
|
+
}>;
|
|
445
488
|
protected static initialize(): void;
|
|
446
489
|
}
|
|
@@ -134,7 +134,7 @@ class PageService extends CommonHttpService_1.CommonHttpService {
|
|
|
134
134
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-get
|
|
135
135
|
* @param params
|
|
136
136
|
*/
|
|
137
|
-
this.getPageById = ({ id, bodyFormat, getDraft, status, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus, includeWebresources, includeCollaborators }) => {
|
|
137
|
+
this.getPageById = ({ id, bodyFormat, getDraft, status, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus, includeWebresources, includeCollaborators, includeDirectChildren }) => {
|
|
138
138
|
return this.getClientInstance().request({
|
|
139
139
|
path: "/pages/{id}",
|
|
140
140
|
method: "GET",
|
|
@@ -154,7 +154,8 @@ class PageService extends CommonHttpService_1.CommonHttpService {
|
|
|
154
154
|
"include-version": includeVersion,
|
|
155
155
|
"include-favorited-by-current-user-status": includeFavoritedByCurrentUserStatus,
|
|
156
156
|
"include-webresources": includeWebresources,
|
|
157
|
-
"include-collaborators": includeCollaborators
|
|
157
|
+
"include-collaborators": includeCollaborators,
|
|
158
|
+
"include-direct-children": includeDirectChildren
|
|
158
159
|
}
|
|
159
160
|
}).then(this.getClientInstance().responseHandler({
|
|
160
161
|
200: {
|
|
@@ -272,6 +273,36 @@ class PageService extends CommonHttpService_1.CommonHttpService {
|
|
|
272
273
|
}
|
|
273
274
|
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("PageService.updatePage.response"))).then(commonHttpClient.getBody);
|
|
274
275
|
};
|
|
276
|
+
/**
|
|
277
|
+
* Updates the title of a specified page.
|
|
278
|
+
*
|
|
279
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
280
|
+
* Permission to view the page and its corresponding space. Permission to update
|
|
281
|
+
* pages in the space.
|
|
282
|
+
*
|
|
283
|
+
* @returns Returned if the requested page is successfully updated.
|
|
284
|
+
* @path PUT `/pages/{id}/title`
|
|
285
|
+
* @scopes-current write:page:confluence
|
|
286
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-title-put
|
|
287
|
+
* @param params
|
|
288
|
+
*/
|
|
289
|
+
this.updatePageTitle = ({ id, requestBody }) => {
|
|
290
|
+
return this.getClientInstance().request({
|
|
291
|
+
path: "/pages/{id}/title",
|
|
292
|
+
method: "PUT",
|
|
293
|
+
pathParams: {
|
|
294
|
+
id
|
|
295
|
+
},
|
|
296
|
+
headers: {
|
|
297
|
+
"Content-Type": "application/json"
|
|
298
|
+
},
|
|
299
|
+
body: requestBody
|
|
300
|
+
}).then(this.getClientInstance().responseHandler({
|
|
301
|
+
200: {
|
|
302
|
+
"application/json": "json"
|
|
303
|
+
}
|
|
304
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("PageService.updatePageTitle.response"))).then(commonHttpClient.getBody);
|
|
305
|
+
};
|
|
275
306
|
}
|
|
276
307
|
static initialize() {
|
|
277
308
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PageService.getLabelPages.response", zod_1.z.object({
|
|
@@ -317,6 +348,15 @@ class PageService extends CommonHttpService_1.CommonHttpService {
|
|
|
317
348
|
}).catchall(zod_1.z.unknown()).optional()
|
|
318
349
|
}).catchall(zod_1.z.unknown()))
|
|
319
350
|
}).describe("PageService.updatePage.response"));
|
|
351
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PageService.updatePageTitle.response", zod_1.z.object({
|
|
352
|
+
status: zod_1.z.literal(200),
|
|
353
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
354
|
+
body: zod_1.z.intersection(validationSchemaStorage_1.validationSchemaStorage.lazy("PageSingle"), zod_1.z.object({
|
|
355
|
+
_links: zod_1.z.object({
|
|
356
|
+
base: zod_1.z.string().optional()
|
|
357
|
+
}).catchall(zod_1.z.unknown()).optional()
|
|
358
|
+
}).catchall(zod_1.z.unknown()))
|
|
359
|
+
}).describe("PageService.updatePageTitle.response"));
|
|
320
360
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PageService.getPagesInSpace.response", zod_1.z.object({
|
|
321
361
|
status: zod_1.z.literal(200),
|
|
322
362
|
mediaType: zod_1.z.literal("application/json"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/PageService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAgK;AAChK,yCAAiK;AACjK,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,WAAY,SAAQ,qCAAiB;IAAlD;;QACE;;;;;;;;;;;;;;;WAeG;QACH,eAAU,GAAG,CAAC,EACZ,QAAQ,EACR,OAAO,EAAE,YAAY,EACrB,SAAS,EACT,WAAW,EAkCZ,EASG,EAAE;YACJ,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,MAAM;gBACd,KAAK,EAAE;oBACL,QAAQ;oBACR,OAAO,EAAE,YAAY;oBACrB,YAAY,EAAE,SAAS;iBACxB;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,WAAW;aAClB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,i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E,MAAM;iBAC3B;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EASlC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,iDAAuB,CAAC,SAAS,CAAC,oCAAoC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAC1J,CAAC,CAAC;QACF;;;;;;;;;;;WAWG;QACH,gBAAW,GAAG,CAAC,EACb,EAAE,EACF,UAAU,EACV,QAAQ,EACR,MAAM,EACN,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,cAAc,EACd,mCAAmC,EACnC,mBAAmB,EACnB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"PageService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/PageService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAgK;AAChK,yCAAiK;AACjK,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,WAAY,SAAQ,qCAAiB;IAAlD;;QACE;;;;;;;;;;;;;;;WAeG;QACH,eAAU,GAAG,CAAC,EACZ,QAAQ,EACR,OAAO,EAAE,YAAY,EACrB,SAAS,EACT,WAAW,EAkCZ,EASG,EAAE;YACJ,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,MAAM;gBACd,KAAK,EAAE;oBACL,QAAQ;oBACR,OAAO,EAAE,YAAY;oBACrB,YAAY,EAAE,SAAS;iBACxB;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,WAAW;aAClB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAA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