@resolution/confluence-api-client 0.13.5 → 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.
Files changed (125) hide show
  1. package/lib/openapi/core/CommonHttpClient.d.ts +1 -1
  2. package/lib/openapi/core/CommonHttpClient.js +1 -1
  3. package/lib/openapi/core/CommonHttpClient.js.map +1 -1
  4. package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +6 -37
  5. package/lib/openapi/v1/BaseConfluenceApiV1Client.js +3 -71
  6. package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
  7. package/lib/openapi/v1/models/audit.js +2 -2
  8. package/lib/openapi/v1/models/audit.js.map +1 -1
  9. package/lib/openapi/v1/models/common.d.ts +1 -1
  10. package/lib/openapi/v1/models/common.js +3 -3
  11. package/lib/openapi/v1/models/common.js.map +1 -1
  12. package/lib/openapi/v1/models/content.d.ts +0 -543
  13. package/lib/openapi/v1/models/content.js +2 -309
  14. package/lib/openapi/v1/models/content.js.map +1 -1
  15. package/lib/openapi/v1/models/contentRestrictions.js +1 -1
  16. package/lib/openapi/v1/models/contentRestrictions.js.map +1 -1
  17. package/lib/openapi/v1/models/contentStates.d.ts +322 -0
  18. package/lib/openapi/v1/models/contentStates.js +219 -0
  19. package/lib/openapi/v1/models/contentStates.js.map +1 -1
  20. package/lib/openapi/v1/models/contentVersions.d.ts +0 -9
  21. package/lib/openapi/v1/models/contentVersions.js +1 -10
  22. package/lib/openapi/v1/models/contentVersions.js.map +1 -1
  23. package/lib/openapi/v1/models/dynamicModules.d.ts +3 -3
  24. package/lib/openapi/v1/models/space.d.ts +1 -9
  25. package/lib/openapi/v1/models/space.js +1 -8
  26. package/lib/openapi/v1/models/space.js.map +1 -1
  27. package/lib/openapi/v1/models/template.js +1 -1
  28. package/lib/openapi/v1/models/template.js.map +1 -1
  29. package/lib/openapi/v1/services/AnalyticsService.d.ts +4 -0
  30. package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
  31. package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +0 -130
  32. package/lib/openapi/v1/services/ContentAttachmentsService.js +0 -52
  33. package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
  34. package/lib/openapi/v1/services/ContentBodyService.d.ts +1 -102
  35. package/lib/openapi/v1/services/ContentBodyService.js +1 -65
  36. package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
  37. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +3 -220
  38. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +2 -144
  39. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
  40. package/lib/openapi/v1/services/ContentLabelsService.d.ts +1 -44
  41. package/lib/openapi/v1/services/ContentLabelsService.js +0 -41
  42. package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
  43. package/lib/openapi/v1/services/ContentService.d.ts +2 -560
  44. package/lib/openapi/v1/services/ContentService.js +1 -300
  45. package/lib/openapi/v1/services/ContentService.js.map +1 -1
  46. package/lib/openapi/v1/services/ContentVersionsService.d.ts +1 -72
  47. package/lib/openapi/v1/services/ContentVersionsService.js +1 -97
  48. package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
  49. package/lib/openapi/v1/services/GroupService.d.ts +1 -1
  50. package/lib/openapi/v1/services/GroupService.js +1 -1
  51. package/lib/openapi/v1/services/SettingsService.d.ts +0 -26
  52. package/lib/openapi/v1/services/SettingsService.js +0 -38
  53. package/lib/openapi/v1/services/SettingsService.js.map +1 -1
  54. package/lib/openapi/v1/services/SpaceService.d.ts +2 -406
  55. package/lib/openapi/v1/services/SpaceService.js +1 -215
  56. package/lib/openapi/v1/services/SpaceService.js.map +1 -1
  57. package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +22 -3
  58. package/lib/openapi/v2/BaseConfluenceApiV2Client.js +25 -1
  59. package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
  60. package/lib/openapi/v2/models/adminKey.d.ts +13 -0
  61. package/lib/openapi/v2/models/adminKey.js +12 -0
  62. package/lib/openapi/v2/models/adminKey.js.map +1 -0
  63. package/lib/openapi/v2/models/children.d.ts +21 -6
  64. package/lib/openapi/v2/models/children.js +10 -1
  65. package/lib/openapi/v2/models/children.js.map +1 -1
  66. package/lib/openapi/v2/models/common.d.ts +6 -0
  67. package/lib/openapi/v2/models/common.js +1 -0
  68. package/lib/openapi/v2/models/common.js.map +1 -1
  69. package/lib/openapi/v2/models/descendants.d.ts +29 -0
  70. package/lib/openapi/v2/models/descendants.js +19 -0
  71. package/lib/openapi/v2/models/descendants.js.map +1 -0
  72. package/lib/openapi/v2/services/AdminKeyService.d.ts +71 -0
  73. package/lib/openapi/v2/services/AdminKeyService.js +111 -0
  74. package/lib/openapi/v2/services/AdminKeyService.js.map +1 -0
  75. package/lib/openapi/v2/services/AttachmentService.d.ts +6 -5
  76. package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
  77. package/lib/openapi/v2/services/BlogPostService.d.ts +5 -4
  78. package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
  79. package/lib/openapi/v2/services/ChildrenService.d.ts +307 -1
  80. package/lib/openapi/v2/services/ChildrenService.js +321 -0
  81. package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
  82. package/lib/openapi/v2/services/CommentService.d.ts +10 -8
  83. package/lib/openapi/v2/services/CommentService.js.map +1 -1
  84. package/lib/openapi/v2/services/ContentPropertiesService.d.ts +1 -1
  85. package/lib/openapi/v2/services/CustomContentService.d.ts +18 -1
  86. package/lib/openapi/v2/services/CustomContentService.js +5 -0
  87. package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
  88. package/lib/openapi/v2/services/DatabaseService.d.ts +4 -6
  89. package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
  90. package/lib/openapi/v2/services/DescendantsService.d.ts +346 -0
  91. package/lib/openapi/v2/services/DescendantsService.js +362 -0
  92. package/lib/openapi/v2/services/DescendantsService.js.map +1 -0
  93. package/lib/openapi/v2/services/FolderService.d.ts +4 -6
  94. package/lib/openapi/v2/services/FolderService.js.map +1 -1
  95. package/lib/openapi/v2/services/PageService.d.ts +49 -6
  96. package/lib/openapi/v2/services/PageService.js +42 -2
  97. package/lib/openapi/v2/services/PageService.js.map +1 -1
  98. package/lib/openapi/v2/services/SmartLinkService.d.ts +4 -6
  99. package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
  100. package/lib/openapi/v2/services/SpaceService.d.ts +2 -1
  101. package/lib/openapi/v2/services/SpaceService.js.map +1 -1
  102. package/lib/openapi/v2/services/WhiteboardService.d.ts +6 -8
  103. package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
  104. package/package.json +3 -3
  105. package/lib/openapi/v1/models/contentProperties.d.ts +0 -78
  106. package/lib/openapi/v1/models/contentProperties.js +0 -48
  107. package/lib/openapi/v1/models/contentProperties.js.map +0 -1
  108. package/lib/openapi/v1/models/inlineTasks.d.ts +0 -33
  109. package/lib/openapi/v1/models/inlineTasks.js +0 -36
  110. package/lib/openapi/v1/models/inlineTasks.js.map +0 -1
  111. package/lib/openapi/v1/models/spaceProperties.d.ts +0 -103
  112. package/lib/openapi/v1/models/spaceProperties.js +0 -48
  113. package/lib/openapi/v1/models/spaceProperties.js.map +0 -1
  114. package/lib/openapi/v1/services/ContentCommentsService.d.ts +0 -153
  115. package/lib/openapi/v1/services/ContentCommentsService.js +0 -81
  116. package/lib/openapi/v1/services/ContentCommentsService.js.map +0 -1
  117. package/lib/openapi/v1/services/ContentPropertiesService.d.ts +0 -203
  118. package/lib/openapi/v1/services/ContentPropertiesService.js +0 -279
  119. package/lib/openapi/v1/services/ContentPropertiesService.js.map +0 -1
  120. package/lib/openapi/v1/services/InlineTasksService.d.ts +0 -101
  121. package/lib/openapi/v1/services/InlineTasksService.js +0 -145
  122. package/lib/openapi/v1/services/InlineTasksService.js.map +0 -1
  123. package/lib/openapi/v1/services/SpacePropertiesService.d.ts +0 -177
  124. package/lib/openapi/v1/services/SpacePropertiesService.js +0 -269
  125. package/lib/openapi/v1/services/SpacePropertiesService.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { CommonHttpService } from "../../core/CommonHttpService";
