confluence.js 2.0.0-dev20250512202536 → 2.1.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 (224) hide show
  1. package/CHANGELOG.md +52 -2
  2. package/README.md +145 -183
  3. package/dist/cjs/api/analytics.cjs.map +1 -1
  4. package/dist/cjs/api/audit.cjs.map +1 -1
  5. package/dist/cjs/api/content.cjs +0 -5
  6. package/dist/cjs/api/content.cjs.map +1 -1
  7. package/dist/cjs/api/contentAttachments.cjs +1 -0
  8. package/dist/cjs/api/contentAttachments.cjs.map +1 -1
  9. package/dist/cjs/api/contentBody.cjs +18 -0
  10. package/dist/cjs/api/contentBody.cjs.map +1 -1
  11. package/dist/cjs/api/contentChildrenAndDescendants.cjs +2 -0
  12. package/dist/cjs/api/contentChildrenAndDescendants.cjs.map +1 -1
  13. package/dist/cjs/api/contentComments.cjs +1 -0
  14. package/dist/cjs/api/contentComments.cjs.map +1 -1
  15. package/dist/cjs/api/contentLabels.cjs.map +1 -1
  16. package/dist/cjs/api/contentMacroBody.cjs.map +1 -1
  17. package/dist/cjs/api/contentPermissions.cjs.map +1 -1
  18. package/dist/cjs/api/contentProperties.cjs +1 -0
  19. package/dist/cjs/api/contentProperties.cjs.map +1 -1
  20. package/dist/cjs/api/contentRestrictions.cjs.map +1 -1
  21. package/dist/cjs/api/contentStates.cjs +13 -0
  22. package/dist/cjs/api/contentStates.cjs.map +1 -1
  23. package/dist/cjs/api/contentVersions.cjs.map +1 -1
  24. package/dist/cjs/api/contentWatches.cjs.map +1 -1
  25. package/dist/cjs/api/dynamicModules.cjs.map +1 -1
  26. package/dist/cjs/api/experimental.cjs.map +1 -1
  27. package/dist/cjs/api/group.cjs +18 -17
  28. package/dist/cjs/api/group.cjs.map +1 -1
  29. package/dist/cjs/api/index.cjs +2 -0
  30. package/dist/cjs/api/index.cjs.map +1 -1
  31. package/dist/cjs/api/inlineTasks.cjs +1 -0
  32. package/dist/cjs/api/inlineTasks.cjs.map +1 -1
  33. package/dist/cjs/api/labelInfo.cjs.map +1 -1
  34. package/dist/cjs/api/longRunningTask.cjs +1 -0
  35. package/dist/cjs/api/longRunningTask.cjs.map +1 -1
  36. package/dist/cjs/api/models/labeledContentType.cjs.map +1 -1
  37. package/dist/cjs/api/relation.cjs.map +1 -1
  38. package/dist/cjs/api/search.cjs +1 -0
  39. package/dist/cjs/api/search.cjs.map +1 -1
  40. package/dist/cjs/api/settings.cjs.map +1 -1
  41. package/dist/cjs/api/space.cjs +4 -2
  42. package/dist/cjs/api/space.cjs.map +1 -1
  43. package/dist/cjs/api/spacePermissions.cjs.map +1 -1
  44. package/dist/cjs/api/spaceProperties.cjs +1 -0
  45. package/dist/cjs/api/spaceProperties.cjs.map +1 -1
  46. package/dist/cjs/api/spaceSettings.cjs.map +1 -1
  47. package/dist/cjs/api/template.cjs.map +1 -1
  48. package/dist/cjs/api/themes.cjs.map +1 -1
  49. package/dist/cjs/api/userProperties.cjs +56 -0
  50. package/dist/cjs/api/userProperties.cjs.map +1 -0
  51. package/dist/cjs/api/users.cjs.map +1 -1
  52. package/dist/cjs/clients/baseClient.cjs.map +1 -1
  53. package/dist/cjs/clients/confluenceClient.cjs +6 -0
  54. package/dist/cjs/clients/confluenceClient.cjs.map +1 -1
  55. package/dist/cjs/config.cjs +3 -1
  56. package/dist/cjs/config.cjs.map +1 -1
  57. package/dist/cjs/paramSerializer.cjs.map +1 -1
  58. package/dist/cjs/services/authenticationService/authenticationService.cjs.map +1 -1
  59. package/dist/cjs/services/authenticationService/authentications/createBasicAuthenticationToken.cjs.map +1 -1
  60. package/dist/cjs/services/authenticationService/authentications/createJWTAuthentication.cjs +1 -1
  61. package/dist/cjs/services/authenticationService/authentications/createJWTAuthentication.cjs.map +1 -1
  62. package/dist/cjs/services/authenticationService/base64Encoder.cjs.map +1 -1
  63. package/dist/esm/api/analytics.mjs.map +1 -1
  64. package/dist/esm/api/audit.mjs.map +1 -1
  65. package/dist/esm/api/content.mjs +0 -5
  66. package/dist/esm/api/content.mjs.map +1 -1
  67. package/dist/esm/api/contentAttachments.mjs +1 -0
  68. package/dist/esm/api/contentAttachments.mjs.map +1 -1
  69. package/dist/esm/api/contentBody.mjs +18 -0
  70. package/dist/esm/api/contentBody.mjs.map +1 -1
  71. package/dist/esm/api/contentChildrenAndDescendants.mjs +2 -0
  72. package/dist/esm/api/contentChildrenAndDescendants.mjs.map +1 -1
  73. package/dist/esm/api/contentComments.mjs +1 -0
  74. package/dist/esm/api/contentComments.mjs.map +1 -1
  75. package/dist/esm/api/contentLabels.mjs.map +1 -1
  76. package/dist/esm/api/contentMacroBody.mjs.map +1 -1
  77. package/dist/esm/api/contentPermissions.mjs.map +1 -1
  78. package/dist/esm/api/contentProperties.mjs +1 -0
  79. package/dist/esm/api/contentProperties.mjs.map +1 -1
  80. package/dist/esm/api/contentRestrictions.mjs.map +1 -1
  81. package/dist/esm/api/contentStates.mjs +13 -0
  82. package/dist/esm/api/contentStates.mjs.map +1 -1
  83. package/dist/esm/api/contentVersions.mjs.map +1 -1
  84. package/dist/esm/api/contentWatches.mjs.map +1 -1
  85. package/dist/esm/api/dynamicModules.mjs.map +1 -1
  86. package/dist/esm/api/experimental.mjs.map +1 -1
  87. package/dist/esm/api/group.mjs +18 -17
  88. package/dist/esm/api/group.mjs.map +1 -1
  89. package/dist/esm/api/index.mjs +1 -0
  90. package/dist/esm/api/index.mjs.map +1 -1
  91. package/dist/esm/api/inlineTasks.mjs +1 -0
  92. package/dist/esm/api/inlineTasks.mjs.map +1 -1
  93. package/dist/esm/api/labelInfo.mjs.map +1 -1
  94. package/dist/esm/api/longRunningTask.mjs +1 -0
  95. package/dist/esm/api/longRunningTask.mjs.map +1 -1
  96. package/dist/esm/api/models/labeledContentType.mjs.map +1 -1
  97. package/dist/esm/api/relation.mjs.map +1 -1
  98. package/dist/esm/api/search.mjs +1 -0
  99. package/dist/esm/api/search.mjs.map +1 -1
  100. package/dist/esm/api/settings.mjs.map +1 -1
  101. package/dist/esm/api/space.mjs +4 -2
  102. package/dist/esm/api/space.mjs.map +1 -1
  103. package/dist/esm/api/spacePermissions.mjs.map +1 -1
  104. package/dist/esm/api/spaceProperties.mjs +1 -0
  105. package/dist/esm/api/spaceProperties.mjs.map +1 -1
  106. package/dist/esm/api/spaceSettings.mjs.map +1 -1
  107. package/dist/esm/api/template.mjs.map +1 -1
  108. package/dist/esm/api/themes.mjs.map +1 -1
  109. package/dist/esm/api/userProperties.mjs +54 -0
  110. package/dist/esm/api/userProperties.mjs.map +1 -0
  111. package/dist/esm/api/users.mjs.map +1 -1
  112. package/dist/esm/clients/baseClient.mjs.map +1 -1
  113. package/dist/esm/clients/confluenceClient.mjs +6 -0
  114. package/dist/esm/clients/confluenceClient.mjs.map +1 -1
  115. package/dist/esm/config.mjs +3 -1
  116. package/dist/esm/config.mjs.map +1 -1
  117. package/dist/esm/paramSerializer.mjs.map +1 -1
  118. package/dist/esm/services/authenticationService/authenticationService.mjs.map +1 -1
  119. package/dist/esm/services/authenticationService/authentications/createBasicAuthenticationToken.mjs.map +1 -1
  120. package/dist/esm/services/authenticationService/authentications/createJWTAuthentication.mjs +1 -1
  121. package/dist/esm/services/authenticationService/authentications/createJWTAuthentication.mjs.map +1 -1
  122. package/dist/esm/services/authenticationService/base64Encoder.mjs.map +1 -1
  123. package/dist/esm/types/api/analytics.d.ts +1 -1
  124. package/dist/esm/types/api/audit.d.ts +3 -3
  125. package/dist/esm/types/api/content.d.ts +33 -7
  126. package/dist/esm/types/api/contentAttachments.d.ts +5 -1
  127. package/dist/esm/types/api/contentBody.d.ts +73 -7
  128. package/dist/esm/types/api/contentChildrenAndDescendants.d.ts +37 -5
  129. package/dist/esm/types/api/contentComments.d.ts +5 -0
  130. package/dist/esm/types/api/contentLabels.d.ts +17 -9
  131. package/dist/esm/types/api/contentMacroBody.d.ts +79 -1
  132. package/dist/esm/types/api/contentPermissions.d.ts +1 -1
  133. package/dist/esm/types/api/contentProperties.d.ts +25 -0
  134. package/dist/esm/types/api/contentRestrictions.d.ts +19 -7
  135. package/dist/esm/types/api/contentStates.d.ts +23 -5
  136. package/dist/esm/types/api/contentVersions.d.ts +9 -1
  137. package/dist/esm/types/api/contentWatches.d.ts +1 -1
  138. package/dist/esm/types/api/dynamicModules.d.ts +1 -1
  139. package/dist/esm/types/api/experimental.d.ts +21 -1
  140. package/dist/esm/types/api/group.d.ts +47 -27
  141. package/dist/esm/types/api/index.d.ts +1 -0
  142. package/dist/esm/types/api/inlineTasks.d.ts +13 -0
  143. package/dist/esm/types/api/labelInfo.d.ts +1 -1
  144. package/dist/esm/types/api/longRunningTask.d.ts +1 -1
  145. package/dist/esm/types/api/models/spaceCreate.d.ts +11 -2
  146. package/dist/esm/types/api/models/spacePrivateCreate.d.ts +11 -2
  147. package/dist/esm/types/api/parameters/bulkAsyncConvertContentBodyRequest.d.ts +58 -0
  148. package/dist/esm/types/api/parameters/bulkAsyncConvertContentBodyResponse.d.ts +4 -0
  149. package/dist/esm/types/api/parameters/deleteGroupById.d.ts +4 -0
  150. package/dist/esm/types/api/parameters/downloadAttachment.d.ts +6 -0
  151. package/dist/esm/types/api/parameters/getContentChildren.d.ts +6 -1
  152. package/dist/esm/types/api/parameters/getContentsWithState.d.ts +17 -0
  153. package/dist/esm/types/api/parameters/getGroupMembersByGroupId.d.ts +7 -0
  154. package/dist/esm/types/api/parameters/getGroupMembershipsForUser.d.ts +4 -0
  155. package/dist/esm/types/api/parameters/getTasks.d.ts +2 -0
  156. package/dist/esm/types/api/parameters/getUser.d.ts +4 -0
  157. package/dist/esm/types/api/parameters/index.d.ts +4 -0
  158. package/dist/esm/types/api/parameters/searchUser.d.ts +7 -0
  159. package/dist/esm/types/api/relation.d.ts +13 -15
  160. package/dist/esm/types/api/search.d.ts +7 -1
  161. package/dist/esm/types/api/settings.d.ts +5 -1
  162. package/dist/esm/types/api/space.d.ts +23 -7
  163. package/dist/esm/types/api/spacePermissions.d.ts +1 -1
  164. package/dist/esm/types/api/spaceProperties.d.ts +25 -0
  165. package/dist/esm/types/api/spaceSettings.d.ts +1 -1
  166. package/dist/esm/types/api/template.d.ts +1 -1
  167. package/dist/esm/types/api/themes.d.ts +1 -1
  168. package/dist/esm/types/api/userProperties.d.ts +102 -0
  169. package/dist/esm/types/api/users.d.ts +21 -9
  170. package/dist/esm/types/clients/confluenceClient.d.ts +6 -1
  171. package/eslint.config.ts +11 -16
  172. package/package.json +29 -28
  173. package/src/api/analytics.ts +1 -1
  174. package/src/api/audit.ts +3 -3
  175. package/src/api/content.ts +33 -12
  176. package/src/api/contentAttachments.ts +6 -1
  177. package/src/api/contentBody.ts +113 -7
  178. package/src/api/contentChildrenAndDescendants.ts +39 -5
  179. package/src/api/contentComments.ts +5 -0
  180. package/src/api/contentLabels.ts +17 -9
  181. package/src/api/contentMacroBody.ts +79 -1
  182. package/src/api/contentPermissions.ts +1 -1
  183. package/src/api/contentProperties.ts +25 -0
  184. package/src/api/contentRestrictions.ts +19 -7
  185. package/src/api/contentStates.ts +47 -5
  186. package/src/api/contentVersions.ts +9 -1
  187. package/src/api/contentWatches.ts +1 -1
  188. package/src/api/dynamicModules.ts +1 -1
  189. package/src/api/experimental.ts +21 -1
  190. package/src/api/group.ts +96 -75
  191. package/src/api/index.ts +1 -0
  192. package/src/api/inlineTasks.ts +13 -0
  193. package/src/api/labelInfo.ts +1 -1
  194. package/src/api/longRunningTask.ts +2 -1
  195. package/src/api/models/spaceCreate.ts +11 -2
  196. package/src/api/models/spacePrivateCreate.ts +11 -2
  197. package/src/api/parameters/bulkAsyncConvertContentBodyRequest.ts +88 -0
  198. package/src/api/parameters/bulkAsyncConvertContentBodyResponse.ts +4 -0
  199. package/src/api/parameters/deleteGroupById.ts +4 -0
  200. package/src/api/parameters/downloadAttachment.ts +6 -0
  201. package/src/api/parameters/getContentChildren.ts +7 -1
  202. package/src/api/parameters/getContentsWithState.ts +17 -0
  203. package/src/api/parameters/getGroupMembersByGroupId.ts +7 -0
  204. package/src/api/parameters/getGroupMembershipsForUser.ts +4 -0
  205. package/src/api/parameters/getTasks.ts +2 -0
  206. package/src/api/parameters/getUser.ts +4 -0
  207. package/src/api/parameters/index.ts +4 -0
  208. package/src/api/parameters/searchUser.ts +7 -0
  209. package/src/api/relation.ts +13 -15
  210. package/src/api/search.ts +8 -1
  211. package/src/api/settings.ts +5 -1
  212. package/src/api/space.ts +27 -9
  213. package/src/api/spacePermissions.ts +1 -1
  214. package/src/api/spaceProperties.ts +25 -0
  215. package/src/api/spaceSettings.ts +1 -1
  216. package/src/api/template.ts +1 -1
  217. package/src/api/themes.ts +1 -1
  218. package/src/api/userProperties.ts +185 -0
  219. package/src/api/users.ts +21 -9
  220. package/src/clients/baseClient.ts +1 -5
  221. package/src/clients/confluenceClient.ts +6 -0
  222. package/src/config.ts +4 -1
  223. package/src/services/authenticationService/authentications/createJWTAuthentication.ts +1 -1
  224. package/favicon.svg +0 -7