2
- import { type ContentChildren, type ContentArray, type Content, type LongTask } from "../models/common";
2
+ import { type Content, type ContentChildren, type ContentArray, type LongTask } from "../models/common";
3
3
  import { type CopyPageRequest, type CopyPageHierarchyRequest, type ContentId } from "../models/contentChildrenAndDescendants";
4
4
  /**
5
5
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants
@@ -170,225 +170,6 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
170
170
  /** Request object from json post body */
171
171
  copyPageHierarchyRequest: CopyPageHierarchyRequest;
172
172
  }) => Promise<LongTask>;
173
- /**
174
- * Deprecated, use [Confluence's v2
175
- * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
176
- *
177
- * Returns a map of the direct children of a piece of content. A piece of content
178
- * has different types of child content, depending on its type. These are
179
- * the default parent-child content type relationships:
180
- *
181
- * - `page`: child content is `page`, `whiteboard`, `database`, `embed`, `folder`,
182
- * `comment`, `attachment`
183
- * - `whiteboard`: child content is `page`, `whiteboard`, `database`, `embed`,
184
- * `folder`, `comment`, `attachment`
185
- * - `database`: child content is `page`, `whiteboard`, `database`, `embed`,
186
- * `folder`, `comment`, `attachment`
187
- * - `embed`: child content is `page`, `whiteboard`, `database`, `embed`,
188
- * `folder`, `comment`, `attachment`
189
- * - `folder`: child content is `page`, `whiteboard`, `database`, `embed`,
190
- * `folder`, `comment`, `attachment`
191
- * - `blogpost`: child content is `comment`, `attachment`
192
- * - `attachment`: child content is `comment`
193
- * - `comment`: child content is `attachment`
194
- *
195
- * Apps can override these default relationships. Apps can also introduce
196
- * new content types that create new parent-child content relationships.
197
- *
198
- * Note, the map will always include all child content types that are valid
199
- * for the content. However, if the content has no instances of a child content
200
- * type, the map will contain an empty array for that child content type.
201
- *
202
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View'
203
- * permission for the space,
204
- * and permission to view the content if it is a page.
205
- *
206
- * @deprecated
207
- * @returns Returned if the requested content children are returned.
208
- * @path GET `/wiki/rest/api/content/{id}/child`
209
- * @scopes-current read:confluence-content.summary
210
- * @scopes-beta read:content-details:confluence
211
- * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-child-get
212
- * @param params
213
- */
214
- getContentChildren: ({ id, expand, parentVersion }: {
215
- /** The ID of the content to be queried for its children. */
216
- id: string;
217
- /**
218
- * A multi-value parameter indicating which properties of the children to expand,
219
- * where:
220
- *
221
- * - `attachment` returns all attachments for the content.
222
- * - `comments` returns all comments for the content.
223
- * - `page` returns all child pages of the content.
224
- * - `whiteboard` returns all child whiteboards of the content.
225
- * - `database` returns all child databases of the content.
226
- * - `embed` returns all child embeds of the content.
227
- * - `folder` returns all child folders of the content.
228
- * - Custom content types that are provided by apps are also supported.
229
- */
230
- expand?: string[] | undefined;
231
- /**
232
- * The version of the parent content to retrieve children for.
233
- * Currently, this only works for the latest version.
234
- */
235
- parentVersion?: number | undefined;
236
- }) => Promise<ContentChildren>;
237
- /**
238
- * Deprecated, use [Confluence's v2
239
- * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
240
- *
241
- * Returns all children of a given type, for a piece of content.
242
- * A piece of content has different types of child content, depending on its type:
243
- *
244
- * - `page`: child content is `page`, `whiteboard`, `database`, `embed`, `folder`,
245
- * `comment`, `attachment`
246
- * - `whiteboard`: child content is `page`, `whiteboard`, `database`, `embed`,
247
- * `folder`, `comment`, `attachment`
248
- * - `database`: child content is `page`, `whiteboard`, `database`, `embed`,
249
- * `folder`, `comment`, `attachment`
250
- * - `embed`: child content is `page`, `whiteboard`, `database`, `embed`,
251
- * `folder`, `comment`, `attachment`
252
- * - `folder`: child content is `page`, `whiteboard`, `database`, `embed`,
253
- * `folder`, `comment`, `attachment`
254
- * - `blogpost`: child content is `comment`, `attachment`
255
- * - `attachment`: child content is `comment`
256
- * - `comment`: child content is `attachment`
257
- *
258
- * Custom content types that are provided by apps can also be returned.
259
- *
260
- * Note, this method only returns direct children. To return children at all
261
- * levels, use [Get descendants by type](#api-content-id-descendant-type-get).
262
- *
263
- * If the expand query parameter is used with the `body.export_view` and/or
264
- * `body.styled_view` properties, then the query limit parameter will be
265
- * restricted to a maximum value of 25.
266
- *
267
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View'
268
- * permission for the space,
269
- * and permission to view the content if it is a page.
270
- *
271
- * @deprecated
272
- * @returns Returned if the requested content is returned.
273
- * @path GET `/wiki/rest/api/content/{id}/child/{type}`
274
- * @scopes-current read:confluence-content.summary
275
- * @scopes-beta read:content-details:confluence
276
- * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-child-type-get
277
- * @param params
278
- */
279
- getContentChildrenByType: ({ id, type, expand, parentVersion, start, limit }: {
280
- /** The ID of the content to be queried for its children. */
281
- id: string;
282
- /** The type of children to return. */
283
- type: string;
284
- /**
285
- * A multi-value parameter indicating which properties of the content to expand.
286
- *
287
- * - `childTypes.all` returns whether the content has attachments, comments, or
288
- * child pages/whiteboards.
289
- * Use this if you only need to check whether the content has children of a
290
- * particular type.
291
- * - `childTypes.attachment` returns whether the content has attachments.
292
- * - `childTypes.comment` returns whether the content has comments.
293
- * - `childTypes.page` returns whether the content has child pages.
294
- * - `childTypes.whiteboard` returns whether the content has child whiteboards.
295
- * - `childTypes.database` returns whether the content has child databases.
296
- * - `childTypes.embed` returns whether the content has child embeds (smartlinks).
297
- * - `childTypes.folder` returns whether the content has child folders.
298
- * - `container` returns the space that the content is in. This is the same as the
299
- * information
300
- * returned by [Get space](#api-space-spaceKey-get).
301
- * - `metadata.currentuser` returns information about the current user in relation
302
- * to the content,
303
- * including when they last viewed it, modified it, contributed to it, or added it
304
- * as a favorite.
305
- * - `metadata.properties` returns content properties that have been set via the
306
- * Confluence REST API.
307
- * - `metadata.labels` returns the labels that have been added to the content.
308
- * - `metadata.frontend` this property is only used by Atlassian.
309
- * - `operations` returns the operations for the content, which are used when
310
- * setting permissions.
311
- * - `children.page` returns pages that are descendants at the level immediately
312
- * below the content.
313
- * - `children.whiteboard` returns whiteboards that are descendants at the level
314
- * immediately below the content.
315
- * - `children.database` returns databases that are descendants at the level
316
- * immediately below the content.
317
- * - `children.embed` returns embeds (smartlinks) that are descendants at the
318
- * level immediately below the content.
319
- * - `children.folder` returns folders that are descendants at the level
320
- * immediately below the content.
321
- * - `children.attachment` returns all attachments for the content.
322
- * - `children.comment` returns all comments on the content.
323
- * - `restrictions.read.restrictions.user` returns the users that have permission
324
- * to read the content.
325
- * - `restrictions.read.restrictions.group` returns the groups that have
326
- * permission to read the content. Note that
327
- * this may return deleted groups, because deleting a group doesn't remove
328
- * associated restrictions.
329
- * - `restrictions.update.restrictions.user` returns the users that have
330
- * permission to update the content.
331
- * - `restrictions.update.restrictions.group` returns the groups that have
332
- * permission to update the content. Note that
333
- * this may return deleted groups because deleting a group doesn't remove
334
- * associated restrictions.
335
- * - `history` returns the history of the content, including the date it was
336
- * created.
337
- * - `history.lastUpdated` returns information about the most recent update of the
338
- * content, including
339
- * who updated it and when it was updated.
340
- * - `history.previousVersion` returns information about the update prior to the
341
- * current content update.
342
- * - `history.contributors` returns all of the users who have contributed to the
343
- * content.
344
- * - `history.nextVersion` returns information about the update after to the
345
- * current content update.
346
- * - `ancestors` returns the parent content, if the content is a page or
347
- * whiteboard.
348
- * - `body` returns the body of the content in different formats, including the
349
- * editor format,
350
- * view format, and export format.
351
- * - `body.storage` returns the body of content in storage format.
352
- * - `body.view` returns the body of content in view format.
353
- * - `version` returns information about the most recent update of the content,
354
- * including who updated it
355
- * and when it was updated.
356
- * - `descendants.page` returns pages that are descendants at any level below the
357
- * content.
358
- * - `descendants.whiteboard` returns whiteboards that are descendants at any
359
- * level below the content.
360
- * - `descendants.database` returns databases that are descendants at any level
361
- * below the content.
362
- * - `descendants.embed` returns embeds (smartlinks) that are descendants at any
363
- * level below the content.
364
- * - `descendants.folder` returns folders that are descendants at any level below
365
- * the content.
366
- * - `descendants.attachment` returns all attachments for the content, same as
367
- * `children.attachment`.
368
- * - `descendants.comment` returns all comments on the content, same as
369
- * `children.comment`.
370
- * - `space` returns the space that the content is in. This is the same as the
371
- * information returned by
372
- * [Get space](#api-space-spaceKey-get).
373
- *
374
- * In addition, the following comment-specific expansions can be used:
375
- * - `extensions.inlineProperties` returns inline comment-specific properties.
376
- * - `extensions.resolution` returns the resolution status of each comment.
377
- */
378
- expand?: string[] | undefined;
379
- /**
380
- * The version of the parent content to retrieve children for.
381
- * Currently, this only works for the latest version.
382
- */
383
- parentVersion?: number | undefined;
384
- /** The starting index of the returned content. */
385
- start?: number | undefined;
386
- /**
387
- * The maximum number of content to return per page. Note,
388
- * this may be restricted by fixed system limits.
389
- */
390
- limit?: number | undefined;
391
- }) => Promise<ContentArray>;
392
173
  /**
393
174
  * Returns a map of the descendants of a piece of content. This is similar
394
175
  * to [Get content children](#api-content-id-child-get), except that this
@@ -419,6 +200,7 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
419
200
  * 'View' permission for the space, and permission to view the content if it
420
201
  * is a page.
421
202
  *
203
+ * @deprecated
422
204
  * @returns Returned if the requested descendants are returned.
423
205
  * @path GET `/wiki/rest/api/content/{id}/descendant`
424
206
  * @scopes-current read:confluence-content.summary
@@ -475,6 +257,7 @@ export declare class ContentChildrenAndDescendantsService extends CommonHttpServ
475
257
  * 'View' permission for the space, and permission to view the content if it
476
258
  * is a page.
477
259
  *
260
+ * @deprecated
478
261
  * @returns Returned if the requested content is returned.
479
262
  * @path GET `/wiki/rest/api/content/{id}/descendant/{type}`
480
263
  * @scopes-current read:confluence-content.summary
@@ -119,140 +119,6 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
119
119
  }
120
120
  })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.copyPageHierarchy.response"))).then(commonHttpClient.getBody);
121
121
  };
122
- /**
123
- * Deprecated, use [Confluence's v2
124
- * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
125
- *
126
- * Returns a map of the direct children of a piece of content. A piece of content
127
- * has different types of child content, depending on its type. These are
128
- * the default parent-child content type relationships:
129
- *
130
- * - `page`: child content is `page`, `whiteboard`, `database`, `embed`, `folder`,
131
- * `comment`, `attachment`
132
- * - `whiteboard`: child content is `page`, `whiteboard`, `database`, `embed`,
133
- * `folder`, `comment`, `attachment`
134
- * - `database`: child content is `page`, `whiteboard`, `database`, `embed`,
135
- * `folder`, `comment`, `attachment`
136
- * - `embed`: child content is `page`, `whiteboard`, `database`, `embed`,
137
- * `folder`, `comment`, `attachment`
138
- * - `folder`: child content is `page`, `whiteboard`, `database`, `embed`,
139
- * `folder`, `comment`, `attachment`
140
- * - `blogpost`: child content is `comment`, `attachment`
141
- * - `attachment`: child content is `comment`
142
- * - `comment`: child content is `attachment`
143
- *
144
- * Apps can override these default relationships. Apps can also introduce
145
- * new content types that create new parent-child content relationships.
146
- *
147
- * Note, the map will always include all child content types that are valid
148
- * for the content. However, if the content has no instances of a child content
149
- * type, the map will contain an empty array for that child content type.
150
- *
151
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View'
152
- * permission for the space,
153
- * and permission to view the content if it is a page.
154
- *
155
- * @deprecated
156
- * @returns Returned if the requested content children are returned.
157
- * @path GET `/wiki/rest/api/content/{id}/child`
158
- * @scopes-current read:confluence-content.summary
159
- * @scopes-beta read:content-details:confluence
160
- * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-child-get
161
- * @param params
162
- */
163
- this.getContentChildren = ({ id, expand, parentVersion }) => {
164
- return this.getClientInstance().request({
165
- path: "/wiki/rest/api/content/{id}/child",
166
- method: "GET",
167
- pathParams: {
168
- id
169
- },
170
- query: {
171
- expand,
172
- parentVersion
173
- },
174
- parameters: {
175
- query: {
176
- expand: {
177
- explode: false
178
- }
179
- }
180
- }
181
- }).then(this.getClientInstance().responseHandler({
182
- 200: {
183
- "application/json": "json"
184
- }
185
- })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getContentChildren.response"))).then(commonHttpClient.getBody);
186
- };
187
- /**
188
- * Deprecated, use [Confluence's v2
189
- * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
190
- *
191
- * Returns all children of a given type, for a piece of content.
192
- * A piece of content has different types of child content, depending on its type:
193
- *
194
- * - `page`: child content is `page`, `whiteboard`, `database`, `embed`, `folder`,
195
- * `comment`, `attachment`
196
- * - `whiteboard`: child content is `page`, `whiteboard`, `database`, `embed`,
197
- * `folder`, `comment`, `attachment`
198
- * - `database`: child content is `page`, `whiteboard`, `database`, `embed`,
199
- * `folder`, `comment`, `attachment`
200
- * - `embed`: child content is `page`, `whiteboard`, `database`, `embed`,
201
- * `folder`, `comment`, `attachment`
202
- * - `folder`: child content is `page`, `whiteboard`, `database`, `embed`,
203
- * `folder`, `comment`, `attachment`
204
- * - `blogpost`: child content is `comment`, `attachment`
205
- * - `attachment`: child content is `comment`
206
- * - `comment`: child content is `attachment`
207
- *
208
- * Custom content types that are provided by apps can also be returned.
209
- *
210
- * Note, this method only returns direct children. To return children at all
211
- * levels, use [Get descendants by type](#api-content-id-descendant-type-get).
212
- *
213
- * If the expand query parameter is used with the `body.export_view` and/or
214
- * `body.styled_view` properties, then the query limit parameter will be
215
- * restricted to a maximum value of 25.
216
- *
217
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View'
218
- * permission for the space,
219
- * and permission to view the content if it is a page.
220
- *
221
- * @deprecated
222
- * @returns Returned if the requested content is returned.
223
- * @path GET `/wiki/rest/api/content/{id}/child/{type}`
224
- * @scopes-current read:confluence-content.summary
225
- * @scopes-beta read:content-details:confluence
226
- * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-child-type-get
227
- * @param params
228
- */
229
- this.getContentChildrenByType = ({ id, type, expand, parentVersion, start, limit }) => {
230
- return this.getClientInstance().request({
231
- path: "/wiki/rest/api/content/{id}/child/{type}",
232
- method: "GET",
233
- pathParams: {
234
- id,
235
- type
236
- },
237
- query: {
238
- expand,
239
- parentVersion,
240
- start,
241
- limit
242
- },
243
- parameters: {
244
- query: {
245
- expand: {
246
- explode: false
247
- }
248
- }
249
- }
250
- }).then(this.getClientInstance().responseHandler({
251
- 200: {
252
- "application/json": "json"
253
- }
254
- })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getContentChildrenByType.response"))).then(commonHttpClient.getBody);
255
- };
256
122
  /**
257
123
  * Returns a map of the descendants of a piece of content. This is similar
258
124
  * to [Get content children](#api-content-id-child-get), except that this
@@ -283,6 +149,7 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
283
149
  * 'View' permission for the space, and permission to view the content if it
284
150
  * is a page.
285
151
  *
152
+ * @deprecated
286
153
  * @returns Returned if the requested descendants are returned.
287
154
  * @path GET `/wiki/rest/api/content/{id}/descendant`
288
155
  * @scopes-current read:confluence-content.summary
@@ -345,6 +212,7 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
345
212
  * 'View' permission for the space, and permission to view the content if it
346
213
  * is a page.
347
214
  *
215
+ * @deprecated
348
216
  * @returns Returned if the requested content is returned.
349
217
  * @path GET `/wiki/rest/api/content/{id}/descendant/{type}`
350
218
  * @scopes-current read:confluence-content.summary
@@ -418,16 +286,6 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
418
286
  };
419
287
  }
420
288
  static initialize() {
421
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getContentChildren.response", zod_1.z.object({
422
- status: zod_1.z.literal(200),
423
- mediaType: zod_1.z.literal("application/json"),
424
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentChildren")
425
- }).describe("ContentChildrenAndDescendantsService.getContentChildren.response"));
426
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getContentChildrenByType.response", zod_1.z.object({
427
- status: zod_1.z.literal(200),
428
- mediaType: zod_1.z.literal("application/json"),
429
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
430
- }).describe("ContentChildrenAndDescendantsService.getContentChildrenByType.response"));
431
289
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.copyPage.response", zod_1.z.object({
432
290
  status: zod_1.z.literal(200),
433
291
  mediaType: zod_1.z.literal("application/json;charset=UTF-8"),
@@ -1 +1 @@
1
- {"version":3,"file":"ContentChildrenAndDescendantsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentChildrenAndDescendantsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAyI;AACzI,2FAAsL;AACtL,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,oCAAqC,SAAQ,qCAAiB;IAA3E;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,aAAQ,GAAG,CAAC,EACV,EAAE,EACF,MAAM,EACN,eAAe,EAqGhB,EAA2B,EAAE;YAC5B,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,kCAAkC;gBACxC,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,MAAM;iBACP;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,UAAU,EAAE;oBACV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QAAQ,EAAE;aAC7D,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC,CAAC,QAAQ,CAAC,wDAAwD,CAAC,CAAC,CAAC;QACvE,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,EAAE,sFAAsD,CAAC,CAAC,CAAC;IAClI,CAAC;CACF;AA13BD,oFA03BC"}
1
+ {"version":3,"file":"ContentChildrenAndDescendantsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentChildrenAndDescendantsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAyI;AACzI,2FAAsL;AACtL,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,oCAAqC,SAAQ,qCAAiB;IAA3E;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,aAAQ,GAAG,CAAC,EACV,EAAE,EACF,MAAM,EACN,eAAe,EAqGhB,EAA2B,EAAE;YAC5B,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,kCAAkC;gBACxC,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,MAAM;iBACP;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,MAAM,EAAE;4BACN,OAAO,EAAE,KAAK;yBACf;qBACF;iBACF;gBACD,IAAI,EAAE,eAAe;aACtB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBAC/C,GAAG,EAAE;oBACH,gCAAgC,EAAE,MAAM;iBACzC;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAIlC,CAAC,CAAC,IAAI,CA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,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,EAAE,sFAAsD,CAAC,CAAC,CAAC;IAClI,CAAC;CACF;AAnlBD,oFAmlBC"}
@@ -1,5 +1,5 @@
1
1
  import { CommonHttpService } from "../../core/CommonHttpService";
2
- import { type LabelArray, type LabelCreate } from "../models/common";
2
+ import { type LabelCreate, type LabelArray } from "../models/common";
3
3
  import type { LabelCreateArray } from "../models/contentLabels";
4
4
  /**
5
5
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels
@@ -34,49 +34,6 @@ export declare class ContentLabelsService extends CommonHttpService {
34
34
  /** The labels to add to the content. */
35
35
  requestBody: LabelCreateArray | LabelCreate;
36
36
  }) => Promise<LabelArray>;
37
- /**
38
- * Deprecated, use [Confluence's v2
39
- * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
40
- *
41
- * Returns the labels on a piece of content.
42
- *
43
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
44
- * 'View' permission for the space and permission to view the content if it is a
45
- * page.
46
- *
47
- * @deprecated
48
- * @returns Returned if the requested labels are returned.
49
- * @path GET `/wiki/rest/api/content/{id}/label`
50
- * @scopes-current read:confluence-content.summary
51
- * @scopes-beta read:label:confluence
52
- * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels#api-wiki-rest-api-content-id-label-get
53
- * @param params
54
- */
55
- getLabelsForContent: ({ id, prefix, start, limit }: {
56
- /** The ID of the content to be queried for its labels. */
57
- id: string;
58
- /**
59
- * Filters the results to labels with the specified prefix. If this parameter
60
- * is not specified, then labels with any prefix will be returned.
61
- *
62
- * - `global` prefix is used by default when a user adds a label
63
- * via the UI.
64
- * - `my` prefix can be explicitly added by a user when adding a label
65
- * via the UI, e.g. 'my:example-label'. Also, when a page is selected as
66
- * a favourite, the 'my:favourite' label is automatically added.
67
- * - `team` can used when adding labels via [Add labels to
68
- * content](#api-content-id-label-post)
69
- * but is not used in the UI.
70
- */
71
- prefix?: "global" | "my" | "team" | undefined;
72
- /** The starting index of the returned labels. */
73
- start?: number | undefined;
74
- /**
75
- * The maximum number of labels to return per page. Note,
76
- * this may be restricted by fixed system limits.
77
- */
78
- limit?: number | undefined;
79
- }) => Promise<LabelArray>;
80
37
  /**
81
38
  * Removes a label from a piece of content. Labels can't be deleted from archived
82
39
  * content.
@@ -55,42 +55,6 @@ class ContentLabelsService extends CommonHttpService_1.CommonHttpService {
55
55
  }
56
56
  })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentLabelsService.addLabelsToContent.response"))).then(commonHttpClient.getBody);
57
57
  };
58
- /**
59
- * Deprecated, use [Confluence's v2
60
- * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
61
- *
62
- * Returns the labels on a piece of content.
63
- *
64
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
65
- * 'View' permission for the space and permission to view the content if it is a
66
- * page.
67
- *
68
- * @deprecated
69
- * @returns Returned if the requested labels are returned.
70
- * @path GET `/wiki/rest/api/content/{id}/label`
71
- * @scopes-current read:confluence-content.summary
72
- * @scopes-beta read:label:confluence
73
- * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels#api-wiki-rest-api-content-id-label-get
74
- * @param params
75
- */
76
- this.getLabelsForContent = ({ id, prefix, start, limit }) => {
77
- return this.getClientInstance().request({
78
- path: "/wiki/rest/api/content/{id}/label",
79
- method: "GET",
80
- pathParams: {
81
- id
82
- },
83
- query: {
84
- prefix,
85
- start,
86
- limit
87
- }
88
- }).then(this.getClientInstance().responseHandler({
89
- 200: {
90
- "application/json": "json"
91
- }
92
- })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentLabelsService.getLabelsForContent.response"))).then(commonHttpClient.getBody);
93
- };
94
58
  /**
95
59
  * Removes a label from a piece of content. Labels can't be deleted from archived
96
60
  * content.
@@ -156,11 +120,6 @@ class ContentLabelsService extends CommonHttpService_1.CommonHttpService {
156
120
  };
157
121
  }
158
122
  static initialize() {
159
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentLabelsService.getLabelsForContent.response", zod_1.z.object({
160
- status: zod_1.z.literal(200),
161
- mediaType: zod_1.z.literal("application/json"),
162
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("LabelArray")
163
- }).describe("ContentLabelsService.getLabelsForContent.response"));
164
123
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentLabelsService.addLabelsToContent.response", zod_1.z.object({
165
124
  status: zod_1.z.literal(200),
166
125
  mediaType: zod_1.z.literal("application/json"),
@@ -1 +1 @@
1
- {"version":3,"file":"ContentLabelsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentLabelsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAsG;AAEtG,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,oBAAqB,SAAQ,qCAAiB;IAA3D;;QACE;;;;;;;;;;;;;;;;;;;;;WAqBG;QACH,uBAAkB,GAAG,CAAC,EACpB,EAAE,EACF,WAAW,EAMZ,EAAuB,EAAE;YACxB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,mCAAmC;gBACzC,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,EAAE;iBACH;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,EAIlC,CAAC,CAAC,IAAI,CAAC,IAAI,C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;;;;WAmBG;QACH,8CAAyC,GAAG,CAAC,EAC3C,EAAE,EACF,IAAI,EAML,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,mCAAmC;gBACzC,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,IAAI;iBACL;aACF,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;IAcJ,CAAC;IAbW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CAAC,mDAAmD,EAAE,OAAC,CAAC,MAAM,CAAC;YACvG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,YAAY,CAAC;SACjD,CAAC,CAAC,QAAQ,CAAC,mDAAmD,CAAC,CAAC,CAAC;QAClE,iDAAuB,CAAC,kBAAkB,CAAC,kDAAkD,EAAE,OAAC,CAAC,MAAM,CAAC;YACtG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,YAAY,CAAC;SACjD,CAAC,CAAC,QAAQ,CAAC,kDAAkD,CAAC,CAAC,CAAC;QACjE,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AArND,oDAqNC"}
1
+ {"version":3,"file":"ContentLabelsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentLabelsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,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