@@ -1,7 +1,7 @@
1
1
  import type * as Models from "./models/index.js";
2
2
  import type * as Parameters from "./parameters/index.js";
3
- import type { Callback } from "../callback.js";
4
3
  import type { Client } from "../clients/index.js";
4
+ import type { Callback } from "../callback.js";
5
5
  export declare class ContentBody {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -18,6 +18,8 @@ export declare class ContentBody {
18
18
  *
19
19
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: If request specifies 'contentIdContext',
20
20
  * 'View' permission for the space, and permission to view the content.
21
+ *
22
+ * @deprecated Will be removed in next major version.
21
23
  */
22
24
  convertContentBody<T = Models.ContentBody>(parameters: Parameters.ConvertContentBody, callback: Callback<T>): Promise<void>;
23
25
  /**
@@ -33,6 +35,8 @@ export declare class ContentBody {
33
35
  *
34
36
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: If request specifies 'contentIdContext',
35
37
  * 'View' permission for the space, and permission to view the content.
38
+ *
39
+ * @deprecated Will be removed in next major version.
36
40
  */
37
41
  convertContentBody<T = Models.ContentBody>(parameters: Parameters.ConvertContentBody, callback?: never): Promise<T>;
38
42
  /**
@@ -41,7 +45,9 @@ export declare class ContentBody {
41
45
  *
42
46
  * Supported conversions:
43
47
  *
44
- * - Storage: export_view
48
+ * - Atlas_doc_format: editor, export_view, storage, styled_view, view
49
+ * - Storage: atlas_doc_format, editor, export_view, styled_view, view
50
+ * - Editor: storage
45
51
  *
46
52
  * No other conversions are supported at the moment. Once a conversion is completed, it will be available for 5
47
53
  * minutes at the result endpoint.
@@ -56,7 +62,9 @@ export declare class ContentBody {
56
62
  *
57
63
  * Supported conversions:
58
64
  *
59
- * - Storage: export_view
65
+ * - Atlas_doc_format: editor, export_view, storage, styled_view, view
66
+ * - Storage: atlas_doc_format, editor, export_view, styled_view, view
67
+ * - Editor: storage
60
68
  *
61
69
  * No other conversions are supported at the moment. Once a conversion is completed, it will be available for 5
62
70
  * minutes at the result endpoint.
@@ -66,8 +74,8 @@ export declare class ContentBody {
66
74
  */
67
75
  asyncConvertContentBodyRequest<T = Models.AsyncId>(parameters: Parameters.AsyncConvertContentBodyRequest, callback?: never): Promise<T>;
68
76
  /**
69
- * Returns the Asynchronous Content Body for the corresponding asyncId if the task is complete or returns the status
70
- * of the task.
77
+ * Returns the asynchronous content body for the corresponding id if the task is complete or returns the status of the
78
+ * task.
71
79
  *
72
80
  * After the task is completed, the result can be obtained for 5 minutes, or until an identical conversion request is
73
81
  * made again, with allowCache query param set to false.
@@ -77,8 +85,8 @@ export declare class ContentBody {
77
85
  */
78
86
  asyncConvertContentBodyResponse<T = Models.AsyncContentBody>(parameters: Parameters.AsyncConvertContentBodyResponse, callback: Callback<T>): Promise<void>;
79
87
  /**
80
- * Returns the Asynchronous Content Body for the corresponding asyncId if the task is complete or returns the status
81
- * of the task.
88
+ * Returns the asynchronous content body for the corresponding id if the task is complete or returns the status of the
89
+ * task.
82
90
  *
83
91
  * After the task is completed, the result can be obtained for 5 minutes, or until an identical conversion request is
84
92
  * made again, with allowCache query param set to false.
@@ -87,4 +95,62 @@ export declare class ContentBody {
87
95
  * 'View' permission for the space, and permission to view the content.
88
96
  */
89
97
  asyncConvertContentBodyResponse<T = Models.AsyncContentBody>(parameters: Parameters.AsyncConvertContentBodyResponse, callback?: never): Promise<T>;
98
+ /**
99
+ * Returns the content body for the corresponding `asyncId` of a completed conversion task. If the task is not
100
+ * completed, the task status is returned instead.
101
+ *
102
+ * Once a conversion task is completed, the result can be obtained for up to 5 minutes, or until an identical
103
+ * conversion request is made again with the `allowCache` parameter set to false.
104
+ *
105
+ * Note that there is a maximum limit of 50 task results per request to this endpoint.
106
+ *
107
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
108
+ * ('Can use' global permission).
109
+ */
110
+ bulkAsyncConvertContentBodyResponse<T = Models.AsyncContentBody[]>(parameters: Parameters.BulkAsyncConvertContentBodyResponse, callback: Callback<T>): Promise<void>;
111
+ /**
112
+ * Returns the content body for the corresponding `asyncId` of a completed conversion task. If the task is not
113
+ * completed, the task status is returned instead.
114
+ *
115
+ * Once a conversion task is completed, the result can be obtained for up to 5 minutes, or until an identical
116
+ * conversion request is made again with the `allowCache` parameter set to false.
117
+ *
118
+ * Note that there is a maximum limit of 50 task results per request to this endpoint.
119
+ *
120
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site
121
+ * ('Can use' global permission).
122
+ */
123
+ bulkAsyncConvertContentBodyResponse<T = Models.AsyncContentBody[]>(parameters: Parameters.BulkAsyncConvertContentBodyResponse, callback?: never): Promise<T>;
124
+ /**
125
+ * Asynchronously converts content bodies from one format to another format in bulk. Use the Content body REST API to
126
+ * get the status of conversion tasks. Note that there is a maximum limit of 10 conversions per request to this
127
+ * endpoint.
128
+ *
129
+ * Supported conversions:
130
+ *
131
+ * - Storage: editor, export_view, styled_view, view
132
+ * - Editor: storage
133
+ *
134
+ * Once a conversion task is completed, it is available for polling for up to 5 minutes.
135
+ *
136
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
137
+ * permission to view the content if the `spaceKeyContext` or `contentIdContext` are present.
138
+ */
139
+ bulkAsyncConvertContentBodyRequest<T = Models.AsyncId[]>(parameters: Parameters.BulkAsyncConvertContentBodyRequest, callback: Callback<T>): Promise<void>;
140
+ /**
141
+ * Asynchronously converts content bodies from one format to another format in bulk. Use the Content body REST API to
142
+ * get the status of conversion tasks. Note that there is a maximum limit of 10 conversions per request to this
143
+ * endpoint.
144
+ *
145
+ * Supported conversions:
146
+ *
147
+ * - Storage: editor, export_view, styled_view, view
148
+ * - Editor: storage
149
+ *
150
+ * Once a conversion task is completed, it is available for polling for up to 5 minutes.
151
+ *
152
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
153
+ * permission to view the content if the `spaceKeyContext` or `contentIdContext` are present.
154
+ */
155
+ bulkAsyncConvertContentBodyRequest<T = Models.AsyncId[]>(parameters: Parameters.BulkAsyncConvertContentBodyRequest, callback?: never): Promise<T>;
90
156
  }
@@ -1,7 +1,7 @@
1
1
  import type * as Models from "./models/index.js";
2
2
  import type * as Parameters from "./parameters/index.js";
3
- import type { Callback } from "../callback.js";
4
3
  import type { Client } from "../clients/index.js";
4
+ import type { Callback } from "../callback.js";
5
5
  export declare class ContentChildrenAndDescendants {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -22,6 +22,8 @@ export declare class ContentChildrenAndDescendants {
22
22
  *
23
23
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
24
24
  * permission to view the content if it is a page.
25
+ *
26
+ * @deprecated Will be removed in next major version.
25
27
  */
26
28
  getContentChildren<T = Models.ContentChildren>(parameters: Parameters.GetContentChildren, callback: Callback<T>): Promise<void>;
27
29
  /**
@@ -41,6 +43,8 @@ export declare class ContentChildrenAndDescendants {
41
43
  *
42
44
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
43
45
  * permission to view the content if it is a page.
46
+ *
47
+ * @deprecated Will be removed in next major version.
44
48
  */
45
49
  getContentChildren<T = Models.ContentChildren>(parameters: Parameters.GetContentChildren, callback?: never): Promise<T>;
46
50
  /**
@@ -83,6 +87,8 @@ export declare class ContentChildrenAndDescendants {
83
87
  *
84
88
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
85
89
  * permission to view the content if it is a page.
90
+ *
91
+ * @deprecated Will be removed in next major version.
86
92
  */
87
93
  getContentChildrenByType<T = Models.ContentArray>(parameters: Parameters.GetContentChildrenByType, callback: Callback<T>): Promise<void>;
88
94
  /**
@@ -101,6 +107,8 @@ export declare class ContentChildrenAndDescendants {
101
107
  *
102
108
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
103
109
  * permission to view the content if it is a page.
110
+ *
111
+ * @deprecated Will be removed in next major version.
104
112
  */
105
113
  getContentChildrenByType<T = Models.ContentArray>(parameters: Parameters.GetContentChildrenByType, callback?: never): Promise<T>;
106
114
  /**
@@ -110,7 +118,11 @@ export declare class ContentChildrenAndDescendants {
110
118
  *
111
119
  * A piece of content has different types of descendants, depending on its type:
112
120
  *
113
- * - `page`: descendant is `page`, `comment`, `attachment`
121
+ * - `page`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
122
+ * - `whiteboard`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
123
+ * - `database`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
124
+ * - `embed`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
125
+ * - `folder`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
114
126
  * - `blogpost`: descendant is `comment`, `attachment`
115
127
  * - `attachment`: descendant is `comment`
116
128
  * - `comment`: descendant is `attachment`
@@ -129,7 +141,11 @@ export declare class ContentChildrenAndDescendants {
129
141
  *
130
142
  * A piece of content has different types of descendants, depending on its type:
131
143
  *
132
- * - `page`: descendant is `page`, `comment`, `attachment`
144
+ * - `page`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
145
+ * - `whiteboard`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
146
+ * - `database`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
147
+ * - `embed`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
148
+ * - `folder`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
133
149
  * - `blogpost`: descendant is `comment`, `attachment`
134
150
  * - `attachment`: descendant is `comment`
135
151
  * - `comment`: descendant is `attachment`
@@ -148,13 +164,20 @@ export declare class ContentChildrenAndDescendants {
148
164
  *
149
165
  * A piece of content has different types of descendants, depending on its type:
150
166
  *
151
- * - `page`: descendant is `page`, `comment`, `attachment`
167
+ * - `page`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
168
+ * - `whiteboard`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
169
+ * - `database`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
170
+ * - `embed`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
171
+ * - `folder`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
152
172
  * - `blogpost`: descendant is `comment`, `attachment`
153
173
  * - `attachment`: descendant is `comment`
154
174
  * - `comment`: descendant is `attachment`
155
175
  *
156
176
  * Custom content types that are provided by apps can also be returned.
157
177
  *
178
+ * If the expand query parameter is used with the `body.export_view` and/or `body.styled_view` properties, then the
179
+ * query limit parameter will be restricted to a maximum value of 25.
180
+ *
158
181
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
159
182
  * permission to view the content if it is a page.
160
183
  */
@@ -166,13 +189,20 @@ export declare class ContentChildrenAndDescendants {
166
189
  *
167
190
  * A piece of content has different types of descendants, depending on its type:
168
191
  *
169
- * - `page`: descendant is `page`, `comment`, `attachment`
192
+ * - `page`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
193
+ * - `whiteboard`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
194
+ * - `database`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
195
+ * - `embed`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
196
+ * - `folder`: descendant is `page`, `whiteboard`, `database`, `embed`, `folder`, `comment`, `attachment`
170
197
  * - `blogpost`: descendant is `comment`, `attachment`
171
198
  * - `attachment`: descendant is `comment`
172
199
  * - `comment`: descendant is `attachment`
173
200
  *
174
201
  * Custom content types that are provided by apps can also be returned.
175
202
  *
203
+ * If the expand query parameter is used with the `body.export_view` and/or `body.styled_view` properties, then the
204
+ * query limit parameter will be restricted to a maximum value of 25.
205
+ *
176
206
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
177
207
  * permission to view the content if it is a page.
178
208
  */
@@ -200,6 +230,7 @@ export declare class ContentChildrenAndDescendants {
200
230
  *
201
231
  * - `space`: page will be copied to the specified space as a root page on the space
202
232
  * - `parent_page`: page will be copied as a child of the specified parent page
233
+ * - `parent_content`: page will be copied as a child of the specified parent content
203
234
  * - `existing_page`: page will be copied and replace the specified page
204
235
  *
205
236
  * By default, the following objects are expanded: `space`, `history`, `version`.
@@ -215,6 +246,7 @@ export declare class ContentChildrenAndDescendants {
215
246
  *
216
247
  * - `space`: page will be copied to the specified space as a root page on the space
217
248
  * - `parent_page`: page will be copied as a child of the specified parent page
249
+ * - `parent_content`: page will be copied as a child of the specified parent content
218
250
  * - `existing_page`: page will be copied and replace the specified page
219
251
  *
220
252
  * By default, the following objects are expanded: `space`, `history`, `version`.
@@ -2,6 +2,7 @@ import type * as Models from "./models/index.js";
2
2
  import type * as Parameters from "./parameters/index.js";
3
3
  import type { Callback } from "../callback.js";
4
4
  import type { Client } from "../clients/index.js";
5
+ /** @deprecated Will be removed in next major version. */
5
6
  export declare class ContentComments {
6
7
  private client;
7
8
  constructor(client: Client);
@@ -10,6 +11,8 @@ export declare class ContentComments {
10
11
  *
11
12
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
12
13
  * permission to view the content if it is a page.
14
+ *
15
+ * @deprecated Will be removed in next major version.
13
16
  */
14
17
  getContentComments<T = Models.ContentArray>(parameters: Parameters.GetContentComments, callback: Callback<T>): Promise<void>;
15
18
  /**
@@ -17,6 +20,8 @@ export declare class ContentComments {
17
20
  *
18
21
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
19
22
  * permission to view the content if it is a page.
23
+ *
24
+ * @deprecated Will be removed in next major version.
20
25
  */
21
26
  getContentComments<T = Models.ContentArray>(parameters: Parameters.GetContentComments, callback?: never): Promise<T>;
22
27
  }
@@ -1,7 +1,7 @@
1
1
  import type * as Models from "./models/index.js";
2
2
  import type * as Parameters from "./parameters/index.js";
3
- import type { Callback } from "../callback.js";
4
3
  import type { Client } from "../clients/index.js";
4
+ import type { Callback } from "../callback.js";
5
5
  export declare class ContentLabels {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -10,6 +10,8 @@ export declare class ContentLabels {
10
10
  *
11
11
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space and
12
12
  * permission to view the content if it is a page.
13
+ *
14
+ * @deprecated Will be removed in next major version.
13
15
  */
14
16
  getLabelsForContent<T = Models.LabelArray>(parameters: Parameters.GetLabelsForContent, callback: Callback<T>): Promise<void>;
15
17
  /**
@@ -17,6 +19,8 @@ export declare class ContentLabels {
17
19
  *
18
20
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space and
19
21
  * permission to view the content if it is a page.
22
+ *
23
+ * @deprecated Will be removed in next major version.
20
24
  */
21
25
  getLabelsForContent<T = Models.LabelArray>(parameters: Parameters.GetLabelsForContent, callback?: never): Promise<T>;
22
26
  /**
@@ -44,8 +48,9 @@ export declare class ContentLabels {
44
48
  */
45
49
  addLabelsToContent<T = Models.LabelArray>(parameters: Parameters.AddLabelsToContent, callback?: never): Promise<T>;
46
50
  /**
47
- * Removes a label from a piece of content. This is similar to [Remove label from
48
- * content](#api-content-id-label-label-delete) except that the label name is specified via a query parameter.
51
+ * Removes a label from a piece of content. Labels can't be deleted from archived content. This is similar to [Remove
52
+ * label from content](#api-content-id-label-label-delete) except that the label name is specified via a query
53
+ * parameter.
49
54
  *
50
55
  * Use this method if the label name has "/" characters, as [Remove label from content using query
51
56
  * parameter](#api-content-id-label-delete) does not accept "/" characters for the label name.
@@ -54,8 +59,9 @@ export declare class ContentLabels {
54
59
  */
55
60
  removeLabelFromContentUsingQueryParameter<T = void>(parameters: Parameters.RemoveLabelFromContentUsingQueryParameter, callback: Callback<T>): Promise<void>;
56
61
  /**
57
- * Removes a label from a piece of content. This is similar to [Remove label from
58
- * content](#api-content-id-label-label-delete) except that the label name is specified via a query parameter.
62
+ * Removes a label from a piece of content. Labels can't be deleted from archived content. This is similar to [Remove
63
+ * label from content](#api-content-id-label-label-delete) except that the label name is specified via a query
64
+ * parameter.
59
65
  *
60
66
  * Use this method if the label name has "/" characters, as [Remove label from content using query
61
67
  * parameter](#api-content-id-label-delete) does not accept "/" characters for the label name.
@@ -64,8 +70,9 @@ export declare class ContentLabels {
64
70
  */
65
71
  removeLabelFromContentUsingQueryParameter<T = void>(parameters: Parameters.RemoveLabelFromContentUsingQueryParameter, callback?: never): Promise<T>;
66
72
  /**
67
- * Removes a label from a piece of content. This is similar to [Remove label from content using query
68
- * parameter](#api-content-id-label-delete) except that the label name is specified via a path parameter.
73
+ * Removes a label from a piece of content. Labels can't be deleted from archived content. This is similar to [Remove
74
+ * label from content using query parameter](#api-content-id-label-delete) except that the label name is specified via
75
+ * a path parameter.
69
76
  *
70
77
  * Use this method if the label name does not have "/" characters, as the path parameter does not accept "/"
71
78
  * characters for security reasons. Otherwise, use [Remove label from content using query
@@ -75,8 +82,9 @@ export declare class ContentLabels {
75
82
  */
76
83
  removeLabelFromContent<T = void>(parameters: Parameters.RemoveLabelFromContent, callback: Callback<T>): Promise<void>;
77
84
  /**
78
- * Removes a label from a piece of content. This is similar to [Remove label from content using query
79
- * parameter](#api-content-id-label-delete) except that the label name is specified via a path parameter.
85
+ * Removes a label from a piece of content. Labels can't be deleted from archived content. This is similar to [Remove
86
+ * label from content using query parameter](#api-content-id-label-delete) except that the label name is specified via
87
+ * a path parameter.
80
88
  *
81
89
  * Use this method if the label name does not have "/" characters, as the path parameter does not accept "/"
82
90
  * characters for security reasons. Otherwise, use [Remove label from content using query
@@ -1,7 +1,7 @@
1
1
  import type * as Models from "./models/index.js";
2
2
  import type * as Parameters from "./parameters/index.js";
3
- import type { Callback } from "../callback.js";
4
3
  import type { Client } from "../clients/index.js";
4
+ import type { Callback } from "../callback.js";
5
5
  export declare class ContentMacroBody {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -14,10 +14,23 @@ export declare class ContentMacroBody {
14
14
  * '50884bd9-0cb8-41d5-98be-f80943c14f96'. The ID is then persisted as new versions of content are created, and is
15
15
  * only modified by Confluence if there are conflicting IDs.
16
16
  *
17
+ * For Forge macros, the value for macro ID is the "local ID" of that particular ADF node. This value can be retrieved
18
+ * either client-side by calling view.getContext() and accessing "localId" on the resulting object, or server-side by
19
+ * examining the "local-id" parameter node inside the "parameters" node.
20
+ *
21
+ * Note that there are other attributes named "local-id", but only this particular one is used to store the macro ID.
22
+ *
23
+ * Example: <ac:adf-node type="extension"> <ac:adf-attribute
24
+ * key="extension-type">com.atlassian.ecosystem</ac:adf-attribute> <ac:adf-attribute key="parameters">
25
+ * <ac:adf-parameter key="local-id">e9c4aa10-73fa-417c-888d-48c719ae4165</ac:adf-parameter> </ac:adf-parameter>
26
+ * </ac:adf-node>
27
+ *
17
28
  * Note, to preserve backwards compatibility this resource will also match on the hash of the macro body, even if a
18
29
  * macro ID is found. This check will eventually become redundant, as macro IDs are generated for pages and
19
30
  * transparently propagate out to all instances.
20
31
  *
32
+ * This backwards compatibility logic does not apply to Forge macros; those can only be retrieved by their ID.
33
+ *
21
34
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the
22
35
  * macro is in.
23
36
  */
@@ -31,10 +44,23 @@ export declare class ContentMacroBody {
31
44
  * '50884bd9-0cb8-41d5-98be-f80943c14f96'. The ID is then persisted as new versions of content are created, and is
32
45
  * only modified by Confluence if there are conflicting IDs.
33
46
  *
47
+ * For Forge macros, the value for macro ID is the "local ID" of that particular ADF node. This value can be retrieved
48
+ * either client-side by calling view.getContext() and accessing "localId" on the resulting object, or server-side by
49
+ * examining the "local-id" parameter node inside the "parameters" node.
50
+ *
51
+ * Note that there are other attributes named "local-id", but only this particular one is used to store the macro ID.
52
+ *
53
+ * Example: <ac:adf-node type="extension"> <ac:adf-attribute
54
+ * key="extension-type">com.atlassian.ecosystem</ac:adf-attribute> <ac:adf-attribute key="parameters">
55
+ * <ac:adf-parameter key="local-id">e9c4aa10-73fa-417c-888d-48c719ae4165</ac:adf-parameter> </ac:adf-parameter>
56
+ * </ac:adf-node>
57
+ *
34
58
  * Note, to preserve backwards compatibility this resource will also match on the hash of the macro body, even if a
35
59
  * macro ID is found. This check will eventually become redundant, as macro IDs are generated for pages and
36
60
  * transparently propagate out to all instances.
37
61
  *
62
+ * This backwards compatibility logic does not apply to Forge macros; those can only be retrieved by their ID.
63
+ *
38
64
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the
39
65
  * macro is in.
40
66
  */
@@ -48,10 +74,23 @@ export declare class ContentMacroBody {
48
74
  * '50884bd9-0cb8-41d5-98be-f80943c14f96'. The ID is then persisted as new versions of content are created, and is
49
75
  * only modified by Confluence if there are conflicting IDs.
50
76
  *
77
+ * For Forge macros, the value for macro ID is the "local ID" of that particular ADF node. This value can be retrieved
78
+ * either client-side by calling view.getContext() and accessing "localId" on the resulting object, or server-side by
79
+ * examining the "local-id" parameter node inside the "parameters" node.
80
+ *
81
+ * Note that there are other attributes named "local-id", but only this particular one is used to store the macro ID.
82
+ *
83
+ * Example: <ac:adf-node type="extension"> <ac:adf-attribute
84
+ * key="extension-type">com.atlassian.ecosystem</ac:adf-attribute> <ac:adf-attribute key="parameters">
85
+ * <ac:adf-parameter key="local-id">e9c4aa10-73fa-417c-888d-48c719ae4165</ac:adf-parameter> </ac:adf-parameter>
86
+ * </ac:adf-node>
87
+ *
51
88
  * Note, to preserve backwards compatibility this resource will also match on the hash of the macro body, even if a
52
89
  * macro ID is found. This check will eventually become redundant, as macro IDs are generated for pages and
53
90
  * transparently propagate out to all instances.
54
91
  *
92
+ * This backwards compatibility logic does not apply to Forge macros; those can only be retrieved by their ID.
93
+ *
55
94
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the
56
95
  * macro is in.
57
96
  */
@@ -65,10 +104,23 @@ export declare class ContentMacroBody {
65
104
  * '50884bd9-0cb8-41d5-98be-f80943c14f96'. The ID is then persisted as new versions of content are created, and is
66
105
  * only modified by Confluence if there are conflicting IDs.
67
106
  *
107
+ * For Forge macros, the value for macro ID is the "local ID" of that particular ADF node. This value can be retrieved
108
+ * either client-side by calling view.getContext() and accessing "localId" on the resulting object, or server-side by
109
+ * examining the "local-id" parameter node inside the "parameters" node.
110
+ *
111
+ * Note that there are other attributes named "local-id", but only this particular one is used to store the macro ID.
112
+ *
113
+ * Example: <ac:adf-node type="extension"> <ac:adf-attribute
114
+ * key="extension-type">com.atlassian.ecosystem</ac:adf-attribute> <ac:adf-attribute key="parameters">
115
+ * <ac:adf-parameter key="local-id">e9c4aa10-73fa-417c-888d-48c719ae4165</ac:adf-parameter> </ac:adf-parameter>
116
+ * </ac:adf-node>
117
+ *
68
118
  * Note, to preserve backwards compatibility this resource will also match on the hash of the macro body, even if a
69
119
  * macro ID is found. This check will eventually become redundant, as macro IDs are generated for pages and
70
120
  * transparently propagate out to all instances.
71
121
  *
122
+ * This backwards compatibility logic does not apply to Forge macros; those can only be retrieved by their ID.
123
+ *
72
124
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the
73
125
  * macro is in.
74
126
  */
@@ -82,10 +134,23 @@ export declare class ContentMacroBody {
82
134
  * '884bd9-0cb8-41d5-98be-f80943c14f96'. The ID is then persisted as new versions of content are created, and is only
83
135
  * modified by Confluence if there are conflicting IDs.
84
136
  *
137
+ * For Forge macros, the value for macro ID is the "local ID" of that particular ADF node. This value can be retrieved
138
+ * either client-side by calling view.getContext() and accessing "localId" on the resulting object, or server-side by
139
+ * examining the "local-id" parameter node inside the "parameters" node.
140
+ *
141
+ * Note that there are other attributes named "local-id", but only this particular one is used to store the macro ID.
142
+ *
143
+ * Example: <ac:adf-node type="extension"> <ac:adf-attribute
144
+ * key="extension-type">com.atlassian.ecosystem</ac:adf-attribute> <ac:adf-attribute key="parameters">
145
+ * <ac:adf-parameter key="local-id">e9c4aa10-73fa-417c-888d-48c719ae4165</ac:adf-parameter> </ac:adf-parameter>
146
+ * </ac:adf-node>
147
+ *
85
148
  * Note, to preserve backwards compatibility this resource will also match on the hash of the macro body, even if a
86
149
  * macro ID is found. This check will eventually become redundant, as macro IDs are generated for pages and
87
150
  * transparently propagate out to all instances.
88
151
  *
152
+ * This backwards compatibility logic does not apply to Forge macros; those can only be retrieved by their ID.
153
+ *
89
154
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the
90
155
  * macro is in.
91
156
  */
@@ -99,10 +164,23 @@ export declare class ContentMacroBody {
99
164
  * '884bd9-0cb8-41d5-98be-f80943c14f96'. The ID is then persisted as new versions of content are created, and is only
100
165
  * modified by Confluence if there are conflicting IDs.
101
166
  *
167
+ * For Forge macros, the value for macro ID is the "local ID" of that particular ADF node. This value can be retrieved
168
+ * either client-side by calling view.getContext() and accessing "localId" on the resulting object, or server-side by
169
+ * examining the "local-id" parameter node inside the "parameters" node.
170
+ *
171
+ * Note that there are other attributes named "local-id", but only this particular one is used to store the macro ID.
172
+ *
173
+ * Example: <ac:adf-node type="extension"> <ac:adf-attribute
174
+ * key="extension-type">com.atlassian.ecosystem</ac:adf-attribute> <ac:adf-attribute key="parameters">
175
+ * <ac:adf-parameter key="local-id">e9c4aa10-73fa-417c-888d-48c719ae4165</ac:adf-parameter> </ac:adf-parameter>
176
+ * </ac:adf-node>
177
+ *
102
178
  * Note, to preserve backwards compatibility this resource will also match on the hash of the macro body, even if a
103
179
  * macro ID is found. This check will eventually become redundant, as macro IDs are generated for pages and
104
180
  * transparently propagate out to all instances.
105
181
  *
182
+ * This backwards compatibility logic does not apply to Forge macros; those can only be retrieved by their ID.
183
+ *
106
184
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content that the
107
185
  * macro is in.
108
186
  */
@@ -1,7 +1,7 @@
1
1
  import type * as Models from "./models/index.js";
2
2
  import type * as Parameters from "./parameters/index.js";
3
- import type { Callback } from "../callback.js";
4
3
  import type { Client } from "../clients/index.js";
4
+ import type { Callback } from "../callback.js";
5
5
  export declare class ContentPermissions {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -2,6 +2,7 @@ import type * as Models from "./models/index.js";
2
2
  import type * as Parameters from "./parameters/index.js";
3
3
  import type { Callback } from "../callback.js";
4
4
  import type { Client } from "../clients/index.js";
5
+ /** @deprecated Will be removed in next major version. */
5
6
  export declare class ContentProperties {
6
7
  private client;
7
8
  constructor(client: Client);
@@ -11,6 +12,8 @@ export declare class ContentProperties {
11
12
  *
12
13
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
13
14
  * permission to view the content if it is a page.
15
+ *
16
+ * @deprecated Will be removed in next major version.
14
17
  */
15
18
  getContentProperties<T = Models.ContentPropertyArray>(parameters: Parameters.GetContentProperties, callback: Callback<T>): Promise<void>;
16
19
  /**
@@ -19,6 +22,8 @@ export declare class ContentProperties {
19
22
  *
20
23
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
21
24
  * permission to view the content if it is a page.
25
+ *
26
+ * @deprecated Will be removed in next major version.
22
27
  */
23
28
  getContentProperties<T = Models.ContentPropertyArray>(parameters: Parameters.GetContentProperties, callback?: never): Promise<T>;
24
29
  /**
@@ -32,6 +37,8 @@ export declare class ContentProperties {
32
37
  * `metadata.properties` of the request.
33
38
  *
34
39
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
40
+ *
41
+ * @deprecated Will be removed in next major version.
35
42
  */
36
43
  createContentProperty<T = Models.ContentProperty>(parameters: Parameters.CreateContentProperty, callback: Callback<T>): Promise<void>;
37
44
  /**
@@ -45,6 +52,8 @@ export declare class ContentProperties {
45
52
  * `metadata.properties` of the request.
46
53
  *
47
54
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
55
+ *
56
+ * @deprecated Will be removed in next major version.
48
57
  */
49
58
  createContentProperty<T = Models.ContentProperty>(parameters: Parameters.CreateContentProperty, callback?: never): Promise<T>;
50
59
  /**
@@ -53,6 +62,8 @@ export declare class ContentProperties {
53
62
  *
54
63
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
55
64
  * permission to view the content if it is a page.
65
+ *
66
+ * @deprecated Will be removed in next major version.
56
67
  */
57
68
  getContentProperty<T = Models.ContentProperty>(parameters: Parameters.GetContentProperty, callback: Callback<T>): Promise<void>;
58
69
  /**
@@ -61,6 +72,8 @@ export declare class ContentProperties {
61
72
  *
62
73
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and
63
74
  * permission to view the content if it is a page.
75
+ *
76
+ * @deprecated Will be removed in next major version.
64
77
  */
65
78
  getContentProperty<T = Models.ContentProperty>(parameters: Parameters.GetContentProperty, callback?: never): Promise<T>;
66
79
  /**
@@ -74,6 +87,8 @@ export declare class ContentProperties {
74
87
  * `metadata.properties` of the request.
75
88
  *
76
89
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
90
+ *
91
+ * @deprecated Will be removed in next major version.
77
92
  */
78
93
  createContentPropertyForKey<T = Models.ContentProperty>(parameters: Parameters.CreateContentPropertyForKey, callback: Callback<T>): Promise<void>;
79
94
  /**
@@ -87,6 +102,8 @@ export declare class ContentProperties {
87
102
  * `metadata.properties` of the request.
88
103
  *
89
104
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
105
+ *
106
+ * @deprecated Will be removed in next major version.
90
107
  */
91
108
  createContentPropertyForKey<T = Models.ContentProperty>(parameters: Parameters.CreateContentPropertyForKey, callback?: never): Promise<T>;
92
109
  /**
@@ -95,6 +112,8 @@ export declare class ContentProperties {
95
112
  * [Confluence entity properties](https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/).
96
113
  *
97
114
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
115
+ *
116
+ * @deprecated Will be removed in next major version.
98
117
  */
99
118
  updateContentProperty<T = Models.ContentProperty>(parameters: Parameters.UpdateContentProperty, callback: Callback<T>): Promise<void>;
100
119
  /**
@@ -103,6 +122,8 @@ export declare class ContentProperties {
103
122
  * [Confluence entity properties](https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/).
104
123
  *
105
124
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
125
+ *
126
+ * @deprecated Will be removed in next major version.
106
127
  */
107
128
  updateContentProperty<T = Models.ContentProperty>(parameters: Parameters.UpdateContentProperty, callback?: never): Promise<T>;
108
129
  /**
@@ -110,6 +131,8 @@ export declare class ContentProperties {
110
131
  * properties](https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/).
111
132
  *
112
133
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
134
+ *
135
+ * @deprecated Will be removed in next major version.
113
136
  */
114
137
  deleteContentProperty<T = void>(parameters: Parameters.DeleteContentProperty, callback: Callback<T>): Promise<void>;
115
138
  /**
@@ -117,6 +140,8 @@ export declare class ContentProperties {
117
140
  * properties](https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/).
118
141
  *
119
142
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
143
+ *
144
+ * @deprecated Will be removed in next major version.
120
145
  */
121
146
  deleteContentProperty<T = void>(parameters: Parameters.DeleteContentProperty, callback?: never): Promise<T>;
122
147
  